blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fb271cd1cbf47e76039cf2b30da7c0b94ff95279 | b0db43ebf0f5d29e990e5bbcbb0bde3db6bb4683 | /src/qt/overviewpage.cpp | bb7fa46d754e386adb50ce4ad412fa15a05c0f0c | [
"MIT"
] | permissive | tyx5524/TestCoin | 1755e77e6a2b7d16641ca755996b526855450f6f | adfb86f67fc61f293ad29cf1de6e212ee3ec9f0a | refs/heads/master | 2021-01-24T21:25:37.053132 | 2018-02-28T13:33:44 | 2018-02-28T13:33:44 | 123,270,543 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,552 | cpp | // Copyright (c) 2011-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "overviewpage.h"
#include "ui_overviewpage.h"
#include "testcoinunits.h"
#include "clientmodel.h"
#include "guiconstants.h"
#include "guiutil.h"
#include "optionsmodel.h"
#include "transactionfilterproxy.h"
#include "transactiontablemodel.h"
#include "walletmodel.h"
#include <QAbstractItemDelegate>
#include <QPainter>
#define DECORATION_SIZE 64
#define NUM_ITEMS 3
class TxViewDelegate : public QAbstractItemDelegate
{
Q_OBJECT
public:
TxViewDelegate(): QAbstractItemDelegate(), unit(TestcoinUnits::TNC)
{
}
inline void paint(QPainter *painter, const QStyleOptionViewItem &option,
const QModelIndex &index ) const
{
painter->save();
QIcon icon = qvariant_cast<QIcon>(index.data(Qt::DecorationRole));
QRect mainRect = option.rect;
QRect decorationRect(mainRect.topLeft(), QSize(DECORATION_SIZE, DECORATION_SIZE));
int xspace = DECORATION_SIZE + 8;
int ypad = 6;
int halfheight = (mainRect.height() - 2*ypad)/2;
QRect amountRect(mainRect.left() + xspace, mainRect.top()+ypad, mainRect.width() - xspace, halfheight);
QRect addressRect(mainRect.left() + xspace, mainRect.top()+ypad+halfheight, mainRect.width() - xspace, halfheight);
icon.paint(painter, decorationRect);
QDateTime date = index.data(TransactionTableModel::DateRole).toDateTime();
QString address = index.data(Qt::DisplayRole).toString();
qint64 amount = index.data(TransactionTableModel::AmountRole).toLongLong();
bool confirmed = index.data(TransactionTableModel::ConfirmedRole).toBool();
QVariant value = index.data(Qt::ForegroundRole);
QColor foreground = option.palette.color(QPalette::Text);
if(value.canConvert<QBrush>())
{
QBrush brush = qvariant_cast<QBrush>(value);
foreground = brush.color();
}
painter->setPen(foreground);
QRect boundingRect;
painter->drawText(addressRect, Qt::AlignLeft|Qt::AlignVCenter, address, &boundingRect);
if (index.data(TransactionTableModel::WatchonlyRole).toBool())
{
QIcon iconWatchonly = qvariant_cast<QIcon>(index.data(TransactionTableModel::WatchonlyDecorationRole));
QRect watchonlyRect(boundingRect.right() + 5, mainRect.top()+ypad+halfheight, 16, halfheight);
iconWatchonly.paint(painter, watchonlyRect);
}
if(amount < 0)
{
foreground = COLOR_NEGATIVE;
}
else if(!confirmed)
{
foreground = COLOR_UNCONFIRMED;
}
else
{
foreground = option.palette.color(QPalette::Text);
}
painter->setPen(foreground);
QString amountText = TestcoinUnits::formatWithUnit(unit, amount, true, TestcoinUnits::separatorAlways);
if(!confirmed)
{
amountText = QString("[") + amountText + QString("]");
}
painter->drawText(amountRect, Qt::AlignRight|Qt::AlignVCenter, amountText);
painter->setPen(option.palette.color(QPalette::Text));
painter->drawText(amountRect, Qt::AlignLeft|Qt::AlignVCenter, GUIUtil::dateTimeStr(date));
painter->restore();
}
inline QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const
{
return QSize(DECORATION_SIZE, DECORATION_SIZE);
}
int unit;
};
#include "overviewpage.moc"
OverviewPage::OverviewPage(QWidget *parent) :
QWidget(parent),
ui(new Ui::OverviewPage),
clientModel(0),
walletModel(0),
currentBalance(-1),
currentUnconfirmedBalance(-1),
currentImmatureBalance(-1),
currentWatchOnlyBalance(-1),
currentWatchUnconfBalance(-1),
currentWatchImmatureBalance(-1),
txdelegate(new TxViewDelegate()),
filter(0)
{
ui->setupUi(this);
// Recent transactions
ui->listTransactions->setItemDelegate(txdelegate);
ui->listTransactions->setIconSize(QSize(DECORATION_SIZE, DECORATION_SIZE));
ui->listTransactions->setMinimumHeight(NUM_ITEMS * (DECORATION_SIZE + 2));
ui->listTransactions->setAttribute(Qt::WA_MacShowFocusRect, false);
connect(ui->listTransactions, SIGNAL(clicked(QModelIndex)), this, SLOT(handleTransactionClicked(QModelIndex)));
// init "out of sync" warning labels
ui->labelWalletStatus->setText("(" + tr("out of sync") + ")");
ui->labelTransactionsStatus->setText("(" + tr("out of sync") + ")");
// start with displaying the "out of sync" warnings
showOutOfSyncWarning(true);
}
void OverviewPage::handleTransactionClicked(const QModelIndex &index)
{
if(filter)
emit transactionClicked(filter->mapToSource(index));
}
OverviewPage::~OverviewPage()
{
delete ui;
}
void OverviewPage::setBalance(const CAmount& balance, const CAmount& unconfirmedBalance, const CAmount& immatureBalance, const CAmount& watchOnlyBalance, const CAmount& watchUnconfBalance, const CAmount& watchImmatureBalance)
{
int unit = walletModel->getOptionsModel()->getDisplayUnit();
currentBalance = balance;
currentUnconfirmedBalance = unconfirmedBalance;
currentImmatureBalance = immatureBalance;
currentWatchOnlyBalance = watchOnlyBalance;
currentWatchUnconfBalance = watchUnconfBalance;
currentWatchImmatureBalance = watchImmatureBalance;
ui->labelBalance->setText(TestcoinUnits::formatWithUnit(unit, balance, false, TestcoinUnits::separatorAlways));
ui->labelUnconfirmed->setText(TestcoinUnits::formatWithUnit(unit, unconfirmedBalance, false, TestcoinUnits::separatorAlways));
ui->labelImmature->setText(TestcoinUnits::formatWithUnit(unit, immatureBalance, false, TestcoinUnits::separatorAlways));
ui->labelTotal->setText(TestcoinUnits::formatWithUnit(unit, balance + unconfirmedBalance + immatureBalance, false, TestcoinUnits::separatorAlways));
ui->labelWatchAvailable->setText(TestcoinUnits::formatWithUnit(unit, watchOnlyBalance, false, TestcoinUnits::separatorAlways));
ui->labelWatchPending->setText(TestcoinUnits::formatWithUnit(unit, watchUnconfBalance, false, TestcoinUnits::separatorAlways));
ui->labelWatchImmature->setText(TestcoinUnits::formatWithUnit(unit, watchImmatureBalance, false, TestcoinUnits::separatorAlways));
ui->labelWatchTotal->setText(TestcoinUnits::formatWithUnit(unit, watchOnlyBalance + watchUnconfBalance + watchImmatureBalance, false, TestcoinUnits::separatorAlways));
// only show immature (newly mined) balance if it's non-zero, so as not to complicate things
// for the non-mining users
bool showImmature = immatureBalance != 0;
bool showWatchOnlyImmature = watchImmatureBalance != 0;
// for symmetry reasons also show immature label when the watch-only one is shown
ui->labelImmature->setVisible(showImmature || showWatchOnlyImmature);
ui->labelImmatureText->setVisible(showImmature || showWatchOnlyImmature);
ui->labelWatchImmature->setVisible(showWatchOnlyImmature); // show watch-only immature balance
}
// show/hide watch-only labels
void OverviewPage::updateWatchOnlyLabels(bool showWatchOnly)
{
ui->labelSpendable->setVisible(showWatchOnly); // show spendable label (only when watch-only is active)
ui->labelWatchonly->setVisible(showWatchOnly); // show watch-only label
ui->lineWatchBalance->setVisible(showWatchOnly); // show watch-only balance separator line
ui->labelWatchAvailable->setVisible(showWatchOnly); // show watch-only available balance
ui->labelWatchPending->setVisible(showWatchOnly); // show watch-only pending balance
ui->labelWatchTotal->setVisible(showWatchOnly); // show watch-only total balance
if (!showWatchOnly)
ui->labelWatchImmature->hide();
}
void OverviewPage::setClientModel(ClientModel *model)
{
this->clientModel = model;
if(model)
{
// Show warning if this is a prerelease version
connect(model, SIGNAL(alertsChanged(QString)), this, SLOT(updateAlerts(QString)));
updateAlerts(model->getStatusBarWarnings());
}
}
void OverviewPage::setWalletModel(WalletModel *model)
{
this->walletModel = model;
if(model && model->getOptionsModel())
{
// Set up transaction list
filter = new TransactionFilterProxy();
filter->setSourceModel(model->getTransactionTableModel());
filter->setLimit(NUM_ITEMS);
filter->setDynamicSortFilter(true);
filter->setSortRole(Qt::EditRole);
filter->setShowInactive(false);
filter->sort(TransactionTableModel::Status, Qt::DescendingOrder);
ui->listTransactions->setModel(filter);
ui->listTransactions->setModelColumn(TransactionTableModel::ToAddress);
// Keep up to date with wallet
setBalance(model->getBalance(), model->getUnconfirmedBalance(), model->getImmatureBalance(),
model->getWatchBalance(), model->getWatchUnconfirmedBalance(), model->getWatchImmatureBalance());
connect(model, SIGNAL(balanceChanged(CAmount,CAmount,CAmount,CAmount,CAmount,CAmount)), this, SLOT(setBalance(CAmount,CAmount,CAmount,CAmount,CAmount,CAmount)));
connect(model->getOptionsModel(), SIGNAL(displayUnitChanged(int)), this, SLOT(updateDisplayUnit()));
updateWatchOnlyLabels(model->haveWatchOnly());
connect(model, SIGNAL(notifyWatchonlyChanged(bool)), this, SLOT(updateWatchOnlyLabels(bool)));
}
// update the display unit, to not use the default ("TNC")
updateDisplayUnit();
}
void OverviewPage::updateDisplayUnit()
{
if(walletModel && walletModel->getOptionsModel())
{
if(currentBalance != -1)
setBalance(currentBalance, currentUnconfirmedBalance, currentImmatureBalance,
currentWatchOnlyBalance, currentWatchUnconfBalance, currentWatchImmatureBalance);
// Update txdelegate->unit with the current unit
txdelegate->unit = walletModel->getOptionsModel()->getDisplayUnit();
ui->listTransactions->update();
}
}
void OverviewPage::updateAlerts(const QString &warnings)
{
this->ui->labelAlerts->setVisible(!warnings.isEmpty());
this->ui->labelAlerts->setText(warnings);
}
void OverviewPage::showOutOfSyncWarning(bool fShow)
{
ui->labelWalletStatus->setVisible(fShow);
ui->labelTransactionsStatus->setVisible(fShow);
}
| [
"tyx5524@qq.com"
] | tyx5524@qq.com |
10366cf8984922b1640b61a3f45ebb8fecc465d0 | 842307fcb7954fbf3d8471d08619a09cf8a8be23 | /chrome/browser/password_manager/web_app_profile_switcher.cc | 2ea4668b3af1e4c9179375ceb540bdf956638845 | [
"BSD-3-Clause"
] | permissive | wahello/chromium | 3e2ecac308f746c1ee36562776506c2ea991d606 | 4b228fefd9c51cc19978f023b96d9858e7d1da95 | refs/heads/main | 2023-04-06T02:10:37.393447 | 2023-03-25T04:12:57 | 2023-03-25T04:12:57 | 131,737,050 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,227 | cc | // Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/password_manager/web_app_profile_switcher.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/profiles/profile_window.h"
#include "chrome/browser/web_applications/locks/app_lock.h"
#include "chrome/browser/web_applications/web_app.h"
#include "chrome/browser/web_applications/web_app_command_scheduler.h"
#include "chrome/browser/web_applications/web_app_helpers.h"
#include "chrome/browser/web_applications/web_app_icon_manager.h"
#include "chrome/browser/web_applications/web_app_install_info.h"
#include "chrome/browser/web_applications/web_app_provider.h"
#include "chrome/browser/web_applications/web_app_registrar.h"
#include "components/webapps/browser/install_result_code.h"
#include "content/public/browser/browser_thread.h"
namespace {
WebAppInstallInfo MakeInstallInfoFromApp(const web_app::WebApp* web_app) {
WebAppInstallInfo install_info;
install_info.title = base::UTF8ToUTF16(web_app->untranslated_name());
install_info.description =
base::UTF8ToUTF16(web_app->untranslated_description());
install_info.start_url = web_app->start_url();
install_info.manifest_id = web_app->manifest_id();
install_info.manifest_url = web_app->manifest_url();
install_info.scope = web_app->scope();
install_info.manifest_icons = web_app->manifest_icons();
install_info.display_mode = web_app->display_mode();
return install_info;
}
} // namespace
WebAppProfileSwitcher::WebAppProfileSwitcher(const web_app::AppId& app_id,
Profile& active_profile,
base::OnceClosure on_completion)
: app_id_(app_id),
active_profile_(active_profile),
on_completion_(std::move(on_completion)),
weak_factory_(this) {
profiles_observation_.AddObservation(&active_profile);
}
WebAppProfileSwitcher::~WebAppProfileSwitcher() = default;
void WebAppProfileSwitcher::SwitchToProfile(
const base::FilePath& profile_to_open) {
base::OnceCallback<void(Profile*)> open_web_app_callback = base::BindOnce(
&WebAppProfileSwitcher::QueryProfileWebAppRegistryToOpenWebApp,
weak_factory_.GetWeakPtr());
profiles::LoadProfileAsync(profile_to_open, std::move(open_web_app_callback));
}
void WebAppProfileSwitcher::OnProfileWillBeDestroyed(Profile* profile) {
// If any of observed profiles is destroyed before the switch is completed,
// the profile switcher should be destroyed.
weak_factory_.InvalidateWeakPtrs();
RunCompletionCallback();
}
void WebAppProfileSwitcher::QueryProfileWebAppRegistryToOpenWebApp(
Profile* new_profile) {
CHECK(!new_profile->IsGuestSession());
new_profile_ = new_profile;
profiles_observation_.AddObservation(new_profile);
auto* provider = web_app::WebAppProvider::GetForWebApps(new_profile);
CHECK(provider);
provider->scheduler().ScheduleCallbackWithLock<web_app::AppLock>(
"QueryProfileWebAppRegistryToOpenWebApp",
std::make_unique<web_app::AppLockDescription>(app_id_),
base::BindOnce(
&WebAppProfileSwitcher::InstallOrOpenWebAppWindowForProfile,
weak_factory_.GetWeakPtr()));
}
void WebAppProfileSwitcher::InstallOrOpenWebAppWindowForProfile(
web_app::AppLock& new_profile_lock) {
if (new_profile_lock.registrar().IsInstalled(app_id_)) {
// The web app is already installed and can be launched.
LaunchAppWithId(app_id_,
webapps::InstallResultCode::kSuccessAlreadyInstalled);
return;
}
// Fetch app icons from the already installed app prior to
// installation.
// TODO(crbug/1414331) Use the icon loading command once it's available.
web_app::WebAppProvider::GetForWebApps(&active_profile_.get())
->icon_manager()
.ReadAllIcons(app_id_, base::BindOnce(
&WebAppProfileSwitcher::InstallAndLaunchWebApp,
weak_factory_.GetWeakPtr()));
}
void WebAppProfileSwitcher::InstallAndLaunchWebApp(IconBitmaps icon_bitmaps) {
web_app::WebAppProvider* active_profile_provider =
web_app::WebAppProvider::GetForWebApps(&active_profile_.get());
if (!active_profile_provider->registrar_unsafe().IsInstalled(app_id_)) {
RunCompletionCallback();
return;
}
const web_app::WebApp* web_app =
active_profile_provider->registrar_unsafe().GetAppById(app_id_);
DCHECK(web_app);
auto install_info =
std::make_unique<WebAppInstallInfo>(MakeInstallInfoFromApp(web_app));
install_info->icon_bitmaps = std::move(icon_bitmaps);
web_app::WebAppInstallParams install_params;
install_params.add_to_desktop = true;
install_params.add_to_quick_launch_bar = true;
install_params.add_to_applications_menu = true;
auto* provider = web_app::WebAppProvider::GetForWebApps(new_profile_);
CHECK(provider);
provider->scheduler().InstallFromInfoWithParams(
std::move(install_info),
/*overwrite_existing_manifest_fields=*/false,
webapps::WebappInstallSource::PROFILE_MENU,
base::BindOnce(&WebAppProfileSwitcher::LaunchAppWithId,
weak_factory_.GetWeakPtr()),
install_params);
}
void WebAppProfileSwitcher::LaunchAppWithId(
const web_app::AppId& app_id,
webapps::InstallResultCode install_result) {
// TODO(crbug/1414331): Record metrics for installation failures.
if (!IsSuccess(install_result)) {
RunCompletionCallback();
return;
}
apps::AppLaunchParams params(
app_id, apps::LaunchContainer::kLaunchContainerWindow,
WindowOpenDisposition::NEW_WINDOW, apps::LaunchSource::kFromProfileMenu);
web_app::WebAppProvider::GetForLocalAppsUnchecked(new_profile_)
->scheduler()
.LaunchAppWithCustomParams(
std::move(params),
base::IgnoreArgs<Browser*, content::WebContents*,
apps::LaunchContainer>(
base::BindOnce(&WebAppProfileSwitcher::RunCompletionCallback,
weak_factory_.GetWeakPtr())));
}
void WebAppProfileSwitcher::RunCompletionCallback() {
std::move(on_completion_).Run();
}
| [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
80ecf11311d4081b5880f630165897999637f163 | 5077f5d70676ce0890856de1ca4c909e5c539b50 | /audio_worker.cpp | 06cdb65a739f276247186a8532e9c63246747010 | [] | no_license | gowdaharish/aura | 119b9e39f0f6f9af89212afb7562204892f1b25f | 89d830f1a073ed88dd656f1d521b7d03087b0528 | refs/heads/master | 2022-04-22T18:03:53.717829 | 2020-04-23T08:32:20 | 2020-04-23T08:32:20 | 257,776,847 | 0 | 0 | null | 2020-04-23T08:32:22 | 2020-04-22T03:04:32 | C++ | UTF-8 | C++ | false | false | 4,501 | cpp | #include "audio_worker.h"
//#include "fftw3.h"
#include "math.h"
#include <QDebug>
using namespace std::chrono_literals;
// callback function for audio output
int callback(const void*,
void* output,
unsigned long frameCount,
const PaStreamCallbackTimeInfo*,
PaStreamCallbackFlags,
void *userData)
{
OurData* data = static_cast<OurData*>(userData);
int* cursor; // current pointer into the output
int *out = static_cast<int*>(output);
int thisSize = frameCount;
int thisRead;
cursor = out; // set the output cursor to the beginning
while (thisSize > 0)
{
qDebug() << thisSize << endl;
// seek to our current file position
sf_seek(data->sndFile, data->position, SEEK_SET);
// are we going to read past the end of the file?
if (thisSize > (data->sfInfo.frames - data->position))
{
// if we are, only read to the end of the file
thisRead = data->sfInfo.frames - data->position;
// and then loop to the beginning of the file
data->position = 0;
}
else
{
// otherwise, we'll just fill up the rest of the output buffer
thisRead = thisSize;
// and increment the file position
data->position += thisRead;
}
// since our output format and channel interleaving is the same as
// sf_readf_int's requirements
// we'll just read straight into the output buffer
sf_readf_int(data->sndFile, cursor, thisRead);
// apply DSP on cursor and replace the origitnal cursor
// increment the output cursor
cursor += thisRead;
// decrement the number of samples left to process
thisSize -= thisRead;
}
return paContinue;
}
AudioWorker::AudioWorker(QObject* parent) : QObject{parent}
{
}
AudioWorker::~AudioWorker()
{
}
void AudioWorker::loadFile(const QString& filePath)
{
_data = (OurData *)malloc(sizeof(OurData));
//initialize our data
_data->position = 0;
_data->sfInfo.format = 0;
// try to open the file
_data->sndFile = sf_open(filePath.toStdString().c_str(), SFM_READ, &_data->sfInfo);
// store the data for plotting
// const auto numFrames = _data->sfInfo.frames;
// int soundArray[numFrames];
// memset(soundArray, 0, numFrames);
// sf_readf_int(_data->sndFile, soundArray, numFrames);
// if (sizeof(soundArray) > 0)
// emit writeToCanvas(soundArray);
emit fileLoaded(_data->sfInfo.format, _data->sfInfo.channels, _data->sfInfo.samplerate, _data->sfInfo.frames);
}
void AudioWorker::initializePortAudio()
{
// make sure to terminate previous active treams
Pa_Terminate();
// start portaudio
Pa_Initialize();
// set the output parameters
_outputParameters.device = Pa_GetDefaultOutputDevice();
_outputParameters.channelCount = _data->sfInfo.channels;
_outputParameters.sampleFormat = paInt32;
// 200 ms ought to satisfy even the worst sound card
_outputParameters.suggestedLatency = 0.2;
_outputParameters.hostApiSpecificStreamInfo = 0;
// try to open the output
error = Pa_OpenStream(&stream,
0, // no input
&_outputParameters,
_data->sfInfo.samplerate,
paFramesPerBufferUnspecified, // let portaudio choose the buffersize
paNoFlag, // no special modes (clip off, dither off)
callback, // callback function defined above
_data ); /* pass in our data structure so the
callback knows what's up */
// if we can't open it, then bail out
if (error)
{
printf("error opening output, error code = %i\n", error);
Pa_Terminate();
return;
}
}
void AudioWorker::terminatePortAudio()
{
Pa_StopStream(stream);
Pa_Terminate();
}
int AudioWorker::playAudio()
{
qDebug() << "play called" << endl;
initializePortAudio();
// when we start the stream, the callback starts getting called
Pa_StartStream(stream);
Pa_Sleep(5000); /* pause for 2 seconds (2000ms) so we can hear a bit of the output */
Pa_StopStream(stream); // stop the stream
return 0;
}
void AudioWorker::stopAudio()
{
qDebug() << "stopping audio plyaback: " << endl;
terminatePortAudio();
}
| [
"harishg00@gmail.com"
] | harishg00@gmail.com |
22062fc1d43ffe307fc631a315fbef970f070980 | 81f2ff1d28e0d03d78334b84cfe1336250087308 | /routing/src/tree/list-of-siblings/list-of-siblings.test-impl.cpp | 3a829c19e65872ef720b482aa2ca0d7f13a753d0 | [] | no_license | sandragg/city-event-router | cf1440cf982683f1cafed245073bf1cffef862fe | a6fec6238b77ebf0dd49b3933ba50dc132ff178d | refs/heads/master | 2023-03-22T13:35:47.149871 | 2020-08-08T21:37:25 | 2020-08-08T21:37:25 | 220,839,555 | 1 | 0 | null | 2021-03-12T13:48:54 | 2019-11-10T19:28:06 | C++ | UTF-8 | C++ | false | false | 677 | cpp | #include "list-of-siblings.cpp"
#include "base-iterator.cpp"
#include "base-const-iterator.cpp"
#include "../../tracer/tracer.h"
template class list_of_siblings::Tree<int>;
template class list_of_siblings::TreeIterator<int>;
template class list_of_siblings::ConstTreeIterator<int>;
template class list_of_siblings::Tree<std::string>;
template class list_of_siblings::TreeIterator<std::string>;
template class list_of_siblings::ConstTreeIterator<std::string>;
template class list_of_siblings::Tree<tracer::RoutePoint<int>>;
template class list_of_siblings::TreeIterator<tracer::RoutePoint<int>>;
template class list_of_siblings::ConstTreeIterator<tracer::RoutePoint<int>>;
| [
"sandragg@yandex.ru"
] | sandragg@yandex.ru |
6cbae1824002fbd6a456c64f9bbd0ad08646731d | 27d4977b0edcb450a9ddec819291f52c97a7fafb | /include/ui/wheel.h | 382499504dab22df166183b174c0e1840000852f | [] | no_license | wu1274704958/gld | c01458ff5ab4c335356f982ef325b31e6fe09d62 | 1831d94b2e8704b00263eff9ea41c4d306742f6e | refs/heads/master | 2021-08-07T13:25:45.717115 | 2021-07-10T12:22:05 | 2021-07-10T12:22:05 | 232,047,205 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,125 | h | #pragma once
namespace gld {
struct Wheel {
Wheel(){}
Wheel(int equator_count,float radius) : equator_count(equator_count),radius(radius) {}
void create()
{
glm::mat4 m(1.f);
m = glm::rotate(m, glm::radians(rotate), rotate_dir);
slot_rotate_dir = glm::vec3(m * glm::vec4(slot_rotate_dir.x,slot_rotate_dir.y,slot_rotate_dir.z,1.f));
auto res = gen::circle(0.f, radius, equator_count);
for (auto& v : res)
{
standBy.push_back(m * glm::vec4(v.x,v.y,v.z,1.f));
}
angle = glm::acos(glm::dot(glm::normalize(res[0]), glm::normalize(res[1])));
}
int get_curr()
{
return curr;
}
float get_angle()
{
return angle;
}
void tween_to(int i,float dur,Tween::TweenFuncTy f = tween::Circ::easeOut)
{
if (i != curr && good(i))
{
float b = (float)curr * -angle;
float e = (float)i * -angle;
App::instance()->tween.to(
[this](float v) {
slot_rotate = v;
set_slot_rotate();
}, dur, b, e, f, [this,i]() {
if(on_select)on_select(i);
curr = i;
});
}
}
bool good(int i)
{
return i < standBy.size();
}
bool full()
{
return standBy.size() == pos_map.size();
}
bool add(size_t i,std::shared_ptr<Node<Component>> n)
{
if (good(i))
{
_add(i, n);
}
return false;
}
int count()
{
return pos_map.size();
}
bool has(size_t idx)
{
return pos_map.find(idx) != pos_map.end();
}
bool remove(size_t i)
{
if (has(i))
{
pos_map.erase(i);
return true;
}
return false;
}
void set_slot_rotate()
{
glm::mat4 matrix(1.f);
matrix = glm::translate(matrix, pos);
matrix = glm::rotate(matrix, slot_rotate, slot_rotate_dir);
for (auto& v : pos_map)
{
if (onAddOffset)
{
auto t = (standBy[v.first] + onAddOffset(v.second));
v.second->get_comp<Transform>()->pos = matrix * glm::vec4(t.x,t.y,t.z,1.f);
}
else {
v.second->get_comp<Transform>()->pos = matrix * glm::vec4(standBy[v.first].x, standBy[v.first].y, standBy[v.first].z, 1.f);
}
}
}
std::function<void(int)> on_select;
float rotate = 0.f;
glm::vec3 rotate_dir = glm::vec3(0.f,0.f,1.f);
float slot_rotate = 0.f;
float slot_rotate_rate = 0.007f;
glm::vec3 pos = glm::vec3(0.f, 0.f, 0.f);
std::function<glm::vec3(const std::shared_ptr<Node<Component>>&)> onAddOffset;
protected:
void _add(size_t idx, std::shared_ptr<Node<Component>> n)
{
pos_map[idx] = n;
glm::mat4 matrix(1.f);
matrix = glm::translate(matrix, pos);
matrix = glm::rotate(matrix, slot_rotate, slot_rotate_dir);
if (onAddOffset)
{
auto t = (standBy[idx] + onAddOffset(n));
n->get_comp<Transform>()->pos = matrix * glm::vec4(t.x, t.y, t.z, 1.f);
}
else {
n->get_comp<Transform>()->pos = matrix * glm::vec4(standBy[idx].x, standBy[idx].y, standBy[idx].z, 1.f);
}
}
float angle,radius = 1.f;
int curr = 0;
int equator_count = 6;
std::unordered_map < size_t, std::shared_ptr<Node<Component>>> pos_map;
std::vector<glm::vec3> standBy;
glm::vec3 slot_rotate_dir = glm::vec3(0.f,1.0f,0.f);
};
} | [
"1274704958@qq.com"
] | 1274704958@qq.com |
e73f9f6efb4269d1532a030c738f78fb1b845ff1 | fc7359b2aebff4580611767fa0d622c5ba642c9c | /3rdParty/V8/v7.1.302.28/third_party/icu/source/i18n/rbt_data.h | 29e39a59ef076ce89e41794735d3b398dcfdedb9 | [
"LicenseRef-scancode-unicode",
"LicenseRef-scancode-unknown-license-reference",
"ICU",
"MIT",
"NTP",
"LicenseRef-scancode-unicode-icu-58",
"LicenseRef-scancode-autoconf-simple-exception",
"GPL-3.0-or-later",
"NAIST-2003",
"BSD-3-Clause",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"... | permissive | William533036/arangodb | 36106973f1db1ffe2872e36af09cbdc7f0ba444b | 08785b946a21c127bcc22f6950d8c3f9bc2c5d76 | refs/heads/master | 2020-12-06T23:09:43.024228 | 2019-12-30T08:16:24 | 2019-12-30T08:16:24 | 232,570,534 | 1 | 0 | Apache-2.0 | 2020-01-08T13:33:37 | 2020-01-08T13:33:36 | null | UTF-8 | C++ | false | false | 5,210 | h | // Copyright (C) 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
**********************************************************************
* Copyright (C) 1999-2007, International Business Machines Corporation
* and others. All Rights Reserved.
**********************************************************************
* Date Name Description
* 11/17/99 aliu Creation.
**********************************************************************
*/
#ifndef RBT_DATA_H
#define RBT_DATA_H
#include "unicode/utypes.h"
#include "unicode/uclean.h"
#if !UCONFIG_NO_TRANSLITERATION
#include "unicode/uobject.h"
#include "rbt_set.h"
#include "hash.h"
U_NAMESPACE_BEGIN
class UnicodeFunctor;
class UnicodeMatcher;
class UnicodeReplacer;
/**
* The rule data for a RuleBasedTransliterators. RBT objects hold
* a const pointer to a TRD object that they do not own. TRD objects
* are essentially the parsed rules in compact, usable form. The
* TRD objects themselves are held for the life of the process in
* a static cache owned by Transliterator.
*
* This class' API is a little asymmetric. There is a method to
* define a variable, but no way to define a set. This is because the
* sets are defined by the parser in a UVector, and the vector is
* copied into a fixed-size array here. Once this is done, no new
* sets may be defined. In practice, there is no need to do so, since
* generating the data and using it are discrete phases. When there
* is a need to access the set data during the parse phase, another
* data structure handles this. See the parsing code for more
* details.
*/
class TransliterationRuleData : public UMemory {
public:
// PUBLIC DATA MEMBERS
/**
* Rule table. May be empty.
*/
TransliterationRuleSet ruleSet;
/**
* Map variable name (String) to variable (UnicodeString). A variable name
* corresponds to zero or more characters, stored in a UnicodeString in
* this hash. One or more of these chars may also correspond to a
* UnicodeMatcher, in which case the character in the UnicodeString in this hash is
* a stand-in: it is an index for a secondary lookup in
* data.variables. The stand-in also represents the UnicodeMatcher in
* the stored rules.
*/
Hashtable variableNames;
/**
* Map category variable (UChar) to set (UnicodeFunctor).
* Variables that correspond to a set of characters are mapped
* from variable name to a stand-in character in data.variableNames.
* The stand-in then serves as a key in this hash to lookup the
* actual UnicodeFunctor object. In addition, the stand-in is
* stored in the rule text to represent the set of characters.
* variables[i] represents character (variablesBase + i).
*/
UnicodeFunctor** variables;
/**
* Flag that indicates whether the variables are owned (if a single
* call to Transliterator::createFromRules() produces a CompoundTransliterator
* with more than one RuleBasedTransliterator as children, they all share
* the same variables list, so only the first one is considered to own
* the variables)
*/
UBool variablesAreOwned;
/**
* The character that represents variables[0]. Characters
* variablesBase through variablesBase +
* variablesLength - 1 represent UnicodeFunctor objects.
*/
UChar variablesBase;
/**
* The length of variables.
*/
int32_t variablesLength;
public:
/**
* Constructor
* @param status Output param set to success/failure code on exit.
*/
TransliterationRuleData(UErrorCode& status);
/**
* Copy Constructor
*/
TransliterationRuleData(const TransliterationRuleData&);
/**
* destructor
*/
~TransliterationRuleData();
/**
* Given a stand-in character, return the UnicodeFunctor that it
* represents, or NULL if it doesn't represent anything.
* @param standIn the given stand-in character.
* @return the UnicodeFunctor that 'standIn' represents
*/
UnicodeFunctor* lookup(UChar32 standIn) const;
/**
* Given a stand-in character, return the UnicodeMatcher that it
* represents, or NULL if it doesn't represent anything or if it
* represents something that is not a matcher.
* @param standIn the given stand-in character.
* @return return the UnicodeMatcher that 'standIn' represents
*/
UnicodeMatcher* lookupMatcher(UChar32 standIn) const;
/**
* Given a stand-in character, return the UnicodeReplacer that it
* represents, or NULL if it doesn't represent anything or if it
* represents something that is not a replacer.
* @param standIn the given stand-in character.
* @return return the UnicodeReplacer that 'standIn' represents
*/
UnicodeReplacer* lookupReplacer(UChar32 standIn) const;
private:
TransliterationRuleData &operator=(const TransliterationRuleData &other); // forbid copying of this class
};
U_NAMESPACE_END
#endif /* #if !UCONFIG_NO_TRANSLITERATION */
#endif
| [
"willi@arangodb.com"
] | willi@arangodb.com |
15ca633f820ab15378cb22829d2ee6d6720f6ea0 | 550ca7956fe371d720c9ca5bb0a5c05b371e2dc8 | /events/qconsp2015_e_11_encontro_ccpp_br/cpp_demos/util.hpp | 4c103882fd2b2bd15a2c8f1342de3e54bfe49237 | [] | no_license | fabiogaluppo/samples | cb1395a9bbdb9c1d7acf818c3a65d73f7419342f | 03181a31e242134708e918a3b8f07a2ac6ea51ce | refs/heads/master | 2021-12-14T04:02:10.104067 | 2021-11-23T00:48:04 | 2021-11-23T00:48:04 | 9,377,109 | 12 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,650 | hpp | //Sample provided by Fabio Galuppo
//March 2015
#include <vector>
#include <utility>
#include <string>
#include <iostream>
#include <algorithm>
template <typename T>
struct InterestRate;
namespace std
{
template <typename U>
std::wstring to_wstring(const InterestRate<U>& _Val);
inline wchar_t to_wstring(wchar_t _Val)
{
return _Val;
}
inline std::wstring to_wstring(std::wstring _Val)
{
return _Val;
}
};
template<class InputIterator>
static std::wstring mkString(InputIterator first, InputIterator last)
{
std::wstring temp;
while (first != last)
{
temp += std::to_wstring(*first);
++first;
}
return temp;
}
template<class InputIterator>
static std::wstring mkString(InputIterator first, InputIterator last, const wchar_t* sep)
{
std::wstring temp;
if (first != last)
{
temp += std::to_wstring(*first);
++first;
}
while (first != last)
{
temp += sep;
temp += std::to_wstring(*first);
++first;
}
return temp;
}
template<class InputIterator>
static std::wstring mkString(InputIterator first, InputIterator last, const wchar_t* start, const wchar_t* sep, const wchar_t* end)
{
return start + mkString(first, last, sep) + end;
}
template<class InputIterator>
static void printLn(InputIterator first, InputIterator last)
{
std::wcout << mkString(first, last, L"{", L", ", L"}") << L"\n";
}
template<typename T, template <typename, typename> class TContainer>
static void printLn(const TContainer<T, std::allocator<T>>& xs)
{
printLn(xs.cbegin(), xs.cend());
}
template<typename T>
static void printLn(const T& x)
{
std::wcout << x << L"\n";
}
static void printLn()
{
std::wcout << L"\n";
}
| [
"fgaluppo@hotmail.com"
] | fgaluppo@hotmail.com |
a02addb00f72878f32b7498a5f1407c53da3690f | 114ead9e39670858781f5c7ab43184b88842f52a | /Map/Main.cpp | 26bba8d6511a8409d46391a089d5ccac6f0d1375 | [] | no_license | SummerZm/Structure | f98e369241fe8a3ef80eea9e01f4bca583a455a1 | d23633a535159ca738967bae0b9f32e6daab0bc3 | refs/heads/master | 2020-08-15T00:48:52.588994 | 2020-03-18T04:04:29 | 2020-03-18T04:04:29 | 215,255,861 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 791 | cpp | #include "Map.h"
#include "Array.h"
#include "LinkedMap.h"
#include "BstMap.h"
#include "inc/fileOperation.h"
#include <iostream>
#include <string>
#include <fstream>
template<typename K, typename V>
void testMapPerformence(Map<K, V>& map)
{
using namespace std;
long start=time_msec();
readFileToMap("./pride-and-prejudice.txt", map);
long end=time_msec();
std::cout<<"Cost: "<<end-start<<" ms"<<std::endl;
std::cout<<"Map size: "<<map.getSize()<<std::endl;
}
int main(int argc, char** argv)
{
using namespace std;
cout<<"Test Map"<<endl;
zmMap::LinkedMap<string, int> lMap;
testMapPerformence(lMap);
zmBstMap::BstMap<string, int> BstMap;
testMapPerformence(BstMap);
/*zmBstMap::BstMap<std::string, int> ma;
ma.add("2", 1);
ma.add("3", 16);
ma.display();*/
return 0;
}
| [
"1254551981@qq.com"
] | 1254551981@qq.com |
03ea70ad6af9f57477b8b77c9023ccce08cdaa3b | d4220e2cc895f904222e8923f40cd9891ad0d18b | /BoardCell.cpp | 32b40c37ad00f9b59da604803cc61a2a31807856 | [] | no_license | rouffj/gomoku | 264b7dca85f3849be75c0203671b628ed83172a8 | 537bbf2f922e9d61757bca115c15b765660ad018 | refs/heads/master | 2021-01-17T12:04:46.429401 | 2012-11-29T14:50:46 | 2012-11-29T14:50:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,186 | cpp | #include "Board.hpp"
#include "BoardCell.hpp"
bool BoardCell::isTakable(Board& board, Coord& cell)
{
for (int direction = TOPLEFT; direction <= LEFT; direction++)
{
int closed = BoardCell::isAlignmentClosed(*board.getCell(cell), direction);
int oppositeDirection = (direction + 4) % 8;
int color = BoardCell::getColor(*board.getCell(cell));
if (BoardCell::getAlignmentColor(*board.getCell(cell), direction) == color
&& BoardCell::getAlignmentSize(*board.getCell(cell), direction) == 1)
{
Coord c = board.getNextCell(&cell, direction);
c = board.getNextCell(&c, direction);
Coord c2 = board.getNextCell(&cell, oppositeDirection);
if (closed && board.isValid(c) && BoardCell::getAlignmentSize(*board.getCell(cell), oppositeDirection) == 0 && board.isValid(c2))
return true;
if (!closed && BoardCell::getAlignmentColor(*board.getCell(cell), oppositeDirection) != color
&& BoardCell::getAlignmentSize(*board.getCell(cell), oppositeDirection) > 0)
return true;
}
}
return false;
}
| [
"pierre.boutbel@gmail.com"
] | pierre.boutbel@gmail.com |
64e5f3666e068306778c01d11a02603cb0100e33 | 88cb82df53a6ff80624444b11ed7d5a55a05d0de | /3rd/ACE_wrappers/tests/Framework_Component_Test.cpp | 228a84bb010572d2d293687dd834bd82ada46e95 | [] | no_license | herrkong/ace | e4c6e485ce7f3e65a88a4ce79165f3afdbdcecb3 | 3c585d572a196ce92333de497d8212e28b9af075 | refs/heads/master | 2020-12-26T16:58:24.223794 | 2020-02-01T07:16:04 | 2020-02-01T07:16:04 | 237,573,039 | 1 | 1 | null | 2020-02-01T07:16:06 | 2020-02-01T06:27:39 | null | UTF-8 | C++ | false | false | 4,216 | cpp | // $Id: Framework_Component_Test.cpp 91671 2010-09-08 18:39:23Z johnnyw $
// ============================================================================
//
// = LIBRARY
// tests
//
// = DESCRIPTION
// This program tests both the ACE_Framework_Compondent and ACE_Repository.
// Since Framework Components are singletons that can live in dlls loaded
// via the Service Configurator framework, this test uses that framework
// to load services from a dll that has a singleton based on ACE_DLL_Singleton.
// When the dll is finally ready to be unloaded, the singleton will be
// automatically cleaned up just-in-time.
//
// = AUTHOR
// Don Hinton <dhinton@ieee.org>
//
// ============================================================================
#include "test_config.h"
#include "ace/Service_Config.h"
#include "ace/ARGV.h"
#include "ace/DLL_Manager.h"
// Define a few macros--because they're so much fun, and keep the
// code below a little cleaner...
#if (ACE_USES_CLASSIC_SVC_CONF == 1)
# define ADD_SERVICE(X) \
ACE_TEXT ("dynamic Server_") ACE_TEXT(#X) \
ACE_TEXT (" Service_Object * ") \
ACE_TEXT ("Framework_Component_DLL:_make_Server_") ACE_TEXT(#X) \
ACE_TEXT ("() ''")
# define REMOVE_SERVICE(X) \
ACE_TEXT ("remove Server_") ACE_TEXT(#X)
#else /* ACE_USES_CLASSIC_SVC_CONF */
# define ADD_SERVICE(X) \
ACE_TEXT ("<?xml version='1.0'?> <dynamic id='Server_") ACE_TEXT(#X) ACE_TEXT("' ") \
ACE_TEXT ("type='service_object'> <initializer init='_make_Server_") ACE_TEXT(#X) ACE_TEXT("' ") \
ACE_TEXT ("path='Framework_Component_DLL' params=''/> </dynamic>")
# define REMOVE_SERVICE(X) \
ACE_TEXT ( "<?xml version='1.0'?> <remove id='Server_") ACE_TEXT(#X) \
ACE_TEXT("'> </remove>")
#endif /* ACE_USES_CLASSIC_SVC_CONF */
int
run_test (u_long unload_mask = 0)
{
ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("Running test with mask = %s|%s\n"),
ACE_BIT_ENABLED(unload_mask, ACE_DLL_UNLOAD_POLICY_PER_DLL) == 0
? ACE_TEXT ("PER_PROCESS") : ACE_TEXT ("PER_DLL"),
ACE_BIT_ENABLED(unload_mask, ACE_DLL_UNLOAD_POLICY_LAZY) == 0
? ACE_TEXT ("EAGER") : ACE_TEXT ("LAZY")));
ACE_DLL_Manager::instance ()->unload_policy (unload_mask);
// Now, let the ACE Service Configurator framework load our service from a
// dll, which contains a singleton.
ACE_Service_Config::open (ACE_TEXT ("Framework_Component_Test"),
ACE_DEFAULT_LOGGER_KEY,
1, 1, 1);
// Now add server 1.
ACE_Service_Config::process_directive (ADD_SERVICE(1));
// And unload the first one, could unload the dll.
ACE_Service_Config::process_directive (REMOVE_SERVICE(1));
// Now readd server 1.
ACE_Service_Config::process_directive (ADD_SERVICE(1));
// And load another service from the same library.
ACE_Service_Config::process_directive (ADD_SERVICE(2));
// Unload the first one again, should *not* unload the dll this time.
ACE_Service_Config::process_directive (REMOVE_SERVICE(1));
// And unload the second service. Since the ACE_DLL_Handle will no longer
// have any references, the ACE_DLL_Manager will apply it's current unloading
// strategy and either call ACE_OS::dlclose() immediately, schedule a timeout
// the the reactor to call dlclose() some time in the future, or keep the
// dll loaded until program termination.
ACE_Service_Config::process_directive (REMOVE_SERVICE(2));
// Force unloading so we'll be ready for the next test.
ACE_DLL_Manager::instance ()->unload_policy (ACE_DLL_UNLOAD_POLICY_DEFAULT);
ACE_Service_Config::close ();
return 0;
}
int
run_main (int, ACE_TCHAR *[])
{
ACE_START_TEST (ACE_TEXT("Framework_Component_Test"));
int retval = 0;
// Use defaults, i.e., per process, eager unloading.
retval += run_test (ACE_DLL_UNLOAD_POLICY_DEFAULT);
// Per process, lazy unloading
retval += run_test (ACE_DLL_UNLOAD_POLICY_LAZY);
// Per dll, eager unloading
retval += run_test (ACE_DLL_UNLOAD_POLICY_PER_DLL);
// Per dll, lazy unloading.
retval += run_test (ACE_DLL_UNLOAD_POLICY_PER_DLL | ACE_DLL_UNLOAD_POLICY_LAZY);
ACE_END_TEST;
return retval == 0 ? 0 : -1;
}
| [
"herrkong25@gmail.com"
] | herrkong25@gmail.com |
65176b65a5e896a36883986eaa6a0ad949e6b3d3 | 6a2d1800e25e3624b315c21f9598b4442c8d80b6 | /sdk/storage/azure-storage-files-shares/inc/azure/storage/files/shares/share_file_attribute.hpp | 4d63b859060e5d60dc164ccc8aa3d94f1c37fd62 | [
"LicenseRef-scancode-generic-cla",
"MIT",
"BSD-3-Clause",
"curl",
"LGPL-2.1-or-later",
"Apache-2.0"
] | permissive | katmsft/azure-sdk-for-cpp | e3f76ebe9c1a176050f64b9fb0658031b95ec02b | d99f3ab8e62fff5c65c49aea91aba3c2a422a7d1 | refs/heads/master | 2021-09-11T14:52:51.875720 | 2021-01-28T09:21:59 | 2021-01-28T09:21:59 | 248,464,376 | 0 | 0 | MIT | 2020-08-27T05:37:44 | 2020-03-19T09:41:59 | C++ | UTF-8 | C++ | false | false | 6,519 | hpp | // Copyright (c) Microsoft Corporation. All rights reserved.
// SPDX-License-Identifier: MIT
#include <algorithm>
#include <string>
#include <type_traits>
namespace Azure { namespace Storage { namespace Files { namespace Shares {
namespace Models {
enum class FileAttributes
{
/**
* @brief The File or Directory is read-only.
*/
ReadOnly = 1,
/**
* @brief The File or Directory is hidden, and thus is not included in an ordinary directory
* listing.
*/
Hidden = 2,
/**
* @brief The File or Directory is a systemfile. That is, the file is part of the operating
* system or is used exclusively by the operating system.
*/
System = 4,
/**
* @brief The file or directory is a standard file that has no special attributes. This
* attribute is valid only if it is used alone.
*/
None = 8,
/**
* @brief The file is a directory.
*/
Directory = 16,
/**
* @brief The file is a candidate for backup or removal.
*/
Archive = 32,
/**
* @brief The file or directory is temporary. A temporary file contains data that is needed
* while an application is executing but is not needed after the application is finished. File
* systems try to keep all the data in memory for quicker access rather than flushing the data
* back to mass storage. A temporary file should be deleted by the application as soon as it
* is no longer needed.
*/
Temporary = 64,
/**
* @brief The file or directory is offline. The data of the file is not immediately available.
*/
Offline = 128,
/**
* @brief The file or directory will not be indexed by the operating system's content indexing
* service.
*/
NotContentIndexed = 256,
/**
* @brief The file or directory is excluded from the data integrity scan. When this value is
* applied to a directory, by default, all new files and subdirectories within that directory
* are excluded from data integrity.
*/
NoScrubData = 512
};
inline FileAttributes operator|(FileAttributes lhs, FileAttributes rhs)
{
using type = std::underlying_type_t<FileAttributes>;
return static_cast<FileAttributes>(static_cast<type>(lhs) | static_cast<type>(rhs));
}
inline FileAttributes& operator|=(FileAttributes& lhs, FileAttributes rhs)
{
lhs = lhs | rhs;
return lhs;
}
inline FileAttributes operator&(FileAttributes lhs, FileAttributes rhs)
{
using type = std::underlying_type_t<FileAttributes>;
return static_cast<FileAttributes>(static_cast<type>(lhs) & static_cast<type>(rhs));
}
inline FileAttributes& operator&=(FileAttributes& lhs, FileAttributes rhs)
{
lhs = lhs & rhs;
return lhs;
}
} // namespace Models
namespace Details {
inline Models::FileAttributes FileAttributesFromString(const std::string& fileAttributesString)
{
Models::FileAttributes result = static_cast<Models::FileAttributes>(0);
if (fileAttributesString == "ReadOnly")
{
result = Models::FileAttributes::ReadOnly;
}
else if (fileAttributesString == "Hidden")
{
result = Models::FileAttributes::Hidden;
}
else if (fileAttributesString == "System")
{
result = Models::FileAttributes::System;
}
else if (fileAttributesString == "None")
{
result = Models::FileAttributes::None;
}
else if (fileAttributesString == "Directory")
{
result = Models::FileAttributes::Directory;
}
else if (fileAttributesString == "Archive")
{
result = Models::FileAttributes::Archive;
}
else if (fileAttributesString == "Offline")
{
result = Models::FileAttributes::Offline;
}
else if (fileAttributesString == "NotContentIndexed")
{
result = Models::FileAttributes::NotContentIndexed;
}
else if (fileAttributesString == "NoScrubData")
{
result = Models::FileAttributes::NoScrubData;
}
return result;
}
inline std::string FileAttributesToString(const Models::FileAttributes& val)
{
Models::FileAttributes value_list[] = {
Models::FileAttributes::ReadOnly,
Models::FileAttributes::Hidden,
Models::FileAttributes::System,
Models::FileAttributes::None,
Models::FileAttributes::Directory,
Models::FileAttributes::Archive,
Models::FileAttributes::Temporary,
Models::FileAttributes::Offline,
Models::FileAttributes::NotContentIndexed,
Models::FileAttributes::NoScrubData,
};
const char* string_list[] = {
"ReadOnly",
"Hidden",
"System",
"None",
"Directory",
"Archive",
"Temporary",
"Offline",
"NotContentIndexed",
"NoScrubData",
};
std::string result;
for (std::size_t i = 0; i < sizeof(value_list) / sizeof(Models::ListSharesIncludeType); ++i)
{
if ((val & value_list[i]) == value_list[i])
{
if (!result.empty())
{
result += "|";
}
result += string_list[i];
}
}
return result;
}
inline Models::FileAttributes FileAttributesListFromString(
const std::string& fileAttributesString)
{
Models::FileAttributes results = static_cast<Models::FileAttributes>(0);
std::string::const_iterator cur = fileAttributesString.begin();
auto getSubstrTillDelimiter
= [](char delimiter, const std::string& string, std::string::const_iterator& cur) {
auto begin = cur;
auto end = std::find(cur, string.end(), delimiter);
cur = end;
if (cur != string.end())
{
++cur;
}
return std::string(begin, end);
};
while (cur != fileAttributesString.end())
{
std::string attribute = getSubstrTillDelimiter('|', fileAttributesString, cur);
if (!attribute.empty())
{
results |= FileAttributesFromString(attribute);
}
}
return results;
}
} // namespace Details
}}}} // namespace Azure::Storage::Files::Shares | [
"noreply@github.com"
] | noreply@github.com |
fc31587f7a52ba1ffaf4fbe06d2db3d836c22795 | 948876a990d652d006e98ce39df0d7bb5fceb58d | /binary_search.cpp | ae207a5b496828c03e70897cdff1f8b1b636fd11 | [] | no_license | NavidK27/Data-Structures | b9651419f405238eedf86c2dd8dd8cb8b2f78a41 | f3e2519c994b1afd5eeadf34da0e4bfbb90c55da | refs/heads/master | 2022-11-25T10:10:50.044100 | 2020-07-24T10:13:03 | 2020-07-24T10:13:03 | 282,175,629 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,338 | cpp | #include<iostream>
using namespace std;
void binarysearch(int marks[],int id[],int low,int high,int num)
{
int m;
int c =0;
m=(low+high)/2;
if(marks[high]<num)
{
cout<<"\n Not there";
}
while(low<=high)
{
if(marks[m]==num)
{
c++;
break;
}
else if(marks[m]>num)
{
high = m-1;
m=(low+high)/2;
}
else if(marks[m]<num)
{
low=m+1;
m=(high+low)/2;
}
}
if(c==1)
{
cout<<endl<<"\n The id number having the marks you searched for is "<<id[m];
}
else
cout<<"\n Not there";
}
int main()
{
int id[10];
int mar[10];
int a,n;
int num;
cout<<"Enter the number of students";
cin>>n;
for(a=0;a<n;a++)
{
cout<<"\n Student number "<<a+1;
cout<<"\n Enter the id";
cin>> id[a];
cout<<"\n Enter the marks";
cin>>mar[a];
}
cout<<"\n Enter the marks you want to search for";
cin>>num;
int l = 0;
binarysearch(mar,id,l,n-1,num);
}
| [
"noreply@github.com"
] | noreply@github.com |
81b4186baa06d08dce9fa08913ea3a841b0ce737 | 46bdb10183d6849af916c65b4f13ad4072d5c0c2 | /src/kernel.cpp | f09cec60152e6f8a212218fac6747347b125b0ce | [
"MIT"
] | permissive | PosCoinDev/PosCoin-master | e3b3ce83fcb54e321de31b116415f692fea37662 | 305d4fba927049b3cbe30b949e7257041cc78c19 | refs/heads/master | 2020-12-25T19:26:12.454859 | 2014-07-10T01:13:36 | 2014-07-10T01:13:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,159 | cpp | // Copyright (c) 2012-2013 The PPCoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <boost/assign/list_of.hpp>
#include "kernel.h"
#include "txdb.h"
using namespace std;
extern unsigned int nStakeMaxAge;
extern unsigned int nTargetSpacing;
int64_t GetPOWReward(int64_t nFees)
{
int64_t nSubsidy = 200 * COIN;
if(pindexBest->nHeight == 39)
{
nSubsidy = 600000 * COIN;
}
if (fDebug && GetBoolArg("-printcreation"))
printf("GetPOWReward() : create=%s nSubsidy=%"PRId64"\n", FormatMoney(nSubsidy).c_str(), nSubsidy);
return nSubsidy + nFees;
}
typedef std::map<int, unsigned int> MapModifierCheckpoints;
// Hard checkpoints of stake modifiers to ensure they are deterministic
static std::map<int, unsigned int> mapStakeModifierCheckpoints =
boost::assign::map_list_of
( 0, 0x0e00670bu )
;
// Hard checkpoints of stake modifiers to ensure they are deterministic (testNet)
static std::map<int, unsigned int> mapStakeModifierCheckpointsTestNet =
boost::assign::map_list_of
( 0, 0x0e00670bu )
;
// Get time weight
int64_t GetWeight(int64_t nIntervalBeginning, int64_t nIntervalEnd)
{
// Kernel hash weight starts from 0 at the min age
// this change increases active coins participating the hash and helps
// to secure the network when proof-of-stake difficulty is low
return min(nIntervalEnd - nIntervalBeginning - nStakeMinAge, (int64_t)nStakeMaxAge);
}
// Get the last stake modifier and its generation time from a given block
static bool GetLastStakeModifier(const CBlockIndex* pindex, uint64_t& nStakeModifier, int64_t& nModifierTime)
{
if (!pindex)
return error("GetLastStakeModifier: null pindex");
while (pindex && pindex->pprev && !pindex->GeneratedStakeModifier())
pindex = pindex->pprev;
if (!pindex->GeneratedStakeModifier())
return error("GetLastStakeModifier: no generation at genesis block");
nStakeModifier = pindex->nStakeModifier;
nModifierTime = pindex->GetBlockTime();
return true;
}
// Get selection interval section (in seconds)
static int64_t GetStakeModifierSelectionIntervalSection(int nSection)
{
assert (nSection >= 0 && nSection < 64);
return (nModifierInterval * 63 / (63 + ((63 - nSection) * (MODIFIER_INTERVAL_RATIO - 1))));
}
// Get stake modifier selection interval (in seconds)
static int64_t GetStakeModifierSelectionInterval()
{
int64_t nSelectionInterval = 0;
for (int nSection=0; nSection<64; nSection++)
nSelectionInterval += GetStakeModifierSelectionIntervalSection(nSection);
return nSelectionInterval;
}
// select a block from the candidate blocks in vSortedByTimestamp, excluding
// already selected blocks in vSelectedBlocks, and with timestamp up to
// nSelectionIntervalStop.
static bool SelectBlockFromCandidates(vector<pair<int64_t, uint256> >& vSortedByTimestamp, map<uint256, const CBlockIndex*>& mapSelectedBlocks,
int64_t nSelectionIntervalStop, uint64_t nStakeModifierPrev, const CBlockIndex** pindexSelected)
{
bool fSelected = false;
uint256 hashBest = 0;
*pindexSelected = (const CBlockIndex*) 0;
BOOST_FOREACH(const PAIRTYPE(int64_t, uint256)& item, vSortedByTimestamp)
{
if (!mapBlockIndex.count(item.second))
return error("SelectBlockFromCandidates: failed to find block index for candidate block %s", item.second.ToString().c_str());
const CBlockIndex* pindex = mapBlockIndex[item.second];
if (fSelected && pindex->GetBlockTime() > nSelectionIntervalStop)
break;
if (mapSelectedBlocks.count(pindex->GetBlockHash()) > 0)
continue;
// compute the selection hash by hashing its proof-hash and the
// previous proof-of-stake modifier
uint256 hashProof = pindex->IsProofOfStake()? pindex->hashProofOfStake : pindex->GetBlockHash();
CDataStream ss(SER_GETHASH, 0);
ss << hashProof << nStakeModifierPrev;
uint256 hashSelection = Hash(ss.begin(), ss.end());
// the selection hash is divided by 2**32 so that proof-of-stake block
// is always favored over proof-of-work block. this is to preserve
// the energy efficiency property
if (pindex->IsProofOfStake())
hashSelection >>= 32;
if (fSelected && hashSelection < hashBest)
{
hashBest = hashSelection;
*pindexSelected = (const CBlockIndex*) pindex;
}
else if (!fSelected)
{
fSelected = true;
hashBest = hashSelection;
*pindexSelected = (const CBlockIndex*) pindex;
}
}
if (fDebug && GetBoolArg("-printstakemodifier"))
printf("SelectBlockFromCandidates: selection hash=%s\n", hashBest.ToString().c_str());
return fSelected;
}
// Stake Modifier (hash modifier of proof-of-stake):
// The purpose of stake modifier is to prevent a txout (coin) owner from
// computing future proof-of-stake generated by this txout at the time
// of transaction confirmation. To meet kernel protocol, the txout
// must hash with a future stake modifier to generate the proof.
// Stake modifier consists of bits each of which is contributed from a
// selected block of a given block group in the past.
// The selection of a block is based on a hash of the block's proof-hash and
// the previous stake modifier.
// Stake modifier is recomputed at a fixed time interval instead of every
// block. This is to make it difficult for an attacker to gain control of
// additional bits in the stake modifier, even after generating a chain of
// blocks.
bool ComputeNextStakeModifier(const CBlockIndex* pindexPrev, uint64_t& nStakeModifier, bool& fGeneratedStakeModifier)
{
nStakeModifier = 0;
fGeneratedStakeModifier = false;
if (!pindexPrev)
{
fGeneratedStakeModifier = true;
return true; // genesis block's modifier is 0
}
// First find current stake modifier and its generation block time
// if it's not old enough, return the same stake modifier
int64_t nModifierTime = 0;
if (!GetLastStakeModifier(pindexPrev, nStakeModifier, nModifierTime))
return error("ComputeNextStakeModifier: unable to get last modifier");
if (fDebug)
{
printf("ComputeNextStakeModifier: prev modifier=0x%016"PRIx64" time=%s\n", nStakeModifier, DateTimeStrFormat(nModifierTime).c_str());
}
if (nModifierTime / nModifierInterval >= pindexPrev->GetBlockTime() / nModifierInterval)
return true;
// Sort candidate blocks by timestamp
vector<pair<int64_t, uint256> > vSortedByTimestamp;
vSortedByTimestamp.reserve(64 * nModifierInterval / nTargetSpacing);
int64_t nSelectionInterval = GetStakeModifierSelectionInterval();
int64_t nSelectionIntervalStart = (pindexPrev->GetBlockTime() / nModifierInterval) * nModifierInterval - nSelectionInterval;
const CBlockIndex* pindex = pindexPrev;
while (pindex && pindex->GetBlockTime() >= nSelectionIntervalStart)
{
vSortedByTimestamp.push_back(make_pair(pindex->GetBlockTime(), pindex->GetBlockHash()));
pindex = pindex->pprev;
}
int nHeightFirstCandidate = pindex ? (pindex->nHeight + 1) : 0;
reverse(vSortedByTimestamp.begin(), vSortedByTimestamp.end());
sort(vSortedByTimestamp.begin(), vSortedByTimestamp.end());
// Select 64 blocks from candidate blocks to generate stake modifier
uint64_t nStakeModifierNew = 0;
int64_t nSelectionIntervalStop = nSelectionIntervalStart;
map<uint256, const CBlockIndex*> mapSelectedBlocks;
for (int nRound=0; nRound<min(64, (int)vSortedByTimestamp.size()); nRound++)
{
// add an interval section to the current selection round
nSelectionIntervalStop += GetStakeModifierSelectionIntervalSection(nRound);
// select a block from the candidates of current round
if (!SelectBlockFromCandidates(vSortedByTimestamp, mapSelectedBlocks, nSelectionIntervalStop, nStakeModifier, &pindex))
return error("ComputeNextStakeModifier: unable to select block at round %d", nRound);
// write the entropy bit of the selected block
nStakeModifierNew |= (((uint64_t)pindex->GetStakeEntropyBit()) << nRound);
// add the selected block from candidates to selected list
mapSelectedBlocks.insert(make_pair(pindex->GetBlockHash(), pindex));
if (fDebug && GetBoolArg("-printstakemodifier"))
printf("ComputeNextStakeModifier: selected round %d stop=%s height=%d bit=%d\n", nRound, DateTimeStrFormat(nSelectionIntervalStop).c_str(), pindex->nHeight, pindex->GetStakeEntropyBit());
}
// Print selection map for visualization of the selected blocks
if (fDebug && GetBoolArg("-printstakemodifier"))
{
string strSelectionMap = "";
// '-' indicates proof-of-work blocks not selected
strSelectionMap.insert(0, pindexPrev->nHeight - nHeightFirstCandidate + 1, '-');
pindex = pindexPrev;
while (pindex && pindex->nHeight >= nHeightFirstCandidate)
{
// '=' indicates proof-of-stake blocks not selected
if (pindex->IsProofOfStake())
strSelectionMap.replace(pindex->nHeight - nHeightFirstCandidate, 1, "=");
pindex = pindex->pprev;
}
BOOST_FOREACH(const PAIRTYPE(uint256, const CBlockIndex*)& item, mapSelectedBlocks)
{
// 'S' indicates selected proof-of-stake blocks
// 'W' indicates selected proof-of-work blocks
strSelectionMap.replace(item.second->nHeight - nHeightFirstCandidate, 1, item.second->IsProofOfStake()? "S" : "W");
}
printf("ComputeNextStakeModifier: selection height [%d, %d] map %s\n", nHeightFirstCandidate, pindexPrev->nHeight, strSelectionMap.c_str());
}
if (fDebug)
{
printf("ComputeNextStakeModifier: new modifier=0x%016"PRIx64" time=%s\n", nStakeModifierNew, DateTimeStrFormat(pindexPrev->GetBlockTime()).c_str());
}
nStakeModifier = nStakeModifierNew;
fGeneratedStakeModifier = true;
return true;
}
// The stake modifier used to hash for a stake kernel is chosen as the stake
// modifier about a selection interval later than the coin generating the kernel
static bool GetKernelStakeModifier(uint256 hashBlockFrom, uint64_t& nStakeModifier, int& nStakeModifierHeight, int64_t& nStakeModifierTime, bool fPrintProofOfStake)
{
nStakeModifier = 0;
if (!mapBlockIndex.count(hashBlockFrom))
return error("GetKernelStakeModifier() : block not indexed");
const CBlockIndex* pindexFrom = mapBlockIndex[hashBlockFrom];
nStakeModifierHeight = pindexFrom->nHeight;
nStakeModifierTime = pindexFrom->GetBlockTime();
int64_t nStakeModifierSelectionInterval = GetStakeModifierSelectionInterval();
const CBlockIndex* pindex = pindexFrom;
// loop to find the stake modifier later by a selection interval
while (nStakeModifierTime < pindexFrom->GetBlockTime() + nStakeModifierSelectionInterval)
{
if (!pindex->pnext)
{ // reached best block; may happen if node is behind on block chain
if (fPrintProofOfStake || (pindex->GetBlockTime() + nStakeMinAge - nStakeModifierSelectionInterval > GetAdjustedTime()))
return error("GetKernelStakeModifier() : reached best block %s at height %d from block %s",
pindex->GetBlockHash().ToString().c_str(), pindex->nHeight, hashBlockFrom.ToString().c_str());
else
return false;
}
pindex = pindex->pnext;
if (pindex->GeneratedStakeModifier())
{
nStakeModifierHeight = pindex->nHeight;
nStakeModifierTime = pindex->GetBlockTime();
}
}
nStakeModifier = pindex->nStakeModifier;
return true;
}
// ppcoin kernel protocol
// coinstake must meet hash target according to the protocol:
// kernel (input 0) must meet the formula
// hash(nStakeModifier + txPrev.block.nTime + txPrev.offset + txPrev.nTime + txPrev.vout.n + nTime) < bnTarget * nCoinDayWeight
// this ensures that the chance of getting a coinstake is proportional to the
// amount of coin age one owns.
// The reason this hash is chosen is the following:
// nStakeModifier: scrambles computation to make it very difficult to precompute
// future proof-of-stake at the time of the coin's confirmation
// txPrev.block.nTime: prevent nodes from guessing a good timestamp to
// generate transaction for future advantage
// txPrev.offset: offset of txPrev inside block, to reduce the chance of
// nodes generating coinstake at the same time
// txPrev.nTime: reduce the chance of nodes generating coinstake at the same
// time
// txPrev.vout.n: output number of txPrev, to reduce the chance of nodes
// generating coinstake at the same time
// block/tx hash should not be used here as they can be generated in vast
// quantities so as to generate blocks faster, degrading the system back into
// a proof-of-work situation.
//
bool CheckStakeKernelHash(unsigned int nBits, const CBlock& blockFrom, unsigned int nTxPrevOffset, const CTransaction& txPrev, const COutPoint& prevout, unsigned int nTimeTx, uint256& hashProofOfStake, uint256& targetProofOfStake, bool fPrintProofOfStake)
{
if (nTimeTx < txPrev.nTime) // Transaction timestamp violation
return error("CheckStakeKernelHash() : nTime violation");
unsigned int nTimeBlockFrom = blockFrom.GetBlockTime();
if (nTimeBlockFrom + nStakeMinAge > nTimeTx) // Min age requirement
return error("CheckStakeKernelHash() : min age violation");
CBigNum bnTargetPerCoinDay;
bnTargetPerCoinDay.SetCompact(nBits);
int64_t nValueIn = txPrev.vout[prevout.n].nValue;
uint256 hashBlockFrom = blockFrom.GetHash();
CBigNum bnCoinDayWeight = CBigNum(nValueIn) * GetWeight((int64_t)txPrev.nTime, (int64_t)nTimeTx) / COIN / (24 * 60 * 60);
targetProofOfStake = (bnCoinDayWeight * bnTargetPerCoinDay).getuint256();
// Calculate hash
CDataStream ss(SER_GETHASH, 0);
uint64_t nStakeModifier = 0;
int nStakeModifierHeight = 0;
int64_t nStakeModifierTime = 0;
if (!GetKernelStakeModifier(hashBlockFrom, nStakeModifier, nStakeModifierHeight, nStakeModifierTime, fPrintProofOfStake))
return false;
ss << nStakeModifier;
ss << nTimeBlockFrom << nTxPrevOffset << txPrev.nTime << prevout.n << nTimeTx;
hashProofOfStake = Hash(ss.begin(), ss.end());
if (fPrintProofOfStake)
{
printf("CheckStakeKernelHash() : using modifier 0x%016"PRIx64" at height=%d timestamp=%s for block from height=%d timestamp=%s\n",
nStakeModifier, nStakeModifierHeight,
DateTimeStrFormat(nStakeModifierTime).c_str(),
mapBlockIndex[hashBlockFrom]->nHeight,
DateTimeStrFormat(blockFrom.GetBlockTime()).c_str());
printf("CheckStakeKernelHash() : check modifier=0x%016"PRIx64" nTimeBlockFrom=%u nTxPrevOffset=%u nTimeTxPrev=%u nPrevout=%u nTimeTx=%u hashProof=%s\n",
nStakeModifier,
nTimeBlockFrom, nTxPrevOffset, txPrev.nTime, prevout.n, nTimeTx,
hashProofOfStake.ToString().c_str());
}
// Now check if proof-of-stake hash meets target protocol
if (CBigNum(hashProofOfStake) > bnCoinDayWeight * bnTargetPerCoinDay)
return false;
if (fDebug && !fPrintProofOfStake)
{
printf("CheckStakeKernelHash() : using modifier 0x%016"PRIx64" at height=%d timestamp=%s for block from height=%d timestamp=%s\n",
nStakeModifier, nStakeModifierHeight,
DateTimeStrFormat(nStakeModifierTime).c_str(),
mapBlockIndex[hashBlockFrom]->nHeight,
DateTimeStrFormat(blockFrom.GetBlockTime()).c_str());
printf("CheckStakeKernelHash() : pass modifier=0x%016"PRIx64" nTimeBlockFrom=%u nTxPrevOffset=%u nTimeTxPrev=%u nPrevout=%u nTimeTx=%u hashProof=%s\n",
nStakeModifier,
nTimeBlockFrom, nTxPrevOffset, txPrev.nTime, prevout.n, nTimeTx,
hashProofOfStake.ToString().c_str());
}
return true;
}
// Check kernel hash target and coinstake signature
bool CheckProofOfStake(const CTransaction& tx, unsigned int nBits, uint256& hashProofOfStake, uint256& targetProofOfStake)
{
if (!tx.IsCoinStake())
return error("CheckProofOfStake() : called on non-coinstake %s", tx.GetHash().ToString().c_str());
// Kernel (input 0) must match the stake hash target per coin age (nBits)
const CTxIn& txin = tx.vin[0];
// First try finding the previous transaction in database
CTxDB txdb("r");
CTransaction txPrev;
CTxIndex txindex;
if (!txPrev.ReadFromDisk(txdb, txin.prevout, txindex))
return tx.DoS(1, error("CheckProofOfStake() : INFO: read txPrev failed")); // previous transaction not in main chain, may occur during initial download
// Verify signature
if (!VerifySignature(txPrev, tx, 0, 0))
return tx.DoS(100, error("CheckProofOfStake() : VerifySignature failed on coinstake %s", tx.GetHash().ToString().c_str()));
// Read block header
CBlock block;
if (!block.ReadFromDisk(txindex.pos.nFile, txindex.pos.nBlockPos, false))
return fDebug? error("CheckProofOfStake() : read block failed") : false; // unable to read block of previous transaction
if (!CheckStakeKernelHash(nBits, block, txindex.pos.nTxPos - txindex.pos.nBlockPos, txPrev, txin.prevout, tx.nTime, hashProofOfStake, targetProofOfStake, fDebug))
return tx.DoS(1, error("CheckProofOfStake() : INFO: check kernel failed on coinstake %s, hashProof=%s", tx.GetHash().ToString().c_str(), hashProofOfStake.ToString().c_str())); // may occur during initial download or if behind on block chain sync
return true;
}
// Check whether the coinstake timestamp meets protocol
bool CheckCoinStakeTimestamp(int64_t nTimeBlock, int64_t nTimeTx)
{
// v0.3 protocol
return (nTimeBlock == nTimeTx);
}
// Get stake modifier checksum
unsigned int GetStakeModifierChecksum(const CBlockIndex* pindex)
{
assert (pindex->pprev || pindex->GetBlockHash() == (!fTestNet ? hashGenesisBlock : hashGenesisBlockTestNet));
// Hash previous checksum with flags, hashProofOfStake and nStakeModifier
CDataStream ss(SER_GETHASH, 0);
if (pindex->pprev)
ss << pindex->pprev->nStakeModifierChecksum;
ss << pindex->nFlags << pindex->hashProofOfStake << pindex->nStakeModifier;
uint256 hashChecksum = Hash(ss.begin(), ss.end());
hashChecksum >>= (256 - 32);
return hashChecksum.Get64();
}
// Check stake modifier hard checkpoints
bool CheckStakeModifierCheckpoints(int nHeight, unsigned int nStakeModifierChecksum)
{
MapModifierCheckpoints& checkpoints = (fTestNet ? mapStakeModifierCheckpointsTestNet : mapStakeModifierCheckpoints);
if (checkpoints.count(nHeight))
return nStakeModifierChecksum == checkpoints[nHeight];
return true;
}
| [
"PosCoinDev@gmail.com"
] | PosCoinDev@gmail.com |
0629de18ffea5bb8c8054fc56917bc43aa312db5 | e2060a3fe9516d4d03bda898b974a8251e9b57d2 | /DS/stacking_prob.cpp | 885db58715bc009f8badb12f6dc882320de4f25a | [] | no_license | ummu2222/Data-structures | 8c4e9e00f8966aa81b797f815c1461b9250fb2e6 | 74895c23857260dcf5f971140d3563801cfa8770 | refs/heads/master | 2020-08-29T13:13:16.689445 | 2019-10-28T12:41:31 | 2019-10-28T12:41:31 | 218,042,066 | 1 | 0 | null | 2019-10-28T12:30:46 | 2019-10-28T12:30:46 | null | UTF-8 | C++ | false | false | 1,617 | cpp |
#include<stdio.h>
#include<stdlib.h>
struct Box
{
int h, w, d; // for simplicity of solution, always keep w <= d
};
int min (int x, int y)
{ return (x < y)? x : y; }
int max (int x, int y)
{ return (x > y)? x : y; }
int compare (const void *a, const void * b)
{
return ( (*(Box *)b).d * (*(Box *)b).w ) -
( (*(Box *)a).d * (*(Box *)a).w );
}
int maxStackHeight( Box arr[], int n )
{
For example, for a box {1, 2, 3}, we consider three
instances{{1, 2, 3}, {2, 1, 3}, {3, 1, 2}} */
Box rot[3*n];
int index = 0;
for (int i = 0; i < n; i++)
{
rot[index].h = arr[i].h;
rot[index].d = max(arr[i].d, arr[i].w);
rot[index].w = min(arr[i].d, arr[i].w);
index++;
rot[index].h = arr[i].w;
rot[index].d = max(arr[i].h, arr[i].d);
rot[index].w = min(arr[i].h, arr[i].d);
index++;
rot[index].h = arr[i].d;
rot[index].d = max(arr[i].h, arr[i].w);
rot[index].w = min(arr[i].h, arr[i].w);
index++;
}
n = 3*n;
of base area */
qsort (rot, n, sizeof(rot[0]), compare);
int msh[n];
for (int i = 0; i < n; i++ )
msh[i] = rot[i].h;
for (int i = 1; i < n; i++ )
for (int j = 0; j < i; j++ )
if ( rot[i].w < rot[j].w &&
rot[i].d < rot[j].d &&
msh[i] < msh[j] + rot[i].h
)
{
msh[i] = msh[j] + rot[i].h;
}
int max = -1;
for ( int i = 0; i < n; i++ )
if ( max < msh[i] )
max = msh[i];
return max;
}
int main()
{
Box arr[] = { {4, 6, 7}, {1, 2, 3}, {4, 5, 6}, {10, 12, 32} };
int n = sizeof(arr)/sizeof(arr[0]);
printf("The maximum possible height of stack is %d\n",
maxStackHeight (arr, n) );
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
126fb52cc43764eb108d89c4d7edbdaef964f173 | d7979da01af27362fe8197b2a82532a7a553918c | /src/qt/quirkyturtcoin/addnewaddressdialog.h | a7ab2ef90327eb97ddf9bd6f97b5df4e9f537b48 | [
"MIT"
] | permissive | faetos/QTCoin | c4fe3bbb98adf1dfae7d07caff2edaf0030fb3c5 | 89df4cd42fc0afb5adee142e045d2e2e08311402 | refs/heads/main | 2023-07-31T06:59:04.899487 | 2021-09-28T14:32:38 | 2021-09-28T14:32:38 | 367,925,858 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 553 | h | // Copyright (c) 2019 The quirkyturtcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef ADDNEWADDRESSDIALOG_H
#define ADDNEWADDRESSDIALOG_H
#include <QWidget>
namespace Ui {
class AddNewAddressDialog;
}
class AddNewAddressDialog : public QWidget
{
Q_OBJECT
public:
explicit AddNewAddressDialog(QWidget *parent = nullptr);
~AddNewAddressDialog();
private:
Ui::AddNewAddressDialog *ui;
};
#endif // ADDNEWADDRESSDIALOG_H
| [
"faetos@yahoo.com"
] | faetos@yahoo.com |
e3530f7d15f449e26fc733dfa5a85eddbdb4dd08 | a0766cc0be95a2a85fb9276a99c1d3983d3be00a | /src/UtilsCtrl/ThreadPool/UThreadPool.h | 3a5abdcd97d5f1edafe6840843b2048d32ff4874 | [] | no_license | christsun/CGraph | 6cdb5475d35dd327eb88ab0c2e4dc8f88489c3a2 | 41a863c2af971084e6dedc8b33badd6f0b7122aa | refs/heads/main | 2023-07-09T09:13:47.773246 | 2021-08-11T01:17:00 | 2021-08-11T01:17:00 | 396,773,560 | 3 | 0 | null | 2021-08-16T11:57:39 | 2021-08-16T11:57:38 | null | UTF-8 | C++ | false | false | 5,814 | h | /***************************
@Author: Chunel
@Contact: chunel@foxmail.com
@File: UThreadPool.h
@Time: 2021/7/4 1:34 下午
@Desc:
***************************/
#ifndef CGRAPH_UTHREADPOOL_H
#define CGRAPH_UTHREADPOOL_H
#include <vector>
#include <list>
#include <future>
#include <thread>
#include <algorithm>
#include <memory>
#include "UThreadObject.h"
#include "AtomicQueue/UAtomicQueue.h"
#include "Thread/UThreadPrimary.h"
#include "Thread/UThreadSecondary.h"
class UThreadPool : public UThreadObject {
public:
explicit UThreadPool() {
cur_index_ = 0;
is_init_ = false;
/* 开启监控线程 */
is_monitor_ = true;
monitor_thread_ = std::move(std::thread(&UThreadPool::monitor, this));
}
/**
* 开启所有的线程信息
* @return
*/
CSTATUS init() override {
CGRAPH_FUNCTION_BEGIN
primary_threads_.reserve(CGRAPH_DEFAULT_THREAD_SIZE);
for (int i = 0; i < CGRAPH_DEFAULT_THREAD_SIZE; ++i) {
auto ptr = CGRAPH_SAFE_MALLOC_COBJECT(UThreadPrimary); // 创建核心线程数
CGRAPH_ASSERT_NOT_NULL(ptr)
ptr->setThreadPoolInfo(i, &this->task_queue_, &this->primary_threads_);
status = ptr->init();
CGRAPH_FUNCTION_CHECK_STATUS
primary_threads_.emplace_back(ptr);
}
is_init_ = true;
CGRAPH_FUNCTION_END
}
/**
* 释放所有的线程信息
* @return
*/
CSTATUS deinit() override {
CGRAPH_FUNCTION_BEGIN
is_init_ = false;
// primary 线程是普通指针,需要delete
for (auto& thread : primary_threads_) {
status = thread->deinit();
CGRAPH_FUNCTION_CHECK_STATUS
CGRAPH_DELETE_PTR(thread)
}
primary_threads_.clear();
// secondary 线程是智能指针,不需要delete
for (auto& thread : secondary_threads_) {
thread->deinit();
CGRAPH_FUNCTION_CHECK_STATUS
}
secondary_threads_.clear();
CGRAPH_FUNCTION_END
}
~UThreadPool() override {
// 在析构的时候,才释放监控线程
is_monitor_ = false;
if (monitor_thread_.joinable()) {
monitor_thread_.join();
}
deinit();
}
/**
* 提交任务信息
* @tparam FunctionType
* @param func
* @return
*/
template<typename FunctionType>
std::future<typename std::result_of<FunctionType()>::type> commit(FunctionType func) {
typedef typename std::result_of<FunctionType()>::type resultType;
std::packaged_task<resultType()> task(func);
std::future<resultType> result(task.get_future());
if (cur_index_ >= 0 && cur_index_ < CGRAPH_DEFAULT_THREAD_SIZE) {
// 部分任务直接放到线程的队列中执行
primary_threads_[cur_index_]->work_stealing_queue_.push(std::move(task));
} else {
// 部分数据被分流到线程池(总体)的任务队列中
task_queue_.push(std::move(task));
}
cur_index_++;
if (cur_index_ >= CGRAPH_MAX_THREAD_SIZE || cur_index_ < 0) {
cur_index_ = 0;
}
return result;
}
/**
* 监控线程执行函数,主要是判断是否需要增加线程,或销毁线程
* 增/删 操作,仅针对secondary类型线程生效
*/
void monitor() {
while (is_monitor_) {
while (is_monitor_ && !is_init_) {
// 如果没有init,则一直处于空跑状态
CGRAPH_SLEEP_SECOND(1);
}
int span = CGRAPH_MONITOR_SPAN;
while (is_monitor_ && is_init_ && span--) {
CGRAPH_SLEEP_SECOND(1) // 保证可以快速退出
}
// 如果 primary线程都在执行,则表示忙碌
bool busy = std::all_of(primary_threads_.begin(), primary_threads_.end(),
[](UThreadPrimaryPtr ptr) {
return ptr->is_running_;
}) ? true : false;
// 如果忙碌,则需要添加 secondary线程
if (busy && secondary_threads_.size() + CGRAPH_DEFAULT_THREAD_SIZE < CGRAPH_MAX_THREAD_SIZE) {
auto ptr = std::make_unique<UThreadSecondary>();
ptr->setThreadPoolInfo(&task_queue_);
ptr->init();
secondary_threads_.emplace_back(std::move(ptr));
}
// 判断 secondary 线程是否需要退出
for (auto iter = secondary_threads_.begin(); iter != secondary_threads_.end(); ) {
if (unlikely((*iter)->freeze())) {
secondary_threads_.erase(iter++);
} else {
iter++;
}
}
}
}
private:
bool is_init_ { false }; // 是否初始化
bool is_monitor_ { true }; // 是否需要监控
int cur_index_; // 记录放入的线程数
UAtomicQueue<UTaskWrapper> task_queue_; // 用于存放普通任务
std::vector<UThreadPrimaryPtr> primary_threads_; // 记录所有的核心线程
std::list<std::unique_ptr<UThreadSecondary>> secondary_threads_; // 用于记录所有的非核心线程数
std::thread monitor_thread_; // 监控线程
};
using UThreadPoolPtr = UThreadPool *;
#endif //CGRAPH_UTHREADPOOL_H
| [
"junfeng.fj@alibaba-inc.com"
] | junfeng.fj@alibaba-inc.com |
87a2fee728993bd76e81fb25ec1a5949edd5a269 | 7cb47a1edbc5a74a00af0e9e7b67cacf448994f0 | /src/app/ext/media/gfx/ext/gfx-surface.hpp | 0eed784cd0b49b7f4c64b1cba3a3d264d25d8ec4 | [
"MIT"
] | permissive | indigoabstract/techno-globe | 2c24819abe9774309fa7a9175c1c63676c31571a | 1f01b231bece534282344fa660d5f9a8cc07262e | refs/heads/master | 2021-04-06T10:25:27.866859 | 2018-04-11T12:18:42 | 2018-04-11T12:18:42 | 125,355,507 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,481 | hpp | #pragma once
#include "gfx-vxo.hpp"
class gfx_debug_vxo : public gfx_vxo
{
public:
gfx_debug_vxo(vx_info ivxi, bool iis_submesh = false);
virtual void render_mesh(shared_ptr<gfx_camera> icamera);
};
class gfx_obj_vxo : public gfx_vxo
{
public:
gfx_obj_vxo();
void operator=(const std::string& imesh_name);
//virtual void render_mesh(shared_ptr<gl_camera> icamera);
//std::vector<shared_ptr<gl_mesh> > mesh_list;
bool is_loaded;
};
class gfx_plane : public gfx_vxo
{
public:
gfx_plane(std::shared_ptr<gfx> i_gi = nullptr);
virtual void set_dimensions(float idx, float idy);
};
class gfx_billboard : public gfx_plane
{
public:
gfx_billboard();
};
class gfx_grid : public gfx_vxo
{
public:
gfx_grid();
virtual void set_dimensions(int i_h_point_count, int i_v_point_count);
};
class gfx_box : public gfx_vxo
{
public:
gfx_box();
void set_dimensions(float idx, float idy, float idz);
};
class gfx_icosahedron : public gfx_vxo
{
public:
gfx_icosahedron();
void set_dimensions(float iradius);
};
// variable polygon count
class gfx_vpc_box : public gfx_vxo
{
public:
gfx_vpc_box();
void set_dimensions(float iradius, int isegments);
};
class gfx_vpc_kubic_sphere : public gfx_vxo
{
public:
gfx_vpc_kubic_sphere();
void set_dimensions(float iradius, int isegments);
};
class gfx_vpc_ring_sphere : public gfx_vxo
{
public:
gfx_vpc_ring_sphere();
void set_dimensions(float iradius, int igrid_point_count);
};
| [
"indigoabstract@gmail.com"
] | indigoabstract@gmail.com |
cdefa3afce3cdb21caa866195edff1d9e85d1633 | 46d49547a6091de36e05942071a7b2208a85a738 | /ConsoleApplication2/ConsoleApplication2/Meeting_t.h | 98cb7c19a3585e2f9ce2b90a4432a1a90e3b4754 | [] | no_license | liorboim/cpp_hw2 | cc9be9375ba2ae93b79070850b8267e83b4df17c | 6e0ab57fa5e4af8bb3fdc2aac638f401df62c4e8 | refs/heads/master | 2021-01-13T01:45:12.819784 | 2015-04-24T11:56:57 | 2015-04-24T11:56:57 | 34,337,213 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 557 | h | #include <string>
template <class T>
class Meeting_t
{
public:
Meeting_t(T p_start, T p_end, std::string p_topic){
m_endHour = p_end;
m_StartHour = p_start;
m_topic = p_topic;
};
//build ~Meeting_t();
bool operator==(const Meeting_t<T>& meeting) const;
void debuf(const Meeting_t<T>& p_meeting);
std::string getTopic();
T getStart();
T getEnd();
private:
T m_StartHour;
T m_endHour;
std::string m_topic;
};
template <typename T>
std::ostream& operator<<(std::ostream& os, const Meeting_t<T>& obj);
/**class BaseMeet
{
BaseMeet(){};
};
*/ | [
"liorboim@gmail.com"
] | liorboim@gmail.com |
b1c163382d5c8a6607ac9e562b00dded9eb46485 | 2f2d6d56eecc1bf555e3095b120b888604c44d7f | /src/particle.hpp | 4c19487eabcea343f526e512328253dc28551527 | [
"MIT"
] | permissive | JPEGtheDev/Particle-Viewer | 085c4d9d93072484c930352f38fcedccf9af1a5c | 574ff0abe046edaf729f2185c24df0bd382cceb6 | refs/heads/master | 2021-05-24T02:40:44.594500 | 2020-07-22T11:13:34 | 2020-07-22T11:13:34 | 42,945,886 | 1 | 0 | MIT | 2020-05-31T07:12:09 | 2015-09-22T16:21:28 | C | UTF-8 | C++ | false | false | 2,938 | hpp | /*
* particle.hpp
*
* Particle data structure containing velocities and translations.
*
*/
#ifndef PARTICLE_H
#define PARTICLE_H
#include <iostream>
#include "glad/glad.h"
#include "glm/gtc/matrix_transform.hpp"
#include "glm/gtc/type_ptr.hpp"
class Particle
{
public:
/*
* Generates the default cube for graphics testing.
*/
Particle()
{
n = 64000;
translations = new glm::vec4[n];
velocities = new glm::vec4[1];
for(int i =0; i < n; i++)
{
translations[i] = glm::vec4 (i%40 * 1.25,i%1600/40.0f * 1.25,i %64000/1600.0f * 1.25 ,500);
}
setUpInstanceBuffer();
}
/*
* Creates a new particle structure containing an N number of particles.
* This functon also sets up the buffer to be used with OpenGL calls.
*/
Particle(long N, glm::vec4* trans)
{
n = N;
translations = trans;
setUpInstanceBuffer();
}
/*
* Cleans everything up
*/
~Particle()
{
delete[] translations;
delete[] velocities;
}
/*
* Changes the translations in the particle structure
*/
void changeTranslations(long N, glm::vec4 *newTrans)
{
if(newTrans)
{
delete[] translations;
n = N;
translations = new glm::vec4[N];
for(int i = 0; i < n ;i++)
{
translations[i] = newTrans[i];
}
setUpInstanceBuffer();
return;
}
std::cout << "Error Loading New Translations" << std::endl;
}
/*
* Pushes the translation data to OpenGL. Allows the translations to change.
*/
void pushVBO()
{
//glGenBuffers(1, &instanceVBO);
glBindBuffer(GL_ARRAY_BUFFER, instanceVBO);
glBufferData(GL_ARRAY_BUFFER, sizeof(glm::vec4) * n, &translations[0], GL_DYNAMIC_DRAW);
glBindBuffer(GL_ARRAY_BUFFER, 0);
}
/*
* Sets up the memory structure for the particle data
*/
void setUpInstanceArray()
{
glBindBuffer(GL_ARRAY_BUFFER, instanceVBO);
glVertexAttribPointer(0, 4, GL_FLOAT, GL_FALSE, 4 * sizeof(GLfloat), (GLvoid*)0);
glVertexAttribDivisor(0, 1);
glBindBuffer(GL_ARRAY_BUFFER, 0);
}
/*
* Changes the velocities in the particle structure
*/
void changeVelocities(glm::vec4 *newVel)
{
if(newVel)
{
delete[] velocities;
velocities = new glm::vec4[n];
for(int i = 0; i < n ;i++)
{
velocities[i] = newVel[i];
}
return;
}
std::cout << "Error Loading New Velocities" << std::endl;
}
long n; //number of objects
GLuint instanceVBO; //the instance VBO, it contains a pointer to the translations
glm::vec4 *translations; //the positions of the particles
glm::vec4 *velocities; //the (should be) blank velocities vec4
private:
/*
* Sets up the memory space (buffer) in OpenGL that streams the translations to the graphics card.
*/
void setUpInstanceBuffer()
{
glDeleteBuffers(1, &instanceVBO);
glGenBuffers(1, &instanceVBO);
glBindBuffer(GL_ARRAY_BUFFER, instanceVBO);
glBufferData(GL_ARRAY_BUFFER, sizeof(glm::vec4) * n, &translations[0], GL_DYNAMIC_DRAW);
glBindBuffer(GL_ARRAY_BUFFER, 0);
}
};
#endif | [
"jpegthedev@gmail.com"
] | jpegthedev@gmail.com |
76ebcfbae31e7512901ee92a883b49b8d1c13c11 | 0abf26b0a8d9568d78a1561e8c5ad1f265451091 | /winrt/lib/effects/generated/UnPremultiplyEffect.cpp | 7207dc589c399bd013019f3d54eb2ef016c4d343 | [
"MIT"
] | permissive | LanceMcCarthy/Win2D | 3be56bda766e8f04ef930d8db746bcf6952a0fe2 | 1205ec5e4944c81881213e050c2b50570e72b047 | refs/heads/master | 2021-01-18T07:19:25.941142 | 2015-09-08T19:06:25 | 2015-09-08T19:06:25 | 41,958,155 | 0 | 0 | null | 2015-09-05T11:12:00 | 2015-09-05T11:11:59 | null | UTF-8 | C++ | false | false | 670 | cpp | // Copyright (c) Microsoft Corporation. All rights reserved.
//
// Licensed under the MIT License. See LICENSE.txt in the project root for license information.
// This file was automatically generated. Please do not edit it manually.
#include "pch.h"
#include "UnPremultiplyEffect.h"
namespace ABI { namespace Microsoft { namespace Graphics { namespace Canvas { namespace Effects
{
UnPremultiplyEffect::UnPremultiplyEffect()
: CanvasEffect(CLSID_D2D1UnPremultiply, 0, 1, true)
{
// Set default values
}
IMPLEMENT_EFFECT_SOURCE_PROPERTY(UnPremultiplyEffect,
Source,
0)
ActivatableClass(UnPremultiplyEffect);
}}}}}
| [
"shawnhar@microsoft.com"
] | shawnhar@microsoft.com |
c5aa96557018a9644f52cf28e565c9436bc94f67 | ec3bfc14b55c26d8f0ae5d483a33ccd4c95958ff | /hw3-Rational/class Rational.cpp | aed2f9e3f7a298157c1b7b6c6eb74d92cd918f87 | [] | no_license | es47/OOP | ca4ccba82e9ffa79435737823d78b4c98cca7c9d | 1814aaf6a066f9d269d41ef586abfe66fb1c3a20 | refs/heads/master | 2021-01-23T12:34:59.263305 | 2018-08-24T08:02:56 | 2018-08-24T08:02:56 | 93,178,622 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,085 | cpp | /* 404410062 資工二*/
#include <iostream>
#include <cstdlib>
#include <cstring>
using namespace std;
class Rational
{
public:
Rational(int numeratorValue, int denominatorValue);
//Postcondition : transform enter number into Rational type.
Rational(int numeratorValue);
//Postcondition : transform enter number into Rational type and default denominator.
Rational();
//Postcondition : default numerator and denominator.
void normalize();
//Postcondition : to normalize the rational.
int getNumerator() const;
int getDenominator() const;
bool operator < (const Rational& number2) const;
bool operator <= (const Rational& number2) const;
bool operator > (const Rational& number2) const;
bool operator >= (const Rational& number2) const;
int operator [] (const bool number) const;
friend const Rational operator * (const Rational& number1, const Rational& number2);
friend const Rational operator / (const Rational& number1, const Rational& number2);
friend bool operator == (const Rational& number1, const Rational& number2);
friend ostream& operator << (ostream& outputStream, const Rational& number);
friend istream& operator >> (istream& inputStream, Rational& number);
private:
int numerator;
int denominator;
int numeratorPart (const char number[]) const;
//Postcondition : get the numerator part from input string.
int denominatorPart (const char number[]) const;
//Postcondition : get the denominator part from input string.
};
const Rational operator +(const Rational& number1, const Rational& number2);
const Rational operator -(const Rational& number1, const Rational& number2);
const Rational operator -(const Rational& number);
int main()
{
Rational number1, number2, number3;
bool result;
int numerator, denominator;
char choose;
while (1)
{
cout << "Please enter the first number's numeration and denominator: ";
cin >> number1;
number1.normalize();
cout << "Please enter the second number's numeration and denominator: ";
cin >> number2;
number2.normalize();
number3 = number1 + number2;
number3.normalize();
cout << number1 << " + " << number2 << " = " << number3 << endl;
number3 = number1 - number2;
number3.normalize();
cout << number1 << " - " << number2 << " = " << number3 << endl;
number3 = -number1;
number3.normalize();
cout << "-(" << number1 << ") = " << number3 << endl;
number3 = -number2;
number3.normalize();
cout << "-(" << number2 << ") = " << number3 << endl;
number3 = number1 * number2;
number3.normalize();
cout << "(" << number1 << ") * (" << number2 << ") = " << number3 << endl;
number3 = number1 / number2;
number3.normalize();
cout << "(" << number1 << ") / (" << number2 << ") = " << number3 << endl;
result = (number1 == number2);
cout << "(" << number1 << ") == (" << number2 << ") ? ";
if (result == 0)
cout << "No!\n";
else
cout << "Yes!\n";
result = (number1 < number2);
cout << "(" << number1 << ") < (" << number2 << ") ? ";
if (result == 0)
cout << "No!\n";
else
cout << "Yes!\n";
result = (number1 <= number2);
cout << "(" << number1 << ") <= (" << number2 << ") ? ";
if (result == 0)
cout << "No!\n";
else
cout << "Yes!\n";
result = (number1 > number2);
cout << "(" << number1 << ") > (" << number2 << ") ? ";
if (result == 0)
cout << "No!\n";
else
cout << "Yes!\n";
result = (number1 >= number2);
cout << "(" << number1 << ") >= (" << number2 << ") ? ";
if (result == 0)
cout << "No!\n";
else
cout << "Yes!\n";
numerator = number1[0];
cout << number1 << " [0] : " << numerator << endl;
denominator = number1[1];
cout << number1 << " [1] : " << denominator << endl;
numerator = number2[0];
cout << number2 << " [0] : " << numerator << endl;
denominator = number2[1];
cout << number2 << " [1] : " << denominator << endl;
cout << "Are you want to continue?\n";
cout << "Enter (Y/y) to continue, (N/n) to exit : ";
cin >> choose;
if (choose == 'N' || choose == 'n') break;
}
return 0;
}
ostream& operator << (ostream& outputStream, const Rational& number)
{
int numeration = number.numerator;
int denominator = number.denominator;
outputStream << numeration << "/" << denominator;
return outputStream;
}
istream& operator >> (istream& inputStream, Rational& number)
{
char numberAsInt[100];
inputStream >> numberAsInt;
number.numerator = number.numeratorPart(numberAsInt);
number.denominator = number.denominatorPart(numberAsInt);
return inputStream;
}
int Rational :: numeratorPart (const char number[]) const
{
int value, i;
char *ptr, number2[100];
for (i = 0; i < strlen(number); i++)
number2[i] = number[i];
ptr = strtok(number2, "/");
value = atoi(ptr);
return value;
}
int Rational :: denominatorPart (const char number[]) const
{
int value, i;
char *ptr, number2[100];
for (i = 0; i < strlen(number); i++)
number2[i] = number[i];
ptr = strtok(number2, "/");
ptr = strtok(NULL, "/");
value = atoi(ptr);
if (value == 0)
value = 1;
return value;
}
Rational :: Rational(int numeratorValue, int denominatorValue)
: numerator(numeratorValue), denominator(denominatorValue)
{
/*Body intentionally empty.*/
}
Rational :: Rational(int numeratorValue) : numerator(numeratorValue), denominator(1)
{
/*Body intentionally empty.*/
}
Rational :: Rational() : numerator(0), denominator(1)
{
/*Body intentionally empty.*/
}
void Rational :: normalize()
{
int copyNumerator, copyDenominator, temp;
copyNumerator = numerator;
copyDenominator = denominator;
while(copyDenominator != 0)
{
temp = copyNumerator % copyDenominator;
copyNumerator = copyDenominator;
copyDenominator = temp;
}
numerator /= copyNumerator;
denominator /= copyNumerator;
if (denominator < 0)
{
numerator = -numerator;
denominator = -denominator;
}
}
int Rational :: getNumerator() const
{
return numerator;
}
int Rational :: getDenominator() const
{
return denominator;
}
bool Rational :: operator < (const Rational& number2) const
{
return ((numerator * number2.denominator) < (denominator * number2.numerator));
}
bool Rational :: operator <= (const Rational& number2) const
{
return ((numerator * number2.denominator) <= (denominator * number2.numerator));
}
bool Rational :: operator > (const Rational& number2) const
{
return ((numerator * number2.denominator) > (denominator * number2.numerator));
}
bool Rational :: operator >= (const Rational& number2) const
{
return ((numerator * number2.denominator) >= (denominator * number2.numerator));
}
int Rational :: operator [] (const bool number) const
{
if (number == 0)
return numerator;
else
return denominator;
}
const Rational operator + (const Rational& number1, const Rational& number2)
{
int plus_numerator = number1.getNumerator() * number2.getDenominator() +
number1.getDenominator() * number2.getNumerator();
int plus_denominator = number1.getDenominator() * number2.getDenominator();
return Rational(plus_numerator, plus_denominator);
}
const Rational operator - (const Rational& number1, const Rational& number2)
{
int plus_numerator = number1.getNumerator() * number2.getDenominator() -
number1.getDenominator() * number2.getNumerator();
int plus_denominator = number1.getDenominator() * number2.getDenominator();
return Rational(plus_numerator, plus_denominator);
}
const Rational operator - (const Rational& number)
{
int negative_numerator = - number.getNumerator();
int negative_denominator = number.getDenominator();
return Rational(negative_numerator, negative_denominator);
}
const Rational operator * (const Rational& number1, const Rational& number2)
{
int product_numerator = number1.numerator * number2.numerator;
int product_denominator = number1.denominator * number2.denominator;
return Rational(product_numerator, product_denominator);
}
const Rational operator / (const Rational& number1, const Rational& number2)
{
int division_numerator = number1.numerator * number2.denominator;
int division_denominator = number1.denominator * number2.numerator;
return Rational(division_numerator, division_denominator);
}
bool operator == (const Rational& number1, const Rational& number2)
{
return ((number1.numerator * number2.denominator) == (number2.numerator * number1.denominator));
}
| [
"noreply@github.com"
] | noreply@github.com |
be24981797ad1ca0aa85fd2e5aab12998f827308 | 8b925925ec9a5e9f8499bed9704d407636266818 | /DjoroBlock/HeatingController.cpp | b39ae6efae7f9edc4a0ce63feeddba77ccadee92 | [
"MIT"
] | permissive | damienlaine/djoro-thermostat | d0b435200add0147d21dde0fffaaa0b53814c763 | 0116586531eb96f6b6cd8a7b334b9322aabf261a | refs/heads/master | 2020-07-30T07:41:17.552098 | 2019-09-22T14:20:50 | 2019-09-22T14:20:50 | 210,138,291 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 958 | cpp | #include "HeatingController.h"
#include "Energia.h"
#include "DjoroTools.h"
HeatingController::HeatingController(uint8_t relayPin){
_relayPin = relayPin;
_boilerOn = false;
}
void HeatingController::init(void){
pinMode(_relayPin, OUTPUT);
}
void HeatingController::boilerControl(float measuredTemp, float targetTemp, float hysteresisThreshold){
if (measuredTemp < targetTemp - hysteresisThreshold) {
djoro_print("Boiler on: tmes = "); djoro_print(measuredTemp); djoro_print(", tcons = "); djoro_println(targetTemp);
digitalWrite(_relayPin, HIGH);
_boilerOn = 1;
} else if (measuredTemp > targetTemp + hysteresisThreshold) {
djoro_print("Boiler off: tmes = "); djoro_print(measuredTemp); djoro_print(", tcons = "); djoro_println(targetTemp);
digitalWrite(_relayPin, LOW);
_boilerOn = 0;
}
}
boolean HeatingController::isBoilerOn(void) {
if (_boilerOn == 0) {
return false;
} else {
return true;
}
}
| [
"damien.laine@gmail.com"
] | damien.laine@gmail.com |
a6a6aaae8eb3b5c5dc513f29010e8162000517ef | f48802db4791be9a2c1ec4af810e038bd5b63367 | /BinarySearchTree_C/binary_search_tree.hpp | 2d2ac12f38ad5749da7511e5e699fd886467bb59 | [] | no_license | Heghine/Data-Structures | 8cf56b1a308ab7db9f46a793d08708279036c92e | 6a0316297cd7ab1160e2f77778f35d3870dc4669 | refs/heads/master | 2016-09-06T04:01:51.642085 | 2014-01-29T15:33:34 | 2014-01-29T15:33:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 618 | hpp | #include<iostream>
using namespace std;
class BinarySearchTree
{
private:
class node
{
public:
int value;
node* left;
node* right;
node(int v, node* l = NULL, node* r = NULL)
{
value = v;
left = l;
right = r;
};
};
node* root;
void clear(node* &at);
void print(node* at);
void insertElement(int v, node* &at);
bool searchElement(int v, node* at);
void deleteElement(int v, node* &at);
public:
BinarySearchTree();
~BinarySearchTree();
bool isEmpty();
void print();
void insertElement(int value);
bool searchElement(int value);
void deleteElement(int value);
};
| [
"hakobyanhexine@gmail.com"
] | hakobyanhexine@gmail.com |
0972490928384d4e97f062af55afaf86261ccf04 | a5089335e8e468985a36f082aaa017dd5b3c934e | /T3DIICHAP07/demoII7_1.cpp | 46db90ebd0f67097554eec8ca05c9ccf82490cd7 | [] | no_license | mikri2017/tricks-of-the-3d-game-programming-gurus | 24315d79fdf0e71657e0a2dafd94613df3f3ff70 | 04a6c500523183edd38f3eedd94994e306d6b168 | refs/heads/master | 2020-03-09T00:23:20.850904 | 2018-04-07T01:43:58 | 2018-04-07T01:43:58 | 128,486,934 | 0 | 1 | null | 2018-04-07T01:41:31 | 2018-04-07T01:41:31 | null | UTF-8 | C++ | false | false | 12,289 | cpp | // DEMOII7_1.CPP
// READ THIS!
// To compile make sure to include DDRAW.LIB, DSOUND.LIB,
// DINPUT.LIB, DINPUT8.LIB, WINMM.LIB in the project link list, and of course
// the C++ source modules T3DLIB1-5.CPP and the headers T3DLIB1-5.H
// be in the working directory of the compiler
// INCLUDES ///////////////////////////////////////////////
#define INITGUID // make sure al the COM interfaces are available
// instead of this you can include the .LIB file
// DXGUID.LIB
#define WIN32_LEAN_AND_MEAN
#include <windows.h> // include important windows stuff
#include <windowsx.h>
#include <mmsystem.h>
#include <iostream.h> // include important C/C++ stuff
#include <conio.h>
#include <stdlib.h>
#include <malloc.h>
#include <memory.h>
#include <string.h>
#include <stdarg.h>
#include <stdio.h>
#include <math.h>
#include <io.h>
#include <fcntl.h>
#include <ddraw.h> // directX includes
#include <dsound.h>
#include <dmksctrl.h>
#include <dmusici.h>
#include <dmusicc.h>
#include <dmusicf.h>
#include <dinput.h>
#include "T3DLIB1.h" // game library includes
#include "T3DLIB2.h"
#include "T3DLIB3.h"
#include "T3DLIB4.h"
#include "T3DLIB5.h"
// DEFINES ////////////////////////////////////////////////
// defines for windows interface
#define WINDOW_CLASS_NAME "WIN3DCLASS" // class name
#define WINDOW_TITLE "T3D Graphics Console Ver 2.0"
#define WINDOW_WIDTH 400 // size of window
#define WINDOW_HEIGHT 400
#define WINDOW_BPP 16 // bitdepth of window (8,16,24 etc.)
// note: if windowed and not
// fullscreen then bitdepth must
// be same as system bitdepth
// also if 8-bit the a pallete
// is created and attached
#define WINDOWED_APP 1 // 0 not windowed, 1 windowed
// PROTOTYPES /////////////////////////////////////////////
// game console
int Game_Init(void *parms=NULL);
int Game_Shutdown(void *parms=NULL);
int Game_Main(void *parms=NULL);
// GLOBALS ////////////////////////////////////////////////
HWND main_window_handle = NULL; // save the window handle
HINSTANCE main_instance = NULL; // save the instance
char buffer[256]; // used to print text
// initialize camera position and direction
POINT4D cam_pos = {0,0,-100,1};
VECTOR4D cam_dir = {0,0,0,1};
// all your initialization code goes here...
VECTOR4D vscale={.5,.5,.5,1},
vpos = {0,0,0,1},
vrot = {0,0,0,1};
CAM4DV1 cam; // the single camera
RENDERLIST4DV1 rend_list; // the single renderlist
POLYF4DV1 poly1; // our lonely polygon
POINT4D poly1_pos = {0,0,100,1}; // world position of polygon
// FUNCTIONS //////////////////////////////////////////////
LRESULT CALLBACK WindowProc(HWND hwnd,
UINT msg,
WPARAM wparam,
LPARAM lparam)
{
// this is the main message handler of the system
PAINTSTRUCT ps; // used in WM_PAINT
HDC hdc; // handle to a device context
// what is the message
switch(msg)
{
case WM_CREATE:
{
// do initialization stuff here
return(0);
} break;
case WM_PAINT:
{
// start painting
hdc = BeginPaint(hwnd,&ps);
// end painting
EndPaint(hwnd,&ps);
return(0);
} break;
case WM_DESTROY:
{
// kill the application
PostQuitMessage(0);
return(0);
} break;
default:break;
} // end switch
// process any messages that we didn't take care of
return (DefWindowProc(hwnd, msg, wparam, lparam));
} // end WinProc
// WINMAIN ////////////////////////////////////////////////
int WINAPI WinMain( HINSTANCE hinstance,
HINSTANCE hprevinstance,
LPSTR lpcmdline,
int ncmdshow)
{
// this is the winmain function
WNDCLASS winclass; // this will hold the class we create
HWND hwnd; // generic window handle
MSG msg; // generic message
HDC hdc; // generic dc
PAINTSTRUCT ps; // generic paintstruct
// first fill in the window class stucture
winclass.style = CS_DBLCLKS | CS_OWNDC |
CS_HREDRAW | CS_VREDRAW;
winclass.lpfnWndProc = WindowProc;
winclass.cbClsExtra = 0;
winclass.cbWndExtra = 0;
winclass.hInstance = hinstance;
winclass.hIcon = LoadIcon(NULL, IDI_APPLICATION);
winclass.hCursor = LoadCursor(NULL, IDC_ARROW);
winclass.hbrBackground = (HBRUSH)GetStockObject(BLACK_BRUSH);
winclass.lpszMenuName = NULL;
winclass.lpszClassName = WINDOW_CLASS_NAME;
// register the window class
if (!RegisterClass(&winclass))
return(0);
// create the window, note the test to see if WINDOWED_APP is
// true to select the appropriate window flags
if (!(hwnd = CreateWindow(WINDOW_CLASS_NAME, // class
WINDOW_TITLE, // title
(WINDOWED_APP ? (WS_OVERLAPPED | WS_SYSMENU | WS_CAPTION) : (WS_POPUP | WS_VISIBLE)),
0,0, // x,y
WINDOW_WIDTH, // width
WINDOW_HEIGHT, // height
NULL, // handle to parent
NULL, // handle to menu
hinstance,// instance
NULL))) // creation parms
return(0);
// save the window handle and instance in a global
main_window_handle = hwnd;
main_instance = hinstance;
// resize the window so that client is really width x height
if (WINDOWED_APP)
{
// now resize the window, so the client area is the actual size requested
// since there may be borders and controls if this is going to be a windowed app
// if the app is not windowed then it won't matter
RECT window_rect = {0,0,WINDOW_WIDTH-1,WINDOW_HEIGHT-1};
// make the call to adjust window_rect
AdjustWindowRectEx(&window_rect,
GetWindowStyle(main_window_handle),
GetMenu(main_window_handle) != NULL,
GetWindowExStyle(main_window_handle));
// save the global client offsets, they are needed in DDraw_Flip()
window_client_x0 = -window_rect.left;
window_client_y0 = -window_rect.top;
// now resize the window with a call to MoveWindow()
MoveWindow(main_window_handle,
0, // x position
0, // y position
window_rect.right - window_rect.left, // width
window_rect.bottom - window_rect.top, // height
FALSE);
// show the window, so there's no garbage on first render
ShowWindow(main_window_handle, SW_SHOW);
} // end if windowed
// perform all game console specific initialization
Game_Init();
// disable CTRL-ALT_DEL, ALT_TAB, comment this line out
// if it causes your system to crash
SystemParametersInfo(SPI_SCREENSAVERRUNNING, TRUE, NULL, 0);
// enter main event loop
while(1)
{
if (PeekMessage(&msg,NULL,0,0,PM_REMOVE))
{
// test if this is a quit
if (msg.message == WM_QUIT)
break;
// translate any accelerator keys
TranslateMessage(&msg);
// send the message to the window proc
DispatchMessage(&msg);
} // end if
// main game processing goes here
Game_Main();
} // end while
// shutdown game and release all resources
Game_Shutdown();
// enable CTRL-ALT_DEL, ALT_TAB, comment this line out
// if it causes your system to crash
SystemParametersInfo(SPI_SCREENSAVERRUNNING, FALSE, NULL, 0);
// return to Windows like this
return(msg.wParam);
} // end WinMain
// T3D II GAME PROGRAMMING CONSOLE FUNCTIONS ////////////////
int Game_Init(void *parms)
{
// this function is where you do all the initialization
// for your game
// start up DirectDraw (replace the parms as you desire)
DDraw_Init(WINDOW_WIDTH, WINDOW_HEIGHT, WINDOW_BPP, WINDOWED_APP);
// initialize directinput
DInput_Init();
// acquire the keyboard
DInput_Init_Keyboard();
// add calls to acquire other directinput devices here...
// initialize directsound and directmusic
DSound_Init();
DMusic_Init();
// hide the mouse
if (!WINDOWED_APP)
ShowCursor(FALSE);
// seed random number generator
srand(Start_Clock());
Open_Error_File("ERROR.TXT");
// initialize math engine
Build_Sin_Cos_Tables();
// initialize a single polygon
poly1.state = POLY4DV1_STATE_ACTIVE;
poly1.attr = 0;
poly1.color = RGB16Bit(0,255,0);
poly1.vlist[0].x = 0;
poly1.vlist[0].y = 50;
poly1.vlist[0].z = 0;
poly1.vlist[0].w = 1;
poly1.vlist[1].x = 50;
poly1.vlist[1].y = -50;
poly1.vlist[1].z = 0;
poly1.vlist[1].w = 1;
poly1.vlist[2].x = -50;
poly1.vlist[2].y = -50;
poly1.vlist[2].z = 0;
poly1.vlist[2].w = 1;
poly1.next = poly1.prev = NULL;
// initialize the camera with 90 FOV, normalized coordinates
Init_CAM4DV1(&cam, // the camera object
CAM_MODEL_EULER, // euler camera model
&cam_pos, // initial camera position
&cam_dir, // initial camera angles
NULL, // no initial target
50.0, // near and far clipping planes
500.0,
90.0, // field of view in degrees
WINDOW_WIDTH, // size of final screen viewport
WINDOW_HEIGHT);
// return success
return(1);
} // end Game_Init
///////////////////////////////////////////////////////////
int Game_Shutdown(void *parms)
{
// this function is where you shutdown your game and
// release all resources that you allocated
// shut everything down
// release all your resources created for the game here....
// now directsound
DSound_Stop_All_Sounds();
DSound_Delete_All_Sounds();
DSound_Shutdown();
// directmusic
DMusic_Delete_All_MIDI();
DMusic_Shutdown();
// shut down directinput
DInput_Release_Keyboard();
DInput_Shutdown();
// shutdown directdraw last
DDraw_Shutdown();
Close_Error_File();
// return success
return(1);
} // end Game_Shutdown
//////////////////////////////////////////////////////////
int Game_Main(void *parms)
{
// this is the workhorse of your game it will be called
// continuously in real-time this is like main() in C
// all the calls for you game go here!
static MATRIX4X4 mrot; // general rotation matrix
static float ang_y = 0; // rotation angle
int index; // looping var
// start the timing clock
Start_Clock();
// clear the drawing surface
DDraw_Fill_Surface(lpddsback, 0);
// read keyboard and other devices here
DInput_Read_Keyboard();
// game logic here...
// initialize the renderlist
Reset_RENDERLIST4DV1(&rend_list);
// insert polygon into the renderlist
Insert_POLYF4DV1_RENDERLIST4DV1(&rend_list, &poly1);
// generate rotation matrix around y axis
Build_XYZ_Rotation_MATRIX4X4(0, ang_y, 0, &mrot);
// rotate polygon slowly
if (++ang_y >= 360.0) ang_y = 0;
// rotate the local coords of single polygon in renderlist
Transform_RENDERLIST4DV1(&rend_list, &mrot, TRANSFORM_LOCAL_ONLY);
// perform local/model to world transform
Model_To_World_RENDERLIST4DV1(&rend_list, &poly1_pos);
// generate camera matrix
Build_CAM4DV1_Matrix_Euler(&cam, CAM_ROT_SEQ_ZYX);
// apply world to camera transform
World_To_Camera_RENDERLIST4DV1(&rend_list, &cam);
// apply camera to perspective transformation
Camera_To_Perspective_RENDERLIST4DV1(&rend_list, &cam);
// apply screen transform
Perspective_To_Screen_RENDERLIST4DV1(&rend_list, &cam);
// draw instructions
Draw_Text_GDI("Press ESC to exit.", 0, 0, RGB(0,255,0), lpddsback);
// lock the back buffer
DDraw_Lock_Back_Surface();
// render the polygon list
Draw_RENDERLIST4DV1_Wire16(&rend_list, back_buffer, back_lpitch);
// unlock the back buffer
DDraw_Unlock_Back_Surface();
// flip the surfaces
DDraw_Flip();
// sync to 30ish fps
Wait_Clock(30);
// check of user is trying to exit
if (KEY_DOWN(VK_ESCAPE) || keyboard_state[DIK_ESCAPE])
{
PostMessage(main_window_handle, WM_DESTROY,0,0);
} // end if
// return success
return(1);
} // end Game_Main
////////////////////////////////////////////////////////// | [
"zehuangwei@gmail.com"
] | zehuangwei@gmail.com |
ebcb8ca77aec5139049078fa7aa7378b161c7a0e | ae851f346136db49172298ea72b42a04b2536b41 | /Photo_Resistor_On_Logger/Photo_Resistor_On_Logger.ino | 65faa9007a5e839e8ecfbc05d07d009a396a489f | [] | no_license | youandkai/Simple_Arduino_Play | 9fbae1281e2203b87d45c6b3e32d93287625ac2f | 23a1a25e9cc1184574ef7b22432cde3745270c0a | refs/heads/master | 2020-04-02T04:36:10.250585 | 2017-01-24T03:19:27 | 2017-01-24T03:19:27 | 64,174,399 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 645 | ino | // Circuit for Photoresistor
// GND --- 10k --- A0 --- PhotoResistor --- 5V
// Initiate the sensor pin
int sensor1 = A0;
int sensor2 = A1;
unsigned long prev_ts = 0;
void setup() {
// Need to initiate in order for the serial monitor to work
Serial.begin(9600);
// Set the sensor to input
pinMode(sensor1, INPUT);
pinMode(sensor2, INPUT);
}
void loop() {
unsigned long ts = millis();
if (ts - prev_ts > 100) {
// Use the serial monitor to monitor the output
Serial.print("Sensor Reading: ");
Serial.print(analogRead(sensor1));
Serial.print(", ");
Serial.println(analogRead(sensor2));
prev_ts = ts;
}
}
| [
"youandkai@gmail.com"
] | youandkai@gmail.com |
79f846740796fbd1aaf30c84f963f8e5a1d75946 | 2cdc4860c6cb60287c6b22322dfcaebf113ffda5 | /include/cxa_demangle.h | 1e373b3bfb958370de1af101dd7a2681ffe3dcee | [
"NCSA",
"MIT"
] | permissive | maeikei/libcxxabi | 32c780d5e0196ffb7a2d969d2eecb2780600a3c8 | 037f2c48d90f365274fb189071cac066f7104ca7 | refs/heads/master | 2021-01-18T09:27:59.619455 | 2013-05-08T11:17:42 | 2013-05-08T11:17:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,933 | h | //===-------------------------- cxa_demangle.h ----------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#ifndef _CXA_DEMANGLE_H
#define _CXA_DEMANGLE_H
#include <cxxabi.h>
#pragma GCC visibility push(hidden)
namespace __cxxabiv1
{
namespace __libcxxabi
{
class __demangle_tree;
class __node;
char*
__demangle(__demangle_tree, char*, size_t*, int*);
struct __demangle_tree_rv
{
__demangle_tree* ptr_;
explicit __demangle_tree_rv(__demangle_tree* ptr)
: ptr_(ptr) {}
};
class __demangle_tree
{
const char* __mangled_name_begin_;
const char* __mangled_name_end_;
int __status_;
__node* __root_;
__node* __node_begin_;
__node* __node_end_;
__node* __node_cap_;
__node** __sub_begin_;
__node** __sub_end_;
__node** __sub_cap_;
__node** __t_begin_;
__node** __t_end_;
__node** __t_cap_;
bool __tag_templates_;
bool __fix_forward_references_;
bool __owns_buf_;
__demangle_tree& operator=(const __demangle_tree&);
public:
__demangle_tree(const char*, char*, size_t);
~__demangle_tree();
__demangle_tree(__demangle_tree&);
__demangle_tree(__demangle_tree_rv);
operator __demangle_tree_rv() {return __demangle_tree_rv(this);}
int __status() const;
size_t size() const;
char* __get_demangled_name(char*) const;
void __parse();
private:
const char* __parse_encoding(const char*, const char*);
const char* __parse_type(const char*, const char*,
bool = true, bool = false);
const char* __parse_special_name(const char*, const char*);
const char* __parse_name(const char*, const char*);
const char* __parse_bare_function_type(const char*, const char*);
const char* __parse_call_offset(const char*, const char*);
const char* __parse_number(const char*, const char*);
const char* __parse_cv_qualifiers(const char* first, const char* last,
unsigned& cv, bool = false);
const char* __parse_nested_name(const char*, const char*);
const char* __parse_discriminator(const char*, const char*);
const char* __parse_local_name(const char*, const char*);
const char* __parse_unscoped_template_name(const char*, const char*);
const char* __parse_unscoped_name(const char*, const char*);
const char* __parse_operator_name(const char*, const char*, int* = 0);
const char* __parse_unqualified_name(const char*, const char*);
const char* __parse_source_name(const char*, const char*);
const char* __parse_ctor_dtor_name(const char*, const char*);
const char* __parse_unnamed_type_name(const char*, const char*);
const char* __parse_template_args(const char*, const char*);
const char* __parse_template_arg(const char*, const char*);
const char* __parse_expression(const char*, const char*);
const char* __parse_expr_primary(const char*, const char*);
const char* __parse_substitution(const char*, const char*);
const char* __parse_builtin_type(const char*, const char*);
const char* __parse_function_type(const char*, const char*);
const char* __parse_class_enum_type(const char*, const char*);
const char* __parse_array_type(const char*, const char*);
const char* __parse_pointer_to_member_type(const char*, const char*);
const char* __parse_decltype(const char*, const char*);
const char* __parse_template_param(const char*, const char*);
const char* __parse_unresolved_name(const char*, const char*);
const char* __parse_unresolved_type(const char*, const char*);
const char* __parse_base_unresolved_name(const char*, const char*);
const char* __parse_simple_id(const char*, const char*);
const char* __parse_destructor_name(const char*, const char*);
const char* __parse_function_param(const char*, const char*);
const char* __parse_const_cast_expr(const char*, const char*);
const char* __parse_alignof_expr(const char*, const char*);
const char* __parse_call_expr(const char*, const char*);
const char* __parse_conversion_expr(const char*, const char*);
const char* __parse_delete_array_expr(const char*, const char*);
const char* __parse_delete_expr(const char*, const char*);
const char* __parse_dynamic_cast_expr(const char*, const char*);
const char* __parse_dot_star_expr(const char*, const char*);
const char* __parse_dot_expr(const char*, const char*);
const char* __parse_decrement_expr(const char*, const char*);
const char* __parse_new_expr(const char*, const char*);
const char* __parse_increment_expr(const char*, const char*);
const char* __parse_arrow_expr(const char*, const char*);
const char* __parse_reinterpret_cast_expr(const char*, const char*);
const char* __parse_static_cast_expr(const char*, const char*);
const char* __parse_sizeof_type_expr(const char*, const char*);
const char* __parse_sizeof_param_pack_expr(const char*, const char*);
const char* __parse_typeid_expr(const char*, const char*);
const char* __parse_throw_expr(const char*, const char*);
const char* __parse_pack_expansion(const char*, const char*);
const char* __parse_sizeof_function_param_pack_expr(const char*, const char*);
const char* __parse_dot_suffix(const char*, const char*);
const char* __parse_block_invoke(const char*, const char*);
const char* __parse_unresolved_qualifier_level(const char*, const char*);
const char* __parse_vector_type(const char*, const char*);
const char* __parse_hex_number(const char*, const char*, unsigned long long&);
template <class _Tp> bool __make();
template <class _Tp, class _A0> bool __make(_A0 __a0);
template <class _Tp, class _A0, class _A1> bool __make(_A0 __a0, _A1 __a1);
template <class _Tp, class _A0, class _A1, class _A2>
bool __make(_A0 __a0, _A1 __a1, _A2 __a2);
template <class _Tp, class _A0, class _A1, class _A2, class _A3>
bool __make(_A0 __a0, _A1 __a1, _A2 __a2, _A3 __a3);
template <class _Tp, class _A0, class _A1, class _A2, class _A3, class _A4>
bool __make(_A0 __a0, _A1 __a1, _A2 __a2, _A3 __a3, _A4 __a4);
template <class _Tp, class _A0, class _A1, class _A2, class _A3, class _A4,
class _A5>
bool __make(_A0 __a0, _A1 __a1, _A2 __a2, _A3 __a3, _A4 __a4, _A5 __a5);
friend
char*
__demangle(__demangle_tree, char*, size_t*, int*);
};
__demangle_tree
__demangle(const char*);
__demangle_tree
__demangle(const char*, char*, size_t);
} // __libcxxabi
} // __cxxabiv1
#pragma GCC visibility pop
#endif // _CXA_DEMANGLE_H
| [
"hhinnant@apple.com"
] | hhinnant@apple.com |
c6a77c87a2dd646afa5c02e1d8c3a6dfeb373d6f | 440f814f122cfec91152f7889f1f72e2865686ce | /src/login_server_informal/server/http_response.cc | 10e1a22a9abc1368843b01ee5a4b6be228837e4e | [] | no_license | hackerlank/buzz-server | af329efc839634d19686be2fbeb700b6562493b9 | f76de1d9718b31c95c0627fd728aba89c641eb1c | refs/heads/master | 2020-06-12T11:56:06.469620 | 2015-12-05T08:03:25 | 2015-12-05T08:03:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 692 | cc | //
// Summary: buzz source code.
//
// Author: Tony.
// Email: tonyjobmails@gmail.com.
// Last modify: 2013-03-05 13:37:07.
// File name: http_response.cc
//
// Description:
// Define class HttpResponse.
//
#include "login_server_informal/server/http_response.h"
namespace login {
namespace server {
const char *HttpResponse::krn_str = "\r\n";
const size_t HttpResponse::krn_size = 2;
const char *HttpResponse::kclose_connection_str = "Connection: close\r\n";
const size_t HttpResponse::kclose_connection_size = 19;
const char *HttpResponse::kkeep_alive_str = "Connection: Keep-Alive\r\n";
const size_t HttpResponse::kkeep_alive_size = 24;
} // namespace server
} // namespace login
| [
"251729465@qq.com"
] | 251729465@qq.com |
904abe28ec1f21dd4005f64a9e3e31e008d01fe3 | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /third_party/WebKit/Source/core/exported/WebElement.cpp | 465c458964d2ebe6bc981251c8af4d3cbc87cd78 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"BSD-3-Clause"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 5,501 | cpp | /*
* Copyright (C) 2009 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following disclaimer
* in the documentation and/or other materials provided with the
* distribution.
* * Neither the name of Google Inc. nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "public/web/WebElement.h"
#include "bindings/core/v8/ExceptionState.h"
#include "core/dom/Element.h"
#include "core/editing/EditingUtilities.h"
#include "core/html/custom/V0CustomElementProcessingStack.h"
#include "core/html/forms/TextControlElement.h"
#include "core/html_names.h"
#include "platform/graphics/Image.h"
#include "platform/wtf/text/AtomicString.h"
#include "platform/wtf/text/WTFString.h"
#include "public/platform/WebRect.h"
namespace blink {
using namespace HTMLNames;
bool WebElement::IsFormControlElement() const {
return ConstUnwrap<Element>()->IsFormControlElement();
}
// TODO(dglazkov): Remove. Consumers of this code should use
// Node:hasEditableStyle. http://crbug.com/612560
bool WebElement::IsEditable() const {
const Element* element = ConstUnwrap<Element>();
element->GetDocument().UpdateStyleAndLayoutTree();
if (HasEditableStyle(*element))
return true;
if (element->IsTextControl()) {
if (!ToTextControlElement(element)->IsDisabledOrReadOnly())
return true;
}
return EqualIgnoringASCIICase(element->getAttribute(roleAttr), "textbox");
}
WebString WebElement::TagName() const {
return ConstUnwrap<Element>()->tagName();
}
bool WebElement::HasHTMLTagName(const WebString& tag_name) const {
// How to create class nodeName localName
// createElement('input') HTMLInputElement INPUT input
// createElement('INPUT') HTMLInputElement INPUT input
// createElementNS(xhtmlNS, 'input') HTMLInputElement INPUT input
// createElementNS(xhtmlNS, 'INPUT') HTMLUnknownElement INPUT INPUT
const Element* element = ConstUnwrap<Element>();
return HTMLNames::xhtmlNamespaceURI == element->namespaceURI() &&
element->localName() == String(tag_name).DeprecatedLower();
}
bool WebElement::HasAttribute(const WebString& attr_name) const {
return ConstUnwrap<Element>()->hasAttribute(attr_name);
}
WebString WebElement::GetAttribute(const WebString& attr_name) const {
return ConstUnwrap<Element>()->getAttribute(attr_name);
}
void WebElement::SetAttribute(const WebString& attr_name,
const WebString& attr_value) {
// TODO: Custom element callbacks need to be called on WebKit API methods that
// mutate the DOM in any way.
V0CustomElementProcessingStack::CallbackDeliveryScope
deliver_custom_element_callbacks;
Unwrap<Element>()->setAttribute(attr_name, attr_value,
IGNORE_EXCEPTION_FOR_TESTING);
}
unsigned WebElement::AttributeCount() const {
if (!ConstUnwrap<Element>()->hasAttributes())
return 0;
return ConstUnwrap<Element>()->Attributes().size();
}
WebString WebElement::AttributeLocalName(unsigned index) const {
if (index >= AttributeCount())
return WebString();
return ConstUnwrap<Element>()->Attributes().at(index).LocalName();
}
WebString WebElement::AttributeValue(unsigned index) const {
if (index >= AttributeCount())
return WebString();
return ConstUnwrap<Element>()->Attributes().at(index).Value();
}
WebString WebElement::TextContent() const {
return ConstUnwrap<Element>()->textContent();
}
WebString WebElement::InnerHTML() const {
return ConstUnwrap<Element>()->InnerHTMLAsString();
}
bool WebElement::HasNonEmptyLayoutSize() const {
return ConstUnwrap<Element>()->HasNonEmptyLayoutSize();
}
WebRect WebElement::BoundsInViewport() const {
return ConstUnwrap<Element>()->BoundsInViewport();
}
WebImage WebElement::ImageContents() {
if (IsNull())
return WebImage();
return WebImage(Unwrap<Element>()->ImageContents());
}
WebElement::WebElement(Element* elem) : WebNode(elem) {}
DEFINE_WEB_NODE_TYPE_CASTS(WebElement, IsElementNode());
WebElement& WebElement::operator=(Element* elem) {
private_ = elem;
return *this;
}
WebElement::operator Element*() const {
return ToElement(private_.Get());
}
} // namespace blink
| [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
19756b050aae78974e9fe799dd9a25f1062bf957 | 89dea31a969e428f3ba6bbe7e01abe63875ecc6e | /c_cpp/strCat.cpp | baba9b417150dab5c9c32d1033d7f03f489d6650 | [] | no_license | arvinsingh/b_tech | 9603a83121f8b6beb7ee7d4aae9c2a27599b6f92 | 40e4d29ddfbe13d613709d8303faaccd9bb2db33 | refs/heads/master | 2020-03-19T14:40:00.460378 | 2018-06-08T15:25:19 | 2018-06-08T15:25:19 | 136,634,452 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 250 | cpp | #include<stdio.h>
#include<string.h>
int main(void)
{
char x[100],y[100];
printf("\nEnter first string: ");
gets(x);
printf("\nEnter second string: ");
gets(y);
strcat(x,y);
printf("\nConcatenated String is %s\n",x) ;
}
| [
"noreply@github.com"
] | noreply@github.com |
c837d69319d4264e45e88ca575a91d3076e36b1a | 169d5c8d635dcca52dfaa8181e3023a19798ea04 | /ARITH2.cpp | 214bd4d4c0959c78bc24cbb05f8f2802ae5e036f | [] | no_license | amulyagaur/SPOJ--Awesome-OJ | 5dd7a30e9e736a8177c84040b0aee0cb7b12779f | 134cbbc56d8d00c3c9f2e00e80a677c4524f318d | refs/heads/master | 2021-01-01T14:04:43.063809 | 2017-08-20T10:30:16 | 2017-08-20T10:30:16 | 97,585,052 | 2 | 0 | null | 2019-10-03T09:20:12 | 2017-07-18T10:22:22 | C++ | UTF-8 | C++ | false | false | 612 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
// your code goes here
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int t;
cin>>t;
for(int z=1;z<=t;z++)
{
long long i;
cin>>i;
do
{
char c;
cin>>c;
if(c=='=')
{
cout<<i<<endl;
break;
}
else
{
long long d;
cin>>d;
if(c=='+')
i = i+d;
else
if(c=='-')
i = i-d;
else
if(c=='/')
i=i/d;
else
if(c=='*')
i = i*d;
}
}
while(1);
}
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
99d21b1e6bd04daa48650b8e019f96a4e1509ac2 | eec4ebcdef0158794e3cc30868405013a6670bbc | /OpenGLESApp1/OpenGLESApp1.Shared/game/bulletML/tinyxml/tinyxml.cpp | 431846480b6790531f12d3a09acc73d24bda2906 | [
"Zlib"
] | permissive | valdirSalgueiro/sgsCrossPlatform | 99c61f7158774b3392f194df52144e99443bedd4 | 8380d933a24e94c8ffaefe2fea16c767ef1c2c8d | refs/heads/master | 2021-08-27T23:14:18.532198 | 2017-12-10T17:27:45 | 2017-12-10T17:27:45 | 113,302,993 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,143 | cpp | /*
Copyright (c) 2000 Lee Thomason (www.grinninglizard.com)
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.
*/
#include "tinyxml.h"
#include <stdlib.h>
TiXmlNode::TiXmlNode( NodeType _type )
{
parent = 0;
type = _type;
firstChild = 0;
lastChild = 0;
prev = 0;
next = 0;
}
TiXmlNode::~TiXmlNode()
{
TiXmlNode* node = firstChild;
TiXmlNode* temp = 0;
while ( node )
{
temp = node;
node = node->next;
delete temp;
}
}
void TiXmlNode::Clear()
{
TiXmlNode* node = firstChild;
TiXmlNode* temp = 0;
while ( node )
{
temp = node;
node = node->next;
delete temp;
}
firstChild = 0;
lastChild = 0;
}
TiXmlNode* TiXmlNode::LinkEndChild( TiXmlNode* node )
{
node->parent = this;
node->prev = lastChild;
node->next = 0;
if ( lastChild )
lastChild->next = node;
else
firstChild = node; // it was an empty list.
lastChild = node;
return node;
}
TiXmlNode* TiXmlNode::InsertEndChild( const TiXmlNode& addThis )
{
TiXmlNode* node = addThis.Clone();
if ( !node )
return 0;
return LinkEndChild( node );
}
TiXmlNode* TiXmlNode::InsertBeforeChild( TiXmlNode* beforeThis, const TiXmlNode& addThis )
{
if ( beforeThis->parent != this )
return 0;
TiXmlNode* node = addThis.Clone();
if ( !node )
return 0;
node->parent = this;
node->next = beforeThis;
node->prev = beforeThis->prev;
beforeThis->prev->next = node;
beforeThis->prev = node;
return node;
}
TiXmlNode* TiXmlNode::InsertAfterChild( TiXmlNode* afterThis, const TiXmlNode& addThis )
{
if ( afterThis->parent != this )
return 0;
TiXmlNode* node = addThis.Clone();
if ( !node )
return 0;
node->parent = this;
node->prev = afterThis;
node->next = afterThis->next;
afterThis->next->prev = node;
afterThis->next = node;
return node;
}
TiXmlNode* TiXmlNode::ReplaceChild( TiXmlNode* replaceThis, const TiXmlNode& withThis )
{
if ( replaceThis->parent != this )
return 0;
TiXmlNode* node = withThis.Clone();
if ( !node )
return 0;
node->next = replaceThis->next;
node->prev = replaceThis->prev;
if ( replaceThis->next )
replaceThis->next->prev = node;
else
lastChild = node;
if ( replaceThis->prev )
replaceThis->prev->next = node;
else
firstChild = node;
delete replaceThis;
return node;
}
bool TiXmlNode::RemoveChild( TiXmlNode* removeThis )
{
if ( removeThis->parent != this )
{
assert( 0 );
return false;
}
if ( removeThis->next )
removeThis->next->prev = removeThis->prev;
else
lastChild = removeThis->prev;
if ( removeThis->prev )
removeThis->prev->next = removeThis->next;
else
firstChild = removeThis->next;
delete removeThis;
return true;
}
TiXmlNode* TiXmlNode::FirstChild( const std::string& value ) const
{
TiXmlNode* node;
for ( node = firstChild; node; node = node->next )
{
if ( node->Value() == value )
return node;
}
return 0;
}
TiXmlNode* TiXmlNode::LastChild( const std::string& value ) const
{
TiXmlNode* node;
for ( node = lastChild; node; node = node->prev )
{
if ( node->Value() == value )
return node;
}
return 0;
}
TiXmlNode* TiXmlNode::IterateChildren( TiXmlNode* previous )
{
if ( !previous )
{
return FirstChild();
}
else
{
assert( previous->parent == this );
return previous->NextSibling();
}
}
TiXmlNode* TiXmlNode::IterateChildren( const std::string& val, TiXmlNode* previous )
{
if ( !previous )
{
return FirstChild( val );
}
else
{
assert( previous->parent == this );
return previous->NextSibling( val );
}
}
TiXmlNode* TiXmlNode::NextSibling( const std::string& value ) const
{
TiXmlNode* node;
for ( node = next; node; node = node->next )
{
if ( node->Value() == value )
return node;
}
return 0;
}
TiXmlNode* TiXmlNode::PreviousSibling( const std::string& value ) const
{
TiXmlNode* node;
for ( node = prev; node; node = node->prev )
{
if ( node->Value() == value )
return node;
}
return 0;
}
void TiXmlElement::RemoveAttribute( const std::string& name )
{
TiXmlAttribute* node = attributeSet.Find( name );
if ( node )
{
attributeSet.Remove( node );
delete node;
}
}
TiXmlElement* TiXmlNode::FirstChildElement() const
{
TiXmlNode* node;
for ( node = FirstChild();
node;
node = node->NextSibling() )
{
if ( node->ToElement() )
return node->ToElement();
}
return 0;
}
TiXmlElement* TiXmlNode::FirstChildElement( const std::string& value ) const
{
TiXmlNode* node;
for ( node = FirstChild( value );
node;
node = node->NextSibling( value ) )
{
if ( node->ToElement() )
return node->ToElement();
}
return 0;
}
TiXmlElement* TiXmlNode::NextSiblingElement() const
{
TiXmlNode* node;
for ( node = NextSibling();
node;
node = node->NextSibling() )
{
if ( node->ToElement() )
return node->ToElement();
}
return 0;
}
TiXmlElement* TiXmlNode::NextSiblingElement( const std::string& value ) const
{
TiXmlNode* node;
for ( node = NextSibling( value );
node;
node = node->NextSibling( value ) )
{
if ( node->ToElement() )
return node->ToElement();
}
return 0;
}
TiXmlDocument* TiXmlNode::GetDocument() const
{
const TiXmlNode* node;
for( node = this; node; node = node->parent )
{
if ( node->ToDocument() )
return node->ToDocument();
}
return 0;
}
// TiXmlElement::TiXmlElement()
// : TiXmlNode( TiXmlNode::ELEMENT )
// {
// }
TiXmlElement::TiXmlElement( const std::string& _value )
: TiXmlNode( TiXmlNode::ELEMENT )
{
firstChild = lastChild = 0;
value = _value;
}
TiXmlElement::~TiXmlElement()
{
while( attributeSet.First() )
{
TiXmlAttribute* node = attributeSet.First();
attributeSet.Remove( node );
delete node;
}
}
const std::string* TiXmlElement::Attribute( const std::string& name ) const
{
TiXmlAttribute* node = attributeSet.Find( name );
if ( node )
return &(node->Value() );
return 0;
}
const std::string* TiXmlElement::Attribute( const std::string& name, int* i ) const
{
const std::string* s = Attribute( name );
if ( s )
*i = atoi( s->c_str() );
else
*i = 0;
return s;
}
void TiXmlElement::SetAttribute( const std::string& name, int val )
{
char buf[64];
sprintf( buf, "%d", val );
std::string v = buf;
SetAttribute( name, v );
}
void TiXmlElement::SetAttribute( const std::string& name, const std::string& value )
{
TiXmlAttribute* node = attributeSet.Find( name );
if ( node )
{
node->SetValue( value );
return;
}
TiXmlAttribute* attrib = new TiXmlAttribute( name, value );
if ( attrib )
{
attributeSet.Add( attrib );
}
else
{
TiXmlDocument* document = GetDocument();
if ( document ) document->SetError( TIXML_ERROR_OUT_OF_MEMORY );
}
}
void TiXmlElement::Print( FILE* fp, int depth )
{
int i;
for ( i=0; i<depth; i++ )
fprintf( fp, " " );
fprintf( fp, "<%s", value.c_str() );
TiXmlAttribute* attrib;
for ( attrib = attributeSet.First(); attrib; attrib = attrib->Next() )
{
fprintf( fp, " " );
attrib->Print( fp, 0 );
}
// If this node has children, give it a closing tag. Else
// make it an empty tag.
TiXmlNode* node;
if ( firstChild )
{
fprintf( fp, ">" );
for ( node = firstChild; node; node=node->NextSibling() )
{
if ( !node->ToText() )
fprintf( fp, "\n" );
node->Print( fp, depth+1 );
}
fprintf( fp, "\n" );
for ( i=0; i<depth; i++ )
fprintf( fp, " " );
fprintf( fp, "</%s>", value.c_str() );
}
else
{
fprintf( fp, " />" );
}
}
TiXmlNode* TiXmlElement::Clone() const
{
TiXmlElement* clone = new TiXmlElement( Value() );
if ( !clone )
return 0;
CopyToClone( clone );
// Clone the attributes, then clone the children.
TiXmlAttribute* attribute = 0;
for( attribute = attributeSet.First();
attribute;
attribute = attribute->Next() )
{
clone->SetAttribute( attribute->Name(), attribute->Value() );
}
TiXmlNode* node = 0;
for ( node = firstChild; node; node = node->NextSibling() )
{
clone->LinkEndChild( node->Clone() );
}
return clone;
}
TiXmlDocument::TiXmlDocument() : TiXmlNode( TiXmlNode::DOCUMENT )
{
error = false;
// factory = new TiXmlFactory();
}
TiXmlDocument::TiXmlDocument( const std::string& documentName ) : TiXmlNode( TiXmlNode::DOCUMENT )
{
// factory = new TiXmlFactory();
value = documentName;
error = false;
}
// void TiXmlDocument::SetFactory( TiXmlFactory* f )
// {
// delete factory;
// factory = f;
// }
bool TiXmlDocument::LoadFile()
{
return LoadFile( value );
}
bool TiXmlDocument::SaveFile()
{
return SaveFile( value );
}
bool TiXmlDocument::LoadFile( FILE* fp )
{
// Delete the existing data:
Clear();
unsigned size, first;
first = ftell( fp );
fseek( fp, 0, SEEK_END );
size = ftell( fp ) - first + 1;
fseek( fp, first, SEEK_SET );
char* buf = new char[size];
char* p = buf;
while( fgets( p, size, fp ) )
{
p = strchr( p, 0 );
}
fclose( fp );
Parse( buf );
delete [] buf;
if ( !Error() )
return true;
return false;
}
bool TiXmlDocument::LoadFile( const std::string& filename )
{
// Delete the existing data:
Clear();
// Load the new data:
FILE* fp = fopen( filename.c_str(), "r" );
if ( fp )
{
return LoadFile(fp);
}
else
{
SetError( TIXML_ERROR_OPENING_FILE );
}
return false;
}
bool TiXmlDocument::SaveFile( const std::string& filename )
{
FILE* fp = fopen( filename.c_str(), "w" );
if ( fp )
{
Print( fp, 0 );
fclose( fp );
return true;
}
return false;
}
TiXmlNode* TiXmlDocument::Clone() const
{
TiXmlDocument* clone = new TiXmlDocument();
if ( !clone )
return 0;
CopyToClone( clone );
clone->error = error;
clone->errorDesc = errorDesc;
TiXmlNode* node = 0;
for ( node = firstChild; node; node = node->NextSibling() )
{
clone->LinkEndChild( node->Clone() );
}
return clone;
}
void TiXmlDocument::Print( FILE* fp, int )
{
TiXmlNode* node;
for ( node=FirstChild(); node; node=node->NextSibling() )
{
node->Print( fp, 0 );
fprintf( fp, "\n" );
}
}
TiXmlAttribute* TiXmlAttribute::Next()
{
// We are using knowledge of the sentinel. The sentinel
// have a value or name.
if ( next->value.empty() && next->name.empty() )
return 0;
return next;
}
TiXmlAttribute* TiXmlAttribute::Previous()
{
// We are using knowledge of the sentinel. The sentinel
// have a value or name.
if ( prev->value.empty() && prev->name.empty() )
return 0;
return prev;
}
void TiXmlAttribute::Print( FILE* fp, int )
{
if ( value.find( '\"' ) != std::string::npos )
fprintf( fp, "%s='%s'", name.c_str(), value.c_str() );
else
fprintf( fp, "%s=\"%s\"", name.c_str(), value.c_str() );
}
void TiXmlComment::Print( FILE* fp, int depth )
{
for ( int i=0; i<depth; i++ )
fprintf( fp, " " );
fprintf( fp, "<!--%s-->", value.c_str() );
}
TiXmlNode* TiXmlComment::Clone() const
{
TiXmlComment* clone = new TiXmlComment();
if ( !clone )
return 0;
CopyToClone( clone );
return clone;
}
void TiXmlText::Print( FILE* fp, int )
{
fprintf( fp, "%s", value.c_str() );
}
TiXmlNode* TiXmlText::Clone() const
{
TiXmlText* clone = 0;
clone = new TiXmlText();
if ( !clone )
return 0;
CopyToClone( clone );
return clone;
}
TiXmlDeclaration::TiXmlDeclaration( const std::string& _version,
const std::string& _encoding,
const std::string& _standalone )
: TiXmlNode( TiXmlNode::DECLARATION )
{
version = _version;
encoding = _encoding;
standalone = _standalone;
}
void TiXmlDeclaration::Print( FILE* fp, int )
{
std::string out = "<?xml ";
if ( !version.empty() )
{
out += "version=\"";
out += version;
out += "\" ";
}
if ( !encoding.empty() )
{
out += "encoding=\"";
out += encoding;
out += "\" ";
}
if ( !standalone.empty() )
{
out += "standalone=\"";
out += standalone;
out += "\" ";
}
out += "?>";
fprintf( fp, "%s", out.c_str() );
}
TiXmlNode* TiXmlDeclaration::Clone() const
{
TiXmlDeclaration* clone = new TiXmlDeclaration();
if ( !clone )
return 0;
CopyToClone( clone );
clone->version = version;
clone->encoding = encoding;
clone->standalone = standalone;
return clone;
}
void TiXmlUnknown::Print( FILE* fp, int depth )
{
for ( int i=0; i<depth; i++ )
fprintf( fp, " " );
fprintf( fp, "<%s>", value.c_str() );
}
TiXmlNode* TiXmlUnknown::Clone() const
{
TiXmlUnknown* clone = new TiXmlUnknown();
if ( !clone )
return 0;
CopyToClone( clone );
return clone;
}
TiXmlAttributeSet::TiXmlAttributeSet()
{
sentinel.next = &sentinel;
sentinel.prev = &sentinel;
}
TiXmlAttributeSet::~TiXmlAttributeSet()
{
assert( sentinel.next == &sentinel );
assert( sentinel.prev == &sentinel );
}
void TiXmlAttributeSet::Add( TiXmlAttribute* addMe )
{
assert( !Find( addMe->Name() ) ); // Shouldn't be multiply adding to the set.
addMe->next = &sentinel;
addMe->prev = sentinel.prev;
sentinel.prev->next = addMe;
sentinel.prev = addMe;
}
void TiXmlAttributeSet::Remove( TiXmlAttribute* removeMe )
{
TiXmlAttribute* node;
for( node = sentinel.next; node != &sentinel; node = node->next )
{
if ( node == removeMe )
{
node->prev->next = node->next;
node->next->prev = node->prev;
node->next = 0;
node->prev = 0;
return;
}
}
assert( 0 ); // we tried to remove a non-linked attribute.
}
TiXmlAttribute* TiXmlAttributeSet::Find( const std::string& name ) const
{
TiXmlAttribute* node;
for( node = sentinel.next; node != &sentinel; node = node->next )
{
if ( node->Name() == name )
return node;
}
return 0;
}
| [
"sombraextra@gmail.com"
] | sombraextra@gmail.com |
d735145e9cd58038871a05554e06cef9f4cb5386 | 42e48ab414670bfb28605884ff7f12cdac4ebd5f | /src/xzero/io/FileUtil.h | 27e4e09e1f8b314f4fb0dbc6e17f61ebf32018fd | [
"MIT"
] | permissive | tempbottle/x0 | 45dc6fa088e3eae4632343ef861e3897aada8002 | f61ae5824990c2d40ba76ec69f76f66be8bd0466 | refs/heads/master | 2020-12-25T15:51:45.065572 | 2016-01-18T17:17:02 | 2016-01-18T17:17:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,257 | h | // This file is part of the "x0" project, http://github.com/christianparpart/x0>
// (c) 2009-2016 Christian Parpart <trapni@gmail.com>
//
// Licensed under the MIT License (the "License"); you may not use this
// file except in compliance with the License. You may obtain a copy of
// the License at: http://opensource.org/licenses/MIT
#pragma once
#include <xzero/Api.h>
#include <functional>
#include <string>
#include <stdint.h>
namespace xzero {
class Buffer;
class BufferRef;
class File;
class FileView;
class XZERO_BASE_API FileUtil {
public:
static char pathSeperator() noexcept;
static std::string currentWorkingDirectory();
static std::string absolutePath(const std::string& relpath);
static std::string realpath(const std::string& relpath);
static bool exists(const std::string& path);
static bool isDirectory(const std::string& path);
static bool isRegular(const std::string& path);
static size_t size(const std::string& path);
static size_t sizeRecursive(const std::string& path);
XZERO_DEPRECATED static size_t du_c(const std::string& path) { return sizeRecursive(path); }
static void ls(const std::string& path, std::function<bool(const std::string&)> cb);
static std::string joinPaths(const std::string& base, const std::string& append);
static void seek(int fd, off_t offset);
static void read(int fd, Buffer* output);
static void read(File&, Buffer* output);
static void read(const std::string& path, Buffer* output);
static void read(const FileView& file, Buffer* output);
static Buffer read(int fd);
static Buffer read(File& file);
static Buffer read(const FileView& file);
static Buffer read(const std::string& path);
static void write(const std::string& path, const Buffer& buffer);
static void write(int fd, const BufferRef& chunk);
static void write(int fd, const FileView& chunk);
static void copy(const std::string& from, const std::string& to);
static void truncate(const std::string& path, size_t size);
static std::string dirname(const std::string& path);
static std::string basename(const std::string& path);
static void mkdir(const std::string& path, int mode = 0775);
static void mkdir_p(const std::string& path, int mode = 0775);
static void rm(const std::string& path);
static void mv(const std::string& path, const std::string& target);
static void chown(const std::string& path, int uid, int gid);
static void chown(const std::string& path,
const std::string& user,
const std::string& group);
static int createTempFile();
static int createTempFileAt(const std::string& basedir,
std::string* result = nullptr);
static std::string createTempDirectory();
static std::string tempDirectory();
static void allocate(int fd, size_t length);
static void preallocate(int fd, off_t offset, size_t length);
static void deallocate(int fd, off_t offset, size_t length);
/**
* Collapses given range of a file.
*
* @note Operating systems that do not support it natively will be emulated.
*/
static void collapse(int fd, off_t offset, size_t length);
static void truncate(int fd, size_t length);
static void close(int fd);
};
} // namespace xzero
| [
"trapni@gmail.com"
] | trapni@gmail.com |
0d2291dde8be0860c496411339cb562263e13ec1 | b61d490228517875b8743eee5efe43725d679de0 | /DFB/quads.h | 298eb3ecc25fa7c8f752a2d0d16f6d6fa1763142 | [] | no_license | KareshiKraise/Order-Independent-Transparency | c0edaf497fdedf3c2621db0886ed58e3569887ae | 6fabcea1950861a9de55a06d9615b0d345b49862 | refs/heads/main | 2023-04-04T02:52:39.650379 | 2021-04-02T10:53:39 | 2021-04-02T10:53:39 | 353,800,591 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,582 | h | #ifndef _SHEET_
#define _SHEET_
#include <GLM/glm.hpp>
namespace colors {
glm::vec4 red_a(1.0, 0.0, 0.0, 0.6);
glm::vec4 grn_a(0.0, 1.0, 0.0, 0.6);
glm::vec4 blue_a(0.0, 0.0, 1.0, 0.6);
}
struct vertex {
glm::vec3 vert;
glm::vec4 col;
};
struct vertex2 {
glm::vec3 pos;
glm::vec2 tex;
glm::vec4 col;
};
struct Bound {
glm::vec3 min;
glm::vec3 max;
glm::vec3 center;
};
vertex planes[] = {
//Plane 1
//0
{ glm::vec3(-100, 100, -15.0), colors::grn_a },
//1
{ glm::vec3(100, 100, -15.0), colors::grn_a },
//2
{ glm::vec3(-100, -100, -15.0), colors::grn_a },
//3
{ glm::vec3(100, -100, -15.0), colors::grn_a },
//Plane 2
//4
{ glm::vec3(-100 + 20, 100 + 20, -45.0), colors::red_a },
//5
{ glm::vec3(100 + 20, 100 + 20, -45.0), colors::red_a },
//6
{ glm::vec3(-100 + 20, -100 + 20, -45.0), colors::red_a },
//7
{ glm::vec3(100 + 20, -100 + 20, -45.0), colors::red_a },
//Plane 3
//8
{ glm::vec3(-100 - 20, 100 - 20, -75.0), colors::blue_a },
//9
{ glm::vec3(100 - 20, 100 - 20, -75.0), colors::blue_a },
//10
{ glm::vec3(-100 - 20, -100 - 20, -75.0), colors::blue_a },
//11
{ glm::vec3(100 - 20, -100 - 20, -75.0), colors::blue_a }
};
size_t planes_size = sizeof(planes);
size_t planes_element = sizeof(planes) / sizeof(vertex);
unsigned short planes_ind[] = { 0, 1, 2, 1, 3, 2,
4, 5, 6, 5, 7, 6,
8, 9, 10, 9, 11, 10 };
size_t planes_ind_size = sizeof(planes_ind);
size_t planes_ind_count = sizeof(planes_ind) / sizeof(unsigned short);
//returns medium point , meaning the center of a bounding box that encloses the geometry
Bound calc_bb()
{
float xmin = planes[0].vert.x;
float xmax = planes[0].vert.x;
float ymin = planes[0].vert.y;
float ymax = planes[0].vert.y;
float zmin = planes[0].vert.z;
float zmax = planes[0].vert.z;
for (int i = 0; i < 12; i++) {
if (planes[i].vert.x < xmin) {
xmin = planes[i].vert.x;
}
if (planes[i].vert.x > xmax) {
xmax = planes[i].vert.x;
}
if (planes[i].vert.y < ymin) {
ymin = planes[i].vert.y;
}
if (planes[i].vert.y > ymax) {
ymax = planes[i].vert.y;
}
if (planes[i].vert.z < zmin) {
zmin = planes[i].vert.z;
}
if (planes[i].vert.z < zmax) {
zmax = planes[i].vert.z;
}
}
float centerX = xmax - ((xmax + fabs(xmin)) / 2);
float centerY = ymax - ((ymax + fabs(ymin)) / 2);
float centerZ = zmax - ((zmax + fabs(zmin)) / 2);
glm::vec3 min = glm::vec3(xmin, ymin, zmin);
glm::vec3 max = glm::vec3(xmax, ymax, zmax);
glm::vec3 center = glm::vec3(centerX, centerY, centerZ);
return{ min, max, center };
}
#endif | [
"vitormoraesaranha@gmail.com"
] | vitormoraesaranha@gmail.com |
0cec99eb5efe535a5b54035812ace1afa45dc921 | dfefe1b2c7abf196bcd7dff6a15edff7fb74e55b | /Front-end/Temp/il2cppOutput/il2cppOutput/UnityEngine.IMGUIModule.cpp | c0cc59d9dd5f2c7d0ce934f5c57b2725fe89ebe4 | [] | no_license | fernvnat14/AR-QR-Project | 17a789dd10d76e465a7cec05c1541deaa97536e2 | a40b8e5bf5d8c64e69fc38e595aa61c9fa53b751 | refs/heads/master | 2021-07-09T01:05:25.823517 | 2020-06-23T15:40:08 | 2020-06-23T15:40:08 | 243,726,741 | 0 | 0 | null | 2021-05-06T20:15:46 | 2020-02-28T09:36:55 | C++ | UTF-8 | C++ | false | false | 939,942 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "codegen/il2cpp-codegen.h"
#include "il2cpp-object-internals.h"
template <typename R>
struct VirtFuncInvoker0
{
typedef R (*Func)(void*, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
return ((Func)invokeData.methodPtr)(obj, invokeData.method);
}
};
template <typename T1>
struct VirtActionInvoker1
{
typedef void (*Action)(void*, T1, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
}
};
struct VirtActionInvoker0
{
typedef void (*Action)(void*, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
((Action)invokeData.methodPtr)(obj, invokeData.method);
}
};
template <typename T1, typename T2>
struct VirtActionInvoker2
{
typedef void (*Action)(void*, T1, T2, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
((Action)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
}
};
template <typename R, typename T1>
struct VirtFuncInvoker1
{
typedef R (*Func)(void*, T1, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
return ((Func)invokeData.methodPtr)(obj, p1, invokeData.method);
}
};
template <typename T1>
struct GenericVirtActionInvoker1
{
typedef void (*Action)(void*, T1, const RuntimeMethod*);
static inline void Invoke (const RuntimeMethod* method, RuntimeObject* obj, T1 p1)
{
VirtualInvokeData invokeData;
il2cpp_codegen_get_generic_virtual_invoke_data(method, obj, &invokeData);
((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
}
};
struct GenericVirtActionInvoker0
{
typedef void (*Action)(void*, const RuntimeMethod*);
static inline void Invoke (const RuntimeMethod* method, RuntimeObject* obj)
{
VirtualInvokeData invokeData;
il2cpp_codegen_get_generic_virtual_invoke_data(method, obj, &invokeData);
((Action)invokeData.methodPtr)(obj, invokeData.method);
}
};
template <typename T1>
struct InterfaceActionInvoker1
{
typedef void (*Action)(void*, T1, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
}
};
struct InterfaceActionInvoker0
{
typedef void (*Action)(void*, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
((Action)invokeData.methodPtr)(obj, invokeData.method);
}
};
template <typename T1>
struct GenericInterfaceActionInvoker1
{
typedef void (*Action)(void*, T1, const RuntimeMethod*);
static inline void Invoke (const RuntimeMethod* method, RuntimeObject* obj, T1 p1)
{
VirtualInvokeData invokeData;
il2cpp_codegen_get_generic_interface_invoke_data(method, obj, &invokeData);
((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
}
};
struct GenericInterfaceActionInvoker0
{
typedef void (*Action)(void*, const RuntimeMethod*);
static inline void Invoke (const RuntimeMethod* method, RuntimeObject* obj)
{
VirtualInvokeData invokeData;
il2cpp_codegen_get_generic_interface_invoke_data(method, obj, &invokeData);
((Action)invokeData.methodPtr)(obj, invokeData.method);
}
};
// System.Action
struct Action_t591D2A86165F896B4B800BB5C25CE18672A55579;
// System.Action`1<UnityEngine.Font>
struct Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C;
// System.ArgumentException
struct ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1;
// System.AsyncCallback
struct AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4;
// System.Byte[]
struct ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821;
// System.Char[]
struct CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2;
// System.Collections.Generic.Dictionary`2/Entry<System.Int32,UnityEngine.GUILayoutUtility/LayoutCache>[]
struct EntryU5BU5D_tDB85180FDDB1D9328F27772D84DA1F4EBCF2FA33;
// System.Collections.Generic.Dictionary`2/Entry<System.String,UnityEngine.GUIStyle>[]
struct EntryU5BU5D_t8A12574AC691436B2D59765B81FBB918B3311350;
// System.Collections.Generic.Dictionary`2/KeyCollection<System.Int32,UnityEngine.GUILayoutUtility/LayoutCache>
struct KeyCollection_t15CA10AEB86ED7FAC3832F2971163286DE710F7A;
// System.Collections.Generic.Dictionary`2/KeyCollection<System.String,UnityEngine.GUIStyle>
struct KeyCollection_t7193E33E96305EFB890248510CE390A14EDC2F35;
// System.Collections.Generic.Dictionary`2/ValueCollection<System.Int32,UnityEngine.GUILayoutUtility/LayoutCache>
struct ValueCollection_t476B74B16EC7028A54263E11CF73F86CF87FC929;
// System.Collections.Generic.Dictionary`2/ValueCollection<System.Object,System.Object>
struct ValueCollection_t0816666499CBD11E58E1E7C79A4EFC2AA47E08A2;
// System.Collections.Generic.Dictionary`2/ValueCollection<System.String,UnityEngine.GUIStyle>
struct ValueCollection_t0C6A26D50A89F916DF2650A7C132FFB1992070B9;
// System.Collections.Generic.Dictionary`2<System.Int32,System.Object>
struct Dictionary_2_t03608389BB57475AA3F4B2B79D176A27807BC884;
// System.Collections.Generic.Dictionary`2<System.Int32,UnityEngine.GUILayoutUtility/LayoutCache>
struct Dictionary_2_t0F1A21E14D53E05B0F1D474060AC4B36995FBCA1;
// System.Collections.Generic.Dictionary`2<System.Object,System.Object>
struct Dictionary_2_t32F25F093828AA9F93CB11C2A2B4648FD62A09BA;
// System.Collections.Generic.Dictionary`2<System.String,UnityEngine.GUIStyle>
struct Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A;
// System.Collections.Generic.IEqualityComparer`1<System.Int32>
struct IEqualityComparer_1_t7B82AA0F8B96BAAA21E36DDF7A1FE4348BDDBE95;
// System.Collections.Generic.IEqualityComparer`1<System.Object>
struct IEqualityComparer_1_tAE7A8756D8CF0882DD348DC328FB36FEE0FB7DD0;
// System.Collections.Generic.IEqualityComparer`1<System.String>
struct IEqualityComparer_1_t1F07EAC22CC1D4F279164B144240E4718BD7E7A9;
// System.Collections.Generic.List`1<System.Object>
struct List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D;
// System.Collections.Generic.List`1<UnityEngine.GUILayoutEntry>
struct List_1_t046427F3923444CF746C550FD96A3D0E4189D273;
// System.Collections.IDictionary
struct IDictionary_t1BD5C1546718A374EA8122FBD6C6EE45331E8CE7;
// System.Collections.IEnumerator
struct IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A;
// System.Delegate
struct Delegate_t;
// System.DelegateData
struct DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE;
// System.Delegate[]
struct DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86;
// System.Diagnostics.StackTrace[]
struct StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196;
// System.Exception
struct Exception_t;
// System.Func`1<System.Boolean>
struct Func_1_t4ABD6DAD480574F152452DD6B9C9A55F4F6655F1;
// System.Func`2<System.Exception,System.Boolean>
struct Func_2_tC816C5FDED4A7372C449E7660CAB9F94E2AC12F8;
// System.Func`2<System.Object,System.Boolean>
struct Func_2_t4B4B1E74248F38404B56001A709D81142DE730CC;
// System.Func`3<System.Int32,System.IntPtr,System.Boolean>
struct Func_3_tBD99633D8A18C43CC528ECE3F77E2F69900048A7;
// System.IAsyncResult
struct IAsyncResult_t8E194308510B375B42432981AE5E7488C458D598;
// System.Int32[]
struct Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83;
// System.IntPtr[]
struct IntPtrU5BU5D_t4DC01DCB9A6DF6C9792A6513595D7A11E637DCDD;
// System.Object[]
struct ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A;
// System.Reflection.Binder
struct Binder_t4D5CB06963501D32847C057B57157D6DC49CA759;
// System.Reflection.MemberFilter
struct MemberFilter_t25C1BD92C42BE94426E300787C13C452CB89B381;
// System.Reflection.MethodInfo
struct MethodInfo_t;
// System.Runtime.Serialization.SafeSerializationManager
struct SafeSerializationManager_t4A754D86B0F784B18CBC36C073BA564BED109770;
// System.String
struct String_t;
// System.StringComparer
struct StringComparer_t588BC7FEF85D6E7425E0A8147A3D5A334F1F82DE;
// System.String[]
struct StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E;
// System.Type
struct Type_t;
// System.Type[]
struct TypeU5BU5D_t7FE623A666B49176DE123306221193E888A12F5F;
// System.Void
struct Void_t22962CB4C05B1D89B55A6E1139F0E87A90987017;
// UnityEngine.Event
struct Event_t187FF6A6B357447B83EC2064823EE0AEC5263210;
// UnityEngine.Font
struct Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26;
// UnityEngine.Font/FontTextureRebuildCallback
struct FontTextureRebuildCallback_tD700C63BB1A449E3A0464C81701E981677D3021C;
// UnityEngine.GUI/WindowFunction
struct WindowFunction_t9AF05117863D95AA9F85D497A3B9B53216708100;
// UnityEngine.GUIContent
struct GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0;
// UnityEngine.GUILayoutEntry
struct GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845;
// UnityEngine.GUILayoutEntry[]
struct GUILayoutEntryU5BU5D_tABE834456D53BDC45598E951D6FBF94E97BDADFD;
// UnityEngine.GUILayoutGroup
struct GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601;
// UnityEngine.GUILayoutOption
struct GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6;
// UnityEngine.GUILayoutOption[]
struct GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B;
// UnityEngine.GUILayoutUtility/LayoutCache
struct LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468;
// UnityEngine.GUIScrollGroup
struct GUIScrollGroup_tF7FE45226FB28968F68A8D2428FE9EA7DC5B18EE;
// UnityEngine.GUISettings
struct GUISettings_tA863524720A3C984BAE56598D922F2C04DC80EF4;
// UnityEngine.GUISkin
struct GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7;
// UnityEngine.GUISkin/SkinChangedDelegate
struct SkinChangedDelegate_tAB4CEEA8C8A0BDCFD51C9624AE173C46A40135D8;
// UnityEngine.GUIStyle
struct GUIStyle_t671F175A201A19166385EE3392292A5F50070572;
// UnityEngine.GUIStyleState
struct GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5;
// UnityEngine.GUIStyle[]
struct GUIStyleU5BU5D_t2F343713D6ADFF41BBCF1D17BAE79F51BD745DBB;
// UnityEngine.GUIWordWrapSizer
struct GUIWordWrapSizer_tC17A8FB8EE28BDCFEE27C7E7000BA8215E76CFD0;
// UnityEngine.Object
struct Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0;
// UnityEngine.RectOffset
struct RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A;
// UnityEngine.ScriptableObject
struct ScriptableObject_tAB015486CEAB714DA0D5C1BA389B84FB90427734;
// UnityEngine.ScrollViewState
struct ScrollViewState_t738AAD89973B4E764B6F977945263C24A881428E;
// UnityEngine.SliderState
struct SliderState_t6081D6F2CF6D0F1A13B2A2D255671B4053EC52CB;
// UnityEngine.TextEditor
struct TextEditor_t72CB6095A5C38226E08CD8073D5B6AD98579D440;
// UnityEngine.Texture
struct Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4;
// UnityEngine.Texture2D
struct Texture2D_tBBF96AC337723E2EF156DF17E09D4379FD05DE1C;
// UnityEngine.TouchScreenKeyboard
struct TouchScreenKeyboard_t2A69F85698E9780470181532D3F2BC903623FD90;
// UnityEngineInternal.GenericStack
struct GenericStack_tC59D21E8DBC50F3C608479C942200AC44CA2D5BC;
IL2CPP_EXTERN_C RuntimeClass* ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Debug_t7B5FCB117E2FD63B6838BC52821B252E2BFB61C4_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Dictionary_2_t0F1A21E14D53E05B0F1D474060AC4B36995FBCA1_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Enumerator_t7CFB6C06FEABB756D0C0A1BA202A13F5091958A6_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* EventModifiers_tC34E3018F3697001F894187AF6E9E63D7E203061_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* EventType_t3D3937E705A4506226002DAB22071B7B181DA57B_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Event_t187FF6A6B357447B83EC2064823EE0AEC5263210_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ExitGUIException_t6AD1987AE1D23E0E774F9BEA41F30AE4CE378F07_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* GUISettings_tA863524720A3C984BAE56598D922F2C04DC80EF4_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* GUIStyleU5BU5D_t2F343713D6ADFF41BBCF1D17BAE79F51BD745DBB_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* GUITargetAttribute_tA23DD43B1D91AF11499A0320EBAAC900A35FC4B8_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* GUIWordWrapSizer_tC17A8FB8EE28BDCFEE27C7E7000BA8215E76CFD0_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* GenericStack_tC59D21E8DBC50F3C608479C942200AC44CA2D5BC_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Int32_t585191389E07734F19F3156FF88FB3EF4800D102_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* IntPtr_t_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* KeyCode_tC93EA87C5A6901160B583ADFCD3EF6726570DC3C_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* List_1_t046427F3923444CF746C550FD96A3D0E4189D273_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Single_tDDDA9169C4E4E308AC6D7A824F9B28DC82204AE1_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* StringComparer_t588BC7FEF85D6E7425E0A8147A3D5A334F1F82DE_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* String_t_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TargetInvocationException_t0DD35F6083E1D1E0509BF181A79C76D3339D89B8_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Type_t_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C String_t* _stringLiteral00CE3E1623671A834728138CD689D176F0000CEB;
IL2CPP_EXTERN_C String_t* _stringLiteral047A7EA97FB24BA0C74949892C1880E97AC0FB35;
IL2CPP_EXTERN_C String_t* _stringLiteral061CD5E48C5A194C95B561D18FCDC1A57D790069;
IL2CPP_EXTERN_C String_t* _stringLiteral09820128951D618D4CFE7DC0105A1B6B113C921F;
IL2CPP_EXTERN_C String_t* _stringLiteral0C258057D84276FDE292E99D213EB3AA75E8A463;
IL2CPP_EXTERN_C String_t* _stringLiteral0D421A870FA2CD6E6DCF150A4ACE67EC7405AF75;
IL2CPP_EXTERN_C String_t* _stringLiteral16806D05FFD77C707B7ABE1C8575F1FE58647283;
IL2CPP_EXTERN_C String_t* _stringLiteral225F12AD8179D36194EBC648F0064B7E925473EC;
IL2CPP_EXTERN_C String_t* _stringLiteral239CA5767AFAC9641593464CE02BC454D6AC07A9;
IL2CPP_EXTERN_C String_t* _stringLiteral2BBC38111940698AFB713196AC3CDC77F8520F36;
IL2CPP_EXTERN_C String_t* _stringLiteral2C72A73D3153ECA8FBF9E58315C5EE073BE0D5AB;
IL2CPP_EXTERN_C String_t* _stringLiteral320AD267D8D969F285EDA5C184F5455BD29C8C95;
IL2CPP_EXTERN_C String_t* _stringLiteral32ECC4719669918929E577728ABBC5556B1258D9;
IL2CPP_EXTERN_C String_t* _stringLiteral3A12C369C969E4967077C631A923BD9EE421C241;
IL2CPP_EXTERN_C String_t* _stringLiteral3BC15C8AAE3E4124DD409035F32EA2FD6835EFC9;
IL2CPP_EXTERN_C String_t* _stringLiteral43038A7293A88F58900A924007043B16F5DF3840;
IL2CPP_EXTERN_C String_t* _stringLiteral43B731706EEE5F12E52ED519717DB9572EADF165;
IL2CPP_EXTERN_C String_t* _stringLiteral44749C3F0A84037EA50385BCA7D2CFEFD6C0BDB2;
IL2CPP_EXTERN_C String_t* _stringLiteral44F6B44A467838469700F58608269B4DED07C60C;
IL2CPP_EXTERN_C String_t* _stringLiteral4609E730123B8AB7743493DE7E9F350E7DF58440;
IL2CPP_EXTERN_C String_t* _stringLiteral487A38C9550C3B08588319E52F112CE6A539A561;
IL2CPP_EXTERN_C String_t* _stringLiteral4C523C75AC8AB567667867138725AB01F5FA186A;
IL2CPP_EXTERN_C String_t* _stringLiteral4EBF4799F637E32D34B9DBF78887989DD6C458D1;
IL2CPP_EXTERN_C String_t* _stringLiteral52424150CE94D4AA9600469221595A075963D010;
IL2CPP_EXTERN_C String_t* _stringLiteral5370ABC43B604B9438E05FD111325616F5BA93EB;
IL2CPP_EXTERN_C String_t* _stringLiteral553F4091D1912B191C8392C610091F6B85B0B6E3;
IL2CPP_EXTERN_C String_t* _stringLiteral5C99F2EA0C681082AA59B6CD687CA19041028B63;
IL2CPP_EXTERN_C String_t* _stringLiteral5EB8003910C4D9CB2B9CAF1A8610A9FB39ACD4BD;
IL2CPP_EXTERN_C String_t* _stringLiteral645983D981B058C71B234B4EF85974E83DF46C36;
IL2CPP_EXTERN_C String_t* _stringLiteral64C65374DBAB6FE3762748196D9D3A9610E2E5A9;
IL2CPP_EXTERN_C String_t* _stringLiteral71531D856B1034BFC52262032A547C65718E8C3E;
IL2CPP_EXTERN_C String_t* _stringLiteral794145F030FF721599A0353A9B2E59E9A92B9BF1;
IL2CPP_EXTERN_C String_t* _stringLiteral7B7FCC78D6CD1507925B769B1386CED3683F99C7;
IL2CPP_EXTERN_C String_t* _stringLiteral884E998DCB0626A339721789EA125B983932D177;
IL2CPP_EXTERN_C String_t* _stringLiteral8CE379368AB8E774A4F51BE28DD637628F20DA93;
IL2CPP_EXTERN_C String_t* _stringLiteral8E436B06A17CFAF87BEB781E30D07B6FF58B2B71;
IL2CPP_EXTERN_C String_t* _stringLiteral8F13B25223E12B732676D159774DCB00806DA4CB;
IL2CPP_EXTERN_C String_t* _stringLiteral99032D12CB8AAB77590E57E36974F8C1C56B7B95;
IL2CPP_EXTERN_C String_t* _stringLiteral9A5E2F5BDDFCF829F248A8C91E5AACBBDFEE7223;
IL2CPP_EXTERN_C String_t* _stringLiteral9B611144024AB5EC850C1A1C7668509DA40C92DB;
IL2CPP_EXTERN_C String_t* _stringLiteral9B93271A1F5C73A7A67E544DD659306E5EE80C4B;
IL2CPP_EXTERN_C String_t* _stringLiteralA11608E0F772347D667D92CD05AFA60E273D90A8;
IL2CPP_EXTERN_C String_t* _stringLiteralA8D40E8C95571FFC4E4BA4C9CEF0289695BD8057;
IL2CPP_EXTERN_C String_t* _stringLiteralA93D2B140984CB1ED70E8B2F25565EF16927EE77;
IL2CPP_EXTERN_C String_t* _stringLiteralA979EF10CC6F6A36DF6B8A323307EE3BB2E2DB9C;
IL2CPP_EXTERN_C String_t* _stringLiteralAA5DB7D82232EE34651EB5ADEA59B01C839EB843;
IL2CPP_EXTERN_C String_t* _stringLiteralACAB6798BE3F8F69AA0198A7C9B83ADA0F075932;
IL2CPP_EXTERN_C String_t* _stringLiteralADC83B19E793491B1C6EA0FD8B46CD9F32E592FC;
IL2CPP_EXTERN_C String_t* _stringLiteralB71AA0202634484C09B931E01A9CF812565B054B;
IL2CPP_EXTERN_C String_t* _stringLiteralB72EF1950CD4E44A073B202D2C0D05D8A97FD42F;
IL2CPP_EXTERN_C String_t* _stringLiteralB858CB282617FB0956D960215C8E84D1CCF909C6;
IL2CPP_EXTERN_C String_t* _stringLiteralBE83C9DC2728E81887591984F918D4FEF2A51ED0;
IL2CPP_EXTERN_C String_t* _stringLiteralBFAF5DB045B9BE61FE1BC19E0486B8287028A876;
IL2CPP_EXTERN_C String_t* _stringLiteralC1736E388224676A122F6D36DB2BFE2D5B5815D1;
IL2CPP_EXTERN_C String_t* _stringLiteralC2B7DF6201FDD3362399091F0A29550DF3505B6A;
IL2CPP_EXTERN_C String_t* _stringLiteralC7D8A6D722A1EC9A16FAE165177C418D4FD63175;
IL2CPP_EXTERN_C String_t* _stringLiteralD3280C579ECC78E7C99A42607D1529992F9DD5F3;
IL2CPP_EXTERN_C String_t* _stringLiteralD5E14B063514CB6630E55F0AEB0AD3B37897EFCA;
IL2CPP_EXTERN_C String_t* _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
IL2CPP_EXTERN_C String_t* _stringLiteralE1D1873098D32108BBEF9FD4C21B888ED8659C49;
IL2CPP_EXTERN_C String_t* _stringLiteralE647442EAD89630DC43D2047D097508AD66D2618;
IL2CPP_EXTERN_C String_t* _stringLiteralE794E3C8A26A199BEB58080D834D082D83C3C1B2;
IL2CPP_EXTERN_C String_t* _stringLiteralE8603CA0394240FFC435FB8A9A44A0B8ADFDB19F;
IL2CPP_EXTERN_C String_t* _stringLiteralEEF19C54306DAA69EDA49C0272623BDB5E2B341F;
IL2CPP_EXTERN_C String_t* _stringLiteralF823B10BFCB18C02875242BBD90128D3418C74ED;
IL2CPP_EXTERN_C String_t* _stringLiteralF92769A88C9334E4CDB8DF06F40EC92B7B4086D0;
IL2CPP_EXTERN_C String_t* _stringLiteralF9C5942B1F55CB12B8F2B5FAE21A9F1706F9D367;
IL2CPP_EXTERN_C String_t* _stringLiteralFC8656334C97C18022AE87133F261DBA949A4CDD;
IL2CPP_EXTERN_C String_t* _stringLiteralFFB265E9D8A62CA77E764C3C23728383697C4D82;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_TryGetValue_m0E6D1EEC81E6A904B99EEC04DB95C1CC0E4A0B31_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_TryGetValue_m72452D4223AA3313BF658BFBDFC1B417CA40EC18_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2__ctor_mD9286F4A0EF1BEC0B6BC4BD72D8D6A246B994EBF_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2__ctor_mE7D4915AD1A64B140D2C412B197D4D43B016074E_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_get_Values_mBCCD4E4C93C5E4DF2E0A07934040870B3662866F_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_set_Item_mB2CFA325B47C43C9E27C606844FE1AED4CD344A2_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_Dispose_mB540C90AE8EBE0EB3D63A6ACE5EC863FAD1419B2_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_MoveNext_m3A0A0A98E9378A32A74EC51C4CAB6C564001CAC7_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_get_Current_m9422C22943D0E9900CDB7DF407D9EBE215B2A6B6_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Func_1_Invoke_mFA91B93A5C91290D4A3C475C4117CA05B43419E6_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Func_2_Invoke_m9621506610C10C9E735B305E826ACEFF914422CD_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Func_3_Invoke_mCD6DEEC09B4F1B42DD0FD4A8F58632B08EC66737_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* GUILayoutGroup_GetNext_m0C486106E3ABC96620C4A0AF67CE12BF09C347B9_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* GUILayoutUtility_BeginLayoutGroup_mBB7F6DDEC9574A704D2034E26FAABF882C37CD9B_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* GUILayoutUtility_CreateGUILayoutGroupInstanceOfType_mA19EA3B8F8E86338A28A0C3E819766602D52F7EF_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* GUIUtility_CheckOnGUI_mBFC764B475683BC50E40BD249248CE43DA754873_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_mBA86DB073ED3C4B09F144141355A6D56556DE9ED_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_GetEnumerator_mA457B3CB61E2B7BAFB0F7D0ADEFD25237B4429DF_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m8334B758D374FE266FFF49329936203BCE3A3770_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m2995506A297520F84CBD9AD421D8672D5755E115_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m96FCB482CBADC5AD4AD5F01B7A0B822AF619D388_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ValueCollection_GetEnumerator_m56252F012AAECD0BFFC3729A87D60BF2945499C2_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeType* GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601_0_0_0_var;
IL2CPP_EXTERN_C const RuntimeType* GUITargetAttribute_tA23DD43B1D91AF11499A0320EBAAC900A35FC4B8_0_0_0_var;
IL2CPP_EXTERN_C const uint32_t Event_Equals_m1DEF4FB843B631FC437B1366F0F78CEF7A739070_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Event_Finalize_m71EE3F6BC6C0A99F849EC39C0E47B7305BB9EB3D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Event_Internal_MakeMasterEventCurrent_mAD78377C8BB08EFB5DF3D3E3A4F1089F2FC2BA48_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Event_ToString_m2843623B66F30AC141175B1D16F1B112D3835A65_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Event_Use_m2328ACD6C711742273C1321F5F79C6D3CEB08AC5_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Event_get_current_m072CEE599D11B8A9A916697E57C0F561188CDB2B_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUIContent_ClearStaticCache_m567DA736612F9E6E66262CC630952AB2E22BC933_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUIContent_Temp_m29B9E688E5EA09D12FDFAC6096B8762F7E84688D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUIContent__cctor_m5AF68CD5FB2E47506F7FF1A6F46ADAD5C8BC927C_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUIContent__ctor_m2805872C5E7E66C3ABF83607DC02BEB1BEFA82DA_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUIContent__ctor_m8C923B0C5DE305F6A22320F44BE37F81CA099316_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUIContent__ctor_m8EE36BB9048C2A279E7EAD258D63F2A1BDEA8A81_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUIContent__ctor_m939CDEFF44061020E997A0F0640ADDF2740B0C38_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUILayoutEntry_ApplyOptions_m2002EBD9FE42B9787544D204A71C8BEF3F671F5B_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUILayoutEntry_ToString_mCDA5CD14A39ADAD29F6B450B98FDB80E37AC95D5_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUILayoutEntry__cctor_m7425E2D0EE5771858B9823BBD024333CE7CAD3F9_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUILayoutEntry__ctor_m9F3EFD063D306A9EA3A5167D3D852123F569AD1E_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUILayoutEntry__ctor_mC640CA08AEBCC7E479DB6AF5B208436A98AB75B2_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUILayoutGroup_Add_mD964666892B1B23093B7BE6BE3F135423405D951_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUILayoutGroup_ApplyOptions_mCBAF4F0DA13F941ABF47886054A3443247767A97_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUILayoutGroup_CalcHeight_m0511BD2172BC13D54ABC8DB5887A91C17E9F21BB_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUILayoutGroup_CalcWidth_m0D2819C659392B14175C2B163DD889AD35794A9B_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUILayoutGroup_GetNext_m0C486106E3ABC96620C4A0AF67CE12BF09C347B9_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUILayoutGroup_SetHorizontal_m0AFB617E7BB6B32431BA65873B27660E6E5C9E51_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUILayoutGroup_SetVertical_m29D8744D2D1464EF4E6E4008CD21F5E44D6CB146_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUILayoutGroup_ToString_mF66B820B07A33FFA240FBBE20A6F39C492B52372_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUILayoutGroup__ctor_m14D8B35B4A89F6688D354A534ED871860905BA3B_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUILayoutUtility_BeginLayoutGroup_mBB7F6DDEC9574A704D2034E26FAABF882C37CD9B_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUILayoutUtility_BeginWindow_mB3475D9BE89CF26AB0E6F0D46B1930F1874EB132_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUILayoutUtility_Begin_m6876A33199599688408A4AD364069090E833B237_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUILayoutUtility_CreateGUILayoutGroupInstanceOfType_mA19EA3B8F8E86338A28A0C3E819766602D52F7EF_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUILayoutUtility_DoGetRect_m9F6CBD0C8F16A10C2B175D7DE81DF2B263533A2C_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUILayoutUtility_EndLayoutGroup_m15DAE05C04F1499BFB0711B741708C35CA0D4657_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUILayoutUtility_GetRect_m00D9C2F1117D9D9A55782A8C03CCBC0A88AF924D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUILayoutUtility_Internal_GetWindowRect_mE35BED0433EE8BD928CD52681620519E647A1DA9_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUILayoutUtility_Internal_MoveWindow_mFCB2DFE399B833D263138CF0A57626AFF52CB037_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUILayoutUtility_LayoutFreeGroup_m890E6BD9614C48B151D61F197251E3DBAC637967_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUILayoutUtility_LayoutFromEditorWindow_mBE82BE965B54F68E7090952684C86BFF0538AB52_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUILayoutUtility_LayoutSingleGroup_m0BE91E195E4E2FC8B5B491783AFACBD1310F15A1_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUILayoutUtility_Layout_mB01F00635FD538214B47A545C53E4F8C682491B5_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUILayoutUtility_SelectIDList_m230ED9206897C92C5B090B3BBFC9B408603E56FD_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUILayoutUtility__cctor_m6C436C771D62B8982AE0E47DD5D41C607988395F_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUILayout_BeginHorizontal_m33ECFA24DD7DE3538C437C6269F6C1A36DF974CB_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUILayout_BeginHorizontal_m690713D70FD850E74B529E8929492AC80E673902_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUILayout_Button_mACAF3D25298F91F12A312DB687F53258DB0B9918_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUILayout_DoButton_mA734A38FE188C30EB1F9E5D6DFF857B1E904988D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUILayout_DoLabel_mF89C7485ECE53A494E9E6E2156DA28FAE4C9366D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUILayout_EndHorizontal_m1DE9883227F98E1DA9309F1AF1370F1158A658C6_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUILayout_Height_mA5A24D5490022AC6449BBAED9C5A1647184B4026_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUILayout_Label_m0DD571F45BDDDCB45E9D195AB77F3D7050A2A030_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUILayout_Width_mDA8F26D92E788474E09AECA1541E8C920C72DA10_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUISkin_Apply_mA93B0EEE3C2DE1F8D867A472130CDA98814C8A49_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUISkin_BuildStyleCache_m2C68BB5521EAF11FC98C86D7E60008901D61866A_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUISkin_CleanupRoots_m00D215E556265ACF704EA1C31399298DB092BA02_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUISkin_FindStyle_m977BAAD9DE35AC43C9FA2DB52C6C0BDF83EE4706_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUISkin_GetEnumerator_m3F6D91C1C038E5DC24C38F6D23C95DEE03173987_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUISkin_GetStyle_mD292E6470E961CA986674875B78746A1859D5FEC_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUISkin_MakeCurrent_m42FAF8090F6B57648678704D86A6451DB917CF2D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUISkin__ctor_mD75B370774F1DA0C871C8C642299E8DB4B0FABFF_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUISkin_get_error_m40FBD0C57353CBFD8EE75B796E3EADBF9033C47F_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUISkin_set_font_m2602A62DF6F035C7DA9BF4411C5F117022B5C07F_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUIStyleState_Finalize_m68F554CD5B53E9BFC8B952E371D1E18D96D4C626_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUIStyleState_GetGUIStyleState_m207443170D2CA9E48BAB05FF74B30C76C6D63F68_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUIStyle_Finalize_m06DC9D0C766664ACF0D2C8D6BE214756E6361BA4_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUIStyle_SetMouseTooltip_m69607AB3EA166CC12F3851DD54963C03B4551312_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUIStyle_ToString_mE73FFC6A93F4F7BC2560EADEB074F0E81F77CB07_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUIStyle__cctor_mA7579A59C320A9202F6E83B39DADC06C10231D6F_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUIStyle__ctor_m64098019A1065381E9909C513D3B8CA4617EF168_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUIStyle__ctor_m8AA3D5AA506A252687923D0DA80741862AA83805_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUIStyle_get_margin_mFC3EA0FA030A6334AC03BDDFA4AC80419C9E5BAA_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUIStyle_get_none_m2B48FA4E2FA2B9BB7A458DF25B1391F9C7BB8B7B_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUIStyle_get_padding_m5DF76AA03A313366D0DD8D577731DAC4FB83053A_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUITargetAttribute_GetGUITargetAttrValue_mED49CA9A9696B0D52CD6C6D7BA7344EA1F019590_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUIUtility_BeginGUI_m9981BDF2828246EBE4EDA43447EF6DAA74B54C91_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUIUtility_CheckOnGUI_mBFC764B475683BC50E40BD249248CE43DA754873_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUIUtility_EndContainerGUIFromException_m66F073A94FF85A8B7C6D8A4614B43365F0A68042_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUIUtility_EndGUI_mE93B54A19231BCC9DFC68DF54CE7C29DE41A3414_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUIUtility_GetDefaultSkin_m2F1B580445522074FF41CF9906531DBEAB034365_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUIUtility_HasKeyFocus_mC8FCF8AB69DB9ECF737C91B5C2207100CCF7E78A_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUIUtility_IsExitGUIException_mBCCE6118666769B8B767D74496E44D2ECC7AFDD2_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUIUtility_MarkGUIChanged_m624187E89EC5D08B052B8F74B8BFD803EEE53956_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUIUtility_ProcessEvent_mA250CB35828235FE2F8BA5EA7B6592234DA2D312_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUIUtility_RemoveCapture_m37B735649012E93EBEA50DB8708FB6D39DFA4FE9_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUIUtility_ResetGlobalState_m192C9FAE2A4B87F34CB051C4967B8A919A902A5C_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUIUtility_TakeCapture_mE32A66FEEF1DFA8A3DDF3CE310D1C93397B31221_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUIUtility_set_guiIsExiting_m16D5DFFB64483BC588CA6BEA0FAA618E4A227960UnityEngine_IMGUIModule_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUIUtility_set_guiIsExiting_m16D5DFFB64483BC588CA6BEA0FAA618E4A227960_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUIWordWrapSizer_CalcWidth_m06780FB2268985319DB902AD9384B58E4E0F7BD0_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUIWordWrapSizer__ctor_m17FEF18B072A86304EEA6BBADA5410D43FB45D91_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUI_Box_m22F4F78283B657F7589E24BA1EE5B609AE61E510_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUI_Button_m0F0D437C533454A4BF0096E0DC55EEB66366E08D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUI_Button_m28E3F256D52839EBB502B3A6C5DA2E556FF45BC1_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUI_Button_m9315927732E13236FFCE020D2444CF08C26927F5_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUI_Button_mC39C9F8426A10930825737A6D63B7C8DDF24748B_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUI_CallWindowDelegate_m49D5A2E2DAEF525772FAAAA9A840244137BB9175_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUI_DoButton_m3DA80A30ABFA7F00B48683498AEB28ACAAA404ED_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUI_DoControl_m41685E315AD94F9C8E843E87C325BDA537EEBD4B_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUI_DoLabel_m53C45AB327E894B82985776D108C7838AE868D89_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUI_DoSetSkin_mC72F1980793E86E8F33D641A207D2AAB409A71F7_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUI_DoWindow_m1D9A50ADA16097D5DAA5D6327B61BE2B62CF5A77_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUI_Internal_DoWindow_m0491913E9E8699A977CBB0C61997B664AA16D353_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUI_Label_m283D6B1DD970038379FBB974BC5A45F87CA727B6_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUI_Label_m3262E5E30013ECAF83C075710F7761E49BEA5CCE_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUI_Label_mB1E6C064D67D94E1D42D620054958F8375E86BB7_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUI_Window_mEB4F2621947A8A1140E495493A5B35DCF92E31C0_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUI__cctor_m9A902CA13649D04BFB54D86C051A09AC5301ED63_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUI_get_scrollViewStates_m2FAC333F84B90E4F1E1ED5FC8651DC8C4C30B7AFUnityEngine_IMGUIModule_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUI_get_scrollViewStates_m2FAC333F84B90E4F1E1ED5FC8651DC8C4C30B7AF_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUI_get_skin_mF6804BE33CFD74FF0665C1185AC7B5C1687AE866_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUI_set_nextScrollStepTime_m0EBE9A3F5960CD23334E4678D9CF6F5E15CBDE23UnityEngine_IMGUIModule_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUI_set_nextScrollStepTime_m0EBE9A3F5960CD23334E4678D9CF6F5E15CBDE23_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t GUI_set_skin_mFC9EC2E88A46A7F42664C6C41D8CCD9B9BA4DBA0_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t LayoutCache__ctor_mF66D53540321BFD98CA89285D2E8FFDA5014A9CE_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t StringComparer_get_OrdinalIgnoreCase_m3F2527D9A11521E8B51F0AC8F70DB272DA8334C9UnityEngine_IMGUIModule_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TextEditor__ctor_m279158A237B393882E3CC2834C1F7CA7679F79CC_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t WindowFunction_BeginInvoke_m522A6C91248FC9E44284AAB8909F83E5DB2960A2_MetadataUsageId;
struct Delegate_t_marshaled_com;
struct Delegate_t_marshaled_pinvoke;
struct Exception_t_marshaled_com;
struct Exception_t_marshaled_pinvoke;
struct GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5;;
struct GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshaled_com;
struct GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshaled_com;;
struct GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshaled_pinvoke;
struct GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshaled_pinvoke;;
struct GUIStyle_t671F175A201A19166385EE3392292A5F50070572;;
struct GUIStyle_t671F175A201A19166385EE3392292A5F50070572_marshaled_com;
struct GUIStyle_t671F175A201A19166385EE3392292A5F50070572_marshaled_com;;
struct GUIStyle_t671F175A201A19166385EE3392292A5F50070572_marshaled_pinvoke;
struct GUIStyle_t671F175A201A19166385EE3392292A5F50070572_marshaled_pinvoke;;
struct RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A;;
struct RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A_marshaled_com;
struct RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A_marshaled_com;;
struct RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A_marshaled_pinvoke;
struct RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A_marshaled_pinvoke;;
struct DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86;
struct ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A;
struct StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E;
struct GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B;
struct GUIStyleU5BU5D_t2F343713D6ADFF41BBCF1D17BAE79F51BD745DBB;
IL2CPP_EXTERN_C_BEGIN
IL2CPP_EXTERN_C_END
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// <Module>
struct U3CModuleU3E_tB6F5D3E9B5847F75DE623964BF4C6C552D94BB22
{
public:
public:
};
// System.Object
struct Il2CppArrayBounds;
// System.Array
// System.Attribute
struct Attribute_tF048C13FB3C8CFCC53F82290E4A3F621089F9A74 : public RuntimeObject
{
public:
public:
};
// System.Collections.Generic.Dictionary`2_ValueCollection<System.String,UnityEngine.GUIStyle>
struct ValueCollection_t0C6A26D50A89F916DF2650A7C132FFB1992070B9 : public RuntimeObject
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2_ValueCollection::dictionary
Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * ___dictionary_0;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(ValueCollection_t0C6A26D50A89F916DF2650A7C132FFB1992070B9, ___dictionary_0)); }
inline Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2<System.Int32,UnityEngine.GUILayoutUtility_LayoutCache>
struct Dictionary_2_t0F1A21E14D53E05B0F1D474060AC4B36995FBCA1 : public RuntimeObject
{
public:
// System.Int32[] System.Collections.Generic.Dictionary`2::buckets
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* ___buckets_0;
// System.Collections.Generic.Dictionary`2_Entry<TKey,TValue>[] System.Collections.Generic.Dictionary`2::entries
EntryU5BU5D_tDB85180FDDB1D9328F27772D84DA1F4EBCF2FA33* ___entries_1;
// System.Int32 System.Collections.Generic.Dictionary`2::count
int32_t ___count_2;
// System.Int32 System.Collections.Generic.Dictionary`2::version
int32_t ___version_3;
// System.Int32 System.Collections.Generic.Dictionary`2::freeList
int32_t ___freeList_4;
// System.Int32 System.Collections.Generic.Dictionary`2::freeCount
int32_t ___freeCount_5;
// System.Collections.Generic.IEqualityComparer`1<TKey> System.Collections.Generic.Dictionary`2::comparer
RuntimeObject* ___comparer_6;
// System.Collections.Generic.Dictionary`2_KeyCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::keys
KeyCollection_t15CA10AEB86ED7FAC3832F2971163286DE710F7A * ___keys_7;
// System.Collections.Generic.Dictionary`2_ValueCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::values
ValueCollection_t476B74B16EC7028A54263E11CF73F86CF87FC929 * ___values_8;
// System.Object System.Collections.Generic.Dictionary`2::_syncRoot
RuntimeObject * ____syncRoot_9;
public:
inline static int32_t get_offset_of_buckets_0() { return static_cast<int32_t>(offsetof(Dictionary_2_t0F1A21E14D53E05B0F1D474060AC4B36995FBCA1, ___buckets_0)); }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* get_buckets_0() const { return ___buckets_0; }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83** get_address_of_buckets_0() { return &___buckets_0; }
inline void set_buckets_0(Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* value)
{
___buckets_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___buckets_0), (void*)value);
}
inline static int32_t get_offset_of_entries_1() { return static_cast<int32_t>(offsetof(Dictionary_2_t0F1A21E14D53E05B0F1D474060AC4B36995FBCA1, ___entries_1)); }
inline EntryU5BU5D_tDB85180FDDB1D9328F27772D84DA1F4EBCF2FA33* get_entries_1() const { return ___entries_1; }
inline EntryU5BU5D_tDB85180FDDB1D9328F27772D84DA1F4EBCF2FA33** get_address_of_entries_1() { return &___entries_1; }
inline void set_entries_1(EntryU5BU5D_tDB85180FDDB1D9328F27772D84DA1F4EBCF2FA33* value)
{
___entries_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___entries_1), (void*)value);
}
inline static int32_t get_offset_of_count_2() { return static_cast<int32_t>(offsetof(Dictionary_2_t0F1A21E14D53E05B0F1D474060AC4B36995FBCA1, ___count_2)); }
inline int32_t get_count_2() const { return ___count_2; }
inline int32_t* get_address_of_count_2() { return &___count_2; }
inline void set_count_2(int32_t value)
{
___count_2 = value;
}
inline static int32_t get_offset_of_version_3() { return static_cast<int32_t>(offsetof(Dictionary_2_t0F1A21E14D53E05B0F1D474060AC4B36995FBCA1, ___version_3)); }
inline int32_t get_version_3() const { return ___version_3; }
inline int32_t* get_address_of_version_3() { return &___version_3; }
inline void set_version_3(int32_t value)
{
___version_3 = value;
}
inline static int32_t get_offset_of_freeList_4() { return static_cast<int32_t>(offsetof(Dictionary_2_t0F1A21E14D53E05B0F1D474060AC4B36995FBCA1, ___freeList_4)); }
inline int32_t get_freeList_4() const { return ___freeList_4; }
inline int32_t* get_address_of_freeList_4() { return &___freeList_4; }
inline void set_freeList_4(int32_t value)
{
___freeList_4 = value;
}
inline static int32_t get_offset_of_freeCount_5() { return static_cast<int32_t>(offsetof(Dictionary_2_t0F1A21E14D53E05B0F1D474060AC4B36995FBCA1, ___freeCount_5)); }
inline int32_t get_freeCount_5() const { return ___freeCount_5; }
inline int32_t* get_address_of_freeCount_5() { return &___freeCount_5; }
inline void set_freeCount_5(int32_t value)
{
___freeCount_5 = value;
}
inline static int32_t get_offset_of_comparer_6() { return static_cast<int32_t>(offsetof(Dictionary_2_t0F1A21E14D53E05B0F1D474060AC4B36995FBCA1, ___comparer_6)); }
inline RuntimeObject* get_comparer_6() const { return ___comparer_6; }
inline RuntimeObject** get_address_of_comparer_6() { return &___comparer_6; }
inline void set_comparer_6(RuntimeObject* value)
{
___comparer_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___comparer_6), (void*)value);
}
inline static int32_t get_offset_of_keys_7() { return static_cast<int32_t>(offsetof(Dictionary_2_t0F1A21E14D53E05B0F1D474060AC4B36995FBCA1, ___keys_7)); }
inline KeyCollection_t15CA10AEB86ED7FAC3832F2971163286DE710F7A * get_keys_7() const { return ___keys_7; }
inline KeyCollection_t15CA10AEB86ED7FAC3832F2971163286DE710F7A ** get_address_of_keys_7() { return &___keys_7; }
inline void set_keys_7(KeyCollection_t15CA10AEB86ED7FAC3832F2971163286DE710F7A * value)
{
___keys_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___keys_7), (void*)value);
}
inline static int32_t get_offset_of_values_8() { return static_cast<int32_t>(offsetof(Dictionary_2_t0F1A21E14D53E05B0F1D474060AC4B36995FBCA1, ___values_8)); }
inline ValueCollection_t476B74B16EC7028A54263E11CF73F86CF87FC929 * get_values_8() const { return ___values_8; }
inline ValueCollection_t476B74B16EC7028A54263E11CF73F86CF87FC929 ** get_address_of_values_8() { return &___values_8; }
inline void set_values_8(ValueCollection_t476B74B16EC7028A54263E11CF73F86CF87FC929 * value)
{
___values_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___values_8), (void*)value);
}
inline static int32_t get_offset_of__syncRoot_9() { return static_cast<int32_t>(offsetof(Dictionary_2_t0F1A21E14D53E05B0F1D474060AC4B36995FBCA1, ____syncRoot_9)); }
inline RuntimeObject * get__syncRoot_9() const { return ____syncRoot_9; }
inline RuntimeObject ** get_address_of__syncRoot_9() { return &____syncRoot_9; }
inline void set__syncRoot_9(RuntimeObject * value)
{
____syncRoot_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_9), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2<System.String,UnityEngine.GUIStyle>
struct Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A : public RuntimeObject
{
public:
// System.Int32[] System.Collections.Generic.Dictionary`2::buckets
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* ___buckets_0;
// System.Collections.Generic.Dictionary`2_Entry<TKey,TValue>[] System.Collections.Generic.Dictionary`2::entries
EntryU5BU5D_t8A12574AC691436B2D59765B81FBB918B3311350* ___entries_1;
// System.Int32 System.Collections.Generic.Dictionary`2::count
int32_t ___count_2;
// System.Int32 System.Collections.Generic.Dictionary`2::version
int32_t ___version_3;
// System.Int32 System.Collections.Generic.Dictionary`2::freeList
int32_t ___freeList_4;
// System.Int32 System.Collections.Generic.Dictionary`2::freeCount
int32_t ___freeCount_5;
// System.Collections.Generic.IEqualityComparer`1<TKey> System.Collections.Generic.Dictionary`2::comparer
RuntimeObject* ___comparer_6;
// System.Collections.Generic.Dictionary`2_KeyCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::keys
KeyCollection_t7193E33E96305EFB890248510CE390A14EDC2F35 * ___keys_7;
// System.Collections.Generic.Dictionary`2_ValueCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::values
ValueCollection_t0C6A26D50A89F916DF2650A7C132FFB1992070B9 * ___values_8;
// System.Object System.Collections.Generic.Dictionary`2::_syncRoot
RuntimeObject * ____syncRoot_9;
public:
inline static int32_t get_offset_of_buckets_0() { return static_cast<int32_t>(offsetof(Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A, ___buckets_0)); }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* get_buckets_0() const { return ___buckets_0; }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83** get_address_of_buckets_0() { return &___buckets_0; }
inline void set_buckets_0(Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* value)
{
___buckets_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___buckets_0), (void*)value);
}
inline static int32_t get_offset_of_entries_1() { return static_cast<int32_t>(offsetof(Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A, ___entries_1)); }
inline EntryU5BU5D_t8A12574AC691436B2D59765B81FBB918B3311350* get_entries_1() const { return ___entries_1; }
inline EntryU5BU5D_t8A12574AC691436B2D59765B81FBB918B3311350** get_address_of_entries_1() { return &___entries_1; }
inline void set_entries_1(EntryU5BU5D_t8A12574AC691436B2D59765B81FBB918B3311350* value)
{
___entries_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___entries_1), (void*)value);
}
inline static int32_t get_offset_of_count_2() { return static_cast<int32_t>(offsetof(Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A, ___count_2)); }
inline int32_t get_count_2() const { return ___count_2; }
inline int32_t* get_address_of_count_2() { return &___count_2; }
inline void set_count_2(int32_t value)
{
___count_2 = value;
}
inline static int32_t get_offset_of_version_3() { return static_cast<int32_t>(offsetof(Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A, ___version_3)); }
inline int32_t get_version_3() const { return ___version_3; }
inline int32_t* get_address_of_version_3() { return &___version_3; }
inline void set_version_3(int32_t value)
{
___version_3 = value;
}
inline static int32_t get_offset_of_freeList_4() { return static_cast<int32_t>(offsetof(Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A, ___freeList_4)); }
inline int32_t get_freeList_4() const { return ___freeList_4; }
inline int32_t* get_address_of_freeList_4() { return &___freeList_4; }
inline void set_freeList_4(int32_t value)
{
___freeList_4 = value;
}
inline static int32_t get_offset_of_freeCount_5() { return static_cast<int32_t>(offsetof(Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A, ___freeCount_5)); }
inline int32_t get_freeCount_5() const { return ___freeCount_5; }
inline int32_t* get_address_of_freeCount_5() { return &___freeCount_5; }
inline void set_freeCount_5(int32_t value)
{
___freeCount_5 = value;
}
inline static int32_t get_offset_of_comparer_6() { return static_cast<int32_t>(offsetof(Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A, ___comparer_6)); }
inline RuntimeObject* get_comparer_6() const { return ___comparer_6; }
inline RuntimeObject** get_address_of_comparer_6() { return &___comparer_6; }
inline void set_comparer_6(RuntimeObject* value)
{
___comparer_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___comparer_6), (void*)value);
}
inline static int32_t get_offset_of_keys_7() { return static_cast<int32_t>(offsetof(Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A, ___keys_7)); }
inline KeyCollection_t7193E33E96305EFB890248510CE390A14EDC2F35 * get_keys_7() const { return ___keys_7; }
inline KeyCollection_t7193E33E96305EFB890248510CE390A14EDC2F35 ** get_address_of_keys_7() { return &___keys_7; }
inline void set_keys_7(KeyCollection_t7193E33E96305EFB890248510CE390A14EDC2F35 * value)
{
___keys_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___keys_7), (void*)value);
}
inline static int32_t get_offset_of_values_8() { return static_cast<int32_t>(offsetof(Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A, ___values_8)); }
inline ValueCollection_t0C6A26D50A89F916DF2650A7C132FFB1992070B9 * get_values_8() const { return ___values_8; }
inline ValueCollection_t0C6A26D50A89F916DF2650A7C132FFB1992070B9 ** get_address_of_values_8() { return &___values_8; }
inline void set_values_8(ValueCollection_t0C6A26D50A89F916DF2650A7C132FFB1992070B9 * value)
{
___values_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___values_8), (void*)value);
}
inline static int32_t get_offset_of__syncRoot_9() { return static_cast<int32_t>(offsetof(Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A, ____syncRoot_9)); }
inline RuntimeObject * get__syncRoot_9() const { return ____syncRoot_9; }
inline RuntimeObject ** get_address_of__syncRoot_9() { return &____syncRoot_9; }
inline void set__syncRoot_9(RuntimeObject * value)
{
____syncRoot_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_9), (void*)value);
}
};
// System.Collections.Generic.List`1<System.Object>
struct List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ____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;
public:
inline static int32_t get_offset_of__items_1() { return static_cast<int32_t>(offsetof(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D, ____items_1)); }
inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* get__items_1() const { return ____items_1; }
inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____items_1), (void*)value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D, ____size_2)); }
inline int32_t get__size_2() const { return ____size_2; }
inline int32_t* get_address_of__size_2() { return &____size_2; }
inline void set__size_2(int32_t value)
{
____size_2 = value;
}
inline static int32_t get_offset_of__version_3() { return static_cast<int32_t>(offsetof(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D, ____version_3)); }
inline int32_t get__version_3() const { return ____version_3; }
inline int32_t* get_address_of__version_3() { return &____version_3; }
inline void set__version_3(int32_t value)
{
____version_3 = value;
}
inline static int32_t get_offset_of__syncRoot_4() { return static_cast<int32_t>(offsetof(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D, ____syncRoot_4)); }
inline RuntimeObject * get__syncRoot_4() const { return ____syncRoot_4; }
inline RuntimeObject ** get_address_of__syncRoot_4() { return &____syncRoot_4; }
inline void set__syncRoot_4(RuntimeObject * value)
{
____syncRoot_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_4), (void*)value);
}
};
struct List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D_StaticFields, ____emptyArray_5)); }
inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* get__emptyArray_5() const { return ____emptyArray_5; }
inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Collections.Generic.List`1<UnityEngine.GUILayoutEntry>
struct List_1_t046427F3923444CF746C550FD96A3D0E4189D273 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
GUILayoutEntryU5BU5D_tABE834456D53BDC45598E951D6FBF94E97BDADFD* ____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;
public:
inline static int32_t get_offset_of__items_1() { return static_cast<int32_t>(offsetof(List_1_t046427F3923444CF746C550FD96A3D0E4189D273, ____items_1)); }
inline GUILayoutEntryU5BU5D_tABE834456D53BDC45598E951D6FBF94E97BDADFD* get__items_1() const { return ____items_1; }
inline GUILayoutEntryU5BU5D_tABE834456D53BDC45598E951D6FBF94E97BDADFD** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(GUILayoutEntryU5BU5D_tABE834456D53BDC45598E951D6FBF94E97BDADFD* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____items_1), (void*)value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t046427F3923444CF746C550FD96A3D0E4189D273, ____size_2)); }
inline int32_t get__size_2() const { return ____size_2; }
inline int32_t* get_address_of__size_2() { return &____size_2; }
inline void set__size_2(int32_t value)
{
____size_2 = value;
}
inline static int32_t get_offset_of__version_3() { return static_cast<int32_t>(offsetof(List_1_t046427F3923444CF746C550FD96A3D0E4189D273, ____version_3)); }
inline int32_t get__version_3() const { return ____version_3; }
inline int32_t* get_address_of__version_3() { return &____version_3; }
inline void set__version_3(int32_t value)
{
____version_3 = value;
}
inline static int32_t get_offset_of__syncRoot_4() { return static_cast<int32_t>(offsetof(List_1_t046427F3923444CF746C550FD96A3D0E4189D273, ____syncRoot_4)); }
inline RuntimeObject * get__syncRoot_4() const { return ____syncRoot_4; }
inline RuntimeObject ** get_address_of__syncRoot_4() { return &____syncRoot_4; }
inline void set__syncRoot_4(RuntimeObject * value)
{
____syncRoot_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_4), (void*)value);
}
};
struct List_1_t046427F3923444CF746C550FD96A3D0E4189D273_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
GUILayoutEntryU5BU5D_tABE834456D53BDC45598E951D6FBF94E97BDADFD* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t046427F3923444CF746C550FD96A3D0E4189D273_StaticFields, ____emptyArray_5)); }
inline GUILayoutEntryU5BU5D_tABE834456D53BDC45598E951D6FBF94E97BDADFD* get__emptyArray_5() const { return ____emptyArray_5; }
inline GUILayoutEntryU5BU5D_tABE834456D53BDC45598E951D6FBF94E97BDADFD** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(GUILayoutEntryU5BU5D_tABE834456D53BDC45598E951D6FBF94E97BDADFD* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Collections.Stack
struct Stack_t37723B68CC4FFD95F0F3D06A5D42D7DEE7569643 : public RuntimeObject
{
public:
// System.Object[] System.Collections.Stack::_array
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ____array_0;
// System.Int32 System.Collections.Stack::_size
int32_t ____size_1;
// System.Int32 System.Collections.Stack::_version
int32_t ____version_2;
public:
inline static int32_t get_offset_of__array_0() { return static_cast<int32_t>(offsetof(Stack_t37723B68CC4FFD95F0F3D06A5D42D7DEE7569643, ____array_0)); }
inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* get__array_0() const { return ____array_0; }
inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A** get_address_of__array_0() { return &____array_0; }
inline void set__array_0(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* value)
{
____array_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&____array_0), (void*)value);
}
inline static int32_t get_offset_of__size_1() { return static_cast<int32_t>(offsetof(Stack_t37723B68CC4FFD95F0F3D06A5D42D7DEE7569643, ____size_1)); }
inline int32_t get__size_1() const { return ____size_1; }
inline int32_t* get_address_of__size_1() { return &____size_1; }
inline void set__size_1(int32_t value)
{
____size_1 = value;
}
inline static int32_t get_offset_of__version_2() { return static_cast<int32_t>(offsetof(Stack_t37723B68CC4FFD95F0F3D06A5D42D7DEE7569643, ____version_2)); }
inline int32_t get__version_2() const { return ____version_2; }
inline int32_t* get_address_of__version_2() { return &____version_2; }
inline void set__version_2(int32_t value)
{
____version_2 = value;
}
};
// System.Reflection.MemberInfo
struct MemberInfo_t : public RuntimeObject
{
public:
public:
};
// System.String
struct String_t : public RuntimeObject
{
public:
// System.Int32 System.String::m_stringLength
int32_t ___m_stringLength_0;
// System.Char System.String::m_firstChar
Il2CppChar ___m_firstChar_1;
public:
inline static int32_t get_offset_of_m_stringLength_0() { return static_cast<int32_t>(offsetof(String_t, ___m_stringLength_0)); }
inline int32_t get_m_stringLength_0() const { return ___m_stringLength_0; }
inline int32_t* get_address_of_m_stringLength_0() { return &___m_stringLength_0; }
inline void set_m_stringLength_0(int32_t value)
{
___m_stringLength_0 = value;
}
inline static int32_t get_offset_of_m_firstChar_1() { return static_cast<int32_t>(offsetof(String_t, ___m_firstChar_1)); }
inline Il2CppChar get_m_firstChar_1() const { return ___m_firstChar_1; }
inline Il2CppChar* get_address_of_m_firstChar_1() { return &___m_firstChar_1; }
inline void set_m_firstChar_1(Il2CppChar value)
{
___m_firstChar_1 = value;
}
};
struct String_t_StaticFields
{
public:
// System.String System.String::Empty
String_t* ___Empty_5;
public:
inline static int32_t get_offset_of_Empty_5() { return static_cast<int32_t>(offsetof(String_t_StaticFields, ___Empty_5)); }
inline String_t* get_Empty_5() const { return ___Empty_5; }
inline String_t** get_address_of_Empty_5() { return &___Empty_5; }
inline void set_Empty_5(String_t* value)
{
___Empty_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Empty_5), (void*)value);
}
};
// System.StringComparer
struct StringComparer_t588BC7FEF85D6E7425E0A8147A3D5A334F1F82DE : public RuntimeObject
{
public:
public:
};
struct StringComparer_t588BC7FEF85D6E7425E0A8147A3D5A334F1F82DE_StaticFields
{
public:
// System.StringComparer System.StringComparer::_invariantCulture
StringComparer_t588BC7FEF85D6E7425E0A8147A3D5A334F1F82DE * ____invariantCulture_0;
// System.StringComparer System.StringComparer::_invariantCultureIgnoreCase
StringComparer_t588BC7FEF85D6E7425E0A8147A3D5A334F1F82DE * ____invariantCultureIgnoreCase_1;
// System.StringComparer System.StringComparer::_ordinal
StringComparer_t588BC7FEF85D6E7425E0A8147A3D5A334F1F82DE * ____ordinal_2;
// System.StringComparer System.StringComparer::_ordinalIgnoreCase
StringComparer_t588BC7FEF85D6E7425E0A8147A3D5A334F1F82DE * ____ordinalIgnoreCase_3;
public:
inline static int32_t get_offset_of__invariantCulture_0() { return static_cast<int32_t>(offsetof(StringComparer_t588BC7FEF85D6E7425E0A8147A3D5A334F1F82DE_StaticFields, ____invariantCulture_0)); }
inline StringComparer_t588BC7FEF85D6E7425E0A8147A3D5A334F1F82DE * get__invariantCulture_0() const { return ____invariantCulture_0; }
inline StringComparer_t588BC7FEF85D6E7425E0A8147A3D5A334F1F82DE ** get_address_of__invariantCulture_0() { return &____invariantCulture_0; }
inline void set__invariantCulture_0(StringComparer_t588BC7FEF85D6E7425E0A8147A3D5A334F1F82DE * value)
{
____invariantCulture_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&____invariantCulture_0), (void*)value);
}
inline static int32_t get_offset_of__invariantCultureIgnoreCase_1() { return static_cast<int32_t>(offsetof(StringComparer_t588BC7FEF85D6E7425E0A8147A3D5A334F1F82DE_StaticFields, ____invariantCultureIgnoreCase_1)); }
inline StringComparer_t588BC7FEF85D6E7425E0A8147A3D5A334F1F82DE * get__invariantCultureIgnoreCase_1() const { return ____invariantCultureIgnoreCase_1; }
inline StringComparer_t588BC7FEF85D6E7425E0A8147A3D5A334F1F82DE ** get_address_of__invariantCultureIgnoreCase_1() { return &____invariantCultureIgnoreCase_1; }
inline void set__invariantCultureIgnoreCase_1(StringComparer_t588BC7FEF85D6E7425E0A8147A3D5A334F1F82DE * value)
{
____invariantCultureIgnoreCase_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____invariantCultureIgnoreCase_1), (void*)value);
}
inline static int32_t get_offset_of__ordinal_2() { return static_cast<int32_t>(offsetof(StringComparer_t588BC7FEF85D6E7425E0A8147A3D5A334F1F82DE_StaticFields, ____ordinal_2)); }
inline StringComparer_t588BC7FEF85D6E7425E0A8147A3D5A334F1F82DE * get__ordinal_2() const { return ____ordinal_2; }
inline StringComparer_t588BC7FEF85D6E7425E0A8147A3D5A334F1F82DE ** get_address_of__ordinal_2() { return &____ordinal_2; }
inline void set__ordinal_2(StringComparer_t588BC7FEF85D6E7425E0A8147A3D5A334F1F82DE * value)
{
____ordinal_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&____ordinal_2), (void*)value);
}
inline static int32_t get_offset_of__ordinalIgnoreCase_3() { return static_cast<int32_t>(offsetof(StringComparer_t588BC7FEF85D6E7425E0A8147A3D5A334F1F82DE_StaticFields, ____ordinalIgnoreCase_3)); }
inline StringComparer_t588BC7FEF85D6E7425E0A8147A3D5A334F1F82DE * get__ordinalIgnoreCase_3() const { return ____ordinalIgnoreCase_3; }
inline StringComparer_t588BC7FEF85D6E7425E0A8147A3D5A334F1F82DE ** get_address_of__ordinalIgnoreCase_3() { return &____ordinalIgnoreCase_3; }
inline void set__ordinalIgnoreCase_3(StringComparer_t588BC7FEF85D6E7425E0A8147A3D5A334F1F82DE * value)
{
____ordinalIgnoreCase_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&____ordinalIgnoreCase_3), (void*)value);
}
};
// System.ValueType
struct ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF : public RuntimeObject
{
public:
public:
};
// Native definition for P/Invoke marshalling of System.ValueType
struct ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF_marshaled_pinvoke
{
};
// Native definition for COM marshalling of System.ValueType
struct ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF_marshaled_com
{
};
// UnityEngine.GUIClip
struct GUIClip_tD8FEFCDA2C4A085BA10BDDFF5B74095F114B2B61 : public RuntimeObject
{
public:
public:
};
// UnityEngine.GUIContent
struct GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 : public RuntimeObject
{
public:
// System.String UnityEngine.GUIContent::m_Text
String_t* ___m_Text_0;
// UnityEngine.Texture UnityEngine.GUIContent::m_Image
Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4 * ___m_Image_1;
// System.String UnityEngine.GUIContent::m_Tooltip
String_t* ___m_Tooltip_2;
public:
inline static int32_t get_offset_of_m_Text_0() { return static_cast<int32_t>(offsetof(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0, ___m_Text_0)); }
inline String_t* get_m_Text_0() const { return ___m_Text_0; }
inline String_t** get_address_of_m_Text_0() { return &___m_Text_0; }
inline void set_m_Text_0(String_t* value)
{
___m_Text_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Text_0), (void*)value);
}
inline static int32_t get_offset_of_m_Image_1() { return static_cast<int32_t>(offsetof(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0, ___m_Image_1)); }
inline Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4 * get_m_Image_1() const { return ___m_Image_1; }
inline Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4 ** get_address_of_m_Image_1() { return &___m_Image_1; }
inline void set_m_Image_1(Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4 * value)
{
___m_Image_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Image_1), (void*)value);
}
inline static int32_t get_offset_of_m_Tooltip_2() { return static_cast<int32_t>(offsetof(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0, ___m_Tooltip_2)); }
inline String_t* get_m_Tooltip_2() const { return ___m_Tooltip_2; }
inline String_t** get_address_of_m_Tooltip_2() { return &___m_Tooltip_2; }
inline void set_m_Tooltip_2(String_t* value)
{
___m_Tooltip_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Tooltip_2), (void*)value);
}
};
struct GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_StaticFields
{
public:
// UnityEngine.GUIContent UnityEngine.GUIContent::s_Text
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___s_Text_3;
// UnityEngine.GUIContent UnityEngine.GUIContent::s_Image
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___s_Image_4;
// UnityEngine.GUIContent UnityEngine.GUIContent::s_TextImage
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___s_TextImage_5;
// UnityEngine.GUIContent UnityEngine.GUIContent::none
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___none_6;
public:
inline static int32_t get_offset_of_s_Text_3() { return static_cast<int32_t>(offsetof(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_StaticFields, ___s_Text_3)); }
inline GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * get_s_Text_3() const { return ___s_Text_3; }
inline GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 ** get_address_of_s_Text_3() { return &___s_Text_3; }
inline void set_s_Text_3(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * value)
{
___s_Text_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_Text_3), (void*)value);
}
inline static int32_t get_offset_of_s_Image_4() { return static_cast<int32_t>(offsetof(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_StaticFields, ___s_Image_4)); }
inline GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * get_s_Image_4() const { return ___s_Image_4; }
inline GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 ** get_address_of_s_Image_4() { return &___s_Image_4; }
inline void set_s_Image_4(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * value)
{
___s_Image_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_Image_4), (void*)value);
}
inline static int32_t get_offset_of_s_TextImage_5() { return static_cast<int32_t>(offsetof(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_StaticFields, ___s_TextImage_5)); }
inline GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * get_s_TextImage_5() const { return ___s_TextImage_5; }
inline GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 ** get_address_of_s_TextImage_5() { return &___s_TextImage_5; }
inline void set_s_TextImage_5(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * value)
{
___s_TextImage_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_TextImage_5), (void*)value);
}
inline static int32_t get_offset_of_none_6() { return static_cast<int32_t>(offsetof(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_StaticFields, ___none_6)); }
inline GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * get_none_6() const { return ___none_6; }
inline GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 ** get_address_of_none_6() { return &___none_6; }
inline void set_none_6(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * value)
{
___none_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___none_6), (void*)value);
}
};
// Native definition for P/Invoke marshalling of UnityEngine.GUIContent
struct GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_marshaled_pinvoke
{
char* ___m_Text_0;
Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4 * ___m_Image_1;
char* ___m_Tooltip_2;
};
// Native definition for COM marshalling of UnityEngine.GUIContent
struct GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_marshaled_com
{
Il2CppChar* ___m_Text_0;
Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4 * ___m_Image_1;
Il2CppChar* ___m_Tooltip_2;
};
// UnityEngine.GUILayout
struct GUILayout_t5BDBA9AE696E27285227012F08642F97F2CCE2EC : public RuntimeObject
{
public:
public:
};
// UnityEngine.GUILayoutUtility_LayoutCache
struct LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 : public RuntimeObject
{
public:
// UnityEngine.GUILayoutGroup UnityEngine.GUILayoutUtility_LayoutCache::topLevel
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * ___topLevel_0;
// UnityEngineInternal.GenericStack UnityEngine.GUILayoutUtility_LayoutCache::layoutGroups
GenericStack_tC59D21E8DBC50F3C608479C942200AC44CA2D5BC * ___layoutGroups_1;
// UnityEngine.GUILayoutGroup UnityEngine.GUILayoutUtility_LayoutCache::windows
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * ___windows_2;
public:
inline static int32_t get_offset_of_topLevel_0() { return static_cast<int32_t>(offsetof(LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468, ___topLevel_0)); }
inline GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * get_topLevel_0() const { return ___topLevel_0; }
inline GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 ** get_address_of_topLevel_0() { return &___topLevel_0; }
inline void set_topLevel_0(GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * value)
{
___topLevel_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___topLevel_0), (void*)value);
}
inline static int32_t get_offset_of_layoutGroups_1() { return static_cast<int32_t>(offsetof(LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468, ___layoutGroups_1)); }
inline GenericStack_tC59D21E8DBC50F3C608479C942200AC44CA2D5BC * get_layoutGroups_1() const { return ___layoutGroups_1; }
inline GenericStack_tC59D21E8DBC50F3C608479C942200AC44CA2D5BC ** get_address_of_layoutGroups_1() { return &___layoutGroups_1; }
inline void set_layoutGroups_1(GenericStack_tC59D21E8DBC50F3C608479C942200AC44CA2D5BC * value)
{
___layoutGroups_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___layoutGroups_1), (void*)value);
}
inline static int32_t get_offset_of_windows_2() { return static_cast<int32_t>(offsetof(LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468, ___windows_2)); }
inline GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * get_windows_2() const { return ___windows_2; }
inline GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 ** get_address_of_windows_2() { return &___windows_2; }
inline void set_windows_2(GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * value)
{
___windows_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___windows_2), (void*)value);
}
};
// UnityEngine.GUIUtility
struct GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA : public RuntimeObject
{
public:
public:
};
struct GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_StaticFields
{
public:
// System.Int32 UnityEngine.GUIUtility::s_SkinMode
int32_t ___s_SkinMode_0;
// System.Int32 UnityEngine.GUIUtility::s_OriginalID
int32_t ___s_OriginalID_1;
// System.Action UnityEngine.GUIUtility::takeCapture
Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * ___takeCapture_2;
// System.Action UnityEngine.GUIUtility::releaseCapture
Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * ___releaseCapture_3;
// System.Func`3<System.Int32,System.IntPtr,System.Boolean> UnityEngine.GUIUtility::processEvent
Func_3_tBD99633D8A18C43CC528ECE3F77E2F69900048A7 * ___processEvent_4;
// System.Func`2<System.Exception,System.Boolean> UnityEngine.GUIUtility::endContainerGUIFromException
Func_2_tC816C5FDED4A7372C449E7660CAB9F94E2AC12F8 * ___endContainerGUIFromException_5;
// System.Action UnityEngine.GUIUtility::guiChanged
Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * ___guiChanged_6;
// System.Boolean UnityEngine.GUIUtility::<guiIsExiting>k__BackingField
bool ___U3CguiIsExitingU3Ek__BackingField_7;
// System.Func`1<System.Boolean> UnityEngine.GUIUtility::s_HasCurrentWindowKeyFocusFunc
Func_1_t4ABD6DAD480574F152452DD6B9C9A55F4F6655F1 * ___s_HasCurrentWindowKeyFocusFunc_8;
public:
inline static int32_t get_offset_of_s_SkinMode_0() { return static_cast<int32_t>(offsetof(GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_StaticFields, ___s_SkinMode_0)); }
inline int32_t get_s_SkinMode_0() const { return ___s_SkinMode_0; }
inline int32_t* get_address_of_s_SkinMode_0() { return &___s_SkinMode_0; }
inline void set_s_SkinMode_0(int32_t value)
{
___s_SkinMode_0 = value;
}
inline static int32_t get_offset_of_s_OriginalID_1() { return static_cast<int32_t>(offsetof(GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_StaticFields, ___s_OriginalID_1)); }
inline int32_t get_s_OriginalID_1() const { return ___s_OriginalID_1; }
inline int32_t* get_address_of_s_OriginalID_1() { return &___s_OriginalID_1; }
inline void set_s_OriginalID_1(int32_t value)
{
___s_OriginalID_1 = value;
}
inline static int32_t get_offset_of_takeCapture_2() { return static_cast<int32_t>(offsetof(GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_StaticFields, ___takeCapture_2)); }
inline Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * get_takeCapture_2() const { return ___takeCapture_2; }
inline Action_t591D2A86165F896B4B800BB5C25CE18672A55579 ** get_address_of_takeCapture_2() { return &___takeCapture_2; }
inline void set_takeCapture_2(Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * value)
{
___takeCapture_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___takeCapture_2), (void*)value);
}
inline static int32_t get_offset_of_releaseCapture_3() { return static_cast<int32_t>(offsetof(GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_StaticFields, ___releaseCapture_3)); }
inline Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * get_releaseCapture_3() const { return ___releaseCapture_3; }
inline Action_t591D2A86165F896B4B800BB5C25CE18672A55579 ** get_address_of_releaseCapture_3() { return &___releaseCapture_3; }
inline void set_releaseCapture_3(Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * value)
{
___releaseCapture_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___releaseCapture_3), (void*)value);
}
inline static int32_t get_offset_of_processEvent_4() { return static_cast<int32_t>(offsetof(GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_StaticFields, ___processEvent_4)); }
inline Func_3_tBD99633D8A18C43CC528ECE3F77E2F69900048A7 * get_processEvent_4() const { return ___processEvent_4; }
inline Func_3_tBD99633D8A18C43CC528ECE3F77E2F69900048A7 ** get_address_of_processEvent_4() { return &___processEvent_4; }
inline void set_processEvent_4(Func_3_tBD99633D8A18C43CC528ECE3F77E2F69900048A7 * value)
{
___processEvent_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___processEvent_4), (void*)value);
}
inline static int32_t get_offset_of_endContainerGUIFromException_5() { return static_cast<int32_t>(offsetof(GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_StaticFields, ___endContainerGUIFromException_5)); }
inline Func_2_tC816C5FDED4A7372C449E7660CAB9F94E2AC12F8 * get_endContainerGUIFromException_5() const { return ___endContainerGUIFromException_5; }
inline Func_2_tC816C5FDED4A7372C449E7660CAB9F94E2AC12F8 ** get_address_of_endContainerGUIFromException_5() { return &___endContainerGUIFromException_5; }
inline void set_endContainerGUIFromException_5(Func_2_tC816C5FDED4A7372C449E7660CAB9F94E2AC12F8 * value)
{
___endContainerGUIFromException_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___endContainerGUIFromException_5), (void*)value);
}
inline static int32_t get_offset_of_guiChanged_6() { return static_cast<int32_t>(offsetof(GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_StaticFields, ___guiChanged_6)); }
inline Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * get_guiChanged_6() const { return ___guiChanged_6; }
inline Action_t591D2A86165F896B4B800BB5C25CE18672A55579 ** get_address_of_guiChanged_6() { return &___guiChanged_6; }
inline void set_guiChanged_6(Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * value)
{
___guiChanged_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___guiChanged_6), (void*)value);
}
inline static int32_t get_offset_of_U3CguiIsExitingU3Ek__BackingField_7() { return static_cast<int32_t>(offsetof(GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_StaticFields, ___U3CguiIsExitingU3Ek__BackingField_7)); }
inline bool get_U3CguiIsExitingU3Ek__BackingField_7() const { return ___U3CguiIsExitingU3Ek__BackingField_7; }
inline bool* get_address_of_U3CguiIsExitingU3Ek__BackingField_7() { return &___U3CguiIsExitingU3Ek__BackingField_7; }
inline void set_U3CguiIsExitingU3Ek__BackingField_7(bool value)
{
___U3CguiIsExitingU3Ek__BackingField_7 = value;
}
inline static int32_t get_offset_of_s_HasCurrentWindowKeyFocusFunc_8() { return static_cast<int32_t>(offsetof(GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_StaticFields, ___s_HasCurrentWindowKeyFocusFunc_8)); }
inline Func_1_t4ABD6DAD480574F152452DD6B9C9A55F4F6655F1 * get_s_HasCurrentWindowKeyFocusFunc_8() const { return ___s_HasCurrentWindowKeyFocusFunc_8; }
inline Func_1_t4ABD6DAD480574F152452DD6B9C9A55F4F6655F1 ** get_address_of_s_HasCurrentWindowKeyFocusFunc_8() { return &___s_HasCurrentWindowKeyFocusFunc_8; }
inline void set_s_HasCurrentWindowKeyFocusFunc_8(Func_1_t4ABD6DAD480574F152452DD6B9C9A55F4F6655F1 * value)
{
___s_HasCurrentWindowKeyFocusFunc_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_HasCurrentWindowKeyFocusFunc_8), (void*)value);
}
};
// UnityEngine.ScrollViewState
struct ScrollViewState_t738AAD89973B4E764B6F977945263C24A881428E : public RuntimeObject
{
public:
public:
};
// UnityEngine.SliderState
struct SliderState_t6081D6F2CF6D0F1A13B2A2D255671B4053EC52CB : public RuntimeObject
{
public:
public:
};
// System.Boolean
struct Boolean_tB53F6830F670160873277339AA58F15CAED4399C
{
public:
// System.Boolean System.Boolean::m_value
bool ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Boolean_tB53F6830F670160873277339AA58F15CAED4399C, ___m_value_0)); }
inline bool get_m_value_0() const { return ___m_value_0; }
inline bool* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(bool value)
{
___m_value_0 = value;
}
};
struct Boolean_tB53F6830F670160873277339AA58F15CAED4399C_StaticFields
{
public:
// System.String System.Boolean::TrueString
String_t* ___TrueString_5;
// System.String System.Boolean::FalseString
String_t* ___FalseString_6;
public:
inline static int32_t get_offset_of_TrueString_5() { return static_cast<int32_t>(offsetof(Boolean_tB53F6830F670160873277339AA58F15CAED4399C_StaticFields, ___TrueString_5)); }
inline String_t* get_TrueString_5() const { return ___TrueString_5; }
inline String_t** get_address_of_TrueString_5() { return &___TrueString_5; }
inline void set_TrueString_5(String_t* value)
{
___TrueString_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___TrueString_5), (void*)value);
}
inline static int32_t get_offset_of_FalseString_6() { return static_cast<int32_t>(offsetof(Boolean_tB53F6830F670160873277339AA58F15CAED4399C_StaticFields, ___FalseString_6)); }
inline String_t* get_FalseString_6() const { return ___FalseString_6; }
inline String_t** get_address_of_FalseString_6() { return &___FalseString_6; }
inline void set_FalseString_6(String_t* value)
{
___FalseString_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___FalseString_6), (void*)value);
}
};
// System.Char
struct Char_tBF22D9FC341BE970735250BB6FF1A4A92BBA58B9
{
public:
// System.Char System.Char::m_value
Il2CppChar ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Char_tBF22D9FC341BE970735250BB6FF1A4A92BBA58B9, ___m_value_0)); }
inline Il2CppChar get_m_value_0() const { return ___m_value_0; }
inline Il2CppChar* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(Il2CppChar value)
{
___m_value_0 = value;
}
};
struct Char_tBF22D9FC341BE970735250BB6FF1A4A92BBA58B9_StaticFields
{
public:
// System.Byte[] System.Char::categoryForLatin1
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___categoryForLatin1_3;
public:
inline static int32_t get_offset_of_categoryForLatin1_3() { return static_cast<int32_t>(offsetof(Char_tBF22D9FC341BE970735250BB6FF1A4A92BBA58B9_StaticFields, ___categoryForLatin1_3)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_categoryForLatin1_3() const { return ___categoryForLatin1_3; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_categoryForLatin1_3() { return &___categoryForLatin1_3; }
inline void set_categoryForLatin1_3(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___categoryForLatin1_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___categoryForLatin1_3), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2_ValueCollection_Enumerator<System.Object,System.Object>
struct Enumerator_tB5076FB1730C18188DBB208FD1B6870FC5A660E6
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2_ValueCollection_Enumerator::dictionary
Dictionary_2_t32F25F093828AA9F93CB11C2A2B4648FD62A09BA * ___dictionary_0;
// System.Int32 System.Collections.Generic.Dictionary`2_ValueCollection_Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.Dictionary`2_ValueCollection_Enumerator::version
int32_t ___version_2;
// TValue System.Collections.Generic.Dictionary`2_ValueCollection_Enumerator::currentValue
RuntimeObject * ___currentValue_3;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(Enumerator_tB5076FB1730C18188DBB208FD1B6870FC5A660E6, ___dictionary_0)); }
inline Dictionary_2_t32F25F093828AA9F93CB11C2A2B4648FD62A09BA * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_t32F25F093828AA9F93CB11C2A2B4648FD62A09BA ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_t32F25F093828AA9F93CB11C2A2B4648FD62A09BA * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_tB5076FB1730C18188DBB208FD1B6870FC5A660E6, ___index_1)); }
inline int32_t get_index_1() const { return ___index_1; }
inline int32_t* get_address_of_index_1() { return &___index_1; }
inline void set_index_1(int32_t value)
{
___index_1 = value;
}
inline static int32_t get_offset_of_version_2() { return static_cast<int32_t>(offsetof(Enumerator_tB5076FB1730C18188DBB208FD1B6870FC5A660E6, ___version_2)); }
inline int32_t get_version_2() const { return ___version_2; }
inline int32_t* get_address_of_version_2() { return &___version_2; }
inline void set_version_2(int32_t value)
{
___version_2 = value;
}
inline static int32_t get_offset_of_currentValue_3() { return static_cast<int32_t>(offsetof(Enumerator_tB5076FB1730C18188DBB208FD1B6870FC5A660E6, ___currentValue_3)); }
inline RuntimeObject * get_currentValue_3() const { return ___currentValue_3; }
inline RuntimeObject ** get_address_of_currentValue_3() { return &___currentValue_3; }
inline void set_currentValue_3(RuntimeObject * value)
{
___currentValue_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___currentValue_3), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2_ValueCollection_Enumerator<System.String,UnityEngine.GUIStyle>
struct Enumerator_t7CFB6C06FEABB756D0C0A1BA202A13F5091958A6
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2_ValueCollection_Enumerator::dictionary
Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * ___dictionary_0;
// System.Int32 System.Collections.Generic.Dictionary`2_ValueCollection_Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.Dictionary`2_ValueCollection_Enumerator::version
int32_t ___version_2;
// TValue System.Collections.Generic.Dictionary`2_ValueCollection_Enumerator::currentValue
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___currentValue_3;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(Enumerator_t7CFB6C06FEABB756D0C0A1BA202A13F5091958A6, ___dictionary_0)); }
inline Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_t7CFB6C06FEABB756D0C0A1BA202A13F5091958A6, ___index_1)); }
inline int32_t get_index_1() const { return ___index_1; }
inline int32_t* get_address_of_index_1() { return &___index_1; }
inline void set_index_1(int32_t value)
{
___index_1 = value;
}
inline static int32_t get_offset_of_version_2() { return static_cast<int32_t>(offsetof(Enumerator_t7CFB6C06FEABB756D0C0A1BA202A13F5091958A6, ___version_2)); }
inline int32_t get_version_2() const { return ___version_2; }
inline int32_t* get_address_of_version_2() { return &___version_2; }
inline void set_version_2(int32_t value)
{
___version_2 = value;
}
inline static int32_t get_offset_of_currentValue_3() { return static_cast<int32_t>(offsetof(Enumerator_t7CFB6C06FEABB756D0C0A1BA202A13F5091958A6, ___currentValue_3)); }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * get_currentValue_3() const { return ___currentValue_3; }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 ** get_address_of_currentValue_3() { return &___currentValue_3; }
inline void set_currentValue_3(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * value)
{
___currentValue_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___currentValue_3), (void*)value);
}
};
// System.Collections.Generic.List`1_Enumerator<System.Object>
struct Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1_Enumerator::list
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___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;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD, ___list_0)); }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * get_list_0() const { return ___list_0; }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD, ___index_1)); }
inline int32_t get_index_1() const { return ___index_1; }
inline int32_t* get_address_of_index_1() { return &___index_1; }
inline void set_index_1(int32_t value)
{
___index_1 = value;
}
inline static int32_t get_offset_of_version_2() { return static_cast<int32_t>(offsetof(Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD, ___version_2)); }
inline int32_t get_version_2() const { return ___version_2; }
inline int32_t* get_address_of_version_2() { return &___version_2; }
inline void set_version_2(int32_t value)
{
___version_2 = value;
}
inline static int32_t get_offset_of_current_3() { return static_cast<int32_t>(offsetof(Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD, ___current_3)); }
inline RuntimeObject * get_current_3() const { return ___current_3; }
inline RuntimeObject ** get_address_of_current_3() { return &___current_3; }
inline void set_current_3(RuntimeObject * value)
{
___current_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___current_3), (void*)value);
}
};
// System.Collections.Generic.List`1_Enumerator<UnityEngine.GUILayoutEntry>
struct Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1_Enumerator::list
List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * ___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
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587, ___list_0)); }
inline List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * get_list_0() const { return ___list_0; }
inline List_1_t046427F3923444CF746C550FD96A3D0E4189D273 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587, ___index_1)); }
inline int32_t get_index_1() const { return ___index_1; }
inline int32_t* get_address_of_index_1() { return &___index_1; }
inline void set_index_1(int32_t value)
{
___index_1 = value;
}
inline static int32_t get_offset_of_version_2() { return static_cast<int32_t>(offsetof(Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587, ___version_2)); }
inline int32_t get_version_2() const { return ___version_2; }
inline int32_t* get_address_of_version_2() { return &___version_2; }
inline void set_version_2(int32_t value)
{
___version_2 = value;
}
inline static int32_t get_offset_of_current_3() { return static_cast<int32_t>(offsetof(Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587, ___current_3)); }
inline GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * get_current_3() const { return ___current_3; }
inline GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 ** get_address_of_current_3() { return &___current_3; }
inline void set_current_3(GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * value)
{
___current_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___current_3), (void*)value);
}
};
// System.DateTime
struct DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132
{
public:
// System.UInt64 System.DateTime::dateData
uint64_t ___dateData_44;
public:
inline static int32_t get_offset_of_dateData_44() { return static_cast<int32_t>(offsetof(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132, ___dateData_44)); }
inline uint64_t get_dateData_44() const { return ___dateData_44; }
inline uint64_t* get_address_of_dateData_44() { return &___dateData_44; }
inline void set_dateData_44(uint64_t value)
{
___dateData_44 = value;
}
};
struct DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_StaticFields
{
public:
// System.Int32[] System.DateTime::DaysToMonth365
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* ___DaysToMonth365_29;
// System.Int32[] System.DateTime::DaysToMonth366
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* ___DaysToMonth366_30;
// System.DateTime System.DateTime::MinValue
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___MinValue_31;
// System.DateTime System.DateTime::MaxValue
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___MaxValue_32;
public:
inline static int32_t get_offset_of_DaysToMonth365_29() { return static_cast<int32_t>(offsetof(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_StaticFields, ___DaysToMonth365_29)); }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* get_DaysToMonth365_29() const { return ___DaysToMonth365_29; }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83** get_address_of_DaysToMonth365_29() { return &___DaysToMonth365_29; }
inline void set_DaysToMonth365_29(Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* value)
{
___DaysToMonth365_29 = value;
Il2CppCodeGenWriteBarrier((void**)(&___DaysToMonth365_29), (void*)value);
}
inline static int32_t get_offset_of_DaysToMonth366_30() { return static_cast<int32_t>(offsetof(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_StaticFields, ___DaysToMonth366_30)); }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* get_DaysToMonth366_30() const { return ___DaysToMonth366_30; }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83** get_address_of_DaysToMonth366_30() { return &___DaysToMonth366_30; }
inline void set_DaysToMonth366_30(Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* value)
{
___DaysToMonth366_30 = value;
Il2CppCodeGenWriteBarrier((void**)(&___DaysToMonth366_30), (void*)value);
}
inline static int32_t get_offset_of_MinValue_31() { return static_cast<int32_t>(offsetof(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_StaticFields, ___MinValue_31)); }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 get_MinValue_31() const { return ___MinValue_31; }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * get_address_of_MinValue_31() { return &___MinValue_31; }
inline void set_MinValue_31(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 value)
{
___MinValue_31 = value;
}
inline static int32_t get_offset_of_MaxValue_32() { return static_cast<int32_t>(offsetof(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_StaticFields, ___MaxValue_32)); }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 get_MaxValue_32() const { return ___MaxValue_32; }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * get_address_of_MaxValue_32() { return &___MaxValue_32; }
inline void set_MaxValue_32(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 value)
{
___MaxValue_32 = value;
}
};
// System.Enum
struct Enum_t2AF27C02B8653AE29442467390005ABC74D8F521 : public ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF
{
public:
public:
};
struct Enum_t2AF27C02B8653AE29442467390005ABC74D8F521_StaticFields
{
public:
// System.Char[] System.Enum::enumSeperatorCharArray
CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* ___enumSeperatorCharArray_0;
public:
inline static int32_t get_offset_of_enumSeperatorCharArray_0() { return static_cast<int32_t>(offsetof(Enum_t2AF27C02B8653AE29442467390005ABC74D8F521_StaticFields, ___enumSeperatorCharArray_0)); }
inline CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* get_enumSeperatorCharArray_0() const { return ___enumSeperatorCharArray_0; }
inline CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2** get_address_of_enumSeperatorCharArray_0() { return &___enumSeperatorCharArray_0; }
inline void set_enumSeperatorCharArray_0(CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* value)
{
___enumSeperatorCharArray_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___enumSeperatorCharArray_0), (void*)value);
}
};
// Native definition for P/Invoke marshalling of System.Enum
struct Enum_t2AF27C02B8653AE29442467390005ABC74D8F521_marshaled_pinvoke
{
};
// Native definition for COM marshalling of System.Enum
struct Enum_t2AF27C02B8653AE29442467390005ABC74D8F521_marshaled_com
{
};
// System.Int32
struct Int32_t585191389E07734F19F3156FF88FB3EF4800D102
{
public:
// System.Int32 System.Int32::m_value
int32_t ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Int32_t585191389E07734F19F3156FF88FB3EF4800D102, ___m_value_0)); }
inline int32_t get_m_value_0() const { return ___m_value_0; }
inline int32_t* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(int32_t value)
{
___m_value_0 = value;
}
};
// System.IntPtr
struct IntPtr_t
{
public:
// System.Void* System.IntPtr::m_value
void* ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(IntPtr_t, ___m_value_0)); }
inline void* get_m_value_0() const { return ___m_value_0; }
inline void** get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(void* value)
{
___m_value_0 = value;
}
};
struct IntPtr_t_StaticFields
{
public:
// System.IntPtr System.IntPtr::Zero
intptr_t ___Zero_1;
public:
inline static int32_t get_offset_of_Zero_1() { return static_cast<int32_t>(offsetof(IntPtr_t_StaticFields, ___Zero_1)); }
inline intptr_t get_Zero_1() const { return ___Zero_1; }
inline intptr_t* get_address_of_Zero_1() { return &___Zero_1; }
inline void set_Zero_1(intptr_t value)
{
___Zero_1 = value;
}
};
// System.Reflection.MethodBase
struct MethodBase_t : public MemberInfo_t
{
public:
public:
};
// System.Single
struct Single_tDDDA9169C4E4E308AC6D7A824F9B28DC82204AE1
{
public:
// System.Single System.Single::m_value
float ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Single_tDDDA9169C4E4E308AC6D7A824F9B28DC82204AE1, ___m_value_0)); }
inline float get_m_value_0() const { return ___m_value_0; }
inline float* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(float value)
{
___m_value_0 = value;
}
};
// System.Void
struct Void_t22962CB4C05B1D89B55A6E1139F0E87A90987017
{
public:
union
{
struct
{
};
uint8_t Void_t22962CB4C05B1D89B55A6E1139F0E87A90987017__padding[1];
};
public:
};
// UnityEngine.Color
struct Color_t119BCA590009762C7223FDD3AF9706653AC84ED2
{
public:
// 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;
public:
inline static int32_t get_offset_of_r_0() { return static_cast<int32_t>(offsetof(Color_t119BCA590009762C7223FDD3AF9706653AC84ED2, ___r_0)); }
inline float get_r_0() const { return ___r_0; }
inline float* get_address_of_r_0() { return &___r_0; }
inline void set_r_0(float value)
{
___r_0 = value;
}
inline static int32_t get_offset_of_g_1() { return static_cast<int32_t>(offsetof(Color_t119BCA590009762C7223FDD3AF9706653AC84ED2, ___g_1)); }
inline float get_g_1() const { return ___g_1; }
inline float* get_address_of_g_1() { return &___g_1; }
inline void set_g_1(float value)
{
___g_1 = value;
}
inline static int32_t get_offset_of_b_2() { return static_cast<int32_t>(offsetof(Color_t119BCA590009762C7223FDD3AF9706653AC84ED2, ___b_2)); }
inline float get_b_2() const { return ___b_2; }
inline float* get_address_of_b_2() { return &___b_2; }
inline void set_b_2(float value)
{
___b_2 = value;
}
inline static int32_t get_offset_of_a_3() { return static_cast<int32_t>(offsetof(Color_t119BCA590009762C7223FDD3AF9706653AC84ED2, ___a_3)); }
inline float get_a_3() const { return ___a_3; }
inline float* get_address_of_a_3() { return &___a_3; }
inline void set_a_3(float value)
{
___a_3 = value;
}
};
// UnityEngine.GUITargetAttribute
struct GUITargetAttribute_tA23DD43B1D91AF11499A0320EBAAC900A35FC4B8 : public Attribute_tF048C13FB3C8CFCC53F82290E4A3F621089F9A74
{
public:
// System.Int32 UnityEngine.GUITargetAttribute::displayMask
int32_t ___displayMask_0;
public:
inline static int32_t get_offset_of_displayMask_0() { return static_cast<int32_t>(offsetof(GUITargetAttribute_tA23DD43B1D91AF11499A0320EBAAC900A35FC4B8, ___displayMask_0)); }
inline int32_t get_displayMask_0() const { return ___displayMask_0; }
inline int32_t* get_address_of_displayMask_0() { return &___displayMask_0; }
inline void set_displayMask_0(int32_t value)
{
___displayMask_0 = value;
}
};
// UnityEngine.Rect
struct Rect_t35B976DE901B5423C11705E156938EA27AB402CE
{
public:
// 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;
public:
inline static int32_t get_offset_of_m_XMin_0() { return static_cast<int32_t>(offsetof(Rect_t35B976DE901B5423C11705E156938EA27AB402CE, ___m_XMin_0)); }
inline float get_m_XMin_0() const { return ___m_XMin_0; }
inline float* get_address_of_m_XMin_0() { return &___m_XMin_0; }
inline void set_m_XMin_0(float value)
{
___m_XMin_0 = value;
}
inline static int32_t get_offset_of_m_YMin_1() { return static_cast<int32_t>(offsetof(Rect_t35B976DE901B5423C11705E156938EA27AB402CE, ___m_YMin_1)); }
inline float get_m_YMin_1() const { return ___m_YMin_1; }
inline float* get_address_of_m_YMin_1() { return &___m_YMin_1; }
inline void set_m_YMin_1(float value)
{
___m_YMin_1 = value;
}
inline static int32_t get_offset_of_m_Width_2() { return static_cast<int32_t>(offsetof(Rect_t35B976DE901B5423C11705E156938EA27AB402CE, ___m_Width_2)); }
inline float get_m_Width_2() const { return ___m_Width_2; }
inline float* get_address_of_m_Width_2() { return &___m_Width_2; }
inline void set_m_Width_2(float value)
{
___m_Width_2 = value;
}
inline static int32_t get_offset_of_m_Height_3() { return static_cast<int32_t>(offsetof(Rect_t35B976DE901B5423C11705E156938EA27AB402CE, ___m_Height_3)); }
inline float get_m_Height_3() const { return ___m_Height_3; }
inline float* get_address_of_m_Height_3() { return &___m_Height_3; }
inline void set_m_Height_3(float value)
{
___m_Height_3 = value;
}
};
// UnityEngine.Vector2
struct Vector2_tA85D2DD88578276CA8A8796756458277E72D073D
{
public:
// System.Single UnityEngine.Vector2::x
float ___x_0;
// System.Single UnityEngine.Vector2::y
float ___y_1;
public:
inline static int32_t get_offset_of_x_0() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D, ___x_0)); }
inline float get_x_0() const { return ___x_0; }
inline float* get_address_of_x_0() { return &___x_0; }
inline void set_x_0(float value)
{
___x_0 = value;
}
inline static int32_t get_offset_of_y_1() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D, ___y_1)); }
inline float get_y_1() const { return ___y_1; }
inline float* get_address_of_y_1() { return &___y_1; }
inline void set_y_1(float value)
{
___y_1 = value;
}
};
struct Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_StaticFields
{
public:
// UnityEngine.Vector2 UnityEngine.Vector2::zeroVector
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___zeroVector_2;
// UnityEngine.Vector2 UnityEngine.Vector2::oneVector
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___oneVector_3;
// UnityEngine.Vector2 UnityEngine.Vector2::upVector
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___upVector_4;
// UnityEngine.Vector2 UnityEngine.Vector2::downVector
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___downVector_5;
// UnityEngine.Vector2 UnityEngine.Vector2::leftVector
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___leftVector_6;
// UnityEngine.Vector2 UnityEngine.Vector2::rightVector
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___rightVector_7;
// UnityEngine.Vector2 UnityEngine.Vector2::positiveInfinityVector
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___positiveInfinityVector_8;
// UnityEngine.Vector2 UnityEngine.Vector2::negativeInfinityVector
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___negativeInfinityVector_9;
public:
inline static int32_t get_offset_of_zeroVector_2() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_StaticFields, ___zeroVector_2)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_zeroVector_2() const { return ___zeroVector_2; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_zeroVector_2() { return &___zeroVector_2; }
inline void set_zeroVector_2(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___zeroVector_2 = value;
}
inline static int32_t get_offset_of_oneVector_3() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_StaticFields, ___oneVector_3)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_oneVector_3() const { return ___oneVector_3; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_oneVector_3() { return &___oneVector_3; }
inline void set_oneVector_3(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___oneVector_3 = value;
}
inline static int32_t get_offset_of_upVector_4() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_StaticFields, ___upVector_4)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_upVector_4() const { return ___upVector_4; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_upVector_4() { return &___upVector_4; }
inline void set_upVector_4(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___upVector_4 = value;
}
inline static int32_t get_offset_of_downVector_5() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_StaticFields, ___downVector_5)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_downVector_5() const { return ___downVector_5; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_downVector_5() { return &___downVector_5; }
inline void set_downVector_5(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___downVector_5 = value;
}
inline static int32_t get_offset_of_leftVector_6() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_StaticFields, ___leftVector_6)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_leftVector_6() const { return ___leftVector_6; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_leftVector_6() { return &___leftVector_6; }
inline void set_leftVector_6(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___leftVector_6 = value;
}
inline static int32_t get_offset_of_rightVector_7() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_StaticFields, ___rightVector_7)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_rightVector_7() const { return ___rightVector_7; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_rightVector_7() { return &___rightVector_7; }
inline void set_rightVector_7(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___rightVector_7 = value;
}
inline static int32_t get_offset_of_positiveInfinityVector_8() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_StaticFields, ___positiveInfinityVector_8)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_positiveInfinityVector_8() const { return ___positiveInfinityVector_8; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_positiveInfinityVector_8() { return &___positiveInfinityVector_8; }
inline void set_positiveInfinityVector_8(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___positiveInfinityVector_8 = value;
}
inline static int32_t get_offset_of_negativeInfinityVector_9() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_StaticFields, ___negativeInfinityVector_9)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_negativeInfinityVector_9() const { return ___negativeInfinityVector_9; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_negativeInfinityVector_9() { return &___negativeInfinityVector_9; }
inline void set_negativeInfinityVector_9(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___negativeInfinityVector_9 = value;
}
};
// UnityEngineInternal.GenericStack
struct GenericStack_tC59D21E8DBC50F3C608479C942200AC44CA2D5BC : public Stack_t37723B68CC4FFD95F0F3D06A5D42D7DEE7569643
{
public:
public:
};
// System.Delegate
struct Delegate_t : public RuntimeObject
{
public:
// System.IntPtr System.Delegate::method_ptr
Il2CppMethodPointer ___method_ptr_0;
// System.IntPtr System.Delegate::invoke_impl
intptr_t ___invoke_impl_1;
// System.Object System.Delegate::m_target
RuntimeObject * ___m_target_2;
// System.IntPtr System.Delegate::method
intptr_t ___method_3;
// System.IntPtr System.Delegate::delegate_trampoline
intptr_t ___delegate_trampoline_4;
// System.IntPtr System.Delegate::extra_arg
intptr_t ___extra_arg_5;
// System.IntPtr System.Delegate::method_code
intptr_t ___method_code_6;
// System.Reflection.MethodInfo System.Delegate::method_info
MethodInfo_t * ___method_info_7;
// System.Reflection.MethodInfo System.Delegate::original_method_info
MethodInfo_t * ___original_method_info_8;
// System.DelegateData System.Delegate::data
DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * ___data_9;
// System.Boolean System.Delegate::method_is_virtual
bool ___method_is_virtual_10;
public:
inline static int32_t get_offset_of_method_ptr_0() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_ptr_0)); }
inline Il2CppMethodPointer get_method_ptr_0() const { return ___method_ptr_0; }
inline Il2CppMethodPointer* get_address_of_method_ptr_0() { return &___method_ptr_0; }
inline void set_method_ptr_0(Il2CppMethodPointer value)
{
___method_ptr_0 = value;
}
inline static int32_t get_offset_of_invoke_impl_1() { return static_cast<int32_t>(offsetof(Delegate_t, ___invoke_impl_1)); }
inline intptr_t get_invoke_impl_1() const { return ___invoke_impl_1; }
inline intptr_t* get_address_of_invoke_impl_1() { return &___invoke_impl_1; }
inline void set_invoke_impl_1(intptr_t value)
{
___invoke_impl_1 = value;
}
inline static int32_t get_offset_of_m_target_2() { return static_cast<int32_t>(offsetof(Delegate_t, ___m_target_2)); }
inline RuntimeObject * get_m_target_2() const { return ___m_target_2; }
inline RuntimeObject ** get_address_of_m_target_2() { return &___m_target_2; }
inline void set_m_target_2(RuntimeObject * value)
{
___m_target_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_target_2), (void*)value);
}
inline static int32_t get_offset_of_method_3() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_3)); }
inline intptr_t get_method_3() const { return ___method_3; }
inline intptr_t* get_address_of_method_3() { return &___method_3; }
inline void set_method_3(intptr_t value)
{
___method_3 = value;
}
inline static int32_t get_offset_of_delegate_trampoline_4() { return static_cast<int32_t>(offsetof(Delegate_t, ___delegate_trampoline_4)); }
inline intptr_t get_delegate_trampoline_4() const { return ___delegate_trampoline_4; }
inline intptr_t* get_address_of_delegate_trampoline_4() { return &___delegate_trampoline_4; }
inline void set_delegate_trampoline_4(intptr_t value)
{
___delegate_trampoline_4 = value;
}
inline static int32_t get_offset_of_extra_arg_5() { return static_cast<int32_t>(offsetof(Delegate_t, ___extra_arg_5)); }
inline intptr_t get_extra_arg_5() const { return ___extra_arg_5; }
inline intptr_t* get_address_of_extra_arg_5() { return &___extra_arg_5; }
inline void set_extra_arg_5(intptr_t value)
{
___extra_arg_5 = value;
}
inline static int32_t get_offset_of_method_code_6() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_code_6)); }
inline intptr_t get_method_code_6() const { return ___method_code_6; }
inline intptr_t* get_address_of_method_code_6() { return &___method_code_6; }
inline void set_method_code_6(intptr_t value)
{
___method_code_6 = value;
}
inline static int32_t get_offset_of_method_info_7() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_info_7)); }
inline MethodInfo_t * get_method_info_7() const { return ___method_info_7; }
inline MethodInfo_t ** get_address_of_method_info_7() { return &___method_info_7; }
inline void set_method_info_7(MethodInfo_t * value)
{
___method_info_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___method_info_7), (void*)value);
}
inline static int32_t get_offset_of_original_method_info_8() { return static_cast<int32_t>(offsetof(Delegate_t, ___original_method_info_8)); }
inline MethodInfo_t * get_original_method_info_8() const { return ___original_method_info_8; }
inline MethodInfo_t ** get_address_of_original_method_info_8() { return &___original_method_info_8; }
inline void set_original_method_info_8(MethodInfo_t * value)
{
___original_method_info_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___original_method_info_8), (void*)value);
}
inline static int32_t get_offset_of_data_9() { return static_cast<int32_t>(offsetof(Delegate_t, ___data_9)); }
inline DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * get_data_9() const { return ___data_9; }
inline DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE ** get_address_of_data_9() { return &___data_9; }
inline void set_data_9(DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * value)
{
___data_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&___data_9), (void*)value);
}
inline static int32_t get_offset_of_method_is_virtual_10() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_is_virtual_10)); }
inline bool get_method_is_virtual_10() const { return ___method_is_virtual_10; }
inline bool* get_address_of_method_is_virtual_10() { return &___method_is_virtual_10; }
inline void set_method_is_virtual_10(bool value)
{
___method_is_virtual_10 = value;
}
};
// Native definition for P/Invoke marshalling of System.Delegate
struct Delegate_t_marshaled_pinvoke
{
intptr_t ___method_ptr_0;
intptr_t ___invoke_impl_1;
Il2CppIUnknown* ___m_target_2;
intptr_t ___method_3;
intptr_t ___delegate_trampoline_4;
intptr_t ___extra_arg_5;
intptr_t ___method_code_6;
MethodInfo_t * ___method_info_7;
MethodInfo_t * ___original_method_info_8;
DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * ___data_9;
int32_t ___method_is_virtual_10;
};
// Native definition for COM marshalling of System.Delegate
struct Delegate_t_marshaled_com
{
intptr_t ___method_ptr_0;
intptr_t ___invoke_impl_1;
Il2CppIUnknown* ___m_target_2;
intptr_t ___method_3;
intptr_t ___delegate_trampoline_4;
intptr_t ___extra_arg_5;
intptr_t ___method_code_6;
MethodInfo_t * ___method_info_7;
MethodInfo_t * ___original_method_info_8;
DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * ___data_9;
int32_t ___method_is_virtual_10;
};
// System.Exception
struct Exception_t : public RuntimeObject
{
public:
// System.String System.Exception::_className
String_t* ____className_1;
// System.String System.Exception::_message
String_t* ____message_2;
// System.Collections.IDictionary System.Exception::_data
RuntimeObject* ____data_3;
// System.Exception System.Exception::_innerException
Exception_t * ____innerException_4;
// System.String System.Exception::_helpURL
String_t* ____helpURL_5;
// System.Object System.Exception::_stackTrace
RuntimeObject * ____stackTrace_6;
// System.String System.Exception::_stackTraceString
String_t* ____stackTraceString_7;
// System.String System.Exception::_remoteStackTraceString
String_t* ____remoteStackTraceString_8;
// System.Int32 System.Exception::_remoteStackIndex
int32_t ____remoteStackIndex_9;
// System.Object System.Exception::_dynamicMethods
RuntimeObject * ____dynamicMethods_10;
// System.Int32 System.Exception::_HResult
int32_t ____HResult_11;
// System.String System.Exception::_source
String_t* ____source_12;
// System.Runtime.Serialization.SafeSerializationManager System.Exception::_safeSerializationManager
SafeSerializationManager_t4A754D86B0F784B18CBC36C073BA564BED109770 * ____safeSerializationManager_13;
// System.Diagnostics.StackTrace[] System.Exception::captured_traces
StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196* ___captured_traces_14;
// System.IntPtr[] System.Exception::native_trace_ips
IntPtrU5BU5D_t4DC01DCB9A6DF6C9792A6513595D7A11E637DCDD* ___native_trace_ips_15;
public:
inline static int32_t get_offset_of__className_1() { return static_cast<int32_t>(offsetof(Exception_t, ____className_1)); }
inline String_t* get__className_1() const { return ____className_1; }
inline String_t** get_address_of__className_1() { return &____className_1; }
inline void set__className_1(String_t* value)
{
____className_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____className_1), (void*)value);
}
inline static int32_t get_offset_of__message_2() { return static_cast<int32_t>(offsetof(Exception_t, ____message_2)); }
inline String_t* get__message_2() const { return ____message_2; }
inline String_t** get_address_of__message_2() { return &____message_2; }
inline void set__message_2(String_t* value)
{
____message_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&____message_2), (void*)value);
}
inline static int32_t get_offset_of__data_3() { return static_cast<int32_t>(offsetof(Exception_t, ____data_3)); }
inline RuntimeObject* get__data_3() const { return ____data_3; }
inline RuntimeObject** get_address_of__data_3() { return &____data_3; }
inline void set__data_3(RuntimeObject* value)
{
____data_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&____data_3), (void*)value);
}
inline static int32_t get_offset_of__innerException_4() { return static_cast<int32_t>(offsetof(Exception_t, ____innerException_4)); }
inline Exception_t * get__innerException_4() const { return ____innerException_4; }
inline Exception_t ** get_address_of__innerException_4() { return &____innerException_4; }
inline void set__innerException_4(Exception_t * value)
{
____innerException_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____innerException_4), (void*)value);
}
inline static int32_t get_offset_of__helpURL_5() { return static_cast<int32_t>(offsetof(Exception_t, ____helpURL_5)); }
inline String_t* get__helpURL_5() const { return ____helpURL_5; }
inline String_t** get_address_of__helpURL_5() { return &____helpURL_5; }
inline void set__helpURL_5(String_t* value)
{
____helpURL_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____helpURL_5), (void*)value);
}
inline static int32_t get_offset_of__stackTrace_6() { return static_cast<int32_t>(offsetof(Exception_t, ____stackTrace_6)); }
inline RuntimeObject * get__stackTrace_6() const { return ____stackTrace_6; }
inline RuntimeObject ** get_address_of__stackTrace_6() { return &____stackTrace_6; }
inline void set__stackTrace_6(RuntimeObject * value)
{
____stackTrace_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&____stackTrace_6), (void*)value);
}
inline static int32_t get_offset_of__stackTraceString_7() { return static_cast<int32_t>(offsetof(Exception_t, ____stackTraceString_7)); }
inline String_t* get__stackTraceString_7() const { return ____stackTraceString_7; }
inline String_t** get_address_of__stackTraceString_7() { return &____stackTraceString_7; }
inline void set__stackTraceString_7(String_t* value)
{
____stackTraceString_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&____stackTraceString_7), (void*)value);
}
inline static int32_t get_offset_of__remoteStackTraceString_8() { return static_cast<int32_t>(offsetof(Exception_t, ____remoteStackTraceString_8)); }
inline String_t* get__remoteStackTraceString_8() const { return ____remoteStackTraceString_8; }
inline String_t** get_address_of__remoteStackTraceString_8() { return &____remoteStackTraceString_8; }
inline void set__remoteStackTraceString_8(String_t* value)
{
____remoteStackTraceString_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&____remoteStackTraceString_8), (void*)value);
}
inline static int32_t get_offset_of__remoteStackIndex_9() { return static_cast<int32_t>(offsetof(Exception_t, ____remoteStackIndex_9)); }
inline int32_t get__remoteStackIndex_9() const { return ____remoteStackIndex_9; }
inline int32_t* get_address_of__remoteStackIndex_9() { return &____remoteStackIndex_9; }
inline void set__remoteStackIndex_9(int32_t value)
{
____remoteStackIndex_9 = value;
}
inline static int32_t get_offset_of__dynamicMethods_10() { return static_cast<int32_t>(offsetof(Exception_t, ____dynamicMethods_10)); }
inline RuntimeObject * get__dynamicMethods_10() const { return ____dynamicMethods_10; }
inline RuntimeObject ** get_address_of__dynamicMethods_10() { return &____dynamicMethods_10; }
inline void set__dynamicMethods_10(RuntimeObject * value)
{
____dynamicMethods_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&____dynamicMethods_10), (void*)value);
}
inline static int32_t get_offset_of__HResult_11() { return static_cast<int32_t>(offsetof(Exception_t, ____HResult_11)); }
inline int32_t get__HResult_11() const { return ____HResult_11; }
inline int32_t* get_address_of__HResult_11() { return &____HResult_11; }
inline void set__HResult_11(int32_t value)
{
____HResult_11 = value;
}
inline static int32_t get_offset_of__source_12() { return static_cast<int32_t>(offsetof(Exception_t, ____source_12)); }
inline String_t* get__source_12() const { return ____source_12; }
inline String_t** get_address_of__source_12() { return &____source_12; }
inline void set__source_12(String_t* value)
{
____source_12 = value;
Il2CppCodeGenWriteBarrier((void**)(&____source_12), (void*)value);
}
inline static int32_t get_offset_of__safeSerializationManager_13() { return static_cast<int32_t>(offsetof(Exception_t, ____safeSerializationManager_13)); }
inline SafeSerializationManager_t4A754D86B0F784B18CBC36C073BA564BED109770 * get__safeSerializationManager_13() const { return ____safeSerializationManager_13; }
inline SafeSerializationManager_t4A754D86B0F784B18CBC36C073BA564BED109770 ** get_address_of__safeSerializationManager_13() { return &____safeSerializationManager_13; }
inline void set__safeSerializationManager_13(SafeSerializationManager_t4A754D86B0F784B18CBC36C073BA564BED109770 * value)
{
____safeSerializationManager_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&____safeSerializationManager_13), (void*)value);
}
inline static int32_t get_offset_of_captured_traces_14() { return static_cast<int32_t>(offsetof(Exception_t, ___captured_traces_14)); }
inline StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196* get_captured_traces_14() const { return ___captured_traces_14; }
inline StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196** get_address_of_captured_traces_14() { return &___captured_traces_14; }
inline void set_captured_traces_14(StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196* value)
{
___captured_traces_14 = value;
Il2CppCodeGenWriteBarrier((void**)(&___captured_traces_14), (void*)value);
}
inline static int32_t get_offset_of_native_trace_ips_15() { return static_cast<int32_t>(offsetof(Exception_t, ___native_trace_ips_15)); }
inline IntPtrU5BU5D_t4DC01DCB9A6DF6C9792A6513595D7A11E637DCDD* get_native_trace_ips_15() const { return ___native_trace_ips_15; }
inline IntPtrU5BU5D_t4DC01DCB9A6DF6C9792A6513595D7A11E637DCDD** get_address_of_native_trace_ips_15() { return &___native_trace_ips_15; }
inline void set_native_trace_ips_15(IntPtrU5BU5D_t4DC01DCB9A6DF6C9792A6513595D7A11E637DCDD* value)
{
___native_trace_ips_15 = value;
Il2CppCodeGenWriteBarrier((void**)(&___native_trace_ips_15), (void*)value);
}
};
struct Exception_t_StaticFields
{
public:
// System.Object System.Exception::s_EDILock
RuntimeObject * ___s_EDILock_0;
public:
inline static int32_t get_offset_of_s_EDILock_0() { return static_cast<int32_t>(offsetof(Exception_t_StaticFields, ___s_EDILock_0)); }
inline RuntimeObject * get_s_EDILock_0() const { return ___s_EDILock_0; }
inline RuntimeObject ** get_address_of_s_EDILock_0() { return &___s_EDILock_0; }
inline void set_s_EDILock_0(RuntimeObject * value)
{
___s_EDILock_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_EDILock_0), (void*)value);
}
};
// Native definition for P/Invoke marshalling of System.Exception
struct Exception_t_marshaled_pinvoke
{
char* ____className_1;
char* ____message_2;
RuntimeObject* ____data_3;
Exception_t_marshaled_pinvoke* ____innerException_4;
char* ____helpURL_5;
Il2CppIUnknown* ____stackTrace_6;
char* ____stackTraceString_7;
char* ____remoteStackTraceString_8;
int32_t ____remoteStackIndex_9;
Il2CppIUnknown* ____dynamicMethods_10;
int32_t ____HResult_11;
char* ____source_12;
SafeSerializationManager_t4A754D86B0F784B18CBC36C073BA564BED109770 * ____safeSerializationManager_13;
StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196* ___captured_traces_14;
Il2CppSafeArray/*NONE*/* ___native_trace_ips_15;
};
// Native definition for COM marshalling of System.Exception
struct Exception_t_marshaled_com
{
Il2CppChar* ____className_1;
Il2CppChar* ____message_2;
RuntimeObject* ____data_3;
Exception_t_marshaled_com* ____innerException_4;
Il2CppChar* ____helpURL_5;
Il2CppIUnknown* ____stackTrace_6;
Il2CppChar* ____stackTraceString_7;
Il2CppChar* ____remoteStackTraceString_8;
int32_t ____remoteStackIndex_9;
Il2CppIUnknown* ____dynamicMethods_10;
int32_t ____HResult_11;
Il2CppChar* ____source_12;
SafeSerializationManager_t4A754D86B0F784B18CBC36C073BA564BED109770 * ____safeSerializationManager_13;
StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196* ___captured_traces_14;
Il2CppSafeArray/*NONE*/* ___native_trace_ips_15;
};
// System.Reflection.BindingFlags
struct BindingFlags_tE35C91D046E63A1B92BB9AB909FCF9DA84379ED0
{
public:
// System.Int32 System.Reflection.BindingFlags::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(BindingFlags_tE35C91D046E63A1B92BB9AB909FCF9DA84379ED0, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Reflection.MethodInfo
struct MethodInfo_t : public MethodBase_t
{
public:
public:
};
// System.RuntimeTypeHandle
struct RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D
{
public:
// System.IntPtr System.RuntimeTypeHandle::value
intptr_t ___value_0;
public:
inline static int32_t get_offset_of_value_0() { return static_cast<int32_t>(offsetof(RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D, ___value_0)); }
inline intptr_t get_value_0() const { return ___value_0; }
inline intptr_t* get_address_of_value_0() { return &___value_0; }
inline void set_value_0(intptr_t value)
{
___value_0 = value;
}
};
// UnityEngine.Event
struct Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 : public RuntimeObject
{
public:
// System.IntPtr UnityEngine.Event::m_Ptr
intptr_t ___m_Ptr_0;
public:
inline static int32_t get_offset_of_m_Ptr_0() { return static_cast<int32_t>(offsetof(Event_t187FF6A6B357447B83EC2064823EE0AEC5263210, ___m_Ptr_0)); }
inline intptr_t get_m_Ptr_0() const { return ___m_Ptr_0; }
inline intptr_t* get_address_of_m_Ptr_0() { return &___m_Ptr_0; }
inline void set_m_Ptr_0(intptr_t value)
{
___m_Ptr_0 = value;
}
};
struct Event_t187FF6A6B357447B83EC2064823EE0AEC5263210_StaticFields
{
public:
// UnityEngine.Event UnityEngine.Event::s_Current
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * ___s_Current_1;
// UnityEngine.Event UnityEngine.Event::s_MasterEvent
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * ___s_MasterEvent_2;
public:
inline static int32_t get_offset_of_s_Current_1() { return static_cast<int32_t>(offsetof(Event_t187FF6A6B357447B83EC2064823EE0AEC5263210_StaticFields, ___s_Current_1)); }
inline Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * get_s_Current_1() const { return ___s_Current_1; }
inline Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 ** get_address_of_s_Current_1() { return &___s_Current_1; }
inline void set_s_Current_1(Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * value)
{
___s_Current_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_Current_1), (void*)value);
}
inline static int32_t get_offset_of_s_MasterEvent_2() { return static_cast<int32_t>(offsetof(Event_t187FF6A6B357447B83EC2064823EE0AEC5263210_StaticFields, ___s_MasterEvent_2)); }
inline Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * get_s_MasterEvent_2() const { return ___s_MasterEvent_2; }
inline Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 ** get_address_of_s_MasterEvent_2() { return &___s_MasterEvent_2; }
inline void set_s_MasterEvent_2(Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * value)
{
___s_MasterEvent_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_MasterEvent_2), (void*)value);
}
};
// Native definition for P/Invoke marshalling of UnityEngine.Event
struct Event_t187FF6A6B357447B83EC2064823EE0AEC5263210_marshaled_pinvoke
{
intptr_t ___m_Ptr_0;
};
// Native definition for COM marshalling of UnityEngine.Event
struct Event_t187FF6A6B357447B83EC2064823EE0AEC5263210_marshaled_com
{
intptr_t ___m_Ptr_0;
};
// UnityEngine.EventModifiers
struct EventModifiers_tC34E3018F3697001F894187AF6E9E63D7E203061
{
public:
// System.Int32 UnityEngine.EventModifiers::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(EventModifiers_tC34E3018F3697001F894187AF6E9E63D7E203061, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// UnityEngine.EventType
struct EventType_t3D3937E705A4506226002DAB22071B7B181DA57B
{
public:
// System.Int32 UnityEngine.EventType::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(EventType_t3D3937E705A4506226002DAB22071B7B181DA57B, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// UnityEngine.FocusType
struct FocusType_t8242637722FC265816544B73BC14E4293A78FD85
{
public:
// System.Int32 UnityEngine.FocusType::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(FocusType_t8242637722FC265816544B73BC14E4293A78FD85, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// UnityEngine.GUI
struct GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA : public RuntimeObject
{
public:
public:
};
struct GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_StaticFields
{
public:
// System.Int32 UnityEngine.GUI::s_HotTextField
int32_t ___s_HotTextField_0;
// System.Int32 UnityEngine.GUI::s_BoxHash
int32_t ___s_BoxHash_1;
// System.Int32 UnityEngine.GUI::s_ButonHash
int32_t ___s_ButonHash_2;
// System.Int32 UnityEngine.GUI::s_RepeatButtonHash
int32_t ___s_RepeatButtonHash_3;
// System.Int32 UnityEngine.GUI::s_ToggleHash
int32_t ___s_ToggleHash_4;
// System.Int32 UnityEngine.GUI::s_ButtonGridHash
int32_t ___s_ButtonGridHash_5;
// System.Int32 UnityEngine.GUI::s_SliderHash
int32_t ___s_SliderHash_6;
// System.Int32 UnityEngine.GUI::s_BeginGroupHash
int32_t ___s_BeginGroupHash_7;
// System.Int32 UnityEngine.GUI::s_ScrollviewHash
int32_t ___s_ScrollviewHash_8;
// System.DateTime UnityEngine.GUI::<nextScrollStepTime>k__BackingField
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___U3CnextScrollStepTimeU3Ek__BackingField_9;
// UnityEngine.GUISkin UnityEngine.GUI::s_Skin
GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * ___s_Skin_10;
// UnityEngineInternal.GenericStack UnityEngine.GUI::<scrollViewStates>k__BackingField
GenericStack_tC59D21E8DBC50F3C608479C942200AC44CA2D5BC * ___U3CscrollViewStatesU3Ek__BackingField_11;
public:
inline static int32_t get_offset_of_s_HotTextField_0() { return static_cast<int32_t>(offsetof(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_StaticFields, ___s_HotTextField_0)); }
inline int32_t get_s_HotTextField_0() const { return ___s_HotTextField_0; }
inline int32_t* get_address_of_s_HotTextField_0() { return &___s_HotTextField_0; }
inline void set_s_HotTextField_0(int32_t value)
{
___s_HotTextField_0 = value;
}
inline static int32_t get_offset_of_s_BoxHash_1() { return static_cast<int32_t>(offsetof(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_StaticFields, ___s_BoxHash_1)); }
inline int32_t get_s_BoxHash_1() const { return ___s_BoxHash_1; }
inline int32_t* get_address_of_s_BoxHash_1() { return &___s_BoxHash_1; }
inline void set_s_BoxHash_1(int32_t value)
{
___s_BoxHash_1 = value;
}
inline static int32_t get_offset_of_s_ButonHash_2() { return static_cast<int32_t>(offsetof(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_StaticFields, ___s_ButonHash_2)); }
inline int32_t get_s_ButonHash_2() const { return ___s_ButonHash_2; }
inline int32_t* get_address_of_s_ButonHash_2() { return &___s_ButonHash_2; }
inline void set_s_ButonHash_2(int32_t value)
{
___s_ButonHash_2 = value;
}
inline static int32_t get_offset_of_s_RepeatButtonHash_3() { return static_cast<int32_t>(offsetof(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_StaticFields, ___s_RepeatButtonHash_3)); }
inline int32_t get_s_RepeatButtonHash_3() const { return ___s_RepeatButtonHash_3; }
inline int32_t* get_address_of_s_RepeatButtonHash_3() { return &___s_RepeatButtonHash_3; }
inline void set_s_RepeatButtonHash_3(int32_t value)
{
___s_RepeatButtonHash_3 = value;
}
inline static int32_t get_offset_of_s_ToggleHash_4() { return static_cast<int32_t>(offsetof(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_StaticFields, ___s_ToggleHash_4)); }
inline int32_t get_s_ToggleHash_4() const { return ___s_ToggleHash_4; }
inline int32_t* get_address_of_s_ToggleHash_4() { return &___s_ToggleHash_4; }
inline void set_s_ToggleHash_4(int32_t value)
{
___s_ToggleHash_4 = value;
}
inline static int32_t get_offset_of_s_ButtonGridHash_5() { return static_cast<int32_t>(offsetof(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_StaticFields, ___s_ButtonGridHash_5)); }
inline int32_t get_s_ButtonGridHash_5() const { return ___s_ButtonGridHash_5; }
inline int32_t* get_address_of_s_ButtonGridHash_5() { return &___s_ButtonGridHash_5; }
inline void set_s_ButtonGridHash_5(int32_t value)
{
___s_ButtonGridHash_5 = value;
}
inline static int32_t get_offset_of_s_SliderHash_6() { return static_cast<int32_t>(offsetof(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_StaticFields, ___s_SliderHash_6)); }
inline int32_t get_s_SliderHash_6() const { return ___s_SliderHash_6; }
inline int32_t* get_address_of_s_SliderHash_6() { return &___s_SliderHash_6; }
inline void set_s_SliderHash_6(int32_t value)
{
___s_SliderHash_6 = value;
}
inline static int32_t get_offset_of_s_BeginGroupHash_7() { return static_cast<int32_t>(offsetof(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_StaticFields, ___s_BeginGroupHash_7)); }
inline int32_t get_s_BeginGroupHash_7() const { return ___s_BeginGroupHash_7; }
inline int32_t* get_address_of_s_BeginGroupHash_7() { return &___s_BeginGroupHash_7; }
inline void set_s_BeginGroupHash_7(int32_t value)
{
___s_BeginGroupHash_7 = value;
}
inline static int32_t get_offset_of_s_ScrollviewHash_8() { return static_cast<int32_t>(offsetof(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_StaticFields, ___s_ScrollviewHash_8)); }
inline int32_t get_s_ScrollviewHash_8() const { return ___s_ScrollviewHash_8; }
inline int32_t* get_address_of_s_ScrollviewHash_8() { return &___s_ScrollviewHash_8; }
inline void set_s_ScrollviewHash_8(int32_t value)
{
___s_ScrollviewHash_8 = value;
}
inline static int32_t get_offset_of_U3CnextScrollStepTimeU3Ek__BackingField_9() { return static_cast<int32_t>(offsetof(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_StaticFields, ___U3CnextScrollStepTimeU3Ek__BackingField_9)); }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 get_U3CnextScrollStepTimeU3Ek__BackingField_9() const { return ___U3CnextScrollStepTimeU3Ek__BackingField_9; }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * get_address_of_U3CnextScrollStepTimeU3Ek__BackingField_9() { return &___U3CnextScrollStepTimeU3Ek__BackingField_9; }
inline void set_U3CnextScrollStepTimeU3Ek__BackingField_9(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 value)
{
___U3CnextScrollStepTimeU3Ek__BackingField_9 = value;
}
inline static int32_t get_offset_of_s_Skin_10() { return static_cast<int32_t>(offsetof(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_StaticFields, ___s_Skin_10)); }
inline GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * get_s_Skin_10() const { return ___s_Skin_10; }
inline GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 ** get_address_of_s_Skin_10() { return &___s_Skin_10; }
inline void set_s_Skin_10(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * value)
{
___s_Skin_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_Skin_10), (void*)value);
}
inline static int32_t get_offset_of_U3CscrollViewStatesU3Ek__BackingField_11() { return static_cast<int32_t>(offsetof(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_StaticFields, ___U3CscrollViewStatesU3Ek__BackingField_11)); }
inline GenericStack_tC59D21E8DBC50F3C608479C942200AC44CA2D5BC * get_U3CscrollViewStatesU3Ek__BackingField_11() const { return ___U3CscrollViewStatesU3Ek__BackingField_11; }
inline GenericStack_tC59D21E8DBC50F3C608479C942200AC44CA2D5BC ** get_address_of_U3CscrollViewStatesU3Ek__BackingField_11() { return &___U3CscrollViewStatesU3Ek__BackingField_11; }
inline void set_U3CscrollViewStatesU3Ek__BackingField_11(GenericStack_tC59D21E8DBC50F3C608479C942200AC44CA2D5BC * value)
{
___U3CscrollViewStatesU3Ek__BackingField_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CscrollViewStatesU3Ek__BackingField_11), (void*)value);
}
};
// UnityEngine.GUILayoutEntry
struct GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 : public RuntimeObject
{
public:
// System.Single UnityEngine.GUILayoutEntry::minWidth
float ___minWidth_0;
// System.Single UnityEngine.GUILayoutEntry::maxWidth
float ___maxWidth_1;
// System.Single UnityEngine.GUILayoutEntry::minHeight
float ___minHeight_2;
// System.Single UnityEngine.GUILayoutEntry::maxHeight
float ___maxHeight_3;
// UnityEngine.Rect UnityEngine.GUILayoutEntry::rect
Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___rect_4;
// System.Int32 UnityEngine.GUILayoutEntry::stretchWidth
int32_t ___stretchWidth_5;
// System.Int32 UnityEngine.GUILayoutEntry::stretchHeight
int32_t ___stretchHeight_6;
// System.Boolean UnityEngine.GUILayoutEntry::consideredForMargin
bool ___consideredForMargin_7;
// UnityEngine.GUIStyle UnityEngine.GUILayoutEntry::m_Style
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___m_Style_8;
public:
inline static int32_t get_offset_of_minWidth_0() { return static_cast<int32_t>(offsetof(GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845, ___minWidth_0)); }
inline float get_minWidth_0() const { return ___minWidth_0; }
inline float* get_address_of_minWidth_0() { return &___minWidth_0; }
inline void set_minWidth_0(float value)
{
___minWidth_0 = value;
}
inline static int32_t get_offset_of_maxWidth_1() { return static_cast<int32_t>(offsetof(GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845, ___maxWidth_1)); }
inline float get_maxWidth_1() const { return ___maxWidth_1; }
inline float* get_address_of_maxWidth_1() { return &___maxWidth_1; }
inline void set_maxWidth_1(float value)
{
___maxWidth_1 = value;
}
inline static int32_t get_offset_of_minHeight_2() { return static_cast<int32_t>(offsetof(GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845, ___minHeight_2)); }
inline float get_minHeight_2() const { return ___minHeight_2; }
inline float* get_address_of_minHeight_2() { return &___minHeight_2; }
inline void set_minHeight_2(float value)
{
___minHeight_2 = value;
}
inline static int32_t get_offset_of_maxHeight_3() { return static_cast<int32_t>(offsetof(GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845, ___maxHeight_3)); }
inline float get_maxHeight_3() const { return ___maxHeight_3; }
inline float* get_address_of_maxHeight_3() { return &___maxHeight_3; }
inline void set_maxHeight_3(float value)
{
___maxHeight_3 = value;
}
inline static int32_t get_offset_of_rect_4() { return static_cast<int32_t>(offsetof(GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845, ___rect_4)); }
inline Rect_t35B976DE901B5423C11705E156938EA27AB402CE get_rect_4() const { return ___rect_4; }
inline Rect_t35B976DE901B5423C11705E156938EA27AB402CE * get_address_of_rect_4() { return &___rect_4; }
inline void set_rect_4(Rect_t35B976DE901B5423C11705E156938EA27AB402CE value)
{
___rect_4 = value;
}
inline static int32_t get_offset_of_stretchWidth_5() { return static_cast<int32_t>(offsetof(GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845, ___stretchWidth_5)); }
inline int32_t get_stretchWidth_5() const { return ___stretchWidth_5; }
inline int32_t* get_address_of_stretchWidth_5() { return &___stretchWidth_5; }
inline void set_stretchWidth_5(int32_t value)
{
___stretchWidth_5 = value;
}
inline static int32_t get_offset_of_stretchHeight_6() { return static_cast<int32_t>(offsetof(GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845, ___stretchHeight_6)); }
inline int32_t get_stretchHeight_6() const { return ___stretchHeight_6; }
inline int32_t* get_address_of_stretchHeight_6() { return &___stretchHeight_6; }
inline void set_stretchHeight_6(int32_t value)
{
___stretchHeight_6 = value;
}
inline static int32_t get_offset_of_consideredForMargin_7() { return static_cast<int32_t>(offsetof(GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845, ___consideredForMargin_7)); }
inline bool get_consideredForMargin_7() const { return ___consideredForMargin_7; }
inline bool* get_address_of_consideredForMargin_7() { return &___consideredForMargin_7; }
inline void set_consideredForMargin_7(bool value)
{
___consideredForMargin_7 = value;
}
inline static int32_t get_offset_of_m_Style_8() { return static_cast<int32_t>(offsetof(GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845, ___m_Style_8)); }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * get_m_Style_8() const { return ___m_Style_8; }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 ** get_address_of_m_Style_8() { return &___m_Style_8; }
inline void set_m_Style_8(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * value)
{
___m_Style_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Style_8), (void*)value);
}
};
struct GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845_StaticFields
{
public:
// UnityEngine.Rect UnityEngine.GUILayoutEntry::kDummyRect
Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___kDummyRect_9;
// System.Int32 UnityEngine.GUILayoutEntry::indent
int32_t ___indent_10;
public:
inline static int32_t get_offset_of_kDummyRect_9() { return static_cast<int32_t>(offsetof(GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845_StaticFields, ___kDummyRect_9)); }
inline Rect_t35B976DE901B5423C11705E156938EA27AB402CE get_kDummyRect_9() const { return ___kDummyRect_9; }
inline Rect_t35B976DE901B5423C11705E156938EA27AB402CE * get_address_of_kDummyRect_9() { return &___kDummyRect_9; }
inline void set_kDummyRect_9(Rect_t35B976DE901B5423C11705E156938EA27AB402CE value)
{
___kDummyRect_9 = value;
}
inline static int32_t get_offset_of_indent_10() { return static_cast<int32_t>(offsetof(GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845_StaticFields, ___indent_10)); }
inline int32_t get_indent_10() const { return ___indent_10; }
inline int32_t* get_address_of_indent_10() { return &___indent_10; }
inline void set_indent_10(int32_t value)
{
___indent_10 = value;
}
};
// UnityEngine.GUILayoutOption_Type
struct Type_t1060D19522CDA0F7C9A26733BE1E8C8E20AC1278
{
public:
// System.Int32 UnityEngine.GUILayoutOption_Type::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(Type_t1060D19522CDA0F7C9A26733BE1E8C8E20AC1278, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// UnityEngine.GUILayoutUtility
struct GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E : public RuntimeObject
{
public:
public:
};
struct GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields
{
public:
// System.Collections.Generic.Dictionary`2<System.Int32,UnityEngine.GUILayoutUtility_LayoutCache> UnityEngine.GUILayoutUtility::s_StoredLayouts
Dictionary_2_t0F1A21E14D53E05B0F1D474060AC4B36995FBCA1 * ___s_StoredLayouts_0;
// System.Collections.Generic.Dictionary`2<System.Int32,UnityEngine.GUILayoutUtility_LayoutCache> UnityEngine.GUILayoutUtility::s_StoredWindows
Dictionary_2_t0F1A21E14D53E05B0F1D474060AC4B36995FBCA1 * ___s_StoredWindows_1;
// UnityEngine.GUILayoutUtility_LayoutCache UnityEngine.GUILayoutUtility::current
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * ___current_2;
// UnityEngine.Rect UnityEngine.GUILayoutUtility::kDummyRect
Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___kDummyRect_3;
public:
inline static int32_t get_offset_of_s_StoredLayouts_0() { return static_cast<int32_t>(offsetof(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields, ___s_StoredLayouts_0)); }
inline Dictionary_2_t0F1A21E14D53E05B0F1D474060AC4B36995FBCA1 * get_s_StoredLayouts_0() const { return ___s_StoredLayouts_0; }
inline Dictionary_2_t0F1A21E14D53E05B0F1D474060AC4B36995FBCA1 ** get_address_of_s_StoredLayouts_0() { return &___s_StoredLayouts_0; }
inline void set_s_StoredLayouts_0(Dictionary_2_t0F1A21E14D53E05B0F1D474060AC4B36995FBCA1 * value)
{
___s_StoredLayouts_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_StoredLayouts_0), (void*)value);
}
inline static int32_t get_offset_of_s_StoredWindows_1() { return static_cast<int32_t>(offsetof(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields, ___s_StoredWindows_1)); }
inline Dictionary_2_t0F1A21E14D53E05B0F1D474060AC4B36995FBCA1 * get_s_StoredWindows_1() const { return ___s_StoredWindows_1; }
inline Dictionary_2_t0F1A21E14D53E05B0F1D474060AC4B36995FBCA1 ** get_address_of_s_StoredWindows_1() { return &___s_StoredWindows_1; }
inline void set_s_StoredWindows_1(Dictionary_2_t0F1A21E14D53E05B0F1D474060AC4B36995FBCA1 * value)
{
___s_StoredWindows_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_StoredWindows_1), (void*)value);
}
inline static int32_t get_offset_of_current_2() { return static_cast<int32_t>(offsetof(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields, ___current_2)); }
inline LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * get_current_2() const { return ___current_2; }
inline LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 ** get_address_of_current_2() { return &___current_2; }
inline void set_current_2(LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * value)
{
___current_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___current_2), (void*)value);
}
inline static int32_t get_offset_of_kDummyRect_3() { return static_cast<int32_t>(offsetof(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields, ___kDummyRect_3)); }
inline Rect_t35B976DE901B5423C11705E156938EA27AB402CE get_kDummyRect_3() const { return ___kDummyRect_3; }
inline Rect_t35B976DE901B5423C11705E156938EA27AB402CE * get_address_of_kDummyRect_3() { return &___kDummyRect_3; }
inline void set_kDummyRect_3(Rect_t35B976DE901B5423C11705E156938EA27AB402CE value)
{
___kDummyRect_3 = value;
}
};
// UnityEngine.GUISettings
struct GUISettings_tA863524720A3C984BAE56598D922F2C04DC80EF4 : public RuntimeObject
{
public:
// System.Boolean UnityEngine.GUISettings::m_DoubleClickSelectsWord
bool ___m_DoubleClickSelectsWord_0;
// System.Boolean UnityEngine.GUISettings::m_TripleClickSelectsLine
bool ___m_TripleClickSelectsLine_1;
// UnityEngine.Color UnityEngine.GUISettings::m_CursorColor
Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 ___m_CursorColor_2;
// System.Single UnityEngine.GUISettings::m_CursorFlashSpeed
float ___m_CursorFlashSpeed_3;
// UnityEngine.Color UnityEngine.GUISettings::m_SelectionColor
Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 ___m_SelectionColor_4;
public:
inline static int32_t get_offset_of_m_DoubleClickSelectsWord_0() { return static_cast<int32_t>(offsetof(GUISettings_tA863524720A3C984BAE56598D922F2C04DC80EF4, ___m_DoubleClickSelectsWord_0)); }
inline bool get_m_DoubleClickSelectsWord_0() const { return ___m_DoubleClickSelectsWord_0; }
inline bool* get_address_of_m_DoubleClickSelectsWord_0() { return &___m_DoubleClickSelectsWord_0; }
inline void set_m_DoubleClickSelectsWord_0(bool value)
{
___m_DoubleClickSelectsWord_0 = value;
}
inline static int32_t get_offset_of_m_TripleClickSelectsLine_1() { return static_cast<int32_t>(offsetof(GUISettings_tA863524720A3C984BAE56598D922F2C04DC80EF4, ___m_TripleClickSelectsLine_1)); }
inline bool get_m_TripleClickSelectsLine_1() const { return ___m_TripleClickSelectsLine_1; }
inline bool* get_address_of_m_TripleClickSelectsLine_1() { return &___m_TripleClickSelectsLine_1; }
inline void set_m_TripleClickSelectsLine_1(bool value)
{
___m_TripleClickSelectsLine_1 = value;
}
inline static int32_t get_offset_of_m_CursorColor_2() { return static_cast<int32_t>(offsetof(GUISettings_tA863524720A3C984BAE56598D922F2C04DC80EF4, ___m_CursorColor_2)); }
inline Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 get_m_CursorColor_2() const { return ___m_CursorColor_2; }
inline Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 * get_address_of_m_CursorColor_2() { return &___m_CursorColor_2; }
inline void set_m_CursorColor_2(Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 value)
{
___m_CursorColor_2 = value;
}
inline static int32_t get_offset_of_m_CursorFlashSpeed_3() { return static_cast<int32_t>(offsetof(GUISettings_tA863524720A3C984BAE56598D922F2C04DC80EF4, ___m_CursorFlashSpeed_3)); }
inline float get_m_CursorFlashSpeed_3() const { return ___m_CursorFlashSpeed_3; }
inline float* get_address_of_m_CursorFlashSpeed_3() { return &___m_CursorFlashSpeed_3; }
inline void set_m_CursorFlashSpeed_3(float value)
{
___m_CursorFlashSpeed_3 = value;
}
inline static int32_t get_offset_of_m_SelectionColor_4() { return static_cast<int32_t>(offsetof(GUISettings_tA863524720A3C984BAE56598D922F2C04DC80EF4, ___m_SelectionColor_4)); }
inline Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 get_m_SelectionColor_4() const { return ___m_SelectionColor_4; }
inline Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 * get_address_of_m_SelectionColor_4() { return &___m_SelectionColor_4; }
inline void set_m_SelectionColor_4(Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 value)
{
___m_SelectionColor_4 = value;
}
};
// UnityEngine.GUIStyleState
struct GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 : public RuntimeObject
{
public:
// System.IntPtr UnityEngine.GUIStyleState::m_Ptr
intptr_t ___m_Ptr_0;
// UnityEngine.GUIStyle UnityEngine.GUIStyleState::m_SourceStyle
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___m_SourceStyle_1;
public:
inline static int32_t get_offset_of_m_Ptr_0() { return static_cast<int32_t>(offsetof(GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5, ___m_Ptr_0)); }
inline intptr_t get_m_Ptr_0() const { return ___m_Ptr_0; }
inline intptr_t* get_address_of_m_Ptr_0() { return &___m_Ptr_0; }
inline void set_m_Ptr_0(intptr_t value)
{
___m_Ptr_0 = value;
}
inline static int32_t get_offset_of_m_SourceStyle_1() { return static_cast<int32_t>(offsetof(GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5, ___m_SourceStyle_1)); }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * get_m_SourceStyle_1() const { return ___m_SourceStyle_1; }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 ** get_address_of_m_SourceStyle_1() { return &___m_SourceStyle_1; }
inline void set_m_SourceStyle_1(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * value)
{
___m_SourceStyle_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_SourceStyle_1), (void*)value);
}
};
// Native definition for P/Invoke marshalling of UnityEngine.GUIStyleState
struct GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshaled_pinvoke
{
intptr_t ___m_Ptr_0;
GUIStyle_t671F175A201A19166385EE3392292A5F50070572_marshaled_pinvoke* ___m_SourceStyle_1;
};
// Native definition for COM marshalling of UnityEngine.GUIStyleState
struct GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshaled_com
{
intptr_t ___m_Ptr_0;
GUIStyle_t671F175A201A19166385EE3392292A5F50070572_marshaled_com* ___m_SourceStyle_1;
};
// UnityEngine.ImagePosition
struct ImagePosition_tF065DB37618AF79318821CFE3F1577B99B65FC9C
{
public:
// System.Int32 UnityEngine.ImagePosition::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(ImagePosition_tF065DB37618AF79318821CFE3F1577B99B65FC9C, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// UnityEngine.KeyCode
struct KeyCode_tC93EA87C5A6901160B583ADFCD3EF6726570DC3C
{
public:
// System.Int32 UnityEngine.KeyCode::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(KeyCode_tC93EA87C5A6901160B583ADFCD3EF6726570DC3C, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// UnityEngine.Object
struct Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 : public RuntimeObject
{
public:
// System.IntPtr UnityEngine.Object::m_CachedPtr
intptr_t ___m_CachedPtr_0;
public:
inline static int32_t get_offset_of_m_CachedPtr_0() { return static_cast<int32_t>(offsetof(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0, ___m_CachedPtr_0)); }
inline intptr_t get_m_CachedPtr_0() const { return ___m_CachedPtr_0; }
inline intptr_t* get_address_of_m_CachedPtr_0() { return &___m_CachedPtr_0; }
inline void set_m_CachedPtr_0(intptr_t value)
{
___m_CachedPtr_0 = value;
}
};
struct Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_StaticFields
{
public:
// System.Int32 UnityEngine.Object::OffsetOfInstanceIDInCPlusPlusObject
int32_t ___OffsetOfInstanceIDInCPlusPlusObject_1;
public:
inline static int32_t get_offset_of_OffsetOfInstanceIDInCPlusPlusObject_1() { return static_cast<int32_t>(offsetof(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_StaticFields, ___OffsetOfInstanceIDInCPlusPlusObject_1)); }
inline int32_t get_OffsetOfInstanceIDInCPlusPlusObject_1() const { return ___OffsetOfInstanceIDInCPlusPlusObject_1; }
inline int32_t* get_address_of_OffsetOfInstanceIDInCPlusPlusObject_1() { return &___OffsetOfInstanceIDInCPlusPlusObject_1; }
inline void set_OffsetOfInstanceIDInCPlusPlusObject_1(int32_t value)
{
___OffsetOfInstanceIDInCPlusPlusObject_1 = value;
}
};
// Native definition for P/Invoke marshalling of UnityEngine.Object
struct Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_marshaled_pinvoke
{
intptr_t ___m_CachedPtr_0;
};
// Native definition for COM marshalling of UnityEngine.Object
struct Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_marshaled_com
{
intptr_t ___m_CachedPtr_0;
};
// UnityEngine.PointerType
struct PointerType_tFE78E7B29562C9813141CA1708800D39B0F3931D
{
public:
// System.Int32 UnityEngine.PointerType::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(PointerType_tFE78E7B29562C9813141CA1708800D39B0F3931D, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// UnityEngine.RectOffset
struct RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A : public RuntimeObject
{
public:
// System.IntPtr UnityEngine.RectOffset::m_Ptr
intptr_t ___m_Ptr_0;
// System.Object UnityEngine.RectOffset::m_SourceStyle
RuntimeObject * ___m_SourceStyle_1;
public:
inline static int32_t get_offset_of_m_Ptr_0() { return static_cast<int32_t>(offsetof(RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A, ___m_Ptr_0)); }
inline intptr_t get_m_Ptr_0() const { return ___m_Ptr_0; }
inline intptr_t* get_address_of_m_Ptr_0() { return &___m_Ptr_0; }
inline void set_m_Ptr_0(intptr_t value)
{
___m_Ptr_0 = value;
}
inline static int32_t get_offset_of_m_SourceStyle_1() { return static_cast<int32_t>(offsetof(RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A, ___m_SourceStyle_1)); }
inline RuntimeObject * get_m_SourceStyle_1() const { return ___m_SourceStyle_1; }
inline RuntimeObject ** get_address_of_m_SourceStyle_1() { return &___m_SourceStyle_1; }
inline void set_m_SourceStyle_1(RuntimeObject * value)
{
___m_SourceStyle_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_SourceStyle_1), (void*)value);
}
};
// Native definition for P/Invoke marshalling of UnityEngine.RectOffset
struct RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A_marshaled_pinvoke
{
intptr_t ___m_Ptr_0;
Il2CppIUnknown* ___m_SourceStyle_1;
};
// Native definition for COM marshalling of UnityEngine.RectOffset
struct RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A_marshaled_com
{
intptr_t ___m_Ptr_0;
Il2CppIUnknown* ___m_SourceStyle_1;
};
// UnityEngine.TextAnchor
struct TextAnchor_tEC19034D476659A5E05366C63564F34DD30E7C57
{
public:
// System.Int32 UnityEngine.TextAnchor::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(TextAnchor_tEC19034D476659A5E05366C63564F34DD30E7C57, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// UnityEngine.TextEditor_DblClickSnapping
struct DblClickSnapping_t82D31F14587749755F9CB1FF9E975DDBEF7630CE
{
public:
// System.Byte UnityEngine.TextEditor_DblClickSnapping::value__
uint8_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(DblClickSnapping_t82D31F14587749755F9CB1FF9E975DDBEF7630CE, ___value___2)); }
inline uint8_t get_value___2() const { return ___value___2; }
inline uint8_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(uint8_t value)
{
___value___2 = value;
}
};
// UnityEngine.TouchScreenKeyboard
struct TouchScreenKeyboard_t2A69F85698E9780470181532D3F2BC903623FD90 : public RuntimeObject
{
public:
// System.IntPtr UnityEngine.TouchScreenKeyboard::m_Ptr
intptr_t ___m_Ptr_0;
public:
inline static int32_t get_offset_of_m_Ptr_0() { return static_cast<int32_t>(offsetof(TouchScreenKeyboard_t2A69F85698E9780470181532D3F2BC903623FD90, ___m_Ptr_0)); }
inline intptr_t get_m_Ptr_0() const { return ___m_Ptr_0; }
inline intptr_t* get_address_of_m_Ptr_0() { return &___m_Ptr_0; }
inline void set_m_Ptr_0(intptr_t value)
{
___m_Ptr_0 = value;
}
};
// System.ApplicationException
struct ApplicationException_t664823C3E0D3E1E7C7FA1C0DB4E19E98E9811C74 : public Exception_t
{
public:
public:
};
// System.MulticastDelegate
struct MulticastDelegate_t : public Delegate_t
{
public:
// System.Delegate[] System.MulticastDelegate::delegates
DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86* ___delegates_11;
public:
inline static int32_t get_offset_of_delegates_11() { return static_cast<int32_t>(offsetof(MulticastDelegate_t, ___delegates_11)); }
inline DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86* get_delegates_11() const { return ___delegates_11; }
inline DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86** get_address_of_delegates_11() { return &___delegates_11; }
inline void set_delegates_11(DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86* value)
{
___delegates_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___delegates_11), (void*)value);
}
};
// Native definition for P/Invoke marshalling of System.MulticastDelegate
struct MulticastDelegate_t_marshaled_pinvoke : public Delegate_t_marshaled_pinvoke
{
Delegate_t_marshaled_pinvoke** ___delegates_11;
};
// Native definition for COM marshalling of System.MulticastDelegate
struct MulticastDelegate_t_marshaled_com : public Delegate_t_marshaled_com
{
Delegate_t_marshaled_com** ___delegates_11;
};
// System.SystemException
struct SystemException_t5380468142AA850BE4A341D7AF3EAB9C78746782 : public Exception_t
{
public:
public:
};
// System.Type
struct Type_t : public MemberInfo_t
{
public:
// System.RuntimeTypeHandle System.Type::_impl
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D ____impl_9;
public:
inline static int32_t get_offset_of__impl_9() { return static_cast<int32_t>(offsetof(Type_t, ____impl_9)); }
inline RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D get__impl_9() const { return ____impl_9; }
inline RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D * get_address_of__impl_9() { return &____impl_9; }
inline void set__impl_9(RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D value)
{
____impl_9 = value;
}
};
struct Type_t_StaticFields
{
public:
// System.Reflection.MemberFilter System.Type::FilterAttribute
MemberFilter_t25C1BD92C42BE94426E300787C13C452CB89B381 * ___FilterAttribute_0;
// System.Reflection.MemberFilter System.Type::FilterName
MemberFilter_t25C1BD92C42BE94426E300787C13C452CB89B381 * ___FilterName_1;
// System.Reflection.MemberFilter System.Type::FilterNameIgnoreCase
MemberFilter_t25C1BD92C42BE94426E300787C13C452CB89B381 * ___FilterNameIgnoreCase_2;
// System.Object System.Type::Missing
RuntimeObject * ___Missing_3;
// System.Char System.Type::Delimiter
Il2CppChar ___Delimiter_4;
// System.Type[] System.Type::EmptyTypes
TypeU5BU5D_t7FE623A666B49176DE123306221193E888A12F5F* ___EmptyTypes_5;
// System.Reflection.Binder System.Type::defaultBinder
Binder_t4D5CB06963501D32847C057B57157D6DC49CA759 * ___defaultBinder_6;
public:
inline static int32_t get_offset_of_FilterAttribute_0() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___FilterAttribute_0)); }
inline MemberFilter_t25C1BD92C42BE94426E300787C13C452CB89B381 * get_FilterAttribute_0() const { return ___FilterAttribute_0; }
inline MemberFilter_t25C1BD92C42BE94426E300787C13C452CB89B381 ** get_address_of_FilterAttribute_0() { return &___FilterAttribute_0; }
inline void set_FilterAttribute_0(MemberFilter_t25C1BD92C42BE94426E300787C13C452CB89B381 * value)
{
___FilterAttribute_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___FilterAttribute_0), (void*)value);
}
inline static int32_t get_offset_of_FilterName_1() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___FilterName_1)); }
inline MemberFilter_t25C1BD92C42BE94426E300787C13C452CB89B381 * get_FilterName_1() const { return ___FilterName_1; }
inline MemberFilter_t25C1BD92C42BE94426E300787C13C452CB89B381 ** get_address_of_FilterName_1() { return &___FilterName_1; }
inline void set_FilterName_1(MemberFilter_t25C1BD92C42BE94426E300787C13C452CB89B381 * value)
{
___FilterName_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___FilterName_1), (void*)value);
}
inline static int32_t get_offset_of_FilterNameIgnoreCase_2() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___FilterNameIgnoreCase_2)); }
inline MemberFilter_t25C1BD92C42BE94426E300787C13C452CB89B381 * get_FilterNameIgnoreCase_2() const { return ___FilterNameIgnoreCase_2; }
inline MemberFilter_t25C1BD92C42BE94426E300787C13C452CB89B381 ** get_address_of_FilterNameIgnoreCase_2() { return &___FilterNameIgnoreCase_2; }
inline void set_FilterNameIgnoreCase_2(MemberFilter_t25C1BD92C42BE94426E300787C13C452CB89B381 * value)
{
___FilterNameIgnoreCase_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___FilterNameIgnoreCase_2), (void*)value);
}
inline static int32_t get_offset_of_Missing_3() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___Missing_3)); }
inline RuntimeObject * get_Missing_3() const { return ___Missing_3; }
inline RuntimeObject ** get_address_of_Missing_3() { return &___Missing_3; }
inline void set_Missing_3(RuntimeObject * value)
{
___Missing_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Missing_3), (void*)value);
}
inline static int32_t get_offset_of_Delimiter_4() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___Delimiter_4)); }
inline Il2CppChar get_Delimiter_4() const { return ___Delimiter_4; }
inline Il2CppChar* get_address_of_Delimiter_4() { return &___Delimiter_4; }
inline void set_Delimiter_4(Il2CppChar value)
{
___Delimiter_4 = value;
}
inline static int32_t get_offset_of_EmptyTypes_5() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___EmptyTypes_5)); }
inline TypeU5BU5D_t7FE623A666B49176DE123306221193E888A12F5F* get_EmptyTypes_5() const { return ___EmptyTypes_5; }
inline TypeU5BU5D_t7FE623A666B49176DE123306221193E888A12F5F** get_address_of_EmptyTypes_5() { return &___EmptyTypes_5; }
inline void set_EmptyTypes_5(TypeU5BU5D_t7FE623A666B49176DE123306221193E888A12F5F* value)
{
___EmptyTypes_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___EmptyTypes_5), (void*)value);
}
inline static int32_t get_offset_of_defaultBinder_6() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___defaultBinder_6)); }
inline Binder_t4D5CB06963501D32847C057B57157D6DC49CA759 * get_defaultBinder_6() const { return ___defaultBinder_6; }
inline Binder_t4D5CB06963501D32847C057B57157D6DC49CA759 ** get_address_of_defaultBinder_6() { return &___defaultBinder_6; }
inline void set_defaultBinder_6(Binder_t4D5CB06963501D32847C057B57157D6DC49CA759 * value)
{
___defaultBinder_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___defaultBinder_6), (void*)value);
}
};
// UnityEngine.ExitGUIException
struct ExitGUIException_t6AD1987AE1D23E0E774F9BEA41F30AE4CE378F07 : public Exception_t
{
public:
public:
};
// UnityEngine.Font
struct Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 : public Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0
{
public:
// UnityEngine.Font_FontTextureRebuildCallback UnityEngine.Font::m_FontTextureRebuildCallback
FontTextureRebuildCallback_tD700C63BB1A449E3A0464C81701E981677D3021C * ___m_FontTextureRebuildCallback_5;
public:
inline static int32_t get_offset_of_m_FontTextureRebuildCallback_5() { return static_cast<int32_t>(offsetof(Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26, ___m_FontTextureRebuildCallback_5)); }
inline FontTextureRebuildCallback_tD700C63BB1A449E3A0464C81701E981677D3021C * get_m_FontTextureRebuildCallback_5() const { return ___m_FontTextureRebuildCallback_5; }
inline FontTextureRebuildCallback_tD700C63BB1A449E3A0464C81701E981677D3021C ** get_address_of_m_FontTextureRebuildCallback_5() { return &___m_FontTextureRebuildCallback_5; }
inline void set_m_FontTextureRebuildCallback_5(FontTextureRebuildCallback_tD700C63BB1A449E3A0464C81701E981677D3021C * value)
{
___m_FontTextureRebuildCallback_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_FontTextureRebuildCallback_5), (void*)value);
}
};
struct Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26_StaticFields
{
public:
// System.Action`1<UnityEngine.Font> UnityEngine.Font::textureRebuilt
Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * ___textureRebuilt_4;
public:
inline static int32_t get_offset_of_textureRebuilt_4() { return static_cast<int32_t>(offsetof(Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26_StaticFields, ___textureRebuilt_4)); }
inline Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * get_textureRebuilt_4() const { return ___textureRebuilt_4; }
inline Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C ** get_address_of_textureRebuilt_4() { return &___textureRebuilt_4; }
inline void set_textureRebuilt_4(Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * value)
{
___textureRebuilt_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___textureRebuilt_4), (void*)value);
}
};
// UnityEngine.GUILayoutGroup
struct GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 : public GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845
{
public:
// System.Collections.Generic.List`1<UnityEngine.GUILayoutEntry> UnityEngine.GUILayoutGroup::entries
List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * ___entries_11;
// System.Boolean UnityEngine.GUILayoutGroup::isVertical
bool ___isVertical_12;
// System.Boolean UnityEngine.GUILayoutGroup::resetCoords
bool ___resetCoords_13;
// System.Single UnityEngine.GUILayoutGroup::spacing
float ___spacing_14;
// System.Boolean UnityEngine.GUILayoutGroup::sameSize
bool ___sameSize_15;
// System.Boolean UnityEngine.GUILayoutGroup::isWindow
bool ___isWindow_16;
// System.Int32 UnityEngine.GUILayoutGroup::windowID
int32_t ___windowID_17;
// System.Int32 UnityEngine.GUILayoutGroup::m_Cursor
int32_t ___m_Cursor_18;
// System.Int32 UnityEngine.GUILayoutGroup::m_StretchableCountX
int32_t ___m_StretchableCountX_19;
// System.Int32 UnityEngine.GUILayoutGroup::m_StretchableCountY
int32_t ___m_StretchableCountY_20;
// System.Boolean UnityEngine.GUILayoutGroup::m_UserSpecifiedWidth
bool ___m_UserSpecifiedWidth_21;
// System.Boolean UnityEngine.GUILayoutGroup::m_UserSpecifiedHeight
bool ___m_UserSpecifiedHeight_22;
// System.Single UnityEngine.GUILayoutGroup::m_ChildMinWidth
float ___m_ChildMinWidth_23;
// System.Single UnityEngine.GUILayoutGroup::m_ChildMaxWidth
float ___m_ChildMaxWidth_24;
// System.Single UnityEngine.GUILayoutGroup::m_ChildMinHeight
float ___m_ChildMinHeight_25;
// System.Single UnityEngine.GUILayoutGroup::m_ChildMaxHeight
float ___m_ChildMaxHeight_26;
// System.Int32 UnityEngine.GUILayoutGroup::m_MarginLeft
int32_t ___m_MarginLeft_27;
// System.Int32 UnityEngine.GUILayoutGroup::m_MarginRight
int32_t ___m_MarginRight_28;
// System.Int32 UnityEngine.GUILayoutGroup::m_MarginTop
int32_t ___m_MarginTop_29;
// System.Int32 UnityEngine.GUILayoutGroup::m_MarginBottom
int32_t ___m_MarginBottom_30;
public:
inline static int32_t get_offset_of_entries_11() { return static_cast<int32_t>(offsetof(GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601, ___entries_11)); }
inline List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * get_entries_11() const { return ___entries_11; }
inline List_1_t046427F3923444CF746C550FD96A3D0E4189D273 ** get_address_of_entries_11() { return &___entries_11; }
inline void set_entries_11(List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * value)
{
___entries_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___entries_11), (void*)value);
}
inline static int32_t get_offset_of_isVertical_12() { return static_cast<int32_t>(offsetof(GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601, ___isVertical_12)); }
inline bool get_isVertical_12() const { return ___isVertical_12; }
inline bool* get_address_of_isVertical_12() { return &___isVertical_12; }
inline void set_isVertical_12(bool value)
{
___isVertical_12 = value;
}
inline static int32_t get_offset_of_resetCoords_13() { return static_cast<int32_t>(offsetof(GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601, ___resetCoords_13)); }
inline bool get_resetCoords_13() const { return ___resetCoords_13; }
inline bool* get_address_of_resetCoords_13() { return &___resetCoords_13; }
inline void set_resetCoords_13(bool value)
{
___resetCoords_13 = value;
}
inline static int32_t get_offset_of_spacing_14() { return static_cast<int32_t>(offsetof(GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601, ___spacing_14)); }
inline float get_spacing_14() const { return ___spacing_14; }
inline float* get_address_of_spacing_14() { return &___spacing_14; }
inline void set_spacing_14(float value)
{
___spacing_14 = value;
}
inline static int32_t get_offset_of_sameSize_15() { return static_cast<int32_t>(offsetof(GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601, ___sameSize_15)); }
inline bool get_sameSize_15() const { return ___sameSize_15; }
inline bool* get_address_of_sameSize_15() { return &___sameSize_15; }
inline void set_sameSize_15(bool value)
{
___sameSize_15 = value;
}
inline static int32_t get_offset_of_isWindow_16() { return static_cast<int32_t>(offsetof(GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601, ___isWindow_16)); }
inline bool get_isWindow_16() const { return ___isWindow_16; }
inline bool* get_address_of_isWindow_16() { return &___isWindow_16; }
inline void set_isWindow_16(bool value)
{
___isWindow_16 = value;
}
inline static int32_t get_offset_of_windowID_17() { return static_cast<int32_t>(offsetof(GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601, ___windowID_17)); }
inline int32_t get_windowID_17() const { return ___windowID_17; }
inline int32_t* get_address_of_windowID_17() { return &___windowID_17; }
inline void set_windowID_17(int32_t value)
{
___windowID_17 = value;
}
inline static int32_t get_offset_of_m_Cursor_18() { return static_cast<int32_t>(offsetof(GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601, ___m_Cursor_18)); }
inline int32_t get_m_Cursor_18() const { return ___m_Cursor_18; }
inline int32_t* get_address_of_m_Cursor_18() { return &___m_Cursor_18; }
inline void set_m_Cursor_18(int32_t value)
{
___m_Cursor_18 = value;
}
inline static int32_t get_offset_of_m_StretchableCountX_19() { return static_cast<int32_t>(offsetof(GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601, ___m_StretchableCountX_19)); }
inline int32_t get_m_StretchableCountX_19() const { return ___m_StretchableCountX_19; }
inline int32_t* get_address_of_m_StretchableCountX_19() { return &___m_StretchableCountX_19; }
inline void set_m_StretchableCountX_19(int32_t value)
{
___m_StretchableCountX_19 = value;
}
inline static int32_t get_offset_of_m_StretchableCountY_20() { return static_cast<int32_t>(offsetof(GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601, ___m_StretchableCountY_20)); }
inline int32_t get_m_StretchableCountY_20() const { return ___m_StretchableCountY_20; }
inline int32_t* get_address_of_m_StretchableCountY_20() { return &___m_StretchableCountY_20; }
inline void set_m_StretchableCountY_20(int32_t value)
{
___m_StretchableCountY_20 = value;
}
inline static int32_t get_offset_of_m_UserSpecifiedWidth_21() { return static_cast<int32_t>(offsetof(GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601, ___m_UserSpecifiedWidth_21)); }
inline bool get_m_UserSpecifiedWidth_21() const { return ___m_UserSpecifiedWidth_21; }
inline bool* get_address_of_m_UserSpecifiedWidth_21() { return &___m_UserSpecifiedWidth_21; }
inline void set_m_UserSpecifiedWidth_21(bool value)
{
___m_UserSpecifiedWidth_21 = value;
}
inline static int32_t get_offset_of_m_UserSpecifiedHeight_22() { return static_cast<int32_t>(offsetof(GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601, ___m_UserSpecifiedHeight_22)); }
inline bool get_m_UserSpecifiedHeight_22() const { return ___m_UserSpecifiedHeight_22; }
inline bool* get_address_of_m_UserSpecifiedHeight_22() { return &___m_UserSpecifiedHeight_22; }
inline void set_m_UserSpecifiedHeight_22(bool value)
{
___m_UserSpecifiedHeight_22 = value;
}
inline static int32_t get_offset_of_m_ChildMinWidth_23() { return static_cast<int32_t>(offsetof(GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601, ___m_ChildMinWidth_23)); }
inline float get_m_ChildMinWidth_23() const { return ___m_ChildMinWidth_23; }
inline float* get_address_of_m_ChildMinWidth_23() { return &___m_ChildMinWidth_23; }
inline void set_m_ChildMinWidth_23(float value)
{
___m_ChildMinWidth_23 = value;
}
inline static int32_t get_offset_of_m_ChildMaxWidth_24() { return static_cast<int32_t>(offsetof(GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601, ___m_ChildMaxWidth_24)); }
inline float get_m_ChildMaxWidth_24() const { return ___m_ChildMaxWidth_24; }
inline float* get_address_of_m_ChildMaxWidth_24() { return &___m_ChildMaxWidth_24; }
inline void set_m_ChildMaxWidth_24(float value)
{
___m_ChildMaxWidth_24 = value;
}
inline static int32_t get_offset_of_m_ChildMinHeight_25() { return static_cast<int32_t>(offsetof(GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601, ___m_ChildMinHeight_25)); }
inline float get_m_ChildMinHeight_25() const { return ___m_ChildMinHeight_25; }
inline float* get_address_of_m_ChildMinHeight_25() { return &___m_ChildMinHeight_25; }
inline void set_m_ChildMinHeight_25(float value)
{
___m_ChildMinHeight_25 = value;
}
inline static int32_t get_offset_of_m_ChildMaxHeight_26() { return static_cast<int32_t>(offsetof(GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601, ___m_ChildMaxHeight_26)); }
inline float get_m_ChildMaxHeight_26() const { return ___m_ChildMaxHeight_26; }
inline float* get_address_of_m_ChildMaxHeight_26() { return &___m_ChildMaxHeight_26; }
inline void set_m_ChildMaxHeight_26(float value)
{
___m_ChildMaxHeight_26 = value;
}
inline static int32_t get_offset_of_m_MarginLeft_27() { return static_cast<int32_t>(offsetof(GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601, ___m_MarginLeft_27)); }
inline int32_t get_m_MarginLeft_27() const { return ___m_MarginLeft_27; }
inline int32_t* get_address_of_m_MarginLeft_27() { return &___m_MarginLeft_27; }
inline void set_m_MarginLeft_27(int32_t value)
{
___m_MarginLeft_27 = value;
}
inline static int32_t get_offset_of_m_MarginRight_28() { return static_cast<int32_t>(offsetof(GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601, ___m_MarginRight_28)); }
inline int32_t get_m_MarginRight_28() const { return ___m_MarginRight_28; }
inline int32_t* get_address_of_m_MarginRight_28() { return &___m_MarginRight_28; }
inline void set_m_MarginRight_28(int32_t value)
{
___m_MarginRight_28 = value;
}
inline static int32_t get_offset_of_m_MarginTop_29() { return static_cast<int32_t>(offsetof(GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601, ___m_MarginTop_29)); }
inline int32_t get_m_MarginTop_29() const { return ___m_MarginTop_29; }
inline int32_t* get_address_of_m_MarginTop_29() { return &___m_MarginTop_29; }
inline void set_m_MarginTop_29(int32_t value)
{
___m_MarginTop_29 = value;
}
inline static int32_t get_offset_of_m_MarginBottom_30() { return static_cast<int32_t>(offsetof(GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601, ___m_MarginBottom_30)); }
inline int32_t get_m_MarginBottom_30() const { return ___m_MarginBottom_30; }
inline int32_t* get_address_of_m_MarginBottom_30() { return &___m_MarginBottom_30; }
inline void set_m_MarginBottom_30(int32_t value)
{
___m_MarginBottom_30 = value;
}
};
// UnityEngine.GUILayoutOption
struct GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 : public RuntimeObject
{
public:
// UnityEngine.GUILayoutOption_Type UnityEngine.GUILayoutOption::type
int32_t ___type_0;
// System.Object UnityEngine.GUILayoutOption::value
RuntimeObject * ___value_1;
public:
inline static int32_t get_offset_of_type_0() { return static_cast<int32_t>(offsetof(GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6, ___type_0)); }
inline int32_t get_type_0() const { return ___type_0; }
inline int32_t* get_address_of_type_0() { return &___type_0; }
inline void set_type_0(int32_t value)
{
___type_0 = value;
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6, ___value_1)); }
inline RuntimeObject * get_value_1() const { return ___value_1; }
inline RuntimeObject ** get_address_of_value_1() { return &___value_1; }
inline void set_value_1(RuntimeObject * value)
{
___value_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_1), (void*)value);
}
};
// UnityEngine.GUIStyle
struct GUIStyle_t671F175A201A19166385EE3392292A5F50070572 : public RuntimeObject
{
public:
// System.IntPtr UnityEngine.GUIStyle::m_Ptr
intptr_t ___m_Ptr_0;
// UnityEngine.GUIStyleState UnityEngine.GUIStyle::m_Normal
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * ___m_Normal_1;
// UnityEngine.GUIStyleState UnityEngine.GUIStyle::m_Hover
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * ___m_Hover_2;
// UnityEngine.GUIStyleState UnityEngine.GUIStyle::m_Active
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * ___m_Active_3;
// UnityEngine.GUIStyleState UnityEngine.GUIStyle::m_Focused
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * ___m_Focused_4;
// UnityEngine.GUIStyleState UnityEngine.GUIStyle::m_OnNormal
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * ___m_OnNormal_5;
// UnityEngine.GUIStyleState UnityEngine.GUIStyle::m_OnHover
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * ___m_OnHover_6;
// UnityEngine.GUIStyleState UnityEngine.GUIStyle::m_OnActive
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * ___m_OnActive_7;
// UnityEngine.GUIStyleState UnityEngine.GUIStyle::m_OnFocused
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * ___m_OnFocused_8;
// UnityEngine.RectOffset UnityEngine.GUIStyle::m_Border
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * ___m_Border_9;
// UnityEngine.RectOffset UnityEngine.GUIStyle::m_Padding
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * ___m_Padding_10;
// UnityEngine.RectOffset UnityEngine.GUIStyle::m_Margin
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * ___m_Margin_11;
// UnityEngine.RectOffset UnityEngine.GUIStyle::m_Overflow
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * ___m_Overflow_12;
// System.String UnityEngine.GUIStyle::m_Name
String_t* ___m_Name_13;
public:
inline static int32_t get_offset_of_m_Ptr_0() { return static_cast<int32_t>(offsetof(GUIStyle_t671F175A201A19166385EE3392292A5F50070572, ___m_Ptr_0)); }
inline intptr_t get_m_Ptr_0() const { return ___m_Ptr_0; }
inline intptr_t* get_address_of_m_Ptr_0() { return &___m_Ptr_0; }
inline void set_m_Ptr_0(intptr_t value)
{
___m_Ptr_0 = value;
}
inline static int32_t get_offset_of_m_Normal_1() { return static_cast<int32_t>(offsetof(GUIStyle_t671F175A201A19166385EE3392292A5F50070572, ___m_Normal_1)); }
inline GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * get_m_Normal_1() const { return ___m_Normal_1; }
inline GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 ** get_address_of_m_Normal_1() { return &___m_Normal_1; }
inline void set_m_Normal_1(GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * value)
{
___m_Normal_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Normal_1), (void*)value);
}
inline static int32_t get_offset_of_m_Hover_2() { return static_cast<int32_t>(offsetof(GUIStyle_t671F175A201A19166385EE3392292A5F50070572, ___m_Hover_2)); }
inline GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * get_m_Hover_2() const { return ___m_Hover_2; }
inline GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 ** get_address_of_m_Hover_2() { return &___m_Hover_2; }
inline void set_m_Hover_2(GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * value)
{
___m_Hover_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Hover_2), (void*)value);
}
inline static int32_t get_offset_of_m_Active_3() { return static_cast<int32_t>(offsetof(GUIStyle_t671F175A201A19166385EE3392292A5F50070572, ___m_Active_3)); }
inline GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * get_m_Active_3() const { return ___m_Active_3; }
inline GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 ** get_address_of_m_Active_3() { return &___m_Active_3; }
inline void set_m_Active_3(GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * value)
{
___m_Active_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Active_3), (void*)value);
}
inline static int32_t get_offset_of_m_Focused_4() { return static_cast<int32_t>(offsetof(GUIStyle_t671F175A201A19166385EE3392292A5F50070572, ___m_Focused_4)); }
inline GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * get_m_Focused_4() const { return ___m_Focused_4; }
inline GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 ** get_address_of_m_Focused_4() { return &___m_Focused_4; }
inline void set_m_Focused_4(GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * value)
{
___m_Focused_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Focused_4), (void*)value);
}
inline static int32_t get_offset_of_m_OnNormal_5() { return static_cast<int32_t>(offsetof(GUIStyle_t671F175A201A19166385EE3392292A5F50070572, ___m_OnNormal_5)); }
inline GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * get_m_OnNormal_5() const { return ___m_OnNormal_5; }
inline GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 ** get_address_of_m_OnNormal_5() { return &___m_OnNormal_5; }
inline void set_m_OnNormal_5(GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * value)
{
___m_OnNormal_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_OnNormal_5), (void*)value);
}
inline static int32_t get_offset_of_m_OnHover_6() { return static_cast<int32_t>(offsetof(GUIStyle_t671F175A201A19166385EE3392292A5F50070572, ___m_OnHover_6)); }
inline GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * get_m_OnHover_6() const { return ___m_OnHover_6; }
inline GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 ** get_address_of_m_OnHover_6() { return &___m_OnHover_6; }
inline void set_m_OnHover_6(GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * value)
{
___m_OnHover_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_OnHover_6), (void*)value);
}
inline static int32_t get_offset_of_m_OnActive_7() { return static_cast<int32_t>(offsetof(GUIStyle_t671F175A201A19166385EE3392292A5F50070572, ___m_OnActive_7)); }
inline GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * get_m_OnActive_7() const { return ___m_OnActive_7; }
inline GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 ** get_address_of_m_OnActive_7() { return &___m_OnActive_7; }
inline void set_m_OnActive_7(GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * value)
{
___m_OnActive_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_OnActive_7), (void*)value);
}
inline static int32_t get_offset_of_m_OnFocused_8() { return static_cast<int32_t>(offsetof(GUIStyle_t671F175A201A19166385EE3392292A5F50070572, ___m_OnFocused_8)); }
inline GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * get_m_OnFocused_8() const { return ___m_OnFocused_8; }
inline GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 ** get_address_of_m_OnFocused_8() { return &___m_OnFocused_8; }
inline void set_m_OnFocused_8(GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * value)
{
___m_OnFocused_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_OnFocused_8), (void*)value);
}
inline static int32_t get_offset_of_m_Border_9() { return static_cast<int32_t>(offsetof(GUIStyle_t671F175A201A19166385EE3392292A5F50070572, ___m_Border_9)); }
inline RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * get_m_Border_9() const { return ___m_Border_9; }
inline RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A ** get_address_of_m_Border_9() { return &___m_Border_9; }
inline void set_m_Border_9(RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * value)
{
___m_Border_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Border_9), (void*)value);
}
inline static int32_t get_offset_of_m_Padding_10() { return static_cast<int32_t>(offsetof(GUIStyle_t671F175A201A19166385EE3392292A5F50070572, ___m_Padding_10)); }
inline RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * get_m_Padding_10() const { return ___m_Padding_10; }
inline RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A ** get_address_of_m_Padding_10() { return &___m_Padding_10; }
inline void set_m_Padding_10(RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * value)
{
___m_Padding_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Padding_10), (void*)value);
}
inline static int32_t get_offset_of_m_Margin_11() { return static_cast<int32_t>(offsetof(GUIStyle_t671F175A201A19166385EE3392292A5F50070572, ___m_Margin_11)); }
inline RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * get_m_Margin_11() const { return ___m_Margin_11; }
inline RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A ** get_address_of_m_Margin_11() { return &___m_Margin_11; }
inline void set_m_Margin_11(RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * value)
{
___m_Margin_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Margin_11), (void*)value);
}
inline static int32_t get_offset_of_m_Overflow_12() { return static_cast<int32_t>(offsetof(GUIStyle_t671F175A201A19166385EE3392292A5F50070572, ___m_Overflow_12)); }
inline RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * get_m_Overflow_12() const { return ___m_Overflow_12; }
inline RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A ** get_address_of_m_Overflow_12() { return &___m_Overflow_12; }
inline void set_m_Overflow_12(RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * value)
{
___m_Overflow_12 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Overflow_12), (void*)value);
}
inline static int32_t get_offset_of_m_Name_13() { return static_cast<int32_t>(offsetof(GUIStyle_t671F175A201A19166385EE3392292A5F50070572, ___m_Name_13)); }
inline String_t* get_m_Name_13() const { return ___m_Name_13; }
inline String_t** get_address_of_m_Name_13() { return &___m_Name_13; }
inline void set_m_Name_13(String_t* value)
{
___m_Name_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Name_13), (void*)value);
}
};
struct GUIStyle_t671F175A201A19166385EE3392292A5F50070572_StaticFields
{
public:
// System.Boolean UnityEngine.GUIStyle::showKeyboardFocus
bool ___showKeyboardFocus_14;
// UnityEngine.GUIStyle UnityEngine.GUIStyle::s_None
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___s_None_15;
public:
inline static int32_t get_offset_of_showKeyboardFocus_14() { return static_cast<int32_t>(offsetof(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_StaticFields, ___showKeyboardFocus_14)); }
inline bool get_showKeyboardFocus_14() const { return ___showKeyboardFocus_14; }
inline bool* get_address_of_showKeyboardFocus_14() { return &___showKeyboardFocus_14; }
inline void set_showKeyboardFocus_14(bool value)
{
___showKeyboardFocus_14 = value;
}
inline static int32_t get_offset_of_s_None_15() { return static_cast<int32_t>(offsetof(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_StaticFields, ___s_None_15)); }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * get_s_None_15() const { return ___s_None_15; }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 ** get_address_of_s_None_15() { return &___s_None_15; }
inline void set_s_None_15(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * value)
{
___s_None_15 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_None_15), (void*)value);
}
};
// Native definition for P/Invoke marshalling of UnityEngine.GUIStyle
struct GUIStyle_t671F175A201A19166385EE3392292A5F50070572_marshaled_pinvoke
{
intptr_t ___m_Ptr_0;
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshaled_pinvoke* ___m_Normal_1;
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshaled_pinvoke* ___m_Hover_2;
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshaled_pinvoke* ___m_Active_3;
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshaled_pinvoke* ___m_Focused_4;
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshaled_pinvoke* ___m_OnNormal_5;
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshaled_pinvoke* ___m_OnHover_6;
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshaled_pinvoke* ___m_OnActive_7;
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshaled_pinvoke* ___m_OnFocused_8;
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A_marshaled_pinvoke ___m_Border_9;
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A_marshaled_pinvoke ___m_Padding_10;
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A_marshaled_pinvoke ___m_Margin_11;
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A_marshaled_pinvoke ___m_Overflow_12;
char* ___m_Name_13;
};
// Native definition for COM marshalling of UnityEngine.GUIStyle
struct GUIStyle_t671F175A201A19166385EE3392292A5F50070572_marshaled_com
{
intptr_t ___m_Ptr_0;
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshaled_com* ___m_Normal_1;
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshaled_com* ___m_Hover_2;
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshaled_com* ___m_Active_3;
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshaled_com* ___m_Focused_4;
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshaled_com* ___m_OnNormal_5;
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshaled_com* ___m_OnHover_6;
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshaled_com* ___m_OnActive_7;
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshaled_com* ___m_OnFocused_8;
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A_marshaled_com* ___m_Border_9;
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A_marshaled_com* ___m_Padding_10;
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A_marshaled_com* ___m_Margin_11;
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A_marshaled_com* ___m_Overflow_12;
Il2CppChar* ___m_Name_13;
};
// UnityEngine.GUIWordWrapSizer
struct GUIWordWrapSizer_tC17A8FB8EE28BDCFEE27C7E7000BA8215E76CFD0 : public GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845
{
public:
// UnityEngine.GUIContent UnityEngine.GUIWordWrapSizer::m_Content
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___m_Content_11;
// System.Single UnityEngine.GUIWordWrapSizer::m_ForcedMinHeight
float ___m_ForcedMinHeight_12;
// System.Single UnityEngine.GUIWordWrapSizer::m_ForcedMaxHeight
float ___m_ForcedMaxHeight_13;
public:
inline static int32_t get_offset_of_m_Content_11() { return static_cast<int32_t>(offsetof(GUIWordWrapSizer_tC17A8FB8EE28BDCFEE27C7E7000BA8215E76CFD0, ___m_Content_11)); }
inline GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * get_m_Content_11() const { return ___m_Content_11; }
inline GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 ** get_address_of_m_Content_11() { return &___m_Content_11; }
inline void set_m_Content_11(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * value)
{
___m_Content_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Content_11), (void*)value);
}
inline static int32_t get_offset_of_m_ForcedMinHeight_12() { return static_cast<int32_t>(offsetof(GUIWordWrapSizer_tC17A8FB8EE28BDCFEE27C7E7000BA8215E76CFD0, ___m_ForcedMinHeight_12)); }
inline float get_m_ForcedMinHeight_12() const { return ___m_ForcedMinHeight_12; }
inline float* get_address_of_m_ForcedMinHeight_12() { return &___m_ForcedMinHeight_12; }
inline void set_m_ForcedMinHeight_12(float value)
{
___m_ForcedMinHeight_12 = value;
}
inline static int32_t get_offset_of_m_ForcedMaxHeight_13() { return static_cast<int32_t>(offsetof(GUIWordWrapSizer_tC17A8FB8EE28BDCFEE27C7E7000BA8215E76CFD0, ___m_ForcedMaxHeight_13)); }
inline float get_m_ForcedMaxHeight_13() const { return ___m_ForcedMaxHeight_13; }
inline float* get_address_of_m_ForcedMaxHeight_13() { return &___m_ForcedMaxHeight_13; }
inline void set_m_ForcedMaxHeight_13(float value)
{
___m_ForcedMaxHeight_13 = value;
}
};
// UnityEngine.ScriptableObject
struct ScriptableObject_tAB015486CEAB714DA0D5C1BA389B84FB90427734 : public Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0
{
public:
public:
};
// Native definition for P/Invoke marshalling of UnityEngine.ScriptableObject
struct ScriptableObject_tAB015486CEAB714DA0D5C1BA389B84FB90427734_marshaled_pinvoke : public Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_marshaled_pinvoke
{
};
// Native definition for COM marshalling of UnityEngine.ScriptableObject
struct ScriptableObject_tAB015486CEAB714DA0D5C1BA389B84FB90427734_marshaled_com : public Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_marshaled_com
{
};
// UnityEngine.TextEditor
struct TextEditor_t72CB6095A5C38226E08CD8073D5B6AD98579D440 : public RuntimeObject
{
public:
// UnityEngine.TouchScreenKeyboard UnityEngine.TextEditor::keyboardOnScreen
TouchScreenKeyboard_t2A69F85698E9780470181532D3F2BC903623FD90 * ___keyboardOnScreen_0;
// System.Int32 UnityEngine.TextEditor::controlID
int32_t ___controlID_1;
// UnityEngine.GUIStyle UnityEngine.TextEditor::style
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style_2;
// System.Boolean UnityEngine.TextEditor::multiline
bool ___multiline_3;
// System.Boolean UnityEngine.TextEditor::hasHorizontalCursorPos
bool ___hasHorizontalCursorPos_4;
// System.Boolean UnityEngine.TextEditor::isPasswordField
bool ___isPasswordField_5;
// UnityEngine.Vector2 UnityEngine.TextEditor::scrollOffset
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___scrollOffset_6;
// UnityEngine.GUIContent UnityEngine.TextEditor::m_Content
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___m_Content_7;
// System.Int32 UnityEngine.TextEditor::m_CursorIndex
int32_t ___m_CursorIndex_8;
// System.Int32 UnityEngine.TextEditor::m_SelectIndex
int32_t ___m_SelectIndex_9;
// System.Boolean UnityEngine.TextEditor::m_RevealCursor
bool ___m_RevealCursor_10;
// System.Boolean UnityEngine.TextEditor::m_MouseDragSelectsWholeWords
bool ___m_MouseDragSelectsWholeWords_11;
// System.Int32 UnityEngine.TextEditor::m_DblClickInitPos
int32_t ___m_DblClickInitPos_12;
// UnityEngine.TextEditor_DblClickSnapping UnityEngine.TextEditor::m_DblClickSnap
uint8_t ___m_DblClickSnap_13;
// System.Boolean UnityEngine.TextEditor::m_bJustSelected
bool ___m_bJustSelected_14;
// System.Int32 UnityEngine.TextEditor::m_iAltCursorPos
int32_t ___m_iAltCursorPos_15;
public:
inline static int32_t get_offset_of_keyboardOnScreen_0() { return static_cast<int32_t>(offsetof(TextEditor_t72CB6095A5C38226E08CD8073D5B6AD98579D440, ___keyboardOnScreen_0)); }
inline TouchScreenKeyboard_t2A69F85698E9780470181532D3F2BC903623FD90 * get_keyboardOnScreen_0() const { return ___keyboardOnScreen_0; }
inline TouchScreenKeyboard_t2A69F85698E9780470181532D3F2BC903623FD90 ** get_address_of_keyboardOnScreen_0() { return &___keyboardOnScreen_0; }
inline void set_keyboardOnScreen_0(TouchScreenKeyboard_t2A69F85698E9780470181532D3F2BC903623FD90 * value)
{
___keyboardOnScreen_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___keyboardOnScreen_0), (void*)value);
}
inline static int32_t get_offset_of_controlID_1() { return static_cast<int32_t>(offsetof(TextEditor_t72CB6095A5C38226E08CD8073D5B6AD98579D440, ___controlID_1)); }
inline int32_t get_controlID_1() const { return ___controlID_1; }
inline int32_t* get_address_of_controlID_1() { return &___controlID_1; }
inline void set_controlID_1(int32_t value)
{
___controlID_1 = value;
}
inline static int32_t get_offset_of_style_2() { return static_cast<int32_t>(offsetof(TextEditor_t72CB6095A5C38226E08CD8073D5B6AD98579D440, ___style_2)); }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * get_style_2() const { return ___style_2; }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 ** get_address_of_style_2() { return &___style_2; }
inline void set_style_2(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * value)
{
___style_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___style_2), (void*)value);
}
inline static int32_t get_offset_of_multiline_3() { return static_cast<int32_t>(offsetof(TextEditor_t72CB6095A5C38226E08CD8073D5B6AD98579D440, ___multiline_3)); }
inline bool get_multiline_3() const { return ___multiline_3; }
inline bool* get_address_of_multiline_3() { return &___multiline_3; }
inline void set_multiline_3(bool value)
{
___multiline_3 = value;
}
inline static int32_t get_offset_of_hasHorizontalCursorPos_4() { return static_cast<int32_t>(offsetof(TextEditor_t72CB6095A5C38226E08CD8073D5B6AD98579D440, ___hasHorizontalCursorPos_4)); }
inline bool get_hasHorizontalCursorPos_4() const { return ___hasHorizontalCursorPos_4; }
inline bool* get_address_of_hasHorizontalCursorPos_4() { return &___hasHorizontalCursorPos_4; }
inline void set_hasHorizontalCursorPos_4(bool value)
{
___hasHorizontalCursorPos_4 = value;
}
inline static int32_t get_offset_of_isPasswordField_5() { return static_cast<int32_t>(offsetof(TextEditor_t72CB6095A5C38226E08CD8073D5B6AD98579D440, ___isPasswordField_5)); }
inline bool get_isPasswordField_5() const { return ___isPasswordField_5; }
inline bool* get_address_of_isPasswordField_5() { return &___isPasswordField_5; }
inline void set_isPasswordField_5(bool value)
{
___isPasswordField_5 = value;
}
inline static int32_t get_offset_of_scrollOffset_6() { return static_cast<int32_t>(offsetof(TextEditor_t72CB6095A5C38226E08CD8073D5B6AD98579D440, ___scrollOffset_6)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_scrollOffset_6() const { return ___scrollOffset_6; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_scrollOffset_6() { return &___scrollOffset_6; }
inline void set_scrollOffset_6(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___scrollOffset_6 = value;
}
inline static int32_t get_offset_of_m_Content_7() { return static_cast<int32_t>(offsetof(TextEditor_t72CB6095A5C38226E08CD8073D5B6AD98579D440, ___m_Content_7)); }
inline GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * get_m_Content_7() const { return ___m_Content_7; }
inline GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 ** get_address_of_m_Content_7() { return &___m_Content_7; }
inline void set_m_Content_7(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * value)
{
___m_Content_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Content_7), (void*)value);
}
inline static int32_t get_offset_of_m_CursorIndex_8() { return static_cast<int32_t>(offsetof(TextEditor_t72CB6095A5C38226E08CD8073D5B6AD98579D440, ___m_CursorIndex_8)); }
inline int32_t get_m_CursorIndex_8() const { return ___m_CursorIndex_8; }
inline int32_t* get_address_of_m_CursorIndex_8() { return &___m_CursorIndex_8; }
inline void set_m_CursorIndex_8(int32_t value)
{
___m_CursorIndex_8 = value;
}
inline static int32_t get_offset_of_m_SelectIndex_9() { return static_cast<int32_t>(offsetof(TextEditor_t72CB6095A5C38226E08CD8073D5B6AD98579D440, ___m_SelectIndex_9)); }
inline int32_t get_m_SelectIndex_9() const { return ___m_SelectIndex_9; }
inline int32_t* get_address_of_m_SelectIndex_9() { return &___m_SelectIndex_9; }
inline void set_m_SelectIndex_9(int32_t value)
{
___m_SelectIndex_9 = value;
}
inline static int32_t get_offset_of_m_RevealCursor_10() { return static_cast<int32_t>(offsetof(TextEditor_t72CB6095A5C38226E08CD8073D5B6AD98579D440, ___m_RevealCursor_10)); }
inline bool get_m_RevealCursor_10() const { return ___m_RevealCursor_10; }
inline bool* get_address_of_m_RevealCursor_10() { return &___m_RevealCursor_10; }
inline void set_m_RevealCursor_10(bool value)
{
___m_RevealCursor_10 = value;
}
inline static int32_t get_offset_of_m_MouseDragSelectsWholeWords_11() { return static_cast<int32_t>(offsetof(TextEditor_t72CB6095A5C38226E08CD8073D5B6AD98579D440, ___m_MouseDragSelectsWholeWords_11)); }
inline bool get_m_MouseDragSelectsWholeWords_11() const { return ___m_MouseDragSelectsWholeWords_11; }
inline bool* get_address_of_m_MouseDragSelectsWholeWords_11() { return &___m_MouseDragSelectsWholeWords_11; }
inline void set_m_MouseDragSelectsWholeWords_11(bool value)
{
___m_MouseDragSelectsWholeWords_11 = value;
}
inline static int32_t get_offset_of_m_DblClickInitPos_12() { return static_cast<int32_t>(offsetof(TextEditor_t72CB6095A5C38226E08CD8073D5B6AD98579D440, ___m_DblClickInitPos_12)); }
inline int32_t get_m_DblClickInitPos_12() const { return ___m_DblClickInitPos_12; }
inline int32_t* get_address_of_m_DblClickInitPos_12() { return &___m_DblClickInitPos_12; }
inline void set_m_DblClickInitPos_12(int32_t value)
{
___m_DblClickInitPos_12 = value;
}
inline static int32_t get_offset_of_m_DblClickSnap_13() { return static_cast<int32_t>(offsetof(TextEditor_t72CB6095A5C38226E08CD8073D5B6AD98579D440, ___m_DblClickSnap_13)); }
inline uint8_t get_m_DblClickSnap_13() const { return ___m_DblClickSnap_13; }
inline uint8_t* get_address_of_m_DblClickSnap_13() { return &___m_DblClickSnap_13; }
inline void set_m_DblClickSnap_13(uint8_t value)
{
___m_DblClickSnap_13 = value;
}
inline static int32_t get_offset_of_m_bJustSelected_14() { return static_cast<int32_t>(offsetof(TextEditor_t72CB6095A5C38226E08CD8073D5B6AD98579D440, ___m_bJustSelected_14)); }
inline bool get_m_bJustSelected_14() const { return ___m_bJustSelected_14; }
inline bool* get_address_of_m_bJustSelected_14() { return &___m_bJustSelected_14; }
inline void set_m_bJustSelected_14(bool value)
{
___m_bJustSelected_14 = value;
}
inline static int32_t get_offset_of_m_iAltCursorPos_15() { return static_cast<int32_t>(offsetof(TextEditor_t72CB6095A5C38226E08CD8073D5B6AD98579D440, ___m_iAltCursorPos_15)); }
inline int32_t get_m_iAltCursorPos_15() const { return ___m_iAltCursorPos_15; }
inline int32_t* get_address_of_m_iAltCursorPos_15() { return &___m_iAltCursorPos_15; }
inline void set_m_iAltCursorPos_15(int32_t value)
{
___m_iAltCursorPos_15 = value;
}
};
// UnityEngine.Texture
struct Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4 : public Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0
{
public:
public:
};
struct Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4_StaticFields
{
public:
// System.Int32 UnityEngine.Texture::GenerateAllMips
int32_t ___GenerateAllMips_4;
public:
inline static int32_t get_offset_of_GenerateAllMips_4() { return static_cast<int32_t>(offsetof(Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4_StaticFields, ___GenerateAllMips_4)); }
inline int32_t get_GenerateAllMips_4() const { return ___GenerateAllMips_4; }
inline int32_t* get_address_of_GenerateAllMips_4() { return &___GenerateAllMips_4; }
inline void set_GenerateAllMips_4(int32_t value)
{
___GenerateAllMips_4 = value;
}
};
// System.Action
struct Action_t591D2A86165F896B4B800BB5C25CE18672A55579 : public MulticastDelegate_t
{
public:
public:
};
// System.ArgumentException
struct ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 : public SystemException_t5380468142AA850BE4A341D7AF3EAB9C78746782
{
public:
// System.String System.ArgumentException::m_paramName
String_t* ___m_paramName_17;
public:
inline static int32_t get_offset_of_m_paramName_17() { return static_cast<int32_t>(offsetof(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1, ___m_paramName_17)); }
inline String_t* get_m_paramName_17() const { return ___m_paramName_17; }
inline String_t** get_address_of_m_paramName_17() { return &___m_paramName_17; }
inline void set_m_paramName_17(String_t* value)
{
___m_paramName_17 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_paramName_17), (void*)value);
}
};
// System.AsyncCallback
struct AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4 : public MulticastDelegate_t
{
public:
public:
};
// System.Func`1<System.Boolean>
struct Func_1_t4ABD6DAD480574F152452DD6B9C9A55F4F6655F1 : public MulticastDelegate_t
{
public:
public:
};
// System.Func`2<System.Exception,System.Boolean>
struct Func_2_tC816C5FDED4A7372C449E7660CAB9F94E2AC12F8 : public MulticastDelegate_t
{
public:
public:
};
// System.Func`3<System.Int32,System.IntPtr,System.Boolean>
struct Func_3_tBD99633D8A18C43CC528ECE3F77E2F69900048A7 : public MulticastDelegate_t
{
public:
public:
};
// System.Reflection.TargetInvocationException
struct TargetInvocationException_t0DD35F6083E1D1E0509BF181A79C76D3339D89B8 : public ApplicationException_t664823C3E0D3E1E7C7FA1C0DB4E19E98E9811C74
{
public:
public:
};
// UnityEngine.GUI_WindowFunction
struct WindowFunction_t9AF05117863D95AA9F85D497A3B9B53216708100 : public MulticastDelegate_t
{
public:
public:
};
// UnityEngine.GUIScrollGroup
struct GUIScrollGroup_tF7FE45226FB28968F68A8D2428FE9EA7DC5B18EE : public GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601
{
public:
// System.Single UnityEngine.GUIScrollGroup::calcMinWidth
float ___calcMinWidth_31;
// System.Single UnityEngine.GUIScrollGroup::calcMaxWidth
float ___calcMaxWidth_32;
// System.Single UnityEngine.GUIScrollGroup::calcMinHeight
float ___calcMinHeight_33;
// System.Single UnityEngine.GUIScrollGroup::calcMaxHeight
float ___calcMaxHeight_34;
// System.Single UnityEngine.GUIScrollGroup::clientWidth
float ___clientWidth_35;
// System.Single UnityEngine.GUIScrollGroup::clientHeight
float ___clientHeight_36;
// System.Boolean UnityEngine.GUIScrollGroup::allowHorizontalScroll
bool ___allowHorizontalScroll_37;
// System.Boolean UnityEngine.GUIScrollGroup::allowVerticalScroll
bool ___allowVerticalScroll_38;
// System.Boolean UnityEngine.GUIScrollGroup::needsHorizontalScrollbar
bool ___needsHorizontalScrollbar_39;
// System.Boolean UnityEngine.GUIScrollGroup::needsVerticalScrollbar
bool ___needsVerticalScrollbar_40;
// UnityEngine.GUIStyle UnityEngine.GUIScrollGroup::horizontalScrollbar
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___horizontalScrollbar_41;
// UnityEngine.GUIStyle UnityEngine.GUIScrollGroup::verticalScrollbar
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___verticalScrollbar_42;
public:
inline static int32_t get_offset_of_calcMinWidth_31() { return static_cast<int32_t>(offsetof(GUIScrollGroup_tF7FE45226FB28968F68A8D2428FE9EA7DC5B18EE, ___calcMinWidth_31)); }
inline float get_calcMinWidth_31() const { return ___calcMinWidth_31; }
inline float* get_address_of_calcMinWidth_31() { return &___calcMinWidth_31; }
inline void set_calcMinWidth_31(float value)
{
___calcMinWidth_31 = value;
}
inline static int32_t get_offset_of_calcMaxWidth_32() { return static_cast<int32_t>(offsetof(GUIScrollGroup_tF7FE45226FB28968F68A8D2428FE9EA7DC5B18EE, ___calcMaxWidth_32)); }
inline float get_calcMaxWidth_32() const { return ___calcMaxWidth_32; }
inline float* get_address_of_calcMaxWidth_32() { return &___calcMaxWidth_32; }
inline void set_calcMaxWidth_32(float value)
{
___calcMaxWidth_32 = value;
}
inline static int32_t get_offset_of_calcMinHeight_33() { return static_cast<int32_t>(offsetof(GUIScrollGroup_tF7FE45226FB28968F68A8D2428FE9EA7DC5B18EE, ___calcMinHeight_33)); }
inline float get_calcMinHeight_33() const { return ___calcMinHeight_33; }
inline float* get_address_of_calcMinHeight_33() { return &___calcMinHeight_33; }
inline void set_calcMinHeight_33(float value)
{
___calcMinHeight_33 = value;
}
inline static int32_t get_offset_of_calcMaxHeight_34() { return static_cast<int32_t>(offsetof(GUIScrollGroup_tF7FE45226FB28968F68A8D2428FE9EA7DC5B18EE, ___calcMaxHeight_34)); }
inline float get_calcMaxHeight_34() const { return ___calcMaxHeight_34; }
inline float* get_address_of_calcMaxHeight_34() { return &___calcMaxHeight_34; }
inline void set_calcMaxHeight_34(float value)
{
___calcMaxHeight_34 = value;
}
inline static int32_t get_offset_of_clientWidth_35() { return static_cast<int32_t>(offsetof(GUIScrollGroup_tF7FE45226FB28968F68A8D2428FE9EA7DC5B18EE, ___clientWidth_35)); }
inline float get_clientWidth_35() const { return ___clientWidth_35; }
inline float* get_address_of_clientWidth_35() { return &___clientWidth_35; }
inline void set_clientWidth_35(float value)
{
___clientWidth_35 = value;
}
inline static int32_t get_offset_of_clientHeight_36() { return static_cast<int32_t>(offsetof(GUIScrollGroup_tF7FE45226FB28968F68A8D2428FE9EA7DC5B18EE, ___clientHeight_36)); }
inline float get_clientHeight_36() const { return ___clientHeight_36; }
inline float* get_address_of_clientHeight_36() { return &___clientHeight_36; }
inline void set_clientHeight_36(float value)
{
___clientHeight_36 = value;
}
inline static int32_t get_offset_of_allowHorizontalScroll_37() { return static_cast<int32_t>(offsetof(GUIScrollGroup_tF7FE45226FB28968F68A8D2428FE9EA7DC5B18EE, ___allowHorizontalScroll_37)); }
inline bool get_allowHorizontalScroll_37() const { return ___allowHorizontalScroll_37; }
inline bool* get_address_of_allowHorizontalScroll_37() { return &___allowHorizontalScroll_37; }
inline void set_allowHorizontalScroll_37(bool value)
{
___allowHorizontalScroll_37 = value;
}
inline static int32_t get_offset_of_allowVerticalScroll_38() { return static_cast<int32_t>(offsetof(GUIScrollGroup_tF7FE45226FB28968F68A8D2428FE9EA7DC5B18EE, ___allowVerticalScroll_38)); }
inline bool get_allowVerticalScroll_38() const { return ___allowVerticalScroll_38; }
inline bool* get_address_of_allowVerticalScroll_38() { return &___allowVerticalScroll_38; }
inline void set_allowVerticalScroll_38(bool value)
{
___allowVerticalScroll_38 = value;
}
inline static int32_t get_offset_of_needsHorizontalScrollbar_39() { return static_cast<int32_t>(offsetof(GUIScrollGroup_tF7FE45226FB28968F68A8D2428FE9EA7DC5B18EE, ___needsHorizontalScrollbar_39)); }
inline bool get_needsHorizontalScrollbar_39() const { return ___needsHorizontalScrollbar_39; }
inline bool* get_address_of_needsHorizontalScrollbar_39() { return &___needsHorizontalScrollbar_39; }
inline void set_needsHorizontalScrollbar_39(bool value)
{
___needsHorizontalScrollbar_39 = value;
}
inline static int32_t get_offset_of_needsVerticalScrollbar_40() { return static_cast<int32_t>(offsetof(GUIScrollGroup_tF7FE45226FB28968F68A8D2428FE9EA7DC5B18EE, ___needsVerticalScrollbar_40)); }
inline bool get_needsVerticalScrollbar_40() const { return ___needsVerticalScrollbar_40; }
inline bool* get_address_of_needsVerticalScrollbar_40() { return &___needsVerticalScrollbar_40; }
inline void set_needsVerticalScrollbar_40(bool value)
{
___needsVerticalScrollbar_40 = value;
}
inline static int32_t get_offset_of_horizontalScrollbar_41() { return static_cast<int32_t>(offsetof(GUIScrollGroup_tF7FE45226FB28968F68A8D2428FE9EA7DC5B18EE, ___horizontalScrollbar_41)); }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * get_horizontalScrollbar_41() const { return ___horizontalScrollbar_41; }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 ** get_address_of_horizontalScrollbar_41() { return &___horizontalScrollbar_41; }
inline void set_horizontalScrollbar_41(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * value)
{
___horizontalScrollbar_41 = value;
Il2CppCodeGenWriteBarrier((void**)(&___horizontalScrollbar_41), (void*)value);
}
inline static int32_t get_offset_of_verticalScrollbar_42() { return static_cast<int32_t>(offsetof(GUIScrollGroup_tF7FE45226FB28968F68A8D2428FE9EA7DC5B18EE, ___verticalScrollbar_42)); }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * get_verticalScrollbar_42() const { return ___verticalScrollbar_42; }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 ** get_address_of_verticalScrollbar_42() { return &___verticalScrollbar_42; }
inline void set_verticalScrollbar_42(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * value)
{
___verticalScrollbar_42 = value;
Il2CppCodeGenWriteBarrier((void**)(&___verticalScrollbar_42), (void*)value);
}
};
// UnityEngine.GUISkin
struct GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 : public ScriptableObject_tAB015486CEAB714DA0D5C1BA389B84FB90427734
{
public:
// UnityEngine.Font UnityEngine.GUISkin::m_Font
Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * ___m_Font_4;
// UnityEngine.GUIStyle UnityEngine.GUISkin::m_box
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___m_box_5;
// UnityEngine.GUIStyle UnityEngine.GUISkin::m_button
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___m_button_6;
// UnityEngine.GUIStyle UnityEngine.GUISkin::m_toggle
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___m_toggle_7;
// UnityEngine.GUIStyle UnityEngine.GUISkin::m_label
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___m_label_8;
// UnityEngine.GUIStyle UnityEngine.GUISkin::m_textField
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___m_textField_9;
// UnityEngine.GUIStyle UnityEngine.GUISkin::m_textArea
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___m_textArea_10;
// UnityEngine.GUIStyle UnityEngine.GUISkin::m_window
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___m_window_11;
// UnityEngine.GUIStyle UnityEngine.GUISkin::m_horizontalSlider
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___m_horizontalSlider_12;
// UnityEngine.GUIStyle UnityEngine.GUISkin::m_horizontalSliderThumb
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___m_horizontalSliderThumb_13;
// UnityEngine.GUIStyle UnityEngine.GUISkin::m_horizontalSliderThumbExtent
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___m_horizontalSliderThumbExtent_14;
// UnityEngine.GUIStyle UnityEngine.GUISkin::m_verticalSlider
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___m_verticalSlider_15;
// UnityEngine.GUIStyle UnityEngine.GUISkin::m_verticalSliderThumb
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___m_verticalSliderThumb_16;
// UnityEngine.GUIStyle UnityEngine.GUISkin::m_verticalSliderThumbExtent
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___m_verticalSliderThumbExtent_17;
// UnityEngine.GUIStyle UnityEngine.GUISkin::m_horizontalScrollbar
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___m_horizontalScrollbar_18;
// UnityEngine.GUIStyle UnityEngine.GUISkin::m_horizontalScrollbarThumb
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___m_horizontalScrollbarThumb_19;
// UnityEngine.GUIStyle UnityEngine.GUISkin::m_horizontalScrollbarLeftButton
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___m_horizontalScrollbarLeftButton_20;
// UnityEngine.GUIStyle UnityEngine.GUISkin::m_horizontalScrollbarRightButton
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___m_horizontalScrollbarRightButton_21;
// UnityEngine.GUIStyle UnityEngine.GUISkin::m_verticalScrollbar
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___m_verticalScrollbar_22;
// UnityEngine.GUIStyle UnityEngine.GUISkin::m_verticalScrollbarThumb
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___m_verticalScrollbarThumb_23;
// UnityEngine.GUIStyle UnityEngine.GUISkin::m_verticalScrollbarUpButton
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___m_verticalScrollbarUpButton_24;
// UnityEngine.GUIStyle UnityEngine.GUISkin::m_verticalScrollbarDownButton
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___m_verticalScrollbarDownButton_25;
// UnityEngine.GUIStyle UnityEngine.GUISkin::m_ScrollView
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___m_ScrollView_26;
// UnityEngine.GUIStyle[] UnityEngine.GUISkin::m_CustomStyles
GUIStyleU5BU5D_t2F343713D6ADFF41BBCF1D17BAE79F51BD745DBB* ___m_CustomStyles_27;
// UnityEngine.GUISettings UnityEngine.GUISkin::m_Settings
GUISettings_tA863524720A3C984BAE56598D922F2C04DC80EF4 * ___m_Settings_28;
// System.Collections.Generic.Dictionary`2<System.String,UnityEngine.GUIStyle> UnityEngine.GUISkin::m_Styles
Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * ___m_Styles_30;
public:
inline static int32_t get_offset_of_m_Font_4() { return static_cast<int32_t>(offsetof(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7, ___m_Font_4)); }
inline Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * get_m_Font_4() const { return ___m_Font_4; }
inline Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 ** get_address_of_m_Font_4() { return &___m_Font_4; }
inline void set_m_Font_4(Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * value)
{
___m_Font_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Font_4), (void*)value);
}
inline static int32_t get_offset_of_m_box_5() { return static_cast<int32_t>(offsetof(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7, ___m_box_5)); }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * get_m_box_5() const { return ___m_box_5; }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 ** get_address_of_m_box_5() { return &___m_box_5; }
inline void set_m_box_5(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * value)
{
___m_box_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_box_5), (void*)value);
}
inline static int32_t get_offset_of_m_button_6() { return static_cast<int32_t>(offsetof(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7, ___m_button_6)); }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * get_m_button_6() const { return ___m_button_6; }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 ** get_address_of_m_button_6() { return &___m_button_6; }
inline void set_m_button_6(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * value)
{
___m_button_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_button_6), (void*)value);
}
inline static int32_t get_offset_of_m_toggle_7() { return static_cast<int32_t>(offsetof(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7, ___m_toggle_7)); }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * get_m_toggle_7() const { return ___m_toggle_7; }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 ** get_address_of_m_toggle_7() { return &___m_toggle_7; }
inline void set_m_toggle_7(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * value)
{
___m_toggle_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_toggle_7), (void*)value);
}
inline static int32_t get_offset_of_m_label_8() { return static_cast<int32_t>(offsetof(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7, ___m_label_8)); }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * get_m_label_8() const { return ___m_label_8; }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 ** get_address_of_m_label_8() { return &___m_label_8; }
inline void set_m_label_8(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * value)
{
___m_label_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_label_8), (void*)value);
}
inline static int32_t get_offset_of_m_textField_9() { return static_cast<int32_t>(offsetof(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7, ___m_textField_9)); }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * get_m_textField_9() const { return ___m_textField_9; }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 ** get_address_of_m_textField_9() { return &___m_textField_9; }
inline void set_m_textField_9(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * value)
{
___m_textField_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_textField_9), (void*)value);
}
inline static int32_t get_offset_of_m_textArea_10() { return static_cast<int32_t>(offsetof(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7, ___m_textArea_10)); }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * get_m_textArea_10() const { return ___m_textArea_10; }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 ** get_address_of_m_textArea_10() { return &___m_textArea_10; }
inline void set_m_textArea_10(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * value)
{
___m_textArea_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_textArea_10), (void*)value);
}
inline static int32_t get_offset_of_m_window_11() { return static_cast<int32_t>(offsetof(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7, ___m_window_11)); }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * get_m_window_11() const { return ___m_window_11; }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 ** get_address_of_m_window_11() { return &___m_window_11; }
inline void set_m_window_11(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * value)
{
___m_window_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_window_11), (void*)value);
}
inline static int32_t get_offset_of_m_horizontalSlider_12() { return static_cast<int32_t>(offsetof(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7, ___m_horizontalSlider_12)); }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * get_m_horizontalSlider_12() const { return ___m_horizontalSlider_12; }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 ** get_address_of_m_horizontalSlider_12() { return &___m_horizontalSlider_12; }
inline void set_m_horizontalSlider_12(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * value)
{
___m_horizontalSlider_12 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_horizontalSlider_12), (void*)value);
}
inline static int32_t get_offset_of_m_horizontalSliderThumb_13() { return static_cast<int32_t>(offsetof(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7, ___m_horizontalSliderThumb_13)); }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * get_m_horizontalSliderThumb_13() const { return ___m_horizontalSliderThumb_13; }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 ** get_address_of_m_horizontalSliderThumb_13() { return &___m_horizontalSliderThumb_13; }
inline void set_m_horizontalSliderThumb_13(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * value)
{
___m_horizontalSliderThumb_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_horizontalSliderThumb_13), (void*)value);
}
inline static int32_t get_offset_of_m_horizontalSliderThumbExtent_14() { return static_cast<int32_t>(offsetof(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7, ___m_horizontalSliderThumbExtent_14)); }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * get_m_horizontalSliderThumbExtent_14() const { return ___m_horizontalSliderThumbExtent_14; }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 ** get_address_of_m_horizontalSliderThumbExtent_14() { return &___m_horizontalSliderThumbExtent_14; }
inline void set_m_horizontalSliderThumbExtent_14(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * value)
{
___m_horizontalSliderThumbExtent_14 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_horizontalSliderThumbExtent_14), (void*)value);
}
inline static int32_t get_offset_of_m_verticalSlider_15() { return static_cast<int32_t>(offsetof(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7, ___m_verticalSlider_15)); }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * get_m_verticalSlider_15() const { return ___m_verticalSlider_15; }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 ** get_address_of_m_verticalSlider_15() { return &___m_verticalSlider_15; }
inline void set_m_verticalSlider_15(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * value)
{
___m_verticalSlider_15 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_verticalSlider_15), (void*)value);
}
inline static int32_t get_offset_of_m_verticalSliderThumb_16() { return static_cast<int32_t>(offsetof(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7, ___m_verticalSliderThumb_16)); }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * get_m_verticalSliderThumb_16() const { return ___m_verticalSliderThumb_16; }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 ** get_address_of_m_verticalSliderThumb_16() { return &___m_verticalSliderThumb_16; }
inline void set_m_verticalSliderThumb_16(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * value)
{
___m_verticalSliderThumb_16 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_verticalSliderThumb_16), (void*)value);
}
inline static int32_t get_offset_of_m_verticalSliderThumbExtent_17() { return static_cast<int32_t>(offsetof(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7, ___m_verticalSliderThumbExtent_17)); }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * get_m_verticalSliderThumbExtent_17() const { return ___m_verticalSliderThumbExtent_17; }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 ** get_address_of_m_verticalSliderThumbExtent_17() { return &___m_verticalSliderThumbExtent_17; }
inline void set_m_verticalSliderThumbExtent_17(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * value)
{
___m_verticalSliderThumbExtent_17 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_verticalSliderThumbExtent_17), (void*)value);
}
inline static int32_t get_offset_of_m_horizontalScrollbar_18() { return static_cast<int32_t>(offsetof(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7, ___m_horizontalScrollbar_18)); }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * get_m_horizontalScrollbar_18() const { return ___m_horizontalScrollbar_18; }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 ** get_address_of_m_horizontalScrollbar_18() { return &___m_horizontalScrollbar_18; }
inline void set_m_horizontalScrollbar_18(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * value)
{
___m_horizontalScrollbar_18 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_horizontalScrollbar_18), (void*)value);
}
inline static int32_t get_offset_of_m_horizontalScrollbarThumb_19() { return static_cast<int32_t>(offsetof(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7, ___m_horizontalScrollbarThumb_19)); }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * get_m_horizontalScrollbarThumb_19() const { return ___m_horizontalScrollbarThumb_19; }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 ** get_address_of_m_horizontalScrollbarThumb_19() { return &___m_horizontalScrollbarThumb_19; }
inline void set_m_horizontalScrollbarThumb_19(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * value)
{
___m_horizontalScrollbarThumb_19 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_horizontalScrollbarThumb_19), (void*)value);
}
inline static int32_t get_offset_of_m_horizontalScrollbarLeftButton_20() { return static_cast<int32_t>(offsetof(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7, ___m_horizontalScrollbarLeftButton_20)); }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * get_m_horizontalScrollbarLeftButton_20() const { return ___m_horizontalScrollbarLeftButton_20; }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 ** get_address_of_m_horizontalScrollbarLeftButton_20() { return &___m_horizontalScrollbarLeftButton_20; }
inline void set_m_horizontalScrollbarLeftButton_20(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * value)
{
___m_horizontalScrollbarLeftButton_20 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_horizontalScrollbarLeftButton_20), (void*)value);
}
inline static int32_t get_offset_of_m_horizontalScrollbarRightButton_21() { return static_cast<int32_t>(offsetof(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7, ___m_horizontalScrollbarRightButton_21)); }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * get_m_horizontalScrollbarRightButton_21() const { return ___m_horizontalScrollbarRightButton_21; }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 ** get_address_of_m_horizontalScrollbarRightButton_21() { return &___m_horizontalScrollbarRightButton_21; }
inline void set_m_horizontalScrollbarRightButton_21(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * value)
{
___m_horizontalScrollbarRightButton_21 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_horizontalScrollbarRightButton_21), (void*)value);
}
inline static int32_t get_offset_of_m_verticalScrollbar_22() { return static_cast<int32_t>(offsetof(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7, ___m_verticalScrollbar_22)); }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * get_m_verticalScrollbar_22() const { return ___m_verticalScrollbar_22; }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 ** get_address_of_m_verticalScrollbar_22() { return &___m_verticalScrollbar_22; }
inline void set_m_verticalScrollbar_22(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * value)
{
___m_verticalScrollbar_22 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_verticalScrollbar_22), (void*)value);
}
inline static int32_t get_offset_of_m_verticalScrollbarThumb_23() { return static_cast<int32_t>(offsetof(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7, ___m_verticalScrollbarThumb_23)); }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * get_m_verticalScrollbarThumb_23() const { return ___m_verticalScrollbarThumb_23; }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 ** get_address_of_m_verticalScrollbarThumb_23() { return &___m_verticalScrollbarThumb_23; }
inline void set_m_verticalScrollbarThumb_23(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * value)
{
___m_verticalScrollbarThumb_23 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_verticalScrollbarThumb_23), (void*)value);
}
inline static int32_t get_offset_of_m_verticalScrollbarUpButton_24() { return static_cast<int32_t>(offsetof(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7, ___m_verticalScrollbarUpButton_24)); }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * get_m_verticalScrollbarUpButton_24() const { return ___m_verticalScrollbarUpButton_24; }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 ** get_address_of_m_verticalScrollbarUpButton_24() { return &___m_verticalScrollbarUpButton_24; }
inline void set_m_verticalScrollbarUpButton_24(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * value)
{
___m_verticalScrollbarUpButton_24 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_verticalScrollbarUpButton_24), (void*)value);
}
inline static int32_t get_offset_of_m_verticalScrollbarDownButton_25() { return static_cast<int32_t>(offsetof(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7, ___m_verticalScrollbarDownButton_25)); }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * get_m_verticalScrollbarDownButton_25() const { return ___m_verticalScrollbarDownButton_25; }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 ** get_address_of_m_verticalScrollbarDownButton_25() { return &___m_verticalScrollbarDownButton_25; }
inline void set_m_verticalScrollbarDownButton_25(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * value)
{
___m_verticalScrollbarDownButton_25 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_verticalScrollbarDownButton_25), (void*)value);
}
inline static int32_t get_offset_of_m_ScrollView_26() { return static_cast<int32_t>(offsetof(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7, ___m_ScrollView_26)); }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * get_m_ScrollView_26() const { return ___m_ScrollView_26; }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 ** get_address_of_m_ScrollView_26() { return &___m_ScrollView_26; }
inline void set_m_ScrollView_26(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * value)
{
___m_ScrollView_26 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_ScrollView_26), (void*)value);
}
inline static int32_t get_offset_of_m_CustomStyles_27() { return static_cast<int32_t>(offsetof(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7, ___m_CustomStyles_27)); }
inline GUIStyleU5BU5D_t2F343713D6ADFF41BBCF1D17BAE79F51BD745DBB* get_m_CustomStyles_27() const { return ___m_CustomStyles_27; }
inline GUIStyleU5BU5D_t2F343713D6ADFF41BBCF1D17BAE79F51BD745DBB** get_address_of_m_CustomStyles_27() { return &___m_CustomStyles_27; }
inline void set_m_CustomStyles_27(GUIStyleU5BU5D_t2F343713D6ADFF41BBCF1D17BAE79F51BD745DBB* value)
{
___m_CustomStyles_27 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_CustomStyles_27), (void*)value);
}
inline static int32_t get_offset_of_m_Settings_28() { return static_cast<int32_t>(offsetof(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7, ___m_Settings_28)); }
inline GUISettings_tA863524720A3C984BAE56598D922F2C04DC80EF4 * get_m_Settings_28() const { return ___m_Settings_28; }
inline GUISettings_tA863524720A3C984BAE56598D922F2C04DC80EF4 ** get_address_of_m_Settings_28() { return &___m_Settings_28; }
inline void set_m_Settings_28(GUISettings_tA863524720A3C984BAE56598D922F2C04DC80EF4 * value)
{
___m_Settings_28 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Settings_28), (void*)value);
}
inline static int32_t get_offset_of_m_Styles_30() { return static_cast<int32_t>(offsetof(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7, ___m_Styles_30)); }
inline Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * get_m_Styles_30() const { return ___m_Styles_30; }
inline Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A ** get_address_of_m_Styles_30() { return &___m_Styles_30; }
inline void set_m_Styles_30(Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * value)
{
___m_Styles_30 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Styles_30), (void*)value);
}
};
struct GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7_StaticFields
{
public:
// UnityEngine.GUIStyle UnityEngine.GUISkin::ms_Error
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___ms_Error_29;
// UnityEngine.GUISkin_SkinChangedDelegate UnityEngine.GUISkin::m_SkinChanged
SkinChangedDelegate_tAB4CEEA8C8A0BDCFD51C9624AE173C46A40135D8 * ___m_SkinChanged_31;
// UnityEngine.GUISkin UnityEngine.GUISkin::current
GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * ___current_32;
public:
inline static int32_t get_offset_of_ms_Error_29() { return static_cast<int32_t>(offsetof(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7_StaticFields, ___ms_Error_29)); }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * get_ms_Error_29() const { return ___ms_Error_29; }
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 ** get_address_of_ms_Error_29() { return &___ms_Error_29; }
inline void set_ms_Error_29(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * value)
{
___ms_Error_29 = value;
Il2CppCodeGenWriteBarrier((void**)(&___ms_Error_29), (void*)value);
}
inline static int32_t get_offset_of_m_SkinChanged_31() { return static_cast<int32_t>(offsetof(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7_StaticFields, ___m_SkinChanged_31)); }
inline SkinChangedDelegate_tAB4CEEA8C8A0BDCFD51C9624AE173C46A40135D8 * get_m_SkinChanged_31() const { return ___m_SkinChanged_31; }
inline SkinChangedDelegate_tAB4CEEA8C8A0BDCFD51C9624AE173C46A40135D8 ** get_address_of_m_SkinChanged_31() { return &___m_SkinChanged_31; }
inline void set_m_SkinChanged_31(SkinChangedDelegate_tAB4CEEA8C8A0BDCFD51C9624AE173C46A40135D8 * value)
{
___m_SkinChanged_31 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_SkinChanged_31), (void*)value);
}
inline static int32_t get_offset_of_current_32() { return static_cast<int32_t>(offsetof(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7_StaticFields, ___current_32)); }
inline GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * get_current_32() const { return ___current_32; }
inline GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 ** get_address_of_current_32() { return &___current_32; }
inline void set_current_32(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * value)
{
___current_32 = value;
Il2CppCodeGenWriteBarrier((void**)(&___current_32), (void*)value);
}
};
// UnityEngine.GUISkin_SkinChangedDelegate
struct SkinChangedDelegate_tAB4CEEA8C8A0BDCFD51C9624AE173C46A40135D8 : public MulticastDelegate_t
{
public:
public:
};
// UnityEngine.Texture2D
struct Texture2D_tBBF96AC337723E2EF156DF17E09D4379FD05DE1C : public Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// System.Object[]
struct ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A : public RuntimeArray
{
public:
ALIGN_FIELD (8) RuntimeObject * m_Items[1];
public:
inline RuntimeObject * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline RuntimeObject ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, RuntimeObject * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline RuntimeObject * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline RuntimeObject ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, RuntimeObject * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// UnityEngine.GUILayoutOption[]
struct GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B : public RuntimeArray
{
public:
ALIGN_FIELD (8) GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 * m_Items[1];
public:
inline GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 ** 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, GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Delegate[]
struct DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Delegate_t * m_Items[1];
public:
inline Delegate_t * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Delegate_t ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Delegate_t * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline Delegate_t * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Delegate_t ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Delegate_t * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// UnityEngine.GUIStyle[]
struct GUIStyleU5BU5D_t2F343713D6ADFF41BBCF1D17BAE79F51BD745DBB : public RuntimeArray
{
public:
ALIGN_FIELD (8) GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * m_Items[1];
public:
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 ** 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, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline GUIStyle_t671F175A201A19166385EE3392292A5F50070572 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.String[]
struct StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E : public RuntimeArray
{
public:
ALIGN_FIELD (8) String_t* m_Items[1];
public:
inline String_t* GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline String_t** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, String_t* value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline String_t* GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline String_t** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, String_t* value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
IL2CPP_EXTERN_C void GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshal_pinvoke(const GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5& unmarshaled, GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshaled_pinvoke& marshaled);
IL2CPP_EXTERN_C void GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshal_pinvoke_back(const GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshaled_pinvoke& marshaled, GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5& unmarshaled);
IL2CPP_EXTERN_C void GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshal_pinvoke_cleanup(GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshaled_pinvoke& marshaled);
IL2CPP_EXTERN_C void RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A_marshal_pinvoke(const RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A& unmarshaled, RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A_marshaled_pinvoke& marshaled);
IL2CPP_EXTERN_C void RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A_marshal_pinvoke_back(const RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A_marshaled_pinvoke& marshaled, RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A& unmarshaled);
IL2CPP_EXTERN_C void RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A_marshal_pinvoke_cleanup(RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A_marshaled_pinvoke& marshaled);
IL2CPP_EXTERN_C void GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshal_com(const GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5& unmarshaled, GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshaled_com& marshaled);
IL2CPP_EXTERN_C void GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshal_com_back(const GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshaled_com& marshaled, GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5& unmarshaled);
IL2CPP_EXTERN_C void GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshal_com_cleanup(GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshaled_com& marshaled);
IL2CPP_EXTERN_C void RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A_marshal_com(const RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A& unmarshaled, RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A_marshaled_com& marshaled);
IL2CPP_EXTERN_C void RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A_marshal_com_back(const RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A_marshaled_com& marshaled, RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A& unmarshaled);
IL2CPP_EXTERN_C void RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A_marshal_com_cleanup(RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A_marshaled_com& marshaled);
IL2CPP_EXTERN_C void GUIStyle_t671F175A201A19166385EE3392292A5F50070572_marshal_pinvoke(const GUIStyle_t671F175A201A19166385EE3392292A5F50070572& unmarshaled, GUIStyle_t671F175A201A19166385EE3392292A5F50070572_marshaled_pinvoke& marshaled);
IL2CPP_EXTERN_C void GUIStyle_t671F175A201A19166385EE3392292A5F50070572_marshal_pinvoke_back(const GUIStyle_t671F175A201A19166385EE3392292A5F50070572_marshaled_pinvoke& marshaled, GUIStyle_t671F175A201A19166385EE3392292A5F50070572& unmarshaled);
IL2CPP_EXTERN_C void GUIStyle_t671F175A201A19166385EE3392292A5F50070572_marshal_pinvoke_cleanup(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_marshaled_pinvoke& marshaled);
IL2CPP_EXTERN_C void GUIStyle_t671F175A201A19166385EE3392292A5F50070572_marshal_com(const GUIStyle_t671F175A201A19166385EE3392292A5F50070572& unmarshaled, GUIStyle_t671F175A201A19166385EE3392292A5F50070572_marshaled_com& marshaled);
IL2CPP_EXTERN_C void GUIStyle_t671F175A201A19166385EE3392292A5F50070572_marshal_com_back(const GUIStyle_t671F175A201A19166385EE3392292A5F50070572_marshaled_com& marshaled, GUIStyle_t671F175A201A19166385EE3392292A5F50070572& unmarshaled);
IL2CPP_EXTERN_C void GUIStyle_t671F175A201A19166385EE3392292A5F50070572_marshal_com_cleanup(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_marshaled_com& marshaled);
// System.Void System.Collections.Generic.List`1<System.Object>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_mC832F1AC0F814BAEB19175F5D7972A7507508BC3_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, const RuntimeMethod* method);
// System.Int32 System.Collections.Generic.List`1<System.Object>::get_Count()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m507C9149FF7F83AAC72C29091E745D557DA47D22_gshared_inline (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, const RuntimeMethod* method);
// !0 System.Collections.Generic.List`1<System.Object>::get_Item(System.Int32)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR RuntimeObject * List_1_get_Item_mFDB8AD680C600072736579BBF5F38F7416396588_gshared_inline (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, int32_t ___index0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Object>::Add(!0)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Add_m6930161974C7504C80F52EC379EF012387D43138_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, RuntimeObject * ___item0, 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_tE0C99528D3DCE5863566CE37BD94162A4C0431CD List_1_GetEnumerator_m52CC760E475D226A2B75048D70C4E22692F9F68D_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, const RuntimeMethod* method);
// !0 System.Collections.Generic.List`1/Enumerator<System.Object>::get_Current()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR RuntimeObject * Enumerator_get_Current_mD7829C7E8CFBEDD463B15A951CDE9B90A12CC55C_gshared_inline (Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1/Enumerator<System.Object>::MoveNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Enumerator_MoveNext_m38B1099DDAD7EEDE2F4CDAB11C095AC784AC2E34_gshared (Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<System.Object>::Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Enumerator_Dispose_m94D0DAE031619503CDA6E53C5C3CC78AF3139472_gshared (Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.Dictionary`2<System.Int32,System.Object>::TryGetValue(!0,!1&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Dictionary_2_TryGetValue_m867F6DA953678D0333A55270B7C6EF38EFC293FF_gshared (Dictionary_2_t03608389BB57475AA3F4B2B79D176A27807BC884 * __this, int32_t ___key0, RuntimeObject ** ___value1, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,System.Object>::set_Item(!0,!1)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2_set_Item_mF9A6FBE4006C89D15B8C88B2CB46E9B24D18B7FC_gshared (Dictionary_2_t03608389BB57475AA3F4B2B79D176A27807BC884 * __this, int32_t ___key0, RuntimeObject * ___value1, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,System.Object>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2__ctor_m7D745ADE56151C2895459668F4A4242985E526D8_gshared (Dictionary_2_t03608389BB57475AA3F4B2B79D176A27807BC884 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<System.Object,System.Object>::.ctor(System.Collections.Generic.IEqualityComparer`1<!0>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2__ctor_m76CDCB0C7BECE95DBA94C7C98467F297E4451EE7_gshared (Dictionary_2_t32F25F093828AA9F93CB11C2A2B4648FD62A09BA * __this, RuntimeObject* ___comparer0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<System.Object,System.Object>::set_Item(!0,!1)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2_set_Item_m466D001F105E25DEB5C9BCB17837EE92A27FDE93_gshared (Dictionary_2_t32F25F093828AA9F93CB11C2A2B4648FD62A09BA * __this, RuntimeObject * ___key0, RuntimeObject * ___value1, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.Dictionary`2<System.Object,System.Object>::TryGetValue(!0,!1&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Dictionary_2_TryGetValue_m3455807C552312C60038DF52EF328C3687442DE3_gshared (Dictionary_2_t32F25F093828AA9F93CB11C2A2B4648FD62A09BA * __this, RuntimeObject * ___key0, RuntimeObject ** ___value1, const RuntimeMethod* method);
// System.Collections.Generic.Dictionary`2/ValueCollection<!0,!1> System.Collections.Generic.Dictionary`2<System.Object,System.Object>::get_Values()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ValueCollection_t0816666499CBD11E58E1E7C79A4EFC2AA47E08A2 * Dictionary_2_get_Values_m58CC32586C31C6F38B730DE7CD79A1FFE9109BA4_gshared (Dictionary_2_t32F25F093828AA9F93CB11C2A2B4648FD62A09BA * __this, const RuntimeMethod* method);
// System.Collections.Generic.Dictionary`2/ValueCollection/Enumerator<!0,!1> System.Collections.Generic.Dictionary`2/ValueCollection<System.Object,System.Object>::GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Enumerator_tB5076FB1730C18188DBB208FD1B6870FC5A660E6 ValueCollection_GetEnumerator_m7A12639A28DE8959DC682764BF2582EA59CDAFE0_gshared (ValueCollection_t0816666499CBD11E58E1E7C79A4EFC2AA47E08A2 * __this, const RuntimeMethod* method);
// !0 System.Func`1<System.Boolean>::Invoke()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Func_1_Invoke_mFA91B93A5C91290D4A3C475C4117CA05B43419E6_gshared (Func_1_t4ABD6DAD480574F152452DD6B9C9A55F4F6655F1 * __this, const RuntimeMethod* method);
// !2 System.Func`3<System.Int32,System.IntPtr,System.Boolean>::Invoke(!0,!1)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Func_3_Invoke_mCD6DEEC09B4F1B42DD0FD4A8F58632B08EC66737_gshared (Func_3_tBD99633D8A18C43CC528ECE3F77E2F69900048A7 * __this, int32_t ___arg10, intptr_t ___arg21, const RuntimeMethod* method);
// !1 System.Func`2<System.Object,System.Boolean>::Invoke(!0)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Func_2_Invoke_mAE8945859643E5D0DADDF6194083A0E5F9E4133B_gshared (Func_2_t4B4B1E74248F38404B56001A709D81142DE730CC * __this, RuntimeObject * ___arg0, const RuntimeMethod* method);
// System.Void UnityEngine.Event::get_mousePosition_Injected(UnityEngine.Vector2&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Event_get_mousePosition_Injected_mE71FE88F6E27190A534BD5862941E5887D6BE632 (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * ___ret0, const RuntimeMethod* method);
// System.Void UnityEngine.Event::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Event__ctor_mF8E4029007206A6CAAB28422355BA208C0728FB9 (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, int32_t ___displayIndex0, const RuntimeMethod* method);
// System.Void UnityEngine.Event::set_displayIndex(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Event_set_displayIndex_mF73CEED3B26A4BCADB099E5E6685FE6AC2CF7289 (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, int32_t ___value0, const RuntimeMethod* method);
// System.Void UnityEngine.Event::Internal_SetNativeEvent(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Event_Internal_SetNativeEvent_mDD8C9E3F062FD112ED996FA4E45C1BFBB8C4E950 (intptr_t ___ptr0, const RuntimeMethod* method);
// System.Void System.Object::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0 (RuntimeObject * __this, const RuntimeMethod* method);
// System.IntPtr UnityEngine.Event::Internal_Create(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t Event_Internal_Create_m93F047D4FC3B4B76FD4F80439D0F7EE131EE1E6B (int32_t ___displayIndex0, const RuntimeMethod* method);
// System.Boolean System.IntPtr::op_Inequality(System.IntPtr,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IntPtr_op_Inequality_mB4886A806009EA825EFCC60CD2A7F6EB8E273A61 (intptr_t ___value10, intptr_t ___value21, const RuntimeMethod* method);
// System.Void UnityEngine.Event::Internal_Destroy(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Event_Internal_Destroy_m30C46F30A51ABAC5EC270FB75A9856676AA3515C (intptr_t ___ptr0, const RuntimeMethod* method);
// System.Void System.Object::Finalize()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object_Finalize_m4015B7D3A44DE125C5FE34D7276CD4697C06F380 (RuntimeObject * __this, const RuntimeMethod* method);
// UnityEngine.EventModifiers UnityEngine.Event::get_modifiers()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Event_get_modifiers_m4D1BDE843A9379F50C3F32CB78CCDAD84B779108 (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, const RuntimeMethod* method);
// UnityEngine.EventType UnityEngine.Event::get_type()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Event_get_type_mAABE4A35E5658E0079A1518D318AF2592F51D6FA (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, const RuntimeMethod* method);
// UnityEngine.PointerType UnityEngine.Event::get_pointerType()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Event_get_pointerType_m1D8031C5A8BFBAC21BAAB396199CDFCD3AAC42CA (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, const RuntimeMethod* method);
// System.Boolean UnityEngine.Event::get_isKey()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Event_get_isKey_m17D185B6CD336242BC5FB9BAB025EE8FA7771E90 (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, const RuntimeMethod* method);
// UnityEngine.KeyCode UnityEngine.Event::get_keyCode()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Event_get_keyCode_m8B0AAD347861E322E91D2B7320A99E04D39575CF (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, const RuntimeMethod* method);
// System.Boolean UnityEngine.Event::get_isMouse()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Event_get_isMouse_m5923637C4A5E3BD642C3E88A428D5B39F0A85AB6 (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, const RuntimeMethod* method);
// UnityEngine.Vector2 UnityEngine.Event::get_mousePosition()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_tA85D2DD88578276CA8A8796756458277E72D073D Event_get_mousePosition_m92AD98489A626864E9B179273270802EB1D2C085 (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, const RuntimeMethod* method);
// System.Int32 UnityEngine.Vector2::GetHashCode()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Vector2_GetHashCode_m028AB6B14EBC6D668CFA45BF6EDEF17E2C44EA54 (Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * __this, const RuntimeMethod* method);
// System.Type System.Object::GetType()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Type_t * Object_GetType_m2E0B62414ECCAA3094B703790CE88CBB2F83EA60 (RuntimeObject * __this, const RuntimeMethod* method);
// System.Boolean UnityEngine.Vector2::op_Equality(UnityEngine.Vector2,UnityEngine.Vector2)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Vector2_op_Equality_m0E86E1B1038DDB8554A8A0D58729A7788D989588 (Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___lhs0, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___rhs1, const RuntimeMethod* method);
// System.Char UnityEngine.Event::get_character()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Il2CppChar Event_get_character_m78B46D412357B71233F3D41842928A19B290915C (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, const RuntimeMethod* method);
// System.String UnityEngine.UnityString::Format(System.String,System.Object[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* UnityString_Format_m415056ECF8DA7B3EC6A8456E299D0C2002177387 (String_t* ___fmt0, ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ___args1, const RuntimeMethod* method);
// System.String System.String::Concat(System.Object[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_mB7BA84F13912303B2E5E40FBF0109E1A328ACA07 (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ___args0, const RuntimeMethod* method);
// System.String UnityEngine.Event::get_commandName()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Event_get_commandName_m119D9F8B0A7BA18B849B958CFAF249C970C00BF1 (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, const RuntimeMethod* method);
// System.String System.String::Concat(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_m798542DE19B3F02DC4F4B777BB2E73169F129DE1 (RuntimeObject * ___arg00, const RuntimeMethod* method);
// System.Void UnityEngine.Debug::LogWarning(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_LogWarning_m37338644DC81F640CCDFEAE35A223F0E965F0568 (RuntimeObject * ___message0, const RuntimeMethod* method);
// System.Void UnityEngine.Event::Internal_Use()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Event_Internal_Use_m44762004F3C1C23EEC79F1B9250433A581EC6538 (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.GUI::Internal_DoWindow_Injected(System.Int32,System.Int32,UnityEngine.Rect&,UnityEngine.GUI/WindowFunction,UnityEngine.GUIContent,UnityEngine.GUIStyle,System.Object,System.Boolean,UnityEngine.Rect&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUI_Internal_DoWindow_Injected_mEA9D79FEB9DE39D98F052354778804D873B5CED9 (int32_t ___id0, int32_t ___instanceID1, Rect_t35B976DE901B5423C11705E156938EA27AB402CE * ___clientRect2, WindowFunction_t9AF05117863D95AA9F85D497A3B9B53216708100 * ___func3, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___title4, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style5, RuntimeObject * ___skin6, bool ___forceRectOnLayout7, Rect_t35B976DE901B5423C11705E156938EA27AB402CE * ___ret8, const RuntimeMethod* method);
// System.Void UnityEngineInternal.GenericStack::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GenericStack__ctor_m0659B84DB6B093AF1F01F566686C510DDEEAE848 (GenericStack_tC59D21E8DBC50F3C608479C942200AC44CA2D5BC * __this, const RuntimeMethod* method);
// System.DateTime System.DateTime::get_Now()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 DateTime_get_Now_mB464D30F15C97069F92C1F910DCDDC3DFCC7F7D2 (const RuntimeMethod* method);
// System.Void UnityEngine.GUI::set_nextScrollStepTime(System.DateTime)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void GUI_set_nextScrollStepTime_m0EBE9A3F5960CD23334E4678D9CF6F5E15CBDE23_inline (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___value0, const RuntimeMethod* method);
// System.Void UnityEngine.GUIUtility::CheckOnGUI()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIUtility_CheckOnGUI_mBFC764B475683BC50E40BD249248CE43DA754873 (const RuntimeMethod* method);
// System.Void UnityEngine.GUI::DoSetSkin(UnityEngine.GUISkin)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUI_DoSetSkin_mC72F1980793E86E8F33D641A207D2AAB409A71F7 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * ___newSkin0, const RuntimeMethod* method);
// System.Boolean UnityEngine.Object::op_Implicit(UnityEngine.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Implicit_m8B2A44B4B1406ED346D1AE6D962294FD58D0D534 (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * ___exists0, const RuntimeMethod* method);
// UnityEngine.GUISkin UnityEngine.GUIUtility::GetDefaultSkin()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * GUIUtility_GetDefaultSkin_m2F1B580445522074FF41CF9906531DBEAB034365 (const RuntimeMethod* method);
// System.Void UnityEngine.GUISkin::MakeCurrent()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUISkin_MakeCurrent_m42FAF8090F6B57648678704D86A6451DB917CF2D (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, const RuntimeMethod* method);
// UnityEngine.GUIContent UnityEngine.GUIContent::Temp(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * GUIContent_Temp_m29B9E688E5EA09D12FDFAC6096B8762F7E84688D (String_t* ___t0, const RuntimeMethod* method);
// UnityEngine.GUIStyle UnityEngine.GUISkin::get_label()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * GUISkin_get_label_mC5C9D4CD377D7F5BB970B01E665EE077565AFF72 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.GUI::Label(UnityEngine.Rect,UnityEngine.GUIContent,UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUI_Label_mB1E6C064D67D94E1D42D620054958F8375E86BB7 (Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___position0, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content1, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style2, const RuntimeMethod* method);
// System.Void UnityEngine.GUI::DoLabel(UnityEngine.Rect,UnityEngine.GUIContent,UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUI_DoLabel_m53C45AB327E894B82985776D108C7838AE868D89 (Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___position0, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content1, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style2, const RuntimeMethod* method);
// System.Int32 UnityEngine.GUIUtility::GetControlID(System.Int32,UnityEngine.FocusType)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GUIUtility_GetControlID_m0733AD370EC1956979B417A74E0ACA074E0DBA39 (int32_t ___hint0, int32_t ___focus1, const RuntimeMethod* method);
// UnityEngine.Event UnityEngine.Event::get_current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * Event_get_current_m072CEE599D11B8A9A916697E57C0F561188CDB2B (const RuntimeMethod* method);
// System.Boolean UnityEngine.Rect::Contains(UnityEngine.Vector2)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Rect_Contains_mAD3D41C88795960F177088F847509C9DDA23B682 (Rect_t35B976DE901B5423C11705E156938EA27AB402CE * __this, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___point0, const RuntimeMethod* method);
// System.Void UnityEngine.GUIStyle::Draw(UnityEngine.Rect,UnityEngine.GUIContent,System.Int32,System.Boolean,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_Draw_m5638E51BD61AC461DAF1022102D2A0D583F592ED (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___position0, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content1, int32_t ___controlID2, bool ___on3, bool ___hover4, const RuntimeMethod* method);
// UnityEngine.GUIStyle UnityEngine.GUISkin::get_button()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * GUISkin_get_button_m015FA6A0418D94F03B5F12131DED65CCFDCA8F7A (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, const RuntimeMethod* method);
// System.Boolean UnityEngine.GUI::Button(UnityEngine.Rect,UnityEngine.GUIContent,UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUI_Button_m9315927732E13236FFCE020D2444CF08C26927F5 (Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___position0, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content1, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style2, const RuntimeMethod* method);
// System.Int32 UnityEngine.GUIUtility::GetControlID(System.Int32,UnityEngine.FocusType,UnityEngine.Rect)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GUIUtility_GetControlID_mBD1C39E03666F072AFB3022603E2FD37D87EB13F (int32_t ___hint0, int32_t ___focusType1, Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___rect2, const RuntimeMethod* method);
// System.Boolean UnityEngine.GUI::Button(UnityEngine.Rect,System.Int32,UnityEngine.GUIContent,UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUI_Button_m28E3F256D52839EBB502B3A6C5DA2E556FF45BC1 (Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___position0, int32_t ___id1, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content2, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style3, const RuntimeMethod* method);
// System.Boolean UnityEngine.GUI::DoButton(UnityEngine.Rect,System.Int32,UnityEngine.GUIContent,UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUI_DoButton_m3DA80A30ABFA7F00B48683498AEB28ACAAA404ED (Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___position0, int32_t ___id1, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content2, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style3, const RuntimeMethod* method);
// System.Boolean UnityEngine.GUIUtility::HitTest(UnityEngine.Rect,UnityEngine.Event)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUIUtility_HitTest_mA053E9DA544552A06B911BB3D28F5B923C582731 (Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___rect0, Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * ___evt1, const RuntimeMethod* method);
// System.Void UnityEngine.GUI::GrabMouseControl(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUI_GrabMouseControl_mEE35B3F6529614CC25241C27B03D8595C61E533F (int32_t ___id0, const RuntimeMethod* method);
// System.Void UnityEngine.Event::Use()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Event_Use_m2328ACD6C711742273C1321F5F79C6D3CEB08AC5 (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, const RuntimeMethod* method);
// System.Boolean UnityEngine.Event::get_alt()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Event_get_alt_m7FDEB719480A40311D9EBCEC65395D39C8261BD0 (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, const RuntimeMethod* method);
// System.Boolean UnityEngine.Event::get_shift()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Event_get_shift_m74FCE61864B9A7AD13623FA2E8F87FC4A9DBD7A9 (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, const RuntimeMethod* method);
// System.Boolean UnityEngine.Event::get_command()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Event_get_command_m2F8D33B961B59339E4ED06CC6DA5B83843E28972 (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, const RuntimeMethod* method);
// System.Boolean UnityEngine.Event::get_control()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Event_get_control_m641E59B429A24A0F8FBDF460567584FEAFE7DC96 (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, const RuntimeMethod* method);
// System.Int32 UnityEngine.GUIUtility::get_keyboardControl()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GUIUtility_get_keyboardControl_mB580042A41CB6E9D3AB2E2CF0CEC00F64B2FC55F (const RuntimeMethod* method);
// System.Void UnityEngine.GUI::set_changed(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUI_set_changed_m8BDF5085BBFDF8E61C12926C8E51C67B22B629AE (bool ___value0, const RuntimeMethod* method);
// System.Boolean UnityEngine.GUI::HasMouseControl(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUI_HasMouseControl_m66CD5558529BEFFD84D4CAB8B1BC6349F12DF4B1 (int32_t ___id0, const RuntimeMethod* method);
// System.Void UnityEngine.GUI::ReleaseMouseControl()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUI_ReleaseMouseControl_m4F0C7D33663DEC8BC1D8C04C2417899C8AB4462B (const RuntimeMethod* method);
// System.Void UnityEngine.GUIStyle::Draw(UnityEngine.Rect,UnityEngine.GUIContent,System.Boolean,System.Boolean,System.Boolean,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_Draw_mA0E9663C3D09782E1CD73BFD68CD7E9B1D235441 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___position0, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content1, bool ___isHover2, bool ___isActive3, bool ___on4, bool ___hasKeyboardFocus5, const RuntimeMethod* method);
// System.String UnityEngine.GUIContent::get_tooltip()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* GUIContent_get_tooltip_m2B7A8A0F33D437E0723BBA6E1C10B2AD1D618535 (GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * __this, const RuntimeMethod* method);
// System.Boolean System.String::IsNullOrEmpty(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_IsNullOrEmpty_m06A85A206AC2106D1982826C5665B9BD35324229 (String_t* ___value0, const RuntimeMethod* method);
// UnityEngine.Rect UnityEngine.GUIClip::get_visibleRect()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Rect_t35B976DE901B5423C11705E156938EA27AB402CE GUIClip_get_visibleRect_m08BF045699465EB363ADFC1FBF0BB14D9539193C (const RuntimeMethod* method);
// System.Void UnityEngine.GUIStyle::SetMouseTooltip(System.String,UnityEngine.Rect)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_SetMouseTooltip_m69607AB3EA166CC12F3851DD54963C03B4551312 (String_t* ___tooltip0, Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___screenRect1, const RuntimeMethod* method);
// System.Boolean UnityEngine.GUI::DoControl(UnityEngine.Rect,System.Int32,System.Boolean,System.Boolean,UnityEngine.GUIContent,UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUI_DoControl_m41685E315AD94F9C8E843E87C325BDA537EEBD4B (Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___position0, int32_t ___id1, bool ___on2, bool ___hover3, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content4, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style5, const RuntimeMethod* method);
// UnityEngine.GUISkin UnityEngine.GUI::get_skin()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * GUI_get_skin_mF6804BE33CFD74FF0665C1185AC7B5C1687AE866 (const RuntimeMethod* method);
// UnityEngine.GUIStyle UnityEngine.GUISkin::get_window()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * GUISkin_get_window_mD0E9B84DBBDF7CA3FB566849E4507B5E4C6490B9 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, const RuntimeMethod* method);
// UnityEngine.Rect UnityEngine.GUI::DoWindow(System.Int32,UnityEngine.Rect,UnityEngine.GUI/WindowFunction,UnityEngine.GUIContent,UnityEngine.GUIStyle,UnityEngine.GUISkin,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Rect_t35B976DE901B5423C11705E156938EA27AB402CE GUI_DoWindow_m1D9A50ADA16097D5DAA5D6327B61BE2B62CF5A77 (int32_t ___id0, Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___clientRect1, WindowFunction_t9AF05117863D95AA9F85D497A3B9B53216708100 * ___func2, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___title3, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style4, GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * ___skin5, bool ___forceRectOnLayout6, const RuntimeMethod* method);
// UnityEngine.Rect UnityEngine.GUI::Internal_DoWindow(System.Int32,System.Int32,UnityEngine.Rect,UnityEngine.GUI/WindowFunction,UnityEngine.GUIContent,UnityEngine.GUIStyle,System.Object,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Rect_t35B976DE901B5423C11705E156938EA27AB402CE GUI_Internal_DoWindow_m0491913E9E8699A977CBB0C61997B664AA16D353 (int32_t ___id0, int32_t ___instanceID1, Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___clientRect2, WindowFunction_t9AF05117863D95AA9F85D497A3B9B53216708100 * ___func3, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___title4, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style5, RuntimeObject * ___skin6, bool ___forceRectOnLayout7, const RuntimeMethod* method);
// UnityEngine.GUILayoutUtility/LayoutCache UnityEngine.GUILayoutUtility::SelectIDList(System.Int32,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * GUILayoutUtility_SelectIDList_m230ED9206897C92C5B090B3BBFC9B408603E56FD (int32_t ___instanceID0, bool ___isWindow1, const RuntimeMethod* method);
// UnityEngine.GUILayoutOption UnityEngine.GUILayout::Width(System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 * GUILayout_Width_mDA8F26D92E788474E09AECA1541E8C920C72DA10 (float ___width0, const RuntimeMethod* method);
// UnityEngine.GUILayoutOption UnityEngine.GUILayout::Height(System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 * GUILayout_Height_mA5A24D5490022AC6449BBAED9C5A1647184B4026 (float ___height0, const RuntimeMethod* method);
// System.Void UnityEngine.GUILayoutUtility::BeginWindow(System.Int32,UnityEngine.GUIStyle,UnityEngine.GUILayoutOption[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutUtility_BeginWindow_mB3475D9BE89CF26AB0E6F0D46B1930F1874EB132 (int32_t ___windowID0, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style1, GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* ___options2, const RuntimeMethod* method);
// UnityEngine.GUIStyle UnityEngine.GUIStyle::get_none()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * GUIStyle_get_none_m2B48FA4E2FA2B9BB7A458DF25B1391F9C7BB8B7B (const RuntimeMethod* method);
// System.Void UnityEngine.GUI::set_skin(UnityEngine.GUISkin)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUI_set_skin_mFC9EC2E88A46A7F42664C6C41D8CCD9B9BA4DBA0 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * ___value0, const RuntimeMethod* method);
// System.Void UnityEngine.GUI/WindowFunction::Invoke(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WindowFunction_Invoke_m08350FBFB60BC55246725A4840931AED2CAFF9AD (WindowFunction_t9AF05117863D95AA9F85D497A3B9B53216708100 * __this, int32_t ___id0, const RuntimeMethod* method);
// System.Void UnityEngine.GUILayoutUtility::Layout()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutUtility_Layout_mB01F00635FD538214B47A545C53E4F8C682491B5 (const RuntimeMethod* method);
// System.Void UnityEngine.GUIClip::get_visibleRect_Injected(UnityEngine.Rect&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIClip_get_visibleRect_Injected_mD48D2E7127DB0356A30BA6FB22B6014D64B3B00F (Rect_t35B976DE901B5423C11705E156938EA27AB402CE * ___ret0, const RuntimeMethod* method);
// System.Void UnityEngine.GUIContent::.ctor(System.String,UnityEngine.Texture,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIContent__ctor_m2805872C5E7E66C3ABF83607DC02BEB1BEFA82DA (GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * __this, String_t* ___text0, Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4 * ___image1, String_t* ___tooltip2, const RuntimeMethod* method);
// System.Void UnityEngine.GUIContent::set_text(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIContent_set_text_m866E0C5690119816D87D83124C81BDC0A0ED4316 (GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * __this, String_t* ___value0, const RuntimeMethod* method);
// System.Void UnityEngine.GUIContent::set_image(UnityEngine.Texture)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIContent_set_image_m85ABAF5AE045BDD9C09EA75243094D16222DB38C (GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * __this, Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4 * ___value0, const RuntimeMethod* method);
// System.Void UnityEngine.GUIContent::set_tooltip(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIContent_set_tooltip_mDFC634B0DF68DB6A02F294106BC261EFC0FD0A67 (GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * __this, String_t* ___value0, const RuntimeMethod* method);
// System.Void UnityEngine.GUIContent::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIContent__ctor_m939CDEFF44061020E997A0F0640ADDF2740B0C38 (GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.GUIContent::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIContent__ctor_m8EE36BB9048C2A279E7EAD258D63F2A1BDEA8A81 (GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * __this, String_t* ___text0, const RuntimeMethod* method);
// System.Void UnityEngine.GUILayout::DoLabel(UnityEngine.GUIContent,UnityEngine.GUIStyle,UnityEngine.GUILayoutOption[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayout_DoLabel_mF89C7485ECE53A494E9E6E2156DA28FAE4C9366D (GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content0, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style1, GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* ___options2, const RuntimeMethod* method);
// UnityEngine.Rect UnityEngine.GUILayoutUtility::GetRect(UnityEngine.GUIContent,UnityEngine.GUIStyle,UnityEngine.GUILayoutOption[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Rect_t35B976DE901B5423C11705E156938EA27AB402CE GUILayoutUtility_GetRect_m00D9C2F1117D9D9A55782A8C03CCBC0A88AF924D (GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content0, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style1, GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* ___options2, const RuntimeMethod* method);
// System.Boolean UnityEngine.GUILayout::DoButton(UnityEngine.GUIContent,UnityEngine.GUIStyle,UnityEngine.GUILayoutOption[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUILayout_DoButton_mA734A38FE188C30EB1F9E5D6DFF857B1E904988D (GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content0, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style1, GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* ___options2, const RuntimeMethod* method);
// System.Void UnityEngine.GUILayout::BeginHorizontal(UnityEngine.GUIContent,UnityEngine.GUIStyle,UnityEngine.GUILayoutOption[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayout_BeginHorizontal_m33ECFA24DD7DE3538C437C6269F6C1A36DF974CB (GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content0, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style1, GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* ___options2, const RuntimeMethod* method);
// System.Type System.Type::GetTypeFromHandle(System.RuntimeTypeHandle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Type_t * Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6 (RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D ___handle0, const RuntimeMethod* method);
// UnityEngine.GUILayoutGroup UnityEngine.GUILayoutUtility::BeginLayoutGroup(UnityEngine.GUIStyle,UnityEngine.GUILayoutOption[],System.Type)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * GUILayoutUtility_BeginLayoutGroup_mBB7F6DDEC9574A704D2034E26FAABF882C37CD9B (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style0, GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* ___options1, Type_t * ___layoutType2, const RuntimeMethod* method);
// System.Void UnityEngine.GUI::Box(UnityEngine.Rect,UnityEngine.GUIContent,UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUI_Box_m22F4F78283B657F7589E24BA1EE5B609AE61E510 (Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___position0, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content1, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style2, const RuntimeMethod* method);
// System.Void UnityEngine.GUILayoutUtility::EndLayoutGroup()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutUtility_EndLayoutGroup_m15DAE05C04F1499BFB0711B741708C35CA0D4657 (const RuntimeMethod* method);
// System.Void UnityEngine.GUILayoutOption::.ctor(UnityEngine.GUILayoutOption/Type,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutOption__ctor_m965FDA1345FD7146596EFA90F03D0C645FB3FD5D (GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 * __this, int32_t ___type0, RuntimeObject * ___value1, const RuntimeMethod* method);
// UnityEngine.GUIStyle UnityEngine.GUILayoutEntry::get_style()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * GUILayoutEntry_get_style_m70E386A3289ACFEC515B1358827AB2FBF6314BA4 (GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * __this, const RuntimeMethod* method);
// UnityEngine.RectOffset UnityEngine.GUIStyle::get_margin()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * GUIStyle_get_margin_mFC3EA0FA030A6334AC03BDDFA4AC80419C9E5BAA (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, const RuntimeMethod* method);
// System.Int32 UnityEngine.RectOffset::get_left()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t RectOffset_get_left_mA86EC00866C1940134873E3A1565A1F700DE67AD (RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * __this, const RuntimeMethod* method);
// System.Int32 UnityEngine.RectOffset::get_right()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t RectOffset_get_right_m9B05958C3C1B31F1FAB8675834A492C7208F6C96 (RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * __this, const RuntimeMethod* method);
// System.Int32 UnityEngine.RectOffset::get_top()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t RectOffset_get_top_mBA813D4147BFBC079933054018437F411B6B41E1 (RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * __this, const RuntimeMethod* method);
// System.Int32 UnityEngine.RectOffset::get_bottom()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t RectOffset_get_bottom_mE5162CADD266B59539E3EE1967EE9A74705E5632 (RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * __this, const RuntimeMethod* method);
// System.Void UnityEngine.Rect::.ctor(System.Single,System.Single,System.Single,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Rect__ctor_m50B92C75005C9C5A0D05E6E0EBB43AFAF7C66280 (Rect_t35B976DE901B5423C11705E156938EA27AB402CE * __this, float ___x0, float ___y1, float ___width2, float ___height3, const RuntimeMethod* method);
// System.Void UnityEngine.GUILayoutEntry::set_style(UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutEntry_set_style_mEDD232A6CDB1B76ABC33EA06A05235316A180E2D (GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * __this, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___value0, const RuntimeMethod* method);
// System.Void UnityEngine.Rect::set_x(System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Rect_set_x_m49EFE25263C03A48D52499C3E9C097298E0EA3A6 (Rect_t35B976DE901B5423C11705E156938EA27AB402CE * __this, float ___value0, const RuntimeMethod* method);
// System.Void UnityEngine.Rect::set_width(System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Rect_set_width_mC81EF602AC91E0C615C12FCE060254A461A152B8 (Rect_t35B976DE901B5423C11705E156938EA27AB402CE * __this, float ___value0, const RuntimeMethod* method);
// System.Void UnityEngine.Rect::set_y(System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Rect_set_y_mCFDB9BD77334EF9CD896F64BE63C755777D7CCD5 (Rect_t35B976DE901B5423C11705E156938EA27AB402CE * __this, float ___value0, const RuntimeMethod* method);
// System.Void UnityEngine.Rect::set_height(System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Rect_set_height_mF4CB5A97D4706696F1C9EA31A5D8C466E48050D6 (Rect_t35B976DE901B5423C11705E156938EA27AB402CE * __this, float ___value0, const RuntimeMethod* method);
// System.Single UnityEngine.GUIStyle::get_fixedWidth()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float GUIStyle_get_fixedWidth_mEACB70758F83DCD64CE363143849CC40E49B8D8D (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, const RuntimeMethod* method);
// System.Boolean UnityEngine.GUIStyle::get_stretchWidth()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUIStyle_get_stretchWidth_m4513B313AABE48E1D10424844DC186405BC8A677 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, const RuntimeMethod* method);
// System.Single UnityEngine.GUIStyle::get_fixedHeight()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float GUIStyle_get_fixedHeight_m9B5589C95B27C5590219413E8D7E9E1E95EB7708 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, const RuntimeMethod* method);
// System.Boolean UnityEngine.GUIStyle::get_stretchHeight()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUIStyle_get_stretchHeight_m264308B18FA5F0A8400CF49945BAE1B9EFDC934F (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, const RuntimeMethod* method);
// System.String System.String::Concat(System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_mB78D0094592718DA6D5DB6C712A9C225631666BE (String_t* ___str00, String_t* ___str11, const RuntimeMethod* method);
// System.String UnityEngine.GUIStyle::get_name()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* GUIStyle_get_name_m111D8AB0173E1EBA46A9664EBABBC82AFE3ED71E (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, const RuntimeMethod* method);
// System.Single UnityEngine.Rect::get_x()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Rect_get_x_mC51A461F546D14832EB96B11A7198DADDE2597B7 (Rect_t35B976DE901B5423C11705E156938EA27AB402CE * __this, const RuntimeMethod* method);
// System.Single UnityEngine.Rect::get_xMax()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Rect_get_xMax_mA16D7C3C2F30F8608719073ED79028C11CE90983 (Rect_t35B976DE901B5423C11705E156938EA27AB402CE * __this, const RuntimeMethod* method);
// System.Single UnityEngine.Rect::get_y()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Rect_get_y_m53E3E4F62D9840FBEA751A66293038F1F5D1D45C (Rect_t35B976DE901B5423C11705E156938EA27AB402CE * __this, const RuntimeMethod* method);
// System.Single UnityEngine.Rect::get_yMax()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Rect_get_yMax_m8AA5E92C322AF3FF571330F00579DA864F33341B (Rect_t35B976DE901B5423C11705E156938EA27AB402CE * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.GUILayoutEntry>::.ctor()
inline void List_1__ctor_m8334B758D374FE266FFF49329936203BCE3A3770 (List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * __this, const RuntimeMethod* method)
{
(( void (*) (List_1_t046427F3923444CF746C550FD96A3D0E4189D273 *, const RuntimeMethod*))List_1__ctor_mC832F1AC0F814BAEB19175F5D7972A7507508BC3_gshared)(__this, method);
}
// System.Void UnityEngine.GUILayoutEntry::.ctor(System.Single,System.Single,System.Single,System.Single,UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutEntry__ctor_mC640CA08AEBCC7E479DB6AF5B208436A98AB75B2 (GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * __this, float ____minWidth0, float ____maxWidth1, float ____minHeight2, float ____maxHeight3, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ____style4, const RuntimeMethod* method);
// System.Void UnityEngine.GUILayoutEntry::ApplyOptions(UnityEngine.GUILayoutOption[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutEntry_ApplyOptions_m2002EBD9FE42B9787544D204A71C8BEF3F671F5B (GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * __this, GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* ___options0, const RuntimeMethod* method);
// System.Void UnityEngine.GUILayoutEntry::ApplyStyleSettings(UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutEntry_ApplyStyleSettings_m5516B497544317E3B720CE7867CA960076E2AF47 (GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * __this, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style0, const RuntimeMethod* method);
// System.Int32 System.Collections.Generic.List`1<UnityEngine.GUILayoutEntry>::get_Count()
inline int32_t List_1_get_Count_m2995506A297520F84CBD9AD421D8672D5755E115_inline (List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * __this, const RuntimeMethod* method)
{
return (( int32_t (*) (List_1_t046427F3923444CF746C550FD96A3D0E4189D273 *, const RuntimeMethod*))List_1_get_Count_m507C9149FF7F83AAC72C29091E745D557DA47D22_gshared_inline)(__this, method);
}
// !0 System.Collections.Generic.List`1<UnityEngine.GUILayoutEntry>::get_Item(System.Int32)
inline GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * List_1_get_Item_m96FCB482CBADC5AD4AD5F01B7A0B822AF619D388_inline (List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * __this, int32_t ___index0, const RuntimeMethod* method)
{
return (( GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * (*) (List_1_t046427F3923444CF746C550FD96A3D0E4189D273 *, int32_t, const RuntimeMethod*))List_1_get_Item_mFDB8AD680C600072736579BBF5F38F7416396588_gshared_inline)(__this, ___index0, method);
}
// UnityEngine.EventType UnityEngine.Event::get_rawType()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Event_get_rawType_m4139BB74440F552F5FD31F56215938E227EF0CD9 (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, const RuntimeMethod* method);
// System.Void System.ArgumentException::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7 (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * __this, String_t* ___message0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.GUILayoutEntry>::Add(!0)
inline void List_1_Add_mBA86DB073ED3C4B09F144141355A6D56556DE9ED (List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * __this, GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * ___item0, const RuntimeMethod* method)
{
(( void (*) (List_1_t046427F3923444CF746C550FD96A3D0E4189D273 *, GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *, const RuntimeMethod*))List_1_Add_m6930161974C7504C80F52EC379EF012387D43138_gshared)(__this, ___item0, method);
}
// UnityEngine.RectOffset UnityEngine.GUIStyle::get_padding()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * GUIStyle_get_padding_m5DF76AA03A313366D0DD8D577731DAC4FB83053A (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, const RuntimeMethod* method);
// System.Int32 UnityEngine.RectOffset::get_horizontal()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t RectOffset_get_horizontal_m9274B965D5D388F6F750D127B3E57F70DF0D89C1 (RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * __this, const RuntimeMethod* method);
// System.Collections.Generic.List`1/Enumerator<!0> System.Collections.Generic.List`1<UnityEngine.GUILayoutEntry>::GetEnumerator()
inline Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 List_1_GetEnumerator_mA457B3CB61E2B7BAFB0F7D0ADEFD25237B4429DF (List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * __this, const RuntimeMethod* method)
{
return (( Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 (*) (List_1_t046427F3923444CF746C550FD96A3D0E4189D273 *, const RuntimeMethod*))List_1_GetEnumerator_m52CC760E475D226A2B75048D70C4E22692F9F68D_gshared)(__this, method);
}
// !0 System.Collections.Generic.List`1/Enumerator<UnityEngine.GUILayoutEntry>::get_Current()
inline GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * Enumerator_get_Current_m9422C22943D0E9900CDB7DF407D9EBE215B2A6B6_inline (Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 * __this, const RuntimeMethod* method)
{
return (( GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * (*) (Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 *, const RuntimeMethod*))Enumerator_get_Current_mD7829C7E8CFBEDD463B15A951CDE9B90A12CC55C_gshared_inline)(__this, method);
}
// System.Int32 UnityEngine.Mathf::Min(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Mathf_Min_m1A2CC204E361AE13C329B6535165179798D3313A (int32_t ___a0, int32_t ___b1, const RuntimeMethod* method);
// System.Int32 UnityEngine.GUILayoutEntry::get_marginHorizontal()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GUILayoutEntry_get_marginHorizontal_m1FB1B936E7C702BAD92FE4CA1EEC529A2BECCEC4 (GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * __this, const RuntimeMethod* method);
// System.Single UnityEngine.Mathf::Max(System.Single,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Mathf_Max_m670AE0EC1B09ED1A56FF9606B0F954670319CB65 (float ___a0, float ___b1, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.GUILayoutEntry>::MoveNext()
inline bool Enumerator_MoveNext_m3A0A0A98E9378A32A74EC51C4CAB6C564001CAC7 (Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 * __this, const RuntimeMethod* method)
{
return (( bool (*) (Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 *, const RuntimeMethod*))Enumerator_MoveNext_m38B1099DDAD7EEDE2F4CDAB11C095AC784AC2E34_gshared)(__this, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.GUILayoutEntry>::Dispose()
inline void Enumerator_Dispose_mB540C90AE8EBE0EB3D63A6ACE5EC863FAD1419B2 (Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 * __this, const RuntimeMethod* method)
{
(( void (*) (Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 *, const RuntimeMethod*))Enumerator_Dispose_m94D0DAE031619503CDA6E53C5C3CC78AF3139472_gshared)(__this, method);
}
// System.Int32 UnityEngine.Mathf::Max(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Mathf_Max_mBDE4C6F1883EE3215CD7AE62550B2AC90592BC3F (int32_t ___a0, int32_t ___b1, const RuntimeMethod* method);
// System.Void UnityEngine.GUILayoutEntry::SetHorizontal(System.Single,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutEntry_SetHorizontal_m46A5D9344EE72AF9AA7D07C77C30745F9FE97DE8 (GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * __this, float ___x0, float ___width1, const RuntimeMethod* method);
// System.Single UnityEngine.Mathf::Clamp(System.Single,System.Single,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Mathf_Clamp_m033DD894F89E6DCCDAFC580091053059C86A4507 (float ___value0, float ___min1, float ___max2, const RuntimeMethod* method);
// System.Single UnityEngine.Mathf::Lerp(System.Single,System.Single,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Mathf_Lerp_m9A74C5A0C37D0CDF45EE66E7774D12A9B93B1364 (float ___a0, float ___b1, float ___t2, const RuntimeMethod* method);
// System.Int32 UnityEngine.RectOffset::get_vertical()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t RectOffset_get_vertical_m89ED337C8D303C8994B2B056C05368E4286CFC5E (RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * __this, const RuntimeMethod* method);
// System.Void UnityEngine.GUILayoutEntry::SetVertical(System.Single,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutEntry_SetVertical_mC0E71E5E431907DD1900C707BD3E2E1D0795DDD0 (GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * __this, float ___y0, float ___height1, const RuntimeMethod* method);
// System.Int32 UnityEngine.GUILayoutEntry::get_marginVertical()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GUILayoutEntry_get_marginVertical_mBFB3FD56025F4627378E5A339379CFF720196EB0 (GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * __this, const RuntimeMethod* method);
// System.String UnityEngine.GUILayoutEntry::ToString()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* GUILayoutEntry_ToString_mCDA5CD14A39ADAD29F6B450B98FDB80E37AC95D5 (GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * __this, const RuntimeMethod* method);
// System.String System.String::Concat(System.String,System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_mF4626905368D6558695A823466A1AF65EADB9923 (String_t* ___str00, String_t* ___str11, String_t* ___str22, const RuntimeMethod* method);
// System.Void UnityEngine.GUILayoutUtility::Internal_GetWindowRect_Injected(System.Int32,UnityEngine.Rect&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutUtility_Internal_GetWindowRect_Injected_mE78DA4F8B25471CEFFCB6F43E37C7966FE436EEE (int32_t ___windowID0, Rect_t35B976DE901B5423C11705E156938EA27AB402CE * ___ret1, const RuntimeMethod* method);
// System.Void UnityEngine.GUILayoutUtility::Internal_MoveWindow_Injected(System.Int32,UnityEngine.Rect&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutUtility_Internal_MoveWindow_Injected_mD80D56182A5684AC3BDA2B50AC8191974A064ABE (int32_t ___windowID0, Rect_t35B976DE901B5423C11705E156938EA27AB402CE * ___r1, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.Dictionary`2<System.Int32,UnityEngine.GUILayoutUtility/LayoutCache>::TryGetValue(!0,!1&)
inline bool Dictionary_2_TryGetValue_m0E6D1EEC81E6A904B99EEC04DB95C1CC0E4A0B31 (Dictionary_2_t0F1A21E14D53E05B0F1D474060AC4B36995FBCA1 * __this, int32_t ___key0, LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 ** ___value1, const RuntimeMethod* method)
{
return (( bool (*) (Dictionary_2_t0F1A21E14D53E05B0F1D474060AC4B36995FBCA1 *, int32_t, LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 **, const RuntimeMethod*))Dictionary_2_TryGetValue_m867F6DA953678D0333A55270B7C6EF38EFC293FF_gshared)(__this, ___key0, ___value1, method);
}
// System.Void UnityEngine.GUILayoutUtility/LayoutCache::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LayoutCache__ctor_mF66D53540321BFD98CA89285D2E8FFDA5014A9CE (LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,UnityEngine.GUILayoutUtility/LayoutCache>::set_Item(!0,!1)
inline void Dictionary_2_set_Item_mB2CFA325B47C43C9E27C606844FE1AED4CD344A2 (Dictionary_2_t0F1A21E14D53E05B0F1D474060AC4B36995FBCA1 * __this, int32_t ___key0, LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * ___value1, const RuntimeMethod* method)
{
(( void (*) (Dictionary_2_t0F1A21E14D53E05B0F1D474060AC4B36995FBCA1 *, int32_t, LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 *, const RuntimeMethod*))Dictionary_2_set_Item_mF9A6FBE4006C89D15B8C88B2CB46E9B24D18B7FC_gshared)(__this, ___key0, ___value1, method);
}
// System.Void UnityEngine.GUILayoutGroup::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutGroup__ctor_m14D8B35B4A89F6688D354A534ED871860905BA3B (GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * __this, const RuntimeMethod* method);
// System.Int32 UnityEngine.Screen::get_width()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Screen_get_width_m8ECCEF7FF17395D1237BC0193D7A6640A3FEEAD3 (const RuntimeMethod* method);
// System.Single UnityEngine.GUIUtility::get_pixelsPerPoint()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float GUIUtility_get_pixelsPerPoint_m6B4AB38F60A0AC54034A62043F74E06A613E4D56 (const RuntimeMethod* method);
// System.Single UnityEngine.Mathf::Min(System.Single,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Mathf_Min_mCF9BE0E9CAC9F18D207692BB2DAC7F3E1D4E1CB7 (float ___a0, float ___b1, const RuntimeMethod* method);
// System.Int32 UnityEngine.Screen::get_height()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Screen_get_height_mF5B64EBC4CDE0EAAA5713C1452ED2CE475F25150 (const RuntimeMethod* method);
// System.Void UnityEngine.GUILayoutUtility::LayoutFreeGroup(UnityEngine.GUILayoutGroup)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutUtility_LayoutFreeGroup_m890E6BD9614C48B151D61F197251E3DBAC637967 (GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * ___toplevel0, const RuntimeMethod* method);
// System.Void UnityEngine.GUILayoutUtility::LayoutSingleGroup(UnityEngine.GUILayoutGroup)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutUtility_LayoutSingleGroup_m0BE91E195E4E2FC8B5B491783AFACBD1310F15A1 (GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * ___i0, const RuntimeMethod* method);
// System.Void UnityEngine.Debug::LogError(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_LogError_m3BCF9B78263152261565DCA9DB7D55F0C391ED29 (RuntimeObject * ___message0, const RuntimeMethod* method);
// System.Void UnityEngine.GUILayoutGroup::ResetCursor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutGroup_ResetCursor_mD159DD9E101F6F348249D27D95709E1DC5C0A13F (GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * __this, const RuntimeMethod* method);
// UnityEngine.Rect UnityEngine.GUILayoutUtility::Internal_GetWindowRect(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Rect_t35B976DE901B5423C11705E156938EA27AB402CE GUILayoutUtility_Internal_GetWindowRect_mE35BED0433EE8BD928CD52681620519E647A1DA9 (int32_t ___windowID0, const RuntimeMethod* method);
// System.Single UnityEngine.Rect::get_width()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Rect_get_width_m54FF69FC2C086E2DC349ED091FD0D6576BFB1484 (Rect_t35B976DE901B5423C11705E156938EA27AB402CE * __this, const RuntimeMethod* method);
// System.Single UnityEngine.Rect::get_height()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Rect_get_height_m088C36990E0A255C5D7DCE36575DCE23ABB364B5 (Rect_t35B976DE901B5423C11705E156938EA27AB402CE * __this, const RuntimeMethod* method);
// System.Void UnityEngine.GUILayoutUtility::Internal_MoveWindow(System.Int32,UnityEngine.Rect)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutUtility_Internal_MoveWindow_mFCB2DFE399B833D263138CF0A57626AFF52CB037 (int32_t ___windowID0, Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___r1, const RuntimeMethod* method);
// System.Object System.Activator::CreateInstance(System.Type)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * Activator_CreateInstance_mD06EE47879F606317C6DA91FB63E678CABAC6A16 (Type_t * ___type0, const RuntimeMethod* method);
// UnityEngine.GUILayoutGroup UnityEngine.GUILayoutUtility::CreateGUILayoutGroupInstanceOfType(System.Type)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * GUILayoutUtility_CreateGUILayoutGroupInstanceOfType_mA19EA3B8F8E86338A28A0C3E819766602D52F7EF (Type_t * ___LayoutType0, const RuntimeMethod* method);
// System.Void UnityEngine.GUILayoutGroup::Add(UnityEngine.GUILayoutEntry)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutGroup_Add_mD964666892B1B23093B7BE6BE3F135423405D951 (GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * __this, GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * ___e0, const RuntimeMethod* method);
// UnityEngine.GUILayoutEntry UnityEngine.GUILayoutGroup::GetNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * GUILayoutGroup_GetNext_m0C486106E3ABC96620C4A0AF67CE12BF09C347B9 (GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * __this, const RuntimeMethod* method);
// System.String System.String::Concat(System.Object,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_mBB19C73816BDD1C3519F248E1ADC8E11A6FDB495 (RuntimeObject * ___arg00, RuntimeObject * ___arg11, const RuntimeMethod* method);
// UnityEngine.Rect UnityEngine.GUILayoutUtility::DoGetRect(UnityEngine.GUIContent,UnityEngine.GUIStyle,UnityEngine.GUILayoutOption[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Rect_t35B976DE901B5423C11705E156938EA27AB402CE GUILayoutUtility_DoGetRect_m9F6CBD0C8F16A10C2B175D7DE81DF2B263533A2C (GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content0, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style1, GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* ___options2, const RuntimeMethod* method);
// System.Boolean UnityEngine.GUIStyle::get_isHeightDependantOnWidth()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUIStyle_get_isHeightDependantOnWidth_mC4321E45938F3836C4B1FC69209696C4247870E1 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.GUIWordWrapSizer::.ctor(UnityEngine.GUIStyle,UnityEngine.GUIContent,UnityEngine.GUILayoutOption[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIWordWrapSizer__ctor_m17FEF18B072A86304EEA6BBADA5410D43FB45D91 (GUIWordWrapSizer_tC17A8FB8EE28BDCFEE27C7E7000BA8215E76CFD0 * __this, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style0, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content1, GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* ___options2, const RuntimeMethod* method);
// System.Void UnityEngine.Vector2::.ctor(System.Single,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2__ctor_mEE8FB117AB1F8DB746FB8B3EB4C0DA3BF2A230D0 (Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * __this, float ___x0, float ___y1, const RuntimeMethod* method);
// UnityEngine.Vector2 UnityEngine.GUIStyle::CalcSizeWithConstraints(UnityEngine.GUIContent,UnityEngine.Vector2)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_tA85D2DD88578276CA8A8796756458277E72D073D GUIStyle_CalcSizeWithConstraints_mA0DE86AC24DEFA70E3EAFCEA9DE74190ACA85DBC (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content0, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___constraints1, const RuntimeMethod* method);
// System.Void UnityEngine.GUILayoutEntry::.ctor(System.Single,System.Single,System.Single,System.Single,UnityEngine.GUIStyle,UnityEngine.GUILayoutOption[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutEntry__ctor_m9F3EFD063D306A9EA3A5167D3D852123F569AD1E (GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * __this, float ____minWidth0, float ____maxWidth1, float ____minHeight2, float ____maxHeight3, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ____style4, GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* ___options5, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,UnityEngine.GUILayoutUtility/LayoutCache>::.ctor()
inline void Dictionary_2__ctor_mD9286F4A0EF1BEC0B6BC4BD72D8D6A246B994EBF (Dictionary_2_t0F1A21E14D53E05B0F1D474060AC4B36995FBCA1 * __this, const RuntimeMethod* method)
{
(( void (*) (Dictionary_2_t0F1A21E14D53E05B0F1D474060AC4B36995FBCA1 *, const RuntimeMethod*))Dictionary_2__ctor_m7D745ADE56151C2895459668F4A4242985E526D8_gshared)(__this, method);
}
// System.Void UnityEngine.GUILayoutGroup::CalcWidth()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutGroup_CalcWidth_m0D2819C659392B14175C2B163DD889AD35794A9B (GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.GUILayoutGroup::SetHorizontal(System.Single,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutGroup_SetHorizontal_m0AFB617E7BB6B32431BA65873B27660E6E5C9E51 (GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * __this, float ___x0, float ___width1, const RuntimeMethod* method);
// System.Void UnityEngine.GUILayoutGroup::CalcHeight()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutGroup_CalcHeight_m0511BD2172BC13D54ABC8DB5887A91C17E9F21BB (GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.GUILayoutGroup::SetVertical(System.Single,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutGroup_SetVertical_m29D8744D2D1464EF4E6E4008CD21F5E44D6CB146 (GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * __this, float ___y0, float ___height1, const RuntimeMethod* method);
// UnityEngine.Color UnityEngine.Color::get_white()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 Color_get_white_mE7F3AC4FF0D6F35E48049C73116A222CBE96D905 (const RuntimeMethod* method);
// System.Void UnityEngine.Color::.ctor(System.Single,System.Single,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Color__ctor_mC9AEEB3931D5B8C37483A884DD8EB40DC8946369 (Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 * __this, float ___r0, float ___g1, float ___b2, const RuntimeMethod* method);
// System.Void UnityEngine.GUISettings::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUISettings__ctor_m6D2D6608CE04A741235BF0C8E134195B196F116D (GUISettings_tA863524720A3C984BAE56598D922F2C04DC80EF4 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.ScriptableObject::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ScriptableObject__ctor_m6E2B3821A4A361556FC12E9B1C71E1D5DC002C5B (ScriptableObject_tAB015486CEAB714DA0D5C1BA389B84FB90427734 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.GUISkin::Apply()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUISkin_Apply_mA93B0EEE3C2DE1F8D867A472130CDA98814C8A49 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, const RuntimeMethod* method);
// System.Boolean UnityEngine.Object::op_Equality(UnityEngine.Object,UnityEngine.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * ___x0, Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * ___y1, const RuntimeMethod* method);
// System.Void UnityEngine.GUIStyle::SetDefaultFont(UnityEngine.Font)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_SetDefaultFont_m09D149F682E885D7058E3C48EB42C9E62363E381 (Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * ___font0, const RuntimeMethod* method);
// System.Void UnityEngine.GUIStyle::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle__ctor_m8AA3D5AA506A252687923D0DA80741862AA83805 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.GUIStyle::set_name(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_set_name_m3D232D5A8EAD7B29F1F2DA3ADD01B99EFF83F1D7 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, String_t* ___value0, const RuntimeMethod* method);
// System.Void UnityEngine.Debug::Log(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_Log_m4B7C70BAFD477C6BDB59C88A0934F0B018D03708 (RuntimeObject * ___message0, const RuntimeMethod* method);
// System.Void UnityEngine.GUISkin::BuildStyleCache()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUISkin_BuildStyleCache_m2C68BB5521EAF11FC98C86D7E60008901D61866A (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, const RuntimeMethod* method);
// System.StringComparer System.StringComparer::get_OrdinalIgnoreCase()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR StringComparer_t588BC7FEF85D6E7425E0A8147A3D5A334F1F82DE * StringComparer_get_OrdinalIgnoreCase_m3F2527D9A11521E8B51F0AC8F70DB272DA8334C9_inline (const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<System.String,UnityEngine.GUIStyle>::.ctor(System.Collections.Generic.IEqualityComparer`1<!0>)
inline void Dictionary_2__ctor_mE7D4915AD1A64B140D2C412B197D4D43B016074E (Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * __this, RuntimeObject* ___comparer0, const RuntimeMethod* method)
{
(( void (*) (Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A *, RuntimeObject*, const RuntimeMethod*))Dictionary_2__ctor_m76CDCB0C7BECE95DBA94C7C98467F297E4451EE7_gshared)(__this, ___comparer0, method);
}
// System.Void System.Collections.Generic.Dictionary`2<System.String,UnityEngine.GUIStyle>::set_Item(!0,!1)
inline void Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5 (Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * __this, String_t* ___key0, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___value1, const RuntimeMethod* method)
{
(( void (*) (Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A *, String_t*, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *, const RuntimeMethod*))Dictionary_2_set_Item_m466D001F105E25DEB5C9BCB17837EE92A27FDE93_gshared)(__this, ___key0, ___value1, method);
}
// System.Boolean System.Collections.Generic.Dictionary`2<System.String,UnityEngine.GUIStyle>::TryGetValue(!0,!1&)
inline bool Dictionary_2_TryGetValue_m72452D4223AA3313BF658BFBDFC1B417CA40EC18 (Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * __this, String_t* ___key0, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 ** ___value1, const RuntimeMethod* method)
{
return (( bool (*) (Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A *, String_t*, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 **, const RuntimeMethod*))Dictionary_2_TryGetValue_m3455807C552312C60038DF52EF328C3687442DE3_gshared)(__this, ___key0, ___value1, method);
}
// UnityEngine.GUIStyle UnityEngine.GUISkin::get_error()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * GUISkin_get_error_m40FBD0C57353CBFD8EE75B796E3EADBF9033C47F (const RuntimeMethod* method);
// System.Void UnityEngine.GUIStyle::set_stretchHeight(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_set_stretchHeight_mE11B46969A8498FB3B7443B4C54254F0C9A71A6E (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, bool ___value0, const RuntimeMethod* method);
// UnityEngine.GUIStyleState UnityEngine.GUIStyle::get_normal()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * GUIStyle_get_normal_mC5CB22EED8113DEC86C54FB42F757B635D09DD2F (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, const RuntimeMethod* method);
// UnityEngine.Color UnityEngine.Color::get_red()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 Color_get_red_m5562DD438931CF0D1FBBBB29BF7F8B752AF38957 (const RuntimeMethod* method);
// System.Void UnityEngine.GUIStyleState::set_textColor(UnityEngine.Color)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyleState_set_textColor_m2B235845A292C22ABEDEFBB2FD798DEB4E104983 (GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * __this, Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 ___value0, const RuntimeMethod* method);
// UnityEngine.GUIStyle UnityEngine.GUISkin::FindStyle(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * GUISkin_FindStyle_m977BAAD9DE35AC43C9FA2DB52C6C0BDF83EE4706 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, String_t* ___styleName0, const RuntimeMethod* method);
// System.String UnityEngine.Object::get_name()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Object_get_name_mA2D400141CB3C991C87A2556429781DE961A83CE (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * __this, const RuntimeMethod* method);
// System.String System.String::Concat(System.String[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_m232E857CA5107EA6AC52E7DD7018716C021F237B (StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* ___values0, const RuntimeMethod* method);
// UnityEngine.Font UnityEngine.GUISkin::get_font()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * GUISkin_get_font_m54200DFAF834B835CE6598E1BA5B41382BC33AD5 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.GUISkin/SkinChangedDelegate::Invoke()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SkinChangedDelegate_Invoke_mE18CA4219F24151D8FC8A8A8B261F3FD860B007F (SkinChangedDelegate_tAB4CEEA8C8A0BDCFD51C9624AE173C46A40135D8 * __this, const RuntimeMethod* method);
// System.Collections.Generic.Dictionary`2/ValueCollection<!0,!1> System.Collections.Generic.Dictionary`2<System.String,UnityEngine.GUIStyle>::get_Values()
inline ValueCollection_t0C6A26D50A89F916DF2650A7C132FFB1992070B9 * Dictionary_2_get_Values_mBCCD4E4C93C5E4DF2E0A07934040870B3662866F (Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * __this, const RuntimeMethod* method)
{
return (( ValueCollection_t0C6A26D50A89F916DF2650A7C132FFB1992070B9 * (*) (Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A *, const RuntimeMethod*))Dictionary_2_get_Values_m58CC32586C31C6F38B730DE7CD79A1FFE9109BA4_gshared)(__this, method);
}
// System.Collections.Generic.Dictionary`2/ValueCollection/Enumerator<!0,!1> System.Collections.Generic.Dictionary`2/ValueCollection<System.String,UnityEngine.GUIStyle>::GetEnumerator()
inline Enumerator_t7CFB6C06FEABB756D0C0A1BA202A13F5091958A6 ValueCollection_GetEnumerator_m56252F012AAECD0BFFC3729A87D60BF2945499C2 (ValueCollection_t0C6A26D50A89F916DF2650A7C132FFB1992070B9 * __this, const RuntimeMethod* method)
{
return (( Enumerator_t7CFB6C06FEABB756D0C0A1BA202A13F5091958A6 (*) (ValueCollection_t0C6A26D50A89F916DF2650A7C132FFB1992070B9 *, const RuntimeMethod*))ValueCollection_GetEnumerator_m7A12639A28DE8959DC682764BF2582EA59CDAFE0_gshared)(__this, method);
}
// System.Void UnityEngine.GUIStyle::Internal_Draw_Injected(UnityEngine.Rect&,UnityEngine.GUIContent,System.Boolean,System.Boolean,System.Boolean,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_Internal_Draw_Injected_m96268CFD8003682366C5416A373F06C862B2785C (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, Rect_t35B976DE901B5423C11705E156938EA27AB402CE * ___screenRect0, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content1, bool ___isHover2, bool ___isActive3, bool ___on4, bool ___hasKeyboardFocus5, const RuntimeMethod* method);
// System.Void UnityEngine.GUIStyle::Internal_Draw2_Injected(UnityEngine.Rect&,UnityEngine.GUIContent,System.Int32,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_Internal_Draw2_Injected_m76127AEB314B7227EED6CD90639B918394686872 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, Rect_t35B976DE901B5423C11705E156938EA27AB402CE * ___position0, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content1, int32_t ___controlID2, bool ___on3, const RuntimeMethod* method);
// System.Void UnityEngine.GUIStyle::Internal_CalcSizeWithConstraints_Injected(UnityEngine.GUIContent,UnityEngine.Vector2&,UnityEngine.Vector2&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_Internal_CalcSizeWithConstraints_Injected_mA35A68B087B89B7A503B38BA684B6115313FE348 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content0, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * ___maxSize1, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * ___ret2, const RuntimeMethod* method);
// System.Void UnityEngine.GUIStyle::Internal_CalcMinMaxWidth_Injected(UnityEngine.GUIContent,UnityEngine.Vector2&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_Internal_CalcMinMaxWidth_Injected_mA9596C94BC872BAEDF30962D1550E6A894438A75 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content0, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * ___ret1, const RuntimeMethod* method);
// System.Void UnityEngine.GUIStyle::SetMouseTooltip_Injected(System.String,UnityEngine.Rect&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_SetMouseTooltip_Injected_m292443679DFA66800CA706CF3DA947365C1D46D7 (String_t* ___tooltip0, Rect_t35B976DE901B5423C11705E156938EA27AB402CE * ___screenRect1, const RuntimeMethod* method);
// System.IntPtr UnityEngine.GUIStyle::Internal_Create(UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t GUIStyle_Internal_Create_m9641BC84B2A6E34A801EED919EF412E4A1C444C8 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___self0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.GUIStyle::Internal_Copy(UnityEngine.GUIStyle,UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t GUIStyle_Internal_Copy_m9F0B548973DA4B7992A7B74734736DDBAD3E8325 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___self0, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___other1, const RuntimeMethod* method);
// System.Void UnityEngine.GUIStyle::Internal_Destroy(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_Internal_Destroy_mFA13F1C8E929FB9429825F2F176D4E3DE9C131E2 (intptr_t ___self0, const RuntimeMethod* method);
// System.String UnityEngine.GUIStyle::get_rawName()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* GUIStyle_get_rawName_mD7DD50D00F93CEE5DCDE8E13A0F6C28A18ABC837 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.GUIStyle::set_rawName(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_set_rawName_mD091741C119250A2BA0B90E15E6CE2313750DF95 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, String_t* ___value0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.GUIStyle::GetStyleStatePtr(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t GUIStyle_GetStyleStatePtr_m9EB2842B5EDEC03D6F7A0050A4E9DBB7103EA5C5 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, int32_t ___idx0, const RuntimeMethod* method);
// UnityEngine.GUIStyleState UnityEngine.GUIStyleState::GetGUIStyleState(UnityEngine.GUIStyle,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * GUIStyleState_GetGUIStyleState_m207443170D2CA9E48BAB05FF74B30C76C6D63F68 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___sourceStyle0, intptr_t ___source1, const RuntimeMethod* method);
// System.IntPtr UnityEngine.GUIStyle::GetRectOffsetPtr(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t GUIStyle_GetRectOffsetPtr_m780608811770308EFDE095993756D8AA0BD37BF8 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, int32_t ___idx0, const RuntimeMethod* method);
// System.Void UnityEngine.RectOffset::.ctor(System.Object,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RectOffset__ctor_m23620FE61AAF476219462230C6839B86736B80BA (RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * __this, RuntimeObject * ___sourceStyle0, intptr_t ___source1, const RuntimeMethod* method);
// System.Void UnityEngine.GUIStyle::AssignRectOffset(System.Int32,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_AssignRectOffset_m316463D46214E6A6DCE86498BABDE2AA5E3201BC (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, int32_t ___idx0, intptr_t ___srcRectOffset1, const RuntimeMethod* method);
// System.Void UnityEngine.GUIStyle::Draw(UnityEngine.Rect,UnityEngine.GUIContent,System.Int32,System.Boolean,System.Boolean,System.Boolean,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_Draw_mAC1BB37A9DA0C304A5A70A9CFDB097C8D9C90FFF (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___position0, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content1, int32_t ___controlId2, bool ___isHover3, bool ___isActive4, bool ___on5, bool ___hasKeyboardFocus6, const RuntimeMethod* method);
// System.Int32 UnityEngine.GUIUtility::get_hotControl()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GUIUtility_get_hotControl_mC2E01E65B6AED8142AB9CA13A88D6E0F753D8857 (const RuntimeMethod* method);
// System.Boolean UnityEngine.GUIUtility::HasKeyFocus(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUIUtility_HasKeyFocus_mC8FCF8AB69DB9ECF737C91B5C2207100CCF7E78A (int32_t ___controlID0, const RuntimeMethod* method);
// System.Void UnityEngine.GUIStyle::Internal_Draw(UnityEngine.Rect,UnityEngine.GUIContent,System.Boolean,System.Boolean,System.Boolean,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_Internal_Draw_m8DAE8DEA36131D287E8E8DF5D1EF5E9788A672A9 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___screenRect0, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content1, bool ___isHover2, bool ___isActive3, bool ___on4, bool ___hasKeyboardFocus5, const RuntimeMethod* method);
// System.Void UnityEngine.GUIStyle::Internal_Draw2(UnityEngine.Rect,UnityEngine.GUIContent,System.Int32,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_Internal_Draw2_m0F79CA39E2A55437E2E918BE915E594BC303D13D (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___position0, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content1, int32_t ___controlID2, bool ___on3, const RuntimeMethod* method);
// UnityEngine.Vector2 UnityEngine.GUIStyle::Internal_CalcSizeWithConstraints(UnityEngine.GUIContent,UnityEngine.Vector2)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_tA85D2DD88578276CA8A8796756458277E72D073D GUIStyle_Internal_CalcSizeWithConstraints_m76F329DBFD8F84D2B36969E5080DED50829C4475 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content0, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___maxSize1, const RuntimeMethod* method);
// System.Single UnityEngine.GUIStyle::Internal_CalcHeight(UnityEngine.GUIContent,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float GUIStyle_Internal_CalcHeight_m233036ADA87FAB967C31499837D04E2BE004EAE3 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content0, float ___width1, const RuntimeMethod* method);
// System.Boolean UnityEngine.GUIStyle::get_wordWrap()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUIStyle_get_wordWrap_m5CB09974AB5009AAD33797BFC830F06677105CB0 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, const RuntimeMethod* method);
// UnityEngine.ImagePosition UnityEngine.GUIStyle::get_imagePosition()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GUIStyle_get_imagePosition_m77B9664D0EE5AB0B4EC4E652F0732FDCCE03B3F5 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, const RuntimeMethod* method);
// UnityEngine.Vector2 UnityEngine.GUIStyle::Internal_CalcMinMaxWidth(UnityEngine.GUIContent)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_tA85D2DD88578276CA8A8796756458277E72D073D GUIStyle_Internal_CalcMinMaxWidth_m629573150034B2B5E2D3407E538D7B3230609F39 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content0, const RuntimeMethod* method);
// System.Void UnityEngine.GUIStyleState::set_textColor_Injected(UnityEngine.Color&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyleState_set_textColor_Injected_m09DA402A33A2E28F9B8BB37AEF6EA05B58F7C475 (GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * __this, Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 * ___value0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.GUIStyleState::Init()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t GUIStyleState_Init_m24D7A3BD60709BA6C36D21F86E8FBCA3AD7756D9 (const RuntimeMethod* method);
// System.Void UnityEngine.GUIStyleState::.ctor(UnityEngine.GUIStyle,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyleState__ctor_m88DEBFEA9F9D54F4E6732A6ACE729079A79833B8 (GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * __this, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___sourceStyle0, intptr_t ___source1, const RuntimeMethod* method);
// System.Void UnityEngine.GUIStyleState::Cleanup()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyleState_Cleanup_mB92C1A0564E1D841A37DD43D6B6E1AD27BAD5A49 (GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * __this, const RuntimeMethod* method);
// System.Reflection.MethodInfo System.Type::GetMethod(System.String,System.Reflection.BindingFlags)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR MethodInfo_t * Type_GetMethod_m9EC42D4B1F765B882F516EE6D7970D51CF5D80DD (Type_t * __this, String_t* ___name0, int32_t ___bindingAttr1, const RuntimeMethod* method);
// System.Int32 UnityEngine.GUIUtility::GetControlID_Injected(System.Int32,UnityEngine.FocusType,UnityEngine.Rect&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GUIUtility_GetControlID_Injected_m0B621090C90D8A821A2D334199EDB3CB2ED42DA1 (int32_t ___hint0, int32_t ___focusType1, Rect_t35B976DE901B5423C11705E156938EA27AB402CE * ___rect2, const RuntimeMethod* method);
// System.Void System.Action::Invoke()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Action_Invoke_mC8D676E5DDF967EC5D23DD0E96FB52AA499817FD (Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * __this, const RuntimeMethod* method);
// UnityEngine.Rect UnityEngine.Rect::get_zero()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Rect_t35B976DE901B5423C11705E156938EA27AB402CE Rect_get_zero_m4CF0F9AD904132829A6EFCA85A1BF52794E7E56B (const RuntimeMethod* method);
// System.Int32 UnityEngine.GUIUtility::Internal_GetHotControl()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GUIUtility_Internal_GetHotControl_m2CD040A0751AC54B62B5663C81B94EC6FA02B2FD (const RuntimeMethod* method);
// System.Int32 UnityEngine.GUIUtility::Internal_GetKeyboardControl()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GUIUtility_Internal_GetKeyboardControl_m198D8D057F49AEC00E1FEC40A116E61E9A48CAED (const RuntimeMethod* method);
// !0 System.Func`1<System.Boolean>::Invoke()
inline bool Func_1_Invoke_mFA91B93A5C91290D4A3C475C4117CA05B43419E6 (Func_1_t4ABD6DAD480574F152452DD6B9C9A55F4F6655F1 * __this, const RuntimeMethod* method)
{
return (( bool (*) (Func_1_t4ABD6DAD480574F152452DD6B9C9A55F4F6655F1 *, const RuntimeMethod*))Func_1_Invoke_mFA91B93A5C91290D4A3C475C4117CA05B43419E6_gshared)(__this, method);
}
// System.Object UnityEngine.GUIUtility::Internal_GetDefaultSkin(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * GUIUtility_Internal_GetDefaultSkin_m1D4A53896309F1A4A54AF15D7E5F4DC61451276E (int32_t ___skinMode0, const RuntimeMethod* method);
// !2 System.Func`3<System.Int32,System.IntPtr,System.Boolean>::Invoke(!0,!1)
inline bool Func_3_Invoke_mCD6DEEC09B4F1B42DD0FD4A8F58632B08EC66737 (Func_3_tBD99633D8A18C43CC528ECE3F77E2F69900048A7 * __this, int32_t ___arg10, intptr_t ___arg21, const RuntimeMethod* method)
{
return (( bool (*) (Func_3_tBD99633D8A18C43CC528ECE3F77E2F69900048A7 *, int32_t, intptr_t, const RuntimeMethod*))Func_3_Invoke_mCD6DEEC09B4F1B42DD0FD4A8F58632B08EC66737_gshared)(__this, ___arg10, ___arg21, method);
}
// System.Void UnityEngine.GUIUtility::ResetGlobalState()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIUtility_ResetGlobalState_m192C9FAE2A4B87F34CB051C4967B8A919A902A5C (const RuntimeMethod* method);
// System.Void UnityEngine.GUILayoutUtility::Begin(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutUtility_Begin_m6876A33199599688408A4AD364069090E833B237 (int32_t ___instanceID0, const RuntimeMethod* method);
// System.Void UnityEngine.GUILayoutUtility::LayoutFromEditorWindow()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutUtility_LayoutFromEditorWindow_mBE82BE965B54F68E7090952684C86BFF0538AB52 (const RuntimeMethod* method);
// System.Void UnityEngine.GUIContent::ClearStaticCache()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIContent_ClearStaticCache_m567DA736612F9E6E66262CC630952AB2E22BC933 (const RuntimeMethod* method);
// System.Void UnityEngine.GUIUtility::Internal_ExitGUI()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIUtility_Internal_ExitGUI_mC6B22D4CC318E08171B3565919458F337351ACCC (const RuntimeMethod* method);
// System.Boolean UnityEngine.GUIUtility::ShouldRethrowException(System.Exception)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUIUtility_ShouldRethrowException_mCF3B04493727D6A40ED50AC2414D5617455339B6 (Exception_t * ___exception0, const RuntimeMethod* method);
// !1 System.Func`2<System.Exception,System.Boolean>::Invoke(!0)
inline bool Func_2_Invoke_m9621506610C10C9E735B305E826ACEFF914422CD (Func_2_tC816C5FDED4A7372C449E7660CAB9F94E2AC12F8 * __this, Exception_t * ___arg0, const RuntimeMethod* method)
{
return (( bool (*) (Func_2_tC816C5FDED4A7372C449E7660CAB9F94E2AC12F8 *, Exception_t *, const RuntimeMethod*))Func_2_Invoke_mAE8945859643E5D0DADDF6194083A0E5F9E4133B_gshared)(__this, ___arg0, method);
}
// System.Void UnityEngine.GUIUtility::set_guiIsExiting(System.Boolean)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void GUIUtility_set_guiIsExiting_m16D5DFFB64483BC588CA6BEA0FAA618E4A227960_inline (bool ___value0, const RuntimeMethod* method);
// UnityEngineInternal.GenericStack UnityEngine.GUI::get_scrollViewStates()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR GenericStack_tC59D21E8DBC50F3C608479C942200AC44CA2D5BC * GUI_get_scrollViewStates_m2FAC333F84B90E4F1E1ED5FC8651DC8C4C30B7AF_inline (const RuntimeMethod* method);
// System.Exception System.Exception::get_InnerException()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Exception_t * Exception_get_InnerException_mCB68CC8CBF2540EF381CB17A4E4E3F6D0E33453F_inline (Exception_t * __this, const RuntimeMethod* method);
// System.Boolean UnityEngine.GUIUtility::IsExitGUIException(System.Exception)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUIUtility_IsExitGUIException_mBCCE6118666769B8B767D74496E44D2ECC7AFDD2 (Exception_t * ___exception0, const RuntimeMethod* method);
// System.Int32 UnityEngine.GUIUtility::get_guiDepth()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GUIUtility_get_guiDepth_m927893DDBCD8D8F88CA9F70A7D1A7BDB59B4F395 (const RuntimeMethod* method);
// System.Single UnityEngine.Rect::get_xMin()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Rect_get_xMin_mFDFA74F66595FD2B8CE360183D1A92B575F0A76E (Rect_t35B976DE901B5423C11705E156938EA27AB402CE * __this, const RuntimeMethod* method);
// System.Single UnityEngine.Rect::get_yMin()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Rect_get_yMin_m31EDC3262BE39D2F6464B15397F882237E6158C3 (Rect_t35B976DE901B5423C11705E156938EA27AB402CE * __this, const RuntimeMethod* method);
// System.Boolean UnityEngine.GUIUtility::HitTest(UnityEngine.Rect,UnityEngine.Vector2,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUIUtility_HitTest_m0083ED18D864D511BF6217521285AE9D52D5AB79 (Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___rect0, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___point1, int32_t ___offset2, const RuntimeMethod* method);
// System.Boolean UnityEngine.Event::get_isDirectManipulationDevice()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Event_get_isDirectManipulationDevice_mC119A717201BAAF95B1320D4060A1A74A891D99E (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, const RuntimeMethod* method);
// System.Boolean UnityEngine.GUIUtility::HitTest(UnityEngine.Rect,UnityEngine.Vector2,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUIUtility_HitTest_m33C028863CAD049FFC588A912F1953F9C978453E (Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___rect0, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___point1, bool ___isDirectManipulationDevice2, const RuntimeMethod* method);
// System.Void UnityEngine.GUIContent::.ctor(UnityEngine.GUIContent)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIContent__ctor_m8C923B0C5DE305F6A22320F44BE37F81CA099316 (GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * __this, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___src0, const RuntimeMethod* method);
// System.Void UnityEngine.GUIStyle::CalcMinMaxWidth(UnityEngine.GUIContent,System.Single&,System.Single&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_CalcMinMaxWidth_m2FD91578F6B83E3D2B06BFD0648AF1801526FD36 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content0, float* ___minWidth1, float* ___maxWidth2, const RuntimeMethod* method);
// System.Single UnityEngine.GUIStyle::CalcHeight(UnityEngine.GUIContent,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float GUIStyle_CalcHeight_m6F102200768409D1B2184A7FE1A56747AB7B59B5 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content0, float ___width1, const RuntimeMethod* method);
// UnityEngine.Vector2 UnityEngine.Vector2::get_zero()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_tA85D2DD88578276CA8A8796756458277E72D073D Vector2_get_zero_mFE0C3213BB698130D6C5247AB4B887A59074D0A8 (const RuntimeMethod* method);
// System.Void System.ThrowHelper::ThrowArgumentOutOfRangeException()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThrowHelper_ThrowArgumentOutOfRangeException_mBA2AF20A35144E0C43CD721A22EAC9FCA15D6550 (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
// Conversion methods for marshalling of: UnityEngine.Event
IL2CPP_EXTERN_C void Event_t187FF6A6B357447B83EC2064823EE0AEC5263210_marshal_pinvoke(const Event_t187FF6A6B357447B83EC2064823EE0AEC5263210& unmarshaled, Event_t187FF6A6B357447B83EC2064823EE0AEC5263210_marshaled_pinvoke& marshaled)
{
marshaled.___m_Ptr_0 = unmarshaled.get_m_Ptr_0();
}
IL2CPP_EXTERN_C void Event_t187FF6A6B357447B83EC2064823EE0AEC5263210_marshal_pinvoke_back(const Event_t187FF6A6B357447B83EC2064823EE0AEC5263210_marshaled_pinvoke& marshaled, Event_t187FF6A6B357447B83EC2064823EE0AEC5263210& unmarshaled)
{
intptr_t unmarshaled_m_Ptr_temp_0;
memset((&unmarshaled_m_Ptr_temp_0), 0, sizeof(unmarshaled_m_Ptr_temp_0));
unmarshaled_m_Ptr_temp_0 = marshaled.___m_Ptr_0;
unmarshaled.set_m_Ptr_0(unmarshaled_m_Ptr_temp_0);
}
// Conversion method for clean up from marshalling of: UnityEngine.Event
IL2CPP_EXTERN_C void Event_t187FF6A6B357447B83EC2064823EE0AEC5263210_marshal_pinvoke_cleanup(Event_t187FF6A6B357447B83EC2064823EE0AEC5263210_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: UnityEngine.Event
IL2CPP_EXTERN_C void Event_t187FF6A6B357447B83EC2064823EE0AEC5263210_marshal_com(const Event_t187FF6A6B357447B83EC2064823EE0AEC5263210& unmarshaled, Event_t187FF6A6B357447B83EC2064823EE0AEC5263210_marshaled_com& marshaled)
{
marshaled.___m_Ptr_0 = unmarshaled.get_m_Ptr_0();
}
IL2CPP_EXTERN_C void Event_t187FF6A6B357447B83EC2064823EE0AEC5263210_marshal_com_back(const Event_t187FF6A6B357447B83EC2064823EE0AEC5263210_marshaled_com& marshaled, Event_t187FF6A6B357447B83EC2064823EE0AEC5263210& unmarshaled)
{
intptr_t unmarshaled_m_Ptr_temp_0;
memset((&unmarshaled_m_Ptr_temp_0), 0, sizeof(unmarshaled_m_Ptr_temp_0));
unmarshaled_m_Ptr_temp_0 = marshaled.___m_Ptr_0;
unmarshaled.set_m_Ptr_0(unmarshaled_m_Ptr_temp_0);
}
// Conversion method for clean up from marshalling of: UnityEngine.Event
IL2CPP_EXTERN_C void Event_t187FF6A6B357447B83EC2064823EE0AEC5263210_marshal_com_cleanup(Event_t187FF6A6B357447B83EC2064823EE0AEC5263210_marshaled_com& marshaled)
{
}
// UnityEngine.EventType UnityEngine.Event::get_rawType()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Event_get_rawType_m4139BB74440F552F5FD31F56215938E227EF0CD9 (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, const RuntimeMethod* method)
{
typedef int32_t (*Event_get_rawType_m4139BB74440F552F5FD31F56215938E227EF0CD9_ftn) (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 *);
static Event_get_rawType_m4139BB74440F552F5FD31F56215938E227EF0CD9_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (Event_get_rawType_m4139BB74440F552F5FD31F56215938E227EF0CD9_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Event::get_rawType()");
int32_t retVal = _il2cpp_icall_func(__this);
return retVal;
}
// UnityEngine.Vector2 UnityEngine.Event::get_mousePosition()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_tA85D2DD88578276CA8A8796756458277E72D073D Event_get_mousePosition_m92AD98489A626864E9B179273270802EB1D2C085 (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, const RuntimeMethod* method)
{
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D V_0;
memset((&V_0), 0, sizeof(V_0));
{
Event_get_mousePosition_Injected_mE71FE88F6E27190A534BD5862941E5887D6BE632(__this, (Vector2_tA85D2DD88578276CA8A8796756458277E72D073D *)(&V_0), /*hidden argument*/NULL);
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_0 = V_0;
return L_0;
}
}
// UnityEngine.PointerType UnityEngine.Event::get_pointerType()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Event_get_pointerType_m1D8031C5A8BFBAC21BAAB396199CDFCD3AAC42CA (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, const RuntimeMethod* method)
{
typedef int32_t (*Event_get_pointerType_m1D8031C5A8BFBAC21BAAB396199CDFCD3AAC42CA_ftn) (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 *);
static Event_get_pointerType_m1D8031C5A8BFBAC21BAAB396199CDFCD3AAC42CA_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (Event_get_pointerType_m1D8031C5A8BFBAC21BAAB396199CDFCD3AAC42CA_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Event::get_pointerType()");
int32_t retVal = _il2cpp_icall_func(__this);
return retVal;
}
// UnityEngine.EventModifiers UnityEngine.Event::get_modifiers()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Event_get_modifiers_m4D1BDE843A9379F50C3F32CB78CCDAD84B779108 (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, const RuntimeMethod* method)
{
typedef int32_t (*Event_get_modifiers_m4D1BDE843A9379F50C3F32CB78CCDAD84B779108_ftn) (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 *);
static Event_get_modifiers_m4D1BDE843A9379F50C3F32CB78CCDAD84B779108_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (Event_get_modifiers_m4D1BDE843A9379F50C3F32CB78CCDAD84B779108_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Event::get_modifiers()");
int32_t retVal = _il2cpp_icall_func(__this);
return retVal;
}
// System.Char UnityEngine.Event::get_character()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Il2CppChar Event_get_character_m78B46D412357B71233F3D41842928A19B290915C (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, const RuntimeMethod* method)
{
typedef Il2CppChar (*Event_get_character_m78B46D412357B71233F3D41842928A19B290915C_ftn) (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 *);
static Event_get_character_m78B46D412357B71233F3D41842928A19B290915C_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (Event_get_character_m78B46D412357B71233F3D41842928A19B290915C_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Event::get_character()");
Il2CppChar retVal = _il2cpp_icall_func(__this);
return retVal;
}
// UnityEngine.KeyCode UnityEngine.Event::get_keyCode()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Event_get_keyCode_m8B0AAD347861E322E91D2B7320A99E04D39575CF (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, const RuntimeMethod* method)
{
typedef int32_t (*Event_get_keyCode_m8B0AAD347861E322E91D2B7320A99E04D39575CF_ftn) (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 *);
static Event_get_keyCode_m8B0AAD347861E322E91D2B7320A99E04D39575CF_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (Event_get_keyCode_m8B0AAD347861E322E91D2B7320A99E04D39575CF_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Event::get_keyCode()");
int32_t retVal = _il2cpp_icall_func(__this);
return retVal;
}
// System.Void UnityEngine.Event::set_displayIndex(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Event_set_displayIndex_mF73CEED3B26A4BCADB099E5E6685FE6AC2CF7289 (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, int32_t ___value0, const RuntimeMethod* method)
{
typedef void (*Event_set_displayIndex_mF73CEED3B26A4BCADB099E5E6685FE6AC2CF7289_ftn) (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 *, int32_t);
static Event_set_displayIndex_mF73CEED3B26A4BCADB099E5E6685FE6AC2CF7289_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (Event_set_displayIndex_mF73CEED3B26A4BCADB099E5E6685FE6AC2CF7289_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Event::set_displayIndex(System.Int32)");
_il2cpp_icall_func(__this, ___value0);
}
// UnityEngine.EventType UnityEngine.Event::get_type()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Event_get_type_mAABE4A35E5658E0079A1518D318AF2592F51D6FA (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, const RuntimeMethod* method)
{
typedef int32_t (*Event_get_type_mAABE4A35E5658E0079A1518D318AF2592F51D6FA_ftn) (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 *);
static Event_get_type_mAABE4A35E5658E0079A1518D318AF2592F51D6FA_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (Event_get_type_mAABE4A35E5658E0079A1518D318AF2592F51D6FA_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Event::get_type()");
int32_t retVal = _il2cpp_icall_func(__this);
return retVal;
}
// System.String UnityEngine.Event::get_commandName()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Event_get_commandName_m119D9F8B0A7BA18B849B958CFAF249C970C00BF1 (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, const RuntimeMethod* method)
{
typedef String_t* (*Event_get_commandName_m119D9F8B0A7BA18B849B958CFAF249C970C00BF1_ftn) (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 *);
static Event_get_commandName_m119D9F8B0A7BA18B849B958CFAF249C970C00BF1_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (Event_get_commandName_m119D9F8B0A7BA18B849B958CFAF249C970C00BF1_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Event::get_commandName()");
String_t* retVal = _il2cpp_icall_func(__this);
return retVal;
}
// System.Void UnityEngine.Event::Internal_Use()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Event_Internal_Use_m44762004F3C1C23EEC79F1B9250433A581EC6538 (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, const RuntimeMethod* method)
{
typedef void (*Event_Internal_Use_m44762004F3C1C23EEC79F1B9250433A581EC6538_ftn) (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 *);
static Event_Internal_Use_m44762004F3C1C23EEC79F1B9250433A581EC6538_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (Event_Internal_Use_m44762004F3C1C23EEC79F1B9250433A581EC6538_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Event::Internal_Use()");
_il2cpp_icall_func(__this);
}
// System.IntPtr UnityEngine.Event::Internal_Create(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t Event_Internal_Create_m93F047D4FC3B4B76FD4F80439D0F7EE131EE1E6B (int32_t ___displayIndex0, const RuntimeMethod* method)
{
typedef intptr_t (*Event_Internal_Create_m93F047D4FC3B4B76FD4F80439D0F7EE131EE1E6B_ftn) (int32_t);
static Event_Internal_Create_m93F047D4FC3B4B76FD4F80439D0F7EE131EE1E6B_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (Event_Internal_Create_m93F047D4FC3B4B76FD4F80439D0F7EE131EE1E6B_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Event::Internal_Create(System.Int32)");
intptr_t retVal = _il2cpp_icall_func(___displayIndex0);
return retVal;
}
// System.Void UnityEngine.Event::Internal_Destroy(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Event_Internal_Destroy_m30C46F30A51ABAC5EC270FB75A9856676AA3515C (intptr_t ___ptr0, const RuntimeMethod* method)
{
typedef void (*Event_Internal_Destroy_m30C46F30A51ABAC5EC270FB75A9856676AA3515C_ftn) (intptr_t);
static Event_Internal_Destroy_m30C46F30A51ABAC5EC270FB75A9856676AA3515C_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (Event_Internal_Destroy_m30C46F30A51ABAC5EC270FB75A9856676AA3515C_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Event::Internal_Destroy(System.IntPtr)");
_il2cpp_icall_func(___ptr0);
}
// System.Boolean UnityEngine.Event::PopEvent(UnityEngine.Event)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Event_PopEvent_m8D01FDDC4C7423FCCD7EF3F1B13340C857BE4E4F (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * ___outEvent0, const RuntimeMethod* method)
{
typedef bool (*Event_PopEvent_m8D01FDDC4C7423FCCD7EF3F1B13340C857BE4E4F_ftn) (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 *);
static Event_PopEvent_m8D01FDDC4C7423FCCD7EF3F1B13340C857BE4E4F_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (Event_PopEvent_m8D01FDDC4C7423FCCD7EF3F1B13340C857BE4E4F_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Event::PopEvent(UnityEngine.Event)");
bool retVal = _il2cpp_icall_func(___outEvent0);
return retVal;
}
// System.Void UnityEngine.Event::Internal_SetNativeEvent(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Event_Internal_SetNativeEvent_mDD8C9E3F062FD112ED996FA4E45C1BFBB8C4E950 (intptr_t ___ptr0, const RuntimeMethod* method)
{
typedef void (*Event_Internal_SetNativeEvent_mDD8C9E3F062FD112ED996FA4E45C1BFBB8C4E950_ftn) (intptr_t);
static Event_Internal_SetNativeEvent_mDD8C9E3F062FD112ED996FA4E45C1BFBB8C4E950_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (Event_Internal_SetNativeEvent_mDD8C9E3F062FD112ED996FA4E45C1BFBB8C4E950_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Event::Internal_SetNativeEvent(System.IntPtr)");
_il2cpp_icall_func(___ptr0);
}
// System.Void UnityEngine.Event::Internal_MakeMasterEventCurrent(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Event_Internal_MakeMasterEventCurrent_mAD78377C8BB08EFB5DF3D3E3A4F1089F2FC2BA48 (int32_t ___displayIndex0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Event_Internal_MakeMasterEventCurrent_mAD78377C8BB08EFB5DF3D3E3A4F1089F2FC2BA48_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_0 = ((Event_t187FF6A6B357447B83EC2064823EE0AEC5263210_StaticFields*)il2cpp_codegen_static_fields_for(Event_t187FF6A6B357447B83EC2064823EE0AEC5263210_il2cpp_TypeInfo_var))->get_s_MasterEvent_2();
V_0 = (bool)((((RuntimeObject*)(Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 *)L_0) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_1 = V_0;
if (!L_1)
{
goto IL_0018;
}
}
{
int32_t L_2 = ___displayIndex0;
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_3 = (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 *)il2cpp_codegen_object_new(Event_t187FF6A6B357447B83EC2064823EE0AEC5263210_il2cpp_TypeInfo_var);
Event__ctor_mF8E4029007206A6CAAB28422355BA208C0728FB9(L_3, L_2, /*hidden argument*/NULL);
((Event_t187FF6A6B357447B83EC2064823EE0AEC5263210_StaticFields*)il2cpp_codegen_static_fields_for(Event_t187FF6A6B357447B83EC2064823EE0AEC5263210_il2cpp_TypeInfo_var))->set_s_MasterEvent_2(L_3);
}
IL_0018:
{
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_4 = ((Event_t187FF6A6B357447B83EC2064823EE0AEC5263210_StaticFields*)il2cpp_codegen_static_fields_for(Event_t187FF6A6B357447B83EC2064823EE0AEC5263210_il2cpp_TypeInfo_var))->get_s_MasterEvent_2();
int32_t L_5 = ___displayIndex0;
NullCheck(L_4);
Event_set_displayIndex_mF73CEED3B26A4BCADB099E5E6685FE6AC2CF7289(L_4, L_5, /*hidden argument*/NULL);
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_6 = ((Event_t187FF6A6B357447B83EC2064823EE0AEC5263210_StaticFields*)il2cpp_codegen_static_fields_for(Event_t187FF6A6B357447B83EC2064823EE0AEC5263210_il2cpp_TypeInfo_var))->get_s_MasterEvent_2();
((Event_t187FF6A6B357447B83EC2064823EE0AEC5263210_StaticFields*)il2cpp_codegen_static_fields_for(Event_t187FF6A6B357447B83EC2064823EE0AEC5263210_il2cpp_TypeInfo_var))->set_s_Current_1(L_6);
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_7 = ((Event_t187FF6A6B357447B83EC2064823EE0AEC5263210_StaticFields*)il2cpp_codegen_static_fields_for(Event_t187FF6A6B357447B83EC2064823EE0AEC5263210_il2cpp_TypeInfo_var))->get_s_MasterEvent_2();
NullCheck(L_7);
intptr_t L_8 = L_7->get_m_Ptr_0();
Event_Internal_SetNativeEvent_mDD8C9E3F062FD112ED996FA4E45C1BFBB8C4E950((intptr_t)L_8, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.Event::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Event__ctor_m7226316A4024A3C5EBAE7BB7975194CE2B766A3B (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
intptr_t L_0 = Event_Internal_Create_m93F047D4FC3B4B76FD4F80439D0F7EE131EE1E6B(0, /*hidden argument*/NULL);
__this->set_m_Ptr_0((intptr_t)L_0);
return;
}
}
// System.Void UnityEngine.Event::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Event__ctor_mF8E4029007206A6CAAB28422355BA208C0728FB9 (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, int32_t ___displayIndex0, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
int32_t L_0 = ___displayIndex0;
intptr_t L_1 = Event_Internal_Create_m93F047D4FC3B4B76FD4F80439D0F7EE131EE1E6B(L_0, /*hidden argument*/NULL);
__this->set_m_Ptr_0((intptr_t)L_1);
return;
}
}
// System.Void UnityEngine.Event::Finalize()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Event_Finalize_m71EE3F6BC6C0A99F849EC39C0E47B7305BB9EB3D (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Event_Finalize_m71EE3F6BC6C0A99F849EC39C0E47B7305BB9EB3D_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
}
IL_0001:
try
{ // begin try (depth: 1)
{
intptr_t L_0 = __this->get_m_Ptr_0();
bool L_1 = IntPtr_op_Inequality_mB4886A806009EA825EFCC60CD2A7F6EB8E273A61((intptr_t)L_0, (intptr_t)(0), /*hidden argument*/NULL);
V_0 = L_1;
bool L_2 = V_0;
if (!L_2)
{
goto IL_002f;
}
}
IL_0016:
{
intptr_t L_3 = __this->get_m_Ptr_0();
Event_Internal_Destroy_m30C46F30A51ABAC5EC270FB75A9856676AA3515C((intptr_t)L_3, /*hidden argument*/NULL);
__this->set_m_Ptr_0((intptr_t)(0));
}
IL_002f:
{
IL2CPP_LEAVE(0x39, FINALLY_0031);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0031;
}
FINALLY_0031:
{ // begin finally (depth: 1)
Object_Finalize_m4015B7D3A44DE125C5FE34D7276CD4697C06F380(__this, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(49)
} // end finally (depth: 1)
IL2CPP_CLEANUP(49)
{
IL2CPP_JUMP_TBL(0x39, IL_0039)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0039:
{
return;
}
}
// System.Boolean UnityEngine.Event::get_shift()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Event_get_shift_m74FCE61864B9A7AD13623FA2E8F87FC4A9DBD7A9 (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
int32_t L_0 = Event_get_modifiers_m4D1BDE843A9379F50C3F32CB78CCDAD84B779108(__this, /*hidden argument*/NULL);
V_0 = (bool)((!(((uint32_t)((int32_t)((int32_t)L_0&(int32_t)1))) <= ((uint32_t)0)))? 1 : 0);
goto IL_000f;
}
IL_000f:
{
bool L_1 = V_0;
return L_1;
}
}
// System.Boolean UnityEngine.Event::get_control()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Event_get_control_m641E59B429A24A0F8FBDF460567584FEAFE7DC96 (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
int32_t L_0 = Event_get_modifiers_m4D1BDE843A9379F50C3F32CB78CCDAD84B779108(__this, /*hidden argument*/NULL);
V_0 = (bool)((!(((uint32_t)((int32_t)((int32_t)L_0&(int32_t)2))) <= ((uint32_t)0)))? 1 : 0);
goto IL_000f;
}
IL_000f:
{
bool L_1 = V_0;
return L_1;
}
}
// System.Boolean UnityEngine.Event::get_alt()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Event_get_alt_m7FDEB719480A40311D9EBCEC65395D39C8261BD0 (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
int32_t L_0 = Event_get_modifiers_m4D1BDE843A9379F50C3F32CB78CCDAD84B779108(__this, /*hidden argument*/NULL);
V_0 = (bool)((!(((uint32_t)((int32_t)((int32_t)L_0&(int32_t)4))) <= ((uint32_t)0)))? 1 : 0);
goto IL_000f;
}
IL_000f:
{
bool L_1 = V_0;
return L_1;
}
}
// System.Boolean UnityEngine.Event::get_command()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Event_get_command_m2F8D33B961B59339E4ED06CC6DA5B83843E28972 (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
int32_t L_0 = Event_get_modifiers_m4D1BDE843A9379F50C3F32CB78CCDAD84B779108(__this, /*hidden argument*/NULL);
V_0 = (bool)((!(((uint32_t)((int32_t)((int32_t)L_0&(int32_t)8))) <= ((uint32_t)0)))? 1 : 0);
goto IL_000f;
}
IL_000f:
{
bool L_1 = V_0;
return L_1;
}
}
// UnityEngine.Event UnityEngine.Event::get_current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * Event_get_current_m072CEE599D11B8A9A916697E57C0F561188CDB2B (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Event_get_current_m072CEE599D11B8A9A916697E57C0F561188CDB2B_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * V_0 = NULL;
{
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_0 = ((Event_t187FF6A6B357447B83EC2064823EE0AEC5263210_StaticFields*)il2cpp_codegen_static_fields_for(Event_t187FF6A6B357447B83EC2064823EE0AEC5263210_il2cpp_TypeInfo_var))->get_s_Current_1();
V_0 = L_0;
goto IL_0009;
}
IL_0009:
{
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_1 = V_0;
return L_1;
}
}
// System.Boolean UnityEngine.Event::get_isKey()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Event_get_isKey_m17D185B6CD336242BC5FB9BAB025EE8FA7771E90 (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
bool V_1 = false;
int32_t G_B3_0 = 0;
{
int32_t L_0 = Event_get_type_mAABE4A35E5658E0079A1518D318AF2592F51D6FA(__this, /*hidden argument*/NULL);
V_0 = L_0;
int32_t L_1 = V_0;
if ((((int32_t)L_1) == ((int32_t)4)))
{
goto IL_0012;
}
}
{
int32_t L_2 = V_0;
G_B3_0 = ((((int32_t)L_2) == ((int32_t)5))? 1 : 0);
goto IL_0013;
}
IL_0012:
{
G_B3_0 = 1;
}
IL_0013:
{
V_1 = (bool)G_B3_0;
goto IL_0016;
}
IL_0016:
{
bool L_3 = V_1;
return L_3;
}
}
// System.Boolean UnityEngine.Event::get_isMouse()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Event_get_isMouse_m5923637C4A5E3BD642C3E88A428D5B39F0A85AB6 (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
bool V_1 = false;
int32_t G_B8_0 = 0;
{
int32_t L_0 = Event_get_type_mAABE4A35E5658E0079A1518D318AF2592F51D6FA(__this, /*hidden argument*/NULL);
V_0 = L_0;
int32_t L_1 = V_0;
if ((((int32_t)L_1) == ((int32_t)2)))
{
goto IL_0028;
}
}
{
int32_t L_2 = V_0;
if (!L_2)
{
goto IL_0028;
}
}
{
int32_t L_3 = V_0;
if ((((int32_t)L_3) == ((int32_t)1)))
{
goto IL_0028;
}
}
{
int32_t L_4 = V_0;
if ((((int32_t)L_4) == ((int32_t)3)))
{
goto IL_0028;
}
}
{
int32_t L_5 = V_0;
if ((((int32_t)L_5) == ((int32_t)((int32_t)16))))
{
goto IL_0028;
}
}
{
int32_t L_6 = V_0;
if ((((int32_t)L_6) == ((int32_t)((int32_t)20))))
{
goto IL_0028;
}
}
{
int32_t L_7 = V_0;
G_B8_0 = ((((int32_t)L_7) == ((int32_t)((int32_t)21)))? 1 : 0);
goto IL_0029;
}
IL_0028:
{
G_B8_0 = 1;
}
IL_0029:
{
V_1 = (bool)G_B8_0;
goto IL_002c;
}
IL_002c:
{
bool L_8 = V_1;
return L_8;
}
}
// System.Boolean UnityEngine.Event::get_isDirectManipulationDevice()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Event_get_isDirectManipulationDevice_mC119A717201BAAF95B1320D4060A1A74A891D99E (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, const RuntimeMethod* method)
{
bool V_0 = false;
int32_t G_B3_0 = 0;
{
int32_t L_0 = Event_get_pointerType_m1D8031C5A8BFBAC21BAAB396199CDFCD3AAC42CA(__this, /*hidden argument*/NULL);
if ((((int32_t)L_0) == ((int32_t)2)))
{
goto IL_0015;
}
}
{
int32_t L_1 = Event_get_pointerType_m1D8031C5A8BFBAC21BAAB396199CDFCD3AAC42CA(__this, /*hidden argument*/NULL);
G_B3_0 = ((((int32_t)L_1) == ((int32_t)1))? 1 : 0);
goto IL_0016;
}
IL_0015:
{
G_B3_0 = 1;
}
IL_0016:
{
V_0 = (bool)G_B3_0;
goto IL_0019;
}
IL_0019:
{
bool L_2 = V_0;
return L_2;
}
}
// System.Int32 UnityEngine.Event::GetHashCode()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Event_GetHashCode_m043035C02793F794E13286466579F09F87D7AA9D (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
bool V_1 = false;
bool V_2 = false;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D V_3;
memset((&V_3), 0, sizeof(V_3));
int32_t V_4 = 0;
{
V_0 = 1;
bool L_0 = Event_get_isKey_m17D185B6CD336242BC5FB9BAB025EE8FA7771E90(__this, /*hidden argument*/NULL);
V_1 = L_0;
bool L_1 = V_1;
if (!L_1)
{
goto IL_0015;
}
}
{
int32_t L_2 = Event_get_keyCode_m8B0AAD347861E322E91D2B7320A99E04D39575CF(__this, /*hidden argument*/NULL);
V_0 = (((int32_t)((uint16_t)L_2)));
}
IL_0015:
{
bool L_3 = Event_get_isMouse_m5923637C4A5E3BD642C3E88A428D5B39F0A85AB6(__this, /*hidden argument*/NULL);
V_2 = L_3;
bool L_4 = V_2;
if (!L_4)
{
goto IL_0034;
}
}
{
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_5 = Event_get_mousePosition_m92AD98489A626864E9B179273270802EB1D2C085(__this, /*hidden argument*/NULL);
V_3 = L_5;
int32_t L_6 = Vector2_GetHashCode_m028AB6B14EBC6D668CFA45BF6EDEF17E2C44EA54((Vector2_tA85D2DD88578276CA8A8796756458277E72D073D *)(&V_3), /*hidden argument*/NULL);
V_0 = L_6;
}
IL_0034:
{
int32_t L_7 = V_0;
int32_t L_8 = Event_get_modifiers_m4D1BDE843A9379F50C3F32CB78CCDAD84B779108(__this, /*hidden argument*/NULL);
V_0 = ((int32_t)((int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_7, (int32_t)((int32_t)37)))|(int32_t)L_8));
int32_t L_9 = V_0;
V_4 = L_9;
goto IL_0045;
}
IL_0045:
{
int32_t L_10 = V_4;
return L_10;
}
}
// System.Boolean UnityEngine.Event::Equals(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Event_Equals_m1DEF4FB843B631FC437B1366F0F78CEF7A739070 (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, RuntimeObject * ___obj0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Event_Equals_m1DEF4FB843B631FC437B1366F0F78CEF7A739070_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * V_0 = NULL;
bool V_1 = false;
bool V_2 = false;
bool V_3 = false;
bool V_4 = false;
bool V_5 = false;
bool V_6 = false;
bool V_7 = false;
int32_t G_B9_0 = 0;
{
RuntimeObject * L_0 = ___obj0;
V_1 = (bool)((((RuntimeObject*)(RuntimeObject *)L_0) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_1 = V_1;
if (!L_1)
{
goto IL_0010;
}
}
{
V_2 = (bool)0;
goto IL_00b4;
}
IL_0010:
{
RuntimeObject * L_2 = ___obj0;
V_3 = (bool)((((RuntimeObject*)(Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 *)__this) == ((RuntimeObject*)(RuntimeObject *)L_2))? 1 : 0);
bool L_3 = V_3;
if (!L_3)
{
goto IL_001f;
}
}
{
V_2 = (bool)1;
goto IL_00b4;
}
IL_001f:
{
RuntimeObject * L_4 = ___obj0;
NullCheck(L_4);
Type_t * L_5 = Object_GetType_m2E0B62414ECCAA3094B703790CE88CBB2F83EA60(L_4, /*hidden argument*/NULL);
Type_t * L_6 = Object_GetType_m2E0B62414ECCAA3094B703790CE88CBB2F83EA60(__this, /*hidden argument*/NULL);
V_4 = (bool)((((int32_t)((((RuntimeObject*)(Type_t *)L_5) == ((RuntimeObject*)(Type_t *)L_6))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_7 = V_4;
if (!L_7)
{
goto IL_003a;
}
}
{
V_2 = (bool)0;
goto IL_00b4;
}
IL_003a:
{
RuntimeObject * L_8 = ___obj0;
V_0 = ((Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 *)CastclassSealed((RuntimeObject*)L_8, Event_t187FF6A6B357447B83EC2064823EE0AEC5263210_il2cpp_TypeInfo_var));
int32_t L_9 = Event_get_type_mAABE4A35E5658E0079A1518D318AF2592F51D6FA(__this, /*hidden argument*/NULL);
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_10 = V_0;
NullCheck(L_10);
int32_t L_11 = Event_get_type_mAABE4A35E5658E0079A1518D318AF2592F51D6FA(L_10, /*hidden argument*/NULL);
if ((!(((uint32_t)L_9) == ((uint32_t)L_11))))
{
goto IL_0068;
}
}
{
int32_t L_12 = Event_get_modifiers_m4D1BDE843A9379F50C3F32CB78CCDAD84B779108(__this, /*hidden argument*/NULL);
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_13 = V_0;
NullCheck(L_13);
int32_t L_14 = Event_get_modifiers_m4D1BDE843A9379F50C3F32CB78CCDAD84B779108(L_13, /*hidden argument*/NULL);
G_B9_0 = ((((int32_t)((((int32_t)((int32_t)((int32_t)L_12&(int32_t)((int32_t)-33)))) == ((int32_t)((int32_t)((int32_t)L_14&(int32_t)((int32_t)-33)))))? 1 : 0)) == ((int32_t)0))? 1 : 0);
goto IL_0069;
}
IL_0068:
{
G_B9_0 = 1;
}
IL_0069:
{
V_5 = (bool)G_B9_0;
bool L_15 = V_5;
if (!L_15)
{
goto IL_0073;
}
}
{
V_2 = (bool)0;
goto IL_00b4;
}
IL_0073:
{
bool L_16 = Event_get_isKey_m17D185B6CD336242BC5FB9BAB025EE8FA7771E90(__this, /*hidden argument*/NULL);
V_6 = L_16;
bool L_17 = V_6;
if (!L_17)
{
goto IL_0090;
}
}
{
int32_t L_18 = Event_get_keyCode_m8B0AAD347861E322E91D2B7320A99E04D39575CF(__this, /*hidden argument*/NULL);
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_19 = V_0;
NullCheck(L_19);
int32_t L_20 = Event_get_keyCode_m8B0AAD347861E322E91D2B7320A99E04D39575CF(L_19, /*hidden argument*/NULL);
V_2 = (bool)((((int32_t)L_18) == ((int32_t)L_20))? 1 : 0);
goto IL_00b4;
}
IL_0090:
{
bool L_21 = Event_get_isMouse_m5923637C4A5E3BD642C3E88A428D5B39F0A85AB6(__this, /*hidden argument*/NULL);
V_7 = L_21;
bool L_22 = V_7;
if (!L_22)
{
goto IL_00b0;
}
}
{
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_23 = Event_get_mousePosition_m92AD98489A626864E9B179273270802EB1D2C085(__this, /*hidden argument*/NULL);
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_24 = V_0;
NullCheck(L_24);
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_25 = Event_get_mousePosition_m92AD98489A626864E9B179273270802EB1D2C085(L_24, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_il2cpp_TypeInfo_var);
bool L_26 = Vector2_op_Equality_m0E86E1B1038DDB8554A8A0D58729A7788D989588(L_23, L_25, /*hidden argument*/NULL);
V_2 = L_26;
goto IL_00b4;
}
IL_00b0:
{
V_2 = (bool)0;
goto IL_00b4;
}
IL_00b4:
{
bool L_27 = V_2;
return L_27;
}
}
// System.String UnityEngine.Event::ToString()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Event_ToString_m2843623B66F30AC141175B1D16F1B112D3835A65 (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Event_ToString_m2843623B66F30AC141175B1D16F1B112D3835A65_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
bool V_1 = false;
String_t* V_2 = NULL;
bool V_3 = false;
bool V_4 = false;
int32_t G_B9_0 = 0;
{
bool L_0 = Event_get_isKey_m17D185B6CD336242BC5FB9BAB025EE8FA7771E90(__this, /*hidden argument*/NULL);
V_0 = L_0;
bool L_1 = V_0;
if (!L_1)
{
goto IL_00c5;
}
}
{
Il2CppChar L_2 = Event_get_character_m78B46D412357B71233F3D41842928A19B290915C(__this, /*hidden argument*/NULL);
V_1 = (bool)((((int32_t)L_2) == ((int32_t)0))? 1 : 0);
bool L_3 = V_1;
if (!L_3)
{
goto IL_005c;
}
}
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_4 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)SZArrayNew(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A_il2cpp_TypeInfo_var, (uint32_t)3);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_5 = L_4;
int32_t L_6 = Event_get_type_mAABE4A35E5658E0079A1518D318AF2592F51D6FA(__this, /*hidden argument*/NULL);
int32_t L_7 = L_6;
RuntimeObject * L_8 = Box(EventType_t3D3937E705A4506226002DAB22071B7B181DA57B_il2cpp_TypeInfo_var, &L_7);
NullCheck(L_5);
ArrayElementTypeCheck (L_5, L_8);
(L_5)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_8);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_9 = L_5;
int32_t L_10 = Event_get_modifiers_m4D1BDE843A9379F50C3F32CB78CCDAD84B779108(__this, /*hidden argument*/NULL);
int32_t L_11 = L_10;
RuntimeObject * L_12 = Box(EventModifiers_tC34E3018F3697001F894187AF6E9E63D7E203061_il2cpp_TypeInfo_var, &L_11);
NullCheck(L_9);
ArrayElementTypeCheck (L_9, L_12);
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject *)L_12);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_13 = L_9;
int32_t L_14 = Event_get_keyCode_m8B0AAD347861E322E91D2B7320A99E04D39575CF(__this, /*hidden argument*/NULL);
int32_t L_15 = L_14;
RuntimeObject * L_16 = Box(KeyCode_tC93EA87C5A6901160B583ADFCD3EF6726570DC3C_il2cpp_TypeInfo_var, &L_15);
NullCheck(L_13);
ArrayElementTypeCheck (L_13, L_16);
(L_13)->SetAt(static_cast<il2cpp_array_size_t>(2), (RuntimeObject *)L_16);
String_t* L_17 = UnityString_Format_m415056ECF8DA7B3EC6A8456E299D0C2002177387(_stringLiteral645983D981B058C71B234B4EF85974E83DF46C36, L_13, /*hidden argument*/NULL);
V_2 = L_17;
goto IL_0166;
}
IL_005c:
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_18 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)SZArrayNew(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A_il2cpp_TypeInfo_var, (uint32_t)8);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_19 = L_18;
NullCheck(L_19);
ArrayElementTypeCheck (L_19, _stringLiteralE1D1873098D32108BBEF9FD4C21B888ED8659C49);
(L_19)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)_stringLiteralE1D1873098D32108BBEF9FD4C21B888ED8659C49);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_20 = L_19;
int32_t L_21 = Event_get_type_mAABE4A35E5658E0079A1518D318AF2592F51D6FA(__this, /*hidden argument*/NULL);
int32_t L_22 = L_21;
RuntimeObject * L_23 = Box(EventType_t3D3937E705A4506226002DAB22071B7B181DA57B_il2cpp_TypeInfo_var, &L_22);
NullCheck(L_20);
ArrayElementTypeCheck (L_20, L_23);
(L_20)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject *)L_23);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_24 = L_20;
NullCheck(L_24);
ArrayElementTypeCheck (L_24, _stringLiteral5C99F2EA0C681082AA59B6CD687CA19041028B63);
(L_24)->SetAt(static_cast<il2cpp_array_size_t>(2), (RuntimeObject *)_stringLiteral5C99F2EA0C681082AA59B6CD687CA19041028B63);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_25 = L_24;
Il2CppChar L_26 = Event_get_character_m78B46D412357B71233F3D41842928A19B290915C(__this, /*hidden argument*/NULL);
int32_t L_27 = ((int32_t)L_26);
RuntimeObject * L_28 = Box(Int32_t585191389E07734F19F3156FF88FB3EF4800D102_il2cpp_TypeInfo_var, &L_27);
NullCheck(L_25);
ArrayElementTypeCheck (L_25, L_28);
(L_25)->SetAt(static_cast<il2cpp_array_size_t>(3), (RuntimeObject *)L_28);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_29 = L_25;
NullCheck(L_29);
ArrayElementTypeCheck (L_29, _stringLiteral00CE3E1623671A834728138CD689D176F0000CEB);
(L_29)->SetAt(static_cast<il2cpp_array_size_t>(4), (RuntimeObject *)_stringLiteral00CE3E1623671A834728138CD689D176F0000CEB);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_30 = L_29;
int32_t L_31 = Event_get_modifiers_m4D1BDE843A9379F50C3F32CB78CCDAD84B779108(__this, /*hidden argument*/NULL);
int32_t L_32 = L_31;
RuntimeObject * L_33 = Box(EventModifiers_tC34E3018F3697001F894187AF6E9E63D7E203061_il2cpp_TypeInfo_var, &L_32);
NullCheck(L_30);
ArrayElementTypeCheck (L_30, L_33);
(L_30)->SetAt(static_cast<il2cpp_array_size_t>(5), (RuntimeObject *)L_33);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_34 = L_30;
NullCheck(L_34);
ArrayElementTypeCheck (L_34, _stringLiteralD3280C579ECC78E7C99A42607D1529992F9DD5F3);
(L_34)->SetAt(static_cast<il2cpp_array_size_t>(6), (RuntimeObject *)_stringLiteralD3280C579ECC78E7C99A42607D1529992F9DD5F3);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_35 = L_34;
int32_t L_36 = Event_get_keyCode_m8B0AAD347861E322E91D2B7320A99E04D39575CF(__this, /*hidden argument*/NULL);
int32_t L_37 = L_36;
RuntimeObject * L_38 = Box(KeyCode_tC93EA87C5A6901160B583ADFCD3EF6726570DC3C_il2cpp_TypeInfo_var, &L_37);
NullCheck(L_35);
ArrayElementTypeCheck (L_35, L_38);
(L_35)->SetAt(static_cast<il2cpp_array_size_t>(7), (RuntimeObject *)L_38);
String_t* L_39 = String_Concat_mB7BA84F13912303B2E5E40FBF0109E1A328ACA07(L_35, /*hidden argument*/NULL);
V_2 = L_39;
goto IL_0166;
}
IL_00c5:
{
bool L_40 = Event_get_isMouse_m5923637C4A5E3BD642C3E88A428D5B39F0A85AB6(__this, /*hidden argument*/NULL);
V_3 = L_40;
bool L_41 = V_3;
if (!L_41)
{
goto IL_010c;
}
}
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_42 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)SZArrayNew(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A_il2cpp_TypeInfo_var, (uint32_t)3);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_43 = L_42;
int32_t L_44 = Event_get_type_mAABE4A35E5658E0079A1518D318AF2592F51D6FA(__this, /*hidden argument*/NULL);
int32_t L_45 = L_44;
RuntimeObject * L_46 = Box(EventType_t3D3937E705A4506226002DAB22071B7B181DA57B_il2cpp_TypeInfo_var, &L_45);
NullCheck(L_43);
ArrayElementTypeCheck (L_43, L_46);
(L_43)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_46);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_47 = L_43;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_48 = Event_get_mousePosition_m92AD98489A626864E9B179273270802EB1D2C085(__this, /*hidden argument*/NULL);
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_49 = L_48;
RuntimeObject * L_50 = Box(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_il2cpp_TypeInfo_var, &L_49);
NullCheck(L_47);
ArrayElementTypeCheck (L_47, L_50);
(L_47)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject *)L_50);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_51 = L_47;
int32_t L_52 = Event_get_modifiers_m4D1BDE843A9379F50C3F32CB78CCDAD84B779108(__this, /*hidden argument*/NULL);
int32_t L_53 = L_52;
RuntimeObject * L_54 = Box(EventModifiers_tC34E3018F3697001F894187AF6E9E63D7E203061_il2cpp_TypeInfo_var, &L_53);
NullCheck(L_51);
ArrayElementTypeCheck (L_51, L_54);
(L_51)->SetAt(static_cast<il2cpp_array_size_t>(2), (RuntimeObject *)L_54);
String_t* L_55 = UnityString_Format_m415056ECF8DA7B3EC6A8456E299D0C2002177387(_stringLiteralBFAF5DB045B9BE61FE1BC19E0486B8287028A876, L_51, /*hidden argument*/NULL);
V_2 = L_55;
goto IL_0166;
}
IL_010c:
{
int32_t L_56 = Event_get_type_mAABE4A35E5658E0079A1518D318AF2592F51D6FA(__this, /*hidden argument*/NULL);
if ((((int32_t)L_56) == ((int32_t)((int32_t)14))))
{
goto IL_0122;
}
}
{
int32_t L_57 = Event_get_type_mAABE4A35E5658E0079A1518D318AF2592F51D6FA(__this, /*hidden argument*/NULL);
G_B9_0 = ((((int32_t)L_57) == ((int32_t)((int32_t)13)))? 1 : 0);
goto IL_0123;
}
IL_0122:
{
G_B9_0 = 1;
}
IL_0123:
{
V_4 = (bool)G_B9_0;
bool L_58 = V_4;
if (!L_58)
{
goto IL_0153;
}
}
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_59 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)SZArrayNew(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A_il2cpp_TypeInfo_var, (uint32_t)2);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_60 = L_59;
int32_t L_61 = Event_get_type_mAABE4A35E5658E0079A1518D318AF2592F51D6FA(__this, /*hidden argument*/NULL);
int32_t L_62 = L_61;
RuntimeObject * L_63 = Box(EventType_t3D3937E705A4506226002DAB22071B7B181DA57B_il2cpp_TypeInfo_var, &L_62);
NullCheck(L_60);
ArrayElementTypeCheck (L_60, L_63);
(L_60)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_63);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_64 = L_60;
String_t* L_65 = Event_get_commandName_m119D9F8B0A7BA18B849B958CFAF249C970C00BF1(__this, /*hidden argument*/NULL);
NullCheck(L_64);
ArrayElementTypeCheck (L_64, L_65);
(L_64)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject *)L_65);
String_t* L_66 = UnityString_Format_m415056ECF8DA7B3EC6A8456E299D0C2002177387(_stringLiteral43038A7293A88F58900A924007043B16F5DF3840, L_64, /*hidden argument*/NULL);
V_2 = L_66;
goto IL_0166;
}
IL_0153:
{
int32_t L_67 = Event_get_type_mAABE4A35E5658E0079A1518D318AF2592F51D6FA(__this, /*hidden argument*/NULL);
int32_t L_68 = L_67;
RuntimeObject * L_69 = Box(EventType_t3D3937E705A4506226002DAB22071B7B181DA57B_il2cpp_TypeInfo_var, &L_68);
String_t* L_70 = String_Concat_m798542DE19B3F02DC4F4B777BB2E73169F129DE1(L_69, /*hidden argument*/NULL);
V_2 = L_70;
goto IL_0166;
}
IL_0166:
{
String_t* L_71 = V_2;
return L_71;
}
}
// System.Void UnityEngine.Event::Use()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Event_Use_m2328ACD6C711742273C1321F5F79C6D3CEB08AC5 (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Event_Use_m2328ACD6C711742273C1321F5F79C6D3CEB08AC5_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
int32_t G_B3_0 = 0;
{
int32_t L_0 = Event_get_type_mAABE4A35E5658E0079A1518D318AF2592F51D6FA(__this, /*hidden argument*/NULL);
if ((((int32_t)L_0) == ((int32_t)7)))
{
goto IL_0015;
}
}
{
int32_t L_1 = Event_get_type_mAABE4A35E5658E0079A1518D318AF2592F51D6FA(__this, /*hidden argument*/NULL);
G_B3_0 = ((((int32_t)L_1) == ((int32_t)8))? 1 : 0);
goto IL_0016;
}
IL_0015:
{
G_B3_0 = 1;
}
IL_0016:
{
V_0 = (bool)G_B3_0;
bool L_2 = V_0;
if (!L_2)
{
goto IL_003e;
}
}
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_3 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)SZArrayNew(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A_il2cpp_TypeInfo_var, (uint32_t)1);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_4 = L_3;
int32_t L_5 = Event_get_type_mAABE4A35E5658E0079A1518D318AF2592F51D6FA(__this, /*hidden argument*/NULL);
int32_t L_6 = L_5;
RuntimeObject * L_7 = Box(EventType_t3D3937E705A4506226002DAB22071B7B181DA57B_il2cpp_TypeInfo_var, &L_6);
NullCheck(L_4);
ArrayElementTypeCheck (L_4, L_7);
(L_4)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_7);
String_t* L_8 = UnityString_Format_m415056ECF8DA7B3EC6A8456E299D0C2002177387(_stringLiteral9A5E2F5BDDFCF829F248A8C91E5AACBBDFEE7223, L_4, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Debug_t7B5FCB117E2FD63B6838BC52821B252E2BFB61C4_il2cpp_TypeInfo_var);
Debug_LogWarning_m37338644DC81F640CCDFEAE35A223F0E965F0568(L_8, /*hidden argument*/NULL);
}
IL_003e:
{
Event_Internal_Use_m44762004F3C1C23EEC79F1B9250433A581EC6538(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.Event::get_mousePosition_Injected(UnityEngine.Vector2&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Event_get_mousePosition_Injected_mE71FE88F6E27190A534BD5862941E5887D6BE632 (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * __this, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * ___ret0, const RuntimeMethod* method)
{
typedef void (*Event_get_mousePosition_Injected_mE71FE88F6E27190A534BD5862941E5887D6BE632_ftn) (Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 *, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D *);
static Event_get_mousePosition_Injected_mE71FE88F6E27190A534BD5862941E5887D6BE632_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (Event_get_mousePosition_Injected_mE71FE88F6E27190A534BD5862941E5887D6BE632_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Event::get_mousePosition_Injected(UnityEngine.Vector2&)");
_il2cpp_icall_func(__this, ___ret0);
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void UnityEngine.GUI::set_changed(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUI_set_changed_m8BDF5085BBFDF8E61C12926C8E51C67B22B629AE (bool ___value0, const RuntimeMethod* method)
{
typedef void (*GUI_set_changed_m8BDF5085BBFDF8E61C12926C8E51C67B22B629AE_ftn) (bool);
static GUI_set_changed_m8BDF5085BBFDF8E61C12926C8E51C67B22B629AE_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUI_set_changed_m8BDF5085BBFDF8E61C12926C8E51C67B22B629AE_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUI::set_changed(System.Boolean)");
_il2cpp_icall_func(___value0);
}
// System.Void UnityEngine.GUI::GrabMouseControl(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUI_GrabMouseControl_mEE35B3F6529614CC25241C27B03D8595C61E533F (int32_t ___id0, const RuntimeMethod* method)
{
typedef void (*GUI_GrabMouseControl_mEE35B3F6529614CC25241C27B03D8595C61E533F_ftn) (int32_t);
static GUI_GrabMouseControl_mEE35B3F6529614CC25241C27B03D8595C61E533F_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUI_GrabMouseControl_mEE35B3F6529614CC25241C27B03D8595C61E533F_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUI::GrabMouseControl(System.Int32)");
_il2cpp_icall_func(___id0);
}
// System.Boolean UnityEngine.GUI::HasMouseControl(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUI_HasMouseControl_m66CD5558529BEFFD84D4CAB8B1BC6349F12DF4B1 (int32_t ___id0, const RuntimeMethod* method)
{
typedef bool (*GUI_HasMouseControl_m66CD5558529BEFFD84D4CAB8B1BC6349F12DF4B1_ftn) (int32_t);
static GUI_HasMouseControl_m66CD5558529BEFFD84D4CAB8B1BC6349F12DF4B1_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUI_HasMouseControl_m66CD5558529BEFFD84D4CAB8B1BC6349F12DF4B1_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUI::HasMouseControl(System.Int32)");
bool retVal = _il2cpp_icall_func(___id0);
return retVal;
}
// System.Void UnityEngine.GUI::ReleaseMouseControl()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUI_ReleaseMouseControl_m4F0C7D33663DEC8BC1D8C04C2417899C8AB4462B (const RuntimeMethod* method)
{
typedef void (*GUI_ReleaseMouseControl_m4F0C7D33663DEC8BC1D8C04C2417899C8AB4462B_ftn) ();
static GUI_ReleaseMouseControl_m4F0C7D33663DEC8BC1D8C04C2417899C8AB4462B_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUI_ReleaseMouseControl_m4F0C7D33663DEC8BC1D8C04C2417899C8AB4462B_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUI::ReleaseMouseControl()");
_il2cpp_icall_func();
}
// UnityEngine.Rect UnityEngine.GUI::Internal_DoWindow(System.Int32,System.Int32,UnityEngine.Rect,UnityEngine.GUI_WindowFunction,UnityEngine.GUIContent,UnityEngine.GUIStyle,System.Object,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Rect_t35B976DE901B5423C11705E156938EA27AB402CE GUI_Internal_DoWindow_m0491913E9E8699A977CBB0C61997B664AA16D353 (int32_t ___id0, int32_t ___instanceID1, Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___clientRect2, WindowFunction_t9AF05117863D95AA9F85D497A3B9B53216708100 * ___func3, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___title4, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style5, RuntimeObject * ___skin6, bool ___forceRectOnLayout7, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUI_Internal_DoWindow_m0491913E9E8699A977CBB0C61997B664AA16D353_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Rect_t35B976DE901B5423C11705E156938EA27AB402CE V_0;
memset((&V_0), 0, sizeof(V_0));
{
int32_t L_0 = ___id0;
int32_t L_1 = ___instanceID1;
WindowFunction_t9AF05117863D95AA9F85D497A3B9B53216708100 * L_2 = ___func3;
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_3 = ___title4;
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_4 = ___style5;
RuntimeObject * L_5 = ___skin6;
bool L_6 = ___forceRectOnLayout7;
IL2CPP_RUNTIME_CLASS_INIT(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var);
GUI_Internal_DoWindow_Injected_mEA9D79FEB9DE39D98F052354778804D873B5CED9(L_0, L_1, (Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)(&___clientRect2), L_2, L_3, L_4, L_5, L_6, (Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)(&V_0), /*hidden argument*/NULL);
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_7 = V_0;
return L_7;
}
}
// System.Void UnityEngine.GUI::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUI__cctor_m9A902CA13649D04BFB54D86C051A09AC5301ED63 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUI__cctor_m9A902CA13649D04BFB54D86C051A09AC5301ED63_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
((GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_StaticFields*)il2cpp_codegen_static_fields_for(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var))->set_s_HotTextField_0((-1));
NullCheck(_stringLiteral239CA5767AFAC9641593464CE02BC454D6AC07A9);
int32_t L_0 = VirtFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 System.Object::GetHashCode() */, _stringLiteral239CA5767AFAC9641593464CE02BC454D6AC07A9);
((GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_StaticFields*)il2cpp_codegen_static_fields_for(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var))->set_s_BoxHash_1(L_0);
NullCheck(_stringLiteral794145F030FF721599A0353A9B2E59E9A92B9BF1);
int32_t L_1 = VirtFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 System.Object::GetHashCode() */, _stringLiteral794145F030FF721599A0353A9B2E59E9A92B9BF1);
((GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_StaticFields*)il2cpp_codegen_static_fields_for(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var))->set_s_ButonHash_2(L_1);
NullCheck(_stringLiteralE647442EAD89630DC43D2047D097508AD66D2618);
int32_t L_2 = VirtFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 System.Object::GetHashCode() */, _stringLiteralE647442EAD89630DC43D2047D097508AD66D2618);
((GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_StaticFields*)il2cpp_codegen_static_fields_for(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var))->set_s_RepeatButtonHash_3(L_2);
NullCheck(_stringLiteralD5E14B063514CB6630E55F0AEB0AD3B37897EFCA);
int32_t L_3 = VirtFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 System.Object::GetHashCode() */, _stringLiteralD5E14B063514CB6630E55F0AEB0AD3B37897EFCA);
((GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_StaticFields*)il2cpp_codegen_static_fields_for(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var))->set_s_ToggleHash_4(L_3);
NullCheck(_stringLiteralE8603CA0394240FFC435FB8A9A44A0B8ADFDB19F);
int32_t L_4 = VirtFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 System.Object::GetHashCode() */, _stringLiteralE8603CA0394240FFC435FB8A9A44A0B8ADFDB19F);
((GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_StaticFields*)il2cpp_codegen_static_fields_for(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var))->set_s_ButtonGridHash_5(L_4);
NullCheck(_stringLiteralAA5DB7D82232EE34651EB5ADEA59B01C839EB843);
int32_t L_5 = VirtFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 System.Object::GetHashCode() */, _stringLiteralAA5DB7D82232EE34651EB5ADEA59B01C839EB843);
((GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_StaticFields*)il2cpp_codegen_static_fields_for(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var))->set_s_SliderHash_6(L_5);
NullCheck(_stringLiteral43B731706EEE5F12E52ED519717DB9572EADF165);
int32_t L_6 = VirtFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 System.Object::GetHashCode() */, _stringLiteral43B731706EEE5F12E52ED519717DB9572EADF165);
((GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_StaticFields*)il2cpp_codegen_static_fields_for(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var))->set_s_BeginGroupHash_7(L_6);
NullCheck(_stringLiteral9B93271A1F5C73A7A67E544DD659306E5EE80C4B);
int32_t L_7 = VirtFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 System.Object::GetHashCode() */, _stringLiteral9B93271A1F5C73A7A67E544DD659306E5EE80C4B);
((GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_StaticFields*)il2cpp_codegen_static_fields_for(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var))->set_s_ScrollviewHash_8(L_7);
GenericStack_tC59D21E8DBC50F3C608479C942200AC44CA2D5BC * L_8 = (GenericStack_tC59D21E8DBC50F3C608479C942200AC44CA2D5BC *)il2cpp_codegen_object_new(GenericStack_tC59D21E8DBC50F3C608479C942200AC44CA2D5BC_il2cpp_TypeInfo_var);
GenericStack__ctor_m0659B84DB6B093AF1F01F566686C510DDEEAE848(L_8, /*hidden argument*/NULL);
((GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_StaticFields*)il2cpp_codegen_static_fields_for(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var))->set_U3CscrollViewStatesU3Ek__BackingField_11(L_8);
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_9 = DateTime_get_Now_mB464D30F15C97069F92C1F910DCDDC3DFCC7F7D2(/*hidden argument*/NULL);
GUI_set_nextScrollStepTime_m0EBE9A3F5960CD23334E4678D9CF6F5E15CBDE23_inline(L_9, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.GUI::set_nextScrollStepTime(System.DateTime)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUI_set_nextScrollStepTime_m0EBE9A3F5960CD23334E4678D9CF6F5E15CBDE23 (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUI_set_nextScrollStepTime_m0EBE9A3F5960CD23334E4678D9CF6F5E15CBDE23_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_0 = ___value0;
IL2CPP_RUNTIME_CLASS_INIT(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var);
((GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_StaticFields*)il2cpp_codegen_static_fields_for(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var))->set_U3CnextScrollStepTimeU3Ek__BackingField_9(L_0);
return;
}
}
// System.Void UnityEngine.GUI::set_skin(UnityEngine.GUISkin)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUI_set_skin_mFC9EC2E88A46A7F42664C6C41D8CCD9B9BA4DBA0 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUI_set_skin_mFC9EC2E88A46A7F42664C6C41D8CCD9B9BA4DBA0_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
GUIUtility_CheckOnGUI_mBFC764B475683BC50E40BD249248CE43DA754873(/*hidden argument*/NULL);
GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * L_0 = ___value0;
IL2CPP_RUNTIME_CLASS_INIT(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var);
GUI_DoSetSkin_mC72F1980793E86E8F33D641A207D2AAB409A71F7(L_0, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.GUISkin UnityEngine.GUI::get_skin()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * GUI_get_skin_mF6804BE33CFD74FF0665C1185AC7B5C1687AE866 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUI_get_skin_mF6804BE33CFD74FF0665C1185AC7B5C1687AE866_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * V_0 = NULL;
{
GUIUtility_CheckOnGUI_mBFC764B475683BC50E40BD249248CE43DA754873(/*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var);
GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * L_0 = ((GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_StaticFields*)il2cpp_codegen_static_fields_for(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var))->get_s_Skin_10();
V_0 = L_0;
goto IL_000f;
}
IL_000f:
{
GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.GUI::DoSetSkin(UnityEngine.GUISkin)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUI_DoSetSkin_mC72F1980793E86E8F33D641A207D2AAB409A71F7 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * ___newSkin0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUI_DoSetSkin_mC72F1980793E86E8F33D641A207D2AAB409A71F7_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * L_0 = ___newSkin0;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Implicit_m8B2A44B4B1406ED346D1AE6D962294FD58D0D534(L_0, /*hidden argument*/NULL);
V_0 = (bool)((((int32_t)L_1) == ((int32_t)0))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0015;
}
}
{
GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * L_3 = GUIUtility_GetDefaultSkin_m2F1B580445522074FF41CF9906531DBEAB034365(/*hidden argument*/NULL);
___newSkin0 = L_3;
}
IL_0015:
{
GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * L_4 = ___newSkin0;
IL2CPP_RUNTIME_CLASS_INIT(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var);
((GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_StaticFields*)il2cpp_codegen_static_fields_for(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var))->set_s_Skin_10(L_4);
GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * L_5 = ___newSkin0;
NullCheck(L_5);
GUISkin_MakeCurrent_m42FAF8090F6B57648678704D86A6451DB917CF2D(L_5, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.GUI::Label(UnityEngine.Rect,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUI_Label_m3262E5E30013ECAF83C075710F7761E49BEA5CCE (Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___position0, String_t* ___text1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUI_Label_m3262E5E30013ECAF83C075710F7761E49BEA5CCE_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_0 = ___position0;
String_t* L_1 = ___text1;
IL2CPP_RUNTIME_CLASS_INIT(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_il2cpp_TypeInfo_var);
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_2 = GUIContent_Temp_m29B9E688E5EA09D12FDFAC6096B8762F7E84688D(L_1, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var);
GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * L_3 = ((GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_StaticFields*)il2cpp_codegen_static_fields_for(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var))->get_s_Skin_10();
NullCheck(L_3);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_4 = GUISkin_get_label_mC5C9D4CD377D7F5BB970B01E665EE077565AFF72(L_3, /*hidden argument*/NULL);
GUI_Label_mB1E6C064D67D94E1D42D620054958F8375E86BB7(L_0, L_2, L_4, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.GUI::Label(UnityEngine.Rect,System.String,UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUI_Label_m283D6B1DD970038379FBB974BC5A45F87CA727B6 (Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___position0, String_t* ___text1, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUI_Label_m283D6B1DD970038379FBB974BC5A45F87CA727B6_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_0 = ___position0;
String_t* L_1 = ___text1;
IL2CPP_RUNTIME_CLASS_INIT(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_il2cpp_TypeInfo_var);
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_2 = GUIContent_Temp_m29B9E688E5EA09D12FDFAC6096B8762F7E84688D(L_1, /*hidden argument*/NULL);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_3 = ___style2;
IL2CPP_RUNTIME_CLASS_INIT(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var);
GUI_Label_mB1E6C064D67D94E1D42D620054958F8375E86BB7(L_0, L_2, L_3, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.GUI::Label(UnityEngine.Rect,UnityEngine.GUIContent,UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUI_Label_mB1E6C064D67D94E1D42D620054958F8375E86BB7 (Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___position0, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content1, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUI_Label_mB1E6C064D67D94E1D42D620054958F8375E86BB7_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
GUIUtility_CheckOnGUI_mBFC764B475683BC50E40BD249248CE43DA754873(/*hidden argument*/NULL);
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_0 = ___position0;
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_1 = ___content1;
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_2 = ___style2;
IL2CPP_RUNTIME_CLASS_INIT(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var);
GUI_DoLabel_m53C45AB327E894B82985776D108C7838AE868D89(L_0, L_1, L_2, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.GUI::Box(UnityEngine.Rect,UnityEngine.GUIContent,UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUI_Box_m22F4F78283B657F7589E24BA1EE5B609AE61E510 (Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___position0, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content1, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUI_Box_m22F4F78283B657F7589E24BA1EE5B609AE61E510_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
bool V_1 = false;
{
GUIUtility_CheckOnGUI_mBFC764B475683BC50E40BD249248CE43DA754873(/*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var);
int32_t L_0 = ((GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_StaticFields*)il2cpp_codegen_static_fields_for(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var))->get_s_BoxHash_1();
int32_t L_1 = GUIUtility_GetControlID_m0733AD370EC1956979B417A74E0ACA074E0DBA39(L_0, 2, /*hidden argument*/NULL);
V_0 = L_1;
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_2 = Event_get_current_m072CEE599D11B8A9A916697E57C0F561188CDB2B(/*hidden argument*/NULL);
NullCheck(L_2);
int32_t L_3 = Event_get_type_mAABE4A35E5658E0079A1518D318AF2592F51D6FA(L_2, /*hidden argument*/NULL);
V_1 = (bool)((((int32_t)L_3) == ((int32_t)7))? 1 : 0);
bool L_4 = V_1;
if (!L_4)
{
goto IL_0042;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_5 = ___style2;
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_6 = ___position0;
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_7 = ___content1;
int32_t L_8 = V_0;
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_9 = Event_get_current_m072CEE599D11B8A9A916697E57C0F561188CDB2B(/*hidden argument*/NULL);
NullCheck(L_9);
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_10 = Event_get_mousePosition_m92AD98489A626864E9B179273270802EB1D2C085(L_9, /*hidden argument*/NULL);
bool L_11 = Rect_Contains_mAD3D41C88795960F177088F847509C9DDA23B682((Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)(&___position0), L_10, /*hidden argument*/NULL);
NullCheck(L_5);
GUIStyle_Draw_m5638E51BD61AC461DAF1022102D2A0D583F592ED(L_5, L_6, L_7, L_8, (bool)0, L_11, /*hidden argument*/NULL);
}
IL_0042:
{
return;
}
}
// System.Boolean UnityEngine.GUI::Button(UnityEngine.Rect,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUI_Button_m0F0D437C533454A4BF0096E0DC55EEB66366E08D (Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___position0, String_t* ___text1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUI_Button_m0F0D437C533454A4BF0096E0DC55EEB66366E08D_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_0 = ___position0;
String_t* L_1 = ___text1;
IL2CPP_RUNTIME_CLASS_INIT(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_il2cpp_TypeInfo_var);
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_2 = GUIContent_Temp_m29B9E688E5EA09D12FDFAC6096B8762F7E84688D(L_1, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var);
GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * L_3 = ((GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_StaticFields*)il2cpp_codegen_static_fields_for(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var))->get_s_Skin_10();
NullCheck(L_3);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_4 = GUISkin_get_button_m015FA6A0418D94F03B5F12131DED65CCFDCA8F7A(L_3, /*hidden argument*/NULL);
bool L_5 = GUI_Button_m9315927732E13236FFCE020D2444CF08C26927F5(L_0, L_2, L_4, /*hidden argument*/NULL);
V_0 = L_5;
goto IL_001a;
}
IL_001a:
{
bool L_6 = V_0;
return L_6;
}
}
// System.Boolean UnityEngine.GUI::Button(UnityEngine.Rect,System.String,UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUI_Button_mC39C9F8426A10930825737A6D63B7C8DDF24748B (Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___position0, String_t* ___text1, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUI_Button_mC39C9F8426A10930825737A6D63B7C8DDF24748B_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_0 = ___position0;
String_t* L_1 = ___text1;
IL2CPP_RUNTIME_CLASS_INIT(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_il2cpp_TypeInfo_var);
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_2 = GUIContent_Temp_m29B9E688E5EA09D12FDFAC6096B8762F7E84688D(L_1, /*hidden argument*/NULL);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_3 = ___style2;
IL2CPP_RUNTIME_CLASS_INIT(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var);
bool L_4 = GUI_Button_m9315927732E13236FFCE020D2444CF08C26927F5(L_0, L_2, L_3, /*hidden argument*/NULL);
V_0 = L_4;
goto IL_0011;
}
IL_0011:
{
bool L_5 = V_0;
return L_5;
}
}
// System.Boolean UnityEngine.GUI::Button(UnityEngine.Rect,UnityEngine.GUIContent,UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUI_Button_m9315927732E13236FFCE020D2444CF08C26927F5 (Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___position0, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content1, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUI_Button_m9315927732E13236FFCE020D2444CF08C26927F5_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
bool V_1 = false;
{
IL2CPP_RUNTIME_CLASS_INIT(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var);
int32_t L_0 = ((GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_StaticFields*)il2cpp_codegen_static_fields_for(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var))->get_s_ButonHash_2();
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_1 = ___position0;
int32_t L_2 = GUIUtility_GetControlID_mBD1C39E03666F072AFB3022603E2FD37D87EB13F(L_0, 2, L_1, /*hidden argument*/NULL);
V_0 = L_2;
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_3 = ___position0;
int32_t L_4 = V_0;
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_5 = ___content1;
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_6 = ___style2;
bool L_7 = GUI_Button_m28E3F256D52839EBB502B3A6C5DA2E556FF45BC1(L_3, L_4, L_5, L_6, /*hidden argument*/NULL);
V_1 = L_7;
goto IL_001a;
}
IL_001a:
{
bool L_8 = V_1;
return L_8;
}
}
// System.Boolean UnityEngine.GUI::Button(UnityEngine.Rect,System.Int32,UnityEngine.GUIContent,UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUI_Button_m28E3F256D52839EBB502B3A6C5DA2E556FF45BC1 (Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___position0, int32_t ___id1, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content2, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUI_Button_m28E3F256D52839EBB502B3A6C5DA2E556FF45BC1_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
GUIUtility_CheckOnGUI_mBFC764B475683BC50E40BD249248CE43DA754873(/*hidden argument*/NULL);
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_0 = ___position0;
int32_t L_1 = ___id1;
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_2 = ___content2;
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_3 = ___style3;
IL2CPP_RUNTIME_CLASS_INIT(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var);
bool L_4 = GUI_DoButton_m3DA80A30ABFA7F00B48683498AEB28ACAAA404ED(L_0, L_1, L_2, L_3, /*hidden argument*/NULL);
V_0 = L_4;
goto IL_0013;
}
IL_0013:
{
bool L_5 = V_0;
return L_5;
}
}
// System.Boolean UnityEngine.GUI::DoControl(UnityEngine.Rect,System.Int32,System.Boolean,System.Boolean,UnityEngine.GUIContent,UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUI_DoControl_m41685E315AD94F9C8E843E87C325BDA537EEBD4B (Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___position0, int32_t ___id1, bool ___on2, bool ___hover3, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content4, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style5, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUI_DoControl_m41685E315AD94F9C8E843E87C325BDA537EEBD4B_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * V_0 = NULL;
int32_t V_1 = 0;
bool V_2 = false;
bool V_3 = false;
bool V_4 = false;
bool V_5 = false;
bool V_6 = false;
bool V_7 = false;
bool V_8 = false;
int32_t G_B11_0 = 0;
int32_t G_B17_0 = 0;
{
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_0 = Event_get_current_m072CEE599D11B8A9A916697E57C0F561188CDB2B(/*hidden argument*/NULL);
V_0 = L_0;
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_1 = V_0;
NullCheck(L_1);
int32_t L_2 = Event_get_type_mAABE4A35E5658E0079A1518D318AF2592F51D6FA(L_1, /*hidden argument*/NULL);
V_1 = L_2;
int32_t L_3 = V_1;
switch (L_3)
{
case 0:
{
goto IL_004c;
}
case 1:
{
goto IL_00dc;
}
case 2:
{
goto IL_012b;
}
case 3:
{
goto IL_0116;
}
case 4:
{
goto IL_006c;
}
case 5:
{
goto IL_012b;
}
case 6:
{
goto IL_012b;
}
case 7:
{
goto IL_0039;
}
}
}
{
goto IL_012b;
}
IL_0039:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_4 = ___style5;
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_5 = ___position0;
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_6 = ___content4;
int32_t L_7 = ___id1;
bool L_8 = ___on2;
bool L_9 = ___hover3;
NullCheck(L_4);
GUIStyle_Draw_m5638E51BD61AC461DAF1022102D2A0D583F592ED(L_4, L_5, L_6, L_7, L_8, L_9, /*hidden argument*/NULL);
goto IL_012b;
}
IL_004c:
{
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_10 = ___position0;
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_11 = V_0;
bool L_12 = GUIUtility_HitTest_mA053E9DA544552A06B911BB3D28F5B923C582731(L_10, L_11, /*hidden argument*/NULL);
V_3 = L_12;
bool L_13 = V_3;
if (!L_13)
{
goto IL_0067;
}
}
{
int32_t L_14 = ___id1;
IL2CPP_RUNTIME_CLASS_INIT(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var);
GUI_GrabMouseControl_mEE35B3F6529614CC25241C27B03D8595C61E533F(L_14, /*hidden argument*/NULL);
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_15 = V_0;
NullCheck(L_15);
Event_Use_m2328ACD6C711742273C1321F5F79C6D3CEB08AC5(L_15, /*hidden argument*/NULL);
}
IL_0067:
{
goto IL_012b;
}
IL_006c:
{
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_16 = V_0;
NullCheck(L_16);
bool L_17 = Event_get_alt_m7FDEB719480A40311D9EBCEC65395D39C8261BD0(L_16, /*hidden argument*/NULL);
if (L_17)
{
goto IL_008c;
}
}
{
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_18 = V_0;
NullCheck(L_18);
bool L_19 = Event_get_shift_m74FCE61864B9A7AD13623FA2E8F87FC4A9DBD7A9(L_18, /*hidden argument*/NULL);
if (L_19)
{
goto IL_008c;
}
}
{
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_20 = V_0;
NullCheck(L_20);
bool L_21 = Event_get_command_m2F8D33B961B59339E4ED06CC6DA5B83843E28972(L_20, /*hidden argument*/NULL);
if (L_21)
{
goto IL_008c;
}
}
{
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_22 = V_0;
NullCheck(L_22);
bool L_23 = Event_get_control_m641E59B429A24A0F8FBDF460567584FEAFE7DC96(L_22, /*hidden argument*/NULL);
G_B11_0 = ((int32_t)(L_23));
goto IL_008d;
}
IL_008c:
{
G_B11_0 = 1;
}
IL_008d:
{
V_2 = (bool)G_B11_0;
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_24 = V_0;
NullCheck(L_24);
int32_t L_25 = Event_get_keyCode_m8B0AAD347861E322E91D2B7320A99E04D39575CF(L_24, /*hidden argument*/NULL);
if ((((int32_t)L_25) == ((int32_t)((int32_t)32))))
{
goto IL_00af;
}
}
{
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_26 = V_0;
NullCheck(L_26);
int32_t L_27 = Event_get_keyCode_m8B0AAD347861E322E91D2B7320A99E04D39575CF(L_26, /*hidden argument*/NULL);
if ((((int32_t)L_27) == ((int32_t)((int32_t)13))))
{
goto IL_00af;
}
}
{
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_28 = V_0;
NullCheck(L_28);
int32_t L_29 = Event_get_keyCode_m8B0AAD347861E322E91D2B7320A99E04D39575CF(L_28, /*hidden argument*/NULL);
if ((!(((uint32_t)L_29) == ((uint32_t)((int32_t)271)))))
{
goto IL_00bc;
}
}
IL_00af:
{
bool L_30 = V_2;
if (L_30)
{
goto IL_00bc;
}
}
{
int32_t L_31 = GUIUtility_get_keyboardControl_mB580042A41CB6E9D3AB2E2CF0CEC00F64B2FC55F(/*hidden argument*/NULL);
int32_t L_32 = ___id1;
G_B17_0 = ((((int32_t)L_31) == ((int32_t)L_32))? 1 : 0);
goto IL_00bd;
}
IL_00bc:
{
G_B17_0 = 0;
}
IL_00bd:
{
V_4 = (bool)G_B17_0;
bool L_33 = V_4;
if (!L_33)
{
goto IL_00da;
}
}
{
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_34 = V_0;
NullCheck(L_34);
Event_Use_m2328ACD6C711742273C1321F5F79C6D3CEB08AC5(L_34, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var);
GUI_set_changed_m8BDF5085BBFDF8E61C12926C8E51C67B22B629AE((bool)1, /*hidden argument*/NULL);
bool L_35 = ___on2;
V_5 = (bool)((((int32_t)L_35) == ((int32_t)0))? 1 : 0);
goto IL_0130;
}
IL_00da:
{
goto IL_012b;
}
IL_00dc:
{
int32_t L_36 = ___id1;
IL2CPP_RUNTIME_CLASS_INIT(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var);
bool L_37 = GUI_HasMouseControl_m66CD5558529BEFFD84D4CAB8B1BC6349F12DF4B1(L_36, /*hidden argument*/NULL);
V_6 = L_37;
bool L_38 = V_6;
if (!L_38)
{
goto IL_0114;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var);
GUI_ReleaseMouseControl_m4F0C7D33663DEC8BC1D8C04C2417899C8AB4462B(/*hidden argument*/NULL);
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_39 = V_0;
NullCheck(L_39);
Event_Use_m2328ACD6C711742273C1321F5F79C6D3CEB08AC5(L_39, /*hidden argument*/NULL);
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_40 = ___position0;
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_41 = V_0;
bool L_42 = GUIUtility_HitTest_mA053E9DA544552A06B911BB3D28F5B923C582731(L_40, L_41, /*hidden argument*/NULL);
V_7 = L_42;
bool L_43 = V_7;
if (!L_43)
{
goto IL_0113;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var);
GUI_set_changed_m8BDF5085BBFDF8E61C12926C8E51C67B22B629AE((bool)1, /*hidden argument*/NULL);
bool L_44 = ___on2;
V_5 = (bool)((((int32_t)L_44) == ((int32_t)0))? 1 : 0);
goto IL_0130;
}
IL_0113:
{
}
IL_0114:
{
goto IL_012b;
}
IL_0116:
{
int32_t L_45 = ___id1;
IL2CPP_RUNTIME_CLASS_INIT(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var);
bool L_46 = GUI_HasMouseControl_m66CD5558529BEFFD84D4CAB8B1BC6349F12DF4B1(L_45, /*hidden argument*/NULL);
V_8 = L_46;
bool L_47 = V_8;
if (!L_47)
{
goto IL_0129;
}
}
{
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_48 = V_0;
NullCheck(L_48);
Event_Use_m2328ACD6C711742273C1321F5F79C6D3CEB08AC5(L_48, /*hidden argument*/NULL);
}
IL_0129:
{
goto IL_012b;
}
IL_012b:
{
bool L_49 = ___on2;
V_5 = L_49;
goto IL_0130;
}
IL_0130:
{
bool L_50 = V_5;
return L_50;
}
}
// System.Void UnityEngine.GUI::DoLabel(UnityEngine.Rect,UnityEngine.GUIContent,UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUI_DoLabel_m53C45AB327E894B82985776D108C7838AE868D89 (Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___position0, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content1, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUI_DoLabel_m53C45AB327E894B82985776D108C7838AE868D89_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * V_0 = NULL;
bool V_1 = false;
bool V_2 = false;
Rect_t35B976DE901B5423C11705E156938EA27AB402CE V_3;
memset((&V_3), 0, sizeof(V_3));
int32_t G_B6_0 = 0;
{
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_0 = Event_get_current_m072CEE599D11B8A9A916697E57C0F561188CDB2B(/*hidden argument*/NULL);
V_0 = L_0;
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_1 = V_0;
NullCheck(L_1);
int32_t L_2 = Event_get_type_mAABE4A35E5658E0079A1518D318AF2592F51D6FA(L_1, /*hidden argument*/NULL);
V_1 = (bool)((((int32_t)((((int32_t)L_2) == ((int32_t)7))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_3 = V_1;
if (!L_3)
{
goto IL_0019;
}
}
{
goto IL_0069;
}
IL_0019:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_4 = ___style2;
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_5 = ___position0;
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_6 = ___content1;
NullCheck(L_4);
GUIStyle_Draw_mA0E9663C3D09782E1CD73BFD68CD7E9B1D235441(L_4, L_5, L_6, (bool)0, (bool)0, (bool)0, (bool)0, /*hidden argument*/NULL);
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_7 = ___content1;
NullCheck(L_7);
String_t* L_8 = GUIContent_get_tooltip_m2B7A8A0F33D437E0723BBA6E1C10B2AD1D618535(L_7, /*hidden argument*/NULL);
bool L_9 = String_IsNullOrEmpty_m06A85A206AC2106D1982826C5665B9BD35324229(L_8, /*hidden argument*/NULL);
if (L_9)
{
goto IL_0057;
}
}
{
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_10 = V_0;
NullCheck(L_10);
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_11 = Event_get_mousePosition_m92AD98489A626864E9B179273270802EB1D2C085(L_10, /*hidden argument*/NULL);
bool L_12 = Rect_Contains_mAD3D41C88795960F177088F847509C9DDA23B682((Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)(&___position0), L_11, /*hidden argument*/NULL);
if (!L_12)
{
goto IL_0057;
}
}
{
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_13 = GUIClip_get_visibleRect_m08BF045699465EB363ADFC1FBF0BB14D9539193C(/*hidden argument*/NULL);
V_3 = L_13;
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_14 = V_0;
NullCheck(L_14);
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_15 = Event_get_mousePosition_m92AD98489A626864E9B179273270802EB1D2C085(L_14, /*hidden argument*/NULL);
bool L_16 = Rect_Contains_mAD3D41C88795960F177088F847509C9DDA23B682((Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)(&V_3), L_15, /*hidden argument*/NULL);
G_B6_0 = ((int32_t)(L_16));
goto IL_0058;
}
IL_0057:
{
G_B6_0 = 0;
}
IL_0058:
{
V_2 = (bool)G_B6_0;
bool L_17 = V_2;
if (!L_17)
{
goto IL_0069;
}
}
{
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_18 = ___content1;
NullCheck(L_18);
String_t* L_19 = GUIContent_get_tooltip_m2B7A8A0F33D437E0723BBA6E1C10B2AD1D618535(L_18, /*hidden argument*/NULL);
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_20 = ___position0;
IL2CPP_RUNTIME_CLASS_INIT(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle_SetMouseTooltip_m69607AB3EA166CC12F3851DD54963C03B4551312(L_19, L_20, /*hidden argument*/NULL);
}
IL_0069:
{
return;
}
}
// System.Boolean UnityEngine.GUI::DoButton(UnityEngine.Rect,System.Int32,UnityEngine.GUIContent,UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUI_DoButton_m3DA80A30ABFA7F00B48683498AEB28ACAAA404ED (Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___position0, int32_t ___id1, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content2, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUI_DoButton_m3DA80A30ABFA7F00B48683498AEB28ACAAA404ED_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_0 = ___position0;
int32_t L_1 = ___id1;
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_2 = Event_get_current_m072CEE599D11B8A9A916697E57C0F561188CDB2B(/*hidden argument*/NULL);
NullCheck(L_2);
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_3 = Event_get_mousePosition_m92AD98489A626864E9B179273270802EB1D2C085(L_2, /*hidden argument*/NULL);
bool L_4 = Rect_Contains_mAD3D41C88795960F177088F847509C9DDA23B682((Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)(&___position0), L_3, /*hidden argument*/NULL);
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_5 = ___content2;
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_6 = ___style3;
IL2CPP_RUNTIME_CLASS_INIT(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var);
bool L_7 = GUI_DoControl_m41685E315AD94F9C8E843E87C325BDA537EEBD4B(L_0, L_1, (bool)0, L_4, L_5, L_6, /*hidden argument*/NULL);
V_0 = L_7;
goto IL_001f;
}
IL_001f:
{
bool L_8 = V_0;
return L_8;
}
}
// UnityEngineInternal.GenericStack UnityEngine.GUI::get_scrollViewStates()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GenericStack_tC59D21E8DBC50F3C608479C942200AC44CA2D5BC * GUI_get_scrollViewStates_m2FAC333F84B90E4F1E1ED5FC8651DC8C4C30B7AF (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUI_get_scrollViewStates_m2FAC333F84B90E4F1E1ED5FC8651DC8C4C30B7AF_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var);
GenericStack_tC59D21E8DBC50F3C608479C942200AC44CA2D5BC * L_0 = ((GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_StaticFields*)il2cpp_codegen_static_fields_for(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var))->get_U3CscrollViewStatesU3Ek__BackingField_11();
return L_0;
}
}
// UnityEngine.Rect UnityEngine.GUI::Window(System.Int32,UnityEngine.Rect,UnityEngine.GUI_WindowFunction,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Rect_t35B976DE901B5423C11705E156938EA27AB402CE GUI_Window_mEB4F2621947A8A1140E495493A5B35DCF92E31C0 (int32_t ___id0, Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___clientRect1, WindowFunction_t9AF05117863D95AA9F85D497A3B9B53216708100 * ___func2, String_t* ___text3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUI_Window_mEB4F2621947A8A1140E495493A5B35DCF92E31C0_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Rect_t35B976DE901B5423C11705E156938EA27AB402CE V_0;
memset((&V_0), 0, sizeof(V_0));
{
GUIUtility_CheckOnGUI_mBFC764B475683BC50E40BD249248CE43DA754873(/*hidden argument*/NULL);
int32_t L_0 = ___id0;
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_1 = ___clientRect1;
WindowFunction_t9AF05117863D95AA9F85D497A3B9B53216708100 * L_2 = ___func2;
String_t* L_3 = ___text3;
IL2CPP_RUNTIME_CLASS_INIT(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_il2cpp_TypeInfo_var);
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_4 = GUIContent_Temp_m29B9E688E5EA09D12FDFAC6096B8762F7E84688D(L_3, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var);
GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * L_5 = GUI_get_skin_mF6804BE33CFD74FF0665C1185AC7B5C1687AE866(/*hidden argument*/NULL);
NullCheck(L_5);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_6 = GUISkin_get_window_mD0E9B84DBBDF7CA3FB566849E4507B5E4C6490B9(L_5, /*hidden argument*/NULL);
GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * L_7 = GUI_get_skin_mF6804BE33CFD74FF0665C1185AC7B5C1687AE866(/*hidden argument*/NULL);
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_8 = GUI_DoWindow_m1D9A50ADA16097D5DAA5D6327B61BE2B62CF5A77(L_0, L_1, L_2, L_4, L_6, L_7, (bool)1, /*hidden argument*/NULL);
V_0 = L_8;
goto IL_0028;
}
IL_0028:
{
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_9 = V_0;
return L_9;
}
}
// UnityEngine.Rect UnityEngine.GUI::DoWindow(System.Int32,UnityEngine.Rect,UnityEngine.GUI_WindowFunction,UnityEngine.GUIContent,UnityEngine.GUIStyle,UnityEngine.GUISkin,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Rect_t35B976DE901B5423C11705E156938EA27AB402CE GUI_DoWindow_m1D9A50ADA16097D5DAA5D6327B61BE2B62CF5A77 (int32_t ___id0, Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___clientRect1, WindowFunction_t9AF05117863D95AA9F85D497A3B9B53216708100 * ___func2, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___title3, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style4, GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * ___skin5, bool ___forceRectOnLayout6, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUI_DoWindow_m1D9A50ADA16097D5DAA5D6327B61BE2B62CF5A77_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Rect_t35B976DE901B5423C11705E156938EA27AB402CE V_0;
memset((&V_0), 0, sizeof(V_0));
{
int32_t L_0 = ___id0;
int32_t L_1 = ((GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_StaticFields*)il2cpp_codegen_static_fields_for(GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_il2cpp_TypeInfo_var))->get_s_OriginalID_1();
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_2 = ___clientRect1;
WindowFunction_t9AF05117863D95AA9F85D497A3B9B53216708100 * L_3 = ___func2;
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_4 = ___title3;
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_5 = ___style4;
GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * L_6 = ___skin5;
bool L_7 = ___forceRectOnLayout6;
IL2CPP_RUNTIME_CLASS_INIT(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var);
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_8 = GUI_Internal_DoWindow_m0491913E9E8699A977CBB0C61997B664AA16D353(L_0, L_1, L_2, L_3, L_4, L_5, L_6, L_7, /*hidden argument*/NULL);
V_0 = L_8;
goto IL_0018;
}
IL_0018:
{
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_9 = V_0;
return L_9;
}
}
// System.Void UnityEngine.GUI::CallWindowDelegate(UnityEngine.GUI_WindowFunction,System.Int32,System.Int32,UnityEngine.GUISkin,System.Int32,System.Single,System.Single,UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUI_CallWindowDelegate_m49D5A2E2DAEF525772FAAAA9A840244137BB9175 (WindowFunction_t9AF05117863D95AA9F85D497A3B9B53216708100 * ___func0, int32_t ___id1, int32_t ___instanceID2, GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * ____skin3, int32_t ___forceRect4, float ___width5, float ___height6, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style7, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUI_CallWindowDelegate_m49D5A2E2DAEF525772FAAAA9A840244137BB9175_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * V_0 = NULL;
bool V_1 = false;
bool V_2 = false;
GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* V_3 = NULL;
bool V_4 = false;
{
int32_t L_0 = ___id1;
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
GUILayoutUtility_SelectIDList_m230ED9206897C92C5B090B3BBFC9B408603E56FD(L_0, (bool)1, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var);
GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * L_1 = GUI_get_skin_mF6804BE33CFD74FF0665C1185AC7B5C1687AE866(/*hidden argument*/NULL);
V_0 = L_1;
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_2 = Event_get_current_m072CEE599D11B8A9A916697E57C0F561188CDB2B(/*hidden argument*/NULL);
NullCheck(L_2);
int32_t L_3 = Event_get_type_mAABE4A35E5658E0079A1518D318AF2592F51D6FA(L_2, /*hidden argument*/NULL);
V_1 = (bool)((((int32_t)L_3) == ((int32_t)8))? 1 : 0);
bool L_4 = V_1;
if (!L_4)
{
goto IL_0062;
}
}
{
int32_t L_5 = ___forceRect4;
V_2 = (bool)((!(((uint32_t)L_5) <= ((uint32_t)0)))? 1 : 0);
bool L_6 = V_2;
if (!L_6)
{
goto IL_0053;
}
}
{
GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* L_7 = (GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B*)(GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B*)SZArrayNew(GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B_il2cpp_TypeInfo_var, (uint32_t)2);
GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* L_8 = L_7;
float L_9 = ___width5;
GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 * L_10 = GUILayout_Width_mDA8F26D92E788474E09AECA1541E8C920C72DA10(L_9, /*hidden argument*/NULL);
NullCheck(L_8);
ArrayElementTypeCheck (L_8, L_10);
(L_8)->SetAt(static_cast<il2cpp_array_size_t>(0), (GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 *)L_10);
GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* L_11 = L_8;
float L_12 = ___height6;
GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 * L_13 = GUILayout_Height_mA5A24D5490022AC6449BBAED9C5A1647184B4026(L_12, /*hidden argument*/NULL);
NullCheck(L_11);
ArrayElementTypeCheck (L_11, L_13);
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(1), (GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 *)L_13);
V_3 = L_11;
int32_t L_14 = ___id1;
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_15 = ___style7;
GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* L_16 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
GUILayoutUtility_BeginWindow_mB3475D9BE89CF26AB0E6F0D46B1930F1874EB132(L_14, L_15, L_16, /*hidden argument*/NULL);
goto IL_005f;
}
IL_0053:
{
int32_t L_17 = ___id1;
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_18 = ___style7;
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
GUILayoutUtility_BeginWindow_mB3475D9BE89CF26AB0E6F0D46B1930F1874EB132(L_17, L_18, (GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B*)(GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B*)NULL, /*hidden argument*/NULL);
}
IL_005f:
{
goto IL_0071;
}
IL_0062:
{
int32_t L_19 = ___id1;
IL2CPP_RUNTIME_CLASS_INIT(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_20 = GUIStyle_get_none_m2B48FA4E2FA2B9BB7A458DF25B1391F9C7BB8B7B(/*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
GUILayoutUtility_BeginWindow_mB3475D9BE89CF26AB0E6F0D46B1930F1874EB132(L_19, L_20, (GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B*)(GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B*)NULL, /*hidden argument*/NULL);
}
IL_0071:
{
GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * L_21 = ____skin3;
IL2CPP_RUNTIME_CLASS_INIT(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var);
GUI_set_skin_mFC9EC2E88A46A7F42664C6C41D8CCD9B9BA4DBA0(L_21, /*hidden argument*/NULL);
WindowFunction_t9AF05117863D95AA9F85D497A3B9B53216708100 * L_22 = ___func0;
int32_t L_23 = ___id1;
NullCheck(L_22);
WindowFunction_Invoke_m08350FBFB60BC55246725A4840931AED2CAFF9AD(L_22, L_23, /*hidden argument*/NULL);
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_24 = Event_get_current_m072CEE599D11B8A9A916697E57C0F561188CDB2B(/*hidden argument*/NULL);
NullCheck(L_24);
int32_t L_25 = Event_get_type_mAABE4A35E5658E0079A1518D318AF2592F51D6FA(L_24, /*hidden argument*/NULL);
V_4 = (bool)((((int32_t)L_25) == ((int32_t)8))? 1 : 0);
bool L_26 = V_4;
if (!L_26)
{
goto IL_009b;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
GUILayoutUtility_Layout_mB01F00635FD538214B47A545C53E4F8C682491B5(/*hidden argument*/NULL);
}
IL_009b:
{
GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * L_27 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var);
GUI_set_skin_mFC9EC2E88A46A7F42664C6C41D8CCD9B9BA4DBA0(L_27, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.GUI::Internal_DoWindow_Injected(System.Int32,System.Int32,UnityEngine.Rect&,UnityEngine.GUI_WindowFunction,UnityEngine.GUIContent,UnityEngine.GUIStyle,System.Object,System.Boolean,UnityEngine.Rect&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUI_Internal_DoWindow_Injected_mEA9D79FEB9DE39D98F052354778804D873B5CED9 (int32_t ___id0, int32_t ___instanceID1, Rect_t35B976DE901B5423C11705E156938EA27AB402CE * ___clientRect2, WindowFunction_t9AF05117863D95AA9F85D497A3B9B53216708100 * ___func3, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___title4, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style5, RuntimeObject * ___skin6, bool ___forceRectOnLayout7, Rect_t35B976DE901B5423C11705E156938EA27AB402CE * ___ret8, const RuntimeMethod* method)
{
typedef void (*GUI_Internal_DoWindow_Injected_mEA9D79FEB9DE39D98F052354778804D873B5CED9_ftn) (int32_t, int32_t, Rect_t35B976DE901B5423C11705E156938EA27AB402CE *, WindowFunction_t9AF05117863D95AA9F85D497A3B9B53216708100 *, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 *, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *, RuntimeObject *, bool, Rect_t35B976DE901B5423C11705E156938EA27AB402CE *);
static GUI_Internal_DoWindow_Injected_mEA9D79FEB9DE39D98F052354778804D873B5CED9_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUI_Internal_DoWindow_Injected_mEA9D79FEB9DE39D98F052354778804D873B5CED9_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUI::Internal_DoWindow_Injected(System.Int32,System.Int32,UnityEngine.Rect&,UnityEngine.GUI/WindowFunction,UnityEngine.GUIContent,UnityEngine.GUIStyle,System.Object,System.Boolean,UnityEngine.Rect&)");
_il2cpp_icall_func(___id0, ___instanceID1, ___clientRect2, ___func3, ___title4, ___style5, ___skin6, ___forceRectOnLayout7, ___ret8);
}
#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
IL2CPP_EXTERN_C void DelegatePInvokeWrapper_WindowFunction_t9AF05117863D95AA9F85D497A3B9B53216708100 (WindowFunction_t9AF05117863D95AA9F85D497A3B9B53216708100 * __this, int32_t ___id0, const RuntimeMethod* method)
{
typedef void (DEFAULT_CALL *PInvokeFunc)(int32_t);
PInvokeFunc il2cppPInvokeFunc = reinterpret_cast<PInvokeFunc>(il2cpp_codegen_get_method_pointer(((RuntimeDelegate*)__this)->method));
// Native function invocation
il2cppPInvokeFunc(___id0);
}
// System.Void UnityEngine.GUI_WindowFunction::.ctor(System.Object,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WindowFunction__ctor_m216C357C45DF9A8ABE74056B8BDB1B7F94EE2D81 (WindowFunction_t9AF05117863D95AA9F85D497A3B9B53216708100 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
{
__this->set_method_ptr_0(il2cpp_codegen_get_method_pointer((RuntimeMethod*)___method1));
__this->set_method_3(___method1);
__this->set_m_target_2(___object0);
}
// System.Void UnityEngine.GUI_WindowFunction::Invoke(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WindowFunction_Invoke_m08350FBFB60BC55246725A4840931AED2CAFF9AD (WindowFunction_t9AF05117863D95AA9F85D497A3B9B53216708100 * __this, int32_t ___id0, const RuntimeMethod* method)
{
DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86* delegateArrayToInvoke = __this->get_delegates_11();
Delegate_t** delegatesToInvoke;
il2cpp_array_size_t length;
if (delegateArrayToInvoke != NULL)
{
length = delegateArrayToInvoke->max_length;
delegatesToInvoke = reinterpret_cast<Delegate_t**>(delegateArrayToInvoke->GetAddressAtUnchecked(0));
}
else
{
length = 1;
delegatesToInvoke = reinterpret_cast<Delegate_t**>(&__this);
}
for (il2cpp_array_size_t i = 0; i < length; i++)
{
Delegate_t* currentDelegate = delegatesToInvoke[i];
Il2CppMethodPointer targetMethodPointer = currentDelegate->get_method_ptr_0();
RuntimeObject* targetThis = currentDelegate->get_m_target_2();
RuntimeMethod* targetMethod = (RuntimeMethod*)(currentDelegate->get_method_3());
if (!il2cpp_codegen_method_is_virtual(targetMethod))
{
il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod);
}
bool ___methodIsStatic = MethodIsStatic(targetMethod);
int ___parameterCount = il2cpp_codegen_method_parameter_count(targetMethod);
if (___methodIsStatic)
{
if (___parameterCount == 1)
{
// open
typedef void (*FunctionPointerType) (int32_t, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(___id0, targetMethod);
}
else
{
// closed
typedef void (*FunctionPointerType) (void*, int32_t, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(targetThis, ___id0, targetMethod);
}
}
else
{
// closed
if (il2cpp_codegen_method_is_virtual(targetMethod) && !il2cpp_codegen_object_is_of_sealed_type(targetThis) && il2cpp_codegen_delegate_has_invoker((Il2CppDelegate*)__this))
{
if (targetThis == NULL)
{
typedef void (*FunctionPointerType) (int32_t, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(___id0, targetMethod);
}
else if (il2cpp_codegen_method_is_generic_instance(targetMethod))
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
GenericInterfaceActionInvoker1< int32_t >::Invoke(targetMethod, targetThis, ___id0);
else
GenericVirtActionInvoker1< int32_t >::Invoke(targetMethod, targetThis, ___id0);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
InterfaceActionInvoker1< int32_t >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis, ___id0);
else
VirtActionInvoker1< int32_t >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis, ___id0);
}
}
else
{
if (targetThis == NULL && il2cpp_codegen_class_is_value_type(il2cpp_codegen_method_get_declaring_type(targetMethod)))
{
typedef void (*FunctionPointerType) (RuntimeObject*, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)((reinterpret_cast<RuntimeObject*>(&___id0) - 1), targetMethod);
}
else
{
typedef void (*FunctionPointerType) (void*, int32_t, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(targetThis, ___id0, targetMethod);
}
}
}
}
}
// System.IAsyncResult UnityEngine.GUI_WindowFunction::BeginInvoke(System.Int32,System.AsyncCallback,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* WindowFunction_BeginInvoke_m522A6C91248FC9E44284AAB8909F83E5DB2960A2 (WindowFunction_t9AF05117863D95AA9F85D497A3B9B53216708100 * __this, int32_t ___id0, AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4 * ___callback1, RuntimeObject * ___object2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WindowFunction_BeginInvoke_m522A6C91248FC9E44284AAB8909F83E5DB2960A2_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
void *__d_args[2] = {0};
__d_args[0] = Box(Int32_t585191389E07734F19F3156FF88FB3EF4800D102_il2cpp_TypeInfo_var, &___id0);
return (RuntimeObject*)il2cpp_codegen_delegate_begin_invoke((RuntimeDelegate*)__this, __d_args, (RuntimeDelegate*)___callback1, (RuntimeObject*)___object2);
}
// System.Void UnityEngine.GUI_WindowFunction::EndInvoke(System.IAsyncResult)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WindowFunction_EndInvoke_m66738B73219CEB120C356497204151BCB432B2A2 (WindowFunction_t9AF05117863D95AA9F85D497A3B9B53216708100 * __this, RuntimeObject* ___result0, const RuntimeMethod* method)
{
il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Rect UnityEngine.GUIClip::get_visibleRect()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Rect_t35B976DE901B5423C11705E156938EA27AB402CE GUIClip_get_visibleRect_m08BF045699465EB363ADFC1FBF0BB14D9539193C (const RuntimeMethod* method)
{
Rect_t35B976DE901B5423C11705E156938EA27AB402CE V_0;
memset((&V_0), 0, sizeof(V_0));
{
GUIClip_get_visibleRect_Injected_mD48D2E7127DB0356A30BA6FB22B6014D64B3B00F((Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)(&V_0), /*hidden argument*/NULL);
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_0 = V_0;
return L_0;
}
}
// System.Void UnityEngine.GUIClip::get_visibleRect_Injected(UnityEngine.Rect&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIClip_get_visibleRect_Injected_mD48D2E7127DB0356A30BA6FB22B6014D64B3B00F (Rect_t35B976DE901B5423C11705E156938EA27AB402CE * ___ret0, const RuntimeMethod* method)
{
typedef void (*GUIClip_get_visibleRect_Injected_mD48D2E7127DB0356A30BA6FB22B6014D64B3B00F_ftn) (Rect_t35B976DE901B5423C11705E156938EA27AB402CE *);
static GUIClip_get_visibleRect_Injected_mD48D2E7127DB0356A30BA6FB22B6014D64B3B00F_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIClip_get_visibleRect_Injected_mD48D2E7127DB0356A30BA6FB22B6014D64B3B00F_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIClip::get_visibleRect_Injected(UnityEngine.Rect&)");
_il2cpp_icall_func(___ret0);
}
#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
// Conversion methods for marshalling of: UnityEngine.GUIContent
IL2CPP_EXTERN_C void GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_marshal_pinvoke(const GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0& unmarshaled, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_marshaled_pinvoke& marshaled)
{
Exception_t* ___m_Image_1Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'm_Image' of type 'GUIContent': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(___m_Image_1Exception, NULL);
}
IL2CPP_EXTERN_C void GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_marshal_pinvoke_back(const GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_marshaled_pinvoke& marshaled, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0& unmarshaled)
{
Exception_t* ___m_Image_1Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'm_Image' of type 'GUIContent': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(___m_Image_1Exception, NULL);
}
// Conversion method for clean up from marshalling of: UnityEngine.GUIContent
IL2CPP_EXTERN_C void GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_marshal_pinvoke_cleanup(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: UnityEngine.GUIContent
IL2CPP_EXTERN_C void GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_marshal_com(const GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0& unmarshaled, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_marshaled_com& marshaled)
{
Exception_t* ___m_Image_1Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'm_Image' of type 'GUIContent': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(___m_Image_1Exception, NULL);
}
IL2CPP_EXTERN_C void GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_marshal_com_back(const GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_marshaled_com& marshaled, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0& unmarshaled)
{
Exception_t* ___m_Image_1Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'm_Image' of type 'GUIContent': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(___m_Image_1Exception, NULL);
}
// Conversion method for clean up from marshalling of: UnityEngine.GUIContent
IL2CPP_EXTERN_C void GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_marshal_com_cleanup(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_marshaled_com& marshaled)
{
}
// System.Void UnityEngine.GUIContent::set_text(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIContent_set_text_m866E0C5690119816D87D83124C81BDC0A0ED4316 (GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * __this, String_t* ___value0, const RuntimeMethod* method)
{
{
String_t* L_0 = ___value0;
__this->set_m_Text_0(L_0);
return;
}
}
// System.Void UnityEngine.GUIContent::set_image(UnityEngine.Texture)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIContent_set_image_m85ABAF5AE045BDD9C09EA75243094D16222DB38C (GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * __this, Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4 * ___value0, const RuntimeMethod* method)
{
{
Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4 * L_0 = ___value0;
__this->set_m_Image_1(L_0);
return;
}
}
// System.String UnityEngine.GUIContent::get_tooltip()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* GUIContent_get_tooltip_m2B7A8A0F33D437E0723BBA6E1C10B2AD1D618535 (GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * __this, const RuntimeMethod* method)
{
String_t* V_0 = NULL;
{
String_t* L_0 = __this->get_m_Tooltip_2();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
String_t* L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.GUIContent::set_tooltip(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIContent_set_tooltip_mDFC634B0DF68DB6A02F294106BC261EFC0FD0A67 (GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * __this, String_t* ___value0, const RuntimeMethod* method)
{
{
String_t* L_0 = ___value0;
__this->set_m_Tooltip_2(L_0);
return;
}
}
// System.Void UnityEngine.GUIContent::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIContent__ctor_m939CDEFF44061020E997A0F0640ADDF2740B0C38 (GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUIContent__ctor_m939CDEFF44061020E997A0F0640ADDF2740B0C38_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
String_t* L_0 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_5();
__this->set_m_Text_0(L_0);
String_t* L_1 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_5();
__this->set_m_Tooltip_2(L_1);
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.GUIContent::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIContent__ctor_m8EE36BB9048C2A279E7EAD258D63F2A1BDEA8A81 (GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * __this, String_t* ___text0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUIContent__ctor_m8EE36BB9048C2A279E7EAD258D63F2A1BDEA8A81_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
String_t* L_0 = ___text0;
String_t* L_1 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_5();
GUIContent__ctor_m2805872C5E7E66C3ABF83607DC02BEB1BEFA82DA(__this, L_0, (Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4 *)NULL, L_1, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.GUIContent::.ctor(System.String,UnityEngine.Texture,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIContent__ctor_m2805872C5E7E66C3ABF83607DC02BEB1BEFA82DA (GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * __this, String_t* ___text0, Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4 * ___image1, String_t* ___tooltip2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUIContent__ctor_m2805872C5E7E66C3ABF83607DC02BEB1BEFA82DA_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
String_t* L_0 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_5();
__this->set_m_Text_0(L_0);
String_t* L_1 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_5();
__this->set_m_Tooltip_2(L_1);
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
String_t* L_2 = ___text0;
GUIContent_set_text_m866E0C5690119816D87D83124C81BDC0A0ED4316(__this, L_2, /*hidden argument*/NULL);
Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4 * L_3 = ___image1;
GUIContent_set_image_m85ABAF5AE045BDD9C09EA75243094D16222DB38C(__this, L_3, /*hidden argument*/NULL);
String_t* L_4 = ___tooltip2;
GUIContent_set_tooltip_mDFC634B0DF68DB6A02F294106BC261EFC0FD0A67(__this, L_4, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.GUIContent::.ctor(UnityEngine.GUIContent)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIContent__ctor_m8C923B0C5DE305F6A22320F44BE37F81CA099316 (GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * __this, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___src0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUIContent__ctor_m8C923B0C5DE305F6A22320F44BE37F81CA099316_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
String_t* L_0 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_5();
__this->set_m_Text_0(L_0);
String_t* L_1 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_5();
__this->set_m_Tooltip_2(L_1);
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_2 = ___src0;
NullCheck(L_2);
String_t* L_3 = L_2->get_m_Text_0();
GUIContent_set_text_m866E0C5690119816D87D83124C81BDC0A0ED4316(__this, L_3, /*hidden argument*/NULL);
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_4 = ___src0;
NullCheck(L_4);
Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4 * L_5 = L_4->get_m_Image_1();
GUIContent_set_image_m85ABAF5AE045BDD9C09EA75243094D16222DB38C(__this, L_5, /*hidden argument*/NULL);
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_6 = ___src0;
NullCheck(L_6);
String_t* L_7 = L_6->get_m_Tooltip_2();
GUIContent_set_tooltip_mDFC634B0DF68DB6A02F294106BC261EFC0FD0A67(__this, L_7, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.GUIContent UnityEngine.GUIContent::Temp(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * GUIContent_Temp_m29B9E688E5EA09D12FDFAC6096B8762F7E84688D (String_t* ___t0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUIContent_Temp_m29B9E688E5EA09D12FDFAC6096B8762F7E84688D_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * V_0 = NULL;
{
IL2CPP_RUNTIME_CLASS_INIT(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_il2cpp_TypeInfo_var);
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_0 = ((GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_StaticFields*)il2cpp_codegen_static_fields_for(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_il2cpp_TypeInfo_var))->get_s_Text_3();
String_t* L_1 = ___t0;
NullCheck(L_0);
L_0->set_m_Text_0(L_1);
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_2 = ((GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_StaticFields*)il2cpp_codegen_static_fields_for(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_il2cpp_TypeInfo_var))->get_s_Text_3();
String_t* L_3 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_5();
NullCheck(L_2);
L_2->set_m_Tooltip_2(L_3);
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_4 = ((GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_StaticFields*)il2cpp_codegen_static_fields_for(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_il2cpp_TypeInfo_var))->get_s_Text_3();
V_0 = L_4;
goto IL_0023;
}
IL_0023:
{
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_5 = V_0;
return L_5;
}
}
// System.Void UnityEngine.GUIContent::ClearStaticCache()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIContent_ClearStaticCache_m567DA736612F9E6E66262CC630952AB2E22BC933 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUIContent_ClearStaticCache_m567DA736612F9E6E66262CC630952AB2E22BC933_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_il2cpp_TypeInfo_var);
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_0 = ((GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_StaticFields*)il2cpp_codegen_static_fields_for(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_il2cpp_TypeInfo_var))->get_s_Text_3();
NullCheck(L_0);
L_0->set_m_Text_0((String_t*)NULL);
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_1 = ((GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_StaticFields*)il2cpp_codegen_static_fields_for(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_il2cpp_TypeInfo_var))->get_s_Text_3();
String_t* L_2 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_5();
NullCheck(L_1);
L_1->set_m_Tooltip_2(L_2);
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_3 = ((GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_StaticFields*)il2cpp_codegen_static_fields_for(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_il2cpp_TypeInfo_var))->get_s_Image_4();
NullCheck(L_3);
L_3->set_m_Image_1((Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4 *)NULL);
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_4 = ((GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_StaticFields*)il2cpp_codegen_static_fields_for(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_il2cpp_TypeInfo_var))->get_s_Image_4();
String_t* L_5 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_5();
NullCheck(L_4);
L_4->set_m_Tooltip_2(L_5);
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_6 = ((GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_StaticFields*)il2cpp_codegen_static_fields_for(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_il2cpp_TypeInfo_var))->get_s_TextImage_5();
NullCheck(L_6);
L_6->set_m_Text_0((String_t*)NULL);
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_7 = ((GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_StaticFields*)il2cpp_codegen_static_fields_for(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_il2cpp_TypeInfo_var))->get_s_TextImage_5();
NullCheck(L_7);
L_7->set_m_Image_1((Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4 *)NULL);
return;
}
}
// System.Void UnityEngine.GUIContent::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIContent__cctor_m5AF68CD5FB2E47506F7FF1A6F46ADAD5C8BC927C (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUIContent__cctor_m5AF68CD5FB2E47506F7FF1A6F46ADAD5C8BC927C_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_0 = (GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 *)il2cpp_codegen_object_new(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_il2cpp_TypeInfo_var);
GUIContent__ctor_m939CDEFF44061020E997A0F0640ADDF2740B0C38(L_0, /*hidden argument*/NULL);
((GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_StaticFields*)il2cpp_codegen_static_fields_for(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_il2cpp_TypeInfo_var))->set_s_Text_3(L_0);
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_1 = (GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 *)il2cpp_codegen_object_new(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_il2cpp_TypeInfo_var);
GUIContent__ctor_m939CDEFF44061020E997A0F0640ADDF2740B0C38(L_1, /*hidden argument*/NULL);
((GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_StaticFields*)il2cpp_codegen_static_fields_for(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_il2cpp_TypeInfo_var))->set_s_Image_4(L_1);
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_2 = (GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 *)il2cpp_codegen_object_new(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_il2cpp_TypeInfo_var);
GUIContent__ctor_m939CDEFF44061020E997A0F0640ADDF2740B0C38(L_2, /*hidden argument*/NULL);
((GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_StaticFields*)il2cpp_codegen_static_fields_for(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_il2cpp_TypeInfo_var))->set_s_TextImage_5(L_2);
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_3 = (GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 *)il2cpp_codegen_object_new(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_il2cpp_TypeInfo_var);
GUIContent__ctor_m8EE36BB9048C2A279E7EAD258D63F2A1BDEA8A81(L_3, _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709, /*hidden argument*/NULL);
((GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_StaticFields*)il2cpp_codegen_static_fields_for(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_il2cpp_TypeInfo_var))->set_none_6(L_3);
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 UnityEngine.GUILayout::Label(System.String,UnityEngine.GUILayoutOption[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayout_Label_m0DD571F45BDDDCB45E9D195AB77F3D7050A2A030 (String_t* ___text0, GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* ___options1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUILayout_Label_m0DD571F45BDDDCB45E9D195AB77F3D7050A2A030_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
String_t* L_0 = ___text0;
IL2CPP_RUNTIME_CLASS_INIT(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_il2cpp_TypeInfo_var);
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_1 = GUIContent_Temp_m29B9E688E5EA09D12FDFAC6096B8762F7E84688D(L_0, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var);
GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * L_2 = GUI_get_skin_mF6804BE33CFD74FF0665C1185AC7B5C1687AE866(/*hidden argument*/NULL);
NullCheck(L_2);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_3 = GUISkin_get_label_mC5C9D4CD377D7F5BB970B01E665EE077565AFF72(L_2, /*hidden argument*/NULL);
GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* L_4 = ___options1;
GUILayout_DoLabel_mF89C7485ECE53A494E9E6E2156DA28FAE4C9366D(L_1, L_3, L_4, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.GUILayout::DoLabel(UnityEngine.GUIContent,UnityEngine.GUIStyle,UnityEngine.GUILayoutOption[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayout_DoLabel_mF89C7485ECE53A494E9E6E2156DA28FAE4C9366D (GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content0, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style1, GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* ___options2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUILayout_DoLabel_mF89C7485ECE53A494E9E6E2156DA28FAE4C9366D_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_0 = ___content0;
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_1 = ___style1;
GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* L_2 = ___options2;
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_3 = GUILayoutUtility_GetRect_m00D9C2F1117D9D9A55782A8C03CCBC0A88AF924D(L_0, L_1, L_2, /*hidden argument*/NULL);
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_4 = ___content0;
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_5 = ___style1;
IL2CPP_RUNTIME_CLASS_INIT(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var);
GUI_Label_mB1E6C064D67D94E1D42D620054958F8375E86BB7(L_3, L_4, L_5, /*hidden argument*/NULL);
return;
}
}
// System.Boolean UnityEngine.GUILayout::Button(System.String,UnityEngine.GUILayoutOption[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUILayout_Button_mACAF3D25298F91F12A312DB687F53258DB0B9918 (String_t* ___text0, GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* ___options1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUILayout_Button_mACAF3D25298F91F12A312DB687F53258DB0B9918_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
String_t* L_0 = ___text0;
IL2CPP_RUNTIME_CLASS_INIT(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_il2cpp_TypeInfo_var);
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_1 = GUIContent_Temp_m29B9E688E5EA09D12FDFAC6096B8762F7E84688D(L_0, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var);
GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * L_2 = GUI_get_skin_mF6804BE33CFD74FF0665C1185AC7B5C1687AE866(/*hidden argument*/NULL);
NullCheck(L_2);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_3 = GUISkin_get_button_m015FA6A0418D94F03B5F12131DED65CCFDCA8F7A(L_2, /*hidden argument*/NULL);
GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* L_4 = ___options1;
bool L_5 = GUILayout_DoButton_mA734A38FE188C30EB1F9E5D6DFF857B1E904988D(L_1, L_3, L_4, /*hidden argument*/NULL);
V_0 = L_5;
goto IL_001a;
}
IL_001a:
{
bool L_6 = V_0;
return L_6;
}
}
// System.Boolean UnityEngine.GUILayout::DoButton(UnityEngine.GUIContent,UnityEngine.GUIStyle,UnityEngine.GUILayoutOption[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUILayout_DoButton_mA734A38FE188C30EB1F9E5D6DFF857B1E904988D (GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content0, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style1, GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* ___options2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUILayout_DoButton_mA734A38FE188C30EB1F9E5D6DFF857B1E904988D_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_0 = ___content0;
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_1 = ___style1;
GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* L_2 = ___options2;
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_3 = GUILayoutUtility_GetRect_m00D9C2F1117D9D9A55782A8C03CCBC0A88AF924D(L_0, L_1, L_2, /*hidden argument*/NULL);
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_4 = ___content0;
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_5 = ___style1;
IL2CPP_RUNTIME_CLASS_INIT(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var);
bool L_6 = GUI_Button_m9315927732E13236FFCE020D2444CF08C26927F5(L_3, L_4, L_5, /*hidden argument*/NULL);
V_0 = L_6;
goto IL_0013;
}
IL_0013:
{
bool L_7 = V_0;
return L_7;
}
}
// System.Void UnityEngine.GUILayout::BeginHorizontal(UnityEngine.GUILayoutOption[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayout_BeginHorizontal_m690713D70FD850E74B529E8929492AC80E673902 (GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* ___options0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUILayout_BeginHorizontal_m690713D70FD850E74B529E8929492AC80E673902_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_il2cpp_TypeInfo_var);
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_0 = ((GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_StaticFields*)il2cpp_codegen_static_fields_for(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_il2cpp_TypeInfo_var))->get_none_6();
IL2CPP_RUNTIME_CLASS_INIT(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_1 = GUIStyle_get_none_m2B48FA4E2FA2B9BB7A458DF25B1391F9C7BB8B7B(/*hidden argument*/NULL);
GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* L_2 = ___options0;
GUILayout_BeginHorizontal_m33ECFA24DD7DE3538C437C6269F6C1A36DF974CB(L_0, L_1, L_2, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.GUILayout::BeginHorizontal(UnityEngine.GUIContent,UnityEngine.GUIStyle,UnityEngine.GUILayoutOption[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayout_BeginHorizontal_m33ECFA24DD7DE3538C437C6269F6C1A36DF974CB (GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content0, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style1, GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* ___options2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUILayout_BeginHorizontal_m33ECFA24DD7DE3538C437C6269F6C1A36DF974CB_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * V_0 = NULL;
bool V_1 = false;
int32_t G_B3_0 = 0;
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = ___style1;
GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* L_1 = ___options2;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_2 = { reinterpret_cast<intptr_t> (GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_3 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6(L_2, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_4 = GUILayoutUtility_BeginLayoutGroup_mBB7F6DDEC9574A704D2034E26FAABF882C37CD9B(L_0, L_1, L_3, /*hidden argument*/NULL);
V_0 = L_4;
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_5 = V_0;
NullCheck(L_5);
L_5->set_isVertical_12((bool)0);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_6 = ___style1;
IL2CPP_RUNTIME_CLASS_INIT(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_7 = GUIStyle_get_none_m2B48FA4E2FA2B9BB7A458DF25B1391F9C7BB8B7B(/*hidden argument*/NULL);
if ((!(((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_6) == ((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_7))))
{
goto IL_002f;
}
}
{
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_8 = ___content0;
IL2CPP_RUNTIME_CLASS_INIT(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_il2cpp_TypeInfo_var);
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_9 = ((GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_StaticFields*)il2cpp_codegen_static_fields_for(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_il2cpp_TypeInfo_var))->get_none_6();
G_B3_0 = ((((int32_t)((((RuntimeObject*)(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 *)L_8) == ((RuntimeObject*)(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 *)L_9))? 1 : 0)) == ((int32_t)0))? 1 : 0);
goto IL_0030;
}
IL_002f:
{
G_B3_0 = 1;
}
IL_0030:
{
V_1 = (bool)G_B3_0;
bool L_10 = V_1;
if (!L_10)
{
goto IL_0042;
}
}
{
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_11 = V_0;
NullCheck(L_11);
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_12 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)L_11)->get_rect_4();
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_13 = ___content0;
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_14 = ___style1;
IL2CPP_RUNTIME_CLASS_INIT(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var);
GUI_Box_m22F4F78283B657F7589E24BA1EE5B609AE61E510(L_12, L_13, L_14, /*hidden argument*/NULL);
}
IL_0042:
{
return;
}
}
// System.Void UnityEngine.GUILayout::EndHorizontal()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayout_EndHorizontal_m1DE9883227F98E1DA9309F1AF1370F1158A658C6 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUILayout_EndHorizontal_m1DE9883227F98E1DA9309F1AF1370F1158A658C6_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
GUILayoutUtility_EndLayoutGroup_m15DAE05C04F1499BFB0711B741708C35CA0D4657(/*hidden argument*/NULL);
return;
}
}
// UnityEngine.GUILayoutOption UnityEngine.GUILayout::Width(System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 * GUILayout_Width_mDA8F26D92E788474E09AECA1541E8C920C72DA10 (float ___width0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUILayout_Width_mDA8F26D92E788474E09AECA1541E8C920C72DA10_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 * V_0 = NULL;
{
float L_0 = ___width0;
float L_1 = L_0;
RuntimeObject * L_2 = Box(Single_tDDDA9169C4E4E308AC6D7A824F9B28DC82204AE1_il2cpp_TypeInfo_var, &L_1);
GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 * L_3 = (GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 *)il2cpp_codegen_object_new(GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6_il2cpp_TypeInfo_var);
GUILayoutOption__ctor_m965FDA1345FD7146596EFA90F03D0C645FB3FD5D(L_3, 0, L_2, /*hidden argument*/NULL);
V_0 = L_3;
goto IL_0010;
}
IL_0010:
{
GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 * L_4 = V_0;
return L_4;
}
}
// UnityEngine.GUILayoutOption UnityEngine.GUILayout::Height(System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 * GUILayout_Height_mA5A24D5490022AC6449BBAED9C5A1647184B4026 (float ___height0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUILayout_Height_mA5A24D5490022AC6449BBAED9C5A1647184B4026_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 * V_0 = NULL;
{
float L_0 = ___height0;
float L_1 = L_0;
RuntimeObject * L_2 = Box(Single_tDDDA9169C4E4E308AC6D7A824F9B28DC82204AE1_il2cpp_TypeInfo_var, &L_1);
GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 * L_3 = (GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 *)il2cpp_codegen_object_new(GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6_il2cpp_TypeInfo_var);
GUILayoutOption__ctor_m965FDA1345FD7146596EFA90F03D0C645FB3FD5D(L_3, 1, L_2, /*hidden argument*/NULL);
V_0 = L_3;
goto IL_0010;
}
IL_0010:
{
GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 * L_4 = V_0;
return L_4;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.GUIStyle UnityEngine.GUILayoutEntry::get_style()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * GUILayoutEntry_get_style_m70E386A3289ACFEC515B1358827AB2FBF6314BA4 (GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * __this, const RuntimeMethod* method)
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * V_0 = NULL;
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = __this->get_m_Style_8();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.GUILayoutEntry::set_style(UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutEntry_set_style_mEDD232A6CDB1B76ABC33EA06A05235316A180E2D (GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * __this, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___value0, const RuntimeMethod* method)
{
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = ___value0;
__this->set_m_Style_8(L_0);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_1 = ___value0;
VirtActionInvoker1< GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * >::Invoke(12 /* System.Void UnityEngine.GUILayoutEntry::ApplyStyleSettings(UnityEngine.GUIStyle) */, __this, L_1);
return;
}
}
// System.Int32 UnityEngine.GUILayoutEntry::get_marginLeft()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GUILayoutEntry_get_marginLeft_mD09358867AB85C7555C5F36B21AA8701EBF7A47A (GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * __this, const RuntimeMethod* method)
{
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = GUILayoutEntry_get_style_m70E386A3289ACFEC515B1358827AB2FBF6314BA4(__this, /*hidden argument*/NULL);
NullCheck(L_0);
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_1 = GUIStyle_get_margin_mFC3EA0FA030A6334AC03BDDFA4AC80419C9E5BAA(L_0, /*hidden argument*/NULL);
NullCheck(L_1);
int32_t L_2 = RectOffset_get_left_mA86EC00866C1940134873E3A1565A1F700DE67AD(L_1, /*hidden argument*/NULL);
return L_2;
}
}
// System.Int32 UnityEngine.GUILayoutEntry::get_marginRight()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GUILayoutEntry_get_marginRight_m2449285F6E78BB275246C7382A0F25584A057E83 (GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * __this, const RuntimeMethod* method)
{
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = GUILayoutEntry_get_style_m70E386A3289ACFEC515B1358827AB2FBF6314BA4(__this, /*hidden argument*/NULL);
NullCheck(L_0);
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_1 = GUIStyle_get_margin_mFC3EA0FA030A6334AC03BDDFA4AC80419C9E5BAA(L_0, /*hidden argument*/NULL);
NullCheck(L_1);
int32_t L_2 = RectOffset_get_right_m9B05958C3C1B31F1FAB8675834A492C7208F6C96(L_1, /*hidden argument*/NULL);
return L_2;
}
}
// System.Int32 UnityEngine.GUILayoutEntry::get_marginTop()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GUILayoutEntry_get_marginTop_mA7DC694C92F152BEC3A8CCC470B24E9351338708 (GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * __this, const RuntimeMethod* method)
{
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = GUILayoutEntry_get_style_m70E386A3289ACFEC515B1358827AB2FBF6314BA4(__this, /*hidden argument*/NULL);
NullCheck(L_0);
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_1 = GUIStyle_get_margin_mFC3EA0FA030A6334AC03BDDFA4AC80419C9E5BAA(L_0, /*hidden argument*/NULL);
NullCheck(L_1);
int32_t L_2 = RectOffset_get_top_mBA813D4147BFBC079933054018437F411B6B41E1(L_1, /*hidden argument*/NULL);
return L_2;
}
}
// System.Int32 UnityEngine.GUILayoutEntry::get_marginBottom()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GUILayoutEntry_get_marginBottom_mC821B992F1AA7AF24533D9DAC2E46632950AA1BD (GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * __this, const RuntimeMethod* method)
{
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = GUILayoutEntry_get_style_m70E386A3289ACFEC515B1358827AB2FBF6314BA4(__this, /*hidden argument*/NULL);
NullCheck(L_0);
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_1 = GUIStyle_get_margin_mFC3EA0FA030A6334AC03BDDFA4AC80419C9E5BAA(L_0, /*hidden argument*/NULL);
NullCheck(L_1);
int32_t L_2 = RectOffset_get_bottom_mE5162CADD266B59539E3EE1967EE9A74705E5632(L_1, /*hidden argument*/NULL);
return L_2;
}
}
// System.Int32 UnityEngine.GUILayoutEntry::get_marginHorizontal()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GUILayoutEntry_get_marginHorizontal_m1FB1B936E7C702BAD92FE4CA1EEC529A2BECCEC4 (GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = VirtFuncInvoker0< int32_t >::Invoke(4 /* System.Int32 UnityEngine.GUILayoutEntry::get_marginLeft() */, __this);
int32_t L_1 = VirtFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 UnityEngine.GUILayoutEntry::get_marginRight() */, __this);
return ((int32_t)il2cpp_codegen_add((int32_t)L_0, (int32_t)L_1));
}
}
// System.Int32 UnityEngine.GUILayoutEntry::get_marginVertical()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GUILayoutEntry_get_marginVertical_mBFB3FD56025F4627378E5A339379CFF720196EB0 (GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = VirtFuncInvoker0< int32_t >::Invoke(7 /* System.Int32 UnityEngine.GUILayoutEntry::get_marginBottom() */, __this);
int32_t L_1 = VirtFuncInvoker0< int32_t >::Invoke(6 /* System.Int32 UnityEngine.GUILayoutEntry::get_marginTop() */, __this);
return ((int32_t)il2cpp_codegen_add((int32_t)L_0, (int32_t)L_1));
}
}
// System.Void UnityEngine.GUILayoutEntry::.ctor(System.Single,System.Single,System.Single,System.Single,UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutEntry__ctor_mC640CA08AEBCC7E479DB6AF5B208436A98AB75B2 (GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * __this, float ____minWidth0, float ____maxWidth1, float ____minHeight2, float ____maxHeight3, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ____style4, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUILayoutEntry__ctor_mC640CA08AEBCC7E479DB6AF5B208436A98AB75B2_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_0;
memset((&L_0), 0, sizeof(L_0));
Rect__ctor_m50B92C75005C9C5A0D05E6E0EBB43AFAF7C66280((&L_0), (0.0f), (0.0f), (0.0f), (0.0f), /*hidden argument*/NULL);
__this->set_rect_4(L_0);
__this->set_consideredForMargin_7((bool)1);
IL2CPP_RUNTIME_CLASS_INIT(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_1 = GUIStyle_get_none_m2B48FA4E2FA2B9BB7A458DF25B1391F9C7BB8B7B(/*hidden argument*/NULL);
__this->set_m_Style_8(L_1);
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
float L_2 = ____minWidth0;
__this->set_minWidth_0(L_2);
float L_3 = ____maxWidth1;
__this->set_maxWidth_1(L_3);
float L_4 = ____minHeight2;
__this->set_minHeight_2(L_4);
float L_5 = ____maxHeight3;
__this->set_maxHeight_3(L_5);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_6 = ____style4;
V_0 = (bool)((((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_6) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_7 = V_0;
if (!L_7)
{
goto IL_0066;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_8 = GUIStyle_get_none_m2B48FA4E2FA2B9BB7A458DF25B1391F9C7BB8B7B(/*hidden argument*/NULL);
____style4 = L_8;
}
IL_0066:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_9 = ____style4;
GUILayoutEntry_set_style_mEDD232A6CDB1B76ABC33EA06A05235316A180E2D(__this, L_9, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.GUILayoutEntry::.ctor(System.Single,System.Single,System.Single,System.Single,UnityEngine.GUIStyle,UnityEngine.GUILayoutOption[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutEntry__ctor_m9F3EFD063D306A9EA3A5167D3D852123F569AD1E (GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * __this, float ____minWidth0, float ____maxWidth1, float ____minHeight2, float ____maxHeight3, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ____style4, GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* ___options5, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUILayoutEntry__ctor_m9F3EFD063D306A9EA3A5167D3D852123F569AD1E_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_0;
memset((&L_0), 0, sizeof(L_0));
Rect__ctor_m50B92C75005C9C5A0D05E6E0EBB43AFAF7C66280((&L_0), (0.0f), (0.0f), (0.0f), (0.0f), /*hidden argument*/NULL);
__this->set_rect_4(L_0);
__this->set_consideredForMargin_7((bool)1);
IL2CPP_RUNTIME_CLASS_INIT(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_1 = GUIStyle_get_none_m2B48FA4E2FA2B9BB7A458DF25B1391F9C7BB8B7B(/*hidden argument*/NULL);
__this->set_m_Style_8(L_1);
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
float L_2 = ____minWidth0;
__this->set_minWidth_0(L_2);
float L_3 = ____maxWidth1;
__this->set_maxWidth_1(L_3);
float L_4 = ____minHeight2;
__this->set_minHeight_2(L_4);
float L_5 = ____maxHeight3;
__this->set_maxHeight_3(L_5);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_6 = ____style4;
GUILayoutEntry_set_style_mEDD232A6CDB1B76ABC33EA06A05235316A180E2D(__this, L_6, /*hidden argument*/NULL);
GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* L_7 = ___options5;
VirtActionInvoker1< GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* >::Invoke(13 /* System.Void UnityEngine.GUILayoutEntry::ApplyOptions(UnityEngine.GUILayoutOption[]) */, __this, L_7);
return;
}
}
// System.Void UnityEngine.GUILayoutEntry::CalcWidth()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutEntry_CalcWidth_mBBA8647ED6695100D8D41CE12CA4586DBD02D993 (GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * __this, const RuntimeMethod* method)
{
{
return;
}
}
// System.Void UnityEngine.GUILayoutEntry::CalcHeight()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutEntry_CalcHeight_m476C8ECE96A5ACC4AEA6427EA2432F0ED7E3CFF4 (GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * __this, const RuntimeMethod* method)
{
{
return;
}
}
// System.Void UnityEngine.GUILayoutEntry::SetHorizontal(System.Single,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutEntry_SetHorizontal_m46A5D9344EE72AF9AA7D07C77C30745F9FE97DE8 (GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * __this, float ___x0, float ___width1, const RuntimeMethod* method)
{
{
Rect_t35B976DE901B5423C11705E156938EA27AB402CE * L_0 = __this->get_address_of_rect_4();
float L_1 = ___x0;
Rect_set_x_m49EFE25263C03A48D52499C3E9C097298E0EA3A6((Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)L_0, L_1, /*hidden argument*/NULL);
Rect_t35B976DE901B5423C11705E156938EA27AB402CE * L_2 = __this->get_address_of_rect_4();
float L_3 = ___width1;
Rect_set_width_mC81EF602AC91E0C615C12FCE060254A461A152B8((Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)L_2, L_3, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.GUILayoutEntry::SetVertical(System.Single,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutEntry_SetVertical_mC0E71E5E431907DD1900C707BD3E2E1D0795DDD0 (GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * __this, float ___y0, float ___height1, const RuntimeMethod* method)
{
{
Rect_t35B976DE901B5423C11705E156938EA27AB402CE * L_0 = __this->get_address_of_rect_4();
float L_1 = ___y0;
Rect_set_y_mCFDB9BD77334EF9CD896F64BE63C755777D7CCD5((Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)L_0, L_1, /*hidden argument*/NULL);
Rect_t35B976DE901B5423C11705E156938EA27AB402CE * L_2 = __this->get_address_of_rect_4();
float L_3 = ___height1;
Rect_set_height_mF4CB5A97D4706696F1C9EA31A5D8C466E48050D6((Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)L_2, L_3, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.GUILayoutEntry::ApplyStyleSettings(UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutEntry_ApplyStyleSettings_m5516B497544317E3B720CE7867CA960076E2AF47 (GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * __this, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style0, const RuntimeMethod* method)
{
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * G_B2_0 = NULL;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * G_B1_0 = NULL;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * G_B3_0 = NULL;
int32_t G_B4_0 = 0;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * G_B4_1 = NULL;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * G_B6_0 = NULL;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * G_B5_0 = NULL;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * G_B7_0 = NULL;
int32_t G_B8_0 = 0;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * G_B8_1 = NULL;
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = ___style0;
NullCheck(L_0);
float L_1 = GUIStyle_get_fixedWidth_mEACB70758F83DCD64CE363143849CC40E49B8D8D(L_0, /*hidden argument*/NULL);
G_B1_0 = __this;
if ((!(((float)L_1) == ((float)(0.0f)))))
{
G_B2_0 = __this;
goto IL_0017;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_2 = ___style0;
NullCheck(L_2);
bool L_3 = GUIStyle_get_stretchWidth_m4513B313AABE48E1D10424844DC186405BC8A677(L_2, /*hidden argument*/NULL);
G_B2_0 = G_B1_0;
if (L_3)
{
G_B3_0 = G_B1_0;
goto IL_001a;
}
}
IL_0017:
{
G_B4_0 = 0;
G_B4_1 = G_B2_0;
goto IL_001b;
}
IL_001a:
{
G_B4_0 = 1;
G_B4_1 = G_B3_0;
}
IL_001b:
{
NullCheck(G_B4_1);
G_B4_1->set_stretchWidth_5(G_B4_0);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_4 = ___style0;
NullCheck(L_4);
float L_5 = GUIStyle_get_fixedHeight_m9B5589C95B27C5590219413E8D7E9E1E95EB7708(L_4, /*hidden argument*/NULL);
G_B5_0 = __this;
if ((!(((float)L_5) == ((float)(0.0f)))))
{
G_B6_0 = __this;
goto IL_0036;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_6 = ___style0;
NullCheck(L_6);
bool L_7 = GUIStyle_get_stretchHeight_m264308B18FA5F0A8400CF49945BAE1B9EFDC934F(L_6, /*hidden argument*/NULL);
G_B6_0 = G_B5_0;
if (L_7)
{
G_B7_0 = G_B5_0;
goto IL_0039;
}
}
IL_0036:
{
G_B8_0 = 0;
G_B8_1 = G_B6_0;
goto IL_003a;
}
IL_0039:
{
G_B8_0 = 1;
G_B8_1 = G_B7_0;
}
IL_003a:
{
NullCheck(G_B8_1);
G_B8_1->set_stretchHeight_6(G_B8_0);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_8 = ___style0;
__this->set_m_Style_8(L_8);
return;
}
}
// System.Void UnityEngine.GUILayoutEntry::ApplyOptions(UnityEngine.GUILayoutOption[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutEntry_ApplyOptions_m2002EBD9FE42B9787544D204A71C8BEF3F671F5B (GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * __this, GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* ___options0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUILayoutEntry_ApplyOptions_m2002EBD9FE42B9787544D204A71C8BEF3F671F5B_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* V_1 = NULL;
int32_t V_2 = 0;
GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 * V_3 = NULL;
int32_t V_4 = 0;
float V_5 = 0.0f;
bool V_6 = false;
bool V_7 = false;
bool V_8 = false;
bool V_9 = false;
bool V_10 = false;
bool V_11 = false;
int32_t G_B26_0 = 0;
int32_t G_B31_0 = 0;
{
GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* L_0 = ___options0;
V_0 = (bool)((((RuntimeObject*)(GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B*)L_0) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_1 = V_0;
if (!L_1)
{
goto IL_000e;
}
}
{
goto IL_0215;
}
IL_000e:
{
GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* L_2 = ___options0;
V_1 = L_2;
V_2 = 0;
goto IL_01ac;
}
IL_0018:
{
GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* L_3 = V_1;
int32_t L_4 = V_2;
NullCheck(L_3);
int32_t L_5 = L_4;
GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 * L_6 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
V_3 = L_6;
GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 * L_7 = V_3;
NullCheck(L_7);
int32_t L_8 = L_7->get_type_0();
V_4 = L_8;
int32_t L_9 = V_4;
switch (L_9)
{
case 0:
{
goto IL_0051;
}
case 1:
{
goto IL_0079;
}
case 2:
{
goto IL_00a1;
}
case 3:
{
goto IL_00d7;
}
case 4:
{
goto IL_0114;
}
case 5:
{
goto IL_0147;
}
case 6:
{
goto IL_0181;
}
case 7:
{
goto IL_0194;
}
}
}
{
goto IL_01a7;
}
IL_0051:
{
GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 * L_10 = V_3;
NullCheck(L_10);
RuntimeObject * L_11 = L_10->get_value_1();
float L_12 = ((*(float*)((float*)UnBox(L_11, Single_tDDDA9169C4E4E308AC6D7A824F9B28DC82204AE1_il2cpp_TypeInfo_var))));
V_5 = L_12;
__this->set_maxWidth_1(L_12);
float L_13 = V_5;
__this->set_minWidth_0(L_13);
__this->set_stretchWidth_5(0);
goto IL_01a7;
}
IL_0079:
{
GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 * L_14 = V_3;
NullCheck(L_14);
RuntimeObject * L_15 = L_14->get_value_1();
float L_16 = ((*(float*)((float*)UnBox(L_15, Single_tDDDA9169C4E4E308AC6D7A824F9B28DC82204AE1_il2cpp_TypeInfo_var))));
V_5 = L_16;
__this->set_maxHeight_3(L_16);
float L_17 = V_5;
__this->set_minHeight_2(L_17);
__this->set_stretchHeight_6(0);
goto IL_01a7;
}
IL_00a1:
{
GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 * L_18 = V_3;
NullCheck(L_18);
RuntimeObject * L_19 = L_18->get_value_1();
__this->set_minWidth_0(((*(float*)((float*)UnBox(L_19, Single_tDDDA9169C4E4E308AC6D7A824F9B28DC82204AE1_il2cpp_TypeInfo_var)))));
float L_20 = __this->get_maxWidth_1();
float L_21 = __this->get_minWidth_0();
V_6 = (bool)((((float)L_20) < ((float)L_21))? 1 : 0);
bool L_22 = V_6;
if (!L_22)
{
goto IL_00d2;
}
}
{
float L_23 = __this->get_minWidth_0();
__this->set_maxWidth_1(L_23);
}
IL_00d2:
{
goto IL_01a7;
}
IL_00d7:
{
GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 * L_24 = V_3;
NullCheck(L_24);
RuntimeObject * L_25 = L_24->get_value_1();
__this->set_maxWidth_1(((*(float*)((float*)UnBox(L_25, Single_tDDDA9169C4E4E308AC6D7A824F9B28DC82204AE1_il2cpp_TypeInfo_var)))));
float L_26 = __this->get_minWidth_0();
float L_27 = __this->get_maxWidth_1();
V_7 = (bool)((((float)L_26) > ((float)L_27))? 1 : 0);
bool L_28 = V_7;
if (!L_28)
{
goto IL_0108;
}
}
{
float L_29 = __this->get_maxWidth_1();
__this->set_minWidth_0(L_29);
}
IL_0108:
{
__this->set_stretchWidth_5(0);
goto IL_01a7;
}
IL_0114:
{
GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 * L_30 = V_3;
NullCheck(L_30);
RuntimeObject * L_31 = L_30->get_value_1();
__this->set_minHeight_2(((*(float*)((float*)UnBox(L_31, Single_tDDDA9169C4E4E308AC6D7A824F9B28DC82204AE1_il2cpp_TypeInfo_var)))));
float L_32 = __this->get_maxHeight_3();
float L_33 = __this->get_minHeight_2();
V_8 = (bool)((((float)L_32) < ((float)L_33))? 1 : 0);
bool L_34 = V_8;
if (!L_34)
{
goto IL_0145;
}
}
{
float L_35 = __this->get_minHeight_2();
__this->set_maxHeight_3(L_35);
}
IL_0145:
{
goto IL_01a7;
}
IL_0147:
{
GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 * L_36 = V_3;
NullCheck(L_36);
RuntimeObject * L_37 = L_36->get_value_1();
__this->set_maxHeight_3(((*(float*)((float*)UnBox(L_37, Single_tDDDA9169C4E4E308AC6D7A824F9B28DC82204AE1_il2cpp_TypeInfo_var)))));
float L_38 = __this->get_minHeight_2();
float L_39 = __this->get_maxHeight_3();
V_9 = (bool)((((float)L_38) > ((float)L_39))? 1 : 0);
bool L_40 = V_9;
if (!L_40)
{
goto IL_0178;
}
}
{
float L_41 = __this->get_maxHeight_3();
__this->set_minHeight_2(L_41);
}
IL_0178:
{
__this->set_stretchHeight_6(0);
goto IL_01a7;
}
IL_0181:
{
GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 * L_42 = V_3;
NullCheck(L_42);
RuntimeObject * L_43 = L_42->get_value_1();
__this->set_stretchWidth_5(((*(int32_t*)((int32_t*)UnBox(L_43, Int32_t585191389E07734F19F3156FF88FB3EF4800D102_il2cpp_TypeInfo_var)))));
goto IL_01a7;
}
IL_0194:
{
GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 * L_44 = V_3;
NullCheck(L_44);
RuntimeObject * L_45 = L_44->get_value_1();
__this->set_stretchHeight_6(((*(int32_t*)((int32_t*)UnBox(L_45, Int32_t585191389E07734F19F3156FF88FB3EF4800D102_il2cpp_TypeInfo_var)))));
goto IL_01a7;
}
IL_01a7:
{
int32_t L_46 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_46, (int32_t)1));
}
IL_01ac:
{
int32_t L_47 = V_2;
GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* L_48 = V_1;
NullCheck(L_48);
if ((((int32_t)L_47) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_48)->max_length)))))))
{
goto IL_0018;
}
}
{
float L_49 = __this->get_maxWidth_1();
if ((((float)L_49) == ((float)(0.0f))))
{
goto IL_01d2;
}
}
{
float L_50 = __this->get_maxWidth_1();
float L_51 = __this->get_minWidth_0();
G_B26_0 = ((((float)L_50) < ((float)L_51))? 1 : 0);
goto IL_01d3;
}
IL_01d2:
{
G_B26_0 = 0;
}
IL_01d3:
{
V_10 = (bool)G_B26_0;
bool L_52 = V_10;
if (!L_52)
{
goto IL_01e5;
}
}
{
float L_53 = __this->get_minWidth_0();
__this->set_maxWidth_1(L_53);
}
IL_01e5:
{
float L_54 = __this->get_maxHeight_3();
if ((((float)L_54) == ((float)(0.0f))))
{
goto IL_0202;
}
}
{
float L_55 = __this->get_maxHeight_3();
float L_56 = __this->get_minHeight_2();
G_B31_0 = ((((float)L_55) < ((float)L_56))? 1 : 0);
goto IL_0203;
}
IL_0202:
{
G_B31_0 = 0;
}
IL_0203:
{
V_11 = (bool)G_B31_0;
bool L_57 = V_11;
if (!L_57)
{
goto IL_0215;
}
}
{
float L_58 = __this->get_minHeight_2();
__this->set_maxHeight_3(L_58);
}
IL_0215:
{
return;
}
}
// System.String UnityEngine.GUILayoutEntry::ToString()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* GUILayoutEntry_ToString_mCDA5CD14A39ADAD29F6B450B98FDB80E37AC95D5 (GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUILayoutEntry_ToString_mCDA5CD14A39ADAD29F6B450B98FDB80E37AC95D5_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
String_t* V_0 = NULL;
int32_t V_1 = 0;
bool V_2 = false;
String_t* V_3 = NULL;
int32_t G_B5_0 = 0;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* G_B5_1 = NULL;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* G_B5_2 = NULL;
String_t* G_B5_3 = NULL;
int32_t G_B5_4 = 0;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* G_B5_5 = NULL;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* G_B5_6 = NULL;
int32_t G_B4_0 = 0;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* G_B4_1 = NULL;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* G_B4_2 = NULL;
String_t* G_B4_3 = NULL;
int32_t G_B4_4 = 0;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* G_B4_5 = NULL;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* G_B4_6 = NULL;
String_t* G_B6_0 = NULL;
int32_t G_B6_1 = 0;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* G_B6_2 = NULL;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* G_B6_3 = NULL;
String_t* G_B6_4 = NULL;
int32_t G_B6_5 = 0;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* G_B6_6 = NULL;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* G_B6_7 = NULL;
int32_t G_B8_0 = 0;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* G_B8_1 = NULL;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* G_B8_2 = NULL;
int32_t G_B7_0 = 0;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* G_B7_1 = NULL;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* G_B7_2 = NULL;
String_t* G_B9_0 = NULL;
int32_t G_B9_1 = 0;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* G_B9_2 = NULL;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* G_B9_3 = NULL;
int32_t G_B11_0 = 0;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* G_B11_1 = NULL;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* G_B11_2 = NULL;
int32_t G_B10_0 = 0;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* G_B10_1 = NULL;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* G_B10_2 = NULL;
String_t* G_B12_0 = NULL;
int32_t G_B12_1 = 0;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* G_B12_2 = NULL;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* G_B12_3 = NULL;
{
V_0 = _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
V_1 = 0;
goto IL_001b;
}
IL_000b:
{
String_t* L_0 = V_0;
String_t* L_1 = String_Concat_mB78D0094592718DA6D5DB6C712A9C225631666BE(L_0, _stringLiteralB858CB282617FB0956D960215C8E84D1CCF909C6, /*hidden argument*/NULL);
V_0 = L_1;
int32_t L_2 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_2, (int32_t)1));
}
IL_001b:
{
int32_t L_3 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845_il2cpp_TypeInfo_var);
int32_t L_4 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845_il2cpp_TypeInfo_var))->get_indent_10();
V_2 = (bool)((((int32_t)L_3) < ((int32_t)L_4))? 1 : 0);
bool L_5 = V_2;
if (L_5)
{
goto IL_000b;
}
}
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_6 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)SZArrayNew(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A_il2cpp_TypeInfo_var, (uint32_t)((int32_t)12));
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_7 = L_6;
String_t* L_8 = V_0;
NullCheck(L_7);
ArrayElementTypeCheck (L_7, L_8);
(L_7)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_8);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_9 = L_7;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_10 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)SZArrayNew(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A_il2cpp_TypeInfo_var, (uint32_t)6);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_11 = L_10;
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_12 = GUILayoutEntry_get_style_m70E386A3289ACFEC515B1358827AB2FBF6314BA4(__this, /*hidden argument*/NULL);
G_B4_0 = 0;
G_B4_1 = L_11;
G_B4_2 = L_11;
G_B4_3 = _stringLiteral0C258057D84276FDE292E99D213EB3AA75E8A463;
G_B4_4 = 1;
G_B4_5 = L_9;
G_B4_6 = L_9;
if (L_12)
{
G_B5_0 = 0;
G_B5_1 = L_11;
G_B5_2 = L_11;
G_B5_3 = _stringLiteral0C258057D84276FDE292E99D213EB3AA75E8A463;
G_B5_4 = 1;
G_B5_5 = L_9;
G_B5_6 = L_9;
goto IL_0050;
}
}
{
G_B6_0 = _stringLiteralEEF19C54306DAA69EDA49C0272623BDB5E2B341F;
G_B6_1 = G_B4_0;
G_B6_2 = G_B4_1;
G_B6_3 = G_B4_2;
G_B6_4 = G_B4_3;
G_B6_5 = G_B4_4;
G_B6_6 = G_B4_5;
G_B6_7 = G_B4_6;
goto IL_005b;
}
IL_0050:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_13 = GUILayoutEntry_get_style_m70E386A3289ACFEC515B1358827AB2FBF6314BA4(__this, /*hidden argument*/NULL);
NullCheck(L_13);
String_t* L_14 = GUIStyle_get_name_m111D8AB0173E1EBA46A9664EBABBC82AFE3ED71E(L_13, /*hidden argument*/NULL);
G_B6_0 = L_14;
G_B6_1 = G_B5_0;
G_B6_2 = G_B5_1;
G_B6_3 = G_B5_2;
G_B6_4 = G_B5_3;
G_B6_5 = G_B5_4;
G_B6_6 = G_B5_5;
G_B6_7 = G_B5_6;
}
IL_005b:
{
NullCheck(G_B6_2);
ArrayElementTypeCheck (G_B6_2, G_B6_0);
(G_B6_2)->SetAt(static_cast<il2cpp_array_size_t>(G_B6_1), (RuntimeObject *)G_B6_0);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_15 = G_B6_3;
Type_t * L_16 = Object_GetType_m2E0B62414ECCAA3094B703790CE88CBB2F83EA60(__this, /*hidden argument*/NULL);
NullCheck(L_15);
ArrayElementTypeCheck (L_15, L_16);
(L_15)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject *)L_16);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_17 = L_15;
Rect_t35B976DE901B5423C11705E156938EA27AB402CE * L_18 = __this->get_address_of_rect_4();
float L_19 = Rect_get_x_mC51A461F546D14832EB96B11A7198DADDE2597B7((Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)L_18, /*hidden argument*/NULL);
float L_20 = L_19;
RuntimeObject * L_21 = Box(Single_tDDDA9169C4E4E308AC6D7A824F9B28DC82204AE1_il2cpp_TypeInfo_var, &L_20);
NullCheck(L_17);
ArrayElementTypeCheck (L_17, L_21);
(L_17)->SetAt(static_cast<il2cpp_array_size_t>(2), (RuntimeObject *)L_21);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_22 = L_17;
Rect_t35B976DE901B5423C11705E156938EA27AB402CE * L_23 = __this->get_address_of_rect_4();
float L_24 = Rect_get_xMax_mA16D7C3C2F30F8608719073ED79028C11CE90983((Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)L_23, /*hidden argument*/NULL);
float L_25 = L_24;
RuntimeObject * L_26 = Box(Single_tDDDA9169C4E4E308AC6D7A824F9B28DC82204AE1_il2cpp_TypeInfo_var, &L_25);
NullCheck(L_22);
ArrayElementTypeCheck (L_22, L_26);
(L_22)->SetAt(static_cast<il2cpp_array_size_t>(3), (RuntimeObject *)L_26);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_27 = L_22;
Rect_t35B976DE901B5423C11705E156938EA27AB402CE * L_28 = __this->get_address_of_rect_4();
float L_29 = Rect_get_y_m53E3E4F62D9840FBEA751A66293038F1F5D1D45C((Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)L_28, /*hidden argument*/NULL);
float L_30 = L_29;
RuntimeObject * L_31 = Box(Single_tDDDA9169C4E4E308AC6D7A824F9B28DC82204AE1_il2cpp_TypeInfo_var, &L_30);
NullCheck(L_27);
ArrayElementTypeCheck (L_27, L_31);
(L_27)->SetAt(static_cast<il2cpp_array_size_t>(4), (RuntimeObject *)L_31);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_32 = L_27;
Rect_t35B976DE901B5423C11705E156938EA27AB402CE * L_33 = __this->get_address_of_rect_4();
float L_34 = Rect_get_yMax_m8AA5E92C322AF3FF571330F00579DA864F33341B((Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)L_33, /*hidden argument*/NULL);
float L_35 = L_34;
RuntimeObject * L_36 = Box(Single_tDDDA9169C4E4E308AC6D7A824F9B28DC82204AE1_il2cpp_TypeInfo_var, &L_35);
NullCheck(L_32);
ArrayElementTypeCheck (L_32, L_36);
(L_32)->SetAt(static_cast<il2cpp_array_size_t>(5), (RuntimeObject *)L_36);
String_t* L_37 = UnityString_Format_m415056ECF8DA7B3EC6A8456E299D0C2002177387(G_B6_4, L_32, /*hidden argument*/NULL);
NullCheck(G_B6_6);
ArrayElementTypeCheck (G_B6_6, L_37);
(G_B6_6)->SetAt(static_cast<il2cpp_array_size_t>(G_B6_5), (RuntimeObject *)L_37);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_38 = G_B6_7;
NullCheck(L_38);
ArrayElementTypeCheck (L_38, _stringLiteralA8D40E8C95571FFC4E4BA4C9CEF0289695BD8057);
(L_38)->SetAt(static_cast<il2cpp_array_size_t>(2), (RuntimeObject *)_stringLiteralA8D40E8C95571FFC4E4BA4C9CEF0289695BD8057);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_39 = L_38;
float L_40 = __this->get_minWidth_0();
float L_41 = L_40;
RuntimeObject * L_42 = Box(Single_tDDDA9169C4E4E308AC6D7A824F9B28DC82204AE1_il2cpp_TypeInfo_var, &L_41);
NullCheck(L_39);
ArrayElementTypeCheck (L_39, L_42);
(L_39)->SetAt(static_cast<il2cpp_array_size_t>(3), (RuntimeObject *)L_42);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_43 = L_39;
NullCheck(L_43);
ArrayElementTypeCheck (L_43, _stringLiteral3BC15C8AAE3E4124DD409035F32EA2FD6835EFC9);
(L_43)->SetAt(static_cast<il2cpp_array_size_t>(4), (RuntimeObject *)_stringLiteral3BC15C8AAE3E4124DD409035F32EA2FD6835EFC9);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_44 = L_43;
float L_45 = __this->get_maxWidth_1();
float L_46 = L_45;
RuntimeObject * L_47 = Box(Single_tDDDA9169C4E4E308AC6D7A824F9B28DC82204AE1_il2cpp_TypeInfo_var, &L_46);
NullCheck(L_44);
ArrayElementTypeCheck (L_44, L_47);
(L_44)->SetAt(static_cast<il2cpp_array_size_t>(5), (RuntimeObject *)L_47);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_48 = L_44;
int32_t L_49 = __this->get_stretchWidth_5();
G_B7_0 = 6;
G_B7_1 = L_48;
G_B7_2 = L_48;
if (L_49)
{
G_B8_0 = 6;
G_B8_1 = L_48;
G_B8_2 = L_48;
goto IL_00f4;
}
}
{
G_B9_0 = _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
G_B9_1 = G_B7_0;
G_B9_2 = G_B7_1;
G_B9_3 = G_B7_2;
goto IL_00f9;
}
IL_00f4:
{
G_B9_0 = _stringLiteralA979EF10CC6F6A36DF6B8A323307EE3BB2E2DB9C;
G_B9_1 = G_B8_0;
G_B9_2 = G_B8_1;
G_B9_3 = G_B8_2;
}
IL_00f9:
{
NullCheck(G_B9_2);
ArrayElementTypeCheck (G_B9_2, G_B9_0);
(G_B9_2)->SetAt(static_cast<il2cpp_array_size_t>(G_B9_1), (RuntimeObject *)G_B9_0);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_50 = G_B9_3;
NullCheck(L_50);
ArrayElementTypeCheck (L_50, _stringLiteral553F4091D1912B191C8392C610091F6B85B0B6E3);
(L_50)->SetAt(static_cast<il2cpp_array_size_t>(7), (RuntimeObject *)_stringLiteral553F4091D1912B191C8392C610091F6B85B0B6E3);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_51 = L_50;
float L_52 = __this->get_minHeight_2();
float L_53 = L_52;
RuntimeObject * L_54 = Box(Single_tDDDA9169C4E4E308AC6D7A824F9B28DC82204AE1_il2cpp_TypeInfo_var, &L_53);
NullCheck(L_51);
ArrayElementTypeCheck (L_51, L_54);
(L_51)->SetAt(static_cast<il2cpp_array_size_t>(8), (RuntimeObject *)L_54);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_55 = L_51;
NullCheck(L_55);
ArrayElementTypeCheck (L_55, _stringLiteral3BC15C8AAE3E4124DD409035F32EA2FD6835EFC9);
(L_55)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)9)), (RuntimeObject *)_stringLiteral3BC15C8AAE3E4124DD409035F32EA2FD6835EFC9);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_56 = L_55;
float L_57 = __this->get_maxHeight_3();
float L_58 = L_57;
RuntimeObject * L_59 = Box(Single_tDDDA9169C4E4E308AC6D7A824F9B28DC82204AE1_il2cpp_TypeInfo_var, &L_58);
NullCheck(L_56);
ArrayElementTypeCheck (L_56, L_59);
(L_56)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)10)), (RuntimeObject *)L_59);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_60 = L_56;
int32_t L_61 = __this->get_stretchHeight_6();
G_B10_0 = ((int32_t)11);
G_B10_1 = L_60;
G_B10_2 = L_60;
if (L_61)
{
G_B11_0 = ((int32_t)11);
G_B11_1 = L_60;
G_B11_2 = L_60;
goto IL_013a;
}
}
{
G_B12_0 = _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
G_B12_1 = G_B10_0;
G_B12_2 = G_B10_1;
G_B12_3 = G_B10_2;
goto IL_013f;
}
IL_013a:
{
G_B12_0 = _stringLiteralA979EF10CC6F6A36DF6B8A323307EE3BB2E2DB9C;
G_B12_1 = G_B11_0;
G_B12_2 = G_B11_1;
G_B12_3 = G_B11_2;
}
IL_013f:
{
NullCheck(G_B12_2);
ArrayElementTypeCheck (G_B12_2, G_B12_0);
(G_B12_2)->SetAt(static_cast<il2cpp_array_size_t>(G_B12_1), (RuntimeObject *)G_B12_0);
String_t* L_62 = String_Concat_mB7BA84F13912303B2E5E40FBF0109E1A328ACA07(G_B12_3, /*hidden argument*/NULL);
V_3 = L_62;
goto IL_0148;
}
IL_0148:
{
String_t* L_63 = V_3;
return L_63;
}
}
// System.Void UnityEngine.GUILayoutEntry::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutEntry__cctor_m7425E2D0EE5771858B9823BBD024333CE7CAD3F9 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUILayoutEntry__cctor_m7425E2D0EE5771858B9823BBD024333CE7CAD3F9_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_0;
memset((&L_0), 0, sizeof(L_0));
Rect__ctor_m50B92C75005C9C5A0D05E6E0EBB43AFAF7C66280((&L_0), (0.0f), (0.0f), (1.0f), (1.0f), /*hidden argument*/NULL);
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845_il2cpp_TypeInfo_var))->set_kDummyRect_9(L_0);
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845_il2cpp_TypeInfo_var))->set_indent_10(0);
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.Int32 UnityEngine.GUILayoutGroup::get_marginLeft()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GUILayoutGroup_get_marginLeft_m987BDD5E6CE4A143F56120E1953291A27F43AA4F (GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get_m_MarginLeft_27();
return L_0;
}
}
// System.Int32 UnityEngine.GUILayoutGroup::get_marginRight()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GUILayoutGroup_get_marginRight_m12265D01788B2A60664CD21B887AFEC72C6A0855 (GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get_m_MarginRight_28();
return L_0;
}
}
// System.Int32 UnityEngine.GUILayoutGroup::get_marginTop()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GUILayoutGroup_get_marginTop_m5A7ACD924C4728C19C2DE52E3155A1D098646023 (GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get_m_MarginTop_29();
return L_0;
}
}
// System.Int32 UnityEngine.GUILayoutGroup::get_marginBottom()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GUILayoutGroup_get_marginBottom_m47E83C97B7052E8C3A15C11E23C05C7B4FF31460 (GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get_m_MarginBottom_30();
return L_0;
}
}
// System.Void UnityEngine.GUILayoutGroup::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutGroup__ctor_m14D8B35B4A89F6688D354A534ED871860905BA3B (GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUILayoutGroup__ctor_m14D8B35B4A89F6688D354A534ED871860905BA3B_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * L_0 = (List_1_t046427F3923444CF746C550FD96A3D0E4189D273 *)il2cpp_codegen_object_new(List_1_t046427F3923444CF746C550FD96A3D0E4189D273_il2cpp_TypeInfo_var);
List_1__ctor_m8334B758D374FE266FFF49329936203BCE3A3770(L_0, /*hidden argument*/List_1__ctor_m8334B758D374FE266FFF49329936203BCE3A3770_RuntimeMethod_var);
__this->set_entries_11(L_0);
__this->set_isVertical_12((bool)1);
__this->set_resetCoords_13((bool)0);
__this->set_spacing_14((0.0f));
__this->set_sameSize_15((bool)1);
__this->set_isWindow_16((bool)0);
__this->set_windowID_17((-1));
__this->set_m_Cursor_18(0);
__this->set_m_StretchableCountX_19(((int32_t)100));
__this->set_m_StretchableCountY_20(((int32_t)100));
__this->set_m_UserSpecifiedWidth_21((bool)0);
__this->set_m_UserSpecifiedHeight_22((bool)0);
__this->set_m_ChildMinWidth_23((100.0f));
__this->set_m_ChildMaxWidth_24((100.0f));
__this->set_m_ChildMinHeight_25((100.0f));
__this->set_m_ChildMaxHeight_26((100.0f));
IL2CPP_RUNTIME_CLASS_INIT(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_1 = GUIStyle_get_none_m2B48FA4E2FA2B9BB7A458DF25B1391F9C7BB8B7B(/*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845_il2cpp_TypeInfo_var);
GUILayoutEntry__ctor_mC640CA08AEBCC7E479DB6AF5B208436A98AB75B2(__this, (0.0f), (0.0f), (0.0f), (0.0f), L_1, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.GUILayoutGroup::ApplyOptions(UnityEngine.GUILayoutOption[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutGroup_ApplyOptions_mCBAF4F0DA13F941ABF47886054A3443247767A97 (GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * __this, GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* ___options0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUILayoutGroup_ApplyOptions_mCBAF4F0DA13F941ABF47886054A3443247767A97_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* V_1 = NULL;
int32_t V_2 = 0;
GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 * V_3 = NULL;
int32_t V_4 = 0;
{
GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* L_0 = ___options0;
V_0 = (bool)((((RuntimeObject*)(GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B*)L_0) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_1 = V_0;
if (!L_1)
{
goto IL_000b;
}
}
{
goto IL_0081;
}
IL_000b:
{
GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* L_2 = ___options0;
GUILayoutEntry_ApplyOptions_m2002EBD9FE42B9787544D204A71C8BEF3F671F5B(__this, L_2, /*hidden argument*/NULL);
GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* L_3 = ___options0;
V_1 = L_3;
V_2 = 0;
goto IL_007b;
}
IL_001a:
{
GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* L_4 = V_1;
int32_t L_5 = V_2;
NullCheck(L_4);
int32_t L_6 = L_5;
GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 * L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
V_3 = L_7;
GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 * L_8 = V_3;
NullCheck(L_8);
int32_t L_9 = L_8->get_type_0();
V_4 = L_9;
int32_t L_10 = V_4;
switch (L_10)
{
case 0:
{
goto IL_0050;
}
case 1:
{
goto IL_0059;
}
case 2:
{
goto IL_0050;
}
case 3:
{
goto IL_0050;
}
case 4:
{
goto IL_0059;
}
case 5:
{
goto IL_0059;
}
}
}
{
goto IL_0048;
}
IL_0048:
{
int32_t L_11 = V_4;
if ((((int32_t)L_11) == ((int32_t)((int32_t)13))))
{
goto IL_0062;
}
}
{
goto IL_0076;
}
IL_0050:
{
__this->set_m_UserSpecifiedHeight_22((bool)1);
goto IL_0076;
}
IL_0059:
{
__this->set_m_UserSpecifiedWidth_21((bool)1);
goto IL_0076;
}
IL_0062:
{
GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 * L_12 = V_3;
NullCheck(L_12);
RuntimeObject * L_13 = L_12->get_value_1();
__this->set_spacing_14((((float)((float)((*(int32_t*)((int32_t*)UnBox(L_13, Int32_t585191389E07734F19F3156FF88FB3EF4800D102_il2cpp_TypeInfo_var))))))));
goto IL_0076;
}
IL_0076:
{
int32_t L_14 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_14, (int32_t)1));
}
IL_007b:
{
int32_t L_15 = V_2;
GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* L_16 = V_1;
NullCheck(L_16);
if ((((int32_t)L_15) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_16)->max_length)))))))
{
goto IL_001a;
}
}
IL_0081:
{
return;
}
}
// System.Void UnityEngine.GUILayoutGroup::ApplyStyleSettings(UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutGroup_ApplyStyleSettings_mEC5D7325E4DC8993207671A95F6F0ED7D75B7F6C (GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * __this, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style0, const RuntimeMethod* method)
{
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * V_0 = NULL;
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = ___style0;
GUILayoutEntry_ApplyStyleSettings_m5516B497544317E3B720CE7867CA960076E2AF47(__this, L_0, /*hidden argument*/NULL);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_1 = ___style0;
NullCheck(L_1);
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_2 = GUIStyle_get_margin_mFC3EA0FA030A6334AC03BDDFA4AC80419C9E5BAA(L_1, /*hidden argument*/NULL);
V_0 = L_2;
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_3 = V_0;
NullCheck(L_3);
int32_t L_4 = RectOffset_get_left_mA86EC00866C1940134873E3A1565A1F700DE67AD(L_3, /*hidden argument*/NULL);
__this->set_m_MarginLeft_27(L_4);
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_5 = V_0;
NullCheck(L_5);
int32_t L_6 = RectOffset_get_right_m9B05958C3C1B31F1FAB8675834A492C7208F6C96(L_5, /*hidden argument*/NULL);
__this->set_m_MarginRight_28(L_6);
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_7 = V_0;
NullCheck(L_7);
int32_t L_8 = RectOffset_get_top_mBA813D4147BFBC079933054018437F411B6B41E1(L_7, /*hidden argument*/NULL);
__this->set_m_MarginTop_29(L_8);
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_9 = V_0;
NullCheck(L_9);
int32_t L_10 = RectOffset_get_bottom_mE5162CADD266B59539E3EE1967EE9A74705E5632(L_9, /*hidden argument*/NULL);
__this->set_m_MarginBottom_30(L_10);
return;
}
}
// System.Void UnityEngine.GUILayoutGroup::ResetCursor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutGroup_ResetCursor_mD159DD9E101F6F348249D27D95709E1DC5C0A13F (GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * __this, const RuntimeMethod* method)
{
{
__this->set_m_Cursor_18(0);
return;
}
}
// UnityEngine.GUILayoutEntry UnityEngine.GUILayoutGroup::GetNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * GUILayoutGroup_GetNext_m0C486106E3ABC96620C4A0AF67CE12BF09C347B9 (GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUILayoutGroup_GetNext_m0C486106E3ABC96620C4A0AF67CE12BF09C347B9_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * V_1 = NULL;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * V_2 = NULL;
{
int32_t L_0 = __this->get_m_Cursor_18();
List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * L_1 = __this->get_entries_11();
NullCheck(L_1);
int32_t L_2 = List_1_get_Count_m2995506A297520F84CBD9AD421D8672D5755E115_inline(L_1, /*hidden argument*/List_1_get_Count_m2995506A297520F84CBD9AD421D8672D5755E115_RuntimeMethod_var);
V_0 = (bool)((((int32_t)L_0) < ((int32_t)L_2))? 1 : 0);
bool L_3 = V_0;
if (!L_3)
{
goto IL_003d;
}
}
{
List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * L_4 = __this->get_entries_11();
int32_t L_5 = __this->get_m_Cursor_18();
NullCheck(L_4);
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_6 = List_1_get_Item_m96FCB482CBADC5AD4AD5F01B7A0B822AF619D388_inline(L_4, L_5, /*hidden argument*/List_1_get_Item_m96FCB482CBADC5AD4AD5F01B7A0B822AF619D388_RuntimeMethod_var);
V_1 = L_6;
int32_t L_7 = __this->get_m_Cursor_18();
__this->set_m_Cursor_18(((int32_t)il2cpp_codegen_add((int32_t)L_7, (int32_t)1)));
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_8 = V_1;
V_2 = L_8;
goto IL_00a1;
}
IL_003d:
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_9 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)SZArrayNew(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A_il2cpp_TypeInfo_var, (uint32_t)7);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_10 = L_9;
NullCheck(L_10);
ArrayElementTypeCheck (L_10, _stringLiteralFFB265E9D8A62CA77E764C3C23728383697C4D82);
(L_10)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)_stringLiteralFFB265E9D8A62CA77E764C3C23728383697C4D82);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_11 = L_10;
int32_t L_12 = __this->get_m_Cursor_18();
int32_t L_13 = L_12;
RuntimeObject * L_14 = Box(Int32_t585191389E07734F19F3156FF88FB3EF4800D102_il2cpp_TypeInfo_var, &L_13);
NullCheck(L_11);
ArrayElementTypeCheck (L_11, L_14);
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject *)L_14);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_15 = L_11;
NullCheck(L_15);
ArrayElementTypeCheck (L_15, _stringLiteral16806D05FFD77C707B7ABE1C8575F1FE58647283);
(L_15)->SetAt(static_cast<il2cpp_array_size_t>(2), (RuntimeObject *)_stringLiteral16806D05FFD77C707B7ABE1C8575F1FE58647283);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_16 = L_15;
List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * L_17 = __this->get_entries_11();
NullCheck(L_17);
int32_t L_18 = List_1_get_Count_m2995506A297520F84CBD9AD421D8672D5755E115_inline(L_17, /*hidden argument*/List_1_get_Count_m2995506A297520F84CBD9AD421D8672D5755E115_RuntimeMethod_var);
int32_t L_19 = L_18;
RuntimeObject * L_20 = Box(Int32_t585191389E07734F19F3156FF88FB3EF4800D102_il2cpp_TypeInfo_var, &L_19);
NullCheck(L_16);
ArrayElementTypeCheck (L_16, L_20);
(L_16)->SetAt(static_cast<il2cpp_array_size_t>(3), (RuntimeObject *)L_20);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_21 = L_16;
NullCheck(L_21);
ArrayElementTypeCheck (L_21, _stringLiteralF823B10BFCB18C02875242BBD90128D3418C74ED);
(L_21)->SetAt(static_cast<il2cpp_array_size_t>(4), (RuntimeObject *)_stringLiteralF823B10BFCB18C02875242BBD90128D3418C74ED);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_22 = L_21;
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_23 = Event_get_current_m072CEE599D11B8A9A916697E57C0F561188CDB2B(/*hidden argument*/NULL);
NullCheck(L_23);
int32_t L_24 = Event_get_rawType_m4139BB74440F552F5FD31F56215938E227EF0CD9(L_23, /*hidden argument*/NULL);
int32_t L_25 = L_24;
RuntimeObject * L_26 = Box(EventType_t3D3937E705A4506226002DAB22071B7B181DA57B_il2cpp_TypeInfo_var, &L_25);
NullCheck(L_22);
ArrayElementTypeCheck (L_22, L_26);
(L_22)->SetAt(static_cast<il2cpp_array_size_t>(5), (RuntimeObject *)L_26);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_27 = L_22;
NullCheck(L_27);
ArrayElementTypeCheck (L_27, _stringLiteral44F6B44A467838469700F58608269B4DED07C60C);
(L_27)->SetAt(static_cast<il2cpp_array_size_t>(6), (RuntimeObject *)_stringLiteral44F6B44A467838469700F58608269B4DED07C60C);
String_t* L_28 = String_Concat_mB7BA84F13912303B2E5E40FBF0109E1A328ACA07(L_27, /*hidden argument*/NULL);
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_29 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_29, L_28, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_29, GUILayoutGroup_GetNext_m0C486106E3ABC96620C4A0AF67CE12BF09C347B9_RuntimeMethod_var);
}
IL_00a1:
{
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_30 = V_2;
return L_30;
}
}
// System.Void UnityEngine.GUILayoutGroup::Add(UnityEngine.GUILayoutEntry)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutGroup_Add_mD964666892B1B23093B7BE6BE3F135423405D951 (GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * __this, GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * ___e0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUILayoutGroup_Add_mD964666892B1B23093B7BE6BE3F135423405D951_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * L_0 = __this->get_entries_11();
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_1 = ___e0;
NullCheck(L_0);
List_1_Add_mBA86DB073ED3C4B09F144141355A6D56556DE9ED(L_0, L_1, /*hidden argument*/List_1_Add_mBA86DB073ED3C4B09F144141355A6D56556DE9ED_RuntimeMethod_var);
return;
}
}
// System.Void UnityEngine.GUILayoutGroup::CalcWidth()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutGroup_CalcWidth_m0D2819C659392B14175C2B163DD889AD35794A9B (GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUILayoutGroup_CalcWidth_m0D2819C659392B14175C2B163DD889AD35794A9B_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
bool V_2 = false;
float V_3 = 0.0f;
float V_4 = 0.0f;
bool V_5 = false;
float V_6 = 0.0f;
bool V_7 = false;
Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 V_8;
memset((&V_8), 0, sizeof(V_8));
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * V_9 = NULL;
bool V_10 = false;
bool V_11 = false;
int32_t V_12 = 0;
Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 V_13;
memset((&V_13), 0, sizeof(V_13));
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * V_14 = NULL;
int32_t V_15 = 0;
bool V_16 = false;
bool V_17 = false;
bool V_18 = false;
bool V_19 = false;
bool V_20 = false;
bool V_21 = false;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 2);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
int32_t G_B22_0 = 0;
int32_t G_B37_0 = 0;
int32_t G_B43_0 = 0;
int32_t G_B43_1 = 0;
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * G_B43_2 = NULL;
int32_t G_B42_0 = 0;
int32_t G_B42_1 = 0;
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * G_B42_2 = NULL;
int32_t G_B44_0 = 0;
int32_t G_B44_1 = 0;
int32_t G_B44_2 = 0;
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * G_B44_3 = NULL;
{
List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * L_0 = __this->get_entries_11();
NullCheck(L_0);
int32_t L_1 = List_1_get_Count_m2995506A297520F84CBD9AD421D8672D5755E115_inline(L_0, /*hidden argument*/List_1_get_Count_m2995506A297520F84CBD9AD421D8672D5755E115_RuntimeMethod_var);
V_5 = (bool)((((int32_t)L_1) == ((int32_t)0))? 1 : 0);
bool L_2 = V_5;
if (!L_2)
{
goto IL_003d;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_3 = GUILayoutEntry_get_style_m70E386A3289ACFEC515B1358827AB2FBF6314BA4(__this, /*hidden argument*/NULL);
NullCheck(L_3);
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_4 = GUIStyle_get_padding_m5DF76AA03A313366D0DD8D577731DAC4FB83053A(L_3, /*hidden argument*/NULL);
NullCheck(L_4);
int32_t L_5 = RectOffset_get_horizontal_m9274B965D5D388F6F750D127B3E57F70DF0D89C1(L_4, /*hidden argument*/NULL);
float L_6 = (((float)((float)L_5)));
V_6 = L_6;
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_minWidth_0(L_6);
float L_7 = V_6;
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_maxWidth_1(L_7);
goto IL_043a;
}
IL_003d:
{
V_0 = 0;
V_1 = 0;
__this->set_m_ChildMinWidth_23((0.0f));
__this->set_m_ChildMaxWidth_24((0.0f));
__this->set_m_StretchableCountX_19(0);
V_2 = (bool)1;
bool L_8 = __this->get_isVertical_12();
V_7 = L_8;
bool L_9 = V_7;
if (!L_9)
{
goto IL_0181;
}
}
{
List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * L_10 = __this->get_entries_11();
NullCheck(L_10);
Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 L_11 = List_1_GetEnumerator_mA457B3CB61E2B7BAFB0F7D0ADEFD25237B4429DF(L_10, /*hidden argument*/List_1_GetEnumerator_mA457B3CB61E2B7BAFB0F7D0ADEFD25237B4429DF_RuntimeMethod_var);
V_8 = L_11;
}
IL_007e:
try
{ // begin try (depth: 1)
{
goto IL_013c;
}
IL_0083:
{
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_12 = Enumerator_get_Current_m9422C22943D0E9900CDB7DF407D9EBE215B2A6B6_inline((Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 *)(&V_8), /*hidden argument*/Enumerator_get_Current_m9422C22943D0E9900CDB7DF407D9EBE215B2A6B6_RuntimeMethod_var);
V_9 = L_12;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_13 = V_9;
NullCheck(L_13);
VirtActionInvoker0::Invoke(8 /* System.Void UnityEngine.GUILayoutEntry::CalcWidth() */, L_13);
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_14 = V_9;
NullCheck(L_14);
bool L_15 = L_14->get_consideredForMargin_7();
V_10 = L_15;
bool L_16 = V_10;
if (!L_16)
{
goto IL_0127;
}
}
IL_00a5:
{
bool L_17 = V_2;
V_11 = (bool)((((int32_t)L_17) == ((int32_t)0))? 1 : 0);
bool L_18 = V_11;
if (!L_18)
{
goto IL_00d0;
}
}
IL_00b0:
{
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_19 = V_9;
NullCheck(L_19);
int32_t L_20 = VirtFuncInvoker0< int32_t >::Invoke(4 /* System.Int32 UnityEngine.GUILayoutEntry::get_marginLeft() */, L_19);
int32_t L_21 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var);
int32_t L_22 = Mathf_Min_m1A2CC204E361AE13C329B6535165179798D3313A(L_20, L_21, /*hidden argument*/NULL);
V_0 = L_22;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_23 = V_9;
NullCheck(L_23);
int32_t L_24 = VirtFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 UnityEngine.GUILayoutEntry::get_marginRight() */, L_23);
int32_t L_25 = V_1;
int32_t L_26 = Mathf_Min_m1A2CC204E361AE13C329B6535165179798D3313A(L_24, L_25, /*hidden argument*/NULL);
V_1 = L_26;
goto IL_00e4;
}
IL_00d0:
{
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_27 = V_9;
NullCheck(L_27);
int32_t L_28 = VirtFuncInvoker0< int32_t >::Invoke(4 /* System.Int32 UnityEngine.GUILayoutEntry::get_marginLeft() */, L_27);
V_0 = L_28;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_29 = V_9;
NullCheck(L_29);
int32_t L_30 = VirtFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 UnityEngine.GUILayoutEntry::get_marginRight() */, L_29);
V_1 = L_30;
V_2 = (bool)0;
}
IL_00e4:
{
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_31 = V_9;
NullCheck(L_31);
float L_32 = L_31->get_minWidth_0();
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_33 = V_9;
NullCheck(L_33);
int32_t L_34 = GUILayoutEntry_get_marginHorizontal_m1FB1B936E7C702BAD92FE4CA1EEC529A2BECCEC4(L_33, /*hidden argument*/NULL);
float L_35 = __this->get_m_ChildMinWidth_23();
IL2CPP_RUNTIME_CLASS_INIT(Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var);
float L_36 = Mathf_Max_m670AE0EC1B09ED1A56FF9606B0F954670319CB65(((float)il2cpp_codegen_add((float)L_32, (float)(((float)((float)L_34))))), L_35, /*hidden argument*/NULL);
__this->set_m_ChildMinWidth_23(L_36);
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_37 = V_9;
NullCheck(L_37);
float L_38 = L_37->get_maxWidth_1();
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_39 = V_9;
NullCheck(L_39);
int32_t L_40 = GUILayoutEntry_get_marginHorizontal_m1FB1B936E7C702BAD92FE4CA1EEC529A2BECCEC4(L_39, /*hidden argument*/NULL);
float L_41 = __this->get_m_ChildMaxWidth_24();
float L_42 = Mathf_Max_m670AE0EC1B09ED1A56FF9606B0F954670319CB65(((float)il2cpp_codegen_add((float)L_38, (float)(((float)((float)L_40))))), L_41, /*hidden argument*/NULL);
__this->set_m_ChildMaxWidth_24(L_42);
}
IL_0127:
{
int32_t L_43 = __this->get_m_StretchableCountX_19();
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_44 = V_9;
NullCheck(L_44);
int32_t L_45 = L_44->get_stretchWidth_5();
__this->set_m_StretchableCountX_19(((int32_t)il2cpp_codegen_add((int32_t)L_43, (int32_t)L_45)));
}
IL_013c:
{
bool L_46 = Enumerator_MoveNext_m3A0A0A98E9378A32A74EC51C4CAB6C564001CAC7((Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 *)(&V_8), /*hidden argument*/Enumerator_MoveNext_m3A0A0A98E9378A32A74EC51C4CAB6C564001CAC7_RuntimeMethod_var);
if (L_46)
{
goto IL_0083;
}
}
IL_0148:
{
IL2CPP_LEAVE(0x159, FINALLY_014a);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_014a;
}
FINALLY_014a:
{ // begin finally (depth: 1)
Enumerator_Dispose_mB540C90AE8EBE0EB3D63A6ACE5EC863FAD1419B2((Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 *)(&V_8), /*hidden argument*/Enumerator_Dispose_mB540C90AE8EBE0EB3D63A6ACE5EC863FAD1419B2_RuntimeMethod_var);
IL2CPP_END_FINALLY(330)
} // end finally (depth: 1)
IL2CPP_CLEANUP(330)
{
IL2CPP_JUMP_TBL(0x159, IL_0159)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0159:
{
float L_47 = __this->get_m_ChildMinWidth_23();
int32_t L_48 = V_0;
int32_t L_49 = V_1;
__this->set_m_ChildMinWidth_23(((float)il2cpp_codegen_subtract((float)L_47, (float)(((float)((float)((int32_t)il2cpp_codegen_add((int32_t)L_48, (int32_t)L_49))))))));
float L_50 = __this->get_m_ChildMaxWidth_24();
int32_t L_51 = V_0;
int32_t L_52 = V_1;
__this->set_m_ChildMaxWidth_24(((float)il2cpp_codegen_subtract((float)L_50, (float)(((float)((float)((int32_t)il2cpp_codegen_add((int32_t)L_51, (int32_t)L_52))))))));
goto IL_02fa;
}
IL_0181:
{
V_12 = 0;
List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * L_53 = __this->get_entries_11();
NullCheck(L_53);
Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 L_54 = List_1_GetEnumerator_mA457B3CB61E2B7BAFB0F7D0ADEFD25237B4429DF(L_53, /*hidden argument*/List_1_GetEnumerator_mA457B3CB61E2B7BAFB0F7D0ADEFD25237B4429DF_RuntimeMethod_var);
V_13 = L_54;
}
IL_0193:
try
{ // begin try (depth: 1)
{
goto IL_0283;
}
IL_0198:
{
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_55 = Enumerator_get_Current_m9422C22943D0E9900CDB7DF407D9EBE215B2A6B6_inline((Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 *)(&V_13), /*hidden argument*/Enumerator_get_Current_m9422C22943D0E9900CDB7DF407D9EBE215B2A6B6_RuntimeMethod_var);
V_14 = L_55;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_56 = V_14;
NullCheck(L_56);
VirtActionInvoker0::Invoke(8 /* System.Void UnityEngine.GUILayoutEntry::CalcWidth() */, L_56);
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_57 = V_14;
NullCheck(L_57);
bool L_58 = L_57->get_consideredForMargin_7();
V_16 = L_58;
bool L_59 = V_16;
if (!L_59)
{
goto IL_0244;
}
}
IL_01ba:
{
bool L_60 = V_2;
V_17 = (bool)((((int32_t)L_60) == ((int32_t)0))? 1 : 0);
bool L_61 = V_17;
if (!L_61)
{
goto IL_01df;
}
}
IL_01c5:
{
int32_t L_62 = V_12;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_63 = V_14;
NullCheck(L_63);
int32_t L_64 = VirtFuncInvoker0< int32_t >::Invoke(4 /* System.Int32 UnityEngine.GUILayoutEntry::get_marginLeft() */, L_63);
if ((((int32_t)L_62) > ((int32_t)L_64)))
{
goto IL_01d9;
}
}
IL_01d0:
{
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_65 = V_14;
NullCheck(L_65);
int32_t L_66 = VirtFuncInvoker0< int32_t >::Invoke(4 /* System.Int32 UnityEngine.GUILayoutEntry::get_marginLeft() */, L_65);
G_B22_0 = L_66;
goto IL_01db;
}
IL_01d9:
{
int32_t L_67 = V_12;
G_B22_0 = L_67;
}
IL_01db:
{
V_15 = G_B22_0;
goto IL_01e6;
}
IL_01df:
{
V_15 = 0;
V_2 = (bool)0;
}
IL_01e6:
{
float L_68 = __this->get_m_ChildMinWidth_23();
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_69 = V_14;
NullCheck(L_69);
float L_70 = L_69->get_minWidth_0();
float L_71 = __this->get_spacing_14();
int32_t L_72 = V_15;
__this->set_m_ChildMinWidth_23(((float)il2cpp_codegen_add((float)L_68, (float)((float)il2cpp_codegen_add((float)((float)il2cpp_codegen_add((float)L_70, (float)L_71)), (float)(((float)((float)L_72))))))));
float L_73 = __this->get_m_ChildMaxWidth_24();
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_74 = V_14;
NullCheck(L_74);
float L_75 = L_74->get_maxWidth_1();
float L_76 = __this->get_spacing_14();
int32_t L_77 = V_15;
__this->set_m_ChildMaxWidth_24(((float)il2cpp_codegen_add((float)L_73, (float)((float)il2cpp_codegen_add((float)((float)il2cpp_codegen_add((float)L_75, (float)L_76)), (float)(((float)((float)L_77))))))));
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_78 = V_14;
NullCheck(L_78);
int32_t L_79 = VirtFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 UnityEngine.GUILayoutEntry::get_marginRight() */, L_78);
V_12 = L_79;
int32_t L_80 = __this->get_m_StretchableCountX_19();
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_81 = V_14;
NullCheck(L_81);
int32_t L_82 = L_81->get_stretchWidth_5();
__this->set_m_StretchableCountX_19(((int32_t)il2cpp_codegen_add((int32_t)L_80, (int32_t)L_82)));
goto IL_0282;
}
IL_0244:
{
float L_83 = __this->get_m_ChildMinWidth_23();
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_84 = V_14;
NullCheck(L_84);
float L_85 = L_84->get_minWidth_0();
__this->set_m_ChildMinWidth_23(((float)il2cpp_codegen_add((float)L_83, (float)L_85)));
float L_86 = __this->get_m_ChildMaxWidth_24();
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_87 = V_14;
NullCheck(L_87);
float L_88 = L_87->get_maxWidth_1();
__this->set_m_ChildMaxWidth_24(((float)il2cpp_codegen_add((float)L_86, (float)L_88)));
int32_t L_89 = __this->get_m_StretchableCountX_19();
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_90 = V_14;
NullCheck(L_90);
int32_t L_91 = L_90->get_stretchWidth_5();
__this->set_m_StretchableCountX_19(((int32_t)il2cpp_codegen_add((int32_t)L_89, (int32_t)L_91)));
}
IL_0282:
{
}
IL_0283:
{
bool L_92 = Enumerator_MoveNext_m3A0A0A98E9378A32A74EC51C4CAB6C564001CAC7((Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 *)(&V_13), /*hidden argument*/Enumerator_MoveNext_m3A0A0A98E9378A32A74EC51C4CAB6C564001CAC7_RuntimeMethod_var);
if (L_92)
{
goto IL_0198;
}
}
IL_028f:
{
IL2CPP_LEAVE(0x2A0, FINALLY_0291);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0291;
}
FINALLY_0291:
{ // begin finally (depth: 1)
Enumerator_Dispose_mB540C90AE8EBE0EB3D63A6ACE5EC863FAD1419B2((Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 *)(&V_13), /*hidden argument*/Enumerator_Dispose_mB540C90AE8EBE0EB3D63A6ACE5EC863FAD1419B2_RuntimeMethod_var);
IL2CPP_END_FINALLY(657)
} // end finally (depth: 1)
IL2CPP_CLEANUP(657)
{
IL2CPP_JUMP_TBL(0x2A0, IL_02a0)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_02a0:
{
float L_93 = __this->get_m_ChildMinWidth_23();
float L_94 = __this->get_spacing_14();
__this->set_m_ChildMinWidth_23(((float)il2cpp_codegen_subtract((float)L_93, (float)L_94)));
float L_95 = __this->get_m_ChildMaxWidth_24();
float L_96 = __this->get_spacing_14();
__this->set_m_ChildMaxWidth_24(((float)il2cpp_codegen_subtract((float)L_95, (float)L_96)));
List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * L_97 = __this->get_entries_11();
NullCheck(L_97);
int32_t L_98 = List_1_get_Count_m2995506A297520F84CBD9AD421D8672D5755E115_inline(L_97, /*hidden argument*/List_1_get_Count_m2995506A297520F84CBD9AD421D8672D5755E115_RuntimeMethod_var);
V_18 = (bool)((!(((uint32_t)L_98) <= ((uint32_t)0)))? 1 : 0);
bool L_99 = V_18;
if (!L_99)
{
goto IL_02f3;
}
}
{
List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * L_100 = __this->get_entries_11();
NullCheck(L_100);
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_101 = List_1_get_Item_m96FCB482CBADC5AD4AD5F01B7A0B822AF619D388_inline(L_100, 0, /*hidden argument*/List_1_get_Item_m96FCB482CBADC5AD4AD5F01B7A0B822AF619D388_RuntimeMethod_var);
NullCheck(L_101);
int32_t L_102 = VirtFuncInvoker0< int32_t >::Invoke(4 /* System.Int32 UnityEngine.GUILayoutEntry::get_marginLeft() */, L_101);
V_0 = L_102;
int32_t L_103 = V_12;
V_1 = L_103;
goto IL_02f9;
}
IL_02f3:
{
int32_t L_104 = 0;
V_1 = L_104;
V_0 = L_104;
}
IL_02f9:
{
}
IL_02fa:
{
V_3 = (0.0f);
V_4 = (0.0f);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_105 = GUILayoutEntry_get_style_m70E386A3289ACFEC515B1358827AB2FBF6314BA4(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_106 = GUIStyle_get_none_m2B48FA4E2FA2B9BB7A458DF25B1391F9C7BB8B7B(/*hidden argument*/NULL);
if ((!(((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_105) == ((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_106))))
{
goto IL_031c;
}
}
{
bool L_107 = __this->get_m_UserSpecifiedWidth_21();
G_B37_0 = ((int32_t)(L_107));
goto IL_031d;
}
IL_031c:
{
G_B37_0 = 1;
}
IL_031d:
{
V_19 = (bool)G_B37_0;
bool L_108 = V_19;
if (!L_108)
{
goto IL_0358;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_109 = GUILayoutEntry_get_style_m70E386A3289ACFEC515B1358827AB2FBF6314BA4(__this, /*hidden argument*/NULL);
NullCheck(L_109);
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_110 = GUIStyle_get_padding_m5DF76AA03A313366D0DD8D577731DAC4FB83053A(L_109, /*hidden argument*/NULL);
NullCheck(L_110);
int32_t L_111 = RectOffset_get_left_mA86EC00866C1940134873E3A1565A1F700DE67AD(L_110, /*hidden argument*/NULL);
int32_t L_112 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var);
int32_t L_113 = Mathf_Max_mBDE4C6F1883EE3215CD7AE62550B2AC90592BC3F(L_111, L_112, /*hidden argument*/NULL);
V_3 = (((float)((float)L_113)));
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_114 = GUILayoutEntry_get_style_m70E386A3289ACFEC515B1358827AB2FBF6314BA4(__this, /*hidden argument*/NULL);
NullCheck(L_114);
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_115 = GUIStyle_get_padding_m5DF76AA03A313366D0DD8D577731DAC4FB83053A(L_114, /*hidden argument*/NULL);
NullCheck(L_115);
int32_t L_116 = RectOffset_get_right_m9B05958C3C1B31F1FAB8675834A492C7208F6C96(L_115, /*hidden argument*/NULL);
int32_t L_117 = V_1;
int32_t L_118 = Mathf_Max_mBDE4C6F1883EE3215CD7AE62550B2AC90592BC3F(L_116, L_117, /*hidden argument*/NULL);
V_4 = (((float)((float)L_118)));
goto IL_0371;
}
IL_0358:
{
int32_t L_119 = V_0;
__this->set_m_MarginLeft_27(L_119);
int32_t L_120 = V_1;
__this->set_m_MarginRight_28(L_120);
float L_121 = (0.0f);
V_4 = L_121;
V_3 = L_121;
}
IL_0371:
{
float L_122 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->get_minWidth_0();
float L_123 = __this->get_m_ChildMinWidth_23();
float L_124 = V_3;
float L_125 = V_4;
IL2CPP_RUNTIME_CLASS_INIT(Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var);
float L_126 = Mathf_Max_m670AE0EC1B09ED1A56FF9606B0F954670319CB65(L_122, ((float)il2cpp_codegen_add((float)((float)il2cpp_codegen_add((float)L_123, (float)L_124)), (float)L_125)), /*hidden argument*/NULL);
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_minWidth_0(L_126);
float L_127 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->get_maxWidth_1();
V_20 = (bool)((((float)L_127) == ((float)(0.0f)))? 1 : 0);
bool L_128 = V_20;
if (!L_128)
{
goto IL_03da;
}
}
{
int32_t L_129 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->get_stretchWidth_5();
int32_t L_130 = __this->get_m_StretchableCountX_19();
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_131 = GUILayoutEntry_get_style_m70E386A3289ACFEC515B1358827AB2FBF6314BA4(__this, /*hidden argument*/NULL);
NullCheck(L_131);
bool L_132 = GUIStyle_get_stretchWidth_m4513B313AABE48E1D10424844DC186405BC8A677(L_131, /*hidden argument*/NULL);
G_B42_0 = L_130;
G_B42_1 = L_129;
G_B42_2 = __this;
if (L_132)
{
G_B43_0 = L_130;
G_B43_1 = L_129;
G_B43_2 = __this;
goto IL_03be;
}
}
{
G_B44_0 = 0;
G_B44_1 = G_B42_0;
G_B44_2 = G_B42_1;
G_B44_3 = G_B42_2;
goto IL_03bf;
}
IL_03be:
{
G_B44_0 = 1;
G_B44_1 = G_B43_0;
G_B44_2 = G_B43_1;
G_B44_3 = G_B43_2;
}
IL_03bf:
{
NullCheck(G_B44_3);
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)G_B44_3)->set_stretchWidth_5(((int32_t)il2cpp_codegen_add((int32_t)G_B44_2, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)G_B44_1, (int32_t)G_B44_0)))));
float L_133 = __this->get_m_ChildMaxWidth_24();
float L_134 = V_3;
float L_135 = V_4;
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_maxWidth_1(((float)il2cpp_codegen_add((float)((float)il2cpp_codegen_add((float)L_133, (float)L_134)), (float)L_135)));
goto IL_03e3;
}
IL_03da:
{
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_stretchWidth_5(0);
}
IL_03e3:
{
float L_136 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->get_maxWidth_1();
float L_137 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->get_minWidth_0();
IL2CPP_RUNTIME_CLASS_INIT(Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var);
float L_138 = Mathf_Max_m670AE0EC1B09ED1A56FF9606B0F954670319CB65(L_136, L_137, /*hidden argument*/NULL);
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_maxWidth_1(L_138);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_139 = GUILayoutEntry_get_style_m70E386A3289ACFEC515B1358827AB2FBF6314BA4(__this, /*hidden argument*/NULL);
NullCheck(L_139);
float L_140 = GUIStyle_get_fixedWidth_mEACB70758F83DCD64CE363143849CC40E49B8D8D(L_139, /*hidden argument*/NULL);
V_21 = (bool)((((int32_t)((((float)L_140) == ((float)(0.0f)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_141 = V_21;
if (!L_141)
{
goto IL_043a;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_142 = GUILayoutEntry_get_style_m70E386A3289ACFEC515B1358827AB2FBF6314BA4(__this, /*hidden argument*/NULL);
NullCheck(L_142);
float L_143 = GUIStyle_get_fixedWidth_mEACB70758F83DCD64CE363143849CC40E49B8D8D(L_142, /*hidden argument*/NULL);
float L_144 = L_143;
V_6 = L_144;
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_minWidth_0(L_144);
float L_145 = V_6;
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_maxWidth_1(L_145);
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_stretchWidth_5(0);
}
IL_043a:
{
return;
}
}
// System.Void UnityEngine.GUILayoutGroup::SetHorizontal(System.Single,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutGroup_SetHorizontal_m0AFB617E7BB6B32431BA65873B27660E6E5C9E51 (GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * __this, float ___x0, float ___width1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUILayoutGroup_SetHorizontal_m0AFB617E7BB6B32431BA65873B27660E6E5C9E51_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * V_0 = NULL;
bool V_1 = false;
bool V_2 = false;
bool V_3 = false;
Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 V_4;
memset((&V_4), 0, sizeof(V_4));
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * V_5 = NULL;
float V_6 = 0.0f;
float V_7 = 0.0f;
float V_8 = 0.0f;
bool V_9 = false;
float V_10 = 0.0f;
float V_11 = 0.0f;
Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 V_12;
memset((&V_12), 0, sizeof(V_12));
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * V_13 = NULL;
bool V_14 = false;
float V_15 = 0.0f;
float V_16 = 0.0f;
float V_17 = 0.0f;
int32_t V_18 = 0;
bool V_19 = false;
bool V_20 = false;
float V_21 = 0.0f;
float V_22 = 0.0f;
bool V_23 = false;
bool V_24 = false;
bool V_25 = false;
bool V_26 = false;
Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 V_27;
memset((&V_27), 0, sizeof(V_27));
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * V_28 = NULL;
float V_29 = 0.0f;
bool V_30 = false;
int32_t V_31 = 0;
int32_t V_32 = 0;
bool V_33 = false;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 3);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
int32_t G_B43_0 = 0;
{
float L_0 = ___x0;
float L_1 = ___width1;
GUILayoutEntry_SetHorizontal_m46A5D9344EE72AF9AA7D07C77C30745F9FE97DE8(__this, L_0, L_1, /*hidden argument*/NULL);
bool L_2 = __this->get_resetCoords_13();
V_1 = L_2;
bool L_3 = V_1;
if (!L_3)
{
goto IL_001b;
}
}
{
___x0 = (0.0f);
}
IL_001b:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_4 = GUILayoutEntry_get_style_m70E386A3289ACFEC515B1358827AB2FBF6314BA4(__this, /*hidden argument*/NULL);
NullCheck(L_4);
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_5 = GUIStyle_get_padding_m5DF76AA03A313366D0DD8D577731DAC4FB83053A(L_4, /*hidden argument*/NULL);
V_0 = L_5;
bool L_6 = __this->get_isVertical_12();
V_2 = L_6;
bool L_7 = V_2;
if (!L_7)
{
goto IL_01b3;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_8 = GUILayoutEntry_get_style_m70E386A3289ACFEC515B1358827AB2FBF6314BA4(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_9 = GUIStyle_get_none_m2B48FA4E2FA2B9BB7A458DF25B1391F9C7BB8B7B(/*hidden argument*/NULL);
V_3 = (bool)((((int32_t)((((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_8) == ((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_9))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_10 = V_3;
if (!L_10)
{
goto IL_00fd;
}
}
{
List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * L_11 = __this->get_entries_11();
NullCheck(L_11);
Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 L_12 = List_1_GetEnumerator_mA457B3CB61E2B7BAFB0F7D0ADEFD25237B4429DF(L_11, /*hidden argument*/List_1_GetEnumerator_mA457B3CB61E2B7BAFB0F7D0ADEFD25237B4429DF_RuntimeMethod_var);
V_4 = L_12;
}
IL_005b:
try
{ // begin try (depth: 1)
{
goto IL_00da;
}
IL_005d:
{
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_13 = Enumerator_get_Current_m9422C22943D0E9900CDB7DF407D9EBE215B2A6B6_inline((Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 *)(&V_4), /*hidden argument*/Enumerator_get_Current_m9422C22943D0E9900CDB7DF407D9EBE215B2A6B6_RuntimeMethod_var);
V_5 = L_13;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_14 = V_5;
NullCheck(L_14);
int32_t L_15 = VirtFuncInvoker0< int32_t >::Invoke(4 /* System.Int32 UnityEngine.GUILayoutEntry::get_marginLeft() */, L_14);
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_16 = V_0;
NullCheck(L_16);
int32_t L_17 = RectOffset_get_left_mA86EC00866C1940134873E3A1565A1F700DE67AD(L_16, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var);
int32_t L_18 = Mathf_Max_mBDE4C6F1883EE3215CD7AE62550B2AC90592BC3F(L_15, L_17, /*hidden argument*/NULL);
V_6 = (((float)((float)L_18)));
float L_19 = ___x0;
float L_20 = V_6;
V_7 = ((float)il2cpp_codegen_add((float)L_19, (float)L_20));
float L_21 = ___width1;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_22 = V_5;
NullCheck(L_22);
int32_t L_23 = VirtFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 UnityEngine.GUILayoutEntry::get_marginRight() */, L_22);
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_24 = V_0;
NullCheck(L_24);
int32_t L_25 = RectOffset_get_right_m9B05958C3C1B31F1FAB8675834A492C7208F6C96(L_24, /*hidden argument*/NULL);
int32_t L_26 = Mathf_Max_mBDE4C6F1883EE3215CD7AE62550B2AC90592BC3F(L_23, L_25, /*hidden argument*/NULL);
float L_27 = V_6;
V_8 = ((float)il2cpp_codegen_subtract((float)((float)il2cpp_codegen_subtract((float)L_21, (float)(((float)((float)L_26))))), (float)L_27));
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_28 = V_5;
NullCheck(L_28);
int32_t L_29 = L_28->get_stretchWidth_5();
V_9 = (bool)((!(((uint32_t)L_29) <= ((uint32_t)0)))? 1 : 0);
bool L_30 = V_9;
if (!L_30)
{
goto IL_00ba;
}
}
IL_00ac:
{
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_31 = V_5;
float L_32 = V_7;
float L_33 = V_8;
NullCheck(L_31);
VirtActionInvoker2< float, float >::Invoke(10 /* System.Void UnityEngine.GUILayoutEntry::SetHorizontal(System.Single,System.Single) */, L_31, L_32, L_33);
goto IL_00d9;
}
IL_00ba:
{
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_34 = V_5;
float L_35 = V_7;
float L_36 = V_8;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_37 = V_5;
NullCheck(L_37);
float L_38 = L_37->get_minWidth_0();
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_39 = V_5;
NullCheck(L_39);
float L_40 = L_39->get_maxWidth_1();
IL2CPP_RUNTIME_CLASS_INIT(Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var);
float L_41 = Mathf_Clamp_m033DD894F89E6DCCDAFC580091053059C86A4507(L_36, L_38, L_40, /*hidden argument*/NULL);
NullCheck(L_34);
VirtActionInvoker2< float, float >::Invoke(10 /* System.Void UnityEngine.GUILayoutEntry::SetHorizontal(System.Single,System.Single) */, L_34, L_35, L_41);
}
IL_00d9:
{
}
IL_00da:
{
bool L_42 = Enumerator_MoveNext_m3A0A0A98E9378A32A74EC51C4CAB6C564001CAC7((Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 *)(&V_4), /*hidden argument*/Enumerator_MoveNext_m3A0A0A98E9378A32A74EC51C4CAB6C564001CAC7_RuntimeMethod_var);
if (L_42)
{
goto IL_005d;
}
}
IL_00e6:
{
IL2CPP_LEAVE(0xF7, FINALLY_00e8);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00e8;
}
FINALLY_00e8:
{ // begin finally (depth: 1)
Enumerator_Dispose_mB540C90AE8EBE0EB3D63A6ACE5EC863FAD1419B2((Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 *)(&V_4), /*hidden argument*/Enumerator_Dispose_mB540C90AE8EBE0EB3D63A6ACE5EC863FAD1419B2_RuntimeMethod_var);
IL2CPP_END_FINALLY(232)
} // end finally (depth: 1)
IL2CPP_CLEANUP(232)
{
IL2CPP_JUMP_TBL(0xF7, IL_00f7)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00f7:
{
goto IL_01ad;
}
IL_00fd:
{
float L_43 = ___x0;
int32_t L_44 = VirtFuncInvoker0< int32_t >::Invoke(4 /* System.Int32 UnityEngine.GUILayoutEntry::get_marginLeft() */, __this);
V_10 = ((float)il2cpp_codegen_subtract((float)L_43, (float)(((float)((float)L_44)))));
float L_45 = ___width1;
int32_t L_46 = GUILayoutEntry_get_marginHorizontal_m1FB1B936E7C702BAD92FE4CA1EEC529A2BECCEC4(__this, /*hidden argument*/NULL);
V_11 = ((float)il2cpp_codegen_add((float)L_45, (float)(((float)((float)L_46)))));
List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * L_47 = __this->get_entries_11();
NullCheck(L_47);
Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 L_48 = List_1_GetEnumerator_mA457B3CB61E2B7BAFB0F7D0ADEFD25237B4429DF(L_47, /*hidden argument*/List_1_GetEnumerator_mA457B3CB61E2B7BAFB0F7D0ADEFD25237B4429DF_RuntimeMethod_var);
V_12 = L_48;
}
IL_0122:
try
{ // begin try (depth: 1)
{
goto IL_0192;
}
IL_0124:
{
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_49 = Enumerator_get_Current_m9422C22943D0E9900CDB7DF407D9EBE215B2A6B6_inline((Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 *)(&V_12), /*hidden argument*/Enumerator_get_Current_m9422C22943D0E9900CDB7DF407D9EBE215B2A6B6_RuntimeMethod_var);
V_13 = L_49;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_50 = V_13;
NullCheck(L_50);
int32_t L_51 = L_50->get_stretchWidth_5();
V_14 = (bool)((!(((uint32_t)L_51) <= ((uint32_t)0)))? 1 : 0);
bool L_52 = V_14;
if (!L_52)
{
goto IL_0160;
}
}
IL_013e:
{
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_53 = V_13;
float L_54 = V_10;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_55 = V_13;
NullCheck(L_55);
int32_t L_56 = VirtFuncInvoker0< int32_t >::Invoke(4 /* System.Int32 UnityEngine.GUILayoutEntry::get_marginLeft() */, L_55);
float L_57 = V_11;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_58 = V_13;
NullCheck(L_58);
int32_t L_59 = GUILayoutEntry_get_marginHorizontal_m1FB1B936E7C702BAD92FE4CA1EEC529A2BECCEC4(L_58, /*hidden argument*/NULL);
NullCheck(L_53);
VirtActionInvoker2< float, float >::Invoke(10 /* System.Void UnityEngine.GUILayoutEntry::SetHorizontal(System.Single,System.Single) */, L_53, ((float)il2cpp_codegen_add((float)L_54, (float)(((float)((float)L_56))))), ((float)il2cpp_codegen_subtract((float)L_57, (float)(((float)((float)L_59))))));
goto IL_0191;
}
IL_0160:
{
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_60 = V_13;
float L_61 = V_10;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_62 = V_13;
NullCheck(L_62);
int32_t L_63 = VirtFuncInvoker0< int32_t >::Invoke(4 /* System.Int32 UnityEngine.GUILayoutEntry::get_marginLeft() */, L_62);
float L_64 = V_11;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_65 = V_13;
NullCheck(L_65);
int32_t L_66 = GUILayoutEntry_get_marginHorizontal_m1FB1B936E7C702BAD92FE4CA1EEC529A2BECCEC4(L_65, /*hidden argument*/NULL);
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_67 = V_13;
NullCheck(L_67);
float L_68 = L_67->get_minWidth_0();
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_69 = V_13;
NullCheck(L_69);
float L_70 = L_69->get_maxWidth_1();
IL2CPP_RUNTIME_CLASS_INIT(Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var);
float L_71 = Mathf_Clamp_m033DD894F89E6DCCDAFC580091053059C86A4507(((float)il2cpp_codegen_subtract((float)L_64, (float)(((float)((float)L_66))))), L_68, L_70, /*hidden argument*/NULL);
NullCheck(L_60);
VirtActionInvoker2< float, float >::Invoke(10 /* System.Void UnityEngine.GUILayoutEntry::SetHorizontal(System.Single,System.Single) */, L_60, ((float)il2cpp_codegen_add((float)L_61, (float)(((float)((float)L_63))))), L_71);
}
IL_0191:
{
}
IL_0192:
{
bool L_72 = Enumerator_MoveNext_m3A0A0A98E9378A32A74EC51C4CAB6C564001CAC7((Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 *)(&V_12), /*hidden argument*/Enumerator_MoveNext_m3A0A0A98E9378A32A74EC51C4CAB6C564001CAC7_RuntimeMethod_var);
if (L_72)
{
goto IL_0124;
}
}
IL_019b:
{
IL2CPP_LEAVE(0x1AC, FINALLY_019d);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_019d;
}
FINALLY_019d:
{ // begin finally (depth: 1)
Enumerator_Dispose_mB540C90AE8EBE0EB3D63A6ACE5EC863FAD1419B2((Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 *)(&V_12), /*hidden argument*/Enumerator_Dispose_mB540C90AE8EBE0EB3D63A6ACE5EC863FAD1419B2_RuntimeMethod_var);
IL2CPP_END_FINALLY(413)
} // end finally (depth: 1)
IL2CPP_CLEANUP(413)
{
IL2CPP_JUMP_TBL(0x1AC, IL_01ac)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_01ac:
{
}
IL_01ad:
{
goto IL_03b2;
}
IL_01b3:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_73 = GUILayoutEntry_get_style_m70E386A3289ACFEC515B1358827AB2FBF6314BA4(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_74 = GUIStyle_get_none_m2B48FA4E2FA2B9BB7A458DF25B1391F9C7BB8B7B(/*hidden argument*/NULL);
V_20 = (bool)((((int32_t)((((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_73) == ((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_74))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_75 = V_20;
if (!L_75)
{
goto IL_0245;
}
}
{
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_76 = V_0;
NullCheck(L_76);
int32_t L_77 = RectOffset_get_left_mA86EC00866C1940134873E3A1565A1F700DE67AD(L_76, /*hidden argument*/NULL);
V_21 = (((float)((float)L_77)));
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_78 = V_0;
NullCheck(L_78);
int32_t L_79 = RectOffset_get_right_m9B05958C3C1B31F1FAB8675834A492C7208F6C96(L_78, /*hidden argument*/NULL);
V_22 = (((float)((float)L_79)));
List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * L_80 = __this->get_entries_11();
NullCheck(L_80);
int32_t L_81 = List_1_get_Count_m2995506A297520F84CBD9AD421D8672D5755E115_inline(L_80, /*hidden argument*/List_1_get_Count_m2995506A297520F84CBD9AD421D8672D5755E115_RuntimeMethod_var);
V_23 = (bool)((!(((uint32_t)L_81) <= ((uint32_t)0)))? 1 : 0);
bool L_82 = V_23;
if (!L_82)
{
goto IL_0235;
}
}
{
float L_83 = V_21;
List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * L_84 = __this->get_entries_11();
NullCheck(L_84);
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_85 = List_1_get_Item_m96FCB482CBADC5AD4AD5F01B7A0B822AF619D388_inline(L_84, 0, /*hidden argument*/List_1_get_Item_m96FCB482CBADC5AD4AD5F01B7A0B822AF619D388_RuntimeMethod_var);
NullCheck(L_85);
int32_t L_86 = VirtFuncInvoker0< int32_t >::Invoke(4 /* System.Int32 UnityEngine.GUILayoutEntry::get_marginLeft() */, L_85);
IL2CPP_RUNTIME_CLASS_INIT(Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var);
float L_87 = Mathf_Max_m670AE0EC1B09ED1A56FF9606B0F954670319CB65(L_83, (((float)((float)L_86))), /*hidden argument*/NULL);
V_21 = L_87;
float L_88 = V_22;
List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * L_89 = __this->get_entries_11();
List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * L_90 = __this->get_entries_11();
NullCheck(L_90);
int32_t L_91 = List_1_get_Count_m2995506A297520F84CBD9AD421D8672D5755E115_inline(L_90, /*hidden argument*/List_1_get_Count_m2995506A297520F84CBD9AD421D8672D5755E115_RuntimeMethod_var);
NullCheck(L_89);
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_92 = List_1_get_Item_m96FCB482CBADC5AD4AD5F01B7A0B822AF619D388_inline(L_89, ((int32_t)il2cpp_codegen_subtract((int32_t)L_91, (int32_t)1)), /*hidden argument*/List_1_get_Item_m96FCB482CBADC5AD4AD5F01B7A0B822AF619D388_RuntimeMethod_var);
NullCheck(L_92);
int32_t L_93 = VirtFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 UnityEngine.GUILayoutEntry::get_marginRight() */, L_92);
float L_94 = Mathf_Max_m670AE0EC1B09ED1A56FF9606B0F954670319CB65(L_88, (((float)((float)L_93))), /*hidden argument*/NULL);
V_22 = L_94;
}
IL_0235:
{
float L_95 = ___x0;
float L_96 = V_21;
___x0 = ((float)il2cpp_codegen_add((float)L_95, (float)L_96));
float L_97 = ___width1;
float L_98 = V_22;
float L_99 = V_21;
___width1 = ((float)il2cpp_codegen_subtract((float)L_97, (float)((float)il2cpp_codegen_add((float)L_98, (float)L_99))));
}
IL_0245:
{
float L_100 = ___width1;
float L_101 = __this->get_spacing_14();
List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * L_102 = __this->get_entries_11();
NullCheck(L_102);
int32_t L_103 = List_1_get_Count_m2995506A297520F84CBD9AD421D8672D5755E115_inline(L_102, /*hidden argument*/List_1_get_Count_m2995506A297520F84CBD9AD421D8672D5755E115_RuntimeMethod_var);
V_15 = ((float)il2cpp_codegen_subtract((float)L_100, (float)((float)il2cpp_codegen_multiply((float)L_101, (float)(((float)((float)((int32_t)il2cpp_codegen_subtract((int32_t)L_103, (int32_t)1)))))))));
V_16 = (0.0f);
float L_104 = __this->get_m_ChildMinWidth_23();
float L_105 = __this->get_m_ChildMaxWidth_24();
V_24 = (bool)((((int32_t)((((float)L_104) == ((float)L_105))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_106 = V_24;
if (!L_106)
{
goto IL_02a4;
}
}
{
float L_107 = V_15;
float L_108 = __this->get_m_ChildMinWidth_23();
float L_109 = __this->get_m_ChildMaxWidth_24();
float L_110 = __this->get_m_ChildMinWidth_23();
IL2CPP_RUNTIME_CLASS_INIT(Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var);
float L_111 = Mathf_Clamp_m033DD894F89E6DCCDAFC580091053059C86A4507(((float)((float)((float)il2cpp_codegen_subtract((float)L_107, (float)L_108))/(float)((float)il2cpp_codegen_subtract((float)L_109, (float)L_110)))), (0.0f), (1.0f), /*hidden argument*/NULL);
V_16 = L_111;
}
IL_02a4:
{
V_17 = (0.0f);
float L_112 = V_15;
float L_113 = __this->get_m_ChildMaxWidth_24();
V_25 = (bool)((((float)L_112) > ((float)L_113))? 1 : 0);
bool L_114 = V_25;
if (!L_114)
{
goto IL_02e1;
}
}
{
int32_t L_115 = __this->get_m_StretchableCountX_19();
V_26 = (bool)((((int32_t)L_115) > ((int32_t)0))? 1 : 0);
bool L_116 = V_26;
if (!L_116)
{
goto IL_02e0;
}
}
{
float L_117 = V_15;
float L_118 = __this->get_m_ChildMaxWidth_24();
int32_t L_119 = __this->get_m_StretchableCountX_19();
V_17 = ((float)((float)((float)il2cpp_codegen_subtract((float)L_117, (float)L_118))/(float)(((float)((float)L_119)))));
}
IL_02e0:
{
}
IL_02e1:
{
V_18 = 0;
V_19 = (bool)1;
List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * L_120 = __this->get_entries_11();
NullCheck(L_120);
Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 L_121 = List_1_GetEnumerator_mA457B3CB61E2B7BAFB0F7D0ADEFD25237B4429DF(L_120, /*hidden argument*/List_1_GetEnumerator_mA457B3CB61E2B7BAFB0F7D0ADEFD25237B4429DF_RuntimeMethod_var);
V_27 = L_121;
}
IL_02f5:
try
{ // begin try (depth: 1)
{
goto IL_0394;
}
IL_02fa:
{
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_122 = Enumerator_get_Current_m9422C22943D0E9900CDB7DF407D9EBE215B2A6B6_inline((Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 *)(&V_27), /*hidden argument*/Enumerator_get_Current_m9422C22943D0E9900CDB7DF407D9EBE215B2A6B6_RuntimeMethod_var);
V_28 = L_122;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_123 = V_28;
NullCheck(L_123);
float L_124 = L_123->get_minWidth_0();
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_125 = V_28;
NullCheck(L_125);
float L_126 = L_125->get_maxWidth_1();
float L_127 = V_16;
IL2CPP_RUNTIME_CLASS_INIT(Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var);
float L_128 = Mathf_Lerp_m9A74C5A0C37D0CDF45EE66E7774D12A9B93B1364(L_124, L_126, L_127, /*hidden argument*/NULL);
V_29 = L_128;
float L_129 = V_29;
float L_130 = V_17;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_131 = V_28;
NullCheck(L_131);
int32_t L_132 = L_131->get_stretchWidth_5();
V_29 = ((float)il2cpp_codegen_add((float)L_129, (float)((float)il2cpp_codegen_multiply((float)L_130, (float)(((float)((float)L_132)))))));
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_133 = V_28;
NullCheck(L_133);
bool L_134 = L_133->get_consideredForMargin_7();
V_30 = L_134;
bool L_135 = V_30;
if (!L_135)
{
goto IL_0371;
}
}
IL_0338:
{
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_136 = V_28;
NullCheck(L_136);
int32_t L_137 = VirtFuncInvoker0< int32_t >::Invoke(4 /* System.Int32 UnityEngine.GUILayoutEntry::get_marginLeft() */, L_136);
V_31 = L_137;
bool L_138 = V_19;
V_33 = L_138;
bool L_139 = V_33;
if (!L_139)
{
goto IL_0352;
}
}
IL_034a:
{
V_31 = 0;
V_19 = (bool)0;
}
IL_0352:
{
int32_t L_140 = V_18;
int32_t L_141 = V_31;
if ((((int32_t)L_140) > ((int32_t)L_141)))
{
goto IL_035c;
}
}
IL_0358:
{
int32_t L_142 = V_31;
G_B43_0 = L_142;
goto IL_035e;
}
IL_035c:
{
int32_t L_143 = V_18;
G_B43_0 = L_143;
}
IL_035e:
{
V_32 = G_B43_0;
float L_144 = ___x0;
int32_t L_145 = V_32;
___x0 = ((float)il2cpp_codegen_add((float)L_144, (float)(((float)((float)L_145)))));
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_146 = V_28;
NullCheck(L_146);
int32_t L_147 = VirtFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 UnityEngine.GUILayoutEntry::get_marginRight() */, L_146);
V_18 = L_147;
}
IL_0371:
{
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_148 = V_28;
float L_149 = ___x0;
IL2CPP_RUNTIME_CLASS_INIT(Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var);
float L_150 = bankers_roundf(L_149);
float L_151 = V_29;
float L_152 = bankers_roundf(L_151);
NullCheck(L_148);
VirtActionInvoker2< float, float >::Invoke(10 /* System.Void UnityEngine.GUILayoutEntry::SetHorizontal(System.Single,System.Single) */, L_148, L_150, L_152);
float L_153 = ___x0;
float L_154 = V_29;
float L_155 = __this->get_spacing_14();
___x0 = ((float)il2cpp_codegen_add((float)L_153, (float)((float)il2cpp_codegen_add((float)L_154, (float)L_155))));
}
IL_0394:
{
bool L_156 = Enumerator_MoveNext_m3A0A0A98E9378A32A74EC51C4CAB6C564001CAC7((Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 *)(&V_27), /*hidden argument*/Enumerator_MoveNext_m3A0A0A98E9378A32A74EC51C4CAB6C564001CAC7_RuntimeMethod_var);
if (L_156)
{
goto IL_02fa;
}
}
IL_03a0:
{
IL2CPP_LEAVE(0x3B1, FINALLY_03a2);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_03a2;
}
FINALLY_03a2:
{ // begin finally (depth: 1)
Enumerator_Dispose_mB540C90AE8EBE0EB3D63A6ACE5EC863FAD1419B2((Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 *)(&V_27), /*hidden argument*/Enumerator_Dispose_mB540C90AE8EBE0EB3D63A6ACE5EC863FAD1419B2_RuntimeMethod_var);
IL2CPP_END_FINALLY(930)
} // end finally (depth: 1)
IL2CPP_CLEANUP(930)
{
IL2CPP_JUMP_TBL(0x3B1, IL_03b1)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_03b1:
{
}
IL_03b2:
{
return;
}
}
// System.Void UnityEngine.GUILayoutGroup::CalcHeight()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutGroup_CalcHeight_m0511BD2172BC13D54ABC8DB5887A91C17E9F21BB (GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUILayoutGroup_CalcHeight_m0511BD2172BC13D54ABC8DB5887A91C17E9F21BB_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
float V_2 = 0.0f;
float V_3 = 0.0f;
bool V_4 = false;
float V_5 = 0.0f;
bool V_6 = false;
int32_t V_7 = 0;
bool V_8 = false;
Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 V_9;
memset((&V_9), 0, sizeof(V_9));
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * V_10 = NULL;
int32_t V_11 = 0;
bool V_12 = false;
bool V_13 = false;
bool V_14 = false;
bool V_15 = false;
Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 V_16;
memset((&V_16), 0, sizeof(V_16));
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * V_17 = NULL;
bool V_18 = false;
bool V_19 = false;
bool V_20 = false;
bool V_21 = false;
bool V_22 = false;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 2);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
int32_t G_B34_0 = 0;
int32_t G_B40_0 = 0;
int32_t G_B40_1 = 0;
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * G_B40_2 = NULL;
int32_t G_B39_0 = 0;
int32_t G_B39_1 = 0;
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * G_B39_2 = NULL;
int32_t G_B41_0 = 0;
int32_t G_B41_1 = 0;
int32_t G_B41_2 = 0;
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * G_B41_3 = NULL;
{
List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * L_0 = __this->get_entries_11();
NullCheck(L_0);
int32_t L_1 = List_1_get_Count_m2995506A297520F84CBD9AD421D8672D5755E115_inline(L_0, /*hidden argument*/List_1_get_Count_m2995506A297520F84CBD9AD421D8672D5755E115_RuntimeMethod_var);
V_4 = (bool)((((int32_t)L_1) == ((int32_t)0))? 1 : 0);
bool L_2 = V_4;
if (!L_2)
{
goto IL_003d;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_3 = GUILayoutEntry_get_style_m70E386A3289ACFEC515B1358827AB2FBF6314BA4(__this, /*hidden argument*/NULL);
NullCheck(L_3);
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_4 = GUIStyle_get_padding_m5DF76AA03A313366D0DD8D577731DAC4FB83053A(L_3, /*hidden argument*/NULL);
NullCheck(L_4);
int32_t L_5 = RectOffset_get_vertical_m89ED337C8D303C8994B2B056C05368E4286CFC5E(L_4, /*hidden argument*/NULL);
float L_6 = (((float)((float)L_5)));
V_5 = L_6;
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_minHeight_2(L_6);
float L_7 = V_5;
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_maxHeight_3(L_7);
goto IL_03fe;
}
IL_003d:
{
V_0 = 0;
V_1 = 0;
__this->set_m_ChildMinHeight_25((0.0f));
__this->set_m_ChildMaxHeight_26((0.0f));
__this->set_m_StretchableCountY_20(0);
bool L_8 = __this->get_isVertical_12();
V_6 = L_8;
bool L_9 = V_6;
if (!L_9)
{
goto IL_01e8;
}
}
{
V_7 = 0;
V_8 = (bool)1;
List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * L_10 = __this->get_entries_11();
NullCheck(L_10);
Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 L_11 = List_1_GetEnumerator_mA457B3CB61E2B7BAFB0F7D0ADEFD25237B4429DF(L_10, /*hidden argument*/List_1_GetEnumerator_mA457B3CB61E2B7BAFB0F7D0ADEFD25237B4429DF_RuntimeMethod_var);
V_9 = L_11;
}
IL_0082:
try
{ // begin try (depth: 1)
{
goto IL_016c;
}
IL_0087:
{
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_12 = Enumerator_get_Current_m9422C22943D0E9900CDB7DF407D9EBE215B2A6B6_inline((Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 *)(&V_9), /*hidden argument*/Enumerator_get_Current_m9422C22943D0E9900CDB7DF407D9EBE215B2A6B6_RuntimeMethod_var);
V_10 = L_12;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_13 = V_10;
NullCheck(L_13);
VirtActionInvoker0::Invoke(9 /* System.Void UnityEngine.GUILayoutEntry::CalcHeight() */, L_13);
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_14 = V_10;
NullCheck(L_14);
bool L_15 = L_14->get_consideredForMargin_7();
V_12 = L_15;
bool L_16 = V_12;
if (!L_16)
{
goto IL_012d;
}
}
IL_00a9:
{
bool L_17 = V_8;
V_13 = (bool)((((int32_t)L_17) == ((int32_t)0))? 1 : 0);
bool L_18 = V_13;
if (!L_18)
{
goto IL_00c7;
}
}
IL_00b5:
{
int32_t L_19 = V_7;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_20 = V_10;
NullCheck(L_20);
int32_t L_21 = VirtFuncInvoker0< int32_t >::Invoke(6 /* System.Int32 UnityEngine.GUILayoutEntry::get_marginTop() */, L_20);
IL2CPP_RUNTIME_CLASS_INIT(Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var);
int32_t L_22 = Mathf_Max_mBDE4C6F1883EE3215CD7AE62550B2AC90592BC3F(L_19, L_21, /*hidden argument*/NULL);
V_11 = L_22;
goto IL_00cf;
}
IL_00c7:
{
V_11 = 0;
V_8 = (bool)0;
}
IL_00cf:
{
float L_23 = __this->get_m_ChildMinHeight_25();
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_24 = V_10;
NullCheck(L_24);
float L_25 = L_24->get_minHeight_2();
float L_26 = __this->get_spacing_14();
int32_t L_27 = V_11;
__this->set_m_ChildMinHeight_25(((float)il2cpp_codegen_add((float)L_23, (float)((float)il2cpp_codegen_add((float)((float)il2cpp_codegen_add((float)L_25, (float)L_26)), (float)(((float)((float)L_27))))))));
float L_28 = __this->get_m_ChildMaxHeight_26();
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_29 = V_10;
NullCheck(L_29);
float L_30 = L_29->get_maxHeight_3();
float L_31 = __this->get_spacing_14();
int32_t L_32 = V_11;
__this->set_m_ChildMaxHeight_26(((float)il2cpp_codegen_add((float)L_28, (float)((float)il2cpp_codegen_add((float)((float)il2cpp_codegen_add((float)L_30, (float)L_31)), (float)(((float)((float)L_32))))))));
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_33 = V_10;
NullCheck(L_33);
int32_t L_34 = VirtFuncInvoker0< int32_t >::Invoke(7 /* System.Int32 UnityEngine.GUILayoutEntry::get_marginBottom() */, L_33);
V_7 = L_34;
int32_t L_35 = __this->get_m_StretchableCountY_20();
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_36 = V_10;
NullCheck(L_36);
int32_t L_37 = L_36->get_stretchHeight_6();
__this->set_m_StretchableCountY_20(((int32_t)il2cpp_codegen_add((int32_t)L_35, (int32_t)L_37)));
goto IL_016b;
}
IL_012d:
{
float L_38 = __this->get_m_ChildMinHeight_25();
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_39 = V_10;
NullCheck(L_39);
float L_40 = L_39->get_minHeight_2();
__this->set_m_ChildMinHeight_25(((float)il2cpp_codegen_add((float)L_38, (float)L_40)));
float L_41 = __this->get_m_ChildMaxHeight_26();
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_42 = V_10;
NullCheck(L_42);
float L_43 = L_42->get_maxHeight_3();
__this->set_m_ChildMaxHeight_26(((float)il2cpp_codegen_add((float)L_41, (float)L_43)));
int32_t L_44 = __this->get_m_StretchableCountY_20();
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_45 = V_10;
NullCheck(L_45);
int32_t L_46 = L_45->get_stretchHeight_6();
__this->set_m_StretchableCountY_20(((int32_t)il2cpp_codegen_add((int32_t)L_44, (int32_t)L_46)));
}
IL_016b:
{
}
IL_016c:
{
bool L_47 = Enumerator_MoveNext_m3A0A0A98E9378A32A74EC51C4CAB6C564001CAC7((Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 *)(&V_9), /*hidden argument*/Enumerator_MoveNext_m3A0A0A98E9378A32A74EC51C4CAB6C564001CAC7_RuntimeMethod_var);
if (L_47)
{
goto IL_0087;
}
}
IL_0178:
{
IL2CPP_LEAVE(0x189, FINALLY_017a);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_017a;
}
FINALLY_017a:
{ // begin finally (depth: 1)
Enumerator_Dispose_mB540C90AE8EBE0EB3D63A6ACE5EC863FAD1419B2((Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 *)(&V_9), /*hidden argument*/Enumerator_Dispose_mB540C90AE8EBE0EB3D63A6ACE5EC863FAD1419B2_RuntimeMethod_var);
IL2CPP_END_FINALLY(378)
} // end finally (depth: 1)
IL2CPP_CLEANUP(378)
{
IL2CPP_JUMP_TBL(0x189, IL_0189)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0189:
{
float L_48 = __this->get_m_ChildMinHeight_25();
float L_49 = __this->get_spacing_14();
__this->set_m_ChildMinHeight_25(((float)il2cpp_codegen_subtract((float)L_48, (float)L_49)));
float L_50 = __this->get_m_ChildMaxHeight_26();
float L_51 = __this->get_spacing_14();
__this->set_m_ChildMaxHeight_26(((float)il2cpp_codegen_subtract((float)L_50, (float)L_51)));
List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * L_52 = __this->get_entries_11();
NullCheck(L_52);
int32_t L_53 = List_1_get_Count_m2995506A297520F84CBD9AD421D8672D5755E115_inline(L_52, /*hidden argument*/List_1_get_Count_m2995506A297520F84CBD9AD421D8672D5755E115_RuntimeMethod_var);
V_14 = (bool)((!(((uint32_t)L_53) <= ((uint32_t)0)))? 1 : 0);
bool L_54 = V_14;
if (!L_54)
{
goto IL_01dc;
}
}
{
List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * L_55 = __this->get_entries_11();
NullCheck(L_55);
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_56 = List_1_get_Item_m96FCB482CBADC5AD4AD5F01B7A0B822AF619D388_inline(L_55, 0, /*hidden argument*/List_1_get_Item_m96FCB482CBADC5AD4AD5F01B7A0B822AF619D388_RuntimeMethod_var);
NullCheck(L_56);
int32_t L_57 = VirtFuncInvoker0< int32_t >::Invoke(6 /* System.Int32 UnityEngine.GUILayoutEntry::get_marginTop() */, L_56);
V_0 = L_57;
int32_t L_58 = V_7;
V_1 = L_58;
goto IL_01e2;
}
IL_01dc:
{
int32_t L_59 = 0;
V_0 = L_59;
V_1 = L_59;
}
IL_01e2:
{
goto IL_02c3;
}
IL_01e8:
{
V_15 = (bool)1;
List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * L_60 = __this->get_entries_11();
NullCheck(L_60);
Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 L_61 = List_1_GetEnumerator_mA457B3CB61E2B7BAFB0F7D0ADEFD25237B4429DF(L_60, /*hidden argument*/List_1_GetEnumerator_mA457B3CB61E2B7BAFB0F7D0ADEFD25237B4429DF_RuntimeMethod_var);
V_16 = L_61;
}
IL_01fa:
try
{ // begin try (depth: 1)
{
goto IL_02a5;
}
IL_01ff:
{
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_62 = Enumerator_get_Current_m9422C22943D0E9900CDB7DF407D9EBE215B2A6B6_inline((Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 *)(&V_16), /*hidden argument*/Enumerator_get_Current_m9422C22943D0E9900CDB7DF407D9EBE215B2A6B6_RuntimeMethod_var);
V_17 = L_62;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_63 = V_17;
NullCheck(L_63);
VirtActionInvoker0::Invoke(9 /* System.Void UnityEngine.GUILayoutEntry::CalcHeight() */, L_63);
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_64 = V_17;
NullCheck(L_64);
bool L_65 = L_64->get_consideredForMargin_7();
V_18 = L_65;
bool L_66 = V_18;
if (!L_66)
{
goto IL_0290;
}
}
IL_021e:
{
bool L_67 = V_15;
V_19 = (bool)((((int32_t)L_67) == ((int32_t)0))? 1 : 0);
bool L_68 = V_19;
if (!L_68)
{
goto IL_024a;
}
}
IL_022a:
{
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_69 = V_17;
NullCheck(L_69);
int32_t L_70 = VirtFuncInvoker0< int32_t >::Invoke(6 /* System.Int32 UnityEngine.GUILayoutEntry::get_marginTop() */, L_69);
int32_t L_71 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var);
int32_t L_72 = Mathf_Min_m1A2CC204E361AE13C329B6535165179798D3313A(L_70, L_71, /*hidden argument*/NULL);
V_0 = L_72;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_73 = V_17;
NullCheck(L_73);
int32_t L_74 = VirtFuncInvoker0< int32_t >::Invoke(7 /* System.Int32 UnityEngine.GUILayoutEntry::get_marginBottom() */, L_73);
int32_t L_75 = V_1;
int32_t L_76 = Mathf_Min_m1A2CC204E361AE13C329B6535165179798D3313A(L_74, L_75, /*hidden argument*/NULL);
V_1 = L_76;
goto IL_025f;
}
IL_024a:
{
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_77 = V_17;
NullCheck(L_77);
int32_t L_78 = VirtFuncInvoker0< int32_t >::Invoke(6 /* System.Int32 UnityEngine.GUILayoutEntry::get_marginTop() */, L_77);
V_0 = L_78;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_79 = V_17;
NullCheck(L_79);
int32_t L_80 = VirtFuncInvoker0< int32_t >::Invoke(7 /* System.Int32 UnityEngine.GUILayoutEntry::get_marginBottom() */, L_79);
V_1 = L_80;
V_15 = (bool)0;
}
IL_025f:
{
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_81 = V_17;
NullCheck(L_81);
float L_82 = L_81->get_minHeight_2();
float L_83 = __this->get_m_ChildMinHeight_25();
IL2CPP_RUNTIME_CLASS_INIT(Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var);
float L_84 = Mathf_Max_m670AE0EC1B09ED1A56FF9606B0F954670319CB65(L_82, L_83, /*hidden argument*/NULL);
__this->set_m_ChildMinHeight_25(L_84);
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_85 = V_17;
NullCheck(L_85);
float L_86 = L_85->get_maxHeight_3();
float L_87 = __this->get_m_ChildMaxHeight_26();
float L_88 = Mathf_Max_m670AE0EC1B09ED1A56FF9606B0F954670319CB65(L_86, L_87, /*hidden argument*/NULL);
__this->set_m_ChildMaxHeight_26(L_88);
}
IL_0290:
{
int32_t L_89 = __this->get_m_StretchableCountY_20();
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_90 = V_17;
NullCheck(L_90);
int32_t L_91 = L_90->get_stretchHeight_6();
__this->set_m_StretchableCountY_20(((int32_t)il2cpp_codegen_add((int32_t)L_89, (int32_t)L_91)));
}
IL_02a5:
{
bool L_92 = Enumerator_MoveNext_m3A0A0A98E9378A32A74EC51C4CAB6C564001CAC7((Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 *)(&V_16), /*hidden argument*/Enumerator_MoveNext_m3A0A0A98E9378A32A74EC51C4CAB6C564001CAC7_RuntimeMethod_var);
if (L_92)
{
goto IL_01ff;
}
}
IL_02b1:
{
IL2CPP_LEAVE(0x2C2, FINALLY_02b3);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_02b3;
}
FINALLY_02b3:
{ // begin finally (depth: 1)
Enumerator_Dispose_mB540C90AE8EBE0EB3D63A6ACE5EC863FAD1419B2((Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 *)(&V_16), /*hidden argument*/Enumerator_Dispose_mB540C90AE8EBE0EB3D63A6ACE5EC863FAD1419B2_RuntimeMethod_var);
IL2CPP_END_FINALLY(691)
} // end finally (depth: 1)
IL2CPP_CLEANUP(691)
{
IL2CPP_JUMP_TBL(0x2C2, IL_02c2)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_02c2:
{
}
IL_02c3:
{
V_2 = (0.0f);
V_3 = (0.0f);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_93 = GUILayoutEntry_get_style_m70E386A3289ACFEC515B1358827AB2FBF6314BA4(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_94 = GUIStyle_get_none_m2B48FA4E2FA2B9BB7A458DF25B1391F9C7BB8B7B(/*hidden argument*/NULL);
if ((!(((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_93) == ((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_94))))
{
goto IL_02e4;
}
}
{
bool L_95 = __this->get_m_UserSpecifiedHeight_22();
G_B34_0 = ((int32_t)(L_95));
goto IL_02e5;
}
IL_02e4:
{
G_B34_0 = 1;
}
IL_02e5:
{
V_20 = (bool)G_B34_0;
bool L_96 = V_20;
if (!L_96)
{
goto IL_031f;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_97 = GUILayoutEntry_get_style_m70E386A3289ACFEC515B1358827AB2FBF6314BA4(__this, /*hidden argument*/NULL);
NullCheck(L_97);
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_98 = GUIStyle_get_padding_m5DF76AA03A313366D0DD8D577731DAC4FB83053A(L_97, /*hidden argument*/NULL);
NullCheck(L_98);
int32_t L_99 = RectOffset_get_top_mBA813D4147BFBC079933054018437F411B6B41E1(L_98, /*hidden argument*/NULL);
int32_t L_100 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var);
int32_t L_101 = Mathf_Max_mBDE4C6F1883EE3215CD7AE62550B2AC90592BC3F(L_99, L_100, /*hidden argument*/NULL);
V_2 = (((float)((float)L_101)));
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_102 = GUILayoutEntry_get_style_m70E386A3289ACFEC515B1358827AB2FBF6314BA4(__this, /*hidden argument*/NULL);
NullCheck(L_102);
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_103 = GUIStyle_get_padding_m5DF76AA03A313366D0DD8D577731DAC4FB83053A(L_102, /*hidden argument*/NULL);
NullCheck(L_103);
int32_t L_104 = RectOffset_get_bottom_mE5162CADD266B59539E3EE1967EE9A74705E5632(L_103, /*hidden argument*/NULL);
int32_t L_105 = V_1;
int32_t L_106 = Mathf_Max_mBDE4C6F1883EE3215CD7AE62550B2AC90592BC3F(L_104, L_105, /*hidden argument*/NULL);
V_3 = (((float)((float)L_106)));
goto IL_0337;
}
IL_031f:
{
int32_t L_107 = V_0;
__this->set_m_MarginTop_29(L_107);
int32_t L_108 = V_1;
__this->set_m_MarginBottom_30(L_108);
float L_109 = (0.0f);
V_3 = L_109;
V_2 = L_109;
}
IL_0337:
{
float L_110 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->get_minHeight_2();
float L_111 = __this->get_m_ChildMinHeight_25();
float L_112 = V_2;
float L_113 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var);
float L_114 = Mathf_Max_m670AE0EC1B09ED1A56FF9606B0F954670319CB65(L_110, ((float)il2cpp_codegen_add((float)((float)il2cpp_codegen_add((float)L_111, (float)L_112)), (float)L_113)), /*hidden argument*/NULL);
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_minHeight_2(L_114);
float L_115 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->get_maxHeight_3();
V_21 = (bool)((((float)L_115) == ((float)(0.0f)))? 1 : 0);
bool L_116 = V_21;
if (!L_116)
{
goto IL_039e;
}
}
{
int32_t L_117 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->get_stretchHeight_6();
int32_t L_118 = __this->get_m_StretchableCountY_20();
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_119 = GUILayoutEntry_get_style_m70E386A3289ACFEC515B1358827AB2FBF6314BA4(__this, /*hidden argument*/NULL);
NullCheck(L_119);
bool L_120 = GUIStyle_get_stretchHeight_m264308B18FA5F0A8400CF49945BAE1B9EFDC934F(L_119, /*hidden argument*/NULL);
G_B39_0 = L_118;
G_B39_1 = L_117;
G_B39_2 = __this;
if (L_120)
{
G_B40_0 = L_118;
G_B40_1 = L_117;
G_B40_2 = __this;
goto IL_0383;
}
}
{
G_B41_0 = 0;
G_B41_1 = G_B39_0;
G_B41_2 = G_B39_1;
G_B41_3 = G_B39_2;
goto IL_0384;
}
IL_0383:
{
G_B41_0 = 1;
G_B41_1 = G_B40_0;
G_B41_2 = G_B40_1;
G_B41_3 = G_B40_2;
}
IL_0384:
{
NullCheck(G_B41_3);
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)G_B41_3)->set_stretchHeight_6(((int32_t)il2cpp_codegen_add((int32_t)G_B41_2, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)G_B41_1, (int32_t)G_B41_0)))));
float L_121 = __this->get_m_ChildMaxHeight_26();
float L_122 = V_2;
float L_123 = V_3;
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_maxHeight_3(((float)il2cpp_codegen_add((float)((float)il2cpp_codegen_add((float)L_121, (float)L_122)), (float)L_123)));
goto IL_03a7;
}
IL_039e:
{
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_stretchHeight_6(0);
}
IL_03a7:
{
float L_124 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->get_maxHeight_3();
float L_125 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->get_minHeight_2();
IL2CPP_RUNTIME_CLASS_INIT(Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var);
float L_126 = Mathf_Max_m670AE0EC1B09ED1A56FF9606B0F954670319CB65(L_124, L_125, /*hidden argument*/NULL);
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_maxHeight_3(L_126);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_127 = GUILayoutEntry_get_style_m70E386A3289ACFEC515B1358827AB2FBF6314BA4(__this, /*hidden argument*/NULL);
NullCheck(L_127);
float L_128 = GUIStyle_get_fixedHeight_m9B5589C95B27C5590219413E8D7E9E1E95EB7708(L_127, /*hidden argument*/NULL);
V_22 = (bool)((((int32_t)((((float)L_128) == ((float)(0.0f)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_129 = V_22;
if (!L_129)
{
goto IL_03fe;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_130 = GUILayoutEntry_get_style_m70E386A3289ACFEC515B1358827AB2FBF6314BA4(__this, /*hidden argument*/NULL);
NullCheck(L_130);
float L_131 = GUIStyle_get_fixedHeight_m9B5589C95B27C5590219413E8D7E9E1E95EB7708(L_130, /*hidden argument*/NULL);
float L_132 = L_131;
V_5 = L_132;
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_minHeight_2(L_132);
float L_133 = V_5;
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_maxHeight_3(L_133);
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_stretchHeight_6(0);
}
IL_03fe:
{
return;
}
}
// System.Void UnityEngine.GUILayoutGroup::SetVertical(System.Single,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutGroup_SetVertical_m29D8744D2D1464EF4E6E4008CD21F5E44D6CB146 (GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * __this, float ___y0, float ___height1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUILayoutGroup_SetVertical_m29D8744D2D1464EF4E6E4008CD21F5E44D6CB146_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * V_0 = NULL;
bool V_1 = false;
bool V_2 = false;
bool V_3 = false;
float V_4 = 0.0f;
float V_5 = 0.0f;
float V_6 = 0.0f;
int32_t V_7 = 0;
bool V_8 = false;
bool V_9 = false;
float V_10 = 0.0f;
float V_11 = 0.0f;
bool V_12 = false;
bool V_13 = false;
bool V_14 = false;
bool V_15 = false;
Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 V_16;
memset((&V_16), 0, sizeof(V_16));
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * V_17 = NULL;
float V_18 = 0.0f;
bool V_19 = false;
int32_t V_20 = 0;
int32_t V_21 = 0;
bool V_22 = false;
bool V_23 = false;
Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 V_24;
memset((&V_24), 0, sizeof(V_24));
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * V_25 = NULL;
float V_26 = 0.0f;
float V_27 = 0.0f;
float V_28 = 0.0f;
bool V_29 = false;
float V_30 = 0.0f;
float V_31 = 0.0f;
Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 V_32;
memset((&V_32), 0, sizeof(V_32));
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * V_33 = NULL;
bool V_34 = false;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 3);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
int32_t G_B23_0 = 0;
{
float L_0 = ___y0;
float L_1 = ___height1;
GUILayoutEntry_SetVertical_mC0E71E5E431907DD1900C707BD3E2E1D0795DDD0(__this, L_0, L_1, /*hidden argument*/NULL);
List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * L_2 = __this->get_entries_11();
NullCheck(L_2);
int32_t L_3 = List_1_get_Count_m2995506A297520F84CBD9AD421D8672D5755E115_inline(L_2, /*hidden argument*/List_1_get_Count_m2995506A297520F84CBD9AD421D8672D5755E115_RuntimeMethod_var);
V_1 = (bool)((((int32_t)L_3) == ((int32_t)0))? 1 : 0);
bool L_4 = V_1;
if (!L_4)
{
goto IL_0021;
}
}
{
goto IL_03c7;
}
IL_0021:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_5 = GUILayoutEntry_get_style_m70E386A3289ACFEC515B1358827AB2FBF6314BA4(__this, /*hidden argument*/NULL);
NullCheck(L_5);
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_6 = GUIStyle_get_padding_m5DF76AA03A313366D0DD8D577731DAC4FB83053A(L_5, /*hidden argument*/NULL);
V_0 = L_6;
bool L_7 = __this->get_resetCoords_13();
V_2 = L_7;
bool L_8 = V_2;
if (!L_8)
{
goto IL_003e;
}
}
{
___y0 = (0.0f);
}
IL_003e:
{
bool L_9 = __this->get_isVertical_12();
V_3 = L_9;
bool L_10 = V_3;
if (!L_10)
{
goto IL_024d;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_11 = GUILayoutEntry_get_style_m70E386A3289ACFEC515B1358827AB2FBF6314BA4(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_12 = GUIStyle_get_none_m2B48FA4E2FA2B9BB7A458DF25B1391F9C7BB8B7B(/*hidden argument*/NULL);
V_9 = (bool)((((int32_t)((((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_11) == ((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_12))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_13 = V_9;
if (!L_13)
{
goto IL_00dd;
}
}
{
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_14 = V_0;
NullCheck(L_14);
int32_t L_15 = RectOffset_get_top_mBA813D4147BFBC079933054018437F411B6B41E1(L_14, /*hidden argument*/NULL);
V_10 = (((float)((float)L_15)));
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_16 = V_0;
NullCheck(L_16);
int32_t L_17 = RectOffset_get_bottom_mE5162CADD266B59539E3EE1967EE9A74705E5632(L_16, /*hidden argument*/NULL);
V_11 = (((float)((float)L_17)));
List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * L_18 = __this->get_entries_11();
NullCheck(L_18);
int32_t L_19 = List_1_get_Count_m2995506A297520F84CBD9AD421D8672D5755E115_inline(L_18, /*hidden argument*/List_1_get_Count_m2995506A297520F84CBD9AD421D8672D5755E115_RuntimeMethod_var);
V_12 = (bool)((!(((uint32_t)L_19) <= ((uint32_t)0)))? 1 : 0);
bool L_20 = V_12;
if (!L_20)
{
goto IL_00cd;
}
}
{
float L_21 = V_10;
List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * L_22 = __this->get_entries_11();
NullCheck(L_22);
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_23 = List_1_get_Item_m96FCB482CBADC5AD4AD5F01B7A0B822AF619D388_inline(L_22, 0, /*hidden argument*/List_1_get_Item_m96FCB482CBADC5AD4AD5F01B7A0B822AF619D388_RuntimeMethod_var);
NullCheck(L_23);
int32_t L_24 = VirtFuncInvoker0< int32_t >::Invoke(6 /* System.Int32 UnityEngine.GUILayoutEntry::get_marginTop() */, L_23);
IL2CPP_RUNTIME_CLASS_INIT(Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var);
float L_25 = Mathf_Max_m670AE0EC1B09ED1A56FF9606B0F954670319CB65(L_21, (((float)((float)L_24))), /*hidden argument*/NULL);
V_10 = L_25;
float L_26 = V_11;
List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * L_27 = __this->get_entries_11();
List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * L_28 = __this->get_entries_11();
NullCheck(L_28);
int32_t L_29 = List_1_get_Count_m2995506A297520F84CBD9AD421D8672D5755E115_inline(L_28, /*hidden argument*/List_1_get_Count_m2995506A297520F84CBD9AD421D8672D5755E115_RuntimeMethod_var);
NullCheck(L_27);
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_30 = List_1_get_Item_m96FCB482CBADC5AD4AD5F01B7A0B822AF619D388_inline(L_27, ((int32_t)il2cpp_codegen_subtract((int32_t)L_29, (int32_t)1)), /*hidden argument*/List_1_get_Item_m96FCB482CBADC5AD4AD5F01B7A0B822AF619D388_RuntimeMethod_var);
NullCheck(L_30);
int32_t L_31 = VirtFuncInvoker0< int32_t >::Invoke(7 /* System.Int32 UnityEngine.GUILayoutEntry::get_marginBottom() */, L_30);
float L_32 = Mathf_Max_m670AE0EC1B09ED1A56FF9606B0F954670319CB65(L_26, (((float)((float)L_31))), /*hidden argument*/NULL);
V_11 = L_32;
}
IL_00cd:
{
float L_33 = ___y0;
float L_34 = V_10;
___y0 = ((float)il2cpp_codegen_add((float)L_33, (float)L_34));
float L_35 = ___height1;
float L_36 = V_11;
float L_37 = V_10;
___height1 = ((float)il2cpp_codegen_subtract((float)L_35, (float)((float)il2cpp_codegen_add((float)L_36, (float)L_37))));
}
IL_00dd:
{
float L_38 = ___height1;
float L_39 = __this->get_spacing_14();
List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * L_40 = __this->get_entries_11();
NullCheck(L_40);
int32_t L_41 = List_1_get_Count_m2995506A297520F84CBD9AD421D8672D5755E115_inline(L_40, /*hidden argument*/List_1_get_Count_m2995506A297520F84CBD9AD421D8672D5755E115_RuntimeMethod_var);
V_4 = ((float)il2cpp_codegen_subtract((float)L_38, (float)((float)il2cpp_codegen_multiply((float)L_39, (float)(((float)((float)((int32_t)il2cpp_codegen_subtract((int32_t)L_41, (int32_t)1)))))))));
V_5 = (0.0f);
float L_42 = __this->get_m_ChildMinHeight_25();
float L_43 = __this->get_m_ChildMaxHeight_26();
V_13 = (bool)((((int32_t)((((float)L_42) == ((float)L_43))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_44 = V_13;
if (!L_44)
{
goto IL_013c;
}
}
{
float L_45 = V_4;
float L_46 = __this->get_m_ChildMinHeight_25();
float L_47 = __this->get_m_ChildMaxHeight_26();
float L_48 = __this->get_m_ChildMinHeight_25();
IL2CPP_RUNTIME_CLASS_INIT(Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var);
float L_49 = Mathf_Clamp_m033DD894F89E6DCCDAFC580091053059C86A4507(((float)((float)((float)il2cpp_codegen_subtract((float)L_45, (float)L_46))/(float)((float)il2cpp_codegen_subtract((float)L_47, (float)L_48)))), (0.0f), (1.0f), /*hidden argument*/NULL);
V_5 = L_49;
}
IL_013c:
{
V_6 = (0.0f);
float L_50 = V_4;
float L_51 = __this->get_m_ChildMaxHeight_26();
V_14 = (bool)((((float)L_50) > ((float)L_51))? 1 : 0);
bool L_52 = V_14;
if (!L_52)
{
goto IL_0177;
}
}
{
int32_t L_53 = __this->get_m_StretchableCountY_20();
V_15 = (bool)((((int32_t)L_53) > ((int32_t)0))? 1 : 0);
bool L_54 = V_15;
if (!L_54)
{
goto IL_0176;
}
}
{
float L_55 = V_4;
float L_56 = __this->get_m_ChildMaxHeight_26();
int32_t L_57 = __this->get_m_StretchableCountY_20();
V_6 = ((float)((float)((float)il2cpp_codegen_subtract((float)L_55, (float)L_56))/(float)(((float)((float)L_57)))));
}
IL_0176:
{
}
IL_0177:
{
V_7 = 0;
V_8 = (bool)1;
List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * L_58 = __this->get_entries_11();
NullCheck(L_58);
Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 L_59 = List_1_GetEnumerator_mA457B3CB61E2B7BAFB0F7D0ADEFD25237B4429DF(L_58, /*hidden argument*/List_1_GetEnumerator_mA457B3CB61E2B7BAFB0F7D0ADEFD25237B4429DF_RuntimeMethod_var);
V_16 = L_59;
}
IL_018b:
try
{ // begin try (depth: 1)
{
goto IL_022a;
}
IL_0190:
{
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_60 = Enumerator_get_Current_m9422C22943D0E9900CDB7DF407D9EBE215B2A6B6_inline((Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 *)(&V_16), /*hidden argument*/Enumerator_get_Current_m9422C22943D0E9900CDB7DF407D9EBE215B2A6B6_RuntimeMethod_var);
V_17 = L_60;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_61 = V_17;
NullCheck(L_61);
float L_62 = L_61->get_minHeight_2();
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_63 = V_17;
NullCheck(L_63);
float L_64 = L_63->get_maxHeight_3();
float L_65 = V_5;
IL2CPP_RUNTIME_CLASS_INIT(Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var);
float L_66 = Mathf_Lerp_m9A74C5A0C37D0CDF45EE66E7774D12A9B93B1364(L_62, L_64, L_65, /*hidden argument*/NULL);
V_18 = L_66;
float L_67 = V_18;
float L_68 = V_6;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_69 = V_17;
NullCheck(L_69);
int32_t L_70 = L_69->get_stretchHeight_6();
V_18 = ((float)il2cpp_codegen_add((float)L_67, (float)((float)il2cpp_codegen_multiply((float)L_68, (float)(((float)((float)L_70)))))));
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_71 = V_17;
NullCheck(L_71);
bool L_72 = L_71->get_consideredForMargin_7();
V_19 = L_72;
bool L_73 = V_19;
if (!L_73)
{
goto IL_0207;
}
}
IL_01ce:
{
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_74 = V_17;
NullCheck(L_74);
int32_t L_75 = VirtFuncInvoker0< int32_t >::Invoke(6 /* System.Int32 UnityEngine.GUILayoutEntry::get_marginTop() */, L_74);
V_20 = L_75;
bool L_76 = V_8;
V_22 = L_76;
bool L_77 = V_22;
if (!L_77)
{
goto IL_01e8;
}
}
IL_01e0:
{
V_20 = 0;
V_8 = (bool)0;
}
IL_01e8:
{
int32_t L_78 = V_7;
int32_t L_79 = V_20;
if ((((int32_t)L_78) > ((int32_t)L_79)))
{
goto IL_01f2;
}
}
IL_01ee:
{
int32_t L_80 = V_20;
G_B23_0 = L_80;
goto IL_01f4;
}
IL_01f2:
{
int32_t L_81 = V_7;
G_B23_0 = L_81;
}
IL_01f4:
{
V_21 = G_B23_0;
float L_82 = ___y0;
int32_t L_83 = V_21;
___y0 = ((float)il2cpp_codegen_add((float)L_82, (float)(((float)((float)L_83)))));
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_84 = V_17;
NullCheck(L_84);
int32_t L_85 = VirtFuncInvoker0< int32_t >::Invoke(7 /* System.Int32 UnityEngine.GUILayoutEntry::get_marginBottom() */, L_84);
V_7 = L_85;
}
IL_0207:
{
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_86 = V_17;
float L_87 = ___y0;
IL2CPP_RUNTIME_CLASS_INIT(Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var);
float L_88 = bankers_roundf(L_87);
float L_89 = V_18;
float L_90 = bankers_roundf(L_89);
NullCheck(L_86);
VirtActionInvoker2< float, float >::Invoke(11 /* System.Void UnityEngine.GUILayoutEntry::SetVertical(System.Single,System.Single) */, L_86, L_88, L_90);
float L_91 = ___y0;
float L_92 = V_18;
float L_93 = __this->get_spacing_14();
___y0 = ((float)il2cpp_codegen_add((float)L_91, (float)((float)il2cpp_codegen_add((float)L_92, (float)L_93))));
}
IL_022a:
{
bool L_94 = Enumerator_MoveNext_m3A0A0A98E9378A32A74EC51C4CAB6C564001CAC7((Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 *)(&V_16), /*hidden argument*/Enumerator_MoveNext_m3A0A0A98E9378A32A74EC51C4CAB6C564001CAC7_RuntimeMethod_var);
if (L_94)
{
goto IL_0190;
}
}
IL_0236:
{
IL2CPP_LEAVE(0x247, FINALLY_0238);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0238;
}
FINALLY_0238:
{ // begin finally (depth: 1)
Enumerator_Dispose_mB540C90AE8EBE0EB3D63A6ACE5EC863FAD1419B2((Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 *)(&V_16), /*hidden argument*/Enumerator_Dispose_mB540C90AE8EBE0EB3D63A6ACE5EC863FAD1419B2_RuntimeMethod_var);
IL2CPP_END_FINALLY(568)
} // end finally (depth: 1)
IL2CPP_CLEANUP(568)
{
IL2CPP_JUMP_TBL(0x247, IL_0247)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0247:
{
goto IL_03c7;
}
IL_024d:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_95 = GUILayoutEntry_get_style_m70E386A3289ACFEC515B1358827AB2FBF6314BA4(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_96 = GUIStyle_get_none_m2B48FA4E2FA2B9BB7A458DF25B1391F9C7BB8B7B(/*hidden argument*/NULL);
V_23 = (bool)((((int32_t)((((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_95) == ((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_96))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_97 = V_23;
if (!L_97)
{
goto IL_0318;
}
}
{
List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * L_98 = __this->get_entries_11();
NullCheck(L_98);
Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 L_99 = List_1_GetEnumerator_mA457B3CB61E2B7BAFB0F7D0ADEFD25237B4429DF(L_98, /*hidden argument*/List_1_GetEnumerator_mA457B3CB61E2B7BAFB0F7D0ADEFD25237B4429DF_RuntimeMethod_var);
V_24 = L_99;
}
IL_0276:
try
{ // begin try (depth: 1)
{
goto IL_02f5;
}
IL_0278:
{
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_100 = Enumerator_get_Current_m9422C22943D0E9900CDB7DF407D9EBE215B2A6B6_inline((Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 *)(&V_24), /*hidden argument*/Enumerator_get_Current_m9422C22943D0E9900CDB7DF407D9EBE215B2A6B6_RuntimeMethod_var);
V_25 = L_100;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_101 = V_25;
NullCheck(L_101);
int32_t L_102 = VirtFuncInvoker0< int32_t >::Invoke(6 /* System.Int32 UnityEngine.GUILayoutEntry::get_marginTop() */, L_101);
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_103 = V_0;
NullCheck(L_103);
int32_t L_104 = RectOffset_get_top_mBA813D4147BFBC079933054018437F411B6B41E1(L_103, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var);
int32_t L_105 = Mathf_Max_mBDE4C6F1883EE3215CD7AE62550B2AC90592BC3F(L_102, L_104, /*hidden argument*/NULL);
V_26 = (((float)((float)L_105)));
float L_106 = ___y0;
float L_107 = V_26;
V_27 = ((float)il2cpp_codegen_add((float)L_106, (float)L_107));
float L_108 = ___height1;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_109 = V_25;
NullCheck(L_109);
int32_t L_110 = VirtFuncInvoker0< int32_t >::Invoke(7 /* System.Int32 UnityEngine.GUILayoutEntry::get_marginBottom() */, L_109);
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_111 = V_0;
NullCheck(L_111);
int32_t L_112 = RectOffset_get_bottom_mE5162CADD266B59539E3EE1967EE9A74705E5632(L_111, /*hidden argument*/NULL);
int32_t L_113 = Mathf_Max_mBDE4C6F1883EE3215CD7AE62550B2AC90592BC3F(L_110, L_112, /*hidden argument*/NULL);
float L_114 = V_26;
V_28 = ((float)il2cpp_codegen_subtract((float)((float)il2cpp_codegen_subtract((float)L_108, (float)(((float)((float)L_113))))), (float)L_114));
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_115 = V_25;
NullCheck(L_115);
int32_t L_116 = L_115->get_stretchHeight_6();
V_29 = (bool)((!(((uint32_t)L_116) <= ((uint32_t)0)))? 1 : 0);
bool L_117 = V_29;
if (!L_117)
{
goto IL_02d5;
}
}
IL_02c7:
{
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_118 = V_25;
float L_119 = V_27;
float L_120 = V_28;
NullCheck(L_118);
VirtActionInvoker2< float, float >::Invoke(11 /* System.Void UnityEngine.GUILayoutEntry::SetVertical(System.Single,System.Single) */, L_118, L_119, L_120);
goto IL_02f4;
}
IL_02d5:
{
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_121 = V_25;
float L_122 = V_27;
float L_123 = V_28;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_124 = V_25;
NullCheck(L_124);
float L_125 = L_124->get_minHeight_2();
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_126 = V_25;
NullCheck(L_126);
float L_127 = L_126->get_maxHeight_3();
IL2CPP_RUNTIME_CLASS_INIT(Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var);
float L_128 = Mathf_Clamp_m033DD894F89E6DCCDAFC580091053059C86A4507(L_123, L_125, L_127, /*hidden argument*/NULL);
NullCheck(L_121);
VirtActionInvoker2< float, float >::Invoke(11 /* System.Void UnityEngine.GUILayoutEntry::SetVertical(System.Single,System.Single) */, L_121, L_122, L_128);
}
IL_02f4:
{
}
IL_02f5:
{
bool L_129 = Enumerator_MoveNext_m3A0A0A98E9378A32A74EC51C4CAB6C564001CAC7((Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 *)(&V_24), /*hidden argument*/Enumerator_MoveNext_m3A0A0A98E9378A32A74EC51C4CAB6C564001CAC7_RuntimeMethod_var);
if (L_129)
{
goto IL_0278;
}
}
IL_0301:
{
IL2CPP_LEAVE(0x312, FINALLY_0303);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0303;
}
FINALLY_0303:
{ // begin finally (depth: 1)
Enumerator_Dispose_mB540C90AE8EBE0EB3D63A6ACE5EC863FAD1419B2((Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 *)(&V_24), /*hidden argument*/Enumerator_Dispose_mB540C90AE8EBE0EB3D63A6ACE5EC863FAD1419B2_RuntimeMethod_var);
IL2CPP_END_FINALLY(771)
} // end finally (depth: 1)
IL2CPP_CLEANUP(771)
{
IL2CPP_JUMP_TBL(0x312, IL_0312)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0312:
{
goto IL_03c6;
}
IL_0318:
{
float L_130 = ___y0;
int32_t L_131 = VirtFuncInvoker0< int32_t >::Invoke(6 /* System.Int32 UnityEngine.GUILayoutEntry::get_marginTop() */, __this);
V_30 = ((float)il2cpp_codegen_subtract((float)L_130, (float)(((float)((float)L_131)))));
float L_132 = ___height1;
int32_t L_133 = GUILayoutEntry_get_marginVertical_mBFB3FD56025F4627378E5A339379CFF720196EB0(__this, /*hidden argument*/NULL);
V_31 = ((float)il2cpp_codegen_add((float)L_132, (float)(((float)((float)L_133)))));
List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * L_134 = __this->get_entries_11();
NullCheck(L_134);
Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 L_135 = List_1_GetEnumerator_mA457B3CB61E2B7BAFB0F7D0ADEFD25237B4429DF(L_134, /*hidden argument*/List_1_GetEnumerator_mA457B3CB61E2B7BAFB0F7D0ADEFD25237B4429DF_RuntimeMethod_var);
V_32 = L_135;
}
IL_033d:
try
{ // begin try (depth: 1)
{
goto IL_03ab;
}
IL_033f:
{
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_136 = Enumerator_get_Current_m9422C22943D0E9900CDB7DF407D9EBE215B2A6B6_inline((Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 *)(&V_32), /*hidden argument*/Enumerator_get_Current_m9422C22943D0E9900CDB7DF407D9EBE215B2A6B6_RuntimeMethod_var);
V_33 = L_136;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_137 = V_33;
NullCheck(L_137);
int32_t L_138 = L_137->get_stretchHeight_6();
V_34 = (bool)((!(((uint32_t)L_138) <= ((uint32_t)0)))? 1 : 0);
bool L_139 = V_34;
if (!L_139)
{
goto IL_0379;
}
}
IL_0359:
{
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_140 = V_33;
float L_141 = V_30;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_142 = V_33;
NullCheck(L_142);
int32_t L_143 = VirtFuncInvoker0< int32_t >::Invoke(6 /* System.Int32 UnityEngine.GUILayoutEntry::get_marginTop() */, L_142);
float L_144 = V_31;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_145 = V_33;
NullCheck(L_145);
int32_t L_146 = GUILayoutEntry_get_marginVertical_mBFB3FD56025F4627378E5A339379CFF720196EB0(L_145, /*hidden argument*/NULL);
NullCheck(L_140);
VirtActionInvoker2< float, float >::Invoke(11 /* System.Void UnityEngine.GUILayoutEntry::SetVertical(System.Single,System.Single) */, L_140, ((float)il2cpp_codegen_add((float)L_141, (float)(((float)((float)L_143))))), ((float)il2cpp_codegen_subtract((float)L_144, (float)(((float)((float)L_146))))));
goto IL_03aa;
}
IL_0379:
{
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_147 = V_33;
float L_148 = V_30;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_149 = V_33;
NullCheck(L_149);
int32_t L_150 = VirtFuncInvoker0< int32_t >::Invoke(6 /* System.Int32 UnityEngine.GUILayoutEntry::get_marginTop() */, L_149);
float L_151 = V_31;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_152 = V_33;
NullCheck(L_152);
int32_t L_153 = GUILayoutEntry_get_marginVertical_mBFB3FD56025F4627378E5A339379CFF720196EB0(L_152, /*hidden argument*/NULL);
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_154 = V_33;
NullCheck(L_154);
float L_155 = L_154->get_minHeight_2();
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_156 = V_33;
NullCheck(L_156);
float L_157 = L_156->get_maxHeight_3();
IL2CPP_RUNTIME_CLASS_INIT(Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var);
float L_158 = Mathf_Clamp_m033DD894F89E6DCCDAFC580091053059C86A4507(((float)il2cpp_codegen_subtract((float)L_151, (float)(((float)((float)L_153))))), L_155, L_157, /*hidden argument*/NULL);
NullCheck(L_147);
VirtActionInvoker2< float, float >::Invoke(11 /* System.Void UnityEngine.GUILayoutEntry::SetVertical(System.Single,System.Single) */, L_147, ((float)il2cpp_codegen_add((float)L_148, (float)(((float)((float)L_150))))), L_158);
}
IL_03aa:
{
}
IL_03ab:
{
bool L_159 = Enumerator_MoveNext_m3A0A0A98E9378A32A74EC51C4CAB6C564001CAC7((Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 *)(&V_32), /*hidden argument*/Enumerator_MoveNext_m3A0A0A98E9378A32A74EC51C4CAB6C564001CAC7_RuntimeMethod_var);
if (L_159)
{
goto IL_033f;
}
}
IL_03b4:
{
IL2CPP_LEAVE(0x3C5, FINALLY_03b6);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_03b6;
}
FINALLY_03b6:
{ // begin finally (depth: 1)
Enumerator_Dispose_mB540C90AE8EBE0EB3D63A6ACE5EC863FAD1419B2((Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 *)(&V_32), /*hidden argument*/Enumerator_Dispose_mB540C90AE8EBE0EB3D63A6ACE5EC863FAD1419B2_RuntimeMethod_var);
IL2CPP_END_FINALLY(950)
} // end finally (depth: 1)
IL2CPP_CLEANUP(950)
{
IL2CPP_JUMP_TBL(0x3C5, IL_03c5)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_03c5:
{
}
IL_03c6:
{
}
IL_03c7:
{
return;
}
}
// System.String UnityEngine.GUILayoutGroup::ToString()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* GUILayoutGroup_ToString_mF66B820B07A33FFA240FBBE20A6F39C492B52372 (GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUILayoutGroup_ToString_mF66B820B07A33FFA240FBBE20A6F39C492B52372_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
String_t* V_0 = NULL;
String_t* V_1 = NULL;
int32_t V_2 = 0;
bool V_3 = false;
Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 V_4;
memset((&V_4), 0, sizeof(V_4));
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * V_5 = NULL;
String_t* V_6 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
V_0 = _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
V_1 = _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
V_2 = 0;
goto IL_0021;
}
IL_0011:
{
String_t* L_0 = V_1;
String_t* L_1 = String_Concat_mB78D0094592718DA6D5DB6C712A9C225631666BE(L_0, _stringLiteralB858CB282617FB0956D960215C8E84D1CCF909C6, /*hidden argument*/NULL);
V_1 = L_1;
int32_t L_2 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_2, (int32_t)1));
}
IL_0021:
{
int32_t L_3 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845_il2cpp_TypeInfo_var);
int32_t L_4 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845_il2cpp_TypeInfo_var))->get_indent_10();
V_3 = (bool)((((int32_t)L_3) < ((int32_t)L_4))? 1 : 0);
bool L_5 = V_3;
if (L_5)
{
goto IL_0011;
}
}
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_6 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)SZArrayNew(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A_il2cpp_TypeInfo_var, (uint32_t)5);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_7 = L_6;
String_t* L_8 = V_0;
NullCheck(L_7);
ArrayElementTypeCheck (L_7, L_8);
(L_7)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_8);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_9 = L_7;
String_t* L_10 = GUILayoutEntry_ToString_mCDA5CD14A39ADAD29F6B450B98FDB80E37AC95D5(__this, /*hidden argument*/NULL);
NullCheck(L_9);
ArrayElementTypeCheck (L_9, L_10);
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject *)L_10);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_11 = L_9;
NullCheck(L_11);
ArrayElementTypeCheck (L_11, _stringLiteral061CD5E48C5A194C95B561D18FCDC1A57D790069);
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(2), (RuntimeObject *)_stringLiteral061CD5E48C5A194C95B561D18FCDC1A57D790069);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_12 = L_11;
float L_13 = __this->get_m_ChildMinHeight_25();
float L_14 = L_13;
RuntimeObject * L_15 = Box(Single_tDDDA9169C4E4E308AC6D7A824F9B28DC82204AE1_il2cpp_TypeInfo_var, &L_14);
NullCheck(L_12);
ArrayElementTypeCheck (L_12, L_15);
(L_12)->SetAt(static_cast<il2cpp_array_size_t>(3), (RuntimeObject *)L_15);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_16 = L_12;
NullCheck(L_16);
ArrayElementTypeCheck (L_16, _stringLiteral4609E730123B8AB7743493DE7E9F350E7DF58440);
(L_16)->SetAt(static_cast<il2cpp_array_size_t>(4), (RuntimeObject *)_stringLiteral4609E730123B8AB7743493DE7E9F350E7DF58440);
String_t* L_17 = String_Concat_mB7BA84F13912303B2E5E40FBF0109E1A328ACA07(L_16, /*hidden argument*/NULL);
V_0 = L_17;
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845_il2cpp_TypeInfo_var);
int32_t L_18 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845_il2cpp_TypeInfo_var))->get_indent_10();
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845_il2cpp_TypeInfo_var))->set_indent_10(((int32_t)il2cpp_codegen_add((int32_t)L_18, (int32_t)4)));
List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * L_19 = __this->get_entries_11();
NullCheck(L_19);
Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 L_20 = List_1_GetEnumerator_mA457B3CB61E2B7BAFB0F7D0ADEFD25237B4429DF(L_19, /*hidden argument*/List_1_GetEnumerator_mA457B3CB61E2B7BAFB0F7D0ADEFD25237B4429DF_RuntimeMethod_var);
V_4 = L_20;
}
IL_007e:
try
{ // begin try (depth: 1)
{
goto IL_009e;
}
IL_0080:
{
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_21 = Enumerator_get_Current_m9422C22943D0E9900CDB7DF407D9EBE215B2A6B6_inline((Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 *)(&V_4), /*hidden argument*/Enumerator_get_Current_m9422C22943D0E9900CDB7DF407D9EBE215B2A6B6_RuntimeMethod_var);
V_5 = L_21;
String_t* L_22 = V_0;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_23 = V_5;
NullCheck(L_23);
String_t* L_24 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_23);
String_t* L_25 = String_Concat_mF4626905368D6558695A823466A1AF65EADB9923(L_22, L_24, _stringLiteralADC83B19E793491B1C6EA0FD8B46CD9F32E592FC, /*hidden argument*/NULL);
V_0 = L_25;
}
IL_009e:
{
bool L_26 = Enumerator_MoveNext_m3A0A0A98E9378A32A74EC51C4CAB6C564001CAC7((Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 *)(&V_4), /*hidden argument*/Enumerator_MoveNext_m3A0A0A98E9378A32A74EC51C4CAB6C564001CAC7_RuntimeMethod_var);
if (L_26)
{
goto IL_0080;
}
}
IL_00a7:
{
IL2CPP_LEAVE(0xB8, FINALLY_00a9);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00a9;
}
FINALLY_00a9:
{ // begin finally (depth: 1)
Enumerator_Dispose_mB540C90AE8EBE0EB3D63A6ACE5EC863FAD1419B2((Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 *)(&V_4), /*hidden argument*/Enumerator_Dispose_mB540C90AE8EBE0EB3D63A6ACE5EC863FAD1419B2_RuntimeMethod_var);
IL2CPP_END_FINALLY(169)
} // end finally (depth: 1)
IL2CPP_CLEANUP(169)
{
IL2CPP_JUMP_TBL(0xB8, IL_00b8)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00b8:
{
String_t* L_27 = V_0;
String_t* L_28 = V_1;
String_t* L_29 = String_Concat_mF4626905368D6558695A823466A1AF65EADB9923(L_27, L_28, _stringLiteralC2B7DF6201FDD3362399091F0A29550DF3505B6A, /*hidden argument*/NULL);
V_0 = L_29;
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845_il2cpp_TypeInfo_var);
int32_t L_30 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845_il2cpp_TypeInfo_var))->get_indent_10();
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845_il2cpp_TypeInfo_var))->set_indent_10(((int32_t)il2cpp_codegen_subtract((int32_t)L_30, (int32_t)4)));
String_t* L_31 = V_0;
V_6 = L_31;
goto IL_00d6;
}
IL_00d6:
{
String_t* L_32 = V_6;
return L_32;
}
}
#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 UnityEngine.GUILayoutOption::.ctor(UnityEngine.GUILayoutOption_Type,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutOption__ctor_m965FDA1345FD7146596EFA90F03D0C645FB3FD5D (GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 * __this, int32_t ___type0, RuntimeObject * ___value1, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
int32_t L_0 = ___type0;
__this->set_type_0(L_0);
RuntimeObject * L_1 = ___value1;
__this->set_value_1(L_1);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Rect UnityEngine.GUILayoutUtility::Internal_GetWindowRect(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Rect_t35B976DE901B5423C11705E156938EA27AB402CE GUILayoutUtility_Internal_GetWindowRect_mE35BED0433EE8BD928CD52681620519E647A1DA9 (int32_t ___windowID0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUILayoutUtility_Internal_GetWindowRect_mE35BED0433EE8BD928CD52681620519E647A1DA9_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Rect_t35B976DE901B5423C11705E156938EA27AB402CE V_0;
memset((&V_0), 0, sizeof(V_0));
{
int32_t L_0 = ___windowID0;
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
GUILayoutUtility_Internal_GetWindowRect_Injected_mE78DA4F8B25471CEFFCB6F43E37C7966FE436EEE(L_0, (Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)(&V_0), /*hidden argument*/NULL);
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.GUILayoutUtility::Internal_MoveWindow(System.Int32,UnityEngine.Rect)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutUtility_Internal_MoveWindow_mFCB2DFE399B833D263138CF0A57626AFF52CB037 (int32_t ___windowID0, Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___r1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUILayoutUtility_Internal_MoveWindow_mFCB2DFE399B833D263138CF0A57626AFF52CB037_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
int32_t L_0 = ___windowID0;
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
GUILayoutUtility_Internal_MoveWindow_Injected_mD80D56182A5684AC3BDA2B50AC8191974A064ABE(L_0, (Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)(&___r1), /*hidden argument*/NULL);
return;
}
}
// UnityEngine.GUILayoutUtility_LayoutCache UnityEngine.GUILayoutUtility::SelectIDList(System.Int32,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * GUILayoutUtility_SelectIDList_m230ED9206897C92C5B090B3BBFC9B408603E56FD (int32_t ___instanceID0, bool ___isWindow1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUILayoutUtility_SelectIDList_m230ED9206897C92C5B090B3BBFC9B408603E56FD_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Dictionary_2_t0F1A21E14D53E05B0F1D474060AC4B36995FBCA1 * V_0 = NULL;
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * V_1 = NULL;
bool V_2 = false;
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * V_3 = NULL;
Dictionary_2_t0F1A21E14D53E05B0F1D474060AC4B36995FBCA1 * G_B3_0 = NULL;
{
bool L_0 = ___isWindow1;
if (L_0)
{
goto IL_000b;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
Dictionary_2_t0F1A21E14D53E05B0F1D474060AC4B36995FBCA1 * L_1 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_s_StoredLayouts_0();
G_B3_0 = L_1;
goto IL_0010;
}
IL_000b:
{
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
Dictionary_2_t0F1A21E14D53E05B0F1D474060AC4B36995FBCA1 * L_2 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_s_StoredWindows_1();
G_B3_0 = L_2;
}
IL_0010:
{
V_0 = G_B3_0;
Dictionary_2_t0F1A21E14D53E05B0F1D474060AC4B36995FBCA1 * L_3 = V_0;
int32_t L_4 = ___instanceID0;
NullCheck(L_3);
bool L_5 = Dictionary_2_TryGetValue_m0E6D1EEC81E6A904B99EEC04DB95C1CC0E4A0B31(L_3, L_4, (LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 **)(&V_1), /*hidden argument*/Dictionary_2_TryGetValue_m0E6D1EEC81E6A904B99EEC04DB95C1CC0E4A0B31_RuntimeMethod_var);
V_2 = (bool)((((int32_t)L_5) == ((int32_t)0))? 1 : 0);
bool L_6 = V_2;
if (!L_6)
{
goto IL_0034;
}
}
{
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_7 = (LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 *)il2cpp_codegen_object_new(LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468_il2cpp_TypeInfo_var);
LayoutCache__ctor_mF66D53540321BFD98CA89285D2E8FFDA5014A9CE(L_7, /*hidden argument*/NULL);
V_1 = L_7;
Dictionary_2_t0F1A21E14D53E05B0F1D474060AC4B36995FBCA1 * L_8 = V_0;
int32_t L_9 = ___instanceID0;
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_10 = V_1;
NullCheck(L_8);
Dictionary_2_set_Item_mB2CFA325B47C43C9E27C606844FE1AED4CD344A2(L_8, L_9, L_10, /*hidden argument*/Dictionary_2_set_Item_mB2CFA325B47C43C9E27C606844FE1AED4CD344A2_RuntimeMethod_var);
goto IL_0036;
}
IL_0034:
{
}
IL_0036:
{
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_11 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_12 = V_1;
NullCheck(L_12);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_13 = L_12->get_topLevel_0();
NullCheck(L_11);
L_11->set_topLevel_0(L_13);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_14 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_15 = V_1;
NullCheck(L_15);
GenericStack_tC59D21E8DBC50F3C608479C942200AC44CA2D5BC * L_16 = L_15->get_layoutGroups_1();
NullCheck(L_14);
L_14->set_layoutGroups_1(L_16);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_17 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_18 = V_1;
NullCheck(L_18);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_19 = L_18->get_windows_2();
NullCheck(L_17);
L_17->set_windows_2(L_19);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_20 = V_1;
V_3 = L_20;
goto IL_006a;
}
IL_006a:
{
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_21 = V_3;
return L_21;
}
}
// System.Void UnityEngine.GUILayoutUtility::Begin(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutUtility_Begin_m6876A33199599688408A4AD364069090E833B237 (int32_t ___instanceID0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUILayoutUtility_Begin_m6876A33199599688408A4AD364069090E833B237_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * V_0 = NULL;
bool V_1 = false;
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * V_2 = NULL;
{
int32_t L_0 = ___instanceID0;
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_1 = GUILayoutUtility_SelectIDList_m230ED9206897C92C5B090B3BBFC9B408603E56FD(L_0, (bool)0, /*hidden argument*/NULL);
V_0 = L_1;
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_2 = Event_get_current_m072CEE599D11B8A9A916697E57C0F561188CDB2B(/*hidden argument*/NULL);
NullCheck(L_2);
int32_t L_3 = Event_get_type_mAABE4A35E5658E0079A1518D318AF2592F51D6FA(L_2, /*hidden argument*/NULL);
V_1 = (bool)((((int32_t)L_3) == ((int32_t)8))? 1 : 0);
bool L_4 = V_1;
if (!L_4)
{
goto IL_0078;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_5 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_6 = V_0;
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_7 = (GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 *)il2cpp_codegen_object_new(GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601_il2cpp_TypeInfo_var);
GUILayoutGroup__ctor_m14D8B35B4A89F6688D354A534ED871860905BA3B(L_7, /*hidden argument*/NULL);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_8 = L_7;
V_2 = L_8;
NullCheck(L_6);
L_6->set_topLevel_0(L_8);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_9 = V_2;
NullCheck(L_5);
L_5->set_topLevel_0(L_9);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_10 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
NullCheck(L_10);
GenericStack_tC59D21E8DBC50F3C608479C942200AC44CA2D5BC * L_11 = L_10->get_layoutGroups_1();
NullCheck(L_11);
VirtActionInvoker0::Invoke(9 /* System.Void System.Collections.Stack::Clear() */, L_11);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_12 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
NullCheck(L_12);
GenericStack_tC59D21E8DBC50F3C608479C942200AC44CA2D5BC * L_13 = L_12->get_layoutGroups_1();
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_14 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
NullCheck(L_14);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_15 = L_14->get_topLevel_0();
NullCheck(L_13);
VirtActionInvoker1< RuntimeObject * >::Invoke(15 /* System.Void System.Collections.Stack::Push(System.Object) */, L_13, L_15);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_16 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_17 = V_0;
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_18 = (GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 *)il2cpp_codegen_object_new(GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601_il2cpp_TypeInfo_var);
GUILayoutGroup__ctor_m14D8B35B4A89F6688D354A534ED871860905BA3B(L_18, /*hidden argument*/NULL);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_19 = L_18;
V_2 = L_19;
NullCheck(L_17);
L_17->set_windows_2(L_19);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_20 = V_2;
NullCheck(L_16);
L_16->set_windows_2(L_20);
goto IL_00aa;
}
IL_0078:
{
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_21 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_22 = V_0;
NullCheck(L_22);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_23 = L_22->get_topLevel_0();
NullCheck(L_21);
L_21->set_topLevel_0(L_23);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_24 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_25 = V_0;
NullCheck(L_25);
GenericStack_tC59D21E8DBC50F3C608479C942200AC44CA2D5BC * L_26 = L_25->get_layoutGroups_1();
NullCheck(L_24);
L_24->set_layoutGroups_1(L_26);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_27 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_28 = V_0;
NullCheck(L_28);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_29 = L_28->get_windows_2();
NullCheck(L_27);
L_27->set_windows_2(L_29);
}
IL_00aa:
{
return;
}
}
// System.Void UnityEngine.GUILayoutUtility::BeginWindow(System.Int32,UnityEngine.GUIStyle,UnityEngine.GUILayoutOption[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutUtility_BeginWindow_mB3475D9BE89CF26AB0E6F0D46B1930F1874EB132 (int32_t ___windowID0, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style1, GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* ___options2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUILayoutUtility_BeginWindow_mB3475D9BE89CF26AB0E6F0D46B1930F1874EB132_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * V_0 = NULL;
bool V_1 = false;
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * V_2 = NULL;
bool V_3 = false;
{
int32_t L_0 = ___windowID0;
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_1 = GUILayoutUtility_SelectIDList_m230ED9206897C92C5B090B3BBFC9B408603E56FD(L_0, (bool)1, /*hidden argument*/NULL);
V_0 = L_1;
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_2 = Event_get_current_m072CEE599D11B8A9A916697E57C0F561188CDB2B(/*hidden argument*/NULL);
NullCheck(L_2);
int32_t L_3 = Event_get_type_mAABE4A35E5658E0079A1518D318AF2592F51D6FA(L_2, /*hidden argument*/NULL);
V_1 = (bool)((((int32_t)L_3) == ((int32_t)8))? 1 : 0);
bool L_4 = V_1;
if (!L_4)
{
goto IL_00b5;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_5 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_6 = V_0;
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_7 = (GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 *)il2cpp_codegen_object_new(GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601_il2cpp_TypeInfo_var);
GUILayoutGroup__ctor_m14D8B35B4A89F6688D354A534ED871860905BA3B(L_7, /*hidden argument*/NULL);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_8 = L_7;
V_2 = L_8;
NullCheck(L_6);
L_6->set_topLevel_0(L_8);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_9 = V_2;
NullCheck(L_5);
L_5->set_topLevel_0(L_9);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_10 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
NullCheck(L_10);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_11 = L_10->get_topLevel_0();
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_12 = ___style1;
NullCheck(L_11);
GUILayoutEntry_set_style_mEDD232A6CDB1B76ABC33EA06A05235316A180E2D(L_11, L_12, /*hidden argument*/NULL);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_13 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
NullCheck(L_13);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_14 = L_13->get_topLevel_0();
int32_t L_15 = ___windowID0;
NullCheck(L_14);
L_14->set_windowID_17(L_15);
GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* L_16 = ___options2;
V_3 = (bool)((!(((RuntimeObject*)(GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B*)L_16) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_17 = V_3;
if (!L_17)
{
goto IL_0070;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_18 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
NullCheck(L_18);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_19 = L_18->get_topLevel_0();
GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* L_20 = ___options2;
NullCheck(L_19);
VirtActionInvoker1< GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* >::Invoke(13 /* System.Void UnityEngine.GUILayoutEntry::ApplyOptions(UnityEngine.GUILayoutOption[]) */, L_19, L_20);
}
IL_0070:
{
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_21 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
NullCheck(L_21);
GenericStack_tC59D21E8DBC50F3C608479C942200AC44CA2D5BC * L_22 = L_21->get_layoutGroups_1();
NullCheck(L_22);
VirtActionInvoker0::Invoke(9 /* System.Void System.Collections.Stack::Clear() */, L_22);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_23 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
NullCheck(L_23);
GenericStack_tC59D21E8DBC50F3C608479C942200AC44CA2D5BC * L_24 = L_23->get_layoutGroups_1();
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_25 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
NullCheck(L_25);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_26 = L_25->get_topLevel_0();
NullCheck(L_24);
VirtActionInvoker1< RuntimeObject * >::Invoke(15 /* System.Void System.Collections.Stack::Push(System.Object) */, L_24, L_26);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_27 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_28 = V_0;
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_29 = (GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 *)il2cpp_codegen_object_new(GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601_il2cpp_TypeInfo_var);
GUILayoutGroup__ctor_m14D8B35B4A89F6688D354A534ED871860905BA3B(L_29, /*hidden argument*/NULL);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_30 = L_29;
V_2 = L_30;
NullCheck(L_28);
L_28->set_windows_2(L_30);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_31 = V_2;
NullCheck(L_27);
L_27->set_windows_2(L_31);
goto IL_00e7;
}
IL_00b5:
{
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_32 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_33 = V_0;
NullCheck(L_33);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_34 = L_33->get_topLevel_0();
NullCheck(L_32);
L_32->set_topLevel_0(L_34);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_35 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_36 = V_0;
NullCheck(L_36);
GenericStack_tC59D21E8DBC50F3C608479C942200AC44CA2D5BC * L_37 = L_36->get_layoutGroups_1();
NullCheck(L_35);
L_35->set_layoutGroups_1(L_37);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_38 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_39 = V_0;
NullCheck(L_39);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_40 = L_39->get_windows_2();
NullCheck(L_38);
L_38->set_windows_2(L_40);
}
IL_00e7:
{
return;
}
}
// System.Void UnityEngine.GUILayoutUtility::Layout()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutUtility_Layout_mB01F00635FD538214B47A545C53E4F8C682491B5 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUILayoutUtility_Layout_mB01F00635FD538214B47A545C53E4F8C682491B5_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_0 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
NullCheck(L_0);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_1 = L_0->get_topLevel_0();
NullCheck(L_1);
int32_t L_2 = L_1->get_windowID_17();
V_0 = (bool)((((int32_t)L_2) == ((int32_t)(-1)))? 1 : 0);
bool L_3 = V_0;
if (!L_3)
{
goto IL_00b8;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_4 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
NullCheck(L_4);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_5 = L_4->get_topLevel_0();
NullCheck(L_5);
VirtActionInvoker0::Invoke(8 /* System.Void UnityEngine.GUILayoutEntry::CalcWidth() */, L_5);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_6 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
NullCheck(L_6);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_7 = L_6->get_topLevel_0();
int32_t L_8 = Screen_get_width_m8ECCEF7FF17395D1237BC0193D7A6640A3FEEAD3(/*hidden argument*/NULL);
float L_9 = GUIUtility_get_pixelsPerPoint_m6B4AB38F60A0AC54034A62043F74E06A613E4D56(/*hidden argument*/NULL);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_10 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
NullCheck(L_10);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_11 = L_10->get_topLevel_0();
NullCheck(L_11);
float L_12 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)L_11)->get_maxWidth_1();
IL2CPP_RUNTIME_CLASS_INIT(Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var);
float L_13 = Mathf_Min_mCF9BE0E9CAC9F18D207692BB2DAC7F3E1D4E1CB7(((float)((float)(((float)((float)L_8)))/(float)L_9)), L_12, /*hidden argument*/NULL);
NullCheck(L_7);
VirtActionInvoker2< float, float >::Invoke(10 /* System.Void UnityEngine.GUILayoutEntry::SetHorizontal(System.Single,System.Single) */, L_7, (0.0f), L_13);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_14 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
NullCheck(L_14);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_15 = L_14->get_topLevel_0();
NullCheck(L_15);
VirtActionInvoker0::Invoke(9 /* System.Void UnityEngine.GUILayoutEntry::CalcHeight() */, L_15);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_16 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
NullCheck(L_16);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_17 = L_16->get_topLevel_0();
int32_t L_18 = Screen_get_height_mF5B64EBC4CDE0EAAA5713C1452ED2CE475F25150(/*hidden argument*/NULL);
float L_19 = GUIUtility_get_pixelsPerPoint_m6B4AB38F60A0AC54034A62043F74E06A613E4D56(/*hidden argument*/NULL);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_20 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
NullCheck(L_20);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_21 = L_20->get_topLevel_0();
NullCheck(L_21);
float L_22 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)L_21)->get_maxHeight_3();
float L_23 = Mathf_Min_mCF9BE0E9CAC9F18D207692BB2DAC7F3E1D4E1CB7(((float)((float)(((float)((float)L_18)))/(float)L_19)), L_22, /*hidden argument*/NULL);
NullCheck(L_17);
VirtActionInvoker2< float, float >::Invoke(11 /* System.Void UnityEngine.GUILayoutEntry::SetVertical(System.Single,System.Single) */, L_17, (0.0f), L_23);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_24 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
NullCheck(L_24);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_25 = L_24->get_windows_2();
GUILayoutUtility_LayoutFreeGroup_m890E6BD9614C48B151D61F197251E3DBAC637967(L_25, /*hidden argument*/NULL);
goto IL_00da;
}
IL_00b8:
{
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_26 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
NullCheck(L_26);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_27 = L_26->get_topLevel_0();
GUILayoutUtility_LayoutSingleGroup_m0BE91E195E4E2FC8B5B491783AFACBD1310F15A1(L_27, /*hidden argument*/NULL);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_28 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
NullCheck(L_28);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_29 = L_28->get_windows_2();
GUILayoutUtility_LayoutFreeGroup_m890E6BD9614C48B151D61F197251E3DBAC637967(L_29, /*hidden argument*/NULL);
}
IL_00da:
{
return;
}
}
// System.Void UnityEngine.GUILayoutUtility::LayoutFromEditorWindow()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutUtility_LayoutFromEditorWindow_mBE82BE965B54F68E7090952684C86BFF0538AB52 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUILayoutUtility_LayoutFromEditorWindow_mBE82BE965B54F68E7090952684C86BFF0538AB52_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_0 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
NullCheck(L_0);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_1 = L_0->get_topLevel_0();
V_0 = (bool)((!(((RuntimeObject*)(GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 *)L_1) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0088;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_3 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
NullCheck(L_3);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_4 = L_3->get_topLevel_0();
NullCheck(L_4);
VirtActionInvoker0::Invoke(8 /* System.Void UnityEngine.GUILayoutEntry::CalcWidth() */, L_4);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_5 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
NullCheck(L_5);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_6 = L_5->get_topLevel_0();
int32_t L_7 = Screen_get_width_m8ECCEF7FF17395D1237BC0193D7A6640A3FEEAD3(/*hidden argument*/NULL);
float L_8 = GUIUtility_get_pixelsPerPoint_m6B4AB38F60A0AC54034A62043F74E06A613E4D56(/*hidden argument*/NULL);
NullCheck(L_6);
VirtActionInvoker2< float, float >::Invoke(10 /* System.Void UnityEngine.GUILayoutEntry::SetHorizontal(System.Single,System.Single) */, L_6, (0.0f), ((float)((float)(((float)((float)L_7)))/(float)L_8)));
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_9 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
NullCheck(L_9);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_10 = L_9->get_topLevel_0();
NullCheck(L_10);
VirtActionInvoker0::Invoke(9 /* System.Void UnityEngine.GUILayoutEntry::CalcHeight() */, L_10);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_11 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
NullCheck(L_11);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_12 = L_11->get_topLevel_0();
int32_t L_13 = Screen_get_height_mF5B64EBC4CDE0EAAA5713C1452ED2CE475F25150(/*hidden argument*/NULL);
float L_14 = GUIUtility_get_pixelsPerPoint_m6B4AB38F60A0AC54034A62043F74E06A613E4D56(/*hidden argument*/NULL);
NullCheck(L_12);
VirtActionInvoker2< float, float >::Invoke(11 /* System.Void UnityEngine.GUILayoutEntry::SetVertical(System.Single,System.Single) */, L_12, (0.0f), ((float)((float)(((float)((float)L_13)))/(float)L_14)));
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_15 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
NullCheck(L_15);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_16 = L_15->get_windows_2();
GUILayoutUtility_LayoutFreeGroup_m890E6BD9614C48B151D61F197251E3DBAC637967(L_16, /*hidden argument*/NULL);
goto IL_0095;
}
IL_0088:
{
IL2CPP_RUNTIME_CLASS_INIT(Debug_t7B5FCB117E2FD63B6838BC52821B252E2BFB61C4_il2cpp_TypeInfo_var);
Debug_LogError_m3BCF9B78263152261565DCA9DB7D55F0C391ED29(_stringLiteral8CE379368AB8E774A4F51BE28DD637628F20DA93, /*hidden argument*/NULL);
}
IL_0095:
{
return;
}
}
// System.Void UnityEngine.GUILayoutUtility::LayoutFreeGroup(UnityEngine.GUILayoutGroup)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutUtility_LayoutFreeGroup_m890E6BD9614C48B151D61F197251E3DBAC637967 (GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * ___toplevel0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUILayoutUtility_LayoutFreeGroup_m890E6BD9614C48B151D61F197251E3DBAC637967_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 V_0;
memset((&V_0), 0, sizeof(V_0));
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * V_1 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_0 = ___toplevel0;
NullCheck(L_0);
List_1_t046427F3923444CF746C550FD96A3D0E4189D273 * L_1 = L_0->get_entries_11();
NullCheck(L_1);
Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 L_2 = List_1_GetEnumerator_mA457B3CB61E2B7BAFB0F7D0ADEFD25237B4429DF(L_1, /*hidden argument*/List_1_GetEnumerator_mA457B3CB61E2B7BAFB0F7D0ADEFD25237B4429DF_RuntimeMethod_var);
V_0 = L_2;
}
IL_000e:
try
{ // begin try (depth: 1)
{
goto IL_0026;
}
IL_0010:
{
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_3 = Enumerator_get_Current_m9422C22943D0E9900CDB7DF407D9EBE215B2A6B6_inline((Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 *)(&V_0), /*hidden argument*/Enumerator_get_Current_m9422C22943D0E9900CDB7DF407D9EBE215B2A6B6_RuntimeMethod_var);
V_1 = ((GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 *)CastclassClass((RuntimeObject*)L_3, GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601_il2cpp_TypeInfo_var));
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_4 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
GUILayoutUtility_LayoutSingleGroup_m0BE91E195E4E2FC8B5B491783AFACBD1310F15A1(L_4, /*hidden argument*/NULL);
}
IL_0026:
{
bool L_5 = Enumerator_MoveNext_m3A0A0A98E9378A32A74EC51C4CAB6C564001CAC7((Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 *)(&V_0), /*hidden argument*/Enumerator_MoveNext_m3A0A0A98E9378A32A74EC51C4CAB6C564001CAC7_RuntimeMethod_var);
if (L_5)
{
goto IL_0010;
}
}
IL_002f:
{
IL2CPP_LEAVE(0x40, FINALLY_0031);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0031;
}
FINALLY_0031:
{ // begin finally (depth: 1)
Enumerator_Dispose_mB540C90AE8EBE0EB3D63A6ACE5EC863FAD1419B2((Enumerator_t4D01DB2C4CF53D79BD58A10640F59CBCF1354587 *)(&V_0), /*hidden argument*/Enumerator_Dispose_mB540C90AE8EBE0EB3D63A6ACE5EC863FAD1419B2_RuntimeMethod_var);
IL2CPP_END_FINALLY(49)
} // end finally (depth: 1)
IL2CPP_CLEANUP(49)
{
IL2CPP_JUMP_TBL(0x40, IL_0040)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0040:
{
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_6 = ___toplevel0;
NullCheck(L_6);
GUILayoutGroup_ResetCursor_mD159DD9E101F6F348249D27D95709E1DC5C0A13F(L_6, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.GUILayoutUtility::LayoutSingleGroup(UnityEngine.GUILayoutGroup)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutUtility_LayoutSingleGroup_m0BE91E195E4E2FC8B5B491783AFACBD1310F15A1 (GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * ___i0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUILayoutUtility_LayoutSingleGroup_m0BE91E195E4E2FC8B5B491783AFACBD1310F15A1_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
float V_1 = 0.0f;
float V_2 = 0.0f;
float V_3 = 0.0f;
float V_4 = 0.0f;
Rect_t35B976DE901B5423C11705E156938EA27AB402CE V_5;
memset((&V_5), 0, sizeof(V_5));
{
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_0 = ___i0;
NullCheck(L_0);
bool L_1 = L_0->get_isWindow_16();
V_0 = (bool)((((int32_t)L_1) == ((int32_t)0))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_007c;
}
}
{
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_3 = ___i0;
NullCheck(L_3);
float L_4 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)L_3)->get_minWidth_0();
V_1 = L_4;
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_5 = ___i0;
NullCheck(L_5);
float L_6 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)L_5)->get_maxWidth_1();
V_2 = L_6;
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_7 = ___i0;
NullCheck(L_7);
VirtActionInvoker0::Invoke(8 /* System.Void UnityEngine.GUILayoutEntry::CalcWidth() */, L_7);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_8 = ___i0;
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_9 = ___i0;
NullCheck(L_9);
Rect_t35B976DE901B5423C11705E156938EA27AB402CE * L_10 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)L_9)->get_address_of_rect_4();
float L_11 = Rect_get_x_mC51A461F546D14832EB96B11A7198DADDE2597B7((Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)L_10, /*hidden argument*/NULL);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_12 = ___i0;
NullCheck(L_12);
float L_13 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)L_12)->get_maxWidth_1();
float L_14 = V_1;
float L_15 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var);
float L_16 = Mathf_Clamp_m033DD894F89E6DCCDAFC580091053059C86A4507(L_13, L_14, L_15, /*hidden argument*/NULL);
NullCheck(L_8);
VirtActionInvoker2< float, float >::Invoke(10 /* System.Void UnityEngine.GUILayoutEntry::SetHorizontal(System.Single,System.Single) */, L_8, L_11, L_16);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_17 = ___i0;
NullCheck(L_17);
float L_18 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)L_17)->get_minHeight_2();
V_3 = L_18;
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_19 = ___i0;
NullCheck(L_19);
float L_20 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)L_19)->get_maxHeight_3();
V_4 = L_20;
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_21 = ___i0;
NullCheck(L_21);
VirtActionInvoker0::Invoke(9 /* System.Void UnityEngine.GUILayoutEntry::CalcHeight() */, L_21);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_22 = ___i0;
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_23 = ___i0;
NullCheck(L_23);
Rect_t35B976DE901B5423C11705E156938EA27AB402CE * L_24 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)L_23)->get_address_of_rect_4();
float L_25 = Rect_get_y_m53E3E4F62D9840FBEA751A66293038F1F5D1D45C((Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)L_24, /*hidden argument*/NULL);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_26 = ___i0;
NullCheck(L_26);
float L_27 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)L_26)->get_maxHeight_3();
float L_28 = V_3;
float L_29 = V_4;
float L_30 = Mathf_Clamp_m033DD894F89E6DCCDAFC580091053059C86A4507(L_27, L_28, L_29, /*hidden argument*/NULL);
NullCheck(L_22);
VirtActionInvoker2< float, float >::Invoke(11 /* System.Void UnityEngine.GUILayoutEntry::SetVertical(System.Single,System.Single) */, L_22, L_25, L_30);
goto IL_00f7;
}
IL_007c:
{
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_31 = ___i0;
NullCheck(L_31);
VirtActionInvoker0::Invoke(8 /* System.Void UnityEngine.GUILayoutEntry::CalcWidth() */, L_31);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_32 = ___i0;
NullCheck(L_32);
int32_t L_33 = L_32->get_windowID_17();
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_34 = GUILayoutUtility_Internal_GetWindowRect_mE35BED0433EE8BD928CD52681620519E647A1DA9(L_33, /*hidden argument*/NULL);
V_5 = L_34;
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_35 = ___i0;
float L_36 = Rect_get_x_mC51A461F546D14832EB96B11A7198DADDE2597B7((Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)(&V_5), /*hidden argument*/NULL);
float L_37 = Rect_get_width_m54FF69FC2C086E2DC349ED091FD0D6576BFB1484((Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)(&V_5), /*hidden argument*/NULL);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_38 = ___i0;
NullCheck(L_38);
float L_39 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)L_38)->get_minWidth_0();
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_40 = ___i0;
NullCheck(L_40);
float L_41 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)L_40)->get_maxWidth_1();
IL2CPP_RUNTIME_CLASS_INIT(Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var);
float L_42 = Mathf_Clamp_m033DD894F89E6DCCDAFC580091053059C86A4507(L_37, L_39, L_41, /*hidden argument*/NULL);
NullCheck(L_35);
VirtActionInvoker2< float, float >::Invoke(10 /* System.Void UnityEngine.GUILayoutEntry::SetHorizontal(System.Single,System.Single) */, L_35, L_36, L_42);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_43 = ___i0;
NullCheck(L_43);
VirtActionInvoker0::Invoke(9 /* System.Void UnityEngine.GUILayoutEntry::CalcHeight() */, L_43);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_44 = ___i0;
float L_45 = Rect_get_y_m53E3E4F62D9840FBEA751A66293038F1F5D1D45C((Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)(&V_5), /*hidden argument*/NULL);
float L_46 = Rect_get_height_m088C36990E0A255C5D7DCE36575DCE23ABB364B5((Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)(&V_5), /*hidden argument*/NULL);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_47 = ___i0;
NullCheck(L_47);
float L_48 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)L_47)->get_minHeight_2();
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_49 = ___i0;
NullCheck(L_49);
float L_50 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)L_49)->get_maxHeight_3();
float L_51 = Mathf_Clamp_m033DD894F89E6DCCDAFC580091053059C86A4507(L_46, L_48, L_50, /*hidden argument*/NULL);
NullCheck(L_44);
VirtActionInvoker2< float, float >::Invoke(11 /* System.Void UnityEngine.GUILayoutEntry::SetVertical(System.Single,System.Single) */, L_44, L_45, L_51);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_52 = ___i0;
NullCheck(L_52);
int32_t L_53 = L_52->get_windowID_17();
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_54 = ___i0;
NullCheck(L_54);
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_55 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)L_54)->get_rect_4();
GUILayoutUtility_Internal_MoveWindow_mFCB2DFE399B833D263138CF0A57626AFF52CB037(L_53, L_55, /*hidden argument*/NULL);
}
IL_00f7:
{
return;
}
}
// UnityEngine.GUILayoutGroup UnityEngine.GUILayoutUtility::CreateGUILayoutGroupInstanceOfType(System.Type)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * GUILayoutUtility_CreateGUILayoutGroupInstanceOfType_mA19EA3B8F8E86338A28A0C3E819766602D52F7EF (Type_t * ___LayoutType0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUILayoutUtility_CreateGUILayoutGroupInstanceOfType_mA19EA3B8F8E86338A28A0C3E819766602D52F7EF_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * V_1 = NULL;
{
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_0 = { reinterpret_cast<intptr_t> (GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_1 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6(L_0, /*hidden argument*/NULL);
Type_t * L_2 = ___LayoutType0;
NullCheck(L_1);
bool L_3 = VirtFuncInvoker1< bool, Type_t * >::Invoke(108 /* System.Boolean System.Type::IsAssignableFrom(System.Type) */, L_1, L_2);
V_0 = (bool)((((int32_t)L_3) == ((int32_t)0))? 1 : 0);
bool L_4 = V_0;
if (!L_4)
{
goto IL_0023;
}
}
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_5 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_5, _stringLiteralBE83C9DC2728E81887591984F918D4FEF2A51ED0, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, GUILayoutUtility_CreateGUILayoutGroupInstanceOfType_mA19EA3B8F8E86338A28A0C3E819766602D52F7EF_RuntimeMethod_var);
}
IL_0023:
{
Type_t * L_6 = ___LayoutType0;
RuntimeObject * L_7 = Activator_CreateInstance_mD06EE47879F606317C6DA91FB63E678CABAC6A16(L_6, /*hidden argument*/NULL);
V_1 = ((GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 *)CastclassClass((RuntimeObject*)L_7, GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601_il2cpp_TypeInfo_var));
goto IL_0031;
}
IL_0031:
{
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_8 = V_1;
return L_8;
}
}
// UnityEngine.GUILayoutGroup UnityEngine.GUILayoutUtility::BeginLayoutGroup(UnityEngine.GUIStyle,UnityEngine.GUILayoutOption[],System.Type)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * GUILayoutUtility_BeginLayoutGroup_mBB7F6DDEC9574A704D2034E26FAABF882C37CD9B (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style0, GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* ___options1, Type_t * ___layoutType2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUILayoutUtility_BeginLayoutGroup_mBB7F6DDEC9574A704D2034E26FAABF882C37CD9B_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * V_0 = NULL;
int32_t V_1 = 0;
bool V_2 = false;
bool V_3 = false;
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * V_4 = NULL;
{
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_0 = Event_get_current_m072CEE599D11B8A9A916697E57C0F561188CDB2B(/*hidden argument*/NULL);
NullCheck(L_0);
int32_t L_1 = Event_get_type_mAABE4A35E5658E0079A1518D318AF2592F51D6FA(L_0, /*hidden argument*/NULL);
V_1 = L_1;
int32_t L_2 = V_1;
if ((((int32_t)L_2) == ((int32_t)8)))
{
goto IL_0019;
}
}
{
goto IL_0012;
}
IL_0012:
{
int32_t L_3 = V_1;
if ((((int32_t)L_3) == ((int32_t)((int32_t)12))))
{
goto IL_0019;
}
}
{
goto IL_004b;
}
IL_0019:
{
Type_t * L_4 = ___layoutType2;
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_5 = GUILayoutUtility_CreateGUILayoutGroupInstanceOfType_mA19EA3B8F8E86338A28A0C3E819766602D52F7EF(L_4, /*hidden argument*/NULL);
V_0 = L_5;
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_6 = V_0;
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_7 = ___style0;
NullCheck(L_6);
GUILayoutEntry_set_style_mEDD232A6CDB1B76ABC33EA06A05235316A180E2D(L_6, L_7, /*hidden argument*/NULL);
GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* L_8 = ___options1;
V_2 = (bool)((!(((RuntimeObject*)(GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B*)L_8) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_9 = V_2;
if (!L_9)
{
goto IL_0038;
}
}
{
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_10 = V_0;
GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* L_11 = ___options1;
NullCheck(L_10);
VirtActionInvoker1< GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* >::Invoke(13 /* System.Void UnityEngine.GUILayoutEntry::ApplyOptions(UnityEngine.GUILayoutOption[]) */, L_10, L_11);
}
IL_0038:
{
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_12 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
NullCheck(L_12);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_13 = L_12->get_topLevel_0();
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_14 = V_0;
NullCheck(L_13);
GUILayoutGroup_Add_mD964666892B1B23093B7BE6BE3F135423405D951(L_13, L_14, /*hidden argument*/NULL);
goto IL_0090;
}
IL_004b:
{
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_15 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
NullCheck(L_15);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_16 = L_15->get_topLevel_0();
NullCheck(L_16);
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_17 = GUILayoutGroup_GetNext_m0C486106E3ABC96620C4A0AF67CE12BF09C347B9(L_16, /*hidden argument*/NULL);
V_0 = ((GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 *)IsInstClass((RuntimeObject*)L_17, GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601_il2cpp_TypeInfo_var));
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_18 = V_0;
V_3 = (bool)((((RuntimeObject*)(GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 *)L_18) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_19 = V_3;
if (!L_19)
{
goto IL_0087;
}
}
{
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_20 = Event_get_current_m072CEE599D11B8A9A916697E57C0F561188CDB2B(/*hidden argument*/NULL);
NullCheck(L_20);
int32_t L_21 = Event_get_type_mAABE4A35E5658E0079A1518D318AF2592F51D6FA(L_20, /*hidden argument*/NULL);
int32_t L_22 = L_21;
RuntimeObject * L_23 = Box(EventType_t3D3937E705A4506226002DAB22071B7B181DA57B_il2cpp_TypeInfo_var, &L_22);
String_t* L_24 = String_Concat_mBB19C73816BDD1C3519F248E1ADC8E11A6FDB495(_stringLiteral3A12C369C969E4967077C631A923BD9EE421C241, L_23, /*hidden argument*/NULL);
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_25 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_25, L_24, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_25, GUILayoutUtility_BeginLayoutGroup_mBB7F6DDEC9574A704D2034E26FAABF882C37CD9B_RuntimeMethod_var);
}
IL_0087:
{
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_26 = V_0;
NullCheck(L_26);
GUILayoutGroup_ResetCursor_mD159DD9E101F6F348249D27D95709E1DC5C0A13F(L_26, /*hidden argument*/NULL);
goto IL_0090;
}
IL_0090:
{
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_27 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
NullCheck(L_27);
GenericStack_tC59D21E8DBC50F3C608479C942200AC44CA2D5BC * L_28 = L_27->get_layoutGroups_1();
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_29 = V_0;
NullCheck(L_28);
VirtActionInvoker1< RuntimeObject * >::Invoke(15 /* System.Void System.Collections.Stack::Push(System.Object) */, L_28, L_29);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_30 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_31 = V_0;
NullCheck(L_30);
L_30->set_topLevel_0(L_31);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_32 = V_0;
V_4 = L_32;
goto IL_00b1;
}
IL_00b1:
{
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_33 = V_4;
return L_33;
}
}
// System.Void UnityEngine.GUILayoutUtility::EndLayoutGroup()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutUtility_EndLayoutGroup_m15DAE05C04F1499BFB0711B741708C35CA0D4657 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUILayoutUtility_EndLayoutGroup_m15DAE05C04F1499BFB0711B741708C35CA0D4657_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
bool V_1 = false;
{
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_0 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
NullCheck(L_0);
GenericStack_tC59D21E8DBC50F3C608479C942200AC44CA2D5BC * L_1 = L_0->get_layoutGroups_1();
NullCheck(L_1);
int32_t L_2 = VirtFuncInvoker0< int32_t >::Invoke(8 /* System.Int32 System.Collections.Stack::get_Count() */, L_1);
V_0 = (bool)((((int32_t)L_2) == ((int32_t)0))? 1 : 0);
bool L_3 = V_0;
if (!L_3)
{
goto IL_0025;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(Debug_t7B5FCB117E2FD63B6838BC52821B252E2BFB61C4_il2cpp_TypeInfo_var);
Debug_LogError_m3BCF9B78263152261565DCA9DB7D55F0C391ED29(_stringLiteral71531D856B1034BFC52262032A547C65718E8C3E, /*hidden argument*/NULL);
goto IL_007a;
}
IL_0025:
{
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_4 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
NullCheck(L_4);
GenericStack_tC59D21E8DBC50F3C608479C942200AC44CA2D5BC * L_5 = L_4->get_layoutGroups_1();
NullCheck(L_5);
VirtFuncInvoker0< RuntimeObject * >::Invoke(14 /* System.Object System.Collections.Stack::Pop() */, L_5);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_6 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
NullCheck(L_6);
GenericStack_tC59D21E8DBC50F3C608479C942200AC44CA2D5BC * L_7 = L_6->get_layoutGroups_1();
NullCheck(L_7);
int32_t L_8 = VirtFuncInvoker0< int32_t >::Invoke(8 /* System.Int32 System.Collections.Stack::get_Count() */, L_7);
V_1 = (bool)((((int32_t)0) < ((int32_t)L_8))? 1 : 0);
bool L_9 = V_1;
if (!L_9)
{
goto IL_006b;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_10 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_11 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
NullCheck(L_11);
GenericStack_tC59D21E8DBC50F3C608479C942200AC44CA2D5BC * L_12 = L_11->get_layoutGroups_1();
NullCheck(L_12);
RuntimeObject * L_13 = VirtFuncInvoker0< RuntimeObject * >::Invoke(13 /* System.Object System.Collections.Stack::Peek() */, L_12);
NullCheck(L_10);
L_10->set_topLevel_0(((GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 *)CastclassClass((RuntimeObject*)L_13, GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601_il2cpp_TypeInfo_var)));
goto IL_007a;
}
IL_006b:
{
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_14 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_15 = (GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 *)il2cpp_codegen_object_new(GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601_il2cpp_TypeInfo_var);
GUILayoutGroup__ctor_m14D8B35B4A89F6688D354A534ED871860905BA3B(L_15, /*hidden argument*/NULL);
NullCheck(L_14);
L_14->set_topLevel_0(L_15);
}
IL_007a:
{
return;
}
}
// UnityEngine.Rect UnityEngine.GUILayoutUtility::GetRect(UnityEngine.GUIContent,UnityEngine.GUIStyle,UnityEngine.GUILayoutOption[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Rect_t35B976DE901B5423C11705E156938EA27AB402CE GUILayoutUtility_GetRect_m00D9C2F1117D9D9A55782A8C03CCBC0A88AF924D (GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content0, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style1, GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* ___options2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUILayoutUtility_GetRect_m00D9C2F1117D9D9A55782A8C03CCBC0A88AF924D_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Rect_t35B976DE901B5423C11705E156938EA27AB402CE V_0;
memset((&V_0), 0, sizeof(V_0));
{
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_0 = ___content0;
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_1 = ___style1;
GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* L_2 = ___options2;
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_3 = GUILayoutUtility_DoGetRect_m9F6CBD0C8F16A10C2B175D7DE81DF2B263533A2C(L_0, L_1, L_2, /*hidden argument*/NULL);
V_0 = L_3;
goto IL_000c;
}
IL_000c:
{
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_4 = V_0;
return L_4;
}
}
// UnityEngine.Rect UnityEngine.GUILayoutUtility::DoGetRect(UnityEngine.GUIContent,UnityEngine.GUIStyle,UnityEngine.GUILayoutOption[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Rect_t35B976DE901B5423C11705E156938EA27AB402CE GUILayoutUtility_DoGetRect_m9F6CBD0C8F16A10C2B175D7DE81DF2B263533A2C (GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content0, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style1, GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* ___options2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUILayoutUtility_DoGetRect_m9F6CBD0C8F16A10C2B175D7DE81DF2B263533A2C_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * V_1 = NULL;
bool V_2 = false;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D V_3;
memset((&V_3), 0, sizeof(V_3));
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D V_4;
memset((&V_4), 0, sizeof(V_4));
bool V_5 = false;
GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* V_6 = NULL;
int32_t V_7 = 0;
GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 * V_8 = NULL;
int32_t V_9 = 0;
Rect_t35B976DE901B5423C11705E156938EA27AB402CE V_10;
memset((&V_10), 0, sizeof(V_10));
{
GUIUtility_CheckOnGUI_mBFC764B475683BC50E40BD249248CE43DA754873(/*hidden argument*/NULL);
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_0 = Event_get_current_m072CEE599D11B8A9A916697E57C0F561188CDB2B(/*hidden argument*/NULL);
NullCheck(L_0);
int32_t L_1 = Event_get_type_mAABE4A35E5658E0079A1518D318AF2592F51D6FA(L_0, /*hidden argument*/NULL);
V_0 = L_1;
int32_t L_2 = V_0;
if ((((int32_t)L_2) == ((int32_t)8)))
{
goto IL_0025;
}
}
{
goto IL_0018;
}
IL_0018:
{
int32_t L_3 = V_0;
if ((((int32_t)L_3) == ((int32_t)((int32_t)12))))
{
goto IL_013a;
}
}
{
goto IL_0143;
}
IL_0025:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_4 = ___style1;
NullCheck(L_4);
bool L_5 = GUIStyle_get_isHeightDependantOnWidth_mC4321E45938F3836C4B1FC69209696C4247870E1(L_4, /*hidden argument*/NULL);
V_2 = L_5;
bool L_6 = V_2;
if (!L_6)
{
goto IL_004e;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_7 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
NullCheck(L_7);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_8 = L_7->get_topLevel_0();
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_9 = ___style1;
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_10 = ___content0;
GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* L_11 = ___options2;
GUIWordWrapSizer_tC17A8FB8EE28BDCFEE27C7E7000BA8215E76CFD0 * L_12 = (GUIWordWrapSizer_tC17A8FB8EE28BDCFEE27C7E7000BA8215E76CFD0 *)il2cpp_codegen_object_new(GUIWordWrapSizer_tC17A8FB8EE28BDCFEE27C7E7000BA8215E76CFD0_il2cpp_TypeInfo_var);
GUIWordWrapSizer__ctor_m17FEF18B072A86304EEA6BBADA5410D43FB45D91(L_12, L_9, L_10, L_11, /*hidden argument*/NULL);
NullCheck(L_8);
GUILayoutGroup_Add_mD964666892B1B23093B7BE6BE3F135423405D951(L_8, L_12, /*hidden argument*/NULL);
goto IL_0131;
}
IL_004e:
{
Vector2__ctor_mEE8FB117AB1F8DB746FB8B3EB4C0DA3BF2A230D0((Vector2_tA85D2DD88578276CA8A8796756458277E72D073D *)(&V_3), (0.0f), (0.0f), /*hidden argument*/NULL);
GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* L_13 = ___options2;
V_5 = (bool)((!(((RuntimeObject*)(GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B*)L_13) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_14 = V_5;
if (!L_14)
{
goto IL_00cd;
}
}
{
GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* L_15 = ___options2;
V_6 = L_15;
V_7 = 0;
goto IL_00c4;
}
IL_0074:
{
GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* L_16 = V_6;
int32_t L_17 = V_7;
NullCheck(L_16);
int32_t L_18 = L_17;
GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 * L_19 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
V_8 = L_19;
GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 * L_20 = V_8;
NullCheck(L_20);
int32_t L_21 = L_20->get_type_0();
V_9 = L_21;
int32_t L_22 = V_9;
if ((((int32_t)L_22) == ((int32_t)3)))
{
goto IL_00a8;
}
}
{
goto IL_008c;
}
IL_008c:
{
int32_t L_23 = V_9;
if ((((int32_t)L_23) == ((int32_t)5)))
{
goto IL_0093;
}
}
{
goto IL_00bd;
}
IL_0093:
{
GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 * L_24 = V_8;
NullCheck(L_24);
RuntimeObject * L_25 = L_24->get_value_1();
(&V_3)->set_y_1(((*(float*)((float*)UnBox(L_25, Single_tDDDA9169C4E4E308AC6D7A824F9B28DC82204AE1_il2cpp_TypeInfo_var)))));
goto IL_00bd;
}
IL_00a8:
{
GUILayoutOption_t27A0221AC2F6F53E7B89310FD19F51C565D835A6 * L_26 = V_8;
NullCheck(L_26);
RuntimeObject * L_27 = L_26->get_value_1();
(&V_3)->set_x_0(((*(float*)((float*)UnBox(L_27, Single_tDDDA9169C4E4E308AC6D7A824F9B28DC82204AE1_il2cpp_TypeInfo_var)))));
goto IL_00bd;
}
IL_00bd:
{
int32_t L_28 = V_7;
V_7 = ((int32_t)il2cpp_codegen_add((int32_t)L_28, (int32_t)1));
}
IL_00c4:
{
int32_t L_29 = V_7;
GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* L_30 = V_6;
NullCheck(L_30);
if ((((int32_t)L_29) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_30)->max_length)))))))
{
goto IL_0074;
}
}
{
}
IL_00cd:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_31 = ___style1;
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_32 = ___content0;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_33 = V_3;
NullCheck(L_31);
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_34 = GUIStyle_CalcSizeWithConstraints_mA0DE86AC24DEFA70E3EAFCEA9DE74190ACA85DBC(L_31, L_32, L_33, /*hidden argument*/NULL);
V_4 = L_34;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_35 = V_4;
float L_36 = L_35.get_x_0();
IL2CPP_RUNTIME_CLASS_INIT(Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var);
float L_37 = ceilf(L_36);
(&V_4)->set_x_0(L_37);
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_38 = V_4;
float L_39 = L_38.get_y_1();
float L_40 = ceilf(L_39);
(&V_4)->set_y_1(L_40);
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_41 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
NullCheck(L_41);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_42 = L_41->get_topLevel_0();
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_43 = V_4;
float L_44 = L_43.get_x_0();
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_45 = V_4;
float L_46 = L_45.get_x_0();
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_47 = V_4;
float L_48 = L_47.get_y_1();
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_49 = V_4;
float L_50 = L_49.get_y_1();
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_51 = ___style1;
GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* L_52 = ___options2;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_53 = (GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)il2cpp_codegen_object_new(GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845_il2cpp_TypeInfo_var);
GUILayoutEntry__ctor_m9F3EFD063D306A9EA3A5167D3D852123F569AD1E(L_53, L_44, L_46, L_48, L_50, L_51, L_52, /*hidden argument*/NULL);
NullCheck(L_42);
GUILayoutGroup_Add_mD964666892B1B23093B7BE6BE3F135423405D951(L_42, L_53, /*hidden argument*/NULL);
}
IL_0131:
{
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_54 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_kDummyRect_3();
V_10 = L_54;
goto IL_015d;
}
IL_013a:
{
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_55 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_kDummyRect_3();
V_10 = L_55;
goto IL_015d;
}
IL_0143:
{
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_56 = ((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->get_current_2();
NullCheck(L_56);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_57 = L_56->get_topLevel_0();
NullCheck(L_57);
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_58 = GUILayoutGroup_GetNext_m0C486106E3ABC96620C4A0AF67CE12BF09C347B9(L_57, /*hidden argument*/NULL);
V_1 = L_58;
GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 * L_59 = V_1;
NullCheck(L_59);
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_60 = L_59->get_rect_4();
V_10 = L_60;
goto IL_015d;
}
IL_015d:
{
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_61 = V_10;
return L_61;
}
}
// System.Void UnityEngine.GUILayoutUtility::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutUtility__cctor_m6C436C771D62B8982AE0E47DD5D41C607988395F (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUILayoutUtility__cctor_m6C436C771D62B8982AE0E47DD5D41C607988395F_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Dictionary_2_t0F1A21E14D53E05B0F1D474060AC4B36995FBCA1 * L_0 = (Dictionary_2_t0F1A21E14D53E05B0F1D474060AC4B36995FBCA1 *)il2cpp_codegen_object_new(Dictionary_2_t0F1A21E14D53E05B0F1D474060AC4B36995FBCA1_il2cpp_TypeInfo_var);
Dictionary_2__ctor_mD9286F4A0EF1BEC0B6BC4BD72D8D6A246B994EBF(L_0, /*hidden argument*/Dictionary_2__ctor_mD9286F4A0EF1BEC0B6BC4BD72D8D6A246B994EBF_RuntimeMethod_var);
((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->set_s_StoredLayouts_0(L_0);
Dictionary_2_t0F1A21E14D53E05B0F1D474060AC4B36995FBCA1 * L_1 = (Dictionary_2_t0F1A21E14D53E05B0F1D474060AC4B36995FBCA1 *)il2cpp_codegen_object_new(Dictionary_2_t0F1A21E14D53E05B0F1D474060AC4B36995FBCA1_il2cpp_TypeInfo_var);
Dictionary_2__ctor_mD9286F4A0EF1BEC0B6BC4BD72D8D6A246B994EBF(L_1, /*hidden argument*/Dictionary_2__ctor_mD9286F4A0EF1BEC0B6BC4BD72D8D6A246B994EBF_RuntimeMethod_var);
((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->set_s_StoredWindows_1(L_1);
LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * L_2 = (LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 *)il2cpp_codegen_object_new(LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468_il2cpp_TypeInfo_var);
LayoutCache__ctor_mF66D53540321BFD98CA89285D2E8FFDA5014A9CE(L_2, /*hidden argument*/NULL);
((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->set_current_2(L_2);
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_3;
memset((&L_3), 0, sizeof(L_3));
Rect__ctor_m50B92C75005C9C5A0D05E6E0EBB43AFAF7C66280((&L_3), (0.0f), (0.0f), (1.0f), (1.0f), /*hidden argument*/NULL);
((GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_StaticFields*)il2cpp_codegen_static_fields_for(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var))->set_kDummyRect_3(L_3);
return;
}
}
// System.Void UnityEngine.GUILayoutUtility::Internal_GetWindowRect_Injected(System.Int32,UnityEngine.Rect&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutUtility_Internal_GetWindowRect_Injected_mE78DA4F8B25471CEFFCB6F43E37C7966FE436EEE (int32_t ___windowID0, Rect_t35B976DE901B5423C11705E156938EA27AB402CE * ___ret1, const RuntimeMethod* method)
{
typedef void (*GUILayoutUtility_Internal_GetWindowRect_Injected_mE78DA4F8B25471CEFFCB6F43E37C7966FE436EEE_ftn) (int32_t, Rect_t35B976DE901B5423C11705E156938EA27AB402CE *);
static GUILayoutUtility_Internal_GetWindowRect_Injected_mE78DA4F8B25471CEFFCB6F43E37C7966FE436EEE_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUILayoutUtility_Internal_GetWindowRect_Injected_mE78DA4F8B25471CEFFCB6F43E37C7966FE436EEE_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUILayoutUtility::Internal_GetWindowRect_Injected(System.Int32,UnityEngine.Rect&)");
_il2cpp_icall_func(___windowID0, ___ret1);
}
// System.Void UnityEngine.GUILayoutUtility::Internal_MoveWindow_Injected(System.Int32,UnityEngine.Rect&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUILayoutUtility_Internal_MoveWindow_Injected_mD80D56182A5684AC3BDA2B50AC8191974A064ABE (int32_t ___windowID0, Rect_t35B976DE901B5423C11705E156938EA27AB402CE * ___r1, const RuntimeMethod* method)
{
typedef void (*GUILayoutUtility_Internal_MoveWindow_Injected_mD80D56182A5684AC3BDA2B50AC8191974A064ABE_ftn) (int32_t, Rect_t35B976DE901B5423C11705E156938EA27AB402CE *);
static GUILayoutUtility_Internal_MoveWindow_Injected_mD80D56182A5684AC3BDA2B50AC8191974A064ABE_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUILayoutUtility_Internal_MoveWindow_Injected_mD80D56182A5684AC3BDA2B50AC8191974A064ABE_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUILayoutUtility::Internal_MoveWindow_Injected(System.Int32,UnityEngine.Rect&)");
_il2cpp_icall_func(___windowID0, ___r1);
}
#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 UnityEngine.GUILayoutUtility_LayoutCache::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LayoutCache__ctor_mF66D53540321BFD98CA89285D2E8FFDA5014A9CE (LayoutCache_t0D14FE6139444D164ECA5D31E39E625D80077468 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (LayoutCache__ctor_mF66D53540321BFD98CA89285D2E8FFDA5014A9CE_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_0 = (GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 *)il2cpp_codegen_object_new(GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601_il2cpp_TypeInfo_var);
GUILayoutGroup__ctor_m14D8B35B4A89F6688D354A534ED871860905BA3B(L_0, /*hidden argument*/NULL);
__this->set_topLevel_0(L_0);
GenericStack_tC59D21E8DBC50F3C608479C942200AC44CA2D5BC * L_1 = (GenericStack_tC59D21E8DBC50F3C608479C942200AC44CA2D5BC *)il2cpp_codegen_object_new(GenericStack_tC59D21E8DBC50F3C608479C942200AC44CA2D5BC_il2cpp_TypeInfo_var);
GenericStack__ctor_m0659B84DB6B093AF1F01F566686C510DDEEAE848(L_1, /*hidden argument*/NULL);
__this->set_layoutGroups_1(L_1);
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_2 = (GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 *)il2cpp_codegen_object_new(GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601_il2cpp_TypeInfo_var);
GUILayoutGroup__ctor_m14D8B35B4A89F6688D354A534ED871860905BA3B(L_2, /*hidden argument*/NULL);
__this->set_windows_2(L_2);
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
GenericStack_tC59D21E8DBC50F3C608479C942200AC44CA2D5BC * L_3 = __this->get_layoutGroups_1();
GUILayoutGroup_tCC791055AD03074C1257B699304E4B45C97DE601 * L_4 = __this->get_topLevel_0();
NullCheck(L_3);
VirtActionInvoker1< RuntimeObject * >::Invoke(15 /* System.Void System.Collections.Stack::Push(System.Object) */, L_3, L_4);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void UnityEngine.GUIScrollGroup::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIScrollGroup__ctor_m02640E287AFD4B19EA03F7867247ED9D0836F41D (GUIScrollGroup_tF7FE45226FB28968F68A8D2428FE9EA7DC5B18EE * __this, const RuntimeMethod* method)
{
{
__this->set_allowHorizontalScroll_37((bool)1);
__this->set_allowVerticalScroll_38((bool)1);
GUILayoutGroup__ctor_m14D8B35B4A89F6688D354A534ED871860905BA3B(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.GUIScrollGroup::CalcWidth()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIScrollGroup_CalcWidth_mA061AA4FA5BDE43DF862D57E7BF7C2A13147AA86 (GUIScrollGroup_tF7FE45226FB28968F68A8D2428FE9EA7DC5B18EE * __this, const RuntimeMethod* method)
{
float V_0 = 0.0f;
float V_1 = 0.0f;
bool V_2 = false;
bool V_3 = false;
bool V_4 = false;
bool V_5 = false;
bool V_6 = false;
{
float L_0 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->get_minWidth_0();
V_0 = L_0;
float L_1 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->get_maxWidth_1();
V_1 = L_1;
bool L_2 = __this->get_allowHorizontalScroll_37();
V_2 = L_2;
bool L_3 = V_2;
if (!L_3)
{
goto IL_0031;
}
}
{
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_minWidth_0((0.0f));
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_maxWidth_1((0.0f));
}
IL_0031:
{
GUILayoutGroup_CalcWidth_m0D2819C659392B14175C2B163DD889AD35794A9B(__this, /*hidden argument*/NULL);
float L_4 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->get_minWidth_0();
__this->set_calcMinWidth_31(L_4);
float L_5 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->get_maxWidth_1();
__this->set_calcMaxWidth_32(L_5);
bool L_6 = __this->get_allowHorizontalScroll_37();
V_3 = L_6;
bool L_7 = V_3;
if (!L_7)
{
goto IL_00b3;
}
}
{
float L_8 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->get_minWidth_0();
V_4 = (bool)((((float)L_8) > ((float)(32.0f)))? 1 : 0);
bool L_9 = V_4;
if (!L_9)
{
goto IL_0079;
}
}
{
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_minWidth_0((32.0f));
}
IL_0079:
{
float L_10 = V_0;
V_5 = (bool)((((int32_t)((((float)L_10) == ((float)(0.0f)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_11 = V_5;
if (!L_11)
{
goto IL_0091;
}
}
{
float L_12 = V_0;
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_minWidth_0(L_12);
}
IL_0091:
{
float L_13 = V_1;
V_6 = (bool)((((int32_t)((((float)L_13) == ((float)(0.0f)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_14 = V_6;
if (!L_14)
{
goto IL_00b2;
}
}
{
float L_15 = V_1;
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_maxWidth_1(L_15);
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_stretchWidth_5(0);
}
IL_00b2:
{
}
IL_00b3:
{
return;
}
}
// System.Void UnityEngine.GUIScrollGroup::SetHorizontal(System.Single,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIScrollGroup_SetHorizontal_m89C0FEDC0F240656C2E692503321EFFF6E6107DA (GUIScrollGroup_tF7FE45226FB28968F68A8D2428FE9EA7DC5B18EE * __this, float ___x0, float ___width1, const RuntimeMethod* method)
{
float V_0 = 0.0f;
bool V_1 = false;
bool V_2 = false;
float G_B3_0 = 0.0f;
int32_t G_B6_0 = 0;
{
bool L_0 = __this->get_needsVerticalScrollbar_40();
if (L_0)
{
goto IL_000c;
}
}
{
float L_1 = ___width1;
G_B3_0 = L_1;
goto IL_002b;
}
IL_000c:
{
float L_2 = ___width1;
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_3 = __this->get_verticalScrollbar_42();
NullCheck(L_3);
float L_4 = GUIStyle_get_fixedWidth_mEACB70758F83DCD64CE363143849CC40E49B8D8D(L_3, /*hidden argument*/NULL);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_5 = __this->get_verticalScrollbar_42();
NullCheck(L_5);
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_6 = GUIStyle_get_margin_mFC3EA0FA030A6334AC03BDDFA4AC80419C9E5BAA(L_5, /*hidden argument*/NULL);
NullCheck(L_6);
int32_t L_7 = RectOffset_get_left_mA86EC00866C1940134873E3A1565A1F700DE67AD(L_6, /*hidden argument*/NULL);
G_B3_0 = ((float)il2cpp_codegen_subtract((float)((float)il2cpp_codegen_subtract((float)L_2, (float)L_4)), (float)(((float)((float)L_7)))));
}
IL_002b:
{
V_0 = G_B3_0;
bool L_8 = __this->get_allowHorizontalScroll_37();
if (!L_8)
{
goto IL_003f;
}
}
{
float L_9 = V_0;
float L_10 = __this->get_calcMinWidth_31();
G_B6_0 = ((((float)L_9) < ((float)L_10))? 1 : 0);
goto IL_0040;
}
IL_003f:
{
G_B6_0 = 0;
}
IL_0040:
{
V_1 = (bool)G_B6_0;
bool L_11 = V_1;
if (!L_11)
{
goto IL_008e;
}
}
{
__this->set_needsHorizontalScrollbar_39((bool)1);
float L_12 = __this->get_calcMinWidth_31();
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_minWidth_0(L_12);
float L_13 = __this->get_calcMaxWidth_32();
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_maxWidth_1(L_13);
float L_14 = ___x0;
float L_15 = __this->get_calcMinWidth_31();
GUILayoutGroup_SetHorizontal_m0AFB617E7BB6B32431BA65873B27660E6E5C9E51(__this, L_14, L_15, /*hidden argument*/NULL);
Rect_t35B976DE901B5423C11705E156938EA27AB402CE * L_16 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->get_address_of_rect_4();
float L_17 = ___width1;
Rect_set_width_mC81EF602AC91E0C615C12FCE060254A461A152B8((Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)L_16, L_17, /*hidden argument*/NULL);
float L_18 = __this->get_calcMinWidth_31();
__this->set_clientWidth_35(L_18);
goto IL_00d8;
}
IL_008e:
{
__this->set_needsHorizontalScrollbar_39((bool)0);
bool L_19 = __this->get_allowHorizontalScroll_37();
V_2 = L_19;
bool L_20 = V_2;
if (!L_20)
{
goto IL_00ba;
}
}
{
float L_21 = __this->get_calcMinWidth_31();
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_minWidth_0(L_21);
float L_22 = __this->get_calcMaxWidth_32();
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_maxWidth_1(L_22);
}
IL_00ba:
{
float L_23 = ___x0;
float L_24 = V_0;
GUILayoutGroup_SetHorizontal_m0AFB617E7BB6B32431BA65873B27660E6E5C9E51(__this, L_23, L_24, /*hidden argument*/NULL);
Rect_t35B976DE901B5423C11705E156938EA27AB402CE * L_25 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->get_address_of_rect_4();
float L_26 = ___width1;
Rect_set_width_mC81EF602AC91E0C615C12FCE060254A461A152B8((Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)L_25, L_26, /*hidden argument*/NULL);
float L_27 = V_0;
__this->set_clientWidth_35(L_27);
}
IL_00d8:
{
return;
}
}
// System.Void UnityEngine.GUIScrollGroup::CalcHeight()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIScrollGroup_CalcHeight_mD3A3C0B44A1E4DC567D1E8C20A68E1DD786EC196 (GUIScrollGroup_tF7FE45226FB28968F68A8D2428FE9EA7DC5B18EE * __this, const RuntimeMethod* method)
{
float V_0 = 0.0f;
float V_1 = 0.0f;
bool V_2 = false;
bool V_3 = false;
float V_4 = 0.0f;
bool V_5 = false;
bool V_6 = false;
bool V_7 = false;
bool V_8 = false;
{
float L_0 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->get_minHeight_2();
V_0 = L_0;
float L_1 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->get_maxHeight_3();
V_1 = L_1;
bool L_2 = __this->get_allowVerticalScroll_38();
V_2 = L_2;
bool L_3 = V_2;
if (!L_3)
{
goto IL_0031;
}
}
{
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_minHeight_2((0.0f));
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_maxHeight_3((0.0f));
}
IL_0031:
{
GUILayoutGroup_CalcHeight_m0511BD2172BC13D54ABC8DB5887A91C17E9F21BB(__this, /*hidden argument*/NULL);
float L_4 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->get_minHeight_2();
__this->set_calcMinHeight_33(L_4);
float L_5 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->get_maxHeight_3();
__this->set_calcMaxHeight_34(L_5);
bool L_6 = __this->get_needsHorizontalScrollbar_39();
V_3 = L_6;
bool L_7 = V_3;
if (!L_7)
{
goto IL_0099;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_8 = __this->get_horizontalScrollbar_41();
NullCheck(L_8);
float L_9 = GUIStyle_get_fixedHeight_m9B5589C95B27C5590219413E8D7E9E1E95EB7708(L_8, /*hidden argument*/NULL);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_10 = __this->get_horizontalScrollbar_41();
NullCheck(L_10);
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_11 = GUIStyle_get_margin_mFC3EA0FA030A6334AC03BDDFA4AC80419C9E5BAA(L_10, /*hidden argument*/NULL);
NullCheck(L_11);
int32_t L_12 = RectOffset_get_top_mBA813D4147BFBC079933054018437F411B6B41E1(L_11, /*hidden argument*/NULL);
V_4 = ((float)il2cpp_codegen_add((float)L_9, (float)(((float)((float)L_12)))));
float L_13 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->get_minHeight_2();
float L_14 = V_4;
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_minHeight_2(((float)il2cpp_codegen_add((float)L_13, (float)L_14)));
float L_15 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->get_maxHeight_3();
float L_16 = V_4;
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_maxHeight_3(((float)il2cpp_codegen_add((float)L_15, (float)L_16)));
}
IL_0099:
{
bool L_17 = __this->get_allowVerticalScroll_38();
V_5 = L_17;
bool L_18 = V_5;
if (!L_18)
{
goto IL_00fe;
}
}
{
float L_19 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->get_minHeight_2();
V_6 = (bool)((((float)L_19) > ((float)(32.0f)))? 1 : 0);
bool L_20 = V_6;
if (!L_20)
{
goto IL_00c4;
}
}
{
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_minHeight_2((32.0f));
}
IL_00c4:
{
float L_21 = V_0;
V_7 = (bool)((((int32_t)((((float)L_21) == ((float)(0.0f)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_22 = V_7;
if (!L_22)
{
goto IL_00dc;
}
}
{
float L_23 = V_0;
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_minHeight_2(L_23);
}
IL_00dc:
{
float L_24 = V_1;
V_8 = (bool)((((int32_t)((((float)L_24) == ((float)(0.0f)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_25 = V_8;
if (!L_25)
{
goto IL_00fd;
}
}
{
float L_26 = V_1;
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_maxHeight_3(L_26);
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_stretchHeight_6(0);
}
IL_00fd:
{
}
IL_00fe:
{
return;
}
}
// System.Void UnityEngine.GUIScrollGroup::SetVertical(System.Single,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIScrollGroup_SetVertical_m4EF0255426047DF9A3E4C63C1ACBF3FE0690A7AB (GUIScrollGroup_tF7FE45226FB28968F68A8D2428FE9EA7DC5B18EE * __this, float ___y0, float ___height1, const RuntimeMethod* method)
{
float V_0 = 0.0f;
bool V_1 = false;
bool V_2 = false;
float V_3 = 0.0f;
float V_4 = 0.0f;
bool V_5 = false;
float V_6 = 0.0f;
bool V_7 = false;
bool V_8 = false;
int32_t G_B5_0 = 0;
int32_t G_B9_0 = 0;
{
float L_0 = ___height1;
V_0 = L_0;
bool L_1 = __this->get_needsHorizontalScrollbar_39();
V_1 = L_1;
bool L_2 = V_1;
if (!L_2)
{
goto IL_002d;
}
}
{
float L_3 = V_0;
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_4 = __this->get_horizontalScrollbar_41();
NullCheck(L_4);
float L_5 = GUIStyle_get_fixedHeight_m9B5589C95B27C5590219413E8D7E9E1E95EB7708(L_4, /*hidden argument*/NULL);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_6 = __this->get_horizontalScrollbar_41();
NullCheck(L_6);
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_7 = GUIStyle_get_margin_mFC3EA0FA030A6334AC03BDDFA4AC80419C9E5BAA(L_6, /*hidden argument*/NULL);
NullCheck(L_7);
int32_t L_8 = RectOffset_get_top_mBA813D4147BFBC079933054018437F411B6B41E1(L_7, /*hidden argument*/NULL);
V_0 = ((float)il2cpp_codegen_subtract((float)L_3, (float)((float)il2cpp_codegen_add((float)L_5, (float)(((float)((float)L_8)))))));
}
IL_002d:
{
bool L_9 = __this->get_allowVerticalScroll_38();
if (!L_9)
{
goto IL_0040;
}
}
{
float L_10 = V_0;
float L_11 = __this->get_calcMinHeight_33();
G_B5_0 = ((((float)L_10) < ((float)L_11))? 1 : 0);
goto IL_0041;
}
IL_0040:
{
G_B5_0 = 0;
}
IL_0041:
{
V_2 = (bool)G_B5_0;
bool L_12 = V_2;
if (!L_12)
{
goto IL_0151;
}
}
{
bool L_13 = __this->get_needsHorizontalScrollbar_39();
if (L_13)
{
goto IL_005c;
}
}
{
bool L_14 = __this->get_needsVerticalScrollbar_40();
G_B9_0 = ((((int32_t)L_14) == ((int32_t)0))? 1 : 0);
goto IL_005d;
}
IL_005c:
{
G_B9_0 = 0;
}
IL_005d:
{
V_5 = (bool)G_B9_0;
bool L_15 = V_5;
if (!L_15)
{
goto IL_00f1;
}
}
{
Rect_t35B976DE901B5423C11705E156938EA27AB402CE * L_16 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->get_address_of_rect_4();
float L_17 = Rect_get_width_m54FF69FC2C086E2DC349ED091FD0D6576BFB1484((Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)L_16, /*hidden argument*/NULL);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_18 = __this->get_verticalScrollbar_42();
NullCheck(L_18);
float L_19 = GUIStyle_get_fixedWidth_mEACB70758F83DCD64CE363143849CC40E49B8D8D(L_18, /*hidden argument*/NULL);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_20 = __this->get_verticalScrollbar_42();
NullCheck(L_20);
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_21 = GUIStyle_get_margin_mFC3EA0FA030A6334AC03BDDFA4AC80419C9E5BAA(L_20, /*hidden argument*/NULL);
NullCheck(L_21);
int32_t L_22 = RectOffset_get_left_mA86EC00866C1940134873E3A1565A1F700DE67AD(L_21, /*hidden argument*/NULL);
__this->set_clientWidth_35(((float)il2cpp_codegen_subtract((float)((float)il2cpp_codegen_subtract((float)L_17, (float)L_19)), (float)(((float)((float)L_22))))));
float L_23 = __this->get_clientWidth_35();
float L_24 = __this->get_calcMinWidth_31();
V_7 = (bool)((((float)L_23) < ((float)L_24))? 1 : 0);
bool L_25 = V_7;
if (!L_25)
{
goto IL_00b6;
}
}
{
float L_26 = __this->get_calcMinWidth_31();
__this->set_clientWidth_35(L_26);
}
IL_00b6:
{
Rect_t35B976DE901B5423C11705E156938EA27AB402CE * L_27 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->get_address_of_rect_4();
float L_28 = Rect_get_width_m54FF69FC2C086E2DC349ED091FD0D6576BFB1484((Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)L_27, /*hidden argument*/NULL);
V_6 = L_28;
Rect_t35B976DE901B5423C11705E156938EA27AB402CE * L_29 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->get_address_of_rect_4();
float L_30 = Rect_get_x_mC51A461F546D14832EB96B11A7198DADDE2597B7((Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)L_29, /*hidden argument*/NULL);
float L_31 = __this->get_clientWidth_35();
VirtActionInvoker2< float, float >::Invoke(10 /* System.Void UnityEngine.GUILayoutEntry::SetHorizontal(System.Single,System.Single) */, __this, L_30, L_31);
VirtActionInvoker0::Invoke(9 /* System.Void UnityEngine.GUILayoutEntry::CalcHeight() */, __this);
Rect_t35B976DE901B5423C11705E156938EA27AB402CE * L_32 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->get_address_of_rect_4();
float L_33 = V_6;
Rect_set_width_mC81EF602AC91E0C615C12FCE060254A461A152B8((Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)L_32, L_33, /*hidden argument*/NULL);
}
IL_00f1:
{
float L_34 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->get_minHeight_2();
V_3 = L_34;
float L_35 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->get_maxHeight_3();
V_4 = L_35;
float L_36 = __this->get_calcMinHeight_33();
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_minHeight_2(L_36);
float L_37 = __this->get_calcMaxHeight_34();
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_maxHeight_3(L_37);
float L_38 = ___y0;
float L_39 = __this->get_calcMinHeight_33();
GUILayoutGroup_SetVertical_m29D8744D2D1464EF4E6E4008CD21F5E44D6CB146(__this, L_38, L_39, /*hidden argument*/NULL);
float L_40 = V_3;
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_minHeight_2(L_40);
float L_41 = V_4;
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_maxHeight_3(L_41);
Rect_t35B976DE901B5423C11705E156938EA27AB402CE * L_42 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->get_address_of_rect_4();
float L_43 = ___height1;
Rect_set_height_mF4CB5A97D4706696F1C9EA31A5D8C466E48050D6((Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)L_42, L_43, /*hidden argument*/NULL);
float L_44 = __this->get_calcMinHeight_33();
__this->set_clientHeight_36(L_44);
goto IL_0196;
}
IL_0151:
{
bool L_45 = __this->get_allowVerticalScroll_38();
V_8 = L_45;
bool L_46 = V_8;
if (!L_46)
{
goto IL_0178;
}
}
{
float L_47 = __this->get_calcMinHeight_33();
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_minHeight_2(L_47);
float L_48 = __this->get_calcMaxHeight_34();
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_maxHeight_3(L_48);
}
IL_0178:
{
float L_49 = ___y0;
float L_50 = V_0;
GUILayoutGroup_SetVertical_m29D8744D2D1464EF4E6E4008CD21F5E44D6CB146(__this, L_49, L_50, /*hidden argument*/NULL);
Rect_t35B976DE901B5423C11705E156938EA27AB402CE * L_51 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->get_address_of_rect_4();
float L_52 = ___height1;
Rect_set_height_mF4CB5A97D4706696F1C9EA31A5D8C466E48050D6((Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)L_51, L_52, /*hidden argument*/NULL);
float L_53 = V_0;
__this->set_clientHeight_36(L_53);
}
IL_0196:
{
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 UnityEngine.GUISettings::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUISettings__ctor_m6D2D6608CE04A741235BF0C8E134195B196F116D (GUISettings_tA863524720A3C984BAE56598D922F2C04DC80EF4 * __this, const RuntimeMethod* method)
{
{
__this->set_m_DoubleClickSelectsWord_0((bool)1);
__this->set_m_TripleClickSelectsLine_1((bool)1);
Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 L_0 = Color_get_white_mE7F3AC4FF0D6F35E48049C73116A222CBE96D905(/*hidden argument*/NULL);
__this->set_m_CursorColor_2(L_0);
__this->set_m_CursorFlashSpeed_3((-1.0f));
Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 L_1;
memset((&L_1), 0, sizeof(L_1));
Color__ctor_mC9AEEB3931D5B8C37483A884DD8EB40DC8946369((&L_1), (0.5f), (0.5f), (1.0f), /*hidden argument*/NULL);
__this->set_m_SelectionColor_4(L_1);
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void UnityEngine.GUISkin::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUISkin__ctor_mD75B370774F1DA0C871C8C642299E8DB4B0FABFF (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUISkin__ctor_mD75B370774F1DA0C871C8C642299E8DB4B0FABFF_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
GUISettings_tA863524720A3C984BAE56598D922F2C04DC80EF4 * L_0 = (GUISettings_tA863524720A3C984BAE56598D922F2C04DC80EF4 *)il2cpp_codegen_object_new(GUISettings_tA863524720A3C984BAE56598D922F2C04DC80EF4_il2cpp_TypeInfo_var);
GUISettings__ctor_m6D2D6608CE04A741235BF0C8E134195B196F116D(L_0, /*hidden argument*/NULL);
__this->set_m_Settings_28(L_0);
__this->set_m_Styles_30((Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A *)NULL);
ScriptableObject__ctor_m6E2B3821A4A361556FC12E9B1C71E1D5DC002C5B(__this, /*hidden argument*/NULL);
GUIStyleU5BU5D_t2F343713D6ADFF41BBCF1D17BAE79F51BD745DBB* L_1 = (GUIStyleU5BU5D_t2F343713D6ADFF41BBCF1D17BAE79F51BD745DBB*)(GUIStyleU5BU5D_t2F343713D6ADFF41BBCF1D17BAE79F51BD745DBB*)SZArrayNew(GUIStyleU5BU5D_t2F343713D6ADFF41BBCF1D17BAE79F51BD745DBB_il2cpp_TypeInfo_var, (uint32_t)1);
__this->set_m_CustomStyles_27(L_1);
return;
}
}
// System.Void UnityEngine.GUISkin::OnEnable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUISkin_OnEnable_mD8DE1BF0D0D0DA01EF240CE80C8B890DC03D30D0 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, const RuntimeMethod* method)
{
{
GUISkin_Apply_mA93B0EEE3C2DE1F8D867A472130CDA98814C8A49(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.GUISkin::CleanupRoots()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUISkin_CleanupRoots_m00D215E556265ACF704EA1C31399298DB092BA02 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUISkin_CleanupRoots_m00D215E556265ACF704EA1C31399298DB092BA02_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
((GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7_StaticFields*)il2cpp_codegen_static_fields_for(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7_il2cpp_TypeInfo_var))->set_current_32((GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 *)NULL);
((GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7_StaticFields*)il2cpp_codegen_static_fields_for(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7_il2cpp_TypeInfo_var))->set_ms_Error_29((GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)NULL);
return;
}
}
// UnityEngine.Font UnityEngine.GUISkin::get_font()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * GUISkin_get_font_m54200DFAF834B835CE6598E1BA5B41382BC33AD5 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, const RuntimeMethod* method)
{
Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * V_0 = NULL;
{
Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_0 = __this->get_m_Font_4();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.GUISkin::set_font(UnityEngine.Font)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUISkin_set_font_m2602A62DF6F035C7DA9BF4411C5F117022B5C07F (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUISkin_set_font_m2602A62DF6F035C7DA9BF4411C5F117022B5C07F_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_0 = ___value0;
__this->set_m_Font_4(L_0);
GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * L_1 = ((GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7_StaticFields*)il2cpp_codegen_static_fields_for(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7_il2cpp_TypeInfo_var))->get_current_32();
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C(L_1, __this, /*hidden argument*/NULL);
V_0 = L_2;
bool L_3 = V_0;
if (!L_3)
{
goto IL_0023;
}
}
{
Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_4 = __this->get_m_Font_4();
IL2CPP_RUNTIME_CLASS_INIT(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle_SetDefaultFont_m09D149F682E885D7058E3C48EB42C9E62363E381(L_4, /*hidden argument*/NULL);
}
IL_0023:
{
GUISkin_Apply_mA93B0EEE3C2DE1F8D867A472130CDA98814C8A49(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.GUIStyle UnityEngine.GUISkin::get_box()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * GUISkin_get_box_m7305FA20CDC5A31518AE753AEF7B9075F6242B11 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, const RuntimeMethod* method)
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * V_0 = NULL;
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = __this->get_m_box_5();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.GUISkin::set_box(UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUISkin_set_box_m6D6D19E122461C6B2945349AA6ECD53E355702B0 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___value0, const RuntimeMethod* method)
{
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = ___value0;
__this->set_m_box_5(L_0);
GUISkin_Apply_mA93B0EEE3C2DE1F8D867A472130CDA98814C8A49(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.GUIStyle UnityEngine.GUISkin::get_label()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * GUISkin_get_label_mC5C9D4CD377D7F5BB970B01E665EE077565AFF72 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, const RuntimeMethod* method)
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * V_0 = NULL;
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = __this->get_m_label_8();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.GUISkin::set_label(UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUISkin_set_label_m7EC231FDB8DEC9A5CD794578D70BB76A1978F508 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___value0, const RuntimeMethod* method)
{
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = ___value0;
__this->set_m_label_8(L_0);
GUISkin_Apply_mA93B0EEE3C2DE1F8D867A472130CDA98814C8A49(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.GUIStyle UnityEngine.GUISkin::get_textField()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * GUISkin_get_textField_m7C206D0A044A8D5DD00E63BCD7958089E77419E9 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, const RuntimeMethod* method)
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * V_0 = NULL;
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = __this->get_m_textField_9();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.GUISkin::set_textField(UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUISkin_set_textField_m641D44C99CFC17A18BC0F094D4C810742222D0D2 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___value0, const RuntimeMethod* method)
{
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = ___value0;
__this->set_m_textField_9(L_0);
GUISkin_Apply_mA93B0EEE3C2DE1F8D867A472130CDA98814C8A49(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.GUIStyle UnityEngine.GUISkin::get_textArea()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * GUISkin_get_textArea_m865E5C1D39519731718B66C9C993DFDEE0299C92 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, const RuntimeMethod* method)
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * V_0 = NULL;
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = __this->get_m_textArea_10();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.GUISkin::set_textArea(UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUISkin_set_textArea_m3C0C4795FC031AA0E8815FA9E0CAD304E1266157 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___value0, const RuntimeMethod* method)
{
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = ___value0;
__this->set_m_textArea_10(L_0);
GUISkin_Apply_mA93B0EEE3C2DE1F8D867A472130CDA98814C8A49(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.GUIStyle UnityEngine.GUISkin::get_button()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * GUISkin_get_button_m015FA6A0418D94F03B5F12131DED65CCFDCA8F7A (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, const RuntimeMethod* method)
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * V_0 = NULL;
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = __this->get_m_button_6();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.GUISkin::set_button(UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUISkin_set_button_m6DE2099849A8911FA77BE275B2552E48A356A67E (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___value0, const RuntimeMethod* method)
{
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = ___value0;
__this->set_m_button_6(L_0);
GUISkin_Apply_mA93B0EEE3C2DE1F8D867A472130CDA98814C8A49(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.GUIStyle UnityEngine.GUISkin::get_toggle()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * GUISkin_get_toggle_mB5459058B1C84826D47FA9BFE9CC9D05BB074030 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, const RuntimeMethod* method)
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * V_0 = NULL;
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = __this->get_m_toggle_7();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.GUISkin::set_toggle(UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUISkin_set_toggle_mD80DC18C72883EE616583CB75FA6C83F5C4C29F8 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___value0, const RuntimeMethod* method)
{
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = ___value0;
__this->set_m_toggle_7(L_0);
GUISkin_Apply_mA93B0EEE3C2DE1F8D867A472130CDA98814C8A49(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.GUIStyle UnityEngine.GUISkin::get_window()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * GUISkin_get_window_mD0E9B84DBBDF7CA3FB566849E4507B5E4C6490B9 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, const RuntimeMethod* method)
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * V_0 = NULL;
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = __this->get_m_window_11();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.GUISkin::set_window(UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUISkin_set_window_m2284011FEDEADF15D6AA2ACD636244B74C5A6F3A (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___value0, const RuntimeMethod* method)
{
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = ___value0;
__this->set_m_window_11(L_0);
GUISkin_Apply_mA93B0EEE3C2DE1F8D867A472130CDA98814C8A49(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.GUIStyle UnityEngine.GUISkin::get_horizontalSlider()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * GUISkin_get_horizontalSlider_mDC40C8921B044801488863EC52002C84C68E570B (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, const RuntimeMethod* method)
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * V_0 = NULL;
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = __this->get_m_horizontalSlider_12();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.GUISkin::set_horizontalSlider(UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUISkin_set_horizontalSlider_m761A767684EB3014E2D50D377C2B381B46FCF931 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___value0, const RuntimeMethod* method)
{
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = ___value0;
__this->set_m_horizontalSlider_12(L_0);
GUISkin_Apply_mA93B0EEE3C2DE1F8D867A472130CDA98814C8A49(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.GUIStyle UnityEngine.GUISkin::get_horizontalSliderThumb()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * GUISkin_get_horizontalSliderThumb_m0906181E7D7A364A784031556658BC2AB14A49DD (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, const RuntimeMethod* method)
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * V_0 = NULL;
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = __this->get_m_horizontalSliderThumb_13();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.GUISkin::set_horizontalSliderThumb(UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUISkin_set_horizontalSliderThumb_mEA4D61F20729CCBC6E3CBCC7E0AD5A48E37DF056 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___value0, const RuntimeMethod* method)
{
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = ___value0;
__this->set_m_horizontalSliderThumb_13(L_0);
GUISkin_Apply_mA93B0EEE3C2DE1F8D867A472130CDA98814C8A49(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.GUIStyle UnityEngine.GUISkin::get_horizontalSliderThumbExtent()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * GUISkin_get_horizontalSliderThumbExtent_mC06DFB3D8BFFE3B610E6E78D846C5E97BAE689CF (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, const RuntimeMethod* method)
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * V_0 = NULL;
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = __this->get_m_horizontalSliderThumbExtent_14();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.GUISkin::set_horizontalSliderThumbExtent(UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUISkin_set_horizontalSliderThumbExtent_m6A9C37193CC2F691A4A635CA3C2B7FF86D4796D2 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___value0, const RuntimeMethod* method)
{
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = ___value0;
__this->set_m_horizontalSliderThumbExtent_14(L_0);
GUISkin_Apply_mA93B0EEE3C2DE1F8D867A472130CDA98814C8A49(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.GUIStyle UnityEngine.GUISkin::get_verticalSlider()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * GUISkin_get_verticalSlider_m42A66BFEEF219C34908FA492CD9604252FC270D9 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, const RuntimeMethod* method)
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * V_0 = NULL;
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = __this->get_m_verticalSlider_15();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.GUISkin::set_verticalSlider(UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUISkin_set_verticalSlider_m66ED35A0709DDE6CD08065C6951AD32582B0A784 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___value0, const RuntimeMethod* method)
{
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = ___value0;
__this->set_m_verticalSlider_15(L_0);
GUISkin_Apply_mA93B0EEE3C2DE1F8D867A472130CDA98814C8A49(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.GUIStyle UnityEngine.GUISkin::get_verticalSliderThumb()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * GUISkin_get_verticalSliderThumb_m0E0CCACBEE8D9ECF5AF19D310A14F156B1F85D18 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, const RuntimeMethod* method)
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * V_0 = NULL;
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = __this->get_m_verticalSliderThumb_16();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.GUISkin::set_verticalSliderThumb(UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUISkin_set_verticalSliderThumb_m0920AB66A75D6CE103EBA218BB8FEEEF9306DC1D (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___value0, const RuntimeMethod* method)
{
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = ___value0;
__this->set_m_verticalSliderThumb_16(L_0);
GUISkin_Apply_mA93B0EEE3C2DE1F8D867A472130CDA98814C8A49(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.GUIStyle UnityEngine.GUISkin::get_verticalSliderThumbExtent()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * GUISkin_get_verticalSliderThumbExtent_mBFC25813D08E0E5007E222A84BB191391BDD3E90 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, const RuntimeMethod* method)
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * V_0 = NULL;
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = __this->get_m_verticalSliderThumbExtent_17();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.GUISkin::set_verticalSliderThumbExtent(UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUISkin_set_verticalSliderThumbExtent_m2CA4BBB8D48C2D8386B8F989630860C5961AA6C9 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___value0, const RuntimeMethod* method)
{
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = ___value0;
__this->set_m_verticalSliderThumbExtent_17(L_0);
GUISkin_Apply_mA93B0EEE3C2DE1F8D867A472130CDA98814C8A49(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.GUIStyle UnityEngine.GUISkin::get_horizontalScrollbar()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * GUISkin_get_horizontalScrollbar_m6C3C35BE443E12CA9AA4B7915C4FF704315D6D0F (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, const RuntimeMethod* method)
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * V_0 = NULL;
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = __this->get_m_horizontalScrollbar_18();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.GUISkin::set_horizontalScrollbar(UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUISkin_set_horizontalScrollbar_m4F2E03DEC3A2004F2912F53610D8F84EE62ACFF0 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___value0, const RuntimeMethod* method)
{
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = ___value0;
__this->set_m_horizontalScrollbar_18(L_0);
GUISkin_Apply_mA93B0EEE3C2DE1F8D867A472130CDA98814C8A49(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.GUIStyle UnityEngine.GUISkin::get_horizontalScrollbarThumb()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * GUISkin_get_horizontalScrollbarThumb_mDBF72BAF3A76876F1913BC77DFD913198606415F (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, const RuntimeMethod* method)
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * V_0 = NULL;
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = __this->get_m_horizontalScrollbarThumb_19();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.GUISkin::set_horizontalScrollbarThumb(UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUISkin_set_horizontalScrollbarThumb_mEF470A49847D208F6B190FDBDF7704FFDFD23359 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___value0, const RuntimeMethod* method)
{
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = ___value0;
__this->set_m_horizontalScrollbarThumb_19(L_0);
GUISkin_Apply_mA93B0EEE3C2DE1F8D867A472130CDA98814C8A49(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.GUIStyle UnityEngine.GUISkin::get_horizontalScrollbarLeftButton()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * GUISkin_get_horizontalScrollbarLeftButton_mFB71A2ABCB046937048320741EED4C0F0573A126 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, const RuntimeMethod* method)
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * V_0 = NULL;
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = __this->get_m_horizontalScrollbarLeftButton_20();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.GUISkin::set_horizontalScrollbarLeftButton(UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUISkin_set_horizontalScrollbarLeftButton_mBB8EE6C404FD9BF0C9BD9B4B6FD036086C044BA3 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___value0, const RuntimeMethod* method)
{
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = ___value0;
__this->set_m_horizontalScrollbarLeftButton_20(L_0);
GUISkin_Apply_mA93B0EEE3C2DE1F8D867A472130CDA98814C8A49(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.GUIStyle UnityEngine.GUISkin::get_horizontalScrollbarRightButton()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * GUISkin_get_horizontalScrollbarRightButton_m375017416DFEBFB9D964BC377990D8A71F04EB39 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, const RuntimeMethod* method)
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * V_0 = NULL;
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = __this->get_m_horizontalScrollbarRightButton_21();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.GUISkin::set_horizontalScrollbarRightButton(UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUISkin_set_horizontalScrollbarRightButton_mA7B3670FAB6323B7E3F7F2A15640263BB0F3685A (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___value0, const RuntimeMethod* method)
{
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = ___value0;
__this->set_m_horizontalScrollbarRightButton_21(L_0);
GUISkin_Apply_mA93B0EEE3C2DE1F8D867A472130CDA98814C8A49(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.GUIStyle UnityEngine.GUISkin::get_verticalScrollbar()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * GUISkin_get_verticalScrollbar_mCA438980059FF28128B638E6BF442E104BACE20B (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, const RuntimeMethod* method)
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * V_0 = NULL;
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = __this->get_m_verticalScrollbar_22();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.GUISkin::set_verticalScrollbar(UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUISkin_set_verticalScrollbar_mE5B8C6F35870AA16403FB8202B36D56F2314F9B7 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___value0, const RuntimeMethod* method)
{
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = ___value0;
__this->set_m_verticalScrollbar_22(L_0);
GUISkin_Apply_mA93B0EEE3C2DE1F8D867A472130CDA98814C8A49(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.GUIStyle UnityEngine.GUISkin::get_verticalScrollbarThumb()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * GUISkin_get_verticalScrollbarThumb_m4D613B4477826F86001B59CB3AD41466AF8C06EF (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, const RuntimeMethod* method)
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * V_0 = NULL;
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = __this->get_m_verticalScrollbarThumb_23();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.GUISkin::set_verticalScrollbarThumb(UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUISkin_set_verticalScrollbarThumb_mF1A3CE45DA1A0FE4022BF95B9F8FD6B9733B48AA (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___value0, const RuntimeMethod* method)
{
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = ___value0;
__this->set_m_verticalScrollbarThumb_23(L_0);
GUISkin_Apply_mA93B0EEE3C2DE1F8D867A472130CDA98814C8A49(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.GUIStyle UnityEngine.GUISkin::get_verticalScrollbarUpButton()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * GUISkin_get_verticalScrollbarUpButton_m46DD4FA65B21D3C9FFFD1A1B1A6852B020C94AB5 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, const RuntimeMethod* method)
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * V_0 = NULL;
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = __this->get_m_verticalScrollbarUpButton_24();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.GUISkin::set_verticalScrollbarUpButton(UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUISkin_set_verticalScrollbarUpButton_m6407C9BFD7172E7E3A8583C34451EE331705AA6A (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___value0, const RuntimeMethod* method)
{
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = ___value0;
__this->set_m_verticalScrollbarUpButton_24(L_0);
GUISkin_Apply_mA93B0EEE3C2DE1F8D867A472130CDA98814C8A49(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.GUIStyle UnityEngine.GUISkin::get_verticalScrollbarDownButton()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * GUISkin_get_verticalScrollbarDownButton_m6204382C228748A2535AA0E6640407A062F14004 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, const RuntimeMethod* method)
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * V_0 = NULL;
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = __this->get_m_verticalScrollbarDownButton_25();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.GUISkin::set_verticalScrollbarDownButton(UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUISkin_set_verticalScrollbarDownButton_m7B0275CBF0BCE8F95B8FF3436466A6490E0B7D62 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___value0, const RuntimeMethod* method)
{
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = ___value0;
__this->set_m_verticalScrollbarDownButton_25(L_0);
GUISkin_Apply_mA93B0EEE3C2DE1F8D867A472130CDA98814C8A49(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.GUIStyle UnityEngine.GUISkin::get_scrollView()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * GUISkin_get_scrollView_m65256AD31599E1AEE8B9424EE9BA5385CEF9144F (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, const RuntimeMethod* method)
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * V_0 = NULL;
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = __this->get_m_ScrollView_26();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.GUISkin::set_scrollView(UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUISkin_set_scrollView_m6B28717B83555F80AB3EA1798FDE15C2A2645C72 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___value0, const RuntimeMethod* method)
{
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = ___value0;
__this->set_m_ScrollView_26(L_0);
GUISkin_Apply_mA93B0EEE3C2DE1F8D867A472130CDA98814C8A49(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.GUIStyle[] UnityEngine.GUISkin::get_customStyles()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIStyleU5BU5D_t2F343713D6ADFF41BBCF1D17BAE79F51BD745DBB* GUISkin_get_customStyles_mC004E300635814033B6074ADCCCCCCC2B8F56D3C (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, const RuntimeMethod* method)
{
GUIStyleU5BU5D_t2F343713D6ADFF41BBCF1D17BAE79F51BD745DBB* V_0 = NULL;
{
GUIStyleU5BU5D_t2F343713D6ADFF41BBCF1D17BAE79F51BD745DBB* L_0 = __this->get_m_CustomStyles_27();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
GUIStyleU5BU5D_t2F343713D6ADFF41BBCF1D17BAE79F51BD745DBB* L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.GUISkin::set_customStyles(UnityEngine.GUIStyle[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUISkin_set_customStyles_m4F3203A3237CDA3799A0A4C440EF8A54B059EEC5 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, GUIStyleU5BU5D_t2F343713D6ADFF41BBCF1D17BAE79F51BD745DBB* ___value0, const RuntimeMethod* method)
{
{
GUIStyleU5BU5D_t2F343713D6ADFF41BBCF1D17BAE79F51BD745DBB* L_0 = ___value0;
__this->set_m_CustomStyles_27(L_0);
GUISkin_Apply_mA93B0EEE3C2DE1F8D867A472130CDA98814C8A49(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.GUISettings UnityEngine.GUISkin::get_settings()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUISettings_tA863524720A3C984BAE56598D922F2C04DC80EF4 * GUISkin_get_settings_m32E805AA73BD4CD9EC4E731A68D0F72377C859DA (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, const RuntimeMethod* method)
{
GUISettings_tA863524720A3C984BAE56598D922F2C04DC80EF4 * V_0 = NULL;
{
GUISettings_tA863524720A3C984BAE56598D922F2C04DC80EF4 * L_0 = __this->get_m_Settings_28();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
GUISettings_tA863524720A3C984BAE56598D922F2C04DC80EF4 * L_1 = V_0;
return L_1;
}
}
// UnityEngine.GUIStyle UnityEngine.GUISkin::get_error()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * GUISkin_get_error_m40FBD0C57353CBFD8EE75B796E3EADBF9033C47F (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUISkin_get_error_m40FBD0C57353CBFD8EE75B796E3EADBF9033C47F_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * V_1 = NULL;
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = ((GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7_StaticFields*)il2cpp_codegen_static_fields_for(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7_il2cpp_TypeInfo_var))->get_ms_Error_29();
V_0 = (bool)((((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_0) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_1 = V_0;
if (!L_1)
{
goto IL_0029;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_2 = (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)il2cpp_codegen_object_new(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle__ctor_m8AA3D5AA506A252687923D0DA80741862AA83805(L_2, /*hidden argument*/NULL);
((GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7_StaticFields*)il2cpp_codegen_static_fields_for(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7_il2cpp_TypeInfo_var))->set_ms_Error_29(L_2);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_3 = ((GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7_StaticFields*)il2cpp_codegen_static_fields_for(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7_il2cpp_TypeInfo_var))->get_ms_Error_29();
NullCheck(L_3);
GUIStyle_set_name_m3D232D5A8EAD7B29F1F2DA3ADD01B99EFF83F1D7(L_3, _stringLiteralA93D2B140984CB1ED70E8B2F25565EF16927EE77, /*hidden argument*/NULL);
}
IL_0029:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_4 = ((GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7_StaticFields*)il2cpp_codegen_static_fields_for(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7_il2cpp_TypeInfo_var))->get_ms_Error_29();
V_1 = L_4;
goto IL_0031;
}
IL_0031:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_5 = V_1;
return L_5;
}
}
// System.Void UnityEngine.GUISkin::Apply()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUISkin_Apply_mA93B0EEE3C2DE1F8D867A472130CDA98814C8A49 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUISkin_Apply_mA93B0EEE3C2DE1F8D867A472130CDA98814C8A49_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
GUIStyleU5BU5D_t2F343713D6ADFF41BBCF1D17BAE79F51BD745DBB* L_0 = __this->get_m_CustomStyles_27();
V_0 = (bool)((((RuntimeObject*)(GUIStyleU5BU5D_t2F343713D6ADFF41BBCF1D17BAE79F51BD745DBB*)L_0) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_1 = V_0;
if (!L_1)
{
goto IL_0019;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(Debug_t7B5FCB117E2FD63B6838BC52821B252E2BFB61C4_il2cpp_TypeInfo_var);
Debug_Log_m4B7C70BAFD477C6BDB59C88A0934F0B018D03708(_stringLiteral0D421A870FA2CD6E6DCF150A4ACE67EC7405AF75, /*hidden argument*/NULL);
}
IL_0019:
{
GUISkin_BuildStyleCache_m2C68BB5521EAF11FC98C86D7E60008901D61866A(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.GUISkin::BuildStyleCache()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUISkin_BuildStyleCache_m2C68BB5521EAF11FC98C86D7E60008901D61866A (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUISkin_BuildStyleCache_m2C68BB5521EAF11FC98C86D7E60008901D61866A_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
bool V_1 = false;
bool V_2 = false;
bool V_3 = false;
bool V_4 = false;
bool V_5 = false;
bool V_6 = false;
bool V_7 = false;
bool V_8 = false;
bool V_9 = false;
bool V_10 = false;
bool V_11 = false;
bool V_12 = false;
bool V_13 = false;
bool V_14 = false;
bool V_15 = false;
bool V_16 = false;
bool V_17 = false;
bool V_18 = false;
bool V_19 = false;
bool V_20 = false;
int32_t V_21 = 0;
bool V_22 = false;
bool V_23 = false;
bool V_24 = false;
bool V_25 = false;
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = __this->get_m_box_5();
V_0 = (bool)((((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_0) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_1 = V_0;
if (!L_1)
{
goto IL_0019;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_2 = (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)il2cpp_codegen_object_new(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle__ctor_m8AA3D5AA506A252687923D0DA80741862AA83805(L_2, /*hidden argument*/NULL);
__this->set_m_box_5(L_2);
}
IL_0019:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_3 = __this->get_m_button_6();
V_1 = (bool)((((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_3) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_4 = V_1;
if (!L_4)
{
goto IL_0031;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_5 = (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)il2cpp_codegen_object_new(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle__ctor_m8AA3D5AA506A252687923D0DA80741862AA83805(L_5, /*hidden argument*/NULL);
__this->set_m_button_6(L_5);
}
IL_0031:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_6 = __this->get_m_toggle_7();
V_2 = (bool)((((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_6) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_7 = V_2;
if (!L_7)
{
goto IL_0049;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_8 = (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)il2cpp_codegen_object_new(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle__ctor_m8AA3D5AA506A252687923D0DA80741862AA83805(L_8, /*hidden argument*/NULL);
__this->set_m_toggle_7(L_8);
}
IL_0049:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_9 = __this->get_m_label_8();
V_3 = (bool)((((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_9) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_10 = V_3;
if (!L_10)
{
goto IL_0061;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_11 = (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)il2cpp_codegen_object_new(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle__ctor_m8AA3D5AA506A252687923D0DA80741862AA83805(L_11, /*hidden argument*/NULL);
__this->set_m_label_8(L_11);
}
IL_0061:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_12 = __this->get_m_window_11();
V_4 = (bool)((((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_12) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_13 = V_4;
if (!L_13)
{
goto IL_007b;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_14 = (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)il2cpp_codegen_object_new(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle__ctor_m8AA3D5AA506A252687923D0DA80741862AA83805(L_14, /*hidden argument*/NULL);
__this->set_m_window_11(L_14);
}
IL_007b:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_15 = __this->get_m_textField_9();
V_5 = (bool)((((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_15) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_16 = V_5;
if (!L_16)
{
goto IL_0095;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_17 = (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)il2cpp_codegen_object_new(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle__ctor_m8AA3D5AA506A252687923D0DA80741862AA83805(L_17, /*hidden argument*/NULL);
__this->set_m_textField_9(L_17);
}
IL_0095:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_18 = __this->get_m_textArea_10();
V_6 = (bool)((((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_18) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_19 = V_6;
if (!L_19)
{
goto IL_00af;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_20 = (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)il2cpp_codegen_object_new(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle__ctor_m8AA3D5AA506A252687923D0DA80741862AA83805(L_20, /*hidden argument*/NULL);
__this->set_m_textArea_10(L_20);
}
IL_00af:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_21 = __this->get_m_horizontalSlider_12();
V_7 = (bool)((((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_21) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_22 = V_7;
if (!L_22)
{
goto IL_00c9;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_23 = (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)il2cpp_codegen_object_new(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle__ctor_m8AA3D5AA506A252687923D0DA80741862AA83805(L_23, /*hidden argument*/NULL);
__this->set_m_horizontalSlider_12(L_23);
}
IL_00c9:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_24 = __this->get_m_horizontalSliderThumb_13();
V_8 = (bool)((((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_24) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_25 = V_8;
if (!L_25)
{
goto IL_00e3;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_26 = (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)il2cpp_codegen_object_new(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle__ctor_m8AA3D5AA506A252687923D0DA80741862AA83805(L_26, /*hidden argument*/NULL);
__this->set_m_horizontalSliderThumb_13(L_26);
}
IL_00e3:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_27 = __this->get_m_verticalSlider_15();
V_9 = (bool)((((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_27) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_28 = V_9;
if (!L_28)
{
goto IL_00fd;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_29 = (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)il2cpp_codegen_object_new(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle__ctor_m8AA3D5AA506A252687923D0DA80741862AA83805(L_29, /*hidden argument*/NULL);
__this->set_m_verticalSlider_15(L_29);
}
IL_00fd:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_30 = __this->get_m_verticalSliderThumb_16();
V_10 = (bool)((((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_30) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_31 = V_10;
if (!L_31)
{
goto IL_0117;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_32 = (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)il2cpp_codegen_object_new(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle__ctor_m8AA3D5AA506A252687923D0DA80741862AA83805(L_32, /*hidden argument*/NULL);
__this->set_m_verticalSliderThumb_16(L_32);
}
IL_0117:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_33 = __this->get_m_horizontalScrollbar_18();
V_11 = (bool)((((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_33) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_34 = V_11;
if (!L_34)
{
goto IL_0131;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_35 = (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)il2cpp_codegen_object_new(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle__ctor_m8AA3D5AA506A252687923D0DA80741862AA83805(L_35, /*hidden argument*/NULL);
__this->set_m_horizontalScrollbar_18(L_35);
}
IL_0131:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_36 = __this->get_m_horizontalScrollbarThumb_19();
V_12 = (bool)((((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_36) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_37 = V_12;
if (!L_37)
{
goto IL_014b;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_38 = (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)il2cpp_codegen_object_new(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle__ctor_m8AA3D5AA506A252687923D0DA80741862AA83805(L_38, /*hidden argument*/NULL);
__this->set_m_horizontalScrollbarThumb_19(L_38);
}
IL_014b:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_39 = __this->get_m_horizontalScrollbarLeftButton_20();
V_13 = (bool)((((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_39) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_40 = V_13;
if (!L_40)
{
goto IL_0165;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_41 = (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)il2cpp_codegen_object_new(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle__ctor_m8AA3D5AA506A252687923D0DA80741862AA83805(L_41, /*hidden argument*/NULL);
__this->set_m_horizontalScrollbarLeftButton_20(L_41);
}
IL_0165:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_42 = __this->get_m_horizontalScrollbarRightButton_21();
V_14 = (bool)((((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_42) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_43 = V_14;
if (!L_43)
{
goto IL_017f;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_44 = (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)il2cpp_codegen_object_new(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle__ctor_m8AA3D5AA506A252687923D0DA80741862AA83805(L_44, /*hidden argument*/NULL);
__this->set_m_horizontalScrollbarRightButton_21(L_44);
}
IL_017f:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_45 = __this->get_m_verticalScrollbar_22();
V_15 = (bool)((((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_45) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_46 = V_15;
if (!L_46)
{
goto IL_0199;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_47 = (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)il2cpp_codegen_object_new(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle__ctor_m8AA3D5AA506A252687923D0DA80741862AA83805(L_47, /*hidden argument*/NULL);
__this->set_m_verticalScrollbar_22(L_47);
}
IL_0199:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_48 = __this->get_m_verticalScrollbarThumb_23();
V_16 = (bool)((((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_48) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_49 = V_16;
if (!L_49)
{
goto IL_01b3;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_50 = (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)il2cpp_codegen_object_new(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle__ctor_m8AA3D5AA506A252687923D0DA80741862AA83805(L_50, /*hidden argument*/NULL);
__this->set_m_verticalScrollbarThumb_23(L_50);
}
IL_01b3:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_51 = __this->get_m_verticalScrollbarUpButton_24();
V_17 = (bool)((((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_51) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_52 = V_17;
if (!L_52)
{
goto IL_01cd;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_53 = (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)il2cpp_codegen_object_new(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle__ctor_m8AA3D5AA506A252687923D0DA80741862AA83805(L_53, /*hidden argument*/NULL);
__this->set_m_verticalScrollbarUpButton_24(L_53);
}
IL_01cd:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_54 = __this->get_m_verticalScrollbarDownButton_25();
V_18 = (bool)((((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_54) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_55 = V_18;
if (!L_55)
{
goto IL_01e7;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_56 = (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)il2cpp_codegen_object_new(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle__ctor_m8AA3D5AA506A252687923D0DA80741862AA83805(L_56, /*hidden argument*/NULL);
__this->set_m_verticalScrollbarDownButton_25(L_56);
}
IL_01e7:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_57 = __this->get_m_ScrollView_26();
V_19 = (bool)((((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_57) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_58 = V_19;
if (!L_58)
{
goto IL_0201;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_59 = (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)il2cpp_codegen_object_new(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle__ctor_m8AA3D5AA506A252687923D0DA80741862AA83805(L_59, /*hidden argument*/NULL);
__this->set_m_ScrollView_26(L_59);
}
IL_0201:
{
IL2CPP_RUNTIME_CLASS_INIT(StringComparer_t588BC7FEF85D6E7425E0A8147A3D5A334F1F82DE_il2cpp_TypeInfo_var);
StringComparer_t588BC7FEF85D6E7425E0A8147A3D5A334F1F82DE * L_60 = StringComparer_get_OrdinalIgnoreCase_m3F2527D9A11521E8B51F0AC8F70DB272DA8334C9_inline(/*hidden argument*/NULL);
Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * L_61 = (Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A *)il2cpp_codegen_object_new(Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A_il2cpp_TypeInfo_var);
Dictionary_2__ctor_mE7D4915AD1A64B140D2C412B197D4D43B016074E(L_61, L_60, /*hidden argument*/Dictionary_2__ctor_mE7D4915AD1A64B140D2C412B197D4D43B016074E_RuntimeMethod_var);
__this->set_m_Styles_30(L_61);
Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * L_62 = __this->get_m_Styles_30();
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_63 = __this->get_m_box_5();
NullCheck(L_62);
Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5(L_62, _stringLiteralC7D8A6D722A1EC9A16FAE165177C418D4FD63175, L_63, /*hidden argument*/Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5_RuntimeMethod_var);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_64 = __this->get_m_box_5();
NullCheck(L_64);
GUIStyle_set_name_m3D232D5A8EAD7B29F1F2DA3ADD01B99EFF83F1D7(L_64, _stringLiteralC7D8A6D722A1EC9A16FAE165177C418D4FD63175, /*hidden argument*/NULL);
Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * L_65 = __this->get_m_Styles_30();
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_66 = __this->get_m_button_6();
NullCheck(L_65);
Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5(L_65, _stringLiteral7B7FCC78D6CD1507925B769B1386CED3683F99C7, L_66, /*hidden argument*/Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5_RuntimeMethod_var);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_67 = __this->get_m_button_6();
NullCheck(L_67);
GUIStyle_set_name_m3D232D5A8EAD7B29F1F2DA3ADD01B99EFF83F1D7(L_67, _stringLiteral7B7FCC78D6CD1507925B769B1386CED3683F99C7, /*hidden argument*/NULL);
Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * L_68 = __this->get_m_Styles_30();
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_69 = __this->get_m_toggle_7();
NullCheck(L_68);
Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5(L_68, _stringLiteralF9C5942B1F55CB12B8F2B5FAE21A9F1706F9D367, L_69, /*hidden argument*/Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5_RuntimeMethod_var);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_70 = __this->get_m_toggle_7();
NullCheck(L_70);
GUIStyle_set_name_m3D232D5A8EAD7B29F1F2DA3ADD01B99EFF83F1D7(L_70, _stringLiteralF9C5942B1F55CB12B8F2B5FAE21A9F1706F9D367, /*hidden argument*/NULL);
Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * L_71 = __this->get_m_Styles_30();
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_72 = __this->get_m_label_8();
NullCheck(L_71);
Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5(L_71, _stringLiteral64C65374DBAB6FE3762748196D9D3A9610E2E5A9, L_72, /*hidden argument*/Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5_RuntimeMethod_var);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_73 = __this->get_m_label_8();
NullCheck(L_73);
GUIStyle_set_name_m3D232D5A8EAD7B29F1F2DA3ADD01B99EFF83F1D7(L_73, _stringLiteral64C65374DBAB6FE3762748196D9D3A9610E2E5A9, /*hidden argument*/NULL);
Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * L_74 = __this->get_m_Styles_30();
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_75 = __this->get_m_window_11();
NullCheck(L_74);
Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5(L_74, _stringLiteral320AD267D8D969F285EDA5C184F5455BD29C8C95, L_75, /*hidden argument*/Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5_RuntimeMethod_var);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_76 = __this->get_m_window_11();
NullCheck(L_76);
GUIStyle_set_name_m3D232D5A8EAD7B29F1F2DA3ADD01B99EFF83F1D7(L_76, _stringLiteral320AD267D8D969F285EDA5C184F5455BD29C8C95, /*hidden argument*/NULL);
Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * L_77 = __this->get_m_Styles_30();
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_78 = __this->get_m_textField_9();
NullCheck(L_77);
Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5(L_77, _stringLiteral2C72A73D3153ECA8FBF9E58315C5EE073BE0D5AB, L_78, /*hidden argument*/Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5_RuntimeMethod_var);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_79 = __this->get_m_textField_9();
NullCheck(L_79);
GUIStyle_set_name_m3D232D5A8EAD7B29F1F2DA3ADD01B99EFF83F1D7(L_79, _stringLiteral2C72A73D3153ECA8FBF9E58315C5EE073BE0D5AB, /*hidden argument*/NULL);
Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * L_80 = __this->get_m_Styles_30();
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_81 = __this->get_m_textArea_10();
NullCheck(L_80);
Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5(L_80, _stringLiteralFC8656334C97C18022AE87133F261DBA949A4CDD, L_81, /*hidden argument*/Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5_RuntimeMethod_var);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_82 = __this->get_m_textArea_10();
NullCheck(L_82);
GUIStyle_set_name_m3D232D5A8EAD7B29F1F2DA3ADD01B99EFF83F1D7(L_82, _stringLiteralFC8656334C97C18022AE87133F261DBA949A4CDD, /*hidden argument*/NULL);
Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * L_83 = __this->get_m_Styles_30();
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_84 = __this->get_m_horizontalSlider_12();
NullCheck(L_83);
Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5(L_83, _stringLiteral5EB8003910C4D9CB2B9CAF1A8610A9FB39ACD4BD, L_84, /*hidden argument*/Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5_RuntimeMethod_var);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_85 = __this->get_m_horizontalSlider_12();
NullCheck(L_85);
GUIStyle_set_name_m3D232D5A8EAD7B29F1F2DA3ADD01B99EFF83F1D7(L_85, _stringLiteral5EB8003910C4D9CB2B9CAF1A8610A9FB39ACD4BD, /*hidden argument*/NULL);
Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * L_86 = __this->get_m_Styles_30();
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_87 = __this->get_m_horizontalSliderThumb_13();
NullCheck(L_86);
Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5(L_86, _stringLiteral8E436B06A17CFAF87BEB781E30D07B6FF58B2B71, L_87, /*hidden argument*/Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5_RuntimeMethod_var);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_88 = __this->get_m_horizontalSliderThumb_13();
NullCheck(L_88);
GUIStyle_set_name_m3D232D5A8EAD7B29F1F2DA3ADD01B99EFF83F1D7(L_88, _stringLiteral8E436B06A17CFAF87BEB781E30D07B6FF58B2B71, /*hidden argument*/NULL);
Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * L_89 = __this->get_m_Styles_30();
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_90 = __this->get_m_verticalSlider_15();
NullCheck(L_89);
Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5(L_89, _stringLiteral52424150CE94D4AA9600469221595A075963D010, L_90, /*hidden argument*/Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5_RuntimeMethod_var);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_91 = __this->get_m_verticalSlider_15();
NullCheck(L_91);
GUIStyle_set_name_m3D232D5A8EAD7B29F1F2DA3ADD01B99EFF83F1D7(L_91, _stringLiteral52424150CE94D4AA9600469221595A075963D010, /*hidden argument*/NULL);
Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * L_92 = __this->get_m_Styles_30();
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_93 = __this->get_m_verticalSliderThumb_16();
NullCheck(L_92);
Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5(L_92, _stringLiteral5370ABC43B604B9438E05FD111325616F5BA93EB, L_93, /*hidden argument*/Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5_RuntimeMethod_var);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_94 = __this->get_m_verticalSliderThumb_16();
NullCheck(L_94);
GUIStyle_set_name_m3D232D5A8EAD7B29F1F2DA3ADD01B99EFF83F1D7(L_94, _stringLiteral5370ABC43B604B9438E05FD111325616F5BA93EB, /*hidden argument*/NULL);
Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * L_95 = __this->get_m_Styles_30();
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_96 = __this->get_m_horizontalScrollbar_18();
NullCheck(L_95);
Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5(L_95, _stringLiteral225F12AD8179D36194EBC648F0064B7E925473EC, L_96, /*hidden argument*/Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5_RuntimeMethod_var);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_97 = __this->get_m_horizontalScrollbar_18();
NullCheck(L_97);
GUIStyle_set_name_m3D232D5A8EAD7B29F1F2DA3ADD01B99EFF83F1D7(L_97, _stringLiteral225F12AD8179D36194EBC648F0064B7E925473EC, /*hidden argument*/NULL);
Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * L_98 = __this->get_m_Styles_30();
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_99 = __this->get_m_horizontalScrollbarThumb_19();
NullCheck(L_98);
Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5(L_98, _stringLiteralB72EF1950CD4E44A073B202D2C0D05D8A97FD42F, L_99, /*hidden argument*/Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5_RuntimeMethod_var);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_100 = __this->get_m_horizontalScrollbarThumb_19();
NullCheck(L_100);
GUIStyle_set_name_m3D232D5A8EAD7B29F1F2DA3ADD01B99EFF83F1D7(L_100, _stringLiteralB72EF1950CD4E44A073B202D2C0D05D8A97FD42F, /*hidden argument*/NULL);
Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * L_101 = __this->get_m_Styles_30();
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_102 = __this->get_m_horizontalScrollbarLeftButton_20();
NullCheck(L_101);
Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5(L_101, _stringLiteral09820128951D618D4CFE7DC0105A1B6B113C921F, L_102, /*hidden argument*/Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5_RuntimeMethod_var);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_103 = __this->get_m_horizontalScrollbarLeftButton_20();
NullCheck(L_103);
GUIStyle_set_name_m3D232D5A8EAD7B29F1F2DA3ADD01B99EFF83F1D7(L_103, _stringLiteral09820128951D618D4CFE7DC0105A1B6B113C921F, /*hidden argument*/NULL);
Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * L_104 = __this->get_m_Styles_30();
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_105 = __this->get_m_horizontalScrollbarRightButton_21();
NullCheck(L_104);
Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5(L_104, _stringLiteralC1736E388224676A122F6D36DB2BFE2D5B5815D1, L_105, /*hidden argument*/Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5_RuntimeMethod_var);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_106 = __this->get_m_horizontalScrollbarRightButton_21();
NullCheck(L_106);
GUIStyle_set_name_m3D232D5A8EAD7B29F1F2DA3ADD01B99EFF83F1D7(L_106, _stringLiteralC1736E388224676A122F6D36DB2BFE2D5B5815D1, /*hidden argument*/NULL);
Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * L_107 = __this->get_m_Styles_30();
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_108 = __this->get_m_verticalScrollbar_22();
NullCheck(L_107);
Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5(L_107, _stringLiteralE794E3C8A26A199BEB58080D834D082D83C3C1B2, L_108, /*hidden argument*/Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5_RuntimeMethod_var);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_109 = __this->get_m_verticalScrollbar_22();
NullCheck(L_109);
GUIStyle_set_name_m3D232D5A8EAD7B29F1F2DA3ADD01B99EFF83F1D7(L_109, _stringLiteralE794E3C8A26A199BEB58080D834D082D83C3C1B2, /*hidden argument*/NULL);
Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * L_110 = __this->get_m_Styles_30();
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_111 = __this->get_m_verticalScrollbarThumb_23();
NullCheck(L_110);
Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5(L_110, _stringLiteral487A38C9550C3B08588319E52F112CE6A539A561, L_111, /*hidden argument*/Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5_RuntimeMethod_var);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_112 = __this->get_m_verticalScrollbarThumb_23();
NullCheck(L_112);
GUIStyle_set_name_m3D232D5A8EAD7B29F1F2DA3ADD01B99EFF83F1D7(L_112, _stringLiteral487A38C9550C3B08588319E52F112CE6A539A561, /*hidden argument*/NULL);
Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * L_113 = __this->get_m_Styles_30();
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_114 = __this->get_m_verticalScrollbarUpButton_24();
NullCheck(L_113);
Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5(L_113, _stringLiteral047A7EA97FB24BA0C74949892C1880E97AC0FB35, L_114, /*hidden argument*/Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5_RuntimeMethod_var);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_115 = __this->get_m_verticalScrollbarUpButton_24();
NullCheck(L_115);
GUIStyle_set_name_m3D232D5A8EAD7B29F1F2DA3ADD01B99EFF83F1D7(L_115, _stringLiteral047A7EA97FB24BA0C74949892C1880E97AC0FB35, /*hidden argument*/NULL);
Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * L_116 = __this->get_m_Styles_30();
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_117 = __this->get_m_verticalScrollbarDownButton_25();
NullCheck(L_116);
Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5(L_116, _stringLiteralACAB6798BE3F8F69AA0198A7C9B83ADA0F075932, L_117, /*hidden argument*/Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5_RuntimeMethod_var);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_118 = __this->get_m_verticalScrollbarDownButton_25();
NullCheck(L_118);
GUIStyle_set_name_m3D232D5A8EAD7B29F1F2DA3ADD01B99EFF83F1D7(L_118, _stringLiteralACAB6798BE3F8F69AA0198A7C9B83ADA0F075932, /*hidden argument*/NULL);
Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * L_119 = __this->get_m_Styles_30();
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_120 = __this->get_m_ScrollView_26();
NullCheck(L_119);
Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5(L_119, _stringLiteral9B611144024AB5EC850C1A1C7668509DA40C92DB, L_120, /*hidden argument*/Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5_RuntimeMethod_var);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_121 = __this->get_m_ScrollView_26();
NullCheck(L_121);
GUIStyle_set_name_m3D232D5A8EAD7B29F1F2DA3ADD01B99EFF83F1D7(L_121, _stringLiteral9B611144024AB5EC850C1A1C7668509DA40C92DB, /*hidden argument*/NULL);
GUIStyleU5BU5D_t2F343713D6ADFF41BBCF1D17BAE79F51BD745DBB* L_122 = __this->get_m_CustomStyles_27();
V_20 = (bool)((!(((RuntimeObject*)(GUIStyleU5BU5D_t2F343713D6ADFF41BBCF1D17BAE79F51BD745DBB*)L_122) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_123 = V_20;
if (!L_123)
{
goto IL_0598;
}
}
{
V_21 = 0;
goto IL_0585;
}
IL_0546:
{
GUIStyleU5BU5D_t2F343713D6ADFF41BBCF1D17BAE79F51BD745DBB* L_124 = __this->get_m_CustomStyles_27();
int32_t L_125 = V_21;
NullCheck(L_124);
int32_t L_126 = L_125;
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_127 = (L_124)->GetAt(static_cast<il2cpp_array_size_t>(L_126));
V_22 = (bool)((((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_127) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_128 = V_22;
if (!L_128)
{
goto IL_055b;
}
}
{
goto IL_057f;
}
IL_055b:
{
Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * L_129 = __this->get_m_Styles_30();
GUIStyleU5BU5D_t2F343713D6ADFF41BBCF1D17BAE79F51BD745DBB* L_130 = __this->get_m_CustomStyles_27();
int32_t L_131 = V_21;
NullCheck(L_130);
int32_t L_132 = L_131;
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_133 = (L_130)->GetAt(static_cast<il2cpp_array_size_t>(L_132));
NullCheck(L_133);
String_t* L_134 = GUIStyle_get_name_m111D8AB0173E1EBA46A9664EBABBC82AFE3ED71E(L_133, /*hidden argument*/NULL);
GUIStyleU5BU5D_t2F343713D6ADFF41BBCF1D17BAE79F51BD745DBB* L_135 = __this->get_m_CustomStyles_27();
int32_t L_136 = V_21;
NullCheck(L_135);
int32_t L_137 = L_136;
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_138 = (L_135)->GetAt(static_cast<il2cpp_array_size_t>(L_137));
NullCheck(L_129);
Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5(L_129, L_134, L_138, /*hidden argument*/Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5_RuntimeMethod_var);
}
IL_057f:
{
int32_t L_139 = V_21;
V_21 = ((int32_t)il2cpp_codegen_add((int32_t)L_139, (int32_t)1));
}
IL_0585:
{
int32_t L_140 = V_21;
GUIStyleU5BU5D_t2F343713D6ADFF41BBCF1D17BAE79F51BD745DBB* L_141 = __this->get_m_CustomStyles_27();
NullCheck(L_141);
V_23 = (bool)((((int32_t)L_140) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_141)->max_length))))))? 1 : 0);
bool L_142 = V_23;
if (L_142)
{
goto IL_0546;
}
}
{
}
IL_0598:
{
Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * L_143 = __this->get_m_Styles_30();
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 ** L_144 = __this->get_address_of_m_horizontalSliderThumbExtent_14();
NullCheck(L_143);
bool L_145 = Dictionary_2_TryGetValue_m72452D4223AA3313BF658BFBDFC1B417CA40EC18(L_143, _stringLiteral99032D12CB8AAB77590E57E36974F8C1C56B7B95, (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 **)L_144, /*hidden argument*/Dictionary_2_TryGetValue_m72452D4223AA3313BF658BFBDFC1B417CA40EC18_RuntimeMethod_var);
V_24 = (bool)((((int32_t)L_145) == ((int32_t)0))? 1 : 0);
bool L_146 = V_24;
if (!L_146)
{
goto IL_05ec;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_147 = (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)il2cpp_codegen_object_new(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle__ctor_m8AA3D5AA506A252687923D0DA80741862AA83805(L_147, /*hidden argument*/NULL);
__this->set_m_horizontalSliderThumbExtent_14(L_147);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_148 = __this->get_m_horizontalSliderThumbExtent_14();
NullCheck(L_148);
GUIStyle_set_name_m3D232D5A8EAD7B29F1F2DA3ADD01B99EFF83F1D7(L_148, _stringLiteral884E998DCB0626A339721789EA125B983932D177, /*hidden argument*/NULL);
Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * L_149 = __this->get_m_Styles_30();
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_150 = __this->get_m_horizontalSliderThumbExtent_14();
NullCheck(L_149);
Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5(L_149, _stringLiteral99032D12CB8AAB77590E57E36974F8C1C56B7B95, L_150, /*hidden argument*/Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5_RuntimeMethod_var);
}
IL_05ec:
{
Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * L_151 = __this->get_m_Styles_30();
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 ** L_152 = __this->get_address_of_m_verticalSliderThumbExtent_17();
NullCheck(L_151);
bool L_153 = Dictionary_2_TryGetValue_m72452D4223AA3313BF658BFBDFC1B417CA40EC18(L_151, _stringLiteral4C523C75AC8AB567667867138725AB01F5FA186A, (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 **)L_152, /*hidden argument*/Dictionary_2_TryGetValue_m72452D4223AA3313BF658BFBDFC1B417CA40EC18_RuntimeMethod_var);
V_25 = (bool)((((int32_t)L_153) == ((int32_t)0))? 1 : 0);
bool L_154 = V_25;
if (!L_154)
{
goto IL_0640;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_155 = (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)il2cpp_codegen_object_new(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle__ctor_m8AA3D5AA506A252687923D0DA80741862AA83805(L_155, /*hidden argument*/NULL);
__this->set_m_verticalSliderThumbExtent_17(L_155);
Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * L_156 = __this->get_m_Styles_30();
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_157 = __this->get_m_verticalSliderThumbExtent_17();
NullCheck(L_156);
Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5(L_156, _stringLiteral4C523C75AC8AB567667867138725AB01F5FA186A, L_157, /*hidden argument*/Dictionary_2_set_Item_m24E725BAB2853FE434C3D507858296BA81733DC5_RuntimeMethod_var);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_158 = __this->get_m_verticalSliderThumbExtent_17();
NullCheck(L_158);
GUIStyle_set_name_m3D232D5A8EAD7B29F1F2DA3ADD01B99EFF83F1D7(L_158, _stringLiteralA11608E0F772347D667D92CD05AFA60E273D90A8, /*hidden argument*/NULL);
}
IL_0640:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_159 = GUISkin_get_error_m40FBD0C57353CBFD8EE75B796E3EADBF9033C47F(/*hidden argument*/NULL);
NullCheck(L_159);
GUIStyle_set_stretchHeight_mE11B46969A8498FB3B7443B4C54254F0C9A71A6E(L_159, (bool)1, /*hidden argument*/NULL);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_160 = GUISkin_get_error_m40FBD0C57353CBFD8EE75B796E3EADBF9033C47F(/*hidden argument*/NULL);
NullCheck(L_160);
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * L_161 = GUIStyle_get_normal_mC5CB22EED8113DEC86C54FB42F757B635D09DD2F(L_160, /*hidden argument*/NULL);
Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 L_162 = Color_get_red_m5562DD438931CF0D1FBBBB29BF7F8B752AF38957(/*hidden argument*/NULL);
NullCheck(L_161);
GUIStyleState_set_textColor_m2B235845A292C22ABEDEFBB2FD798DEB4E104983(L_161, L_162, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.GUIStyle UnityEngine.GUISkin::GetStyle(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * GUISkin_GetStyle_mD292E6470E961CA986674875B78746A1859D5FEC (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, String_t* ___styleName0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUISkin_GetStyle_mD292E6470E961CA986674875B78746A1859D5FEC_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * V_0 = NULL;
bool V_1 = false;
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * V_2 = NULL;
int32_t V_3 = 0;
int32_t G_B4_0 = 0;
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* G_B4_1 = NULL;
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* G_B4_2 = NULL;
int32_t G_B3_0 = 0;
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* G_B3_1 = NULL;
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* G_B3_2 = NULL;
String_t* G_B5_0 = NULL;
int32_t G_B5_1 = 0;
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* G_B5_2 = NULL;
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* G_B5_3 = NULL;
{
String_t* L_0 = ___styleName0;
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_1 = GUISkin_FindStyle_m977BAAD9DE35AC43C9FA2DB52C6C0BDF83EE4706(__this, L_0, /*hidden argument*/NULL);
V_0 = L_1;
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_2 = V_0;
V_1 = (bool)((!(((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_2) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_3 = V_1;
if (!L_3)
{
goto IL_0015;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_4 = V_0;
V_2 = L_4;
goto IL_007c;
}
IL_0015:
{
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_5 = (StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E*)(StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E*)SZArrayNew(StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E_il2cpp_TypeInfo_var, (uint32_t)6);
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_6 = L_5;
NullCheck(L_6);
ArrayElementTypeCheck (L_6, _stringLiteral2BBC38111940698AFB713196AC3CDC77F8520F36);
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(0), (String_t*)_stringLiteral2BBC38111940698AFB713196AC3CDC77F8520F36);
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_7 = L_6;
String_t* L_8 = ___styleName0;
NullCheck(L_7);
ArrayElementTypeCheck (L_7, L_8);
(L_7)->SetAt(static_cast<il2cpp_array_size_t>(1), (String_t*)L_8);
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_9 = L_7;
NullCheck(L_9);
ArrayElementTypeCheck (L_9, _stringLiteral32ECC4719669918929E577728ABBC5556B1258D9);
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(2), (String_t*)_stringLiteral32ECC4719669918929E577728ABBC5556B1258D9);
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_10 = L_9;
String_t* L_11 = Object_get_name_mA2D400141CB3C991C87A2556429781DE961A83CE(__this, /*hidden argument*/NULL);
NullCheck(L_10);
ArrayElementTypeCheck (L_10, L_11);
(L_10)->SetAt(static_cast<il2cpp_array_size_t>(3), (String_t*)L_11);
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_12 = L_10;
NullCheck(L_12);
ArrayElementTypeCheck (L_12, _stringLiteral4EBF4799F637E32D34B9DBF78887989DD6C458D1);
(L_12)->SetAt(static_cast<il2cpp_array_size_t>(4), (String_t*)_stringLiteral4EBF4799F637E32D34B9DBF78887989DD6C458D1);
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_13 = L_12;
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_14 = Event_get_current_m072CEE599D11B8A9A916697E57C0F561188CDB2B(/*hidden argument*/NULL);
G_B3_0 = 5;
G_B3_1 = L_13;
G_B3_2 = L_13;
if (L_14)
{
G_B4_0 = 5;
G_B4_1 = L_13;
G_B4_2 = L_13;
goto IL_0050;
}
}
{
G_B5_0 = _stringLiteralB71AA0202634484C09B931E01A9CF812565B054B;
G_B5_1 = G_B3_0;
G_B5_2 = G_B3_1;
G_B5_3 = G_B3_2;
goto IL_0068;
}
IL_0050:
{
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_15 = Event_get_current_m072CEE599D11B8A9A916697E57C0F561188CDB2B(/*hidden argument*/NULL);
NullCheck(L_15);
int32_t L_16 = Event_get_type_mAABE4A35E5658E0079A1518D318AF2592F51D6FA(L_15, /*hidden argument*/NULL);
V_3 = L_16;
RuntimeObject * L_17 = Box(EventType_t3D3937E705A4506226002DAB22071B7B181DA57B_il2cpp_TypeInfo_var, (&V_3));
NullCheck(L_17);
String_t* L_18 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_17);
V_3 = *(int32_t*)UnBox(L_17);
G_B5_0 = L_18;
G_B5_1 = G_B4_0;
G_B5_2 = G_B4_1;
G_B5_3 = G_B4_2;
}
IL_0068:
{
NullCheck(G_B5_2);
ArrayElementTypeCheck (G_B5_2, G_B5_0);
(G_B5_2)->SetAt(static_cast<il2cpp_array_size_t>(G_B5_1), (String_t*)G_B5_0);
String_t* L_19 = String_Concat_m232E857CA5107EA6AC52E7DD7018716C021F237B(G_B5_3, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Debug_t7B5FCB117E2FD63B6838BC52821B252E2BFB61C4_il2cpp_TypeInfo_var);
Debug_LogWarning_m37338644DC81F640CCDFEAE35A223F0E965F0568(L_19, /*hidden argument*/NULL);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_20 = GUISkin_get_error_m40FBD0C57353CBFD8EE75B796E3EADBF9033C47F(/*hidden argument*/NULL);
V_2 = L_20;
goto IL_007c;
}
IL_007c:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_21 = V_2;
return L_21;
}
}
// UnityEngine.GUIStyle UnityEngine.GUISkin::FindStyle(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * GUISkin_FindStyle_m977BAAD9DE35AC43C9FA2DB52C6C0BDF83EE4706 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, String_t* ___styleName0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUISkin_FindStyle_m977BAAD9DE35AC43C9FA2DB52C6C0BDF83EE4706_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * V_0 = NULL;
bool V_1 = false;
bool V_2 = false;
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * V_3 = NULL;
{
Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * L_0 = __this->get_m_Styles_30();
V_1 = (bool)((((RuntimeObject*)(Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A *)L_0) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_1 = V_1;
if (!L_1)
{
goto IL_0015;
}
}
{
GUISkin_BuildStyleCache_m2C68BB5521EAF11FC98C86D7E60008901D61866A(__this, /*hidden argument*/NULL);
}
IL_0015:
{
Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * L_2 = __this->get_m_Styles_30();
String_t* L_3 = ___styleName0;
NullCheck(L_2);
bool L_4 = Dictionary_2_TryGetValue_m72452D4223AA3313BF658BFBDFC1B417CA40EC18(L_2, L_3, (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 **)(&V_0), /*hidden argument*/Dictionary_2_TryGetValue_m72452D4223AA3313BF658BFBDFC1B417CA40EC18_RuntimeMethod_var);
V_2 = L_4;
bool L_5 = V_2;
if (!L_5)
{
goto IL_002b;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_6 = V_0;
V_3 = L_6;
goto IL_002f;
}
IL_002b:
{
V_3 = (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)NULL;
goto IL_002f;
}
IL_002f:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_7 = V_3;
return L_7;
}
}
// System.Void UnityEngine.GUISkin::MakeCurrent()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUISkin_MakeCurrent_m42FAF8090F6B57648678704D86A6451DB917CF2D (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUISkin_MakeCurrent_m42FAF8090F6B57648678704D86A6451DB917CF2D_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
((GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7_StaticFields*)il2cpp_codegen_static_fields_for(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7_il2cpp_TypeInfo_var))->set_current_32(__this);
Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_0 = GUISkin_get_font_m54200DFAF834B835CE6598E1BA5B41382BC33AD5(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle_SetDefaultFont_m09D149F682E885D7058E3C48EB42C9E62363E381(L_0, /*hidden argument*/NULL);
SkinChangedDelegate_tAB4CEEA8C8A0BDCFD51C9624AE173C46A40135D8 * L_1 = ((GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7_StaticFields*)il2cpp_codegen_static_fields_for(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7_il2cpp_TypeInfo_var))->get_m_SkinChanged_31();
V_0 = (bool)((!(((RuntimeObject*)(SkinChangedDelegate_tAB4CEEA8C8A0BDCFD51C9624AE173C46A40135D8 *)L_1) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_002a;
}
}
{
SkinChangedDelegate_tAB4CEEA8C8A0BDCFD51C9624AE173C46A40135D8 * L_3 = ((GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7_StaticFields*)il2cpp_codegen_static_fields_for(GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7_il2cpp_TypeInfo_var))->get_m_SkinChanged_31();
NullCheck(L_3);
SkinChangedDelegate_Invoke_mE18CA4219F24151D8FC8A8A8B261F3FD860B007F(L_3, /*hidden argument*/NULL);
}
IL_002a:
{
return;
}
}
// System.Collections.IEnumerator UnityEngine.GUISkin::GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* GUISkin_GetEnumerator_m3F6D91C1C038E5DC24C38F6D23C95DEE03173987 (GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUISkin_GetEnumerator_m3F6D91C1C038E5DC24C38F6D23C95DEE03173987_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
RuntimeObject* V_1 = NULL;
{
Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * L_0 = __this->get_m_Styles_30();
V_0 = (bool)((((RuntimeObject*)(Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A *)L_0) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_1 = V_0;
if (!L_1)
{
goto IL_0015;
}
}
{
GUISkin_BuildStyleCache_m2C68BB5521EAF11FC98C86D7E60008901D61866A(__this, /*hidden argument*/NULL);
}
IL_0015:
{
Dictionary_2_tF2F04E1BE233EE6C4A6E90261E463B2A67A3FB6A * L_2 = __this->get_m_Styles_30();
NullCheck(L_2);
ValueCollection_t0C6A26D50A89F916DF2650A7C132FFB1992070B9 * L_3 = Dictionary_2_get_Values_mBCCD4E4C93C5E4DF2E0A07934040870B3662866F(L_2, /*hidden argument*/Dictionary_2_get_Values_mBCCD4E4C93C5E4DF2E0A07934040870B3662866F_RuntimeMethod_var);
NullCheck(L_3);
Enumerator_t7CFB6C06FEABB756D0C0A1BA202A13F5091958A6 L_4 = ValueCollection_GetEnumerator_m56252F012AAECD0BFFC3729A87D60BF2945499C2(L_3, /*hidden argument*/ValueCollection_GetEnumerator_m56252F012AAECD0BFFC3729A87D60BF2945499C2_RuntimeMethod_var);
Enumerator_t7CFB6C06FEABB756D0C0A1BA202A13F5091958A6 L_5 = L_4;
RuntimeObject * L_6 = Box(Enumerator_t7CFB6C06FEABB756D0C0A1BA202A13F5091958A6_il2cpp_TypeInfo_var, &L_5);
V_1 = (RuntimeObject*)L_6;
goto IL_002d;
}
IL_002d:
{
RuntimeObject* L_7 = V_1;
return L_7;
}
}
#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
IL2CPP_EXTERN_C void DelegatePInvokeWrapper_SkinChangedDelegate_tAB4CEEA8C8A0BDCFD51C9624AE173C46A40135D8 (SkinChangedDelegate_tAB4CEEA8C8A0BDCFD51C9624AE173C46A40135D8 * __this, const RuntimeMethod* method)
{
typedef void (DEFAULT_CALL *PInvokeFunc)();
PInvokeFunc il2cppPInvokeFunc = reinterpret_cast<PInvokeFunc>(il2cpp_codegen_get_method_pointer(((RuntimeDelegate*)__this)->method));
// Native function invocation
il2cppPInvokeFunc();
}
// System.Void UnityEngine.GUISkin_SkinChangedDelegate::.ctor(System.Object,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SkinChangedDelegate__ctor_m106EBB63DA6B078DD50D230BAC7535923307F2FA (SkinChangedDelegate_tAB4CEEA8C8A0BDCFD51C9624AE173C46A40135D8 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
{
__this->set_method_ptr_0(il2cpp_codegen_get_method_pointer((RuntimeMethod*)___method1));
__this->set_method_3(___method1);
__this->set_m_target_2(___object0);
}
// System.Void UnityEngine.GUISkin_SkinChangedDelegate::Invoke()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SkinChangedDelegate_Invoke_mE18CA4219F24151D8FC8A8A8B261F3FD860B007F (SkinChangedDelegate_tAB4CEEA8C8A0BDCFD51C9624AE173C46A40135D8 * __this, const RuntimeMethod* method)
{
DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86* delegateArrayToInvoke = __this->get_delegates_11();
Delegate_t** delegatesToInvoke;
il2cpp_array_size_t length;
if (delegateArrayToInvoke != NULL)
{
length = delegateArrayToInvoke->max_length;
delegatesToInvoke = reinterpret_cast<Delegate_t**>(delegateArrayToInvoke->GetAddressAtUnchecked(0));
}
else
{
length = 1;
delegatesToInvoke = reinterpret_cast<Delegate_t**>(&__this);
}
for (il2cpp_array_size_t i = 0; i < length; i++)
{
Delegate_t* currentDelegate = delegatesToInvoke[i];
Il2CppMethodPointer targetMethodPointer = currentDelegate->get_method_ptr_0();
RuntimeObject* targetThis = currentDelegate->get_m_target_2();
RuntimeMethod* targetMethod = (RuntimeMethod*)(currentDelegate->get_method_3());
if (!il2cpp_codegen_method_is_virtual(targetMethod))
{
il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod);
}
bool ___methodIsStatic = MethodIsStatic(targetMethod);
int ___parameterCount = il2cpp_codegen_method_parameter_count(targetMethod);
if (___methodIsStatic)
{
if (___parameterCount == 0)
{
// open
typedef void (*FunctionPointerType) (const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(targetMethod);
}
else
{
// closed
typedef void (*FunctionPointerType) (void*, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(targetThis, targetMethod);
}
}
else
{
// closed
if (il2cpp_codegen_method_is_virtual(targetMethod) && !il2cpp_codegen_object_is_of_sealed_type(targetThis) && il2cpp_codegen_delegate_has_invoker((Il2CppDelegate*)__this))
{
if (il2cpp_codegen_method_is_generic_instance(targetMethod))
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
GenericInterfaceActionInvoker0::Invoke(targetMethod, targetThis);
else
GenericVirtActionInvoker0::Invoke(targetMethod, targetThis);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
InterfaceActionInvoker0::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis);
else
VirtActionInvoker0::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis);
}
}
else
{
typedef void (*FunctionPointerType) (void*, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(targetThis, targetMethod);
}
}
}
}
// System.IAsyncResult UnityEngine.GUISkin_SkinChangedDelegate::BeginInvoke(System.AsyncCallback,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* SkinChangedDelegate_BeginInvoke_mB7F9F676B52F8A8108956D2DA04E8C0ECD5C3824 (SkinChangedDelegate_tAB4CEEA8C8A0BDCFD51C9624AE173C46A40135D8 * __this, AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4 * ___callback0, RuntimeObject * ___object1, const RuntimeMethod* method)
{
void *__d_args[1] = {0};
return (RuntimeObject*)il2cpp_codegen_delegate_begin_invoke((RuntimeDelegate*)__this, __d_args, (RuntimeDelegate*)___callback0, (RuntimeObject*)___object1);
}
// System.Void UnityEngine.GUISkin_SkinChangedDelegate::EndInvoke(System.IAsyncResult)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SkinChangedDelegate_EndInvoke_mFB33D8790DB1DAA2CC1B927ADAE992FF3C89B149 (SkinChangedDelegate_tAB4CEEA8C8A0BDCFD51C9624AE173C46A40135D8 * __this, RuntimeObject* ___result0, const RuntimeMethod* method)
{
il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Conversion methods for marshalling of: UnityEngine.GUIStyle
IL2CPP_EXTERN_C void GUIStyle_t671F175A201A19166385EE3392292A5F50070572_marshal_pinvoke(const GUIStyle_t671F175A201A19166385EE3392292A5F50070572& unmarshaled, GUIStyle_t671F175A201A19166385EE3392292A5F50070572_marshaled_pinvoke& marshaled)
{
Exception_t* ___m_Normal_1Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'm_Normal' of type 'GUIStyle': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(___m_Normal_1Exception, NULL);
}
IL2CPP_EXTERN_C void GUIStyle_t671F175A201A19166385EE3392292A5F50070572_marshal_pinvoke_back(const GUIStyle_t671F175A201A19166385EE3392292A5F50070572_marshaled_pinvoke& marshaled, GUIStyle_t671F175A201A19166385EE3392292A5F50070572& unmarshaled)
{
Exception_t* ___m_Normal_1Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'm_Normal' of type 'GUIStyle': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(___m_Normal_1Exception, NULL);
}
// Conversion method for clean up from marshalling of: UnityEngine.GUIStyle
IL2CPP_EXTERN_C void GUIStyle_t671F175A201A19166385EE3392292A5F50070572_marshal_pinvoke_cleanup(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: UnityEngine.GUIStyle
IL2CPP_EXTERN_C void GUIStyle_t671F175A201A19166385EE3392292A5F50070572_marshal_com(const GUIStyle_t671F175A201A19166385EE3392292A5F50070572& unmarshaled, GUIStyle_t671F175A201A19166385EE3392292A5F50070572_marshaled_com& marshaled)
{
Exception_t* ___m_Normal_1Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'm_Normal' of type 'GUIStyle': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(___m_Normal_1Exception, NULL);
}
IL2CPP_EXTERN_C void GUIStyle_t671F175A201A19166385EE3392292A5F50070572_marshal_com_back(const GUIStyle_t671F175A201A19166385EE3392292A5F50070572_marshaled_com& marshaled, GUIStyle_t671F175A201A19166385EE3392292A5F50070572& unmarshaled)
{
Exception_t* ___m_Normal_1Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'm_Normal' of type 'GUIStyle': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(___m_Normal_1Exception, NULL);
}
// Conversion method for clean up from marshalling of: UnityEngine.GUIStyle
IL2CPP_EXTERN_C void GUIStyle_t671F175A201A19166385EE3392292A5F50070572_marshal_com_cleanup(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_marshaled_com& marshaled)
{
}
// System.String UnityEngine.GUIStyle::get_rawName()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* GUIStyle_get_rawName_mD7DD50D00F93CEE5DCDE8E13A0F6C28A18ABC837 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, const RuntimeMethod* method)
{
typedef String_t* (*GUIStyle_get_rawName_mD7DD50D00F93CEE5DCDE8E13A0F6C28A18ABC837_ftn) (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *);
static GUIStyle_get_rawName_mD7DD50D00F93CEE5DCDE8E13A0F6C28A18ABC837_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIStyle_get_rawName_mD7DD50D00F93CEE5DCDE8E13A0F6C28A18ABC837_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIStyle::get_rawName()");
String_t* retVal = _il2cpp_icall_func(__this);
return retVal;
}
// System.Void UnityEngine.GUIStyle::set_rawName(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_set_rawName_mD091741C119250A2BA0B90E15E6CE2313750DF95 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, String_t* ___value0, const RuntimeMethod* method)
{
typedef void (*GUIStyle_set_rawName_mD091741C119250A2BA0B90E15E6CE2313750DF95_ftn) (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *, String_t*);
static GUIStyle_set_rawName_mD091741C119250A2BA0B90E15E6CE2313750DF95_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIStyle_set_rawName_mD091741C119250A2BA0B90E15E6CE2313750DF95_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIStyle::set_rawName(System.String)");
_il2cpp_icall_func(__this, ___value0);
}
// System.Void UnityEngine.GUIStyle::set_font(UnityEngine.Font)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_set_font_m348ACE92DE82C381C7AFE216029DB8D87F47E0A0 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * ___value0, const RuntimeMethod* method)
{
typedef void (*GUIStyle_set_font_m348ACE92DE82C381C7AFE216029DB8D87F47E0A0_ftn) (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *, Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 *);
static GUIStyle_set_font_m348ACE92DE82C381C7AFE216029DB8D87F47E0A0_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIStyle_set_font_m348ACE92DE82C381C7AFE216029DB8D87F47E0A0_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIStyle::set_font(UnityEngine.Font)");
_il2cpp_icall_func(__this, ___value0);
}
// UnityEngine.ImagePosition UnityEngine.GUIStyle::get_imagePosition()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GUIStyle_get_imagePosition_m77B9664D0EE5AB0B4EC4E652F0732FDCCE03B3F5 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, const RuntimeMethod* method)
{
typedef int32_t (*GUIStyle_get_imagePosition_m77B9664D0EE5AB0B4EC4E652F0732FDCCE03B3F5_ftn) (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *);
static GUIStyle_get_imagePosition_m77B9664D0EE5AB0B4EC4E652F0732FDCCE03B3F5_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIStyle_get_imagePosition_m77B9664D0EE5AB0B4EC4E652F0732FDCCE03B3F5_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIStyle::get_imagePosition()");
int32_t retVal = _il2cpp_icall_func(__this);
return retVal;
}
// System.Void UnityEngine.GUIStyle::set_alignment(UnityEngine.TextAnchor)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_set_alignment_m80647E2DCB359B9521A6D8D53EA457E2648488CF (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, int32_t ___value0, const RuntimeMethod* method)
{
typedef void (*GUIStyle_set_alignment_m80647E2DCB359B9521A6D8D53EA457E2648488CF_ftn) (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *, int32_t);
static GUIStyle_set_alignment_m80647E2DCB359B9521A6D8D53EA457E2648488CF_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIStyle_set_alignment_m80647E2DCB359B9521A6D8D53EA457E2648488CF_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIStyle::set_alignment(UnityEngine.TextAnchor)");
_il2cpp_icall_func(__this, ___value0);
}
// System.Boolean UnityEngine.GUIStyle::get_wordWrap()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUIStyle_get_wordWrap_m5CB09974AB5009AAD33797BFC830F06677105CB0 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, const RuntimeMethod* method)
{
typedef bool (*GUIStyle_get_wordWrap_m5CB09974AB5009AAD33797BFC830F06677105CB0_ftn) (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *);
static GUIStyle_get_wordWrap_m5CB09974AB5009AAD33797BFC830F06677105CB0_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIStyle_get_wordWrap_m5CB09974AB5009AAD33797BFC830F06677105CB0_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIStyle::get_wordWrap()");
bool retVal = _il2cpp_icall_func(__this);
return retVal;
}
// System.Void UnityEngine.GUIStyle::set_wordWrap(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_set_wordWrap_mB35DAD8BA109B812A2FCAED339BC5C6D7C3850C1 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, bool ___value0, const RuntimeMethod* method)
{
typedef void (*GUIStyle_set_wordWrap_mB35DAD8BA109B812A2FCAED339BC5C6D7C3850C1_ftn) (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *, bool);
static GUIStyle_set_wordWrap_mB35DAD8BA109B812A2FCAED339BC5C6D7C3850C1_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIStyle_set_wordWrap_mB35DAD8BA109B812A2FCAED339BC5C6D7C3850C1_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIStyle::set_wordWrap(System.Boolean)");
_il2cpp_icall_func(__this, ___value0);
}
// System.Single UnityEngine.GUIStyle::get_fixedWidth()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float GUIStyle_get_fixedWidth_mEACB70758F83DCD64CE363143849CC40E49B8D8D (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, const RuntimeMethod* method)
{
typedef float (*GUIStyle_get_fixedWidth_mEACB70758F83DCD64CE363143849CC40E49B8D8D_ftn) (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *);
static GUIStyle_get_fixedWidth_mEACB70758F83DCD64CE363143849CC40E49B8D8D_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIStyle_get_fixedWidth_mEACB70758F83DCD64CE363143849CC40E49B8D8D_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIStyle::get_fixedWidth()");
float retVal = _il2cpp_icall_func(__this);
return retVal;
}
// System.Single UnityEngine.GUIStyle::get_fixedHeight()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float GUIStyle_get_fixedHeight_m9B5589C95B27C5590219413E8D7E9E1E95EB7708 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, const RuntimeMethod* method)
{
typedef float (*GUIStyle_get_fixedHeight_m9B5589C95B27C5590219413E8D7E9E1E95EB7708_ftn) (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *);
static GUIStyle_get_fixedHeight_m9B5589C95B27C5590219413E8D7E9E1E95EB7708_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIStyle_get_fixedHeight_m9B5589C95B27C5590219413E8D7E9E1E95EB7708_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIStyle::get_fixedHeight()");
float retVal = _il2cpp_icall_func(__this);
return retVal;
}
// System.Boolean UnityEngine.GUIStyle::get_stretchWidth()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUIStyle_get_stretchWidth_m4513B313AABE48E1D10424844DC186405BC8A677 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, const RuntimeMethod* method)
{
typedef bool (*GUIStyle_get_stretchWidth_m4513B313AABE48E1D10424844DC186405BC8A677_ftn) (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *);
static GUIStyle_get_stretchWidth_m4513B313AABE48E1D10424844DC186405BC8A677_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIStyle_get_stretchWidth_m4513B313AABE48E1D10424844DC186405BC8A677_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIStyle::get_stretchWidth()");
bool retVal = _il2cpp_icall_func(__this);
return retVal;
}
// System.Boolean UnityEngine.GUIStyle::get_stretchHeight()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUIStyle_get_stretchHeight_m264308B18FA5F0A8400CF49945BAE1B9EFDC934F (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, const RuntimeMethod* method)
{
typedef bool (*GUIStyle_get_stretchHeight_m264308B18FA5F0A8400CF49945BAE1B9EFDC934F_ftn) (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *);
static GUIStyle_get_stretchHeight_m264308B18FA5F0A8400CF49945BAE1B9EFDC934F_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIStyle_get_stretchHeight_m264308B18FA5F0A8400CF49945BAE1B9EFDC934F_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIStyle::get_stretchHeight()");
bool retVal = _il2cpp_icall_func(__this);
return retVal;
}
// System.Void UnityEngine.GUIStyle::set_stretchHeight(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_set_stretchHeight_mE11B46969A8498FB3B7443B4C54254F0C9A71A6E (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, bool ___value0, const RuntimeMethod* method)
{
typedef void (*GUIStyle_set_stretchHeight_mE11B46969A8498FB3B7443B4C54254F0C9A71A6E_ftn) (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *, bool);
static GUIStyle_set_stretchHeight_mE11B46969A8498FB3B7443B4C54254F0C9A71A6E_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIStyle_set_stretchHeight_mE11B46969A8498FB3B7443B4C54254F0C9A71A6E_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIStyle::set_stretchHeight(System.Boolean)");
_il2cpp_icall_func(__this, ___value0);
}
// System.Void UnityEngine.GUIStyle::set_fontSize(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_set_fontSize_mA9F9F916A9BC3B81CFEE7460966FFD1E6B67F45F (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, int32_t ___value0, const RuntimeMethod* method)
{
typedef void (*GUIStyle_set_fontSize_mA9F9F916A9BC3B81CFEE7460966FFD1E6B67F45F_ftn) (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *, int32_t);
static GUIStyle_set_fontSize_mA9F9F916A9BC3B81CFEE7460966FFD1E6B67F45F_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIStyle_set_fontSize_mA9F9F916A9BC3B81CFEE7460966FFD1E6B67F45F_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIStyle::set_fontSize(System.Int32)");
_il2cpp_icall_func(__this, ___value0);
}
// System.IntPtr UnityEngine.GUIStyle::Internal_Create(UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t GUIStyle_Internal_Create_m9641BC84B2A6E34A801EED919EF412E4A1C444C8 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___self0, const RuntimeMethod* method)
{
typedef intptr_t (*GUIStyle_Internal_Create_m9641BC84B2A6E34A801EED919EF412E4A1C444C8_ftn) (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *);
static GUIStyle_Internal_Create_m9641BC84B2A6E34A801EED919EF412E4A1C444C8_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIStyle_Internal_Create_m9641BC84B2A6E34A801EED919EF412E4A1C444C8_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIStyle::Internal_Create(UnityEngine.GUIStyle)");
intptr_t retVal = _il2cpp_icall_func(___self0);
return retVal;
}
// System.IntPtr UnityEngine.GUIStyle::Internal_Copy(UnityEngine.GUIStyle,UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t GUIStyle_Internal_Copy_m9F0B548973DA4B7992A7B74734736DDBAD3E8325 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___self0, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___other1, const RuntimeMethod* method)
{
typedef intptr_t (*GUIStyle_Internal_Copy_m9F0B548973DA4B7992A7B74734736DDBAD3E8325_ftn) (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *);
static GUIStyle_Internal_Copy_m9F0B548973DA4B7992A7B74734736DDBAD3E8325_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIStyle_Internal_Copy_m9F0B548973DA4B7992A7B74734736DDBAD3E8325_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIStyle::Internal_Copy(UnityEngine.GUIStyle,UnityEngine.GUIStyle)");
intptr_t retVal = _il2cpp_icall_func(___self0, ___other1);
return retVal;
}
// System.Void UnityEngine.GUIStyle::Internal_Destroy(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_Internal_Destroy_mFA13F1C8E929FB9429825F2F176D4E3DE9C131E2 (intptr_t ___self0, const RuntimeMethod* method)
{
typedef void (*GUIStyle_Internal_Destroy_mFA13F1C8E929FB9429825F2F176D4E3DE9C131E2_ftn) (intptr_t);
static GUIStyle_Internal_Destroy_mFA13F1C8E929FB9429825F2F176D4E3DE9C131E2_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIStyle_Internal_Destroy_mFA13F1C8E929FB9429825F2F176D4E3DE9C131E2_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIStyle::Internal_Destroy(System.IntPtr)");
_il2cpp_icall_func(___self0);
}
// System.IntPtr UnityEngine.GUIStyle::GetStyleStatePtr(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t GUIStyle_GetStyleStatePtr_m9EB2842B5EDEC03D6F7A0050A4E9DBB7103EA5C5 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, int32_t ___idx0, const RuntimeMethod* method)
{
typedef intptr_t (*GUIStyle_GetStyleStatePtr_m9EB2842B5EDEC03D6F7A0050A4E9DBB7103EA5C5_ftn) (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *, int32_t);
static GUIStyle_GetStyleStatePtr_m9EB2842B5EDEC03D6F7A0050A4E9DBB7103EA5C5_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIStyle_GetStyleStatePtr_m9EB2842B5EDEC03D6F7A0050A4E9DBB7103EA5C5_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIStyle::GetStyleStatePtr(System.Int32)");
intptr_t retVal = _il2cpp_icall_func(__this, ___idx0);
return retVal;
}
// System.IntPtr UnityEngine.GUIStyle::GetRectOffsetPtr(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t GUIStyle_GetRectOffsetPtr_m780608811770308EFDE095993756D8AA0BD37BF8 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, int32_t ___idx0, const RuntimeMethod* method)
{
typedef intptr_t (*GUIStyle_GetRectOffsetPtr_m780608811770308EFDE095993756D8AA0BD37BF8_ftn) (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *, int32_t);
static GUIStyle_GetRectOffsetPtr_m780608811770308EFDE095993756D8AA0BD37BF8_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIStyle_GetRectOffsetPtr_m780608811770308EFDE095993756D8AA0BD37BF8_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIStyle::GetRectOffsetPtr(System.Int32)");
intptr_t retVal = _il2cpp_icall_func(__this, ___idx0);
return retVal;
}
// System.Void UnityEngine.GUIStyle::AssignRectOffset(System.Int32,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_AssignRectOffset_m316463D46214E6A6DCE86498BABDE2AA5E3201BC (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, int32_t ___idx0, intptr_t ___srcRectOffset1, const RuntimeMethod* method)
{
typedef void (*GUIStyle_AssignRectOffset_m316463D46214E6A6DCE86498BABDE2AA5E3201BC_ftn) (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *, int32_t, intptr_t);
static GUIStyle_AssignRectOffset_m316463D46214E6A6DCE86498BABDE2AA5E3201BC_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIStyle_AssignRectOffset_m316463D46214E6A6DCE86498BABDE2AA5E3201BC_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIStyle::AssignRectOffset(System.Int32,System.IntPtr)");
_il2cpp_icall_func(__this, ___idx0, ___srcRectOffset1);
}
// System.Void UnityEngine.GUIStyle::Internal_Draw(UnityEngine.Rect,UnityEngine.GUIContent,System.Boolean,System.Boolean,System.Boolean,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_Internal_Draw_m8DAE8DEA36131D287E8E8DF5D1EF5E9788A672A9 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___screenRect0, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content1, bool ___isHover2, bool ___isActive3, bool ___on4, bool ___hasKeyboardFocus5, const RuntimeMethod* method)
{
{
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_0 = ___content1;
bool L_1 = ___isHover2;
bool L_2 = ___isActive3;
bool L_3 = ___on4;
bool L_4 = ___hasKeyboardFocus5;
GUIStyle_Internal_Draw_Injected_m96268CFD8003682366C5416A373F06C862B2785C(__this, (Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)(&___screenRect0), L_0, L_1, L_2, L_3, L_4, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.GUIStyle::Internal_Draw2(UnityEngine.Rect,UnityEngine.GUIContent,System.Int32,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_Internal_Draw2_m0F79CA39E2A55437E2E918BE915E594BC303D13D (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___position0, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content1, int32_t ___controlID2, bool ___on3, const RuntimeMethod* method)
{
{
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_0 = ___content1;
int32_t L_1 = ___controlID2;
bool L_2 = ___on3;
GUIStyle_Internal_Draw2_Injected_m76127AEB314B7227EED6CD90639B918394686872(__this, (Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)(&___position0), L_0, L_1, L_2, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.Vector2 UnityEngine.GUIStyle::Internal_CalcSizeWithConstraints(UnityEngine.GUIContent,UnityEngine.Vector2)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_tA85D2DD88578276CA8A8796756458277E72D073D GUIStyle_Internal_CalcSizeWithConstraints_m76F329DBFD8F84D2B36969E5080DED50829C4475 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content0, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___maxSize1, const RuntimeMethod* method)
{
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D V_0;
memset((&V_0), 0, sizeof(V_0));
{
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_0 = ___content0;
GUIStyle_Internal_CalcSizeWithConstraints_Injected_mA35A68B087B89B7A503B38BA684B6115313FE348(__this, L_0, (Vector2_tA85D2DD88578276CA8A8796756458277E72D073D *)(&___maxSize1), (Vector2_tA85D2DD88578276CA8A8796756458277E72D073D *)(&V_0), /*hidden argument*/NULL);
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_1 = V_0;
return L_1;
}
}
// System.Single UnityEngine.GUIStyle::Internal_CalcHeight(UnityEngine.GUIContent,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float GUIStyle_Internal_CalcHeight_m233036ADA87FAB967C31499837D04E2BE004EAE3 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content0, float ___width1, const RuntimeMethod* method)
{
typedef float (*GUIStyle_Internal_CalcHeight_m233036ADA87FAB967C31499837D04E2BE004EAE3_ftn) (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 *, float);
static GUIStyle_Internal_CalcHeight_m233036ADA87FAB967C31499837D04E2BE004EAE3_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIStyle_Internal_CalcHeight_m233036ADA87FAB967C31499837D04E2BE004EAE3_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIStyle::Internal_CalcHeight(UnityEngine.GUIContent,System.Single)");
float retVal = _il2cpp_icall_func(__this, ___content0, ___width1);
return retVal;
}
// UnityEngine.Vector2 UnityEngine.GUIStyle::Internal_CalcMinMaxWidth(UnityEngine.GUIContent)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_tA85D2DD88578276CA8A8796756458277E72D073D GUIStyle_Internal_CalcMinMaxWidth_m629573150034B2B5E2D3407E538D7B3230609F39 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content0, const RuntimeMethod* method)
{
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D V_0;
memset((&V_0), 0, sizeof(V_0));
{
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_0 = ___content0;
GUIStyle_Internal_CalcMinMaxWidth_Injected_mA9596C94BC872BAEDF30962D1550E6A894438A75(__this, L_0, (Vector2_tA85D2DD88578276CA8A8796756458277E72D073D *)(&V_0), /*hidden argument*/NULL);
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.GUIStyle::SetMouseTooltip(System.String,UnityEngine.Rect)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_SetMouseTooltip_m69607AB3EA166CC12F3851DD54963C03B4551312 (String_t* ___tooltip0, Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___screenRect1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUIStyle_SetMouseTooltip_m69607AB3EA166CC12F3851DD54963C03B4551312_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
String_t* L_0 = ___tooltip0;
IL2CPP_RUNTIME_CLASS_INIT(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle_SetMouseTooltip_Injected_m292443679DFA66800CA706CF3DA947365C1D46D7(L_0, (Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)(&___screenRect1), /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.GUIStyle::SetDefaultFont(UnityEngine.Font)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_SetDefaultFont_m09D149F682E885D7058E3C48EB42C9E62363E381 (Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * ___font0, const RuntimeMethod* method)
{
typedef void (*GUIStyle_SetDefaultFont_m09D149F682E885D7058E3C48EB42C9E62363E381_ftn) (Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 *);
static GUIStyle_SetDefaultFont_m09D149F682E885D7058E3C48EB42C9E62363E381_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIStyle_SetDefaultFont_m09D149F682E885D7058E3C48EB42C9E62363E381_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIStyle::SetDefaultFont(UnityEngine.Font)");
_il2cpp_icall_func(___font0);
}
// System.Void UnityEngine.GUIStyle::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle__ctor_m8AA3D5AA506A252687923D0DA80741862AA83805 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUIStyle__ctor_m8AA3D5AA506A252687923D0DA80741862AA83805_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
intptr_t L_0 = GUIStyle_Internal_Create_m9641BC84B2A6E34A801EED919EF412E4A1C444C8(__this, /*hidden argument*/NULL);
__this->set_m_Ptr_0((intptr_t)L_0);
return;
}
}
// System.Void UnityEngine.GUIStyle::.ctor(UnityEngine.GUIStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle__ctor_m64098019A1065381E9909C513D3B8CA4617EF168 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___other0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUIStyle__ctor_m64098019A1065381E9909C513D3B8CA4617EF168_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = ___other0;
V_0 = (bool)((((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_0) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_1 = V_0;
if (!L_1)
{
goto IL_0024;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(Debug_t7B5FCB117E2FD63B6838BC52821B252E2BFB61C4_il2cpp_TypeInfo_var);
Debug_LogError_m3BCF9B78263152261565DCA9DB7D55F0C391ED29(_stringLiteral8F13B25223E12B732676D159774DCB00806DA4CB, /*hidden argument*/NULL);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_2 = GUISkin_get_error_m40FBD0C57353CBFD8EE75B796E3EADBF9033C47F(/*hidden argument*/NULL);
___other0 = L_2;
}
IL_0024:
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_3 = ___other0;
IL2CPP_RUNTIME_CLASS_INIT(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
intptr_t L_4 = GUIStyle_Internal_Copy_m9F0B548973DA4B7992A7B74734736DDBAD3E8325(__this, L_3, /*hidden argument*/NULL);
__this->set_m_Ptr_0((intptr_t)L_4);
return;
}
}
// System.Void UnityEngine.GUIStyle::Finalize()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_Finalize_m06DC9D0C766664ACF0D2C8D6BE214756E6361BA4 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUIStyle_Finalize_m06DC9D0C766664ACF0D2C8D6BE214756E6361BA4_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
}
IL_0001:
try
{ // begin try (depth: 1)
{
intptr_t L_0 = __this->get_m_Ptr_0();
bool L_1 = IntPtr_op_Inequality_mB4886A806009EA825EFCC60CD2A7F6EB8E273A61((intptr_t)L_0, (intptr_t)(0), /*hidden argument*/NULL);
V_0 = L_1;
bool L_2 = V_0;
if (!L_2)
{
goto IL_002f;
}
}
IL_0016:
{
intptr_t L_3 = __this->get_m_Ptr_0();
IL2CPP_RUNTIME_CLASS_INIT(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle_Internal_Destroy_mFA13F1C8E929FB9429825F2F176D4E3DE9C131E2((intptr_t)L_3, /*hidden argument*/NULL);
__this->set_m_Ptr_0((intptr_t)(0));
}
IL_002f:
{
IL2CPP_LEAVE(0x39, FINALLY_0031);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0031;
}
FINALLY_0031:
{ // begin finally (depth: 1)
Object_Finalize_m4015B7D3A44DE125C5FE34D7276CD4697C06F380(__this, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(49)
} // end finally (depth: 1)
IL2CPP_CLEANUP(49)
{
IL2CPP_JUMP_TBL(0x39, IL_0039)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0039:
{
return;
}
}
// System.String UnityEngine.GUIStyle::get_name()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* GUIStyle_get_name_m111D8AB0173E1EBA46A9664EBABBC82AFE3ED71E (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, const RuntimeMethod* method)
{
String_t* V_0 = NULL;
String_t* V_1 = NULL;
String_t* G_B2_0 = NULL;
String_t* G_B1_0 = NULL;
{
String_t* L_0 = __this->get_m_Name_13();
String_t* L_1 = L_0;
G_B1_0 = L_1;
if (L_1)
{
G_B2_0 = L_1;
goto IL_001a;
}
}
{
String_t* L_2 = GUIStyle_get_rawName_mD7DD50D00F93CEE5DCDE8E13A0F6C28A18ABC837(__this, /*hidden argument*/NULL);
String_t* L_3 = L_2;
V_0 = L_3;
__this->set_m_Name_13(L_3);
String_t* L_4 = V_0;
G_B2_0 = L_4;
}
IL_001a:
{
V_1 = G_B2_0;
goto IL_001d;
}
IL_001d:
{
String_t* L_5 = V_1;
return L_5;
}
}
// System.Void UnityEngine.GUIStyle::set_name(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_set_name_m3D232D5A8EAD7B29F1F2DA3ADD01B99EFF83F1D7 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, String_t* ___value0, const RuntimeMethod* method)
{
{
String_t* L_0 = ___value0;
__this->set_m_Name_13(L_0);
String_t* L_1 = ___value0;
GUIStyle_set_rawName_mD091741C119250A2BA0B90E15E6CE2313750DF95(__this, L_1, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.GUIStyleState UnityEngine.GUIStyle::get_normal()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * GUIStyle_get_normal_mC5CB22EED8113DEC86C54FB42F757B635D09DD2F (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, const RuntimeMethod* method)
{
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * V_0 = NULL;
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * V_1 = NULL;
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * G_B2_0 = NULL;
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * G_B1_0 = NULL;
{
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * L_0 = __this->get_m_Normal_1();
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * L_1 = L_0;
G_B1_0 = L_1;
if (L_1)
{
G_B2_0 = L_1;
goto IL_0021;
}
}
{
intptr_t L_2 = GUIStyle_GetStyleStatePtr_m9EB2842B5EDEC03D6F7A0050A4E9DBB7103EA5C5(__this, 0, /*hidden argument*/NULL);
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * L_3 = GUIStyleState_GetGUIStyleState_m207443170D2CA9E48BAB05FF74B30C76C6D63F68(__this, (intptr_t)L_2, /*hidden argument*/NULL);
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * L_4 = L_3;
V_0 = L_4;
__this->set_m_Normal_1(L_4);
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * L_5 = V_0;
G_B2_0 = L_5;
}
IL_0021:
{
V_1 = G_B2_0;
goto IL_0024;
}
IL_0024:
{
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * L_6 = V_1;
return L_6;
}
}
// UnityEngine.RectOffset UnityEngine.GUIStyle::get_margin()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * GUIStyle_get_margin_mFC3EA0FA030A6334AC03BDDFA4AC80419C9E5BAA (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUIStyle_get_margin_mFC3EA0FA030A6334AC03BDDFA4AC80419C9E5BAA_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * V_0 = NULL;
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * V_1 = NULL;
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * G_B2_0 = NULL;
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * G_B1_0 = NULL;
{
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_0 = __this->get_m_Margin_11();
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_1 = L_0;
G_B1_0 = L_1;
if (L_1)
{
G_B2_0 = L_1;
goto IL_0021;
}
}
{
intptr_t L_2 = GUIStyle_GetRectOffsetPtr_m780608811770308EFDE095993756D8AA0BD37BF8(__this, 1, /*hidden argument*/NULL);
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_3 = (RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A *)il2cpp_codegen_object_new(RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A_il2cpp_TypeInfo_var);
RectOffset__ctor_m23620FE61AAF476219462230C6839B86736B80BA(L_3, __this, (intptr_t)L_2, /*hidden argument*/NULL);
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_4 = L_3;
V_0 = L_4;
__this->set_m_Margin_11(L_4);
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_5 = V_0;
G_B2_0 = L_5;
}
IL_0021:
{
V_1 = G_B2_0;
goto IL_0024;
}
IL_0024:
{
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_6 = V_1;
return L_6;
}
}
// UnityEngine.RectOffset UnityEngine.GUIStyle::get_padding()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * GUIStyle_get_padding_m5DF76AA03A313366D0DD8D577731DAC4FB83053A (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUIStyle_get_padding_m5DF76AA03A313366D0DD8D577731DAC4FB83053A_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * V_0 = NULL;
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * V_1 = NULL;
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * G_B2_0 = NULL;
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * G_B1_0 = NULL;
{
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_0 = __this->get_m_Padding_10();
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_1 = L_0;
G_B1_0 = L_1;
if (L_1)
{
G_B2_0 = L_1;
goto IL_0021;
}
}
{
intptr_t L_2 = GUIStyle_GetRectOffsetPtr_m780608811770308EFDE095993756D8AA0BD37BF8(__this, 2, /*hidden argument*/NULL);
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_3 = (RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A *)il2cpp_codegen_object_new(RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A_il2cpp_TypeInfo_var);
RectOffset__ctor_m23620FE61AAF476219462230C6839B86736B80BA(L_3, __this, (intptr_t)L_2, /*hidden argument*/NULL);
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_4 = L_3;
V_0 = L_4;
__this->set_m_Padding_10(L_4);
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_5 = V_0;
G_B2_0 = L_5;
}
IL_0021:
{
V_1 = G_B2_0;
goto IL_0024;
}
IL_0024:
{
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_6 = V_1;
return L_6;
}
}
// System.Void UnityEngine.GUIStyle::set_padding(UnityEngine.RectOffset)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_set_padding_m125FFFE385BFA7D60E4D9D822053DE9508A7A465 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * ___value0, const RuntimeMethod* method)
{
{
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * L_0 = ___value0;
NullCheck(L_0);
intptr_t L_1 = L_0->get_m_Ptr_0();
GUIStyle_AssignRectOffset_m316463D46214E6A6DCE86498BABDE2AA5E3201BC(__this, 2, (intptr_t)L_1, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.GUIStyle::Draw(UnityEngine.Rect,UnityEngine.GUIContent,System.Boolean,System.Boolean,System.Boolean,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_Draw_mA0E9663C3D09782E1CD73BFD68CD7E9B1D235441 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___position0, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content1, bool ___isHover2, bool ___isActive3, bool ___on4, bool ___hasKeyboardFocus5, const RuntimeMethod* method)
{
{
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_0 = ___position0;
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_1 = ___content1;
bool L_2 = ___isHover2;
bool L_3 = ___isActive3;
bool L_4 = ___on4;
bool L_5 = ___hasKeyboardFocus5;
GUIStyle_Draw_mAC1BB37A9DA0C304A5A70A9CFDB097C8D9C90FFF(__this, L_0, L_1, (-1), L_2, L_3, L_4, L_5, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.GUIStyle::Draw(UnityEngine.Rect,UnityEngine.GUIContent,System.Int32,System.Boolean,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_Draw_m5638E51BD61AC461DAF1022102D2A0D583F592ED (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___position0, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content1, int32_t ___controlID2, bool ___on3, bool ___hover4, const RuntimeMethod* method)
{
{
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_0 = ___position0;
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_1 = ___content1;
int32_t L_2 = ___controlID2;
bool L_3 = ___hover4;
int32_t L_4 = GUIUtility_get_hotControl_mC2E01E65B6AED8142AB9CA13A88D6E0F753D8857(/*hidden argument*/NULL);
int32_t L_5 = ___controlID2;
bool L_6 = ___on3;
int32_t L_7 = ___controlID2;
bool L_8 = GUIUtility_HasKeyFocus_mC8FCF8AB69DB9ECF737C91B5C2207100CCF7E78A(L_7, /*hidden argument*/NULL);
GUIStyle_Draw_mAC1BB37A9DA0C304A5A70A9CFDB097C8D9C90FFF(__this, L_0, L_1, L_2, L_3, (bool)((((int32_t)L_4) == ((int32_t)L_5))? 1 : 0), L_6, L_8, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.GUIStyle::Draw(UnityEngine.Rect,UnityEngine.GUIContent,System.Int32,System.Boolean,System.Boolean,System.Boolean,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_Draw_mAC1BB37A9DA0C304A5A70A9CFDB097C8D9C90FFF (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___position0, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content1, int32_t ___controlId2, bool ___isHover3, bool ___isActive4, bool ___on5, bool ___hasKeyboardFocus6, const RuntimeMethod* method)
{
bool V_0 = false;
{
int32_t L_0 = ___controlId2;
V_0 = (bool)((((int32_t)L_0) == ((int32_t)(-1)))? 1 : 0);
bool L_1 = V_0;
if (!L_1)
{
goto IL_001d;
}
}
{
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_2 = ___position0;
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_3 = ___content1;
bool L_4 = ___isHover3;
bool L_5 = ___isActive4;
bool L_6 = ___on5;
bool L_7 = ___hasKeyboardFocus6;
GUIStyle_Internal_Draw_m8DAE8DEA36131D287E8E8DF5D1EF5E9788A672A9(__this, L_2, L_3, L_4, L_5, L_6, L_7, /*hidden argument*/NULL);
goto IL_0029;
}
IL_001d:
{
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_8 = ___position0;
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_9 = ___content1;
int32_t L_10 = ___controlId2;
bool L_11 = ___on5;
GUIStyle_Internal_Draw2_m0F79CA39E2A55437E2E918BE915E594BC303D13D(__this, L_8, L_9, L_10, L_11, /*hidden argument*/NULL);
}
IL_0029:
{
return;
}
}
// UnityEngine.GUIStyle UnityEngine.GUIStyle::get_none()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * GUIStyle_get_none_m2B48FA4E2FA2B9BB7A458DF25B1391F9C7BB8B7B (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUIStyle_get_none_m2B48FA4E2FA2B9BB7A458DF25B1391F9C7BB8B7B_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * G_B2_0 = NULL;
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * G_B1_0 = NULL;
{
IL2CPP_RUNTIME_CLASS_INIT(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = ((GUIStyle_t671F175A201A19166385EE3392292A5F50070572_StaticFields*)il2cpp_codegen_static_fields_for(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var))->get_s_None_15();
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_1 = L_0;
G_B1_0 = L_1;
if (L_1)
{
G_B2_0 = L_1;
goto IL_0014;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_2 = (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)il2cpp_codegen_object_new(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle__ctor_m8AA3D5AA506A252687923D0DA80741862AA83805(L_2, /*hidden argument*/NULL);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_3 = L_2;
IL2CPP_RUNTIME_CLASS_INIT(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
((GUIStyle_t671F175A201A19166385EE3392292A5F50070572_StaticFields*)il2cpp_codegen_static_fields_for(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var))->set_s_None_15(L_3);
G_B2_0 = L_3;
}
IL_0014:
{
return G_B2_0;
}
}
// UnityEngine.Vector2 UnityEngine.GUIStyle::CalcSizeWithConstraints(UnityEngine.GUIContent,UnityEngine.Vector2)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_tA85D2DD88578276CA8A8796756458277E72D073D GUIStyle_CalcSizeWithConstraints_mA0DE86AC24DEFA70E3EAFCEA9DE74190ACA85DBC (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content0, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___constraints1, const RuntimeMethod* method)
{
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D V_0;
memset((&V_0), 0, sizeof(V_0));
{
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_0 = ___content0;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_1 = ___constraints1;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_2 = GUIStyle_Internal_CalcSizeWithConstraints_m76F329DBFD8F84D2B36969E5080DED50829C4475(__this, L_0, L_1, /*hidden argument*/NULL);
V_0 = L_2;
goto IL_000c;
}
IL_000c:
{
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_3 = V_0;
return L_3;
}
}
// System.Single UnityEngine.GUIStyle::CalcHeight(UnityEngine.GUIContent,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float GUIStyle_CalcHeight_m6F102200768409D1B2184A7FE1A56747AB7B59B5 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content0, float ___width1, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_0 = ___content0;
float L_1 = ___width1;
float L_2 = GUIStyle_Internal_CalcHeight_m233036ADA87FAB967C31499837D04E2BE004EAE3(__this, L_0, L_1, /*hidden argument*/NULL);
V_0 = L_2;
goto IL_000c;
}
IL_000c:
{
float L_3 = V_0;
return L_3;
}
}
// System.Boolean UnityEngine.GUIStyle::get_isHeightDependantOnWidth()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUIStyle_get_isHeightDependantOnWidth_mC4321E45938F3836C4B1FC69209696C4247870E1 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, const RuntimeMethod* method)
{
int32_t G_B4_0 = 0;
int32_t G_B6_0 = 0;
{
float L_0 = GUIStyle_get_fixedHeight_m9B5589C95B27C5590219413E8D7E9E1E95EB7708(__this, /*hidden argument*/NULL);
if ((!(((float)L_0) == ((float)(0.0f)))))
{
goto IL_0026;
}
}
{
bool L_1 = GUIStyle_get_wordWrap_m5CB09974AB5009AAD33797BFC830F06677105CB0(__this, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0023;
}
}
{
int32_t L_2 = GUIStyle_get_imagePosition_m77B9664D0EE5AB0B4EC4E652F0732FDCCE03B3F5(__this, /*hidden argument*/NULL);
G_B4_0 = ((((int32_t)((((int32_t)L_2) == ((int32_t)2))? 1 : 0)) == ((int32_t)0))? 1 : 0);
goto IL_0024;
}
IL_0023:
{
G_B4_0 = 0;
}
IL_0024:
{
G_B6_0 = G_B4_0;
goto IL_0027;
}
IL_0026:
{
G_B6_0 = 0;
}
IL_0027:
{
return (bool)G_B6_0;
}
}
// System.Void UnityEngine.GUIStyle::CalcMinMaxWidth(UnityEngine.GUIContent,System.Single&,System.Single&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_CalcMinMaxWidth_m2FD91578F6B83E3D2B06BFD0648AF1801526FD36 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content0, float* ___minWidth1, float* ___maxWidth2, const RuntimeMethod* method)
{
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D V_0;
memset((&V_0), 0, sizeof(V_0));
{
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_0 = ___content0;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_1 = GUIStyle_Internal_CalcMinMaxWidth_m629573150034B2B5E2D3407E538D7B3230609F39(__this, L_0, /*hidden argument*/NULL);
V_0 = L_1;
float* L_2 = ___minWidth1;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_3 = V_0;
float L_4 = L_3.get_x_0();
*((float*)L_2) = (float)L_4;
float* L_5 = ___maxWidth2;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_6 = V_0;
float L_7 = L_6.get_y_1();
*((float*)L_5) = (float)L_7;
return;
}
}
// System.String UnityEngine.GUIStyle::ToString()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* GUIStyle_ToString_mE73FFC6A93F4F7BC2560EADEB074F0E81F77CB07 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUIStyle_ToString_mE73FFC6A93F4F7BC2560EADEB074F0E81F77CB07_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
String_t* V_0 = NULL;
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_0 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)SZArrayNew(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A_il2cpp_TypeInfo_var, (uint32_t)1);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_1 = L_0;
String_t* L_2 = GUIStyle_get_name_m111D8AB0173E1EBA46A9664EBABBC82AFE3ED71E(__this, /*hidden argument*/NULL);
NullCheck(L_1);
ArrayElementTypeCheck (L_1, L_2);
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_2);
String_t* L_3 = UnityString_Format_m415056ECF8DA7B3EC6A8456E299D0C2002177387(_stringLiteralF92769A88C9334E4CDB8DF06F40EC92B7B4086D0, L_1, /*hidden argument*/NULL);
V_0 = L_3;
goto IL_001d;
}
IL_001d:
{
String_t* L_4 = V_0;
return L_4;
}
}
// System.Void UnityEngine.GUIStyle::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle__cctor_mA7579A59C320A9202F6E83B39DADC06C10231D6F (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUIStyle__cctor_mA7579A59C320A9202F6E83B39DADC06C10231D6F_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
((GUIStyle_t671F175A201A19166385EE3392292A5F50070572_StaticFields*)il2cpp_codegen_static_fields_for(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var))->set_showKeyboardFocus_14((bool)1);
return;
}
}
// System.Void UnityEngine.GUIStyle::Internal_Draw_Injected(UnityEngine.Rect&,UnityEngine.GUIContent,System.Boolean,System.Boolean,System.Boolean,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_Internal_Draw_Injected_m96268CFD8003682366C5416A373F06C862B2785C (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, Rect_t35B976DE901B5423C11705E156938EA27AB402CE * ___screenRect0, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content1, bool ___isHover2, bool ___isActive3, bool ___on4, bool ___hasKeyboardFocus5, const RuntimeMethod* method)
{
typedef void (*GUIStyle_Internal_Draw_Injected_m96268CFD8003682366C5416A373F06C862B2785C_ftn) (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *, Rect_t35B976DE901B5423C11705E156938EA27AB402CE *, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 *, bool, bool, bool, bool);
static GUIStyle_Internal_Draw_Injected_m96268CFD8003682366C5416A373F06C862B2785C_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIStyle_Internal_Draw_Injected_m96268CFD8003682366C5416A373F06C862B2785C_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIStyle::Internal_Draw_Injected(UnityEngine.Rect&,UnityEngine.GUIContent,System.Boolean,System.Boolean,System.Boolean,System.Boolean)");
_il2cpp_icall_func(__this, ___screenRect0, ___content1, ___isHover2, ___isActive3, ___on4, ___hasKeyboardFocus5);
}
// System.Void UnityEngine.GUIStyle::Internal_Draw2_Injected(UnityEngine.Rect&,UnityEngine.GUIContent,System.Int32,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_Internal_Draw2_Injected_m76127AEB314B7227EED6CD90639B918394686872 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, Rect_t35B976DE901B5423C11705E156938EA27AB402CE * ___position0, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content1, int32_t ___controlID2, bool ___on3, const RuntimeMethod* method)
{
typedef void (*GUIStyle_Internal_Draw2_Injected_m76127AEB314B7227EED6CD90639B918394686872_ftn) (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *, Rect_t35B976DE901B5423C11705E156938EA27AB402CE *, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 *, int32_t, bool);
static GUIStyle_Internal_Draw2_Injected_m76127AEB314B7227EED6CD90639B918394686872_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIStyle_Internal_Draw2_Injected_m76127AEB314B7227EED6CD90639B918394686872_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIStyle::Internal_Draw2_Injected(UnityEngine.Rect&,UnityEngine.GUIContent,System.Int32,System.Boolean)");
_il2cpp_icall_func(__this, ___position0, ___content1, ___controlID2, ___on3);
}
// System.Void UnityEngine.GUIStyle::Internal_CalcSizeWithConstraints_Injected(UnityEngine.GUIContent,UnityEngine.Vector2&,UnityEngine.Vector2&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_Internal_CalcSizeWithConstraints_Injected_mA35A68B087B89B7A503B38BA684B6115313FE348 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content0, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * ___maxSize1, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * ___ret2, const RuntimeMethod* method)
{
typedef void (*GUIStyle_Internal_CalcSizeWithConstraints_Injected_mA35A68B087B89B7A503B38BA684B6115313FE348_ftn) (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 *, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D *, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D *);
static GUIStyle_Internal_CalcSizeWithConstraints_Injected_mA35A68B087B89B7A503B38BA684B6115313FE348_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIStyle_Internal_CalcSizeWithConstraints_Injected_mA35A68B087B89B7A503B38BA684B6115313FE348_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIStyle::Internal_CalcSizeWithConstraints_Injected(UnityEngine.GUIContent,UnityEngine.Vector2&,UnityEngine.Vector2&)");
_il2cpp_icall_func(__this, ___content0, ___maxSize1, ___ret2);
}
// System.Void UnityEngine.GUIStyle::Internal_CalcMinMaxWidth_Injected(UnityEngine.GUIContent,UnityEngine.Vector2&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_Internal_CalcMinMaxWidth_Injected_mA9596C94BC872BAEDF30962D1550E6A894438A75 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * __this, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content0, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * ___ret1, const RuntimeMethod* method)
{
typedef void (*GUIStyle_Internal_CalcMinMaxWidth_Injected_mA9596C94BC872BAEDF30962D1550E6A894438A75_ftn) (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 *, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D *);
static GUIStyle_Internal_CalcMinMaxWidth_Injected_mA9596C94BC872BAEDF30962D1550E6A894438A75_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIStyle_Internal_CalcMinMaxWidth_Injected_mA9596C94BC872BAEDF30962D1550E6A894438A75_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIStyle::Internal_CalcMinMaxWidth_Injected(UnityEngine.GUIContent,UnityEngine.Vector2&)");
_il2cpp_icall_func(__this, ___content0, ___ret1);
}
// System.Void UnityEngine.GUIStyle::SetMouseTooltip_Injected(System.String,UnityEngine.Rect&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyle_SetMouseTooltip_Injected_m292443679DFA66800CA706CF3DA947365C1D46D7 (String_t* ___tooltip0, Rect_t35B976DE901B5423C11705E156938EA27AB402CE * ___screenRect1, const RuntimeMethod* method)
{
typedef void (*GUIStyle_SetMouseTooltip_Injected_m292443679DFA66800CA706CF3DA947365C1D46D7_ftn) (String_t*, Rect_t35B976DE901B5423C11705E156938EA27AB402CE *);
static GUIStyle_SetMouseTooltip_Injected_m292443679DFA66800CA706CF3DA947365C1D46D7_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIStyle_SetMouseTooltip_Injected_m292443679DFA66800CA706CF3DA947365C1D46D7_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIStyle::SetMouseTooltip_Injected(System.String,UnityEngine.Rect&)");
_il2cpp_icall_func(___tooltip0, ___screenRect1);
}
#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
// Conversion methods for marshalling of: UnityEngine.GUIStyleState
IL2CPP_EXTERN_C void GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshal_pinvoke(const GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5& unmarshaled, GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshaled_pinvoke& marshaled)
{
Exception_t* ___m_SourceStyle_1Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'm_SourceStyle' of type 'GUIStyleState': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(___m_SourceStyle_1Exception, NULL);
}
IL2CPP_EXTERN_C void GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshal_pinvoke_back(const GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshaled_pinvoke& marshaled, GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5& unmarshaled)
{
Exception_t* ___m_SourceStyle_1Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'm_SourceStyle' of type 'GUIStyleState': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(___m_SourceStyle_1Exception, NULL);
}
// Conversion method for clean up from marshalling of: UnityEngine.GUIStyleState
IL2CPP_EXTERN_C void GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshal_pinvoke_cleanup(GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: UnityEngine.GUIStyleState
IL2CPP_EXTERN_C void GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshal_com(const GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5& unmarshaled, GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshaled_com& marshaled)
{
Exception_t* ___m_SourceStyle_1Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'm_SourceStyle' of type 'GUIStyleState': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(___m_SourceStyle_1Exception, NULL);
}
IL2CPP_EXTERN_C void GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshal_com_back(const GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshaled_com& marshaled, GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5& unmarshaled)
{
Exception_t* ___m_SourceStyle_1Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'm_SourceStyle' of type 'GUIStyleState': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(___m_SourceStyle_1Exception, NULL);
}
// Conversion method for clean up from marshalling of: UnityEngine.GUIStyleState
IL2CPP_EXTERN_C void GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshal_com_cleanup(GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_marshaled_com& marshaled)
{
}
// System.Void UnityEngine.GUIStyleState::set_background(UnityEngine.Texture2D)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyleState_set_background_m1BB0CD97092DE9CB40908A8061068D83FB2655AF (GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * __this, Texture2D_tBBF96AC337723E2EF156DF17E09D4379FD05DE1C * ___value0, const RuntimeMethod* method)
{
typedef void (*GUIStyleState_set_background_m1BB0CD97092DE9CB40908A8061068D83FB2655AF_ftn) (GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 *, Texture2D_tBBF96AC337723E2EF156DF17E09D4379FD05DE1C *);
static GUIStyleState_set_background_m1BB0CD97092DE9CB40908A8061068D83FB2655AF_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIStyleState_set_background_m1BB0CD97092DE9CB40908A8061068D83FB2655AF_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIStyleState::set_background(UnityEngine.Texture2D)");
_il2cpp_icall_func(__this, ___value0);
}
// System.Void UnityEngine.GUIStyleState::set_textColor(UnityEngine.Color)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyleState_set_textColor_m2B235845A292C22ABEDEFBB2FD798DEB4E104983 (GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * __this, Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 ___value0, const RuntimeMethod* method)
{
{
GUIStyleState_set_textColor_Injected_m09DA402A33A2E28F9B8BB37AEF6EA05B58F7C475(__this, (Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 *)(&___value0), /*hidden argument*/NULL);
return;
}
}
// System.IntPtr UnityEngine.GUIStyleState::Init()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t GUIStyleState_Init_m24D7A3BD60709BA6C36D21F86E8FBCA3AD7756D9 (const RuntimeMethod* method)
{
typedef intptr_t (*GUIStyleState_Init_m24D7A3BD60709BA6C36D21F86E8FBCA3AD7756D9_ftn) ();
static GUIStyleState_Init_m24D7A3BD60709BA6C36D21F86E8FBCA3AD7756D9_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIStyleState_Init_m24D7A3BD60709BA6C36D21F86E8FBCA3AD7756D9_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIStyleState::Init()");
intptr_t retVal = _il2cpp_icall_func();
return retVal;
}
// System.Void UnityEngine.GUIStyleState::Cleanup()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyleState_Cleanup_mB92C1A0564E1D841A37DD43D6B6E1AD27BAD5A49 (GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * __this, const RuntimeMethod* method)
{
typedef void (*GUIStyleState_Cleanup_mB92C1A0564E1D841A37DD43D6B6E1AD27BAD5A49_ftn) (GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 *);
static GUIStyleState_Cleanup_mB92C1A0564E1D841A37DD43D6B6E1AD27BAD5A49_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIStyleState_Cleanup_mB92C1A0564E1D841A37DD43D6B6E1AD27BAD5A49_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIStyleState::Cleanup()");
_il2cpp_icall_func(__this);
}
// System.Void UnityEngine.GUIStyleState::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyleState__ctor_mD260F6A32800A135DB0AA6441D990A8FEC752AFD (GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
intptr_t L_0 = GUIStyleState_Init_m24D7A3BD60709BA6C36D21F86E8FBCA3AD7756D9(/*hidden argument*/NULL);
__this->set_m_Ptr_0((intptr_t)L_0);
return;
}
}
// System.Void UnityEngine.GUIStyleState::.ctor(UnityEngine.GUIStyle,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyleState__ctor_m88DEBFEA9F9D54F4E6732A6ACE729079A79833B8 (GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * __this, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___sourceStyle0, intptr_t ___source1, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = ___sourceStyle0;
__this->set_m_SourceStyle_1(L_0);
intptr_t L_1 = ___source1;
__this->set_m_Ptr_0((intptr_t)L_1);
return;
}
}
// UnityEngine.GUIStyleState UnityEngine.GUIStyleState::GetGUIStyleState(UnityEngine.GUIStyle,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * GUIStyleState_GetGUIStyleState_m207443170D2CA9E48BAB05FF74B30C76C6D63F68 (GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___sourceStyle0, intptr_t ___source1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUIStyleState_GetGUIStyleState_m207443170D2CA9E48BAB05FF74B30C76C6D63F68_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * V_0 = NULL;
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * V_1 = NULL;
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = ___sourceStyle0;
intptr_t L_1 = ___source1;
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * L_2 = (GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 *)il2cpp_codegen_object_new(GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5_il2cpp_TypeInfo_var);
GUIStyleState__ctor_m88DEBFEA9F9D54F4E6732A6ACE729079A79833B8(L_2, L_0, (intptr_t)L_1, /*hidden argument*/NULL);
V_0 = L_2;
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * L_3 = V_0;
V_1 = L_3;
goto IL_000d;
}
IL_000d:
{
GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * L_4 = V_1;
return L_4;
}
}
// System.Void UnityEngine.GUIStyleState::Finalize()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyleState_Finalize_m68F554CD5B53E9BFC8B952E371D1E18D96D4C626 (GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUIStyleState_Finalize_m68F554CD5B53E9BFC8B952E371D1E18D96D4C626_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
}
IL_0001:
try
{ // begin try (depth: 1)
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = __this->get_m_SourceStyle_1();
V_0 = (bool)((((RuntimeObject*)(GUIStyle_t671F175A201A19166385EE3392292A5F50070572 *)L_0) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_1 = V_0;
if (!L_1)
{
goto IL_0023;
}
}
IL_000f:
{
GUIStyleState_Cleanup_mB92C1A0564E1D841A37DD43D6B6E1AD27BAD5A49(__this, /*hidden argument*/NULL);
__this->set_m_Ptr_0((intptr_t)(0));
}
IL_0023:
{
IL2CPP_LEAVE(0x2D, FINALLY_0025);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0025;
}
FINALLY_0025:
{ // begin finally (depth: 1)
Object_Finalize_m4015B7D3A44DE125C5FE34D7276CD4697C06F380(__this, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(37)
} // end finally (depth: 1)
IL2CPP_CLEANUP(37)
{
IL2CPP_JUMP_TBL(0x2D, IL_002d)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_002d:
{
return;
}
}
// System.Void UnityEngine.GUIStyleState::set_textColor_Injected(UnityEngine.Color&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIStyleState_set_textColor_Injected_m09DA402A33A2E28F9B8BB37AEF6EA05B58F7C475 (GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 * __this, Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 * ___value0, const RuntimeMethod* method)
{
typedef void (*GUIStyleState_set_textColor_Injected_m09DA402A33A2E28F9B8BB37AEF6EA05B58F7C475_ftn) (GUIStyleState_t2AA5CB82EB2571B0496D1F0B9D29D2B8D8B1E7E5 *, Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 *);
static GUIStyleState_set_textColor_Injected_m09DA402A33A2E28F9B8BB37AEF6EA05B58F7C475_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIStyleState_set_textColor_Injected_m09DA402A33A2E28F9B8BB37AEF6EA05B58F7C475_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIStyleState::set_textColor_Injected(UnityEngine.Color&)");
_il2cpp_icall_func(__this, ___value0);
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Int32 UnityEngine.GUITargetAttribute::GetGUITargetAttrValue(System.Type,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GUITargetAttribute_GetGUITargetAttrValue_mED49CA9A9696B0D52CD6C6D7BA7344EA1F019590 (Type_t * ___klass0, String_t* ___methodName1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUITargetAttribute_GetGUITargetAttrValue_mED49CA9A9696B0D52CD6C6D7BA7344EA1F019590_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
MethodInfo_t * V_0 = NULL;
bool V_1 = false;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* V_2 = NULL;
bool V_3 = false;
int32_t V_4 = 0;
GUITargetAttribute_tA23DD43B1D91AF11499A0320EBAAC900A35FC4B8 * V_5 = NULL;
bool V_6 = false;
int32_t V_7 = 0;
bool V_8 = false;
{
Type_t * L_0 = ___klass0;
String_t* L_1 = ___methodName1;
NullCheck(L_0);
MethodInfo_t * L_2 = Type_GetMethod_m9EC42D4B1F765B882F516EE6D7970D51CF5D80DD(L_0, L_1, ((int32_t)52), /*hidden argument*/NULL);
V_0 = L_2;
MethodInfo_t * L_3 = V_0;
V_1 = (bool)((!(((RuntimeObject*)(MethodInfo_t *)L_3) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_4 = V_1;
if (!L_4)
{
goto IL_0076;
}
}
{
MethodInfo_t * L_5 = V_0;
NullCheck(L_5);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_6 = VirtFuncInvoker1< ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*, bool >::Invoke(10 /* System.Object[] System.Reflection.MemberInfo::GetCustomAttributes(System.Boolean) */, L_5, (bool)1);
V_2 = L_6;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_7 = V_2;
V_3 = (bool)((!(((RuntimeObject*)(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)L_7) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_8 = V_3;
if (!L_8)
{
goto IL_0075;
}
}
{
V_4 = 0;
goto IL_0067;
}
IL_002a:
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_9 = V_2;
int32_t L_10 = V_4;
NullCheck(L_9);
int32_t L_11 = L_10;
RuntimeObject * L_12 = (L_9)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
NullCheck(L_12);
Type_t * L_13 = Object_GetType_m2E0B62414ECCAA3094B703790CE88CBB2F83EA60(L_12, /*hidden argument*/NULL);
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_14 = { reinterpret_cast<intptr_t> (GUITargetAttribute_tA23DD43B1D91AF11499A0320EBAAC900A35FC4B8_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_15 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6(L_14, /*hidden argument*/NULL);
V_6 = (bool)((((int32_t)((((RuntimeObject*)(Type_t *)L_13) == ((RuntimeObject*)(Type_t *)L_15))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_16 = V_6;
if (!L_16)
{
goto IL_004b;
}
}
{
goto IL_0061;
}
IL_004b:
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_17 = V_2;
int32_t L_18 = V_4;
NullCheck(L_17);
int32_t L_19 = L_18;
RuntimeObject * L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
V_5 = ((GUITargetAttribute_tA23DD43B1D91AF11499A0320EBAAC900A35FC4B8 *)IsInstClass((RuntimeObject*)L_20, GUITargetAttribute_tA23DD43B1D91AF11499A0320EBAAC900A35FC4B8_il2cpp_TypeInfo_var));
GUITargetAttribute_tA23DD43B1D91AF11499A0320EBAAC900A35FC4B8 * L_21 = V_5;
NullCheck(L_21);
int32_t L_22 = L_21->get_displayMask_0();
V_7 = L_22;
goto IL_007b;
}
IL_0061:
{
int32_t L_23 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add((int32_t)L_23, (int32_t)1));
}
IL_0067:
{
int32_t L_24 = V_4;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_25 = V_2;
NullCheck(L_25);
V_8 = (bool)((((int32_t)L_24) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_25)->max_length))))))? 1 : 0);
bool L_26 = V_8;
if (L_26)
{
goto IL_002a;
}
}
{
}
IL_0075:
{
}
IL_0076:
{
V_7 = (-1);
goto IL_007b;
}
IL_007b:
{
int32_t L_27 = V_7;
return L_27;
}
}
#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.Single UnityEngine.GUIUtility::get_pixelsPerPoint()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float GUIUtility_get_pixelsPerPoint_m6B4AB38F60A0AC54034A62043F74E06A613E4D56 (const RuntimeMethod* method)
{
typedef float (*GUIUtility_get_pixelsPerPoint_m6B4AB38F60A0AC54034A62043F74E06A613E4D56_ftn) ();
static GUIUtility_get_pixelsPerPoint_m6B4AB38F60A0AC54034A62043F74E06A613E4D56_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIUtility_get_pixelsPerPoint_m6B4AB38F60A0AC54034A62043F74E06A613E4D56_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIUtility::get_pixelsPerPoint()");
float retVal = _il2cpp_icall_func();
return retVal;
}
// System.Int32 UnityEngine.GUIUtility::get_guiDepth()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GUIUtility_get_guiDepth_m927893DDBCD8D8F88CA9F70A7D1A7BDB59B4F395 (const RuntimeMethod* method)
{
typedef int32_t (*GUIUtility_get_guiDepth_m927893DDBCD8D8F88CA9F70A7D1A7BDB59B4F395_ftn) ();
static GUIUtility_get_guiDepth_m927893DDBCD8D8F88CA9F70A7D1A7BDB59B4F395_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIUtility_get_guiDepth_m927893DDBCD8D8F88CA9F70A7D1A7BDB59B4F395_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIUtility::get_guiDepth()");
int32_t retVal = _il2cpp_icall_func();
return retVal;
}
// System.String UnityEngine.GUIUtility::get_systemCopyBuffer()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* GUIUtility_get_systemCopyBuffer_m5C4EE0A0FDE696D4A1337480B20AF300E6A5624E (const RuntimeMethod* method)
{
typedef String_t* (*GUIUtility_get_systemCopyBuffer_m5C4EE0A0FDE696D4A1337480B20AF300E6A5624E_ftn) ();
static GUIUtility_get_systemCopyBuffer_m5C4EE0A0FDE696D4A1337480B20AF300E6A5624E_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIUtility_get_systemCopyBuffer_m5C4EE0A0FDE696D4A1337480B20AF300E6A5624E_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIUtility::get_systemCopyBuffer()");
String_t* retVal = _il2cpp_icall_func();
return retVal;
}
// System.Void UnityEngine.GUIUtility::set_systemCopyBuffer(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIUtility_set_systemCopyBuffer_m8C87AFD05D32AB0C30A2203005A64A86DFE18BE6 (String_t* ___value0, const RuntimeMethod* method)
{
typedef void (*GUIUtility_set_systemCopyBuffer_m8C87AFD05D32AB0C30A2203005A64A86DFE18BE6_ftn) (String_t*);
static GUIUtility_set_systemCopyBuffer_m8C87AFD05D32AB0C30A2203005A64A86DFE18BE6_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIUtility_set_systemCopyBuffer_m8C87AFD05D32AB0C30A2203005A64A86DFE18BE6_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIUtility::set_systemCopyBuffer(System.String)");
_il2cpp_icall_func(___value0);
}
// System.Int32 UnityEngine.GUIUtility::GetControlID(System.Int32,UnityEngine.FocusType,UnityEngine.Rect)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GUIUtility_GetControlID_mBD1C39E03666F072AFB3022603E2FD37D87EB13F (int32_t ___hint0, int32_t ___focusType1, Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___rect2, const RuntimeMethod* method)
{
{
int32_t L_0 = ___hint0;
int32_t L_1 = ___focusType1;
int32_t L_2 = GUIUtility_GetControlID_Injected_m0B621090C90D8A821A2D334199EDB3CB2ED42DA1(L_0, L_1, (Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)(&___rect2), /*hidden argument*/NULL);
return L_2;
}
}
// System.Int32 UnityEngine.GUIUtility::Internal_GetHotControl()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GUIUtility_Internal_GetHotControl_m2CD040A0751AC54B62B5663C81B94EC6FA02B2FD (const RuntimeMethod* method)
{
typedef int32_t (*GUIUtility_Internal_GetHotControl_m2CD040A0751AC54B62B5663C81B94EC6FA02B2FD_ftn) ();
static GUIUtility_Internal_GetHotControl_m2CD040A0751AC54B62B5663C81B94EC6FA02B2FD_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIUtility_Internal_GetHotControl_m2CD040A0751AC54B62B5663C81B94EC6FA02B2FD_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIUtility::Internal_GetHotControl()");
int32_t retVal = _il2cpp_icall_func();
return retVal;
}
// System.Int32 UnityEngine.GUIUtility::Internal_GetKeyboardControl()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GUIUtility_Internal_GetKeyboardControl_m198D8D057F49AEC00E1FEC40A116E61E9A48CAED (const RuntimeMethod* method)
{
typedef int32_t (*GUIUtility_Internal_GetKeyboardControl_m198D8D057F49AEC00E1FEC40A116E61E9A48CAED_ftn) ();
static GUIUtility_Internal_GetKeyboardControl_m198D8D057F49AEC00E1FEC40A116E61E9A48CAED_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIUtility_Internal_GetKeyboardControl_m198D8D057F49AEC00E1FEC40A116E61E9A48CAED_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIUtility::Internal_GetKeyboardControl()");
int32_t retVal = _il2cpp_icall_func();
return retVal;
}
// System.Object UnityEngine.GUIUtility::Internal_GetDefaultSkin(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * GUIUtility_Internal_GetDefaultSkin_m1D4A53896309F1A4A54AF15D7E5F4DC61451276E (int32_t ___skinMode0, const RuntimeMethod* method)
{
typedef RuntimeObject * (*GUIUtility_Internal_GetDefaultSkin_m1D4A53896309F1A4A54AF15D7E5F4DC61451276E_ftn) (int32_t);
static GUIUtility_Internal_GetDefaultSkin_m1D4A53896309F1A4A54AF15D7E5F4DC61451276E_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIUtility_Internal_GetDefaultSkin_m1D4A53896309F1A4A54AF15D7E5F4DC61451276E_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIUtility::Internal_GetDefaultSkin(System.Int32)");
RuntimeObject * retVal = _il2cpp_icall_func(___skinMode0);
return retVal;
}
// System.Void UnityEngine.GUIUtility::Internal_ExitGUI()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIUtility_Internal_ExitGUI_mC6B22D4CC318E08171B3565919458F337351ACCC (const RuntimeMethod* method)
{
typedef void (*GUIUtility_Internal_ExitGUI_mC6B22D4CC318E08171B3565919458F337351ACCC_ftn) ();
static GUIUtility_Internal_ExitGUI_mC6B22D4CC318E08171B3565919458F337351ACCC_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIUtility_Internal_ExitGUI_mC6B22D4CC318E08171B3565919458F337351ACCC_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIUtility::Internal_ExitGUI()");
_il2cpp_icall_func();
}
// System.Void UnityEngine.GUIUtility::MarkGUIChanged()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIUtility_MarkGUIChanged_m624187E89EC5D08B052B8F74B8BFD803EEE53956 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUIUtility_MarkGUIChanged_m624187E89EC5D08B052B8F74B8BFD803EEE53956_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * G_B2_0 = NULL;
Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * G_B1_0 = NULL;
{
Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * L_0 = ((GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_StaticFields*)il2cpp_codegen_static_fields_for(GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_il2cpp_TypeInfo_var))->get_guiChanged_6();
Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * L_1 = L_0;
G_B1_0 = L_1;
if (L_1)
{
G_B2_0 = L_1;
goto IL_000c;
}
}
{
goto IL_0012;
}
IL_000c:
{
NullCheck(G_B2_0);
Action_Invoke_mC8D676E5DDF967EC5D23DD0E96FB52AA499817FD(G_B2_0, /*hidden argument*/NULL);
}
IL_0012:
{
return;
}
}
// System.Int32 UnityEngine.GUIUtility::GetControlID(System.Int32,UnityEngine.FocusType)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GUIUtility_GetControlID_m0733AD370EC1956979B417A74E0ACA074E0DBA39 (int32_t ___hint0, int32_t ___focus1, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = ___hint0;
int32_t L_1 = ___focus1;
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_2 = Rect_get_zero_m4CF0F9AD904132829A6EFCA85A1BF52794E7E56B(/*hidden argument*/NULL);
int32_t L_3 = GUIUtility_GetControlID_mBD1C39E03666F072AFB3022603E2FD37D87EB13F(L_0, L_1, L_2, /*hidden argument*/NULL);
V_0 = L_3;
goto IL_0010;
}
IL_0010:
{
int32_t L_4 = V_0;
return L_4;
}
}
// System.Void UnityEngine.GUIUtility::set_guiIsExiting(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIUtility_set_guiIsExiting_m16D5DFFB64483BC588CA6BEA0FAA618E4A227960 (bool ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUIUtility_set_guiIsExiting_m16D5DFFB64483BC588CA6BEA0FAA618E4A227960_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
bool L_0 = ___value0;
((GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_StaticFields*)il2cpp_codegen_static_fields_for(GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_il2cpp_TypeInfo_var))->set_U3CguiIsExitingU3Ek__BackingField_7(L_0);
return;
}
}
// System.Int32 UnityEngine.GUIUtility::get_hotControl()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GUIUtility_get_hotControl_mC2E01E65B6AED8142AB9CA13A88D6E0F753D8857 (const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = GUIUtility_Internal_GetHotControl_m2CD040A0751AC54B62B5663C81B94EC6FA02B2FD(/*hidden argument*/NULL);
V_0 = L_0;
goto IL_0009;
}
IL_0009:
{
int32_t L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.GUIUtility::TakeCapture()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIUtility_TakeCapture_mE32A66FEEF1DFA8A3DDF3CE310D1C93397B31221 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUIUtility_TakeCapture_mE32A66FEEF1DFA8A3DDF3CE310D1C93397B31221_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * G_B2_0 = NULL;
Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * G_B1_0 = NULL;
{
Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * L_0 = ((GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_StaticFields*)il2cpp_codegen_static_fields_for(GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_il2cpp_TypeInfo_var))->get_takeCapture_2();
Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * L_1 = L_0;
G_B1_0 = L_1;
if (L_1)
{
G_B2_0 = L_1;
goto IL_000c;
}
}
{
goto IL_0012;
}
IL_000c:
{
NullCheck(G_B2_0);
Action_Invoke_mC8D676E5DDF967EC5D23DD0E96FB52AA499817FD(G_B2_0, /*hidden argument*/NULL);
}
IL_0012:
{
return;
}
}
// System.Void UnityEngine.GUIUtility::RemoveCapture()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIUtility_RemoveCapture_m37B735649012E93EBEA50DB8708FB6D39DFA4FE9 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUIUtility_RemoveCapture_m37B735649012E93EBEA50DB8708FB6D39DFA4FE9_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * G_B2_0 = NULL;
Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * G_B1_0 = NULL;
{
Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * L_0 = ((GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_StaticFields*)il2cpp_codegen_static_fields_for(GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_il2cpp_TypeInfo_var))->get_releaseCapture_3();
Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * L_1 = L_0;
G_B1_0 = L_1;
if (L_1)
{
G_B2_0 = L_1;
goto IL_000c;
}
}
{
goto IL_0012;
}
IL_000c:
{
NullCheck(G_B2_0);
Action_Invoke_mC8D676E5DDF967EC5D23DD0E96FB52AA499817FD(G_B2_0, /*hidden argument*/NULL);
}
IL_0012:
{
return;
}
}
// System.Int32 UnityEngine.GUIUtility::get_keyboardControl()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GUIUtility_get_keyboardControl_mB580042A41CB6E9D3AB2E2CF0CEC00F64B2FC55F (const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = GUIUtility_Internal_GetKeyboardControl_m198D8D057F49AEC00E1FEC40A116E61E9A48CAED(/*hidden argument*/NULL);
V_0 = L_0;
goto IL_0009;
}
IL_0009:
{
int32_t L_1 = V_0;
return L_1;
}
}
// System.Boolean UnityEngine.GUIUtility::HasKeyFocus(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUIUtility_HasKeyFocus_mC8FCF8AB69DB9ECF737C91B5C2207100CCF7E78A (int32_t ___controlID0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUIUtility_HasKeyFocus_mC8FCF8AB69DB9ECF737C91B5C2207100CCF7E78A_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
int32_t G_B4_0 = 0;
int32_t G_B6_0 = 0;
{
int32_t L_0 = ___controlID0;
int32_t L_1 = GUIUtility_get_keyboardControl_mB580042A41CB6E9D3AB2E2CF0CEC00F64B2FC55F(/*hidden argument*/NULL);
if ((!(((uint32_t)L_0) == ((uint32_t)L_1))))
{
goto IL_001f;
}
}
{
Func_1_t4ABD6DAD480574F152452DD6B9C9A55F4F6655F1 * L_2 = ((GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_StaticFields*)il2cpp_codegen_static_fields_for(GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_il2cpp_TypeInfo_var))->get_s_HasCurrentWindowKeyFocusFunc_8();
if (L_2)
{
goto IL_0013;
}
}
{
G_B4_0 = 1;
goto IL_001d;
}
IL_0013:
{
Func_1_t4ABD6DAD480574F152452DD6B9C9A55F4F6655F1 * L_3 = ((GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_StaticFields*)il2cpp_codegen_static_fields_for(GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_il2cpp_TypeInfo_var))->get_s_HasCurrentWindowKeyFocusFunc_8();
NullCheck(L_3);
bool L_4 = Func_1_Invoke_mFA91B93A5C91290D4A3C475C4117CA05B43419E6(L_3, /*hidden argument*/Func_1_Invoke_mFA91B93A5C91290D4A3C475C4117CA05B43419E6_RuntimeMethod_var);
G_B4_0 = ((int32_t)(L_4));
}
IL_001d:
{
G_B6_0 = G_B4_0;
goto IL_0020;
}
IL_001f:
{
G_B6_0 = 0;
}
IL_0020:
{
V_0 = (bool)G_B6_0;
goto IL_0023;
}
IL_0023:
{
bool L_5 = V_0;
return L_5;
}
}
// UnityEngine.GUISkin UnityEngine.GUIUtility::GetDefaultSkin()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * GUIUtility_GetDefaultSkin_m2F1B580445522074FF41CF9906531DBEAB034365 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUIUtility_GetDefaultSkin_m2F1B580445522074FF41CF9906531DBEAB034365_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * V_0 = NULL;
{
int32_t L_0 = ((GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_StaticFields*)il2cpp_codegen_static_fields_for(GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_il2cpp_TypeInfo_var))->get_s_SkinMode_0();
RuntimeObject * L_1 = GUIUtility_Internal_GetDefaultSkin_m1D4A53896309F1A4A54AF15D7E5F4DC61451276E(L_0, /*hidden argument*/NULL);
V_0 = ((GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 *)IsInstSealed((RuntimeObject*)L_1, GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7_il2cpp_TypeInfo_var));
goto IL_0013;
}
IL_0013:
{
GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 * L_2 = V_0;
return L_2;
}
}
// System.Boolean UnityEngine.GUIUtility::ProcessEvent(System.Int32,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUIUtility_ProcessEvent_mA250CB35828235FE2F8BA5EA7B6592234DA2D312 (int32_t ___instanceID0, intptr_t ___nativeEventPtr1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUIUtility_ProcessEvent_mA250CB35828235FE2F8BA5EA7B6592234DA2D312_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
bool V_1 = false;
{
Func_3_tBD99633D8A18C43CC528ECE3F77E2F69900048A7 * L_0 = ((GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_StaticFields*)il2cpp_codegen_static_fields_for(GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_il2cpp_TypeInfo_var))->get_processEvent_4();
V_0 = (bool)((!(((RuntimeObject*)(Func_3_tBD99633D8A18C43CC528ECE3F77E2F69900048A7 *)L_0) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_1 = V_0;
if (!L_1)
{
goto IL_001c;
}
}
{
Func_3_tBD99633D8A18C43CC528ECE3F77E2F69900048A7 * L_2 = ((GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_StaticFields*)il2cpp_codegen_static_fields_for(GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_il2cpp_TypeInfo_var))->get_processEvent_4();
int32_t L_3 = ___instanceID0;
intptr_t L_4 = ___nativeEventPtr1;
NullCheck(L_2);
bool L_5 = Func_3_Invoke_mCD6DEEC09B4F1B42DD0FD4A8F58632B08EC66737(L_2, L_3, (intptr_t)L_4, /*hidden argument*/Func_3_Invoke_mCD6DEEC09B4F1B42DD0FD4A8F58632B08EC66737_RuntimeMethod_var);
V_1 = L_5;
goto IL_0020;
}
IL_001c:
{
V_1 = (bool)0;
goto IL_0020;
}
IL_0020:
{
bool L_6 = V_1;
return L_6;
}
}
// System.Void UnityEngine.GUIUtility::BeginGUI(System.Int32,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIUtility_BeginGUI_m9981BDF2828246EBE4EDA43447EF6DAA74B54C91 (int32_t ___skinMode0, int32_t ___instanceID1, int32_t ___useGUILayout2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUIUtility_BeginGUI_m9981BDF2828246EBE4EDA43447EF6DAA74B54C91_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
int32_t L_0 = ___skinMode0;
((GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_StaticFields*)il2cpp_codegen_static_fields_for(GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_il2cpp_TypeInfo_var))->set_s_SkinMode_0(L_0);
int32_t L_1 = ___instanceID1;
((GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_StaticFields*)il2cpp_codegen_static_fields_for(GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_il2cpp_TypeInfo_var))->set_s_OriginalID_1(L_1);
GUIUtility_ResetGlobalState_m192C9FAE2A4B87F34CB051C4967B8A919A902A5C(/*hidden argument*/NULL);
int32_t L_2 = ___useGUILayout2;
V_0 = (bool)((!(((uint32_t)L_2) <= ((uint32_t)0)))? 1 : 0);
bool L_3 = V_0;
if (!L_3)
{
goto IL_0024;
}
}
{
int32_t L_4 = ___instanceID1;
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
GUILayoutUtility_Begin_m6876A33199599688408A4AD364069090E833B237(L_4, /*hidden argument*/NULL);
}
IL_0024:
{
return;
}
}
// System.Void UnityEngine.GUIUtility::EndGUI(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIUtility_EndGUI_mE93B54A19231BCC9DFC68DF54CE7C29DE41A3414 (int32_t ___layoutType0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUIUtility_EndGUI_mE93B54A19231BCC9DFC68DF54CE7C29DE41A3414_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
int32_t V_1 = 0;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
}
IL_0001:
try
{ // begin try (depth: 1)
{
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_0 = Event_get_current_m072CEE599D11B8A9A916697E57C0F561188CDB2B(/*hidden argument*/NULL);
NullCheck(L_0);
int32_t L_1 = Event_get_type_mAABE4A35E5658E0079A1518D318AF2592F51D6FA(L_0, /*hidden argument*/NULL);
V_0 = (bool)((((int32_t)L_1) == ((int32_t)8))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_003d;
}
}
IL_0013:
{
int32_t L_3 = ___layoutType0;
V_1 = L_3;
int32_t L_4 = V_1;
switch (L_4)
{
case 0:
{
goto IL_002a;
}
case 1:
{
goto IL_002c;
}
case 2:
{
goto IL_0034;
}
}
}
IL_0028:
{
goto IL_003c;
}
IL_002a:
{
goto IL_003c;
}
IL_002c:
{
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
GUILayoutUtility_Layout_mB01F00635FD538214B47A545C53E4F8C682491B5(/*hidden argument*/NULL);
goto IL_003c;
}
IL_0034:
{
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
GUILayoutUtility_LayoutFromEditorWindow_mBE82BE965B54F68E7090952684C86BFF0538AB52(/*hidden argument*/NULL);
goto IL_003c;
}
IL_003c:
{
}
IL_003d:
{
int32_t L_5 = ((GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_StaticFields*)il2cpp_codegen_static_fields_for(GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_il2cpp_TypeInfo_var))->get_s_OriginalID_1();
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutUtility_tFBB1F6AB7CF109D40F923B9AB1F5D7CDF8EEB62E_il2cpp_TypeInfo_var);
GUILayoutUtility_SelectIDList_m230ED9206897C92C5B090B3BBFC9B408603E56FD(L_5, (bool)0, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_il2cpp_TypeInfo_var);
GUIContent_ClearStaticCache_m567DA736612F9E6E66262CC630952AB2E22BC933(/*hidden argument*/NULL);
IL2CPP_LEAVE(0x5B, FINALLY_0052);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0052;
}
FINALLY_0052:
{ // begin finally (depth: 1)
GUIUtility_Internal_ExitGUI_mC6B22D4CC318E08171B3565919458F337351ACCC(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(82)
} // end finally (depth: 1)
IL2CPP_CLEANUP(82)
{
IL2CPP_JUMP_TBL(0x5B, IL_005b)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_005b:
{
return;
}
}
// System.Boolean UnityEngine.GUIUtility::EndGUIFromException(System.Exception)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUIUtility_EndGUIFromException_m40542B74697654BEDD0BAA656EC370D00097223E (Exception_t * ___exception0, const RuntimeMethod* method)
{
bool V_0 = false;
{
GUIUtility_Internal_ExitGUI_mC6B22D4CC318E08171B3565919458F337351ACCC(/*hidden argument*/NULL);
Exception_t * L_0 = ___exception0;
bool L_1 = GUIUtility_ShouldRethrowException_mCF3B04493727D6A40ED50AC2414D5617455339B6(L_0, /*hidden argument*/NULL);
V_0 = L_1;
goto IL_0010;
}
IL_0010:
{
bool L_2 = V_0;
return L_2;
}
}
// System.Boolean UnityEngine.GUIUtility::EndContainerGUIFromException(System.Exception)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUIUtility_EndContainerGUIFromException_m66F073A94FF85A8B7C6D8A4614B43365F0A68042 (Exception_t * ___exception0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUIUtility_EndContainerGUIFromException_m66F073A94FF85A8B7C6D8A4614B43365F0A68042_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
bool V_1 = false;
{
Func_2_tC816C5FDED4A7372C449E7660CAB9F94E2AC12F8 * L_0 = ((GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_StaticFields*)il2cpp_codegen_static_fields_for(GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_il2cpp_TypeInfo_var))->get_endContainerGUIFromException_5();
V_0 = (bool)((!(((RuntimeObject*)(Func_2_tC816C5FDED4A7372C449E7660CAB9F94E2AC12F8 *)L_0) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_1 = V_0;
if (!L_1)
{
goto IL_001b;
}
}
{
Func_2_tC816C5FDED4A7372C449E7660CAB9F94E2AC12F8 * L_2 = ((GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_StaticFields*)il2cpp_codegen_static_fields_for(GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_il2cpp_TypeInfo_var))->get_endContainerGUIFromException_5();
Exception_t * L_3 = ___exception0;
NullCheck(L_2);
bool L_4 = Func_2_Invoke_m9621506610C10C9E735B305E826ACEFF914422CD(L_2, L_3, /*hidden argument*/Func_2_Invoke_m9621506610C10C9E735B305E826ACEFF914422CD_RuntimeMethod_var);
V_1 = L_4;
goto IL_001f;
}
IL_001b:
{
V_1 = (bool)0;
goto IL_001f;
}
IL_001f:
{
bool L_5 = V_1;
return L_5;
}
}
// System.Void UnityEngine.GUIUtility::ResetGlobalState()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIUtility_ResetGlobalState_m192C9FAE2A4B87F34CB051C4967B8A919A902A5C (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUIUtility_ResetGlobalState_m192C9FAE2A4B87F34CB051C4967B8A919A902A5C_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var);
GUI_set_skin_mFC9EC2E88A46A7F42664C6C41D8CCD9B9BA4DBA0((GUISkin_tE22941292F37A41BE0EDF70FC3A9CD9EB02ADDB7 *)NULL, /*hidden argument*/NULL);
GUIUtility_set_guiIsExiting_m16D5DFFB64483BC588CA6BEA0FAA618E4A227960_inline((bool)0, /*hidden argument*/NULL);
GUI_set_changed_m8BDF5085BBFDF8E61C12926C8E51C67B22B629AE((bool)0, /*hidden argument*/NULL);
GenericStack_tC59D21E8DBC50F3C608479C942200AC44CA2D5BC * L_0 = GUI_get_scrollViewStates_m2FAC333F84B90E4F1E1ED5FC8651DC8C4C30B7AF_inline(/*hidden argument*/NULL);
NullCheck(L_0);
VirtActionInvoker0::Invoke(9 /* System.Void System.Collections.Stack::Clear() */, L_0);
return;
}
}
// System.Boolean UnityEngine.GUIUtility::IsExitGUIException(System.Exception)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUIUtility_IsExitGUIException_mBCCE6118666769B8B767D74496E44D2ECC7AFDD2 (Exception_t * ___exception0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUIUtility_IsExitGUIException_mBCCE6118666769B8B767D74496E44D2ECC7AFDD2_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
bool V_1 = false;
int32_t G_B5_0 = 0;
{
goto IL_000b;
}
IL_0003:
{
Exception_t * L_0 = ___exception0;
NullCheck(L_0);
Exception_t * L_1 = Exception_get_InnerException_mCB68CC8CBF2540EF381CB17A4E4E3F6D0E33453F_inline(L_0, /*hidden argument*/NULL);
___exception0 = L_1;
}
IL_000b:
{
Exception_t * L_2 = ___exception0;
if (!((TargetInvocationException_t0DD35F6083E1D1E0509BF181A79C76D3339D89B8 *)IsInstSealed((RuntimeObject*)L_2, TargetInvocationException_t0DD35F6083E1D1E0509BF181A79C76D3339D89B8_il2cpp_TypeInfo_var)))
{
goto IL_001e;
}
}
{
Exception_t * L_3 = ___exception0;
NullCheck(L_3);
Exception_t * L_4 = Exception_get_InnerException_mCB68CC8CBF2540EF381CB17A4E4E3F6D0E33453F_inline(L_3, /*hidden argument*/NULL);
G_B5_0 = ((!(((RuntimeObject*)(Exception_t *)L_4) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
goto IL_001f;
}
IL_001e:
{
G_B5_0 = 0;
}
IL_001f:
{
V_0 = (bool)G_B5_0;
bool L_5 = V_0;
if (L_5)
{
goto IL_0003;
}
}
{
Exception_t * L_6 = ___exception0;
V_1 = (bool)((!(((RuntimeObject*)(ExitGUIException_t6AD1987AE1D23E0E774F9BEA41F30AE4CE378F07 *)((ExitGUIException_t6AD1987AE1D23E0E774F9BEA41F30AE4CE378F07 *)IsInstSealed((RuntimeObject*)L_6, ExitGUIException_t6AD1987AE1D23E0E774F9BEA41F30AE4CE378F07_il2cpp_TypeInfo_var))) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
goto IL_002f;
}
IL_002f:
{
bool L_7 = V_1;
return L_7;
}
}
// System.Boolean UnityEngine.GUIUtility::ShouldRethrowException(System.Exception)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUIUtility_ShouldRethrowException_mCF3B04493727D6A40ED50AC2414D5617455339B6 (Exception_t * ___exception0, const RuntimeMethod* method)
{
bool V_0 = false;
{
Exception_t * L_0 = ___exception0;
bool L_1 = GUIUtility_IsExitGUIException_mBCCE6118666769B8B767D74496E44D2ECC7AFDD2(L_0, /*hidden argument*/NULL);
V_0 = L_1;
goto IL_000a;
}
IL_000a:
{
bool L_2 = V_0;
return L_2;
}
}
// System.Void UnityEngine.GUIUtility::CheckOnGUI()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIUtility_CheckOnGUI_mBFC764B475683BC50E40BD249248CE43DA754873 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUIUtility_CheckOnGUI_mBFC764B475683BC50E40BD249248CE43DA754873_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
int32_t L_0 = GUIUtility_get_guiDepth_m927893DDBCD8D8F88CA9F70A7D1A7BDB59B4F395(/*hidden argument*/NULL);
V_0 = (bool)((((int32_t)((((int32_t)L_0) > ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_1 = V_0;
if (!L_1)
{
goto IL_001b;
}
}
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_2 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_2, _stringLiteral44749C3F0A84037EA50385BCA7D2CFEFD6C0BDB2, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, GUIUtility_CheckOnGUI_mBFC764B475683BC50E40BD249248CE43DA754873_RuntimeMethod_var);
}
IL_001b:
{
return;
}
}
// System.Boolean UnityEngine.GUIUtility::HitTest(UnityEngine.Rect,UnityEngine.Vector2,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUIUtility_HitTest_m0083ED18D864D511BF6217521285AE9D52D5AB79 (Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___rect0, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___point1, int32_t ___offset2, const RuntimeMethod* method)
{
bool V_0 = false;
int32_t G_B5_0 = 0;
{
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_0 = ___point1;
float L_1 = L_0.get_x_0();
float L_2 = Rect_get_xMin_mFDFA74F66595FD2B8CE360183D1A92B575F0A76E((Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)(&___rect0), /*hidden argument*/NULL);
int32_t L_3 = ___offset2;
if ((!(((float)L_1) >= ((float)((float)il2cpp_codegen_subtract((float)L_2, (float)(((float)((float)L_3)))))))))
{
goto IL_004b;
}
}
{
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_4 = ___point1;
float L_5 = L_4.get_x_0();
float L_6 = Rect_get_xMax_mA16D7C3C2F30F8608719073ED79028C11CE90983((Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)(&___rect0), /*hidden argument*/NULL);
int32_t L_7 = ___offset2;
if ((!(((float)L_5) < ((float)((float)il2cpp_codegen_add((float)L_6, (float)(((float)((float)L_7)))))))))
{
goto IL_004b;
}
}
{
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_8 = ___point1;
float L_9 = L_8.get_y_1();
float L_10 = Rect_get_yMin_m31EDC3262BE39D2F6464B15397F882237E6158C3((Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)(&___rect0), /*hidden argument*/NULL);
int32_t L_11 = ___offset2;
if ((!(((float)L_9) >= ((float)((float)il2cpp_codegen_subtract((float)L_10, (float)(((float)((float)L_11)))))))))
{
goto IL_004b;
}
}
{
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_12 = ___point1;
float L_13 = L_12.get_y_1();
float L_14 = Rect_get_yMax_m8AA5E92C322AF3FF571330F00579DA864F33341B((Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)(&___rect0), /*hidden argument*/NULL);
int32_t L_15 = ___offset2;
G_B5_0 = ((((float)L_13) < ((float)((float)il2cpp_codegen_add((float)L_14, (float)(((float)((float)L_15)))))))? 1 : 0);
goto IL_004c;
}
IL_004b:
{
G_B5_0 = 0;
}
IL_004c:
{
V_0 = (bool)G_B5_0;
goto IL_004f;
}
IL_004f:
{
bool L_16 = V_0;
return L_16;
}
}
// System.Boolean UnityEngine.GUIUtility::HitTest(UnityEngine.Rect,UnityEngine.Vector2,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUIUtility_HitTest_m33C028863CAD049FFC588A912F1953F9C978453E (Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___rect0, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___point1, bool ___isDirectManipulationDevice2, const RuntimeMethod* method)
{
int32_t V_0 = 0;
bool V_1 = false;
int32_t G_B3_0 = 0;
{
bool L_0 = ___isDirectManipulationDevice2;
if (L_0)
{
goto IL_0007;
}
}
{
G_B3_0 = 0;
goto IL_0008;
}
IL_0007:
{
G_B3_0 = 3;
}
IL_0008:
{
V_0 = G_B3_0;
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_1 = ___rect0;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_2 = ___point1;
int32_t L_3 = V_0;
bool L_4 = GUIUtility_HitTest_m0083ED18D864D511BF6217521285AE9D52D5AB79(L_1, L_2, L_3, /*hidden argument*/NULL);
V_1 = L_4;
goto IL_0014;
}
IL_0014:
{
bool L_5 = V_1;
return L_5;
}
}
// System.Boolean UnityEngine.GUIUtility::HitTest(UnityEngine.Rect,UnityEngine.Event)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GUIUtility_HitTest_mA053E9DA544552A06B911BB3D28F5B923C582731 (Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___rect0, Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * ___evt1, const RuntimeMethod* method)
{
bool V_0 = false;
{
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_0 = ___rect0;
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_1 = ___evt1;
NullCheck(L_1);
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_2 = Event_get_mousePosition_m92AD98489A626864E9B179273270802EB1D2C085(L_1, /*hidden argument*/NULL);
Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * L_3 = ___evt1;
NullCheck(L_3);
bool L_4 = Event_get_isDirectManipulationDevice_mC119A717201BAAF95B1320D4060A1A74A891D99E(L_3, /*hidden argument*/NULL);
bool L_5 = GUIUtility_HitTest_m33C028863CAD049FFC588A912F1953F9C978453E(L_0, L_2, L_4, /*hidden argument*/NULL);
V_0 = L_5;
goto IL_0016;
}
IL_0016:
{
bool L_6 = V_0;
return L_6;
}
}
// System.Int32 UnityEngine.GUIUtility::GetControlID_Injected(System.Int32,UnityEngine.FocusType,UnityEngine.Rect&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GUIUtility_GetControlID_Injected_m0B621090C90D8A821A2D334199EDB3CB2ED42DA1 (int32_t ___hint0, int32_t ___focusType1, Rect_t35B976DE901B5423C11705E156938EA27AB402CE * ___rect2, const RuntimeMethod* method)
{
typedef int32_t (*GUIUtility_GetControlID_Injected_m0B621090C90D8A821A2D334199EDB3CB2ED42DA1_ftn) (int32_t, int32_t, Rect_t35B976DE901B5423C11705E156938EA27AB402CE *);
static GUIUtility_GetControlID_Injected_m0B621090C90D8A821A2D334199EDB3CB2ED42DA1_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (GUIUtility_GetControlID_Injected_m0B621090C90D8A821A2D334199EDB3CB2ED42DA1_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.GUIUtility::GetControlID_Injected(System.Int32,UnityEngine.FocusType,UnityEngine.Rect&)");
int32_t retVal = _il2cpp_icall_func(___hint0, ___focusType1, ___rect2);
return retVal;
}
#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 UnityEngine.GUIWordWrapSizer::.ctor(UnityEngine.GUIStyle,UnityEngine.GUIContent,UnityEngine.GUILayoutOption[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIWordWrapSizer__ctor_m17FEF18B072A86304EEA6BBADA5410D43FB45D91 (GUIWordWrapSizer_tC17A8FB8EE28BDCFEE27C7E7000BA8215E76CFD0 * __this, GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * ___style0, GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * ___content1, GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* ___options2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUIWordWrapSizer__ctor_m17FEF18B072A86304EEA6BBADA5410D43FB45D91_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = ___style0;
IL2CPP_RUNTIME_CLASS_INIT(GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845_il2cpp_TypeInfo_var);
GUILayoutEntry__ctor_mC640CA08AEBCC7E479DB6AF5B208436A98AB75B2(__this, (0.0f), (0.0f), (0.0f), (0.0f), L_0, /*hidden argument*/NULL);
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_1 = ___content1;
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_2 = (GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 *)il2cpp_codegen_object_new(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_il2cpp_TypeInfo_var);
GUIContent__ctor_m8C923B0C5DE305F6A22320F44BE37F81CA099316(L_2, L_1, /*hidden argument*/NULL);
__this->set_m_Content_11(L_2);
GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* L_3 = ___options2;
VirtActionInvoker1< GUILayoutOptionU5BU5D_tAB2AD0A365DBD2277A04E397AE8E1430A022AF1B* >::Invoke(13 /* System.Void UnityEngine.GUILayoutEntry::ApplyOptions(UnityEngine.GUILayoutOption[]) */, __this, L_3);
float L_4 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->get_minHeight_2();
__this->set_m_ForcedMinHeight_12(L_4);
float L_5 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->get_maxHeight_3();
__this->set_m_ForcedMaxHeight_13(L_5);
return;
}
}
// System.Void UnityEngine.GUIWordWrapSizer::CalcWidth()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIWordWrapSizer_CalcWidth_m06780FB2268985319DB902AD9384B58E4E0F7BD0 (GUIWordWrapSizer_tC17A8FB8EE28BDCFEE27C7E7000BA8215E76CFD0 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUIWordWrapSizer_CalcWidth_m06780FB2268985319DB902AD9384B58E4E0F7BD0_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
float V_1 = 0.0f;
float V_2 = 0.0f;
bool V_3 = false;
bool V_4 = false;
int32_t G_B3_0 = 0;
{
float L_0 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->get_minWidth_0();
if ((((float)L_0) == ((float)(0.0f))))
{
goto IL_001d;
}
}
{
float L_1 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->get_maxWidth_1();
G_B3_0 = ((((float)L_1) == ((float)(0.0f)))? 1 : 0);
goto IL_001e;
}
IL_001d:
{
G_B3_0 = 1;
}
IL_001e:
{
V_0 = (bool)G_B3_0;
bool L_2 = V_0;
if (!L_2)
{
goto IL_007a;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_3 = GUILayoutEntry_get_style_m70E386A3289ACFEC515B1358827AB2FBF6314BA4(__this, /*hidden argument*/NULL);
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_4 = __this->get_m_Content_11();
NullCheck(L_3);
GUIStyle_CalcMinMaxWidth_m2FD91578F6B83E3D2B06BFD0648AF1801526FD36(L_3, L_4, (float*)(&V_1), (float*)(&V_2), /*hidden argument*/NULL);
float L_5 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var);
float L_6 = ceilf(L_5);
V_1 = L_6;
float L_7 = V_2;
float L_8 = ceilf(L_7);
V_2 = L_8;
float L_9 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->get_minWidth_0();
V_3 = (bool)((((float)L_9) == ((float)(0.0f)))? 1 : 0);
bool L_10 = V_3;
if (!L_10)
{
goto IL_005f;
}
}
{
float L_11 = V_1;
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_minWidth_0(L_11);
}
IL_005f:
{
float L_12 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->get_maxWidth_1();
V_4 = (bool)((((float)L_12) == ((float)(0.0f)))? 1 : 0);
bool L_13 = V_4;
if (!L_13)
{
goto IL_0079;
}
}
{
float L_14 = V_2;
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_maxWidth_1(L_14);
}
IL_0079:
{
}
IL_007a:
{
return;
}
}
// System.Void UnityEngine.GUIWordWrapSizer::CalcHeight()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GUIWordWrapSizer_CalcHeight_m4A555C63C14B662E3475B8E9A391AA8A1B334756 (GUIWordWrapSizer_tC17A8FB8EE28BDCFEE27C7E7000BA8215E76CFD0 * __this, const RuntimeMethod* method)
{
bool V_0 = false;
float V_1 = 0.0f;
bool V_2 = false;
bool V_3 = false;
int32_t G_B3_0 = 0;
{
float L_0 = __this->get_m_ForcedMinHeight_12();
if ((((float)L_0) == ((float)(0.0f))))
{
goto IL_001d;
}
}
{
float L_1 = __this->get_m_ForcedMaxHeight_13();
G_B3_0 = ((((float)L_1) == ((float)(0.0f)))? 1 : 0);
goto IL_001e;
}
IL_001d:
{
G_B3_0 = 1;
}
IL_001e:
{
V_0 = (bool)G_B3_0;
bool L_2 = V_0;
if (!L_2)
{
goto IL_008d;
}
}
{
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_3 = GUILayoutEntry_get_style_m70E386A3289ACFEC515B1358827AB2FBF6314BA4(__this, /*hidden argument*/NULL);
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_4 = __this->get_m_Content_11();
Rect_t35B976DE901B5423C11705E156938EA27AB402CE * L_5 = ((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->get_address_of_rect_4();
float L_6 = Rect_get_width_m54FF69FC2C086E2DC349ED091FD0D6576BFB1484((Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)L_5, /*hidden argument*/NULL);
NullCheck(L_3);
float L_7 = GUIStyle_CalcHeight_m6F102200768409D1B2184A7FE1A56747AB7B59B5(L_3, L_4, L_6, /*hidden argument*/NULL);
V_1 = L_7;
float L_8 = __this->get_m_ForcedMinHeight_12();
V_2 = (bool)((((float)L_8) == ((float)(0.0f)))? 1 : 0);
bool L_9 = V_2;
if (!L_9)
{
goto IL_005a;
}
}
{
float L_10 = V_1;
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_minHeight_2(L_10);
goto IL_0066;
}
IL_005a:
{
float L_11 = __this->get_m_ForcedMinHeight_12();
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_minHeight_2(L_11);
}
IL_0066:
{
float L_12 = __this->get_m_ForcedMaxHeight_13();
V_3 = (bool)((((float)L_12) == ((float)(0.0f)))? 1 : 0);
bool L_13 = V_3;
if (!L_13)
{
goto IL_0080;
}
}
{
float L_14 = V_1;
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_maxHeight_3(L_14);
goto IL_008c;
}
IL_0080:
{
float L_15 = __this->get_m_ForcedMaxHeight_13();
((GUILayoutEntry_t84827D72E8F6B673B1DB9F9FD91C9991007C9845 *)__this)->set_maxHeight_3(L_15);
}
IL_008c:
{
}
IL_008d:
{
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void UnityEngine.ScrollViewState::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ScrollViewState__ctor_mBD3229B13A482BEE165EE9CACA85F716122F3BD4 (ScrollViewState_t738AAD89973B4E764B6F977945263C24A881428E * __this, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void UnityEngine.SliderState::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SliderState__ctor_m8CBFEE8D20C2D8EB0B68B1B171D9396DE84B605E (SliderState_t6081D6F2CF6D0F1A13B2A2D255671B4053EC52CB * __this, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void UnityEngine.TextEditor::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextEditor__ctor_m279158A237B393882E3CC2834C1F7CA7679F79CC (TextEditor_t72CB6095A5C38226E08CD8073D5B6AD98579D440 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TextEditor__ctor_m279158A237B393882E3CC2834C1F7CA7679F79CC_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
__this->set_keyboardOnScreen_0((TouchScreenKeyboard_t2A69F85698E9780470181532D3F2BC903623FD90 *)NULL);
__this->set_controlID_1(0);
IL2CPP_RUNTIME_CLASS_INIT(GUIStyle_t671F175A201A19166385EE3392292A5F50070572_il2cpp_TypeInfo_var);
GUIStyle_t671F175A201A19166385EE3392292A5F50070572 * L_0 = GUIStyle_get_none_m2B48FA4E2FA2B9BB7A458DF25B1391F9C7BB8B7B(/*hidden argument*/NULL);
__this->set_style_2(L_0);
__this->set_multiline_3((bool)0);
__this->set_hasHorizontalCursorPos_4((bool)0);
__this->set_isPasswordField_5((bool)0);
IL2CPP_RUNTIME_CLASS_INIT(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_il2cpp_TypeInfo_var);
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_1 = Vector2_get_zero_mFE0C3213BB698130D6C5247AB4B887A59074D0A8(/*hidden argument*/NULL);
__this->set_scrollOffset_6(L_1);
GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 * L_2 = (GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0 *)il2cpp_codegen_object_new(GUIContent_t2A00F8961C69C0A382168840CFB2111FB00B5EA0_il2cpp_TypeInfo_var);
GUIContent__ctor_m939CDEFF44061020E997A0F0640ADDF2740B0C38(L_2, /*hidden argument*/NULL);
__this->set_m_Content_7(L_2);
__this->set_m_CursorIndex_8(0);
__this->set_m_SelectIndex_9(0);
__this->set_m_RevealCursor_10((bool)0);
__this->set_m_MouseDragSelectsWholeWords_11((bool)0);
__this->set_m_DblClickInitPos_12(0);
__this->set_m_DblClickSnap_13(0);
__this->set_m_bJustSelected_14((bool)0);
__this->set_m_iAltCursorPos_15((-1));
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void GUI_set_nextScrollStepTime_m0EBE9A3F5960CD23334E4678D9CF6F5E15CBDE23_inline (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUI_set_nextScrollStepTime_m0EBE9A3F5960CD23334E4678D9CF6F5E15CBDE23UnityEngine_IMGUIModule_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_0 = ___value0;
IL2CPP_RUNTIME_CLASS_INIT(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var);
((GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_StaticFields*)il2cpp_codegen_static_fields_for(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var))->set_U3CnextScrollStepTimeU3Ek__BackingField_9(L_0);
return;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR StringComparer_t588BC7FEF85D6E7425E0A8147A3D5A334F1F82DE * StringComparer_get_OrdinalIgnoreCase_m3F2527D9A11521E8B51F0AC8F70DB272DA8334C9_inline (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (StringComparer_get_OrdinalIgnoreCase_m3F2527D9A11521E8B51F0AC8F70DB272DA8334C9UnityEngine_IMGUIModule_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(StringComparer_t588BC7FEF85D6E7425E0A8147A3D5A334F1F82DE_il2cpp_TypeInfo_var);
StringComparer_t588BC7FEF85D6E7425E0A8147A3D5A334F1F82DE * L_0 = ((StringComparer_t588BC7FEF85D6E7425E0A8147A3D5A334F1F82DE_StaticFields*)il2cpp_codegen_static_fields_for(StringComparer_t588BC7FEF85D6E7425E0A8147A3D5A334F1F82DE_il2cpp_TypeInfo_var))->get__ordinalIgnoreCase_3();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void GUIUtility_set_guiIsExiting_m16D5DFFB64483BC588CA6BEA0FAA618E4A227960_inline (bool ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUIUtility_set_guiIsExiting_m16D5DFFB64483BC588CA6BEA0FAA618E4A227960UnityEngine_IMGUIModule_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
bool L_0 = ___value0;
((GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_StaticFields*)il2cpp_codegen_static_fields_for(GUIUtility_t943494CC50E876A4A08ECD471C06E23D52E5E5BA_il2cpp_TypeInfo_var))->set_U3CguiIsExitingU3Ek__BackingField_7(L_0);
return;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR GenericStack_tC59D21E8DBC50F3C608479C942200AC44CA2D5BC * GUI_get_scrollViewStates_m2FAC333F84B90E4F1E1ED5FC8651DC8C4C30B7AF_inline (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GUI_get_scrollViewStates_m2FAC333F84B90E4F1E1ED5FC8651DC8C4C30B7AFUnityEngine_IMGUIModule_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var);
GenericStack_tC59D21E8DBC50F3C608479C942200AC44CA2D5BC * L_0 = ((GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_StaticFields*)il2cpp_codegen_static_fields_for(GUI_t3E5CBC6B113E392EBBE1453DEF2B7CD020F345AA_il2cpp_TypeInfo_var))->get_U3CscrollViewStatesU3Ek__BackingField_11();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Exception_t * Exception_get_InnerException_mCB68CC8CBF2540EF381CB17A4E4E3F6D0E33453F_inline (Exception_t * __this, const RuntimeMethod* method)
{
{
Exception_t * L_0 = __this->get__innerException_4();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m507C9149FF7F83AAC72C29091E745D557DA47D22_gshared_inline (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR RuntimeObject * List_1_get_Item_mFDB8AD680C600072736579BBF5F38F7416396588_gshared_inline (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
{
goto IL_000e;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_mBA2AF20A35144E0C43CD721A22EAC9FCA15D6550(/*hidden argument*/NULL);
}
IL_000e:
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_2 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
int32_t L_3 = ___index0;
RuntimeObject * L_4 = IL2CPP_ARRAY_UNSAFE_LOAD((ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)L_2, (int32_t)L_3);
return L_4;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR RuntimeObject * Enumerator_get_Current_mD7829C7E8CFBEDD463B15A951CDE9B90A12CC55C_gshared_inline (Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = (RuntimeObject *)__this->get_current_3();
return L_0;
}
}
| [
"59011599@kmitl.ac.th"
] | 59011599@kmitl.ac.th |
5eaed1bfd2e292a3ec1505bfc4c19f29f16f22f2 | b4b71642ccca8d4e1c9d59ebd5efb1b0c0c76390 | /kernel/UVM_ML-1.5.1/ml/frameworks/uvm/sc/packages/boost/include/mpl/aux_/static_cast.hpp | d89cfe3526a09feed941427b82b0be3f679e0f6d | [
"BSL-1.0",
"Apache-2.0"
] | permissive | funningboy/smtdv | 5c2c52a33af3157d73cdb75f65e502695e78c2b7 | e27641605df1a28b20ec0f4c38e975dda8770a65 | refs/heads/master | 2021-01-10T11:09:39.840619 | 2016-09-09T01:58:59 | 2016-09-09T01:58:59 | 49,326,026 | 18 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 949 | hpp |
#ifndef UVMSC_BOOST_MPL_AUX_STATIC_CAST_HPP_INCLUDED
#define UVMSC_BOOST_MPL_AUX_STATIC_CAST_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2001-2004
//
// 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)
//
// See http://www.boost.org/libs/mpl for documentation.
// $Id: static_cast.hpp 49267 2008-10-11 06:19:02Z agurtovoy $
// $Date: 2008-10-11 02:19:02 -0400 (Sat, 11 Oct 2008) $
// $Revision: 49267 $
#include <packages/boost/include/mpl/aux_/config/workaround.hpp>
#if UVMSC_BOOST_WORKAROUND(__BORLANDC__, UVMSC_BOOST_TESTED_AT(0x561)) \
|| UVMSC_BOOST_WORKAROUND(__GNUC__, < 3) \
|| UVMSC_BOOST_WORKAROUND(__MWERKS__, <= 0x3001)
# define UVMSC_BOOST_MPL_AUX_STATIC_CAST(T, expr) (T)(expr)
#else
# define UVMSC_BOOST_MPL_AUX_STATIC_CAST(T, expr) static_cast<T>(expr)
#endif
#endif // UVMSC_BOOST_MPL_AUX_STATIC_CAST_HPP_INCLUDED
| [
"schen@twlogin04.stec-inc.ad"
] | schen@twlogin04.stec-inc.ad |
05fc02313f64b9a21a81a1a194b1a33a91d8d1e2 | e5993bbfd12489595f8676b103600e4241f59463 | /CellPro/include/cg/Promoter.hpp | 3491b0ab0155bd120642e558ca69a3abe7a312dc | [] | no_license | igorsdub/GRO-LIA | d20ac79f54163fac215d882b040a52332236abe7 | dbc3deb84a35ad4b437ffc3164729aed216085bd | refs/heads/master | 2023-05-25T12:43:21.910426 | 2018-06-06T15:13:37 | 2018-06-06T15:13:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,957 | hpp | #ifndef CG_PROMOTER_HPP
#define CG_PROMOTER_HPP
#include <cstdint>
#include <random>
#include <iostream>
#include <limits>
namespace cg
{
class Promoter
{
public:
enum Gate
{
OPEN, CLOSED, AND, NAND, OR, XOR
};
enum BreakingState
{
BREAK_TO_FALSE, BREAK_TO_TRUE, NOT_BROKEN
};
enum GateState
{
LOW, LOW_TO_HIGH, HIGH_TO_LOW, HIGH
};
Promoter(uint64_t gateMask, uint64_t proteinValues, Gate gate, BreakingState breakingState, float breakingToTrueRate = std::numeric_limits<float>::infinity(), float breakingToFalseRate = std::numeric_limits<float>::infinity());
virtual ~Promoter();
void setBreakingState(BreakingState breakingState);
uint64_t getGateMask() const;
uint64_t getProteinValues() const;
Gate getGate() const;
BreakingState getBreakingState() const;
std::exponential_distribution<float> getBreakingToTrueTimeDistribution() const;
std::exponential_distribution<float> getBreakingToFalseTimeDistribution() const;
bool check(uint64_t proteins) const;
GateState nextState(GateState gateState, uint64_t proteins) const;
private:
uint64_t gateMask;
uint64_t proteinValues;
Gate gate;
BreakingState breakingState;
std::exponential_distribution<float> breakingToTrueTimeDistribution;
std::exponential_distribution<float> breakingToFalseTimeDistribution;
};
inline Promoter::Promoter(uint64_t gateMask, uint64_t proteinValues, Gate gate, BreakingState breakingState, float breakingToTrueRate, float breakingToFalseRate)
: gateMask(gateMask)
, proteinValues(proteinValues)
, gate(gate)
, breakingState(breakingState)
, breakingToTrueTimeDistribution(1.0 / breakingToTrueRate)
, breakingToFalseTimeDistribution(1.0 / breakingToFalseRate)
{
}
inline Promoter::~Promoter()
{
}
inline void Promoter::setBreakingState(BreakingState breakingState)
{
this->breakingState = breakingState;
}
inline uint64_t Promoter::getGateMask() const
{
return gateMask;
}
inline uint64_t Promoter::getProteinValues() const
{
return proteinValues;
}
inline Promoter::Gate Promoter::getGate() const
{
return gate;
}
inline Promoter::BreakingState Promoter::getBreakingState() const
{
return breakingState;
}
inline std::exponential_distribution<float> Promoter::getBreakingToTrueTimeDistribution() const
{
return breakingToTrueTimeDistribution;
}
inline std::exponential_distribution<float> Promoter::getBreakingToFalseTimeDistribution() const
{
return breakingToFalseTimeDistribution;
}
inline bool Promoter::check(uint64_t proteins) const
{
uint64_t input = proteinValues ^ ~proteins;
uint64_t gateValue = (gateMask & input);
switch(gate)
{
case OPEN:
return true;
case CLOSED:
return false;
case AND:
return gateValue == gateMask;
case NAND:
return gateValue != gateMask;
case OR:
return gateValue != 0;
case XOR:
return gateValue != 0 && gateValue != gateMask;
default:
return false;
}
}
inline Promoter::GateState Promoter::nextState(GateState gateState, uint64_t proteins) const
{
if(breakingState == Promoter::BreakingState::NOT_BROKEN)
return GateState(((gateState & 1) << 1) | check(proteins));
return GateState(((gateState & 1) << 1) | breakingState);
}
}
#endif //CG_PROMOTER_HPP
| [
"martin.gutierrez@gmail.com"
] | martin.gutierrez@gmail.com |
1aed468027eed64b4566ec0968205d8180554fc3 | 98de51032125a81fbd3a3aa10e41854b0d51160f | /p_mobj.c | 144b58831254e5e03eef3d66fb044ad8ec4917bc | [] | no_license | igor-pokrovsky/svgadoom | 84e1ea3d9180737751497ab7ac591043425e2858 | 0e79cc7367ae16962510e02669340ae2e9b91b4d | refs/heads/master | 2023-03-03T01:51:22.698180 | 2021-02-13T12:39:13 | 2021-02-13T12:39:13 | 338,552,606 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,302 | c | // Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
// $Id:$
//
// Copyright (C) 1993-1996 by id Software, Inc.
//
// This source is available for distribution and/or modification
// only under the terms of the DOOM Source Code License as
// published by id Software. All rights reserved.
//
// The source is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// FITNESS FOR A PARTICULAR PURPOSE. See the DOOM Source Code License
// for more details.
//
// $Log:$
//
// DESCRIPTION:
// Moving object handling. Spawn functions.
//
//-----------------------------------------------------------------------------
static const char
rcsid[] = "$Id: p_mobj.c,v 1.5 1997/02/03 22:45:12 b1 Exp $";
#include "i_unix.h"
#include "z_zone.h"
#include "m_random.h"
#include "doomdef.h"
#include "p_local.h"
#include "sounds.h"
#include "st_stuff.h"
#include "hu_stuff.h"
#include "s_sound.h"
#include "doomstat.h"
void G_PlayerReborn (int player);
void P_SpawnMapThing (mapthing_t* mthing);
//
// P_SetMobjState
// Returns true if the mobj is still present.
//
int test;
boolean
P_SetMobjState
( mobj_t* mobj,
statenum_t state )
{
state_t* st;
do
{
if (state == S_NULL)
{
mobj->state = (state_t *) S_NULL;
P_RemoveMobj (mobj);
return false;
}
st = &states[state];
mobj->state = st;
mobj->tics = st->tics;
mobj->sprite = st->sprite;
mobj->frame = st->frame;
// Modified handling.
// Call action functions when the state is set
if (st->action.acp1)
st->action.acp1(mobj);
state = st->nextstate;
} while (!mobj->tics);
return true;
}
//
// P_ExplodeMissile
//
void P_ExplodeMissile (mobj_t* mo)
{
mo->momx = mo->momy = mo->momz = 0;
P_SetMobjState (mo, mobjinfo[mo->type].deathstate);
mo->tics -= P_Random()&3;
if (mo->tics < 1)
mo->tics = 1;
mo->flags &= ~MF_MISSILE;
if (mo->info->deathsound)
S_StartSound (mo, mo->info->deathsound);
}
//
// P_XYMovement
//
#define STOPSPEED 0x1000
#define FRICTION 0xe800
void P_XYMovement (mobj_t* mo)
{
fixed_t ptryx;
fixed_t ptryy;
player_t* player;
fixed_t xmove;
fixed_t ymove;
if (!mo->momx && !mo->momy)
{
if (mo->flags & MF_SKULLFLY)
{
// the skull slammed into something
mo->flags &= ~MF_SKULLFLY;
mo->momx = mo->momy = mo->momz = 0;
P_SetMobjState (mo, mo->info->spawnstate);
}
return;
}
player = mo->player;
if (mo->momx > MAXMOVE)
mo->momx = MAXMOVE;
else if (mo->momx < -MAXMOVE)
mo->momx = -MAXMOVE;
if (mo->momy > MAXMOVE)
mo->momy = MAXMOVE;
else if (mo->momy < -MAXMOVE)
mo->momy = -MAXMOVE;
xmove = mo->momx;
ymove = mo->momy;
do
{
if (xmove > MAXMOVE/2 || ymove > MAXMOVE/2)
{
ptryx = mo->x + xmove/2;
ptryy = mo->y + ymove/2;
xmove >>= 1;
ymove >>= 1;
}
else
{
ptryx = mo->x + xmove;
ptryy = mo->y + ymove;
xmove = ymove = 0;
}
if (!P_TryMove (mo, ptryx, ptryy))
{
// blocked move
if (mo->player)
{ // try to slide along it
P_SlideMove (mo);
}
else if (mo->flags & MF_MISSILE)
{
// explode a missile
if (ceilingline &&
ceilingline->backsector &&
ceilingline->backsector->ceilingpic == skyflatnum)
{
// Hack to prevent missiles exploding
// against the sky.
// Does not handle sky floors.
P_RemoveMobj (mo);
return;
}
P_ExplodeMissile (mo);
}
else
mo->momx = mo->momy = 0;
}
} while (xmove || ymove);
// slow down
if (player && player->cheats & CF_NOMOMENTUM)
{
// debug option for no sliding at all
mo->momx = mo->momy = 0;
return;
}
if (mo->flags & (MF_MISSILE | MF_SKULLFLY) )
return; // no friction for missiles ever
if (mo->z > mo->floorz)
return; // no friction when airborne
if (mo->flags & MF_CORPSE)
{
// do not stop sliding
// if halfway off a step with some momentum
if (mo->momx > FRACUNIT/4
|| mo->momx < -FRACUNIT/4
|| mo->momy > FRACUNIT/4
|| mo->momy < -FRACUNIT/4)
{
if (mo->floorz != mo->subsector->sector->floorheight)
return;
}
}
if (mo->momx > -STOPSPEED
&& mo->momx < STOPSPEED
&& mo->momy > -STOPSPEED
&& mo->momy < STOPSPEED
&& (!player
|| (player->cmd.forwardmove== 0
&& player->cmd.sidemove == 0 ) ) )
{
// if in a walking frame, stop moving
if ( player&&(unsigned)((player->mo->state - states)- S_PLAY_RUN1) < 4)
P_SetMobjState (player->mo, S_PLAY);
mo->momx = 0;
mo->momy = 0;
}
else
{
mo->momx = FixedMul (mo->momx, FRICTION);
mo->momy = FixedMul (mo->momy, FRICTION);
}
}
//
// P_ZMovement
//
void P_ZMovement (mobj_t* mo)
{
fixed_t dist;
fixed_t delta;
// check for smooth step up
if (mo->player && mo->z < mo->floorz)
{
mo->player->viewheight -= mo->floorz-mo->z;
mo->player->deltaviewheight
= (VIEWHEIGHT - mo->player->viewheight)>>3;
}
// adjust height
mo->z += mo->momz;
if ( mo->flags & MF_FLOAT
&& mo->target)
{
// float down towards target if too close
if ( !(mo->flags & MF_SKULLFLY)
&& !(mo->flags & MF_INFLOAT) )
{
dist = P_AproxDistance (mo->x - mo->target->x,
mo->y - mo->target->y);
delta =(mo->target->z + (mo->height>>1)) - mo->z;
if (delta<0 && dist < -(delta*3) )
mo->z -= FLOATSPEED;
else if (delta>0 && dist < (delta*3) )
mo->z += FLOATSPEED;
}
}
// clip movement
if (mo->z <= mo->floorz)
{
// hit the floor
// Note (id):
// somebody left this after the setting momz to 0,
// kinda useless there.
if (mo->flags & MF_SKULLFLY)
{
// the skull slammed into something
mo->momz = -mo->momz;
}
if (mo->momz < 0)
{
if (mo->player
&& mo->momz < -GRAVITY*8)
{
// Squat down.
// Decrease viewheight for a moment
// after hitting the ground (hard),
// and utter appropriate sound.
mo->player->deltaviewheight = mo->momz>>3;
S_StartSound (mo, sfx_oof);
}
mo->momz = 0;
}
mo->z = mo->floorz;
if ( (mo->flags & MF_MISSILE)
&& !(mo->flags & MF_NOCLIP) )
{
P_ExplodeMissile (mo);
return;
}
}
else if (! (mo->flags & MF_NOGRAVITY) )
{
if (mo->momz == 0)
mo->momz = -GRAVITY*2;
else
mo->momz -= GRAVITY;
}
if (mo->z + mo->height > mo->ceilingz)
{
// hit the ceiling
if (mo->momz > 0)
mo->momz = 0;
{
mo->z = mo->ceilingz - mo->height;
}
if (mo->flags & MF_SKULLFLY)
{ // the skull slammed into something
mo->momz = -mo->momz;
}
if ( (mo->flags & MF_MISSILE)
&& !(mo->flags & MF_NOCLIP) )
{
P_ExplodeMissile (mo);
return;
}
}
}
//
// P_NightmareRespawn
//
void
P_NightmareRespawn (mobj_t* mobj)
{
fixed_t x;
fixed_t y;
fixed_t z;
subsector_t* ss;
mobj_t* mo;
mapthing_t* mthing;
x = mobj->spawnpoint.x << FRACBITS;
y = mobj->spawnpoint.y << FRACBITS;
// somthing is occupying it's position?
if (!P_CheckPosition (mobj, x, y) )
return; // no respwan
// spawn a teleport fog at old spot
// because of removal of the body?
mo = P_SpawnMobj (mobj->x,
mobj->y,
mobj->subsector->sector->floorheight , MT_TFOG);
// initiate teleport sound
S_StartSound (mo, sfx_telept);
// spawn a teleport fog at the new spot
ss = R_PointInSubsector (x,y);
mo = P_SpawnMobj (x, y, ss->sector->floorheight , MT_TFOG);
S_StartSound (mo, sfx_telept);
// spawn the new monster
mthing = &mobj->spawnpoint;
// spawn it
if (mobj->info->flags & MF_SPAWNCEILING)
z = ONCEILINGZ;
else
z = ONFLOORZ;
// inherit attributes from deceased one
mo = P_SpawnMobj (x,y,z, mobj->type);
mo->spawnpoint = mobj->spawnpoint;
mo->angle = ANG45 * (mthing->angle/45);
if (mthing->options & MTF_AMBUSH)
mo->flags |= MF_AMBUSH;
mo->reactiontime = 18;
// remove the old monster,
P_RemoveMobj (mobj);
}
//
// P_MobjThinker
//
void P_MobjThinker (mobj_t* mobj)
{
// momentum movement
if (mobj->momx
|| mobj->momy
|| (mobj->flags&MF_SKULLFLY) )
{
P_XYMovement (mobj);
// FIXME: decent NOP/NULL/Nil function pointer please.
if (mobj->thinker.function.acv == (actionf_v) (-1))
return; // mobj was removed
}
if ( (mobj->z != mobj->floorz)
|| mobj->momz )
{
P_ZMovement (mobj);
// FIXME: decent NOP/NULL/Nil function pointer please.
if (mobj->thinker.function.acv == (actionf_v) (-1))
return; // mobj was removed
}
// cycle through states,
// calling action functions at transitions
if (mobj->tics != -1)
{
mobj->tics--;
// you can cycle through multiple states in a tic
if (!mobj->tics)
if (!P_SetMobjState (mobj, mobj->state->nextstate) )
return; // freed itself
}
else
{
// check for nightmare respawn
if (! (mobj->flags & MF_COUNTKILL) )
return;
if (!respawnmonsters)
return;
mobj->movecount++;
if (mobj->movecount < 12*35)
return;
if ( leveltime&31 )
return;
if (P_Random () > 4)
return;
P_NightmareRespawn (mobj);
}
}
//
// P_SpawnMobj
//
mobj_t*
P_SpawnMobj
( fixed_t x,
fixed_t y,
fixed_t z,
mobjtype_t type )
{
mobj_t* mobj;
state_t* st;
mobjinfo_t* info;
mobj = Z_Malloc (sizeof(*mobj), PU_LEVEL, NULL);
memset (mobj, 0, sizeof (*mobj));
info = &mobjinfo[type];
mobj->type = type;
mobj->info = info;
mobj->x = x;
mobj->y = y;
mobj->radius = info->radius;
mobj->height = info->height;
mobj->flags = info->flags;
mobj->health = info->spawnhealth;
if (gameskill != sk_nightmare)
mobj->reactiontime = info->reactiontime;
mobj->lastlook = P_Random () % MAXPLAYERS;
// do not set the state with P_SetMobjState,
// because action routines can not be called yet
st = &states[info->spawnstate];
mobj->state = st;
mobj->tics = st->tics;
mobj->sprite = st->sprite;
mobj->frame = st->frame;
// set subsector and/or block links
P_SetThingPosition (mobj);
mobj->floorz = mobj->subsector->sector->floorheight;
mobj->ceilingz = mobj->subsector->sector->ceilingheight;
if (z == ONFLOORZ)
mobj->z = mobj->floorz;
else if (z == ONCEILINGZ)
mobj->z = mobj->ceilingz - mobj->info->height;
else
mobj->z = z;
mobj->thinker.function.acp1 = (actionf_p1)P_MobjThinker;
P_AddThinker (&mobj->thinker);
return mobj;
}
//
// P_RemoveMobj
//
mapthing_t itemrespawnque[ITEMQUESIZE];
int itemrespawntime[ITEMQUESIZE];
int iquehead;
int iquetail;
void P_RemoveMobj (mobj_t* mobj)
{
if ((mobj->flags & MF_SPECIAL)
&& !(mobj->flags & MF_DROPPED)
&& (mobj->type != MT_INV)
&& (mobj->type != MT_INS))
{
itemrespawnque[iquehead] = mobj->spawnpoint;
itemrespawntime[iquehead] = leveltime;
iquehead = (iquehead+1)&(ITEMQUESIZE-1);
// lose one off the end?
if (iquehead == iquetail)
iquetail = (iquetail+1)&(ITEMQUESIZE-1);
}
// unlink from sector and block lists
P_UnsetThingPosition (mobj);
// stop any playing sound
S_StopSound (mobj);
// free block
P_RemoveThinker ((thinker_t*)mobj);
}
//
// P_RespawnSpecials
//
void P_RespawnSpecials (void)
{
fixed_t x;
fixed_t y;
fixed_t z;
subsector_t* ss;
mobj_t* mo;
mapthing_t* mthing;
int i;
// only respawn items in deathmatch
if (deathmatch != 2)
return; //
// nothing left to respawn?
if (iquehead == iquetail)
return;
// wait at least 30 seconds
if (leveltime - itemrespawntime[iquetail] < 30*35)
return;
mthing = &itemrespawnque[iquetail];
x = mthing->x << FRACBITS;
y = mthing->y << FRACBITS;
// spawn a teleport fog at the new spot
ss = R_PointInSubsector (x,y);
mo = P_SpawnMobj (x, y, ss->sector->floorheight , MT_IFOG);
S_StartSound (mo, sfx_itmbk);
// find which type to spawn
for (i=0 ; i< NUMMOBJTYPES ; i++)
{
if (mthing->type == mobjinfo[i].doomednum)
break;
}
// spawn it
if (mobjinfo[i].flags & MF_SPAWNCEILING)
z = ONCEILINGZ;
else
z = ONFLOORZ;
mo = P_SpawnMobj (x,y,z, i);
mo->spawnpoint = *mthing;
mo->angle = ANG45 * (mthing->angle/45);
// pull it from the que
iquetail = (iquetail+1)&(ITEMQUESIZE-1);
}
//
// P_SpawnPlayer
// Called when a player is spawned on the level.
// Most of the player structure stays unchanged
// between levels.
//
void P_SpawnPlayer (mapthing_t* mthing)
{
player_t* p;
fixed_t x;
fixed_t y;
fixed_t z;
mobj_t* mobj;
int i;
// not playing?
if (!playeringame[mthing->type-1])
return;
p = &players[mthing->type-1];
if (p->playerstate == PST_REBORN)
G_PlayerReborn (mthing->type-1);
x = mthing->x << FRACBITS;
y = mthing->y << FRACBITS;
z = ONFLOORZ;
mobj = P_SpawnMobj (x,y,z, MT_PLAYER);
// set color translations for player sprites
if (mthing->type > 1)
mobj->flags |= (mthing->type-1)<<MF_TRANSSHIFT;
mobj->angle = ANG45 * (mthing->angle/45);
mobj->player = p;
mobj->health = p->health;
p->mo = mobj;
p->playerstate = PST_LIVE;
p->refire = 0;
p->message = NULL;
p->damagecount = 0;
p->bonuscount = 0;
p->extralight = 0;
p->fixedcolormap = 0;
p->viewheight = VIEWHEIGHT;
// setup gun psprite
P_SetupPsprites (p);
// give all cards in death match mode
if (deathmatch)
for (i=0 ; i<NUMCARDS ; i++)
p->cards[i] = true;
if (mthing->type-1 == consoleplayer)
{
// wake up the status bar
ST_Start ();
// wake up the heads up text
HU_Start ();
}
}
//
// P_SpawnMapThing
// The fields of the mapthing should
// already be in host byte order.
//
void P_SpawnMapThing (mapthing_t* mthing)
{
int i;
int bit;
mobj_t* mobj;
fixed_t x;
fixed_t y;
fixed_t z;
// count deathmatch start positions
if (mthing->type == 11)
{
if (deathmatch_p < &deathmatchstarts[10])
{
memcpy (deathmatch_p, mthing, sizeof(*mthing));
deathmatch_p++;
}
return;
}
// check for players specially
if (mthing->type <= 4)
{
// save spots for respawning in network games
playerstarts[mthing->type-1] = *mthing;
if (!deathmatch)
P_SpawnPlayer (mthing);
return;
}
// check for apropriate skill level
if (!netgame && (mthing->options & 16) )
return;
if (gameskill == sk_baby)
bit = 1;
else if (gameskill == sk_nightmare)
bit = 4;
else
bit = 1<<(gameskill-1);
if (!(mthing->options & bit) )
return;
// find which type to spawn
for (i=0 ; i< NUMMOBJTYPES ; i++)
if (mthing->type == mobjinfo[i].doomednum)
break;
if (i==NUMMOBJTYPES)
I_Error ("P_SpawnMapThing: Unknown type %i at (%i, %i)",
mthing->type,
mthing->x, mthing->y);
// don't spawn keycards and players in deathmatch
if (deathmatch && mobjinfo[i].flags & MF_NOTDMATCH)
return;
// don't spawn any monsters if -nomonsters
if (nomonsters
&& ( i == MT_SKULL
|| (mobjinfo[i].flags & MF_COUNTKILL)) )
{
return;
}
// spawn it
x = mthing->x << FRACBITS;
y = mthing->y << FRACBITS;
if (mobjinfo[i].flags & MF_SPAWNCEILING)
z = ONCEILINGZ;
else
z = ONFLOORZ;
mobj = P_SpawnMobj (x,y,z, i);
mobj->spawnpoint = *mthing;
if (mobj->tics > 0)
mobj->tics = 1 + (P_Random () % mobj->tics);
if (mobj->flags & MF_COUNTKILL)
totalkills++;
if (mobj->flags & MF_COUNTITEM)
totalitems++;
mobj->angle = ANG45 * (mthing->angle/45);
if (mthing->options & MTF_AMBUSH)
mobj->flags |= MF_AMBUSH;
}
//
// GAME SPAWN FUNCTIONS
//
//
// P_SpawnPuff
//
extern fixed_t attackrange;
void
P_SpawnPuff
( fixed_t x,
fixed_t y,
fixed_t z )
{
mobj_t* th;
z += ((P_Random()-P_Random())<<10);
th = P_SpawnMobj (x,y,z, MT_PUFF);
th->momz = FRACUNIT;
th->tics -= P_Random()&3;
if (th->tics < 1)
th->tics = 1;
// don't make punches spark on the wall
if (attackrange == MELEERANGE)
P_SetMobjState (th, S_PUFF3);
}
//
// P_SpawnBlood
//
void
P_SpawnBlood
( fixed_t x,
fixed_t y,
fixed_t z,
int damage )
{
mobj_t* th;
z += ((P_Random()-P_Random())<<10);
th = P_SpawnMobj (x,y,z, MT_BLOOD);
th->momz = FRACUNIT*2;
th->tics -= P_Random()&3;
if (th->tics < 1)
th->tics = 1;
if (damage <= 12 && damage >= 9)
P_SetMobjState (th,S_BLOOD2);
else if (damage < 9)
P_SetMobjState (th,S_BLOOD3);
}
//
// P_CheckMissileSpawn
// Moves the missile forward a bit
// and possibly explodes it right there.
//
void P_CheckMissileSpawn (mobj_t* th)
{
th->tics -= P_Random()&3;
if (th->tics < 1)
th->tics = 1;
// move a little forward so an angle can
// be computed if it immediately explodes
th->x += (th->momx>>1);
th->y += (th->momy>>1);
th->z += (th->momz>>1);
if (!P_TryMove (th, th->x, th->y))
P_ExplodeMissile (th);
}
//
// P_SpawnMissile
//
mobj_t*
P_SpawnMissile
( mobj_t* source,
mobj_t* dest,
mobjtype_t type )
{
mobj_t* th;
angle_t an;
int dist;
th = P_SpawnMobj (source->x,
source->y,
source->z + 4*8*FRACUNIT, type);
if (th->info->seesound)
S_StartSound (th, th->info->seesound);
th->target = source; // where it came from
an = R_PointToAngle2 (source->x, source->y, dest->x, dest->y);
// fuzzy player
if (dest->flags & MF_SHADOW)
an += (P_Random()-P_Random())<<20;
th->angle = an;
an >>= ANGLETOFINESHIFT;
th->momx = FixedMul (th->info->speed, finecosine[an]);
th->momy = FixedMul (th->info->speed, finesine[an]);
dist = P_AproxDistance (dest->x - source->x, dest->y - source->y);
dist = dist / th->info->speed;
if (dist < 1)
dist = 1;
th->momz = (dest->z - source->z) / dist;
P_CheckMissileSpawn (th);
return th;
}
//
// P_SpawnPlayerMissile
// Tries to aim at a nearby monster
//
void
P_SpawnPlayerMissile
( mobj_t* source,
mobjtype_t type )
{
mobj_t* th;
angle_t an;
fixed_t x;
fixed_t y;
fixed_t z;
fixed_t slope;
// see which target is to be aimed at
an = source->angle;
slope = P_AimLineAttack (source, an, 16*64*FRACUNIT);
if (!linetarget)
{
an += 1<<26;
slope = P_AimLineAttack (source, an, 16*64*FRACUNIT);
if (!linetarget)
{
an -= 2<<26;
slope = P_AimLineAttack (source, an, 16*64*FRACUNIT);
}
if (!linetarget)
{
an = source->angle;
slope = 0;
}
}
x = source->x;
y = source->y;
z = source->z + 4*8*FRACUNIT;
th = P_SpawnMobj (x,y,z, type);
if (th->info->seesound)
S_StartSound (th, th->info->seesound);
th->target = source;
th->angle = an;
th->momx = FixedMul( th->info->speed,
finecosine[an>>ANGLETOFINESHIFT]);
th->momy = FixedMul( th->info->speed,
finesine[an>>ANGLETOFINESHIFT]);
th->momz = FixedMul( th->info->speed, slope);
P_CheckMissileSpawn (th);
}
| [
"ip@doom.homeunix.org"
] | ip@doom.homeunix.org |
3dcee009d9cd3cfa481fd00a23d866d759ac688e | dfc15216ae4a0728ab4cba34f0449f2e90b017d3 | /DirectX12/DirectX12TURULibrary/Project/DirectX12TURULibrary/DirectX12Create/BMPTextureCreate.cpp | 406d675c7974b723076c8a50b22cccd636825af9 | [] | no_license | Turuponn/Yellowstone-Woods | 172d9462ff4065e4f0f3facafb016c653bc3b0b8 | b059be473330316014fd1744b2c751638d4482cf | refs/heads/master | 2022-01-23T19:03:24.666256 | 2019-07-22T03:14:18 | 2019-07-22T03:14:18 | 191,071,763 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 3,908 | cpp | #include "BMPTextureCreate.h"
#include <d3d12.h>
#include "GameError.h"
#include <stdint.h>//uint32_t
BMPTextureCreate::BMPTextureCreate() {
}
BMPTextureCreate::~BMPTextureCreate() {
}
void BMPTextureCreate::CreateTextureBuffer(ID3D12Device* device, const unsigned int texwidth, const unsigned int texheight, ID3D12Resource** newresourcebuffer) {
HRESULT result = E_FAIL;
D3D12_HEAP_PROPERTIES heap_propatie = {};
heap_propatie.Type = D3D12_HEAP_TYPE_CUSTOM;
heap_propatie.CPUPageProperty = D3D12_CPU_PAGE_PROPERTY_WRITE_BACK;//書き込み、結合
heap_propatie.MemoryPoolPreference = D3D12_MEMORY_POOL_L0;//GPUかきこみ
heap_propatie.CreationNodeMask = 0;
heap_propatie.VisibleNodeMask = 0;
D3D12_RESOURCE_DESC texResourceDesc = {};
texResourceDesc.Dimension = D3D12_RESOURCE_DIMENSION_TEXTURE2D;
texResourceDesc.Alignment = 0;//アライメント配置
texResourceDesc.Width = texwidth;//テクスチャサイズ
texResourceDesc.Height = texheight;//テクスチャサイズ
texResourceDesc.DepthOrArraySize = 1;//配列のサイズを指定
texResourceDesc.Format = DXGI_FORMAT_R8G8B8A8_UNORM;//32bitで送信
texResourceDesc.SampleDesc.Count = 1;//アンチエイリアシング用
texResourceDesc.SampleDesc.Quality = 0;//最低品質
texResourceDesc.Flags = D3D12_RESOURCE_FLAG_NONE;
texResourceDesc.Layout = D3D12_TEXTURE_LAYOUT_UNKNOWN;
result = device->CreateCommittedResource(
&heap_propatie,
D3D12_HEAP_FLAG_NONE,
&texResourceDesc,
D3D12_RESOURCE_STATE_GENERIC_READ,
nullptr,
IID_PPV_ARGS(newresourcebuffer)
);
if (result != S_OK) {
throw(GameError::GameError(GameErrorNS::FATAL_ERROR, _T("TextureManager::CreateTextureBuffer() result != S_OK")));
}
}
void BMPTextureCreate::TextureBufferSubresource(const int texwidth, const int texheight, char* imagedata_address, ID3D12Resource* texturebuffer) {
//テクスチャバッファへの書き込み
HRESULT result = E_FAIL;
D3D12_BOX texbox = { 0 };//直方体の指定
texbox.left = 0;
texbox.top = 0;
texbox.right = texwidth;
texbox.bottom = texheight;
texbox.front = 0;
texbox.back = 1;
result = texturebuffer->WriteToSubresource(
0,
&texbox,
imagedata_address,
sizeof(uint32_t)* texwidth,//sizeof(uint32_t)==4byte(32bit)==UINT(MSDN) RowPitch
sizeof(uint32_t)*texwidth*texheight// SlicePitch
);
if (result != S_OK) {
throw(GameError::GameError(GameErrorNS::FATAL_ERROR, _T("TextureManager::LoadTexture() result != S_OK")));
}
}
void BMPTextureCreate::TextureShadaResoceView(ID3D12Device* device, ID3D12Resource* texturebuffer, ID3D12DescriptorHeap* texdescheap) {
D3D12_CPU_DESCRIPTOR_HANDLE srvHandle = {};
D3D12_SHADER_RESOURCE_VIEW_DESC srvDesc = {};
srvDesc.Format = DXGI_FORMAT_R8G8B8A8_UNORM;//32bitのテクスチャ
srvDesc.ViewDimension = D3D12_SRV_DIMENSION_TEXTURE2D;//このリソースは2Dテクスチャを使用する
srvDesc.Texture2D.MipLevels = 1;//ミップマップ
srvDesc.Shader4ComponentMapping = D3D12_DEFAULT_SHADER_4_COMPONENT_MAPPING;//SRVの任意マッピング指定
srvHandle = texdescheap->GetCPUDescriptorHandleForHeapStart();
device->CreateShaderResourceView(texturebuffer, &srvDesc, srvHandle);
}
void BMPTextureCreate::CreateDescHeap(ID3D12Device* device, const UINT rootsignaturenumdesc, ID3D12DescriptorHeap** texdescheap) {
HRESULT result = E_FAIL;
D3D12_DESCRIPTOR_HEAP_DESC texHeapDesc = {};
texHeapDesc.NumDescriptors = rootsignaturenumdesc;//ディスクリプタの数
texHeapDesc.Type = D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV;//コンピュートシェーダに使う用
texHeapDesc.Flags = D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE;
//シェーダリソースビュー作成
result = device->CreateDescriptorHeap(&texHeapDesc, IID_PPV_ARGS(texdescheap));
if (result != S_OK) {
throw(GameError::GameError(GameErrorNS::FATAL_ERROR, _T(" TextureManager::CreateDescHeap() result != S_OK")));
}
} | [
"vtyyer@outlook.jp"
] | vtyyer@outlook.jp |
92493b6494f16dd58ba6c44078d0dc3c89ed63eb | 914e0c7d5882ef7c5f0a891869bc19b63d084d75 | /23-HoomanGameEngineOpenGLVertexArrays/GameEngine/src/HGE/Renderer/Buffer.h | 8fd18632c4cf2c50869854643fb93d825154e2e8 | [] | no_license | hsalamat/HGE | c99a4b7ca428fcd5ea5138d79be8d4110b488628 | 259f3575fbf4b24281593d350b333efd61aa4b28 | refs/heads/master | 2022-12-12T16:30:01.702260 | 2020-08-17T20:12:12 | 2020-08-17T20:12:12 | 273,094,319 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,330 | h | #pragma once
namespace HGE {
enum class ShaderDataType
{
None = 0, Float, Float2, Float3, Float4, Mat3, Mat4, Int, Int2, Int3, Int4, Bool
};
static uint32_t ShaderDataTypeSize(ShaderDataType type)
{
switch (type)
{
case ShaderDataType::Float: return 4;
case ShaderDataType::Float2: return 4 * 2;
case ShaderDataType::Float3: return 4 * 3;
case ShaderDataType::Float4: return 4 * 4;
case ShaderDataType::Mat3: return 4 * 3 * 3;
case ShaderDataType::Mat4: return 4 * 4 * 4;
case ShaderDataType::Int: return 4;
case ShaderDataType::Int2: return 4 * 2;
case ShaderDataType::Int3: return 4 * 3;
case ShaderDataType::Int4: return 4 * 4;
case ShaderDataType::Bool: return 1;
}
HGE_CORE_ASSERT(false, "Unknown ShaderDataType!");
return 0;
}
struct BufferElement
{
std::string Name;
ShaderDataType Type;
uint32_t Size;
uint32_t Offset;
bool Normalized;
BufferElement() {}
BufferElement(ShaderDataType type, const std::string& name, bool normalized = false)
: Name(name), Type(type), Size(ShaderDataTypeSize(type)), Offset(0), Normalized(normalized)
{
}
uint32_t GetComponentCount() const
{
switch (Type)
{
case ShaderDataType::Float: return 1;
case ShaderDataType::Float2: return 2;
case ShaderDataType::Float3: return 3;
case ShaderDataType::Float4: return 4;
case ShaderDataType::Mat3: return 3 * 3;
case ShaderDataType::Mat4: return 4 * 4;
case ShaderDataType::Int: return 1;
case ShaderDataType::Int2: return 2;
case ShaderDataType::Int3: return 3;
case ShaderDataType::Int4: return 4;
case ShaderDataType::Bool: return 1;
}
HGE_CORE_ASSERT(false, "Unknown ShaderDataType!");
return 0;
}
};
//A vector of buffer elements
class BufferLayout
{
public:
BufferLayout() {}
BufferLayout(const std::initializer_list<BufferElement>& elements)
: m_Elements(elements)
{
CalculateOffsetsAndStride();
}
inline uint32_t GetStride() const { return m_Stride; }
inline const std::vector<BufferElement>& GetElements() const { return m_Elements; }
std::vector<BufferElement>::iterator begin() { return m_Elements.begin(); }
std::vector<BufferElement>::iterator end() { return m_Elements.end(); }
std::vector<BufferElement>::const_iterator begin() const { return m_Elements.begin(); }
std::vector<BufferElement>::const_iterator end() const { return m_Elements.end(); }
private:
void CalculateOffsetsAndStride()
{
uint32_t offset = 0;
m_Stride = 0;
for (auto& element : m_Elements)
{
element.Offset = offset;
offset += element.Size;
m_Stride += element.Size;
}
}
private:
std::vector<BufferElement> m_Elements;
uint32_t m_Stride = 0;
};
class VertexBuffer
{
public:
virtual ~VertexBuffer() {}
virtual void Bind() const = 0;
virtual void Unbind() const = 0;
virtual const BufferLayout& GetLayout() const = 0;
virtual void SetLayout(const BufferLayout& layout) = 0;
static VertexBuffer* Create(float* vertices, uint32_t size);
};
class IndexBuffer
{
public:
virtual ~IndexBuffer() {}
virtual void Bind() const = 0;
virtual void Unbind() const = 0;
virtual uint32_t GetCount() const = 0;
static IndexBuffer* Create(uint32_t* indices, uint32_t size);
};
} | [
"hooman_salamat@yahoo.com"
] | hooman_salamat@yahoo.com |
0251d068664f44602e0e37ea5df3d26252900c17 | 10178cca8d88f0de374be48dc69757069992dc86 | /problema3.cpp | 81b9ae29a131bbd1231d61364e2c109af27b19e1 | [] | no_license | MirunaRux/Divide-et-impera | 7bf08844d9963173c4603c72d31d8a6589ba2851 | e4e08ea2338ec217019a06cbc17dead63a8c1a56 | refs/heads/master | 2021-01-24T09:09:43.599960 | 2018-02-26T17:38:44 | 2018-02-26T17:38:44 | 123,002,864 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,938 | cpp | #include <iostream>
#include <vector>
#include <climits>
using namespace std;
double findMedianSortedArrays(vector<int>& nums1, vector<int>& nums2) {
int N1 = nums1.size(); ///dimensiunea primului vector
int N2 = nums2.size(); ///dimensiunea celui de-al doilea vector
if (N1 < N2) return findMedianSortedArrays(nums2, nums1); /// Ne asiguram ca al doilea vector e mai scurt
int low = 0, high = N2 * 2; ///capetele vectorului interclasat
while (low <= high)
{
int mid2 = (low + high) / 2; /// Taietura 2
int mid1 = N1 + N2 - mid2; /// Calculam Taietura 1
double L1 = (mid1 == 0) ? INT_MIN : nums1[(mid1-1)/2]; ///indicele elementului din stanga primei taieturi
double L2 = (mid2 == 0) ? INT_MIN : nums2[(mid2-1)/2]; ///indicele elementului din stanga celei de-a doua taieturi
double R1 = (mid1 == N1 * 2) ? INT_MAX : nums1[(mid1)/2]; ///indicele elementului din dreapta primei taieturi
double R2 = (mid2 == N2 * 2) ? INT_MAX : nums2[(mid2)/2]; ///indicele elementului din dreapta celei de-a doua taieturi
if (L1 > R2) low = mid2 + 1; /// partea din stg a lui A1 prea mare; mutam prima taietura la stanga (a doua taietura la dreapta)
else if (L2 > R1) high = mid2 - 1; /// partea din stg a lui A2 prea mare; mutam a doua taietura la stanga.
else return (max(L1,L2) + min(R1, R2)) / 2; ///altfel taietura este corecta
}
return -1;
}
int main()
{
int N1, N2, x;
vector<int> A1; ///primul vector
vector<int> A2; ///al doilea vector
cin>>N1; ///citim primul vector
for(int i = 0;i < N1; i++)
{
cin>>x;
A1.push_back(x);
}
cin>>N2; ///citim al doilea vector
for(int i = 0;i < N2; i++)
{
cin>>x;
A2.push_back(x);
}
cout<<"Mediana:"<<findMedianSortedArrays(A1, A2); ///afisam mediana
return 0;
}*/
| [
"noreply@github.com"
] | noreply@github.com |
e09edf45349b05136d319ddcf017806a95e12a29 | 62869fe5152bbe07fbe9f0b61166be32e4f5016c | /3rdparty/CGAL/include/CGAL/IO/Generic_writer.h | 2e8395c8ccaa630295f381a7661233b2a1472853 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-3.0-or-later",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"LicenseRef-scancode-commercial-license"
] | permissive | daergoth/SubdivisionSandbox | aef65eab0e1ab3dfecb2f9254c36d26c71ecd4fd | d67386980eb978a552e5a98ba1c4b25cf5a9a328 | refs/heads/master | 2020-03-30T09:19:07.121847 | 2019-01-08T16:42:53 | 2019-01-08T16:42:53 | 151,070,972 | 0 | 0 | MIT | 2018-12-03T11:10:03 | 2018-10-01T10:26:28 | C++ | UTF-8 | C++ | false | false | 5,919 | h | // Copyright (c) 1997
// Utrecht University (The Netherlands),
// ETH Zurich (Switzerland),
// INRIA Sophia-Antipolis (France),
// Max-Planck-Institute Saarbruecken (Germany),
// and Tel-Aviv University (Israel). All rights reserved.
//
// This file is part of CGAL (www.cgal.org); you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation; either version 3 of the License,
// or (at your option) any later version.
//
// Licensees holding a valid commercial license may use this file in
// accordance with the commercial license agreement provided with the software.
//
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
//
// $URL$
// $Id$
//
//
// Author(s) : Lutz Kettner <kettner@mpi-sb.mpg.de>
#ifndef CGAL_IO_GENERIC_WRITER_H
#define CGAL_IO_GENERIC_WRITER_H 1
#include <CGAL/basic.h>
#include <iterator>
namespace CGAL {
template <class Writer>
class I_Generic_writer_vertex_proxy {
Writer& m_writer;
public:
typedef typename Writer::Point Point;
I_Generic_writer_vertex_proxy( Writer& w) : m_writer(w) {}
void operator= ( const Point& p) { m_writer.write_vertex(p); }
};
template <class Writer>
class I_Generic_writer_vertex_iterator
{
Writer& m_writer;
public:
typedef std::output_iterator_tag iterator_category;
typedef typename Writer::Point value_type;
typedef std::ptrdiff_t difference_type;
typedef value_type* pointer;
typedef value_type& reference;
typedef I_Generic_writer_vertex_proxy< Writer> Proxy;
typedef I_Generic_writer_vertex_iterator< Writer> Self;
I_Generic_writer_vertex_iterator( Writer& w) : m_writer(w) {}
Self& operator++() { return *this; }
Self& operator++(int) { return *this; }
Proxy operator*() const { return Proxy( m_writer); }
};
template <class Writer>
class I_Generic_writer_facet_proxy {
Writer& m_writer;
public:
I_Generic_writer_facet_proxy( Writer& w) : m_writer(w) {}
void operator= ( std::size_t i) { m_writer.write_facet_index(i); }
};
template <class Writer>
class I_Generic_writer_facet_iterator
{
Writer& m_writer;
public:
typedef std::output_iterator_tag iterator_category;
typedef std::size_t value_type;
typedef std::ptrdiff_t difference_type;
typedef value_type* pointer;
typedef value_type& reference;
typedef I_Generic_writer_facet_proxy<Writer> Proxy;
typedef I_Generic_writer_facet_iterator<Writer> Self;
I_Generic_writer_facet_iterator( Writer& w) : m_writer(w) {}
Self& operator++() { return *this; }
Self& operator++(int) { return *this; }
Proxy operator*() const { return Proxy( m_writer); }
};
// The Generic_writer class contains also the state necessary for all
// its iterators. Since these iterators are of the category
// output_iterator, they could not be used more than once and their
// positional state can be kept in Generic_writer, which simplifies
// the situation where the iterators are copied by value.
template < class Writer, class Pt >
class Generic_writer {
Writer m_writer;
std::size_t m_vertices;
std::size_t m_halfedges;
std::size_t m_facets;
std::size_t m_vcnt;
std::size_t m_fcnt;
std::size_t m_icnt;
public:
typedef Pt Point;
typedef Generic_writer< Writer, Pt> Self;
typedef I_Generic_writer_vertex_iterator<Self> Vertex_iterator;
typedef I_Generic_writer_facet_iterator<Self> Facet_iterator;
Generic_writer( const Writer& writer, std::ostream& out,
std::size_t v, std::size_t h, std::size_t f)
: m_writer( writer), m_vertices(v), m_halfedges(h), m_facets(f),
m_vcnt(0), m_fcnt(0), m_icnt(0)
{
m_writer.write_header( out, v, h, f);
}
const Writer& writer() const { return m_writer; }
std::size_t size_of_vertices() const { return m_vertices; }
std::size_t size_of_halfedges() const { return m_halfedges; }
std::size_t size_of_facets() const { return m_facets; }
Vertex_iterator vertices_begin() { return Vertex_iterator( *this); }
Facet_iterator facets_begin() {
if ( m_vcnt != m_vertices) {
std::cerr << "error: Generic_writer: wrong number of "
"vertices written, " << m_vcnt << " instead of "
<< m_vertices << "." << std::endl;
m_writer.out().clear( std::ios::badbit);
}
m_writer.write_facet_header();
if ( m_facets == 0)
m_writer.write_footer();
return Facet_iterator( *this);
}
// Interface used by the iterators and their proxies.
void write_vertex( const Point& p) {
++m_vcnt;
m_writer.write_vertex( ::CGAL::to_double( p.x()),
::CGAL::to_double( p.y()),
::CGAL::to_double( p.z()));
}
void write_facet_index( std::size_t i) {
if ( m_fcnt > m_facets) {
std::cerr << "error: Generic_writer: too many facets written."
<< std::endl;
m_writer.out().clear( std::ios::badbit);
}
if ( m_icnt == 0) {
m_writer.write_facet_begin( i);
m_icnt = i;
} else {
m_writer.write_facet_vertex_index( i);
m_icnt --;
if ( m_icnt == 0) {
m_writer.write_facet_end();
m_fcnt ++;
if (m_fcnt == m_facets)
m_writer.write_footer();
}
}
}
};
} //namespace CGAL
#endif // CGAL_IO_GENERIC_WRITER_H //
// EOF //
| [
"bodonyiandi94@gmail.com"
] | bodonyiandi94@gmail.com |
93cc3d32221f671eee6b4a088ff2f2d5682554e2 | e3ac6d1aafff3fdfb95159c54925aded869711ed | /Temp/StagingArea/Data/il2cppOutput/t755650219.h | 3627fd0a68b498d8e80e3c26535873650d0bb3cb | [] | no_license | charlantkj/refugeeGame- | 21a80d17cf5c82eed2112f04ac67d8f3b6761c1d | d5ea832a33e652ed7cdbabcf740e599497a99e4d | refs/heads/master | 2021-01-01T05:26:18.635755 | 2016-04-24T22:33:48 | 2016-04-24T22:33:48 | 56,997,457 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 767 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
struct t1568637665;
#include "t1733537956.h"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
struct t755650219 : public t1733537956
{
public:
t1568637665 * f0;
public:
inline static int32_t fog0() { return static_cast<int32_t>(offsetof(t755650219, f0)); }
inline t1568637665 * fg0() const { return f0; }
inline t1568637665 ** fag0() { return &f0; }
inline void fs0(t1568637665 * value)
{
f0 = value;
Il2CppCodeGenWriteBarrier(&f0, value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
| [
"charlotteantschukovkjaer@Charlottes-MacBook-Air.local"
] | charlotteantschukovkjaer@Charlottes-MacBook-Air.local |
1b228af1d6f18091a1699d9a99151822b778ad91 | 52437ba11fca0e060373c2997cd86b0491427453 | /BOJ/cpp/14889(fail).cpp | db88de96c7a974831378a61e4b1982f0211b9c41 | [] | no_license | rheehot/Algorithm-57 | 6e0eedf264bc1e96352654294c78914c22ac0d7f | dd70f5083da0460ecb533dcbf97bc4acd18ce5de | refs/heads/master | 2023-07-20T13:34:42.199950 | 2021-09-03T06:16:53 | 2021-09-03T06:16:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,461 | cpp | //
// main.cpp
// practice.cpp
//
// Created by 황승환 on 2020/05/06.
// Copyright © 2020 황승환. All rights reserved.
//
/*
문제
오늘은 스타트링크에 다니는 사람들이 모여서 축구를 해보려고 한다. 축구는 평일 오후에 하고 의무 참석도 아니다. 축구를 하기 위해 모인 사람은 총 N명이고 신기하게도 N은 짝수이다. 이제 N/2명으로 이루어진 스타트 팀과 링크 팀으로 사람들을 나눠야 한다.
BOJ를 운영하는 회사 답게 사람에게 번호를 1부터 N까지로 배정했고, 아래와 같은 능력치를 조사했다. 능력치 Sij는 i번 사람과 j번 사람이 같은 팀에 속했을 때, 팀에 더해지는 능력치이다. 팀의 능력치는 팀에 속한 모든 쌍의 능력치 Sij의 합이다. Sij는 Sji와 다를 수도 있으며, i번 사람과 j번 사람이 같은 팀에 속했을 때, 팀에 더해지는 능력치는 Sij와 Sji이다.
N=4이고, S가 아래와 같은 경우를 살펴보자.
i\j 1 2 3 4
1 1 2 3
2 4 5 6
3 7 1 2
4 3 4 5
예를 들어, 1, 2번이 스타트 팀, 3, 4번이 링크 팀에 속한 경우에 두 팀의 능력치는 아래와 같다.
스타트 팀: S12 + S21 = 1 + 4 = 5
링크 팀: S34 + S43 = 2 + 5 = 7
1, 3번이 스타트 팀, 2, 4번이 링크 팀에 속하면, 두 팀의 능력치는 아래와 같다.
스타트 팀: S13 + S31 = 2 + 7 = 9
링크 팀: S24 + S42 = 6 + 4 = 10
축구를 재미있게 하기 위해서 스타트 팀의 능력치와 링크 팀의 능력치의 차이를 최소로 하려고 한다. 위의 예제와 같은 경우에는 1, 4번이 스타트 팀, 2, 3번 팀이 링크 팀에 속하면 스타트 팀의 능력치는 6, 링크 팀의 능력치는 6이 되어서 차이가 0이 되고 이 값이 최소이다.
입력
첫째 줄에 N(4 ≤ N ≤ 20, N은 짝수)이 주어진다. 둘째 줄부터 N개의 줄에 S가 주어진다. 각 줄은 N개의 수로 이루어져 있고, i번 줄의 j번째 수는 Sij 이다. Sii는 항상 0이고, 나머지 Sij는 1보다 크거나 같고, 100보다 작거나 같은 정수이다.
출력
첫째 줄에 스타트 팀과 링크 팀의 능력치의 차이의 최솟값을 출력한다.
*/
#include <iostream>
#include <cmath>
#define endl "\n"
using namespace std;
int n;
int stat[20][20];
bool visited[20];
int result=1234567890;
void Input()
{
cin>>n;
for(int i=0; i<n; i++)
{
for(int j=0; j<n; j++)
{
cin>>stat[i][j];
}
}
}
void Combination(int cnt, int cur)
{
if(cnt==n/2)
{
int start=0;
int link=0;
for(int i=0; i<n; i++)
{
for(int j=i+1; j<n; j++)
{
if(visited[i]&&visited[j])
{
start+=stat[i][j];
start+=stat[j][i];
}
else if(!visited[i]&&!visited[j])
{
link+=stat[i][j];
link+=stat[j][i];
}
}
}
result=min(result, abs(start-link));
}
for(int i=0; i<n; i++)
{
if(visited[i]==false&&i>cur)
{
visited[i]=true;
Combination(cnt+1, i);
visited[i]=false;
}
}
}
int main()
{
Input();
Combination(0, -1);
cout<<result<<endl;
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
9946d6260b784fc5a67f6c96dd7029d8c511c88d | a6e16f8b4e3e9dfb7a8b6f323b7e35fb82537222 | /Various/Modula 2/Holger Kleinschmidt/M2LIB-4/SOURCE/ISO/MISC/EXCEPTIO.IPP | eb972463ac1fdca10b578a3569d93ecf8b070d74 | [] | no_license | pjones1063/Atari_ST_Sources | 59cd4af5968d20eb3bf16836fc460f018aa05e7c | fe7d2d16d3919274547efbd007f5e0ec1557396d | refs/heads/master | 2020-09-04T20:21:44.756895 | 2019-10-30T12:54:05 | 2019-10-30T12:54:05 | 219,878,695 | 2 | 0 | null | 2019-11-06T00:40:39 | 2019-11-06T00:40:39 | null | UTF-8 | C++ | false | false | 2,899 | ipp | IMPLEMENTATION MODULE EXCEPTIONS;
__IMP_SWITCHES__
__DEBUG__
#ifdef HM2
#ifdef __LONG_WHOLE__
(*$!i+: Modul muss mit $i- uebersetzt werden! *)
(*$!w+: Modul muss mit $w- uebersetzt werden! *)
#else
(*$!i-: Modul muss mit $i+ uebersetzt werden! *)
(*$!w-: Modul muss mit $w+ uebersetzt werden! *)
#endif
#endif
OSCALL_IMPORT
PTR_ARITH_IMPORT
VAL_INTRINSIC
FROM SYSTEM IMPORT
(* TYPE *) ADDRESS,
(* PROC *) ADR;
FROM PORTAB IMPORT
(* TYPE *) SIGNEDLONG, UNSIGNEDWORD;
FROM types IMPORT
(* CONST*) CR, LF, EOS;
FROM OSCALLS IMPORT
(* PROC *) Cconws, Salert;
FROM ISOStrings IMPORT
(* PROC *) Concat;
FROM DosSystem IMPORT
(* CONST*) ExitFailure, ExitSuccess,
(* PROC *) exit;
(*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*)
TYPE
ExceptionSource = POINTER TO ADDRESS;
CONST
MAXBUF = 80;
VAR
nextSource : CARDINAL;
nl : ARRAY [0..2] OF CHAR;
buf : ARRAY [0..MAXBUF] OF CHAR;
line : ARRAY [0..50] OF CHAR;
(*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*)
PROCEDURE AllocateSource ((* -- /AUS *) VAR newSource : ExceptionSource );
BEGIN
newSource := MAKEADR(nextSource);
INC(nextSource);
END AllocateSource;
(*---------------------------------------------------------------------------*)
PROCEDURE RAISE ((* EIN/ -- *) source : ExceptionSource;
(* EIN/ -- *) number : ExceptionNumber;
(* EIN/ -- *) message : ARRAY OF CHAR );
BEGIN
Concat("M2-EXCEPTION RAISED: ", message, buf);
buf[MAXBUF] := 0C;
IF ~Salert(ADR(buf)) THEN
Cconws(ADR(nl));
Cconws(ADR(line));
Cconws(ADR(nl));
Cconws(ADR(buf));
Cconws(ADR(nl));
Cconws(ADR(line));
Cconws(ADR(nl));
END;
IF number = ExitSuccess THEN
exit(ExitFailure);
ELSE
exit(INT(number));
END;
END RAISE;
(*---------------------------------------------------------------------------*)
PROCEDURE CurrentNumber
((* EIN/ -- *) source : ExceptionSource ): ExceptionNumber;
BEGIN
RETURN(0);
END CurrentNumber;
(*---------------------------------------------------------------------------*)
PROCEDURE GetMessage ((* -- /AUS *) VAR text : ARRAY OF CHAR );
BEGIN
text[0] := EOS;
END GetMessage;
(*---------------------------------------------------------------------------*)
PROCEDURE IsCurrentSource ((* EIN/ -- *) source : ExceptionSource ): BOOLEAN;
BEGIN
RETURN(FALSE);
END IsCurrentSource;
(*---------------------------------------------------------------------------*)
PROCEDURE IsExceptionalExecution ( ): BOOLEAN;
BEGIN
RETURN(FALSE);
END IsExceptionalExecution;
BEGIN (* EXCEPTIONS *)
nextSource := 0;
nl[0] := CR;
nl[1] := LF;
nl[2] := 0C;
line := "*************************************************";
END EXCEPTIONS.
| [
"ggn.dbug@gmail.com"
] | ggn.dbug@gmail.com |
238e806b17073eb448773d67527075d2f938af07 | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /dbfs/src/model/ListDbfsAttachedEcsInstancesResult.cc | 8c2e8299290d7a6a2ebe982a7175aa6db271d77f | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 2,529 | cc | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dbfs/model/ListDbfsAttachedEcsInstancesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::DBFS;
using namespace AlibabaCloud::DBFS::Model;
ListDbfsAttachedEcsInstancesResult::ListDbfsAttachedEcsInstancesResult() :
ServiceResult()
{}
ListDbfsAttachedEcsInstancesResult::ListDbfsAttachedEcsInstancesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListDbfsAttachedEcsInstancesResult::~ListDbfsAttachedEcsInstancesResult()
{}
void ListDbfsAttachedEcsInstancesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allEcsLabelInfoNode = value["EcsLabelInfo"]["LabelInfo"];
for (auto valueEcsLabelInfoLabelInfo : allEcsLabelInfoNode)
{
LabelInfo ecsLabelInfoObject;
if(!valueEcsLabelInfoLabelInfo["MountPoint"].isNull())
ecsLabelInfoObject.mountPoint = valueEcsLabelInfoLabelInfo["MountPoint"].asString();
if(!valueEcsLabelInfoLabelInfo["value"].isNull())
ecsLabelInfoObject.value = valueEcsLabelInfoLabelInfo["value"].asString();
if(!valueEcsLabelInfoLabelInfo["label"].isNull())
ecsLabelInfoObject.label = valueEcsLabelInfoLabelInfo["label"].asString();
if(!valueEcsLabelInfoLabelInfo["MountedTime"].isNull())
ecsLabelInfoObject.mountedTime = valueEcsLabelInfoLabelInfo["MountedTime"].asString();
if(!valueEcsLabelInfoLabelInfo["InstanceTypeFamily"].isNull())
ecsLabelInfoObject.instanceTypeFamily = valueEcsLabelInfoLabelInfo["InstanceTypeFamily"].asString();
if(!valueEcsLabelInfoLabelInfo["OSName"].isNull())
ecsLabelInfoObject.oSName = valueEcsLabelInfoLabelInfo["OSName"].asString();
ecsLabelInfo_.push_back(ecsLabelInfoObject);
}
}
std::vector<ListDbfsAttachedEcsInstancesResult::LabelInfo> ListDbfsAttachedEcsInstancesResult::getEcsLabelInfo()const
{
return ecsLabelInfo_;
}
| [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
7d10d7e22289f67058327a8bca81f5b47aead51c | e92af86f33f4bdd457578733074d3c7f6aa7c7fb | /source/GameCommon/BattleField.proto.fflua.h | 0f1f1fb4ebe35bf145de6c6b34eb5d40fe09f5ae | [] | no_license | crazysnail/XServer | aac7e0aaa9da29c74144241e1cc926b8c76d0514 | da9f9ae3842e253dcacb2b83b25c5fa56927bdd3 | refs/heads/master | 2022-03-25T15:52:57.238609 | 2019-12-04T09:25:33 | 2019-12-04T09:25:33 | 224,835,205 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 2,269 | h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: BattleField.proto
#ifndef PROTOBUF_BattleField_2eproto_2efflua_2eh__INCLUDED
#define PROTOBUF_BattleField_2eproto_2efflua_2eh__INCLUDED
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 2005000
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
#endif
#if 2005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#endif
#include<lua/fflua_register.h>
#include "AllPacketEnum.proto.fflua.h"
#include "AllConfigEnum.proto.fflua.h"
#include "Base.proto.fflua.h"
#include "ProtoBufOption.proto.fflua.h"
#include "BattleField.pb.h"
namespace ff{
//BFConfig
//BattleFeildProxy
//BattleRoomInfo
//BattleFieldPlayerInfo
//BattleFieldInfo
//JoinBattleRoom
//LeaveBattleRoom
//LeaveBattleField
//AgreeEnterBattleField
//DisAgreeEnterBattleField
//EnterRoomNotify
//EnterBattleFieldNotify
//BeginBattleFieldNotify
//BeginBattleField
//BattleFieldFightTarget
//FlagOprate
//BfResult
}
namespace Packet {
bool BFConfig_fflua_reg(lua_State* state);
bool BattleFeildProxy_fflua_reg(lua_State* state);
bool BattleRoomInfo_fflua_reg(lua_State* state);
bool BattleFieldPlayerInfo_fflua_reg(lua_State* state);
bool BattleFieldInfo_fflua_reg(lua_State* state);
bool JoinBattleRoom_fflua_reg(lua_State* state);
bool LeaveBattleRoom_fflua_reg(lua_State* state);
bool LeaveBattleField_fflua_reg(lua_State* state);
bool AgreeEnterBattleField_fflua_reg(lua_State* state);
bool DisAgreeEnterBattleField_fflua_reg(lua_State* state);
bool EnterRoomNotify_fflua_reg(lua_State* state);
bool EnterBattleFieldNotify_fflua_reg(lua_State* state);
bool BeginBattleFieldNotify_fflua_reg(lua_State* state);
bool BeginBattleField_fflua_reg(lua_State* state);
bool BattleFieldFightTarget_fflua_reg(lua_State* state);
bool FlagOprate_fflua_reg(lua_State* state);
bool BfResult_fflua_reg(lua_State* state);
bool BattleField_fflua_regist_all(lua_State* state);
}
#endif //PROTOBUF_BattleField_2eproto_2efflua_2eh__INCLUDED
| [
"neoli1987@gmail.com"
] | neoli1987@gmail.com |
92a99f0a289bd881b25f085e7fce1869aec75310 | 01d3a14aad2fcae4c50eeb11200abb000a61602d | /engine-kernelcpp/javaproxy/com__sos__scheduler__engine__common__scalautil__Resources.h | 47872437b0b32a6cef676e120f9580bb29523ced | [] | no_license | sos-berlin/scheduler-engine | 25718d27c879b8f66095080c029142cb7b7e6289 | bcbf5b7b033447428b13dde5ad8132068348c726 | refs/heads/release/1.13 | 2023-09-03T04:48:38.328859 | 2023-07-11T13:56:00 | 2023-07-11T13:56:00 | 5,357,855 | 11 | 12 | null | 2023-03-20T17:02:12 | 2012-08-09T16:08:16 | C++ | UTF-8 | C++ | false | false | 2,156 | h | // *** Generated by com.sos.scheduler.engine.cplusplus.generator ***
#ifndef _JAVAPROXY_COM_SOS_SCHEDULER_ENGINE_COMMON_SCALAUTIL_RESOURCES_H_
#define _JAVAPROXY_COM_SOS_SCHEDULER_ENGINE_COMMON_SCALAUTIL_RESOURCES_H_
#include "../zschimmer/zschimmer.h"
#include "../zschimmer/java.h"
#include "../zschimmer/Has_proxy.h"
#include "../zschimmer/javaproxy.h"
#include "../zschimmer/lazy.h"
#include "java__lang__Object.h"
namespace javaproxy { namespace java { namespace lang { struct Object; }}}
namespace javaproxy { namespace java { namespace lang { struct String; }}}
namespace javaproxy { namespace com { namespace sos { namespace scheduler { namespace engine { namespace common { namespace scalautil {
struct Resources__class;
struct Resources : ::zschimmer::javabridge::proxy_jobject< Resources >, ::javaproxy::java::lang::Object {
private:
static Resources new_instance(); // Not implemented
public:
Resources(jobject = NULL);
Resources(const Resources&);
#ifdef Z_HAS_MOVE_CONSTRUCTOR
Resources(Resources&&);
#endif
~Resources();
Resources& operator=(jobject jo) { assign_(jo); return *this; }
Resources& operator=(const Resources& o) { assign_(o.get_jobject()); return *this; }
#ifdef Z_HAS_MOVE_CONSTRUCTOR
Resources& operator=(Resources&& o) { set_jobject(o.get_jobject()); o.set_jobject(NULL); return *this; }
#endif
jobject get_jobject() const { return ::zschimmer::javabridge::proxy_jobject< Resources >::get_jobject(); }
protected:
void set_jobject(jobject jo) {
::zschimmer::javabridge::proxy_jobject< Resources >::set_jobject(jo);
::javaproxy::java::lang::Object::set_jobject(jo);
}
public:
static ::javaproxy::java::lang::String resourceAsString(const ::zschimmer::javabridge::proxy_jobject< ::javaproxy::java::lang::String >& p0);
::zschimmer::javabridge::Class* java_object_class_() const;
static ::zschimmer::javabridge::Class* java_class_();
private:
struct Lazy_class : ::zschimmer::abstract_lazy<Resources__class*> {
void initialize() const;
};
Lazy_class _class;
};
}}}}}}}
#endif
| [
"jogit@zschimmer.com"
] | jogit@zschimmer.com |
fe298ebdb883eab6d5bf48613a69b74cdaf1efb0 | c92c71071d3d6615765786ecf08386918c6a2349 | /Timus/TIMUS 1471.cpp | a447a539ef5f1b33b0d56b05a2744595818ec837 | [] | no_license | 3agwa/CompetitiveProgramming | ef757ede03c00e4a47a1629cec2fe862cc7b871d | 532eb309ffeb2901d1af90fc46ce7ad904f0cbc6 | refs/heads/master | 2021-01-19T22:16:49.231249 | 2019-03-12T17:13:50 | 2019-03-12T17:13:50 | 88,785,488 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,908 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define ull unsigned long long
#define vll vector<ll>
#define pii pair<int, int>
#define vii vector<pii>
#define vs vector<string>
#define vb vector<bool>
#define vi vector<int>
#define vd vector<double>
#define vvi vector< vector<int> >
#define vvii vector< vector< pii > >
#define ld long double
#define mapii map<int, int>
#define mapsi map<string, int>
#define erep(i, x, n) for (auto i = x; i<=(ll)(n); i++)
#define rep(i, x, n) for(auto i = x; i<(ll)(n); i++)
//#define INF LLONG_MAX
#define all(v) ((v).begin()), ((v).end())
#define sz(v) ((int)((v).size()))
#define pie acos(-1)
#define mod(n,m) ((n % m + m) % m)
#define eps (1e-9)
#define reset(n, m) memset(n, m, sizeof n)
#define endl '\n'
#define output freopen("output.txt", "w", stdout)
#define mp(x, y, z) {{x, y}, z}
int n, m, timer;
int sparse[50001][18], cost[50001][18];
vvii node;
vb visited;
vi in, out, level;
void dfs(int v)
{
visited[v] = true;
in[v] = ++timer;
for(auto i : node[v])
{
if (!visited[i.first])
{
level[i.first] = level[v]+1;
sparse[i.first][0] = v;
cost[i.first][0] = i.second;
dfs(i.first);
}
}
out[v] = ++timer;
}
void preprocess()
{
for(int j = 1; (1<<j) < n; j++)
{
for(int i = 1; i <= n; i++)
{
if (sparse[i][j-1] != -1)
{
sparse[i][j] = sparse[sparse[i][j-1]][j-1];
cost[i][j] = cost[i][j-1] + cost[sparse[i][j-1]][j-1];
}
}
}
}
int LCA(int u, int v)
{
if (level[u] < level[v]) swap(u, v);
int dist = level[u] - level[v];
int sum = 0;
for(int i = 0; i < 17 && u != -1; i++)
{
if (dist & (1<<i))
{
sum += cost[u][i], u = sparse[u][i];
}
}
if (u == v)
{
return sum;
}
for(int i = 17; i >= 0; i--)
{
if (sparse[u][i] != -1 && sparse[u][i] != sparse[v][i])
{
sum += cost[u][i];
sum += cost[v][i];
u = sparse[u][i];
v = sparse[v][i];
}
}
return sum + cost[u][0] + cost[v][0];
}
int main()
{
ios_base::sync_with_stdio(0);
cin.tie(0);
cin >> n;
reset(sparse, -1);
cost[0][0] = -1;
node = vvii(n+1), visited = vb(n+1), in = vi(n+1), out = vi(n+1), level = vi(n+1);
rep(i, 0, n-1)
{
int u, v, c;
cin >> u >> v >> c;
node[u].push_back({v, c});
node[v].push_back({u, c});
}
rep(i, 0, n) if (!visited[i]) dfs(i);
preprocess();
cin >> m;
while(m--)
{
int a, b;
cin >> a >> b;
cout << LCA(a, b) << endl;
}
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
5c7c9de3be593cc409d9b28bb1cc1a34938bd587 | a7ebefac77764ddb6d81cfdfea6e0a250e05d985 | /cs340-3-assign07-LilasCorner/node.h | ee7d253260dd6868803ca5f89eb89c4af3a0632b | [] | no_license | LilasCorner/DataTypes-AlgorithmsClass | 12776de82eaba6768d7be15ccd9bce767248abf7 | 4c0e1e848fe13bab62ab15d9d5eb3637cdde759e | refs/heads/master | 2022-11-27T00:57:20.141979 | 2020-06-17T15:08:27 | 2020-06-17T15:08:27 | 272,994,653 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 803 | h | /*
Lila Zayed
z1838117
CSCI340-3
I certify that this is my own work and where appropriate an extension
of the starter code provided for the assignment.
*/
#ifndef H_NODE
#define H_NODE
// definition of node in bin tree
template <typename T> class binTree; // forward declaration
template < typename T > class Node {
friend class binTree < T >; // binTree is friend
public:
Node ( const T& = T ( ), Node < T >* = nullptr,
Node < T >* = nullptr ); // default constructor
private:
T data; // data component
Node < T > *left, *right; // left and right links
};
// default constructor
template < typename T >
Node < T > :: Node ( const T& x, Node < T >* l, Node < T >* r ) :
data ( x ), left ( l ), right ( r ) { }
#endif
| [
"noreply@github.com"
] | noreply@github.com |
6156c1d9803245c8fd2cd8ab0035a0956c0873dc | 06820ebe57c40840320b4fe89fc7dca3ab3af057 | /Linpo/ai_logic.cpp | 52243f7ee80cd23b80512abe050c7fc7c6f54639 | [] | no_license | mare5x/Linpo | 1b29d9d0c920de0dfd6e966924da5c4092044946 | afddf12ce706b68f15c5997818ab4b47a60e778c | refs/heads/master | 2020-05-16T06:53:17.368681 | 2019-04-22T20:17:23 | 2019-06-20T15:21:47 | 182,861,424 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,697 | cpp | #include <algorithm>
#include "ai_logic.h"
#include "grid.h"
#include "grid_box_states.h"
void AI_Logic::make_move(Player &player)
{
int line_index = get_smart_line(player);
if (line_index >= 0)
{
game_grid.set_grid_line(line_index, player);
}
// else game is over and do nothing
}
void AI_Logic::reset()
{
move_queue.clear();
move_queue_index = 0;
}
int AI_Logic::get_greedy_line(Player &player)
{
// big O(rows * cols) AKA shit
int index = -1;
const GridBoxStates &box_states = game_grid.get_box_states();
for (int i = 0; i < box_states.size(); ++i)
{
const BoxState &box_state = box_states.get_box_state(i);
auto free_lines = box_states.get_free_lines(box_state);
if (free_lines.size() == 1)
return free_lines[0];
}
return get_rand_index();
}
int AI_Logic::get_smart_line(Player & player)
{
// O((rows - 1) * (cols - 1))
const GridBoxStates &box_states = game_grid.get_box_states();
int best_0_box_line = -1;
int best_1_box_line = -1;
int best_2_box = -1;
int best_sacrifice_box_line = -1;
if (move_queue_index < move_queue.size())
{
const auto box = move_queue[move_queue_index];
move_queue_index++;
// if the last 4 boxes are left in the chain it might be time to sacrifice
if ((move_queue.size() - (move_queue_index - 1)) <= 4) // - 1 reverses the move_queue_index++
{
int sacrifice_length = get_sacrifice_length();
best_sacrifice_box_line = get_sacrifice_line(*box, sacrifice_length);
if (best_sacrifice_box_line != -1)
return best_sacrifice_box_line;
}
return box_states.get_free_line(*box); // even if this is -1, the game should continue going on as normal, returning to the next move in queue (no free lines if previous line filled in 2 boxes)
}
for (int i = 0; i < box_states.size(); ++i)
{
const BoxState &box_state = box_states.get_box_state(i);
int box_lines_taken = box_states.get_taken_lines_size(box_state);
if (box_lines_taken != 4)
{
if (box_lines_taken == 3)
{
// all box chains are needed only because of edge cases (user undoing moves and not being optimal about it)
move_queue = box_states.get_all_box_chains();
move_queue_index = 1;
if (best_sacrifice_box_line == -1)
{
int sacrifice_length = get_sacrifice_length();
best_sacrifice_box_line = get_sacrifice_line(*move_queue.front(), sacrifice_length);
if (best_sacrifice_box_line == -1)
return box_states.get_free_line(*move_queue.front());
else
if (sacrifice_length == 4)
return best_sacrifice_box_line;
}
else
return box_states.get_free_line(*move_queue.front());
}
else if (box_lines_taken == 2)
best_2_box = i; // there is no safe line anyways
else if (box_lines_taken == 1 && best_1_box_line == -1)
best_1_box_line = box_states.get_rand_safe_line(box_state);
else if (box_lines_taken == 0 && best_0_box_line == -1)
{
const int line = box_states.get_rand_safe_line(box_states.get_box_state(i));
if (line != -1)
best_0_box_line = line;
}
}
}
// TODO: dont allow the enemy to make a sacrifice (in a size 2 chain)
//if (best_3_box != nullptr)
//{
// //// if chain is composed of multiple parts (2) then first start filling in the short one which gives us room to sacrifice
// const auto &box_state_origin = box_states.get_shortest_part_of_chain(*best_3_box);
// return box_states.get_free_line(box_state_origin);
// //return box_states.get_free_line(box_states.get_box_state(best_3_box));
//}
if (best_sacrifice_box_line != -1) return best_sacrifice_box_line;
else if (best_1_box_line != -1) return best_1_box_line;
else if (best_0_box_line != -1) return best_0_box_line;
// if we haven't returned yet it means that only unsafe lines are free
auto box = box_states.find_shortest_possible_chain();
if (box != nullptr)
return box_states.get_rand_free_line(*box);
// if nothing works, fuck it rng
return get_rand_index();
}
int AI_Logic::get_rand_index() const
{
// Reservoir sampling algorithm (kind of ...)
int index = -1;
int n_free_lines = 0;
for (auto i = 0; i < game_grid.get_lines_size(); ++i)
{
if (!game_grid.is_line_taken(i))
{
n_free_lines++;
if (index == -1)
{
index = i;
continue;
}
// random number with decreasing probability to change the current index
// 1 / n_free_lines
if (rand() % n_free_lines == 0)
index = i;
}
}
return index;
}
int AI_Logic::get_sacrifice_length(const BoxState & box_state) const
{
if (game_grid.get_box_states().is_chain_part_open_ended(box_state))
return 2;
return 4;
}
int AI_Logic::get_sacrifice_length() const
{
if (game_grid.get_box_states().get_free_lines_size(*move_queue.back()) > 1)
return 2;
return 4;
}
bool AI_Logic::sacrifice_possible(const BoxState &box_state, int sacrifice_length) const
{
if (!move_queue.empty())
return (move_queue.size() - (move_queue_index - 1)) == sacrifice_length && game_grid.get_free_lines_size() > sacrifice_length && !game_grid.get_box_states().safe_box_available(); // && game_grid.get_box_states().calc_number_of_chains() > 1)
return game_grid.get_box_states().calc_box_chain_length(box_state) == sacrifice_length && game_grid.get_free_lines_size() > sacrifice_length && !game_grid.get_box_states().safe_box_available(); // && game_grid.get_box_states().calc_number_of_chains() > 1)
}
int AI_Logic::get_sacrifice_line(const BoxState & box_state, int sacrifice_length) const
{
if (!sacrifice_possible(box_state, sacrifice_length))
return -1;
const GridBoxStates &box_states = game_grid.get_box_states();
if (sacrifice_length == 2)
{
int line_index = box_states.get_free_line(box_state);
auto other_box_state = box_states.get_next_box_in_chain(box_state);
auto other_box_free_lines = box_states.get_free_lines(other_box_state);
// sacrifice box
// only sacrifice if its the last completable box
if (other_box_free_lines.size() > 1)
{
if (other_box_free_lines[0] == line_index)
return other_box_free_lines[1];
else
return other_box_free_lines[0];
}
else
{ // no sacrifice
return -1;
}
}
else // len = 4
{
const auto &boxes = box_states.get_box_chain_part(box_state);
int prev_marked_line = -1;
for (const auto box : boxes)
{
for (int free_line : box_states.get_free_lines(*box))
{
if (free_line == prev_marked_line)
continue;
game_grid.mark_line_taken(free_line, true);
prev_marked_line = free_line; // don't check lines we've already checked
if (box_states.get_free_lines_size(*box) == 1)
{
game_grid.mark_line_taken(free_line, false);
return free_line;
}
game_grid.mark_line_taken(free_line, false);
}
}
}
return -1;
}
| [
"mare5x.mare5x@gmail.com"
] | mare5x.mare5x@gmail.com |
ff2d416d9481cfca45697fe32d20b9cd0d2ab964 | 32db3565b19c2d38c2fdc24e99f58e49e1e2ec38 | /util.cpp | 713dcabdf1bec1c7886ad3643eda5f45ace70b0e | [] | no_license | rafero1/mfpj-t3 | 2ab6fdf6093897fe9ba325cad5320ece88145bd6 | 0a09fb6f0a8068337b3a0e0a121865ac55b1f030 | refs/heads/master | 2020-06-24T06:11:55.563467 | 2019-07-25T17:28:16 | 2019-07-25T17:28:16 | 198,874,602 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 153 | cpp | #include <cmath>
// Para comparar valores floating point
bool comp(double x, double y)
{
float epsilon = 0.0005f;
return std::fabs(x - y) < epsilon;
} | [
"rfl.avlar@outlook.com"
] | rfl.avlar@outlook.com |
59308976078032b3e1dbab6c8fc224d879c9bafd | 8a7ac670dc88b422f4b375680f161a21de214d7b | /src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp | f6ab5001451025dedbe169d25a2359dff01f2870 | [] | no_license | Eliminationzx/BurningLegion | f6bad7a4de49476199c48d4b056a98b35d9a6a1e | e289d2ab02ff5cd2d8bf05a8a76aabbc8a714264 | refs/heads/master | 2021-09-23T00:41:56.655617 | 2018-09-19T00:46:42 | 2018-09-19T08:01:17 | 137,789,732 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 39,985 | cpp | /*
* Copyright (C) 2008-2018 TrinityCore <https://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "ScriptMgr.h"
#include "CombatAI.h"
#include "CreatureTextMgr.h"
#include "GameObject.h"
#include "Log.h"
#include "MotionMaster.h"
#include "MoveSplineInit.h"
#include "ObjectAccessor.h"
#include "PassiveAI.h"
#include "Player.h"
#include "ScriptedEscortAI.h"
#include "ScriptedGossip.h"
#include "SpellInfo.h"
#include "TemporarySummon.h"
#include "Vehicle.h"
/*######
##Quest 12848
######*/
#define GCD_CAST 1
enum UnworthyInitiate
{
SPELL_SOUL_PRISON_CHAIN_SELF = 54612,
SPELL_SOUL_PRISON_CHAIN = 54613,
SPELL_DK_INITIATE_VISUAL = 51519,
SPELL_ICY_TOUCH = 52372,
SPELL_PLAGUE_STRIKE = 52373,
SPELL_BLOOD_STRIKE = 52374,
SPELL_DEATH_COIL = 52375,
SAY_EVENT_START = 0,
SAY_EVENT_ATTACK = 1,
EVENT_ICY_TOUCH = 1,
EVENT_PLAGUE_STRIKE = 2,
EVENT_BLOOD_STRIKE = 3,
EVENT_DEATH_COIL = 4
};
enum UnworthyInitiatePhase
{
PHASE_CHAINED,
PHASE_TO_EQUIP,
PHASE_EQUIPING,
PHASE_TO_ATTACK,
PHASE_ATTACKING,
};
uint32 acherus_soul_prison[12] =
{
191577,
191580,
191581,
191582,
191583,
191584,
191585,
191586,
191587,
191588,
191589,
191590
};
uint32 acherus_unworthy_initiate[5] =
{
29519,
29520,
29565,
29566,
29567
};
class npc_unworthy_initiate : public CreatureScript
{
public:
npc_unworthy_initiate() : CreatureScript("npc_unworthy_initiate") { }
struct npc_unworthy_initiateAI : public ScriptedAI
{
npc_unworthy_initiateAI(Creature* creature) : ScriptedAI(creature)
{
Initialize();
me->SetReactState(REACT_PASSIVE);
if (!me->GetCurrentEquipmentId())
me->SetCurrentEquipmentId(me->GetOriginalEquipmentId());
wait_timer = 0;
anchorX = 0.f;
anchorY = 0.f;
}
void Initialize()
{
anchorGUID.Clear();
phase = PHASE_CHAINED;
}
ObjectGuid playerGUID;
UnworthyInitiatePhase phase;
uint32 wait_timer;
float anchorX, anchorY;
ObjectGuid anchorGUID;
EventMap events;
void Reset() override
{
Initialize();
events.Reset();
me->setFaction(7);
me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_IMMUNE_TO_PC);
me->SetStandState(UNIT_STAND_STATE_KNEEL);
me->LoadEquipment(0, true);
}
void EnterCombat(Unit* /*who*/) override
{
events.ScheduleEvent(EVENT_ICY_TOUCH, 1000, GCD_CAST);
events.ScheduleEvent(EVENT_PLAGUE_STRIKE, 3000, GCD_CAST);
events.ScheduleEvent(EVENT_BLOOD_STRIKE, 2000, GCD_CAST);
events.ScheduleEvent(EVENT_DEATH_COIL, 5000, GCD_CAST);
}
void MovementInform(uint32 type, uint32 id) override
{
if (type != POINT_MOTION_TYPE)
return;
if (id == 1)
{
wait_timer = 5000;
me->LoadEquipment(1);
me->CastSpell(me, SPELL_DK_INITIATE_VISUAL, true);
if (Player* starter = ObjectAccessor::GetPlayer(*me, playerGUID))
Talk(SAY_EVENT_ATTACK, starter);
phase = PHASE_TO_ATTACK;
}
}
void EventStart(Creature* anchor, Player* target)
{
wait_timer = 5000;
phase = PHASE_TO_EQUIP;
me->SetStandState(UNIT_STAND_STATE_STAND);
me->RemoveAurasDueToSpell(SPELL_SOUL_PRISON_CHAIN_SELF);
me->RemoveAurasDueToSpell(SPELL_SOUL_PRISON_CHAIN);
float z;
anchor->GetContactPoint(me, anchorX, anchorY, z, 1.0f);
playerGUID = target->GetGUID();
Talk(SAY_EVENT_START, target);
}
void UpdateAI(uint32 diff) override
{
switch (phase)
{
case PHASE_CHAINED:
if (!anchorGUID)
{
if (Creature* anchor = me->FindNearestCreature(29521, 30))
{
anchor->AI()->SetGUID(me->GetGUID());
anchor->CastSpell(me, SPELL_SOUL_PRISON_CHAIN, true);
anchorGUID = anchor->GetGUID();
}
else
TC_LOG_ERROR("scripts", "npc_unworthy_initiateAI: unable to find anchor!");
float dist = 99.0f;
GameObject* prison = NULL;
for (uint8 i = 0; i < 12; ++i)
{
if (GameObject* temp_prison = me->FindNearestGameObject(acherus_soul_prison[i], 30))
{
if (me->IsWithinDist(temp_prison, dist, false))
{
dist = me->GetDistance2d(temp_prison);
prison = temp_prison;
}
}
}
if (prison)
prison->ResetDoorOrButton();
else
TC_LOG_ERROR("scripts", "npc_unworthy_initiateAI: unable to find prison!");
}
break;
case PHASE_TO_EQUIP:
if (wait_timer)
{
if (wait_timer > diff)
wait_timer -= diff;
else
{
me->GetMotionMaster()->MovePoint(1, anchorX, anchorY, me->GetPositionZ());
//TC_LOG_DEBUG("scripts", "npc_unworthy_initiateAI: move to %f %f %f", anchorX, anchorY, me->GetPositionZ());
phase = PHASE_EQUIPING;
wait_timer = 0;
}
}
break;
case PHASE_TO_ATTACK:
if (wait_timer)
{
if (wait_timer > diff)
wait_timer -= diff;
else
{
me->setFaction(14);
me->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_IMMUNE_TO_PC);
phase = PHASE_ATTACKING;
if (Player* target = ObjectAccessor::GetPlayer(*me, playerGUID))
AttackStart(target);
wait_timer = 0;
}
}
break;
case PHASE_ATTACKING:
if (!UpdateVictim())
return;
events.Update(diff);
while (uint32 eventId = events.ExecuteEvent())
{
switch (eventId)
{
case EVENT_ICY_TOUCH:
DoCastVictim(SPELL_ICY_TOUCH);
events.DelayEvents(1000, GCD_CAST);
events.ScheduleEvent(EVENT_ICY_TOUCH, 5000, GCD_CAST);
break;
case EVENT_PLAGUE_STRIKE:
DoCastVictim(SPELL_PLAGUE_STRIKE);
events.DelayEvents(1000, GCD_CAST);
events.ScheduleEvent(EVENT_PLAGUE_STRIKE, 5000, GCD_CAST);
break;
case EVENT_BLOOD_STRIKE:
DoCastVictim(SPELL_BLOOD_STRIKE);
events.DelayEvents(1000, GCD_CAST);
events.ScheduleEvent(EVENT_BLOOD_STRIKE, 5000, GCD_CAST);
break;
case EVENT_DEATH_COIL:
DoCastVictim(SPELL_DEATH_COIL);
events.DelayEvents(1000, GCD_CAST);
events.ScheduleEvent(EVENT_DEATH_COIL, 5000, GCD_CAST);
break;
}
}
DoMeleeAttackIfReady();
break;
default:
break;
}
}
};
CreatureAI* GetAI(Creature* creature) const override
{
return new npc_unworthy_initiateAI(creature);
}
};
class npc_unworthy_initiate_anchor : public CreatureScript
{
public:
npc_unworthy_initiate_anchor() : CreatureScript("npc_unworthy_initiate_anchor") { }
CreatureAI* GetAI(Creature* creature) const override
{
return new npc_unworthy_initiate_anchorAI(creature);
}
struct npc_unworthy_initiate_anchorAI : public PassiveAI
{
npc_unworthy_initiate_anchorAI(Creature* creature) : PassiveAI(creature) { }
ObjectGuid prisonerGUID;
void SetGUID(ObjectGuid guid, int32 /*id*/) override
{
if (!prisonerGUID)
prisonerGUID = guid;
}
ObjectGuid GetGUID(int32 /*id*/) const override
{
return prisonerGUID;
}
};
};
class go_acherus_soul_prison : public GameObjectScript
{
public:
go_acherus_soul_prison() : GameObjectScript("go_acherus_soul_prison") { }
bool OnGossipHello(Player* player, GameObject* go) override
{
if (Creature* anchor = go->FindNearestCreature(29521, 15))
{
ObjectGuid prisonerGUID = anchor->AI()->GetGUID();
if (!prisonerGUID.IsEmpty())
if (Creature* prisoner = ObjectAccessor::GetCreature(*player, prisonerGUID))
ENSURE_AI(npc_unworthy_initiate::npc_unworthy_initiateAI, prisoner->AI())->EventStart(anchor, player);
}
return false;
}
};
/*######
## npc_eye_of_acherus
######*/
enum EyeOfAcherus
{
SPELL_EYE_VISUAL = 51892,
SPELL_EYE_FLIGHT_BOOST = 51923,
SPELL_EYE_FLIGHT = 51890,
EVENT_MOVE_START = 1,
TALK_MOVE_START = 0,
TALK_CONTROL = 1,
POINT_EYE_FALL = 1,
POINT_EYE_MOVE_END = 3
};
Position const EyeOFAcherusFallPoint = { 2361.21f, -5660.45f, 496.7444f, 0.0f };
class npc_eye_of_acherus : public CreatureScript
{
public:
npc_eye_of_acherus() : CreatureScript("npc_eye_of_acherus") { }
struct npc_eye_of_acherusAI : public ScriptedAI
{
npc_eye_of_acherusAI(Creature* creature) : ScriptedAI(creature)
{
me->SetDisplayId(me->GetCreatureTemplate()->Modelid1);
me->CastSpell(me, SPELL_EYE_VISUAL, true);
me->SetReactState(REACT_PASSIVE);
me->SetDisableGravity(true);
me->SetControlled(true, UNIT_STATE_ROOT);
me->GetMotionMaster()->MovePoint(POINT_EYE_FALL, EyeOFAcherusFallPoint, false);
Movement::MoveSplineInit init(me);
init.MoveTo(EyeOFAcherusFallPoint.GetPositionX(), EyeOFAcherusFallPoint.GetPositionY(), EyeOFAcherusFallPoint.GetPositionZ(), false);
init.SetFall();
init.Launch();
_events.ScheduleEvent(EVENT_MOVE_START, 7000);
}
void OnCharmed(bool /*apply*/) override { }
void UpdateAI(uint32 diff) override
{
_events.Update(diff);
while (uint32 eventId = _events.ExecuteEvent())
{
switch (eventId)
{
case EVENT_MOVE_START:
{
me->CastSpell(me, SPELL_EYE_FLIGHT_BOOST);
me->SetControlled(false, UNIT_STATE_ROOT);
if (Player* owner = me->GetCharmerOrOwner()->ToPlayer())
{
for (uint8 i = 0; i < MAX_MOVE_TYPE; ++i)
me->SetSpeedRate(UnitMoveType(i), owner->GetSpeedRate(UnitMoveType(i)));
Talk(TALK_MOVE_START, owner);
}
me->GetMotionMaster()->MovePath(me->GetEntry() * 100, false);
break;
}
default:
break;
}
}
}
void MovementInform(uint32 movementType, uint32 pointId) override
{
if (movementType == WAYPOINT_MOTION_TYPE && pointId == POINT_EYE_MOVE_END - 1)
{
me->RemoveAllAuras();
if (Player* owner = me->GetCharmerOrOwner()->ToPlayer())
{
owner->RemoveAura(SPELL_EYE_FLIGHT_BOOST);
for (uint8 i = 0; i < MAX_MOVE_TYPE; ++i)
me->SetSpeedRate(UnitMoveType(i), owner->GetSpeedRate(UnitMoveType(i)));
Talk(TALK_CONTROL, owner);
}
me->SetDisableGravity(false);
me->CastSpell(me, SPELL_EYE_FLIGHT);
}
}
private:
EventMap _events;
};
CreatureAI* GetAI(Creature* creature) const override
{
return new npc_eye_of_acherusAI(creature);
}
};
/*######
## npc_death_knight_initiate
######*/
enum Spells_DKI
{
SPELL_DUEL = 52996,
//SPELL_DUEL_TRIGGERED = 52990,
SPELL_DUEL_VICTORY = 52994,
SPELL_DUEL_FLAG = 52991,
SPELL_GROVEL = 7267,
};
enum Says_VBM
{
SAY_DUEL = 0,
};
enum Misc_VBN
{
QUEST_DEATH_CHALLENGE = 12733,
FACTION_HOSTILE = 2068
};
class npc_death_knight_initiate : public CreatureScript
{
public:
npc_death_knight_initiate() : CreatureScript("npc_death_knight_initiate") { }
bool OnGossipSelect(Player* player, Creature* creature, uint32 /*sender*/, uint32 action) override
{
ClearGossipMenuFor(player);
if (action == GOSSIP_ACTION_INFO_DEF)
{
CloseGossipMenuFor(player);
if (player->IsInCombat() || creature->IsInCombat())
return true;
if (npc_death_knight_initiateAI* pInitiateAI = CAST_AI(npc_death_knight_initiate::npc_death_knight_initiateAI, creature->AI()))
{
if (pInitiateAI->m_bIsDuelInProgress)
return true;
}
creature->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_IMMUNE_TO_PC);
creature->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_UNK_15);
player->CastSpell(creature, SPELL_DUEL, false);
player->CastSpell(player, SPELL_DUEL_FLAG, true);
}
return true;
}
bool OnGossipHello(Player* player, Creature* creature) override
{
if (player->GetQuestStatus(QUEST_DEATH_CHALLENGE) == QUEST_STATUS_INCOMPLETE && creature->IsFullHealth())
{
if (player->HealthBelowPct(10))
return true;
if (player->IsInCombat() || creature->IsInCombat())
return true;
AddGossipItemFor(player, Player::GetDefaultGossipMenuForSource(creature), 0, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF);
SendGossipMenuFor(player, player->GetGossipTextId(creature), creature->GetGUID());
}
return true;
}
struct npc_death_knight_initiateAI : public CombatAI
{
npc_death_knight_initiateAI(Creature* creature) : CombatAI(creature)
{
Initialize();
}
void Initialize()
{
m_uiDuelerGUID.Clear();
m_uiDuelTimer = 5000;
m_bIsDuelInProgress = false;
lose = false;
}
bool lose;
ObjectGuid m_uiDuelerGUID;
uint32 m_uiDuelTimer;
bool m_bIsDuelInProgress;
void Reset() override
{
Initialize();
me->RestoreFaction();
CombatAI::Reset();
me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_UNK_15);
}
void SpellHit(Unit* pCaster, const SpellInfo* pSpell) override
{
if (!m_bIsDuelInProgress && pSpell->Id == SPELL_DUEL)
{
m_uiDuelerGUID = pCaster->GetGUID();
Talk(SAY_DUEL, pCaster);
m_bIsDuelInProgress = true;
}
}
void DamageTaken(Unit* pDoneBy, uint32 &uiDamage) override
{
if (m_bIsDuelInProgress && pDoneBy->IsControlledByPlayer())
{
if (pDoneBy->GetGUID() != m_uiDuelerGUID && pDoneBy->GetOwnerGUID() != m_uiDuelerGUID) // other players cannot help
uiDamage = 0;
else if (uiDamage >= me->GetHealth())
{
uiDamage = 0;
if (!lose)
{
pDoneBy->RemoveGameObject(SPELL_DUEL_FLAG, true);
pDoneBy->AttackStop();
me->CastSpell(pDoneBy, SPELL_DUEL_VICTORY, true);
lose = true;
me->CastSpell(me, SPELL_GROVEL, true);
me->RestoreFaction();
}
}
}
}
void UpdateAI(uint32 uiDiff) override
{
if (!UpdateVictim())
{
if (m_bIsDuelInProgress)
{
if (m_uiDuelTimer <= uiDiff)
{
me->setFaction(FACTION_HOSTILE);
if (Unit* unit = ObjectAccessor::GetUnit(*me, m_uiDuelerGUID))
AttackStart(unit);
}
else
m_uiDuelTimer -= uiDiff;
}
return;
}
if (m_bIsDuelInProgress)
{
if (lose)
{
if (!me->HasAura(SPELL_GROVEL))
EnterEvadeMode();
return;
}
else if (me->GetVictim() && me->EnsureVictim()->GetTypeId() == TYPEID_PLAYER && me->EnsureVictim()->HealthBelowPct(10))
{
me->EnsureVictim()->CastSpell(me->GetVictim(), SPELL_GROVEL, true); // beg
me->EnsureVictim()->RemoveGameObject(SPELL_DUEL_FLAG, true);
EnterEvadeMode();
return;
}
}
/// @todo spells
CombatAI::UpdateAI(uiDiff);
}
};
CreatureAI* GetAI(Creature* creature) const override
{
return new npc_death_knight_initiateAI(creature);
}
};
/*######
## npc_dark_rider_of_acherus
######*/
enum DarkRiderOfAcherus
{
SAY_DARK_RIDER = 0,
SPELL_DESPAWN_HORSE = 51918
};
class npc_dark_rider_of_acherus : public CreatureScript
{
public:
npc_dark_rider_of_acherus() : CreatureScript("npc_dark_rider_of_acherus") { }
struct npc_dark_rider_of_acherusAI : public ScriptedAI
{
npc_dark_rider_of_acherusAI(Creature* creature) : ScriptedAI(creature)
{
Initialize();
}
void Initialize()
{
PhaseTimer = 4000;
Phase = 0;
Intro = false;
TargetGUID.Clear();
}
void Reset() override
{
Initialize();
}
void UpdateAI(uint32 diff) override
{
if (!Intro || !TargetGUID)
return;
if (PhaseTimer <= diff)
{
switch (Phase)
{
case 0:
Talk(SAY_DARK_RIDER);
PhaseTimer = 5000;
Phase = 1;
break;
case 1:
if (Unit* target = ObjectAccessor::GetUnit(*me, TargetGUID))
DoCast(target, SPELL_DESPAWN_HORSE, true);
PhaseTimer = 3000;
Phase = 2;
break;
case 2:
me->SetVisible(false);
PhaseTimer = 2000;
Phase = 3;
break;
case 3:
me->DespawnOrUnsummon();
break;
default:
break;
}
}
else
PhaseTimer -= diff;
}
void InitDespawnHorse(Unit* who)
{
if (!who)
return;
TargetGUID = who->GetGUID();
me->SetWalk(true);
me->SetSpeedRate(MOVE_RUN, 0.4f);
me->GetMotionMaster()->MoveChase(who);
me->SetTarget(TargetGUID);
Intro = true;
}
private:
uint32 PhaseTimer;
uint32 Phase;
bool Intro;
ObjectGuid TargetGUID;
};
CreatureAI* GetAI(Creature* creature) const override
{
return new npc_dark_rider_of_acherusAI(creature);
}
};
/*######
## npc_salanar_the_horseman
######*/
enum SalanarTheHorseman
{
GOSSIP_SALANAR_MENU = 9739,
GOSSIP_SALANAR_OPTION = 0,
SALANAR_SAY = 0,
QUEST_INTO_REALM_OF_SHADOWS = 12687,
NPC_DARK_RIDER_OF_ACHERUS = 28654,
NPC_SALANAR_IN_REALM_OF_SHADOWS = 28788,
SPELL_EFFECT_STOLEN_HORSE = 52263,
SPELL_DELIVER_STOLEN_HORSE = 52264,
SPELL_CALL_DARK_RIDER = 52266,
SPELL_EFFECT_OVERTAKE = 52349,
SPELL_REALM_OF_SHADOWS = 52693
};
class npc_salanar_the_horseman : public CreatureScript
{
public:
npc_salanar_the_horseman() : CreatureScript("npc_salanar_the_horseman") { }
struct npc_salanar_the_horsemanAI : public ScriptedAI
{
npc_salanar_the_horsemanAI(Creature* creature) : ScriptedAI(creature) { }
void sGossipSelect(Player* player, uint32 menuId, uint32 gossipListId) override
{
if (menuId == GOSSIP_SALANAR_MENU && gossipListId == GOSSIP_SALANAR_OPTION)
{
player->CastSpell(player, SPELL_REALM_OF_SHADOWS, true);
player->PlayerTalkClass->SendCloseGossip();
}
}
void SpellHit(Unit* caster, const SpellInfo* spell) override
{
if (spell->Id == SPELL_DELIVER_STOLEN_HORSE)
{
if (caster->GetTypeId() == TYPEID_UNIT && caster->IsVehicle())
{
if (Unit* charmer = caster->GetCharmer())
{
if (charmer->HasAura(SPELL_EFFECT_STOLEN_HORSE))
{
charmer->RemoveAurasDueToSpell(SPELL_EFFECT_STOLEN_HORSE);
caster->RemoveFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_SPELLCLICK);
caster->setFaction(35);
DoCast(caster, SPELL_CALL_DARK_RIDER, true);
if (Creature* Dark_Rider = me->FindNearestCreature(NPC_DARK_RIDER_OF_ACHERUS, 15))
ENSURE_AI(npc_dark_rider_of_acherus::npc_dark_rider_of_acherusAI, Dark_Rider->AI())->InitDespawnHorse(caster);
}
}
}
}
}
void MoveInLineOfSight(Unit* who) override
{
ScriptedAI::MoveInLineOfSight(who);
if (who->GetTypeId() == TYPEID_UNIT && who->IsVehicle() && me->IsWithinDistInMap(who, 5.0f))
{
if (Unit* charmer = who->GetCharmer())
{
if (Player* player = charmer->ToPlayer())
{
// for quest Into the Realm of Shadows(QUEST_INTO_REALM_OF_SHADOWS)
if (me->GetEntry() == NPC_SALANAR_IN_REALM_OF_SHADOWS && player->GetQuestStatus(QUEST_INTO_REALM_OF_SHADOWS) == QUEST_STATUS_INCOMPLETE)
{
player->GroupEventHappens(QUEST_INTO_REALM_OF_SHADOWS, me);
Talk(SALANAR_SAY);
charmer->RemoveAurasDueToSpell(SPELL_EFFECT_OVERTAKE);
if (Creature* creature = who->ToCreature())
{
creature->DespawnOrUnsummon();
//creature->Respawn(true);
}
}
player->RemoveAurasDueToSpell(SPELL_REALM_OF_SHADOWS);
}
}
}
}
};
CreatureAI* GetAI(Creature* creature) const override
{
return new npc_salanar_the_horsemanAI(creature);
}
};
/*######
## npc_ros_dark_rider
######*/
class npc_ros_dark_rider : public CreatureScript
{
public:
npc_ros_dark_rider() : CreatureScript("npc_ros_dark_rider") { }
CreatureAI* GetAI(Creature* creature) const override
{
return new npc_ros_dark_riderAI(creature);
}
struct npc_ros_dark_riderAI : public ScriptedAI
{
npc_ros_dark_riderAI(Creature* creature) : ScriptedAI(creature) { }
void EnterCombat(Unit* /*who*/) override
{
me->ExitVehicle();
}
void Reset() override
{
Creature* deathcharger = me->FindNearestCreature(28782, 30);
if (!deathcharger)
return;
deathcharger->RestoreFaction();
deathcharger->RemoveFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_SPELLCLICK);
deathcharger->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
if (!me->GetVehicle() && deathcharger->IsVehicle() && deathcharger->GetVehicleKit()->HasEmptySeat(0))
me->EnterVehicle(deathcharger);
}
void JustDied(Unit* killer) override
{
Creature* deathcharger = me->FindNearestCreature(28782, 30);
if (!deathcharger)
return;
if (killer->GetTypeId() == TYPEID_PLAYER && deathcharger->GetTypeId() == TYPEID_UNIT && deathcharger->IsVehicle())
{
deathcharger->SetFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_SPELLCLICK);
deathcharger->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
deathcharger->setFaction(2096);
}
}
};
};
// correct way: 52312 52314 52555 ...
enum Creatures_SG
{
NPC_GHOULS = 28845,
NPC_GHOSTS = 28846,
};
class npc_dkc1_gothik : public CreatureScript
{
public:
npc_dkc1_gothik() : CreatureScript("npc_dkc1_gothik") { }
CreatureAI* GetAI(Creature* creature) const override
{
return new npc_dkc1_gothikAI(creature);
}
struct npc_dkc1_gothikAI : public ScriptedAI
{
npc_dkc1_gothikAI(Creature* creature) : ScriptedAI(creature) { }
void MoveInLineOfSight(Unit* who) override
{
ScriptedAI::MoveInLineOfSight(who);
if (who->GetEntry() == NPC_GHOULS && me->IsWithinDistInMap(who, 10.0f))
{
if (Unit* owner = who->GetOwner())
{
if (Player* player = owner->ToPlayer())
{
Creature* creature = who->ToCreature();
if (player->GetQuestStatus(12698) == QUEST_STATUS_INCOMPLETE)
creature->CastSpell(owner, 52517, true);
/// @todo Creatures must not be removed, but, must instead
// stand next to Gothik and be commanded into the pit
// and dig into the ground.
creature->DespawnOrUnsummon();
if (player->GetQuestStatus(12698) == QUEST_STATUS_COMPLETE)
owner->RemoveAllMinionsByEntry(NPC_GHOSTS);
}
}
}
}
};
};
class npc_scarlet_ghoul : public CreatureScript
{
public:
npc_scarlet_ghoul() : CreatureScript("npc_scarlet_ghoul") { }
CreatureAI* GetAI(Creature* creature) const override
{
return new npc_scarlet_ghoulAI(creature);
}
struct npc_scarlet_ghoulAI : public ScriptedAI
{
npc_scarlet_ghoulAI(Creature* creature) : ScriptedAI(creature)
{
// Ghouls should display their Birth Animation
// Crawling out of the ground
//DoCast(me, 35177, true);
//me->Say("Mommy?", LANG_UNIVERSAL, 0);
me->SetReactState(REACT_DEFENSIVE);
}
void FindMinions(Unit* owner)
{
std::list<TempSummon*> MinionList;
owner->GetAllMinionsByEntry(MinionList, NPC_GHOULS);
for (TempSummon* summon : MinionList)
if (summon->GetOwnerGUID() == me->GetOwnerGUID())
if (summon->IsInCombat() && summon->getAttackerForHelper())
AttackStart(summon->getAttackerForHelper());
}
void UpdateAI(uint32 /*diff*/) override
{
if (!me->IsInCombat())
{
if (Unit* owner = me->GetOwner())
{
Player* plrOwner = owner->ToPlayer();
if (plrOwner && plrOwner->IsInCombat())
{
if (plrOwner->getAttackerForHelper() && plrOwner->getAttackerForHelper()->GetEntry() == NPC_GHOSTS)
AttackStart(plrOwner->getAttackerForHelper());
else
FindMinions(owner);
}
}
}
if (!UpdateVictim() || !me->GetVictim())
return;
//ScriptedAI::UpdateAI(diff);
//Check if we have a current target
if (me->EnsureVictim()->GetEntry() == NPC_GHOSTS)
{
if (me->isAttackReady())
{
//If we are within range melee the target
if (me->IsWithinMeleeRange(me->GetVictim()))
{
me->AttackerStateUpdate(me->GetVictim());
me->resetAttackTimer();
}
}
}
}
};
};
/*####
## npc_scarlet_miner_cart
####*/
enum ScarletMinerCart
{
SPELL_CART_CHECK = 54173,
SPELL_SUMMON_CART = 52463,
SPELL_SUMMON_MINER = 52464,
SPELL_CART_DRAG = 52465,
NPC_MINER = 28841
};
class npc_scarlet_miner_cart : public CreatureScript
{
public:
npc_scarlet_miner_cart() : CreatureScript("npc_scarlet_miner_cart") { }
struct npc_scarlet_miner_cartAI : public PassiveAI
{
npc_scarlet_miner_cartAI(Creature* creature) : PassiveAI(creature)
{
me->SetDisplayId(me->GetCreatureTemplate()->Modelid1); // Modelid2 is a horse.
}
void JustSummoned(Creature* summon) override
{
if (summon->GetEntry() == NPC_MINER)
{
_minerGUID = summon->GetGUID();
summon->AI()->SetGUID(_playerGUID);
}
}
void SummonedCreatureDespawn(Creature* summon) override
{
if (summon->GetEntry() == NPC_MINER)
_minerGUID.Clear();
}
void DoAction(int32 /*param*/) override
{
if (Creature* miner = ObjectAccessor::GetCreature(*me, _minerGUID))
{
me->SetWalk(false);
// Not 100% correct, but movement is smooth. Sometimes miner walks faster
// than normal, this speed is fast enough to keep up at those times.
me->SetSpeedRate(MOVE_RUN, 1.25f);
me->GetMotionMaster()->MoveFollow(miner, 1.0f, 0);
}
}
void PassengerBoarded(Unit* who, int8 /*seatId*/, bool apply) override
{
if (apply)
{
_playerGUID = who->GetGUID();
me->CastSpell((Unit*)NULL, SPELL_SUMMON_MINER, true);
}
else
{
_playerGUID.Clear();
if (Creature* miner = ObjectAccessor::GetCreature(*me, _minerGUID))
miner->DespawnOrUnsummon();
}
}
private:
ObjectGuid _minerGUID;
ObjectGuid _playerGUID;
};
CreatureAI* GetAI(Creature* creature) const override
{
return new npc_scarlet_miner_cartAI(creature);
}
};
/*####
## npc_scarlet_miner
####*/
enum Says_SM
{
SAY_SCARLET_MINER_0 = 0,
SAY_SCARLET_MINER_1 = 1
};
class npc_scarlet_miner : public CreatureScript
{
public:
npc_scarlet_miner() : CreatureScript("npc_scarlet_miner") { }
struct npc_scarlet_minerAI : public npc_escortAI
{
npc_scarlet_minerAI(Creature* creature) : npc_escortAI(creature)
{
Initialize();
me->SetReactState(REACT_PASSIVE);
}
void Initialize()
{
carGUID.Clear();
IntroTimer = 0;
IntroPhase = 0;
}
uint32 IntroTimer;
uint32 IntroPhase;
ObjectGuid carGUID;
void Reset() override
{
Initialize();
}
void IsSummonedBy(Unit* summoner) override
{
carGUID = summoner->GetGUID();
}
void InitWaypoint()
{
AddWaypoint(1, 2389.03f, -5902.74f, 109.014f, 5000);
AddWaypoint(2, 2341.812012f, -5900.484863f, 102.619743f);
AddWaypoint(3, 2306.561279f, -5901.738281f, 91.792419f);
AddWaypoint(4, 2300.098389f, -5912.618652f, 86.014885f);
AddWaypoint(5, 2294.142090f, -5927.274414f, 75.316849f);
AddWaypoint(6, 2286.984375f, -5944.955566f, 63.714966f);
AddWaypoint(7, 2280.001709f, -5961.186035f, 54.228283f);
AddWaypoint(8, 2259.389648f, -5974.197754f, 42.359348f);
AddWaypoint(9, 2242.882812f, -5984.642578f, 32.827850f);
AddWaypoint(10, 2217.265625f, -6028.959473f, 7.675705f);
AddWaypoint(11, 2202.595947f, -6061.325684f, 5.882018f);
AddWaypoint(12, 2188.974609f, -6080.866699f, 3.370027f);
if (urand(0, 1))
{
AddWaypoint(13, 2176.483887f, -6110.407227f, 1.855181f);
AddWaypoint(14, 2172.516602f, -6146.752441f, 1.074235f);
AddWaypoint(15, 2138.918457f, -6158.920898f, 1.342926f);
AddWaypoint(16, 2129.866699f, -6174.107910f, 4.380779f);
AddWaypoint(17, 2117.709473f, -6193.830078f, 13.3542f, 10000);
}
else
{
AddWaypoint(13, 2184.190186f, -6166.447266f, 0.968877f);
AddWaypoint(14, 2234.265625f, -6163.741211f, 0.916021f);
AddWaypoint(15, 2268.071777f, -6158.750977f, 1.822252f);
AddWaypoint(16, 2270.028320f, -6176.505859f, 6.340538f);
AddWaypoint(17, 2271.739014f, -6195.401855f, 13.3542f, 10000);
}
}
void SetGUID(ObjectGuid guid, int32 /*id = 0*/) override
{
InitWaypoint();
Start(false, false, guid);
SetDespawnAtFar(false);
}
void WaypointReached(uint32 waypointId) override
{
switch (waypointId)
{
case 1:
if (Unit* car = ObjectAccessor::GetCreature(*me, carGUID))
me->SetFacingToObject(car);
Talk(SAY_SCARLET_MINER_0);
SetRun(true);
IntroTimer = 4000;
IntroPhase = 1;
break;
case 17:
if (Unit* car = ObjectAccessor::GetCreature(*me, carGUID))
{
me->SetFacingToObject(car);
car->Relocate(car->GetPositionX(), car->GetPositionY(), me->GetPositionZ() + 1);
car->StopMoving();
car->RemoveAura(SPELL_CART_DRAG);
}
Talk(SAY_SCARLET_MINER_1);
break;
default:
break;
}
}
void UpdateAI(uint32 diff) override
{
if (IntroPhase)
{
if (IntroTimer <= diff)
{
if (IntroPhase == 1)
{
if (Creature* car = ObjectAccessor::GetCreature(*me, carGUID))
DoCast(car, SPELL_CART_DRAG);
IntroTimer = 800;
IntroPhase = 2;
}
else
{
if (Creature* car = ObjectAccessor::GetCreature(*me, carGUID))
car->AI()->DoAction(0);
IntroPhase = 0;
}
}
else
IntroTimer -= diff;
}
npc_escortAI::UpdateAI(diff);
}
};
CreatureAI* GetAI(Creature* creature) const override
{
return new npc_scarlet_minerAI(creature);
}
};
// npc 28912 quest 17217 boss 29001 mob 29007 go 191092
void AddSC_the_scarlet_enclave_c1()
{
new npc_unworthy_initiate();
new npc_unworthy_initiate_anchor();
new go_acherus_soul_prison();
new npc_eye_of_acherus();
new npc_death_knight_initiate();
new npc_salanar_the_horseman();
new npc_dark_rider_of_acherus();
new npc_ros_dark_rider();
new npc_dkc1_gothik();
new npc_scarlet_ghoul();
new npc_scarlet_miner();
new npc_scarlet_miner_cart();
}
| [
"timurdelimin@gmail.com"
] | timurdelimin@gmail.com |
4263e1bb6ab6c9e6db0c935c0427b463b6f3bfaa | 79af9aa9d623bd5576d1a984b8ec61cf92a116fe | /BattleTank/Source/BattleTank/Public/TankTurret.h | 81df4769eb4a67e031d907b4349090c091e8dff4 | [] | no_license | Fbocciii/BattleTankProject | c3e6562eb2c9fd0f590aca6456c58792a23acb3b | 2c607b2b7b979f9b079c59157c757d4b2e92eec6 | refs/heads/master | 2020-04-20T17:55:12.049994 | 2019-03-27T02:17:21 | 2019-03-27T02:17:21 | 169,003,293 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 451 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Components/StaticMeshComponent.h"
#include "TankTurret.generated.h"
/**
*
*/
UCLASS( meta = (BlueprintSpawnableComponent))
class BATTLETANK_API UTankTurret : public UStaticMeshComponent
{
GENERATED_BODY()
UPROPERTY(EditDefaultsOnly)
float MaxRotationSpeed = 30.0f;
public:
void Rotate(float RelativeSpeed);
};
| [
"FABocchino@fullsail.edu"
] | FABocchino@fullsail.edu |
e02df35bd7f52e7042a90388a31c8109431d3c3f | e2824fc663a2a6a355182c189638cfe388e956bc | /correct.cpp | ff9ccd660dd84d30ed40bded898becd6a4482ff7 | [] | no_license | ruwanliyanage123/ruwan | 0e1d94a2c3c61ef15a1770e37d59ad799bac93c2 | a142c64c1088faf322ec15da3bd49f3876ddeb81 | refs/heads/master | 2020-03-24T21:27:50.413893 | 2018-08-08T00:28:36 | 2018-08-08T00:28:36 | 143,031,877 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,265 | cpp | #include <iostream>
using namespace std;
void mattix(int n, int m){
float A[m][n];
float b[m];
float c[n];
float x[n];
int u=m+1,v=n+m+2;
float tab[u][v];
int i,j;
cout << "Enter the matrix A : ";
for(int i=0;i<m;i++){
for(int j=0;j<n;j++){
cin >> A[i][j];
}
}
// another
cout << "Enter the matrix b : ";
for(int i=0;i<m;i++){
cin >> b[i];
}
// another
cout << "Enter the matrix c : ";
for(int i=0;i<n;i++){
cin >> c[i];
}
// make tabulator
for(int i=0;i<m+1;i++){
for(int j=0;j<n+m+2;j++){
tab[i][j]=0;
}
}
for(int i=0;i<m;i++){
for(int j=0;j<n;j++){
tab[i][j]=A[i][j];
}
tab[i][n+i]=1;
}
for(int k=0;k<n;k++){
tab[m][k]=c[k];
}
tab[m][n+m]=1;
for(int i=0;i<m;i++){
tab[i][n+m+1]=b[i];
}for(int i=0;i<m;i++){
for(int j=0;j<n;j++){
tab[i][j]=A[i][j];
}
tab[i][n+i]=1;
}
for(int k=0;k<n;k++){
tab[m][k]=c[k];
}
tab[m][n+m]=1;
for(int i=0;i<m;i++){
tab[i][n+m+1]=b[i];
}
bool isNeg=true;
while(isNeg){
isNeg=false;
i=m;
for(j=0;j<n+m+1;j++){
if(tab[i][j]<0){
isNeg=true;
break;
}
}
//cout << isNeg;
//chose pivot
if(isNeg==true){
//chose pivot column
i=m;
int min=0;
for(j=1;j<n+m+1;j++){
if(tab[i][j]<tab[i][min])
min=j;
}
int pivotColumn=min;
//cout << "pivot column: " << pivotColumn << endl;
//chose pivot raw
j=n+m+1;
int mini=0;
for(i=0;i<m;i++){
if(tab[i][j]/tab[i][pivotColumn]<0){
continue;
}for(i=0;i<m;i++){
if(tab[i][j]/tab[i][pivotColumn]<0){
continue;
}
else if(tab[i][j]/tab[i][pivotColumn] <= tab[mini][j]/tab[mini][pivotColumn] || tab[mini][j]/tab[mini][pivotColumn]<0 )
mini=i;
}
int pivotRaw=mini;
//cout << "pivot raw: " << pivotRaw << endl;
//pivot value raw change to 1
float pivotValue= tab[pivotRaw][pivotColumn];
i=pivotRaw;
for(j=0;j<n+m+2;j++){
//cout << 1;
tab[i][j]=tab[i][j]/pivotValue;
}
//print tab
for(i=0;i<u;i++){
for(j=0;j<v;j++){
cout<< tab[i][j] <<" ";
}
cout<<"\n";
}
//change value to 0 pivot column
for(i=0;i<m+1;i++){
if(i!=pivotRaw){
float tem=tab[i][pivotColumn];
for(j=0;j<n+m+2;j++){
tab[i][j]=tab[i][j]-tab[pivotRaw][j]*tem;
}
}
}
cout << "\n";
//print tab
for(i=0;i<u;i++){
for(j=0;j<v;j++){
cout<< tab[i][j] <<" ";
}
cout<<"\n";
}
cout<< "\n";
}
}
//print max values and other values
cout << "Max value : " << tab[u-1][v-1] << endl;
for(i=0;i<n;i++){
x[i]=0;
}
for(j=0;j<n;j++){
bool isBasis=true;
int cou=0;
int raw;for(j=0;j<n;j++){
bool isBasis=true;
int cou=0;
int raw;
for(i=0;i<m+1;i++){
if(tab[i][j]!=0 && tab[i][j] !=1){
isBasis=false;
break;
}
else if(tab[i][j]==1){
if(cou<1){
cou++;
raw=i;
}
else{
break;
isBasis=false;
}
}
}
if(isBasis){
x[j]=tab[raw][n+m+1];
}
}
cout<< "Variable values: " <<endl;
for(i=0;i<n;i++){
cout<< " " <<"x["<<i<<"] : "<< x[i] <<endl;
}
}
int main(){
int n,m;
cout << "Enter number of raws : ";
cin >> m;
cout << "Enter number of coloums : ";
cin >> n;
mattix(n,m);
//fristly enter row and colum of matrix A and after enter A b and c matrix.
}
| [
"ruwanliyanagegalle1994@gmail.com"
] | ruwanliyanagegalle1994@gmail.com |
06b258dfd172a56895c5177865448c4f98749579 | 1ac0ce5c9d1b4cb68205c24d574e08f376938849 | /include/Hashes/Unsafe/MD5.h | 79ed6321f1e20e4e3258595f2fa225d4f86cd051 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | httese/OpenPGP | 685bd9e9c64cd6a18d33281256a2227c42a4deec | 7dce08dc8b72eeb0dcbf3df56d64606a6b957938 | refs/heads/master | 2021-04-07T13:58:50.113894 | 2020-03-20T08:59:26 | 2020-03-20T08:59:26 | 248,680,364 | 0 | 0 | MIT | 2020-03-20T06:03:45 | 2020-03-20T06:03:44 | null | UTF-8 | C++ | false | false | 2,298 | h | /*
MD5.h
MD5 hashing algorithm
Copyright (c) 2013 - 2019 Jason Lee @ calccrypto at 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.
*/
#ifndef __MD5__
#define __MD5__
#include "common/cryptomath.h"
#include "common/includes.h"
#include "Hashes/MerkleDamgard.h"
#include "MD5_Const.h"
namespace OpenPGP {
namespace Hash {
class MD5 : public MerkleDamgard {
private:
struct context{
uint32_t h0, h1, h2, h3;
context(uint32_t h0, uint32_t h1, uint32_t h2, uint32_t h3) :
h0(h0),
h1(h1),
h2(h2),
h3(h3)
{}
~context(){
h0 = h1 = h2 = h3 = 0;
}
};
context ctx;
std::string to_little_end(const std::string & data) const;
void calc(const std::string & data, context & state) const;
public:
MD5();
MD5(const std::string & data);
void update(const std::string & data);
std::string hexdigest();
std::size_t blocksize() const;
std::size_t digestsize() const;
};
}
}
#endif
| [
"calccrypto@gmail.com"
] | calccrypto@gmail.com |
76d1453f85b5598c989c9955e2484c0e93f6d2ea | 494fc35b2dbe5705bdf81e6b5d2615d1198c8559 | /TrackerConditions/inc/StrawElectronicsCache.hh | aefaaeecedf3f93a3ea2e1fc59a43fa181284c56 | [
"Apache-2.0"
] | permissive | shadowbehindthebread/Offline | 36f71913ac789b9381db5143b0fc0bd7349c155e | 57b5055641a4c626a695f3d83237c79758956b6a | refs/heads/master | 2022-11-05T17:44:25.761755 | 2020-06-15T18:07:16 | 2020-06-15T18:07:16 | 273,599,835 | 1 | 0 | Apache-2.0 | 2020-06-19T22:48:25 | 2020-06-19T22:48:24 | null | UTF-8 | C++ | false | false | 2,630 | hh | #ifndef TrackerConditions_StrawElectronicsCache_hh
#define TrackerConditions_StrawElectronicsCache_hh
#include "Mu2eInterfaces/inc/ProditionsCache.hh"
#include "DbTables/inc/DbIoV.hh"
#include "DbService/inc/DbHandle.hh"
#include "DbTables/inc/TrkDelayPanel.hh"
#include "DbTables/inc/TrkPreampRStraw.hh"
#include "DbTables/inc/TrkPreampStraw.hh"
#include "DbTables/inc/TrkThresholdRStraw.hh"
#include "TrackerConditions/inc/StrawElectronicsMaker.hh"
namespace mu2e {
class StrawElectronicsCache : public ProditionsCache {
public:
StrawElectronicsCache(StrawElectronicsConfig const& config):
ProditionsCache("StrawElectronics",config.verbose()),
_useDb(config.useDb()),_maker(config) {}
void initialize() {
if(_useDb) {
_tdp_p = std::make_unique<DbHandle<TrkDelayPanel>>();
_tprs_p = std::make_unique<DbHandle<TrkPreampRStraw>>();
_tps_p = std::make_unique<DbHandle<TrkPreampStraw>>();
_ttrs_p = std::make_unique<DbHandle<TrkThresholdRStraw>>();
}
}
set_t makeSet(art::EventID const& eid) {
ProditionsEntity::set_t cids;
if(_useDb) { // use fcl config, overwrite part from DB
// get the tables up to date
_tdp_p->get(eid);
_tprs_p->get(eid);
_tps_p->get(eid);
_ttrs_p->get(eid);
// save which data goes into this instance of the service
cids.insert(_tdp_p->cid());
cids.insert(_tprs_p->cid());
cids.insert(_tps_p->cid());
cids.insert(_ttrs_p->cid());
}
return cids;
}
DbIoV makeIov(art::EventID const& eid) {
DbIoV iov;
iov.setMax(); // start with full IOV range
if(_useDb) { // use fcl config, overwrite part from DB
// get the tables up to date
_tdp_p->get(eid);
_tprs_p->get(eid);
_tps_p->get(eid);
_ttrs_p->get(eid);
// restrict the valid range ot the overlap
iov.overlap(_tdp_p->iov());
iov.overlap(_tprs_p->iov());
iov.overlap(_tps_p->iov());
iov.overlap(_ttrs_p->iov());
}
return iov;
}
ProditionsEntity::ptr makeEntity(art::EventID const& eid) {
if(_useDb) {
return _maker.fromDb( _tdp_p->getPtr(eid),
_tprs_p->getPtr(eid),
_tps_p->getPtr(eid),
_ttrs_p->getPtr(eid) );
} else {
return _maker.fromFcl();
}
}
private:
bool _useDb;
StrawElectronicsMaker _maker;
// these handles are not default constructed
// so the db can be completely turned off
std::unique_ptr<DbHandle<TrkDelayPanel>> _tdp_p;
std::unique_ptr<DbHandle<TrkPreampRStraw>> _tprs_p;
std::unique_ptr<DbHandle<TrkPreampStraw>> _tps_p;
std::unique_ptr<DbHandle<TrkThresholdRStraw>> _ttrs_p;
};
};
#endif
| [
"rlc@fnal.gov"
] | rlc@fnal.gov |
c3ac1f6228096caf8e254999a2a90299a57f7257 | 5bb0d1a3e6fba84bd0333f3310d074d3af9901a6 | /include/a2sdn.h | 98018d96150d2e3094eb270ec23ff4e24cda17dc | [] | no_license | MushMaw/CMPUT379_ContSwitch | 7e76ad94917b20ec6cce6d63a0a053511dabc7b9 | e9b63276299dd9caea509572ee56b3e00b9ba515 | refs/heads/master | 2020-04-02T12:51:33.707868 | 2018-10-30T06:31:29 | 2018-10-30T06:31:29 | 154,455,211 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 296 | h | /**
* CMPUT 379 - Assignment 2
* Student Name: Jacob Bakker
*/
#if !defined(A2SDN_H)
#define A2SDN_H 1
#include <iostream>
#include <cstdlib>
#include <cstring>
#include <cstdarg>
#include "a2_SwClass.h"
#include "a2_ContClass.h"
#include "a2_parselib.h"
#include "a2_constants.h"
#endif
| [
"jttbakker@gmail.com"
] | jttbakker@gmail.com |
9d2e5a8cddd5994670074279ac508f7181d28601 | 7ec327e08a35fa7ba13e64db417475eed8b258fb | /controllers/ros_custom/include/webots_ros/get_stringRequest.h | 786bacd4a4cf8af2fe88e549140e892c6ddfcf00 | [] | no_license | Federico-Ciuffardi/webots_benchmark | accb69213098b534011c6ddfcd466a8ca1d466b5 | 0c2c2e464cfdc1b0a021e79b7f338884f68903b6 | refs/heads/master | 2023-04-20T01:30:39.314603 | 2021-05-13T19:25:21 | 2021-05-13T19:25:21 | 360,763,711 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,488 | h | /*
* Copyright 1996-2020 Cyberbotics 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 WEBOTS_ROS_MESSAGE_GET_STRINGREQUEST_H
#define WEBOTS_ROS_MESSAGE_GET_STRINGREQUEST_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 webots_ros
{
template <class ContainerAllocator>
struct get_stringRequest_
{
typedef get_stringRequest_<ContainerAllocator> Type;
get_stringRequest_()
: ask(false) {
}
get_stringRequest_(const ContainerAllocator& _alloc)
: ask(false) {
}
typedef uint8_t _ask_type;
_ask_type ask;
typedef boost::shared_ptr< ::webots_ros::get_stringRequest_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::webots_ros::get_stringRequest_<ContainerAllocator> const> ConstPtr;
boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
};
typedef ::webots_ros::get_stringRequest_<std::allocator<void> > get_stringRequest;
typedef boost::shared_ptr< ::webots_ros::get_stringRequest > get_stringRequestPtr;
typedef boost::shared_ptr< ::webots_ros::get_stringRequest const> get_stringRequestConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::webots_ros::get_stringRequest_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::webots_ros::get_stringRequest_<ContainerAllocator> >::stream(s, "", v);
return s;
}
} // namespace webots_ros
namespace ros
{
namespace message_traits
{
// BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': False}
// {'std_msgs': ['/opt/ros/groovy/share/std_msgs/msg'], 'webots_ros
// !!!!!!!!!!! ['__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< ::webots_ros::get_stringRequest_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::webots_ros::get_stringRequest_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::webots_ros::get_stringRequest_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::webots_ros::get_stringRequest_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct HasHeader< ::webots_ros::get_stringRequest_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::webots_ros::get_stringRequest_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::webots_ros::get_stringRequest_<ContainerAllocator> >
{
static const char* value()
{
return "3bf99d9257a34f6cdd01cd192a62b3df";
}
static const char* value(const ::webots_ros::get_stringRequest_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0xf9df5232b65af94fULL;
static const uint64_t static_value2 = 0x73f79fe6d84301bbULL;
};
template<class ContainerAllocator>
struct DataType< ::webots_ros::get_stringRequest_<ContainerAllocator> >
{
static const char* value()
{
return "webots_ros/get_stringRequest";
}
static const char* value(const ::webots_ros::get_stringRequest_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::webots_ros::get_stringRequest_<ContainerAllocator> >
{
static const char* value()
{
return "bool ask\n\\n\
\n\
";
}
static const char* value(const ::webots_ros::get_stringRequest_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::webots_ros::get_stringRequest_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.ask);
}
ROS_DECLARE_ALLINONE_SERIALIZER;
};
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::webots_ros::get_stringRequest_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::webots_ros::get_stringRequest_<ContainerAllocator>& v)
{
s << indent << "ask: ";
Printer<uint8_t>::stream(s, indent + " ", v.ask);
}
};
} // namespace message_operations
} // namespace ros
#endif // WEBOTS_ROS_MESSAGE_GET_STRINGREQUEST_H
| [
"federico.ciuffardi@outlook.com"
] | federico.ciuffardi@outlook.com |
fd750ac3b42d31bc78d443b87e25f839e35f86f8 | 53635c70f08969fe29da4bda242ffa117a39d850 | /OpenGL_Tuto/render/render_pipeline.h | 9766a659e662cdabf69895704b37011542fe4bb5 | [] | no_license | theDoubi125/OpenGL_Tuto | 161adc246d0e883fbf1fb251a582279336811a88 | 72ad6864fbee2736dc68b91b857cbd147688cbab | refs/heads/master | 2020-04-22T09:21:46.437016 | 2019-07-20T23:32:42 | 2019-07-20T23:32:42 | 170,269,524 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 579 | h |
class Camera;
namespace render
{
namespace shaders
{
namespace gBuffer
{
extern GLuint shader;
extern GLuint diffuseAttr;
extern GLuint specularAttr;
extern GLuint modelAttr;
extern GLuint projectionAttr;
extern GLuint viewAttr;
extern GLuint viewPosAttr;
}
}
extern unsigned int finalTexture;
void init(unsigned int SCR_WIDTH, unsigned int SCR_HEIGHT);
void clear_frame();
void start_render();
void start_lighting();
void render_screen(int texture);
void render_deferred();
void debug_texture_selector(unsigned int* selectedTexture);
} | [
"julien.revel@telecomnancy.net"
] | julien.revel@telecomnancy.net |
8812c5e95f533f96d5e6c5bed1794e12d54fe817 | 5e7ae8da3408dbfbe029c86f0c96d27f6f1d3713 | /TreeNode.h | fecc5d007c883f7a846a7fb00fa4b96cdb3d7e5e | [] | no_license | shea666/DTlib | f8707f8eb80528bf80242b6ecb4598b1f8221c17 | 64c9771c4c3747cfaba89ed910e3040553a9bff5 | refs/heads/master | 2021-09-05T07:38:19.541176 | 2018-01-25T09:27:25 | 2018-01-25T09:27:25 | 112,706,207 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 665 | h | #ifndef TREENODE_H
#define TREENODE_H
#include "Object.h"
namespace DTlib
{
template <typename T>
class TreeNode : public Object
{
public :
T value;
TreeNode<T>* parent;
bool m_flag;
TreeNode(const TreeNode<T>&);
TreeNode<T>& operator=(const TreeNode<T>&);
void* operator new(unsigned int size) throw()
{
return Object::operator new(size);
}
TreeNode()
{
m_flag = false;
parent = NULL;
}
bool flag()
{
return m_flag;
}
virtual ~TreeNode() = 0;
};
template <typename T>
TreeNode<T> :: ~TreeNode()
{
}
}
#endif // TREENODE_H
| [
"344384291@qq.com"
] | 344384291@qq.com |
183bcff1c0144e29426605c2cec51f195a841ea0 | aae79375bee5bbcaff765fc319a799f843b75bac | /yukicoder_1xx/138.cpp | f76e52be077fdcb8852d43a8e1a426ed424c585d | [] | no_license | firewood/topcoder | b50b6a709ea0f5d521c2c8870012940f7adc6b19 | 4ad02fc500bd63bc4b29750f97d4642eeab36079 | refs/heads/master | 2023-08-17T18:50:01.575463 | 2023-08-11T10:28:59 | 2023-08-11T10:28:59 | 1,628,606 | 21 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 439 | cpp | #include <iostream>
#include <algorithm>
#include <sstream>
#include <cstdio>
using namespace std;
int main(int argc, char *argv[])
{
int N, K;
string s;
getline(cin, s);
int a, b, c;
sscanf(s.c_str(), "%d.%d.%d", &a, &b, &c);
getline(cin, s);
int d, e, f;
sscanf(s.c_str(), "%d.%d.%d", &d, &e, &f);
bool old = d < a || d == a && (e < b || e == b && f <= c);
string ans = old ? "YES" : "NO";
cout << ans << endl;
return 0;
}
| [
"karamaki@gmail.com"
] | karamaki@gmail.com |
3f185108518ff2cc80eec072d66e6ee4c14da1d5 | 6a1de3fed2d37375e29a02bb1aa521d567c758f7 | /leetcode/RemoveInvalidParentheses.cpp | 24e36ef61b88a8332e9a4a96e956c5a0aadbf1fc | [] | no_license | chenx/oj | ae73c031a68c3914b35fe3b32ada9c553a185ded | 09bd581782c3946bf6bb0326665a08f9164c243f | refs/heads/master | 2022-08-31T23:54:21.338271 | 2022-08-06T07:58:34 | 2022-08-06T07:58:34 | 15,201,007 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,230 | cpp | // Another solution:
// https://leetcode.com/discuss/81478/easy-short-concise-and-fast-java-dfs-3-ms-solution
// Works. Modified from Solution to be more clear.
class Solution2 {
public:
vector<string> removeInvalidParentheses(string s) {
vector<string> res;
int maxLeftCount = 0;
dfs(res, s, "", 0, 0, maxLeftCount);
if (res.size() == 0) res.push_back("");
return res;
}
// s: input string; p: valid parentheses string; diff: # of '(' minus # of ')';
// leftCount: number of '(' in valid p. maxLeftCount: max value of leftCount.
void dfs(vector<string> &res, string s, string p, int diff, int leftCount, int & maxLeftCount){
if (s == "") {
if (diff == 0 && p != "") {
maxLeftCount = max(maxLeftCount, leftCount);
if (maxLeftCount == leftCount &&
find(res.begin(), res.end(), p) == res.end()) {
res.push_back(p);
}
}
return;
}
if (s[0] == '(') {
dfs(res, s.substr(1), p + '(', diff + 1, leftCount + 1, maxLeftCount);
dfs(res, s.substr(1), p, diff, leftCount, maxLeftCount); // remove this '('.
} else if (s[0] == ')') {
if (diff > 0) dfs(res, s.substr(1), p + ')', diff - 1, leftCount, maxLeftCount);
dfs(res, s.substr(1), p, diff, leftCount, maxLeftCount); // remove this ')'.
} else {
dfs(res, s.substr(1), p + s[0], diff, leftCount, maxLeftCount); // ignore letter.
}
}
};
// Works. From: https://leetcode.com/discuss/68272/straight-forward-solution-with-explanation
class Solution {
public:
vector<string> removeInvalidParentheses(string s) {
int maxv = 0;
vector<string> res;
dfs(res, maxv, s, "", 0, 0);
if (res.size() == 0) res.push_back("");
return res;
}
void dfs(vector<string> &res, int &maxv, string str, string subRes, int countLeft, int maxLeft){
if (str == "") {
if (countLeft == 0 && subRes != "") {
if (maxLeft > maxv) maxv = maxLeft;
if (maxv == maxLeft &&
find(res.begin(), res.end(), subRes) == res.end()) res.push_back(subRes);
}
return;
}
if (str[0] == '(') {
dfs(res, maxv, str.substr(1), subRes + '(', countLeft + 1, maxLeft + 1);
dfs(res, maxv, str.substr(1), subRes, countLeft, maxLeft);
} else if (str[0] == ')') {
if (countLeft > 0) {
dfs(res, maxv, str.substr(1), subRes + ')', countLeft - 1, maxLeft);
}
dfs(res, maxv, str.substr(1), subRes, countLeft, maxLeft);
} else {
dfs(res, maxv, str.substr(1), subRes + str[0], countLeft, maxLeft);
}
}
};
/**
Remove Invalid Parentheses
Difficulty: Hard
Remove the minimum number of invalid parentheses in order to
make the input string valid. Return all possible results.
Note: The input string may contain letters other than the
parentheses ( and ).
Examples:
"()())()" -> ["()()()", "(())()"]
"(a)())()" -> ["(a)()()", "(a())()"]
")(" -> [""]
*/
| [
"txchen@gmail.com"
] | txchen@gmail.com |
2b456d3b5b1b372b8aecfc0eb2da477c5fc8cd2d | e5f1e6f2d822a83863e5a8893abb96dda6435697 | /src/FreezeEffect.h | 31176d8d0fb89957d4f6c5d79a2437444b37d1ea | [] | no_license | maxlund/minion-massacre | 39187bd44c7ae43b6e9382717c1d0f48a78e3388 | 30f2c4356927cb2787bacdd8410fadfa35d24ae8 | refs/heads/master | 2021-09-07T03:22:48.736182 | 2018-02-16T14:30:17 | 2018-02-16T14:30:17 | 103,815,197 | 0 | 1 | null | 2018-01-29T13:31:18 | 2017-09-17T08:48:02 | C++ | UTF-8 | C++ | false | false | 304 | h | //
// Created by maxlu701 on 2017-05-19.
//
#ifndef TDDI22_PROJEKT_FREEZEEFFECT_H
#define TDDI22_PROJEKT_FREEZEEFFECT_H
#include "Effect.h"
class FreezeEffect: public Effect
{
public:
FreezeEffect(Minion*);
void update(sf::Time deltaTime) override;
};
#endif //TDDI22_PROJEKT_FREEZEEFFECT_H
| [
"maxlu701@student.liu.se"
] | maxlu701@student.liu.se |
060445dbc7e54908974502a80c39ee3aaa2cdb34 | 1bf8b46afad5402fe6fa74293b464e1ca5ee5fd7 | /Demo/Shenmue3SDK/SDK/BP_TalkCamera_OB_PairTest01_parameters.h | b60563dbbd4db076c524b7b816a94a0fbab56251 | [] | no_license | LemonHaze420/ShenmueIIISDK | a4857eebefc7e66dba9f667efa43301c5efcdb62 | 47a433b5e94f171bbf5256e3ff4471dcec2c7d7e | refs/heads/master | 2021-06-30T17:33:06.034662 | 2021-01-19T20:33:33 | 2021-01-19T20:33:33 | 214,824,713 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,408 | h | #pragma once
#include "../SDK.h"
// Name: S3Demo, Version: 0.90.0
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Parameters
//---------------------------------------------------------------------------
// Function BP_TalkCamera_OB_PairTest01.BP_TalkCamera_OB_PairTest01_C.UserConstructionScript
struct ABP_TalkCamera_OB_PairTest01_C_UserConstructionScript_Params
{
};
// Function BP_TalkCamera_OB_PairTest01.BP_TalkCamera_OB_PairTest01_C.ReceiveBeginPlay
struct ABP_TalkCamera_OB_PairTest01_C_ReceiveBeginPlay_Params
{
};
// Function BP_TalkCamera_OB_PairTest01.BP_TalkCamera_OB_PairTest01_C.ReceiveTick
struct ABP_TalkCamera_OB_PairTest01_C_ReceiveTick_Params
{
float* DeltaSeconds; // (BlueprintVisible, BlueprintReadOnly, Parm, ZeroConstructor, IsPlainOldData)
};
// Function BP_TalkCamera_OB_PairTest01.BP_TalkCamera_OB_PairTest01_C.ExecuteUbergraph_BP_TalkCamera_OB_PairTest01
struct ABP_TalkCamera_OB_PairTest01_C_ExecuteUbergraph_BP_TalkCamera_OB_PairTest01_Params
{
int EntryPoint; // (BlueprintVisible, BlueprintReadOnly, Parm, ZeroConstructor, IsPlainOldData)
};
}
#ifdef _MSC_VER
#pragma pack(pop)
#endif
| [
"35783139+LemonHaze420@users.noreply.github.com"
] | 35783139+LemonHaze420@users.noreply.github.com |
7ddb69015270d6220a25f27fd835215643525226 | 74bdc90df12ffe6d885806bc7cd98b1056430c00 | /2회차/base/OzoLed.ino | 92c35af68b3e4fc461a704fdd36f1fea788c8e4f | [] | no_license | manisjun/SeoHyun_IOT_2020 | f2d45aaa0f71a2198d50cd2f87c415db6bd6a37f | 73d7ec96e270cb7b85263c061cb64d71a3280ed6 | refs/heads/master | 2022-11-19T08:42:39.385496 | 2020-07-22T08:25:42 | 2020-07-22T08:25:42 | 278,222,587 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 273 | ino | #include <OzOLED.h>
void Ozo_setup() {
OzOled.init();
}
void Ozo_loop() {
OzOled.printString("humidity : ", 0, 0);
OzOled.printNumber((long)humi, 11, 0);
OzOled.printString("temperature : ", 0, 1);
OzOled.printNumber((long)temp, 13, 1);
}
| [
"manisjun28@gmail.com"
] | manisjun28@gmail.com |
9dc5510b7eb9d9212d5cd520d6cf54d71e60dcc8 | c469003d257274e74a16322617cc1056e11ae2ea | /Exercitiul2 ListaDubla/Source.cpp | b0771a68cec7dbbbbcac291c8ee5573f7bb1573d | [] | no_license | aduJohn/Data-Structures-in-C | 310db65f900e3286a55ac11cd29e3e01d9a1fecb | cd5db583b0e3896436c02798307caabb85ce3909 | refs/heads/master | 2020-04-27T09:02:32.742729 | 2020-03-10T21:13:17 | 2020-03-10T21:13:17 | 174,197,926 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,198 | cpp | //2. Sa se scrie functia pentru adunarea a doua matrice rare memorate ca liste duble.
#include <iostream>
#include <stdio.h>
#include <malloc.h>
using namespace std;
struct nodld {
int linie;
int coloana;
int valoare;
int nrLinii;
int nrColoane;
nodld* next;
nodld* prev;
};
void inserareListaDubla(nodld** cap, int i, int j, int val,int n,int m) {
nodld* nou = (nodld*)malloc(sizeof(nodld));
nou->coloana = j;
nou->linie = i;
nou->valoare = val;
nou->nrLinii = n;
nou->nrColoane = m;
nou->next = NULL;
nou->prev = NULL;
if (*cap == NULL) {
*cap = nou;
}
else {
nodld* temp = *cap;
while (temp->next) {
temp = temp->next;
}
temp->next = nou;
nou->prev = temp;
}
}
void citireMatriceRara(nodld** cap) {
printf("\nCare este numarul de linii?");
int n = 0;
scanf("%d", &n);
printf("\nCare este numarul de coloane");
int m = 0;
int val;
scanf("%d", &m);
for (int i = 0; i < n; i++) {
for (int j = 0; j < m; j++) {
scanf("%d", &val);
if (val != 0) {
inserareListaDubla(cap, i, j, val, n, m);
}
}
}
}
int gasireElement(nodld* cap, int i, int j) {
nodld* temp = cap;
while (temp) {
if (temp->linie == i && temp->coloana == j) {
return temp->valoare;
}
temp = temp->next;
}
return 0;
}
void afisareMatriceListaDubla(nodld* cap) {
int n = cap->nrLinii;
int m = cap->nrColoane;
for (int i = 0; i < n; i++) {
for(int j = 0; j < m; j++) {
printf("%d ", gasireElement(cap, i, j));
}
printf("\n");
}
}
void traversareListaDubla(nodld* cap) {
nodld* temp = cap;
printf("\n------------------------\n");
printf("Matricea are %d linii si %d coloane", temp->nrLinii, temp->nrColoane);
while (temp) {
printf("\nNodul [%d][%d]=%d", temp->linie, temp->coloana, temp->valoare);
temp = temp->next;
}
}
nodld* sumaMatriceRara(nodld* cap1, nodld* cap2) {
nodld* suma = NULL;
if (cap1->nrColoane == cap2->nrColoane&&cap1->nrLinii == cap2->nrLinii) {
for (int i = 0; i < cap1->nrLinii; i++) {
for (int j = 0; j < cap2->nrColoane; j++) {
if (gasireElement(cap1, i, j) + gasireElement(cap2, i, j) != 0) {
inserareListaDubla(&suma, i, j, gasireElement(cap1, i, j) + gasireElement(cap2, i, j), cap1->nrLinii, cap1->nrColoane);
}
}
}
printf("\nSuma a fost efectuata cu succes:\n");
afisareMatriceListaDubla(suma);
return suma;
}
else {
printf("\nSuma nu s-a putut efectua...");
return NULL;
}
}
void dezalocareListaDubla(nodld** cap) {
nodld* temp = *cap;
while (temp) {
nodld* temp2 = temp;
temp = temp->next;
free(temp2);
}
*cap = NULL;
}
int main() {
nodld* cap1 = NULL;
nodld* cap2 = NULL;
citireMatriceRara(&cap1);
printf("\n");
traversareListaDubla(cap1);
printf("\n");
afisareMatriceListaDubla(cap1);
printf("\n");
citireMatriceRara(&cap2);
printf("\n");
traversareListaDubla(cap2);
printf("\n");
afisareMatriceListaDubla(cap2);
printf("\n----------------------------\n");
nodld* suma = sumaMatriceRara(cap1, cap2);
dezalocareListaDubla(&cap1);
dezalocareListaDubla(&cap2);
dezalocareListaDubla(&suma);
system("pause");
return 0;
} | [
"noreply@github.com"
] | noreply@github.com |
b19918e8f4ea2d708ede9d8419bf1071823765aa | b07f00ca744354709302623c41527a01183f1dff | /Coffee2D/Include/Vec2.hpp | 9b983ce0002c55481d63361dc8de003765e3d445 | [
"MIT"
] | permissive | QuadDev/Coffee2D | ba5c0525e2386e9f65ec6577d252e97417951cf7 | 18f1b03b65f37e9204cca06a36d5d57229d5e141 | refs/heads/master | 2016-09-06T13:41:37.557323 | 2015-05-18T12:38:43 | 2015-05-18T12:38:43 | 35,816,210 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,739 | hpp | #pragma once
//META INFO
//Author: ¾ç±³¿ø(gyowonhikari@gmail.com)
namespace Coffee2D
{
class ENGINE_API Vec2
{
public:
Vec2(float xx, float yy);
Vec2(float value);
Vec2(const Vec2& value);
Vec2(Vec2&& value);
Vec2();
//Get, Setter X
GETSETTER(float, x, X);
//Get, Setter Y
GETSETTER(float, y, Y);
//Compute Function
//Add Value at Vector
void add(float value);
//Multiply Value at Vector
void multiply(float value);
//Divide Value at Vector
void divide(float value);
//Check this Vector is Zero(x == 0, y == 0)
bool isZero() const;
//Check this Vector is One(x == 1, y == 1)
bool isOne() const;
//Check this Vector is Unit(Vector Size == 1)
bool isUnit() const;
//Check this Vector and Target Vector is Equal (Src.x == Target.x, Src.y == Target.y)
bool isEqual(const Vec2& target);
//Get this Vector's Unit Vector (x/VectorSize, y/VectorSize)
Vec2 getUnit() const;
//Normalize this Vector (x = x/VectorSize, y = y/VectorSize)
void normalize();
//Get Squared Vector Size {(x * x) + (y * y)}
float getSquaredSize() const;
//Get Vector Size {sqrt(Squared Vector Size)}
float getSize() const;
//Get Vector's Dot Product {(Src.x * Target.x) + (Src.y * Target.y)}
float dot(const Vec2& target) const;
//Get Vector's Simillar Cross Product (x = -Src.y, y = Src.originX)
Vec2 sCross() const;
//Get Vector's Angle { acos(dot / (VectorSize * target.VectorSize)) }
//Return to Radian
float angle(const Vec2& target) const;
//Get Vector's Angle
//Return to Degree
float angleDegree(const Vec2& target) const;
private:
//Member Var
float x; //x Scalar
float y; //y Scalar
};
}
| [
"gyowonhikari@gmail.com"
] | gyowonhikari@gmail.com |
a2b44de970ef223b5febfc2114e4c46472d62937 | c61c19b103a4229dd94d452d6c6a19f15c3b53be | /codeforces/1389A.cpp | 5388fe3fa2d0cb6857a9ac66dbe5d7f81bac64e2 | [] | no_license | nathanramli/my-algorithm-exercise | 41178ef677fc7663dd4d4e41cea822b02aec345c | 892aa4d0019fbdb40f227d7ea222eb6e21a24232 | refs/heads/master | 2023-07-09T21:40:31.629911 | 2021-08-17T14:56:49 | 2021-08-17T14:56:49 | 275,311,168 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 278 | cpp | #include <bits/stdc++.h>
typedef long long ll;
using namespace std;
int main(){
int t;
cin >> t;
ll l, r;
while (t--)
{
cin >> l >> r;
if(l * 2 > r) cout << -1 << ' ' << -1 << '\n';
else cout << l << ' ' << l * 2 << '\n';
}
} | [
"hezkyanatanael84@gmail.com"
] | hezkyanatanael84@gmail.com |
921daf85b41cc342b9627892c0bb82e27bfb34af | 6a1497d99d1c2e27c168ca5a9440c5429d96d169 | /Toolbox/Common/UndoManager.cpp | 90ccf8d4fd428ddb4244994cce62171146b6b481 | [
"MIT"
] | permissive | rokups/Urho3D-Toolbox | 8a7b5d7eef33e99aa6fd9b9e9808c27058ca40e3 | 9d0a525e44b5883dbc617b5d29d5fb3640667eae | refs/heads/master | 2021-05-07T01:34:00.494392 | 2017-12-06T15:43:46 | 2017-12-06T15:43:46 | 110,362,127 | 5 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 14,379 | cpp | //
// Copyright (c) 2008-2017 the Urho3D project.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//
#include <Urho3D/Core/Context.h>
#include <Urho3D/Core/CoreEvents.h>
#include <Urho3D/IO/Log.h>
#include <Urho3D/Scene/Component.h>
#include <Urho3D/Scene/Node.h>
#include <Urho3D/Scene/Scene.h>
#include <Urho3D/Scene/SceneEvents.h>
#include <Urho3D/UI/UI.h>
#include "Common/UndoManager.h"
#include "SystemUI/AttributeInspector.h"
#include "SystemUI/Gizmo.h"
#include "SystemUI/SystemUIEvents.h"
namespace Urho3D
{
namespace Undo
{
AttributeState::AttributeState(Serializable* item, const String& name, const Variant& value)
: item_(item)
, name_(name)
, value_(value)
{
}
void AttributeState::Apply()
{
item_->SetAttribute(name_, value_);
item_->ApplyAttributes();
}
bool AttributeState::Equals(State* other) const
{
auto other_ = dynamic_cast<AttributeState*>(other);
if (!other_)
return false;
if (item_ != other_->item_)
return false;
return value_ == other_->value_;
}
String AttributeState::ToString() const
{
return Urho3D::ToString("AttributeState %s = %s", name_.CString(), value_.ToString().CString());
}
ElementParentState::ElementParentState(UIElement* item, UIElement* parent) : item_(item), parent_(parent)
{
if (parent)
index_ = parent->FindChild(item);
}
void ElementParentState::Apply()
{
if (parent_.NotNull())
item_->SetParent(parent_, index_);
else
item_->Remove();
}
bool ElementParentState::Equals(State* other) const
{
auto other_ = dynamic_cast<ElementParentState*>(other);
if (other_ == nullptr)
return false;
return item_ == other_->item_ && parent_ == other_->parent_ && index_ == other_->index_;
}
String ElementParentState::ToString() const
{
return Urho3D::ToString("ElementParentState parent = %p child = %p index = %d", parent_.Get(), item_.Get(), index_);
}
NodeParentState::NodeParentState(Node* item, Node* parent) : item_(item), parent_(parent)
{
if (parent)
index_ = parent->GetChildren().IndexOf(SharedPtr<Node>(item));
}
void NodeParentState::Apply()
{
if (parent_.NotNull())
parent_->AddChild(item_, index_);
else
item_->Remove();
}
bool NodeParentState::Equals(State* other) const
{
auto other_ = dynamic_cast<NodeParentState*>(other);
if (other_ == nullptr)
return false;
return item_ == other_->item_ && parent_ == other_->parent_ && index_ == other_->index_;
}
String NodeParentState::ToString() const
{
return Urho3D::ToString("NodeParentState parent = %p child = %p index = %d", parent_.Get(), item_.Get(), index_);
}
ComponentParentState::ComponentParentState(Component* item, Node* parent) : item_(item), parent_(parent)
{
id_ = item->GetID();
}
void ComponentParentState::Apply()
{
if (parent_.NotNull())
{
if (!parent_->HasComponent(item_->GetType()))
{
parent_->AddComponent(item_, id_, LOCAL); // Replication mode is irrelevant, because it is used only for
// ID creation.
}
}
else
item_->Remove();
}
bool ComponentParentState::Equals(State* other) const
{
auto other_ = dynamic_cast<ComponentParentState*>(other);
if (other_ == nullptr)
return false;
return item_ == other_->item_ && parent_ == other_->parent_ && id_ == other_->id_;
}
String ComponentParentState::ToString() const
{
return Urho3D::ToString("ComponentParentState parent = %p child = %p id = %d", parent_.Get(), item_.Get(), id_);
}
XMLVariantState::XMLVariantState(const XMLElement& item, const Variant& value) : item_(item), value_(value)
{
}
void XMLVariantState::Apply()
{
item_.SetVariant(value_);
}
bool XMLVariantState::Equals(State* other) const
{
auto other_ = dynamic_cast<XMLVariantState*>(other);
if (other_ == nullptr)
return false;
return item_ == other_->item_ && value_ == other_->value_;
}
String XMLVariantState::ToString() const
{
return Urho3D::ToString("XMLVariantState value = %s", value_.ToString().CString());
}
XMLParentState::XMLParentState(const XMLElement& item, const XMLElement& parent) : item_(item), parent_(parent)
{
}
void XMLParentState::Apply()
{
if (parent_.NotNull())
parent_.AppendChild(item_);
else
item_.GetParent().RemoveChild(item_);
}
bool XMLParentState::Equals(State* other) const
{
auto other_ = dynamic_cast<XMLParentState*>(other);
if (other_ == nullptr)
return false;
return item_.GetNode() == other_->item_.GetNode() && parent_.GetNode() == other_->parent_.GetNode();
}
String XMLParentState::ToString() const
{
return Urho3D::ToString("XMLParentState parent = %s", parent_.IsNull() ? "null" : "set");
}
void StateCollection::Apply()
{
for (auto& state : states_)
state->Apply();
}
bool StateCollection::Contains(State* other) const
{
for (const auto& state : states_)
{
if (state->Equals(other))
return true;
}
return false;
}
bool StateCollection::PushUnique(const SharedPtr<State>& state)
{
if (!Contains(state))
{
states_.Push(state);
return true;
}
return false;
}
Manager::Manager(Context* ctx) : Object(ctx)
{
SubscribeToEvent(E_ENDFRAME, [&](StringHash, VariantMap&)
{
if (!trackingSuspended_)
{
assert(previous_.Size() == next_.Size());
if (previous_.Size())
{
// When stack is empty we insert two items - old state and new state. When stack already has states
// saved - we save old state to the state collection at the end of the stack and insert new
// collection for a new state.
if (stack_.Empty())
{
stack_.Resize(1);
index_++;
}
for (auto& state : previous_)
{
if (stack_.Back().PushUnique(state))
URHO3D_LOGDEBUGF("UNDO: Save %d: %s", index_, state->ToString().CString());
}
index_++;
stack_.Resize(index_ + 1);
for (auto& state : next_)
{
if (stack_.Back().PushUnique(state))
URHO3D_LOGDEBUGF("UNDO: Save %d: %s", index_, state->ToString().CString());
}
previous_.Clear();
next_.Clear();
}
}
});
}
void Manager::Undo()
{
ApplyStateFromStack(false);
}
void Manager::Redo()
{
ApplyStateFromStack(true);
}
void Manager::Clear()
{
previous_.Clear();
next_.Clear();
stack_.Clear();
index_ = -1;
}
void Manager::ApplyStateFromStack(bool forward)
{
trackingSuspended_ = true;
int direction = forward ? 1 : -1;
index_ += direction;
if (index_ >= 0 && index_ < stack_.Size())
{
stack_[index_].Apply();
URHO3D_LOGDEBUGF("Undo: apply %d", index_);
}
index_ = Clamp<int32_t>(index_, 0, stack_.Size() - 1);
trackingSuspended_ = false;
}
void Manager::TrackState(Serializable* item, const String& name, const Variant& value, const Variant& oldValue)
{
// Item has it's state already modified, manually track the change.
TrackBefore<AttributeState>(item, name, oldValue);
TrackAfter<AttributeState>(item, name, value);
}
XMLElement Manager::XMLCreate(XMLElement& parent, const String& name)
{
auto element = parent.CreateChild(name);
TrackBefore<XMLParentState>(element); // "Removed" element has empty variant value.
TrackAfter<XMLParentState>(element, element.GetParent()); // When value is set element exists.
return element;
}
void Manager::XMLRemove(XMLElement& element)
{
TrackBefore<XMLParentState>(element, element.GetParent()); // When value is set element exists.
TrackAfter<XMLParentState>(element); // "Removed" element has empty variant value.
element.Remove();
}
void Manager::XMLSetVariantValue(XMLElement& element, const Variant& value)
{
TrackBefore<XMLVariantState>(element, element.GetVariant());
TrackAfter<XMLVariantState>(element, value);
element.SetVariantValue(value);
}
template<typename T, typename... Args>
void Manager::TrackBefore(Args... args)
{
previous_.Push(SharedPtr<State>(new T(args...)));
}
template<typename T, typename... Args>
void Manager::TrackAfter(Args... args)
{
next_.Push(SharedPtr<State>(new T(args...)));
}
void Manager::Connect(Scene* scene)
{
SubscribeToEvent(scene, E_NODEADDED, [&](StringHash, VariantMap& args) {
if (trackingSuspended_)
return;
using namespace NodeRemoved;
auto node = dynamic_cast<Node*>(args[P_NODE].GetPtr());
auto parent = dynamic_cast<Node*>(args[P_PARENT].GetPtr());
TrackBefore<NodeParentState>(node, nullptr); // Removed from the scene state
TrackAfter<NodeParentState>(node, parent); // Present in the scene state
});
SubscribeToEvent(scene, E_NODEREMOVED, [&](StringHash, VariantMap& args) {
if (trackingSuspended_)
return;
using namespace NodeRemoved;
auto node = dynamic_cast<Node*>(args[P_NODE].GetPtr());
auto parent = dynamic_cast<Node*>(args[P_PARENT].GetPtr());
TrackBefore<NodeParentState>(node, parent); // Present in the scene state
TrackAfter<NodeParentState>(node, nullptr); // Removed from the scene state
});
SubscribeToEvent(scene, E_COMPONENTADDED, [&](StringHash, VariantMap& args) {
if (trackingSuspended_)
return;
using namespace ComponentAdded;
auto component = dynamic_cast<Component*>(args[P_COMPONENT].GetPtr());
auto parent = dynamic_cast<Node*>(args[P_NODE].GetPtr());
TrackBefore<ComponentParentState>(component, nullptr);
TrackAfter<ComponentParentState>(component, parent);
});
SubscribeToEvent(scene, E_COMPONENTREMOVED, [&](StringHash, VariantMap& args) {
if (trackingSuspended_)
return;
using namespace ComponentAdded;
auto component = dynamic_cast<Component*>(args[P_COMPONENT].GetPtr());
auto parent = dynamic_cast<Node*>(args[P_NODE].GetPtr());
TrackBefore<ComponentParentState>(component, parent);
TrackAfter<ComponentParentState>(component, nullptr);
});
}
void Manager::Connect(AttributeInspector* inspector)
{
SubscribeToEvent(inspector, E_ATTRIBUTEINSPECTVALUEMODIFIED, [&](StringHash, VariantMap& args) {
if (trackingSuspended_)
return;
using namespace AttributeInspectorValueModified;
auto item = dynamic_cast<Serializable*>(args[P_SERIALIZABLE].GetPtr());
auto attributeName = reinterpret_cast<AttributeInfo*>(args[P_ATTRIBUTEINFO].GetVoidPtr())->name_;
TrackBefore<AttributeState>(item, attributeName, args[P_OLDVALUE]);
TrackAfter<AttributeState>(item, attributeName, args[P_NEWVALUE]);
});
}
void Manager::Connect(UIElement* root)
{
SubscribeToEvent(E_ELEMENTADDED, [&, root](StringHash, VariantMap& args) {
if (trackingSuspended_)
return;
using namespace ElementAdded;
auto element = dynamic_cast<UIElement*>(args[P_ELEMENT].GetPtr());
auto parent = dynamic_cast<UIElement*>(args[P_PARENT].GetPtr());
auto eventRoot = dynamic_cast<UIElement*>(args[P_ROOT].GetPtr());
if (root != eventRoot)
return;
TrackBefore<ElementParentState>(element, nullptr); // Removed from the scene state
TrackAfter<ElementParentState>(element, parent); // Present in the scene state
});
SubscribeToEvent(E_ELEMENTREMOVED, [&, root](StringHash, VariantMap& args) {
if (trackingSuspended_)
return;
using namespace ElementRemoved;
auto element = dynamic_cast<UIElement*>(args[P_ELEMENT].GetPtr());
auto parent = dynamic_cast<UIElement*>(args[P_PARENT].GetPtr());
auto eventRoot = dynamic_cast<UIElement*>(args[P_ROOT].GetPtr());
if (root != eventRoot)
return;
TrackBefore<ElementParentState>(element, parent); // Removed from the scene state
TrackAfter<ElementParentState>(element, nullptr); // Present in the scene state
});
}
void Manager::Connect(Gizmo* gizmo)
{
SubscribeToEvent(gizmo, E_GIZMONODEMODIFIED, [&](StringHash, VariantMap& args) {
using namespace GizmoNodeModified;
auto node = dynamic_cast<Node*>(args[P_NODE].GetPtr());
auto oldTransform = args[P_OLDTRANSFORM].GetMatrix3x4();
auto newTransform = args[P_NEWTRANSFORM].GetMatrix3x4();
TrackBefore<AttributeState>(node, "Position", oldTransform.Translation());
TrackBefore<AttributeState>(node, "Rotation", oldTransform.Rotation());
TrackBefore<AttributeState>(node, "Scale", oldTransform.Scale());
TrackAfter<AttributeState>(node, "Position", newTransform.Translation());
TrackAfter<AttributeState>(node, "Rotation", newTransform.Rotation());
TrackAfter<AttributeState>(node, "Scale", newTransform.Scale());
});
}
}
}
| [
"rokups@zoho.com"
] | rokups@zoho.com |
fbfc5c445d0eae1b051973938cd4a7e117b379e8 | 22eec4e5979b3e14e4817f62cc9c7309247ef900 | /codejam/Reversort_Engineering.cpp | dca6fa1531a5b3a580921b11ec894aa516e0d0d3 | [] | no_license | siddhantkhandelwal/competitiveprog-submissions | 0cbf6d9e811c0c51a9770813ddde240012b0c596 | 4b9e5c86afc74219baaea3ede87e74a37866c143 | refs/heads/master | 2021-08-19T05:16:31.715397 | 2021-06-22T11:42:37 | 2021-06-22T11:42:37 | 130,892,918 | 0 | 0 | null | 2020-10-01T08:01:18 | 2018-04-24T17:49:08 | C++ | UTF-8 | C++ | false | false | 1,997 | cpp | #pragma GCC optimize("Ofast")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,avx2,fma")
#pragma GCC optimize("unroll-loops")
#include <bits/stdc++.h>
#include <complex>
#include <queue>
#include <set>
#include <unordered_set>
#include <list>
#include <chrono>
#include <random>
#include <iostream>
#include <algorithm>
#include <cmath>
#include <string>
#include <vector>
#include <map>
#include <unordered_map>
#include <stack>
#include <iomanip>
#include <fstream>
using namespace std;
typedef long long ll;
typedef long double ld;
typedef pair<int, int> p32;
typedef pair<ll, ll> p64;
typedef pair<double, double> pdd;
typedef vector<ll> v64;
typedef vector<int> v32;
typedef vector<vector<int>> vv32;
typedef vector<vector<ll>> vv64;
typedef vector<vector<p64>> vvp64;
typedef vector<p64> vp64;
typedef vector<p32> vp32;
ll MOD = 998244353;
double eps = 1e-12;
#define forn(i, e) for (ll i = 0; i < e; i++)
#define forsn(i, s, e) for (ll i = s; i < e; i++)
#define rforn(i, s) for (ll i = s; i >= 0; i--)
#define rforsn(i, s, e) for (ll i = s; i >= e; i--)
#define ln "\n"
#define dbg(x) cout << #x << " = " << x << ln
#define mp make_pair
#define pb push_back
#define fi first
#define se second
#define INF 2e18
#define fast_cin() \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); \
cout.tie(NULL)
#define all(x) (x).begin(), (x).end()
#define sz(x) ((ll)(x).size())
void solve()
{
ll cost = 0;
ll n;
ll c;
cin >> n >> c;
vector<ll> v(n, 0);
for (int i = 0; i < n; i++)
{
cin >> v[i];
}
for (int i = 0; i < n - 1; i++)
{
int j = min_element(v.begin() + i, v.end()) - v.begin();
reverse(v.begin() + i, v.begin() + j + 1);
cost += j - i + 1;
}
cout << cost << "\n";
}
int main()
{
fast_cin();
ll t;
cin >> t;
for (int it = 1; it <= t; it++)
{
cout << "Case #" << it << ": ";
solve();
}
return 0;
} | [
"siddhant@a-eye.ai"
] | siddhant@a-eye.ai |
52ca0eeec5919c256f6a68d0038189dc4f6af7db | aa42ba1ca026ee46a503d39ecb450e0e38921f1f | /Symmetric Tree.cpp | ac1d8f4513e0d2f8a21084c2bed90bf072b3ceb0 | [] | no_license | yasht5/Leetcode | 12b1fc3f833f2dcd18b7864dcf82944ef5d65639 | ab10b3293b27e7c39253152eb13446c34cfa70ba | refs/heads/master | 2022-11-30T09:15:28.087167 | 2020-08-13T11:38:25 | 2020-08-13T11:38:25 | 282,496,377 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 437 | cpp | class Solution{
public:
bool isSymmteric(TreeNode* root){
queue<TreeNode*> q;
q.push(root);
q.push(root);
while(!q.empty()){
TreeNode* t1=q.front();
q.pop();
TreeNode* t2 = q.front();
q.pop();
if(!t1 && !t2)
continue;
if(!t1 || !t2)
return false;
if(t1->val != t2->val)
return false;
q.push(t1->left);
q.push(t2->right);
q.push(t1->right);
q.push(t2->left);
}
return true;
}
};
| [
"noreply@github.com"
] | noreply@github.com |
b7a3064e5c0f90eb1c6789b367a016dcdd0dfed3 | ba4db75b9d1f08c6334bf7b621783759cd3209c7 | /src_main/mathlib/sseconst.cpp | 641fe2a414ccc379d61783f367892a41c7c77dd5 | [] | no_license | equalent/source-2007 | a27326c6eb1e63899e3b77da57f23b79637060c0 | d07be8d02519ff5c902e1eb6430e028e1b302c8b | refs/heads/master | 2020-03-28T22:46:44.606988 | 2017-03-27T18:05:57 | 2017-03-27T18:05:57 | 149,257,460 | 2 | 0 | null | 2018-09-18T08:52:10 | 2018-09-18T08:52:09 | null | WINDOWS-1252 | C++ | false | false | 48,572 | cpp | //===== Copyright © 1996-2005, Valve Corporation, All rights reserved. ======//
//
// Purpose:
//
//===========================================================================//
#include "mathlib/ssemath.h"
#include "mathlib/ssequaternion.h"
const fltx4 Four_PointFives={0.5,0.5,0.5,0.5};
#ifndef _X360
const fltx4 Four_Zeros={0.0,0.0,0.0,0.0};
const fltx4 Four_Ones={1.0,1.0,1.0,1.0};
#endif
const fltx4 Four_Twos={2.0,2.0,2.0,2.0};
const fltx4 Four_Threes={3.0,3.0,3.0,3.0};
const fltx4 Four_Fours={4.0,4.0,4.0,4.0};
const fltx4 Four_Origin={0,0,0,1};
const fltx4 Four_2ToThe21s={ (float) (1<<21), (float) (1<<21), (float) (1<<21), (float)(1<<21) };
const fltx4 Four_2ToThe22s={ (float) (1<<22), (float) (1<<22), (float) (1<<22), (float)(1<<22) };
const fltx4 Four_2ToThe23s={ (float) (1<<23), (float) (1<<23), (float) (1<<23), (float)(1<<23) };
const fltx4 Four_2ToThe24s={ (float) (1<<24), (float) (1<<24), (float) (1<<24), (float)(1<<24) };
const fltx4 Four_Point225s={ .225, .225, .225, .225 };
const fltx4 Four_Epsilons={FLT_EPSILON,FLT_EPSILON,FLT_EPSILON,FLT_EPSILON};
const fltx4 Four_FLT_MAX={FLT_MAX,FLT_MAX,FLT_MAX,FLT_MAX};
const fltx4 Four_Negative_FLT_MAX={-FLT_MAX,-FLT_MAX,-FLT_MAX,-FLT_MAX};
const fltx4 g_QuatMultRowSign[4] =
{
{ 1.0f, 1.0f, -1.0f, 1.0f },
{ -1.0f, 1.0f, 1.0f, 1.0f },
{ 1.0f, -1.0f, 1.0f, 1.0f },
{ -1.0f, -1.0f, -1.0f, 1.0f }
};
const int32 ALIGN16 g_SIMD_clear_signmask[4]= {0x7fffffff,0x7fffffff,0x7fffffff,0x7fffffff};
const int32 ALIGN16 g_SIMD_signmask[4]= { 0x80000000, 0x80000000, 0x80000000, 0x80000000 };
const int32 ALIGN16 g_SIMD_lsbmask[4]= { 0xfffffffe, 0xfffffffe, 0xfffffffe, 0xfffffffe };
const int32 ALIGN16 g_SIMD_clear_wmask[4]= { 0xffffffff, 0xffffffff, 0xffffffff, 0 };
const int32 ALIGN16 g_SIMD_ComponentMask[4][4] =
{
{ 0xFFFFFFFF, 0, 0, 0 }, { 0, 0xFFFFFFFF, 0, 0 }, { 0, 0, 0xFFFFFFFF, 0 }, { 0, 0, 0, 0xFFFFFFFF }
};
// FUNCTIONS
// NOTE: WHY YOU **DO NOT** WANT TO PUT FUNCTIONS HERE
// Generally speaking, you want to make sure SIMD math functions
// are inlined, because that gives the compiler much more latitude
// in instruction scheduling. It's not that the overhead of calling
// the function is particularly great; rather, many of the SIMD
// opcodes have long latencies, and if you have a sequence of
// several dependent ones inside a function call, the latencies
// stack up to create a big penalty. If the function is inlined,
// the compiler can interleave its operations with ones from the
// caller to better hide those latencies. Finally, on the 360,
// putting parameters or return values on the stack, and then
// reading them back within the next forty cycles, is a very
// severe penalty. So, as much as possible, you want to leave your
// data on the registers.
// That said, there are certain occasions where it is appropriate
// to call into functions -- particularly for very large blocks
// of code that will spill most of the registers anyway. Unless your
// function is more than one screen long, yours is probably not one
// of those occasions.
/// You can use this to rotate a long array of FourVectors all by the same
/// matrix. The first parameter is the head of the array. The second is the
/// number of vectors to rotate. The third is the matrix.
void FourVectors::RotateManyBy(FourVectors * RESTRICT pVectors, unsigned int numVectors, const matrix3x4_t& rotationMatrix )
{
Assert(numVectors > 0);
if ( numVectors == 0 )
return;
// Splat out each of the entries in the matrix to a fltx4. Do this
// in the order that we will need them, to hide latency. I'm
// avoiding making an array of them, so that they'll remain in
// registers.
fltx4 matSplat00, matSplat01, matSplat02,
matSplat10, matSplat11, matSplat12,
matSplat20, matSplat21, matSplat22;
{
// Load the matrix into local vectors. Sadly, matrix3x4_ts are
// often unaligned. The w components will be the tranpose row of
// the matrix, but we don't really care about that.
fltx4 matCol0 = LoadUnalignedSIMD(rotationMatrix[0]);
fltx4 matCol1 = LoadUnalignedSIMD(rotationMatrix[1]);
fltx4 matCol2 = LoadUnalignedSIMD(rotationMatrix[2]);
matSplat00 = SplatXSIMD(matCol0);
matSplat01 = SplatYSIMD(matCol0);
matSplat02 = SplatZSIMD(matCol0);
matSplat10 = SplatXSIMD(matCol1);
matSplat11 = SplatYSIMD(matCol1);
matSplat12 = SplatZSIMD(matCol1);
matSplat20 = SplatXSIMD(matCol2);
matSplat21 = SplatYSIMD(matCol2);
matSplat22 = SplatZSIMD(matCol2);
}
#ifdef _X360
// Same algorithm as above, but the loop is unrolled to eliminate data hazard latencies
// and simplify prefetching. Named variables are deliberately used instead of arrays to
// ensure that the variables live on the registers instead of the stack (stack load/store
// is a serious penalty on 360). Nb: for prefetching to be most efficient here, the
// loop should be unrolled to 8 FourVectors per iteration; because each FourVectors is
// 48 bytes long, 48 * 8 = 384, its least common multiple with the 128-byte cache line.
// That way you can fetch the next 3 cache lines while you work on these three.
// If you do go this route, be sure to dissassemble and make sure it doesn't spill
// registers to stack as you do this; the cost of that will be excessive. Unroll the loop
// a little and just live with the fact that you'll be doing a couple of redundant dbcts
// (they don't cost you anything). Be aware that all three cores share L2 and it can only
// have eight cache lines fetching at a time.
fltx4 outX0, outY0, outZ0; // bank one of outputs
fltx4 outX1, outY1, outZ1; // bank two of outputs
// Because of instruction latencies and scheduling, it's actually faster to use adds and muls
// rather than madds. (Empirically determined by timing.)
const FourVectors * stop = pVectors + numVectors;
FourVectors * RESTRICT pVectNext;
// prime the pump.
if (numVectors & 0x01)
{
// odd number of vectors to process
// prime the 1 group of registers
pVectNext = pVectors++;
outX1 = AddSIMD( AddSIMD( MulSIMD( pVectNext->x, matSplat00 ), MulSIMD( pVectNext->y, matSplat01 ) ), MulSIMD( pVectNext->z, matSplat02 ) );
outY1 = AddSIMD( AddSIMD( MulSIMD( pVectNext->x, matSplat10 ), MulSIMD( pVectNext->y, matSplat11 ) ), MulSIMD( pVectNext->z, matSplat12 ) );
outZ1 = AddSIMD( AddSIMD( MulSIMD( pVectNext->x, matSplat20 ), MulSIMD( pVectNext->y, matSplat21 ) ), MulSIMD( pVectNext->z, matSplat22 ) );
}
else
{
// even number of total vectors to process;
// prime the zero group and jump into the middle of the loop
outX0 = AddSIMD( AddSIMD( MulSIMD( pVectors->x, matSplat00 ), MulSIMD( pVectors->y, matSplat01 ) ), MulSIMD( pVectors->z, matSplat02 ) );
outY0 = AddSIMD( AddSIMD( MulSIMD( pVectors->x, matSplat10 ), MulSIMD( pVectors->y, matSplat11 ) ), MulSIMD( pVectors->z, matSplat12 ) );
outZ0 = AddSIMD( AddSIMD( MulSIMD( pVectors->x, matSplat20 ), MulSIMD( pVectors->y, matSplat21 ) ), MulSIMD( pVectors->z, matSplat22 ) );
goto EVEN_CASE;
}
// perform an even number of iterations through this loop.
while (pVectors < stop)
{
outX0 = MaddSIMD( pVectors->z, matSplat02, AddSIMD( MulSIMD( pVectors->x, matSplat00 ), MulSIMD( pVectors->y, matSplat01 ) ) );
outY0 = MaddSIMD( pVectors->z, matSplat12, AddSIMD( MulSIMD( pVectors->x, matSplat10 ), MulSIMD( pVectors->y, matSplat11 ) ) );
outZ0 = MaddSIMD( pVectors->z, matSplat22, AddSIMD( MulSIMD( pVectors->x, matSplat20 ), MulSIMD( pVectors->y, matSplat21 ) ) );
pVectNext->x = outX1;
pVectNext->y = outY1;
pVectNext->z = outZ1;
EVEN_CASE:
pVectNext = pVectors+1;
outX1 = MaddSIMD( pVectNext->z, matSplat02, AddSIMD( MulSIMD( pVectNext->x, matSplat00 ), MulSIMD( pVectNext->y, matSplat01 ) ) );
outY1 = MaddSIMD( pVectNext->z, matSplat12, AddSIMD( MulSIMD( pVectNext->x, matSplat10 ), MulSIMD( pVectNext->y, matSplat11 ) ) );
outZ1 = MaddSIMD( pVectNext->z, matSplat22, AddSIMD( MulSIMD( pVectNext->x, matSplat20 ), MulSIMD( pVectNext->y, matSplat21 ) ) );
pVectors->x = outX0;
pVectors->y = outY0;
pVectors->z = outZ0;
pVectors += 2;
}
// flush the last round of output
pVectNext->x = outX1;
pVectNext->y = outY1;
pVectNext->z = outZ1;
#else
// PC does not benefit from the unroll/scheduling above
fltx4 outX0, outY0, outZ0; // bank one of outputs
// Because of instruction latencies and scheduling, it's actually faster to use adds and muls
// rather than madds. (Empirically determined by timing.)
const FourVectors * stop = pVectors + numVectors;
// perform an even number of iterations through this loop.
while (pVectors < stop)
{
outX0 = MaddSIMD( pVectors->z, matSplat02, AddSIMD( MulSIMD( pVectors->x, matSplat00 ), MulSIMD( pVectors->y, matSplat01 ) ) );
outY0 = MaddSIMD( pVectors->z, matSplat12, AddSIMD( MulSIMD( pVectors->x, matSplat10 ), MulSIMD( pVectors->y, matSplat11 ) ) );
outZ0 = MaddSIMD( pVectors->z, matSplat22, AddSIMD( MulSIMD( pVectors->x, matSplat20 ), MulSIMD( pVectors->y, matSplat21 ) ) );
pVectors->x = outX0;
pVectors->y = outY0;
pVectors->z = outZ0;
pVectors++;
}
#endif
}
#ifdef _X360
// Loop-scheduled code to process FourVectors in groups of eight quite efficiently.
void FourVectors_TransformManyGroupsOfEightBy(FourVectors * RESTRICT pVectors, unsigned int numVectors, const matrix3x4_t& rotationMatrix, FourVectors * RESTRICT pOut )
{
Assert(numVectors > 0);
if ( numVectors == 0 )
return;
AssertMsg( (pOut < pVectors && pOut+numVectors <= pVectors) ||
(pOut > pVectors && pVectors+numVectors <= pOut), "FourVectors::TransformManyBy called with overlapping buffer pointers." );
// Splat out each of the entries in the matrix to a fltx4. Do this
// in the order that we will need them, to hide latency. I'm
// avoiding making an array of them, so that they'll remain in
// registers.
fltx4 matSplat00, matSplat01, matSplat02, matSplat03, // TWELVE REGISTERS
matSplat10, matSplat11, matSplat12, matSplat13,
matSplat20, matSplat21, matSplat22, matSplat23;
{
// Load the matrix into local vectors. Sadly, matrix3x4_ts are
// often unaligned. The w components will be the tranpose row of
// the matrix.
fltx4 matCol0 = LoadUnalignedSIMD(rotationMatrix[0]);
fltx4 matCol1 = LoadUnalignedSIMD(rotationMatrix[1]);
fltx4 matCol2 = LoadUnalignedSIMD(rotationMatrix[2]);
matSplat00 = SplatXSIMD(matCol0);
matSplat01 = SplatYSIMD(matCol0);
matSplat02 = SplatZSIMD(matCol0);
matSplat03 = SplatWSIMD(matCol0);
matSplat10 = SplatXSIMD(matCol1);
matSplat11 = SplatYSIMD(matCol1);
matSplat12 = SplatZSIMD(matCol1);
matSplat13 = SplatWSIMD(matCol1);
matSplat20 = SplatXSIMD(matCol2);
matSplat21 = SplatYSIMD(matCol2);
matSplat22 = SplatZSIMD(matCol2);
matSplat23 = SplatWSIMD(matCol2);
}
// this macro defines how to compute a specific row from an input and certain splat columns
#define COMPUTE(res, invec, xterm, yterm, zterm, transterm) res = AddSIMD( AddSIMD( MulSIMD((invec)->z, zterm), AddSIMD( MulSIMD( (invec)->x, xterm ), MulSIMD( (invec)->y, yterm ) ) ), transterm )
#define WRITE(term, reg, toptr) toptr->term = reg
// define result groups (we're going to have an eight-way unroll)
fltx4 res0X, res0Y, res0Z, res0XTemp, res0YTemp, res0ZTemp; // 48 REGISTERS
fltx4 res1X, res1Y, res1Z, res1XTemp, res1YTemp, res1ZTemp;
fltx4 res2X, res2Y, res2Z, res2XTemp, res2YTemp, res2ZTemp;
fltx4 res3X, res3Y, res3Z, res3XTemp, res3YTemp, res3ZTemp;
fltx4 res4X, res4Y, res4Z, res4XTemp, res4YTemp, res4ZTemp;
fltx4 res5X, res5Y, res5Z, res5XTemp, res5YTemp, res5ZTemp;
fltx4 res6X, res6Y, res6Z, res6XTemp, res6YTemp, res6ZTemp;
fltx4 res7X, res7Y, res7Z, res7XTemp, res7YTemp, res7ZTemp;
// #define FROZ(out,in,offset) COMPUTE((out+offset)->x, (in + offset), matSplat00, matSplat01, matSplat02, matSplat03); COMPUTE((out + offset )->y, (in + offset), matSplat10, matSplat11, matSplat12, matSplat13); COMPUTE((out + offset)->z, (in + offset), matSplat20, matSplat21, matSplat22, matSplat23)
#define COMPUTE_GROUP(resgroup,dataptr) COMPUTE(resgroup ## X, (dataptr), matSplat00, matSplat01, matSplat02, matSplat03); COMPUTE(resgroup ## Y, (dataptr), matSplat10, matSplat11, matSplat12, matSplat13); COMPUTE(resgroup ## Z, (dataptr), matSplat20, matSplat21, matSplat22, matSplat23)
#define WRITE_GROUP(ptr, resgroup) (ptr)->x = resgroup ## X; (ptr)->y = resgroup ## Y; (ptr)->z = resgroup ## Z
/*
// stage 1 -- 6 ops for xyz, each w 12 cycle latency
res0X = MulSIMD( (invec)->y, matSplat01 );
res0Temp = MaddSIMD((invec)->z, matSplat02, matSplat03);
// stage 2 -- 3 clocks for xyz
res0X = MaddSIMD( (invec)->x, matSplat00, res0X );
// stage 3 -- 3 clocks for xyz
res0X = AddSIMD(res0X, res0Temp);
*/
#define COMPUTE_STAGE1_ROW(res, tempvar, invec, xsplat, ysplat, zsplat, transplat) res = MulSIMD( (invec)->y, ysplat ); tempvar = MaddSIMD((invec)->z, zsplat, transplat)
#define COMPUTE_STAGE2_ROW(res, tempvar, invec, xsplat, ysplat, zsplat, transplat) res = MaddSIMD( (invec)->x, xsplat, res )
#define COMPUTE_STAGE3_ROW(res, tempvar, invec, xsplat, ysplat, zsplat, transplat) res = AddSIMD(res, tempvar) // frees up the tempvar
#define COMPUTE_STAGE1_GROUP(resgroup, invec) COMPUTE_STAGE1_ROW(resgroup ## X, resgroup ## X ## Temp, invec, matSplat00, matSplat01, matSplat02, matSplat03);\
COMPUTE_STAGE1_ROW(resgroup ## Y, resgroup ## Y ## Temp, invec, matSplat10, matSplat11, matSplat12, matSplat13);\
COMPUTE_STAGE1_ROW(resgroup ## Z, resgroup ## Z ## Temp, invec, matSplat20, matSplat21, matSplat22, matSplat23)
#define COMPUTE_STAGE2_GROUP(resgroup, invec) COMPUTE_STAGE2_ROW(resgroup ## X, resgroup ## X ## Temp, invec, matSplat00, matSplat01, matSplat02, matSplat03);\
COMPUTE_STAGE2_ROW(resgroup ## Y, resgroup ## Y ## Temp, invec, matSplat10, matSplat11, matSplat12, matSplat13);\
COMPUTE_STAGE2_ROW(resgroup ## Z, resgroup ## Z ## Temp, invec, matSplat20, matSplat21, matSplat22, matSplat23)
#define COMPUTE_STAGE3_GROUP(resgroup, invec) COMPUTE_STAGE3_ROW(resgroup ## X, resgroup ## X ## Temp, invec, matSplat00, matSplat01, matSplat02, matSplat03);\
COMPUTE_STAGE3_ROW(resgroup ## Y, resgroup ## Y ## Temp, invec, matSplat10, matSplat11, matSplat12, matSplat13);\
COMPUTE_STAGE3_ROW(resgroup ## Z, resgroup ## Z ## Temp, invec, matSplat20, matSplat21, matSplat22, matSplat23)
FourVectors * RESTRICT inData = pVectors;
FourVectors * RESTRICT outData = pOut;
const FourVectors * const RESTRICT STOP = pVectors + numVectors;
// Use techniques of loop scheduling to eliminate data hazards; process
// eight groups simultaneously so that we never have any operations stalling
// waiting for data.
// Note: this loop, while pretty fast, could be faster still -- you'll notice
// that it does all of its loads, then all computation, then writes everything
// out. If made truly cyclic, such that every line interleaved a stage 1, stage 2,
// stage 3, and write, then throughput could be higher (probably by about 50%).
while (inData < STOP)
{
// start prefetching the three cache lines
// we'll hit two iterations from now
__dcbt( sizeof(FourVectors) * 16, inData );
__dcbt( sizeof(FourVectors) * 16 + 128, inData );
__dcbt( sizeof(FourVectors) * 16 + 256, inData );
// synchro
COMPUTE_STAGE1_GROUP(res0, inData + 0);
COMPUTE_STAGE1_GROUP(res1, inData + 1);
COMPUTE_STAGE1_GROUP(res2, inData + 2);
COMPUTE_STAGE1_GROUP(res3, inData + 3);
COMPUTE_STAGE2_GROUP(res0, inData + 0);
COMPUTE_STAGE1_GROUP(res4, inData + 4);
COMPUTE_STAGE2_GROUP(res1, inData + 1);
COMPUTE_STAGE1_GROUP(res5, inData + 5);
COMPUTE_STAGE2_GROUP(res2, inData + 2);
COMPUTE_STAGE1_GROUP(res6, inData + 6);
COMPUTE_STAGE2_GROUP(res3, inData + 3);
COMPUTE_STAGE1_GROUP(res7, inData + 7);
COMPUTE_STAGE3_GROUP(res0, inData + 0);
COMPUTE_STAGE2_GROUP(res4, inData + 4);
COMPUTE_STAGE3_GROUP(res1, inData + 1);
COMPUTE_STAGE2_GROUP(res5, inData + 5);
COMPUTE_STAGE3_GROUP(res2, inData + 2);
COMPUTE_STAGE2_GROUP(res6, inData + 6);
COMPUTE_STAGE3_GROUP(res3, inData + 3);
COMPUTE_STAGE2_GROUP(res7, inData + 7);
COMPUTE_STAGE3_GROUP(res4, inData + 4);
WRITE_GROUP( outData + 0, res0 );
COMPUTE_STAGE3_GROUP(res5, inData + 5);
WRITE_GROUP( outData + 1, res1 );
COMPUTE_STAGE3_GROUP(res6, inData + 6);
WRITE_GROUP( outData + 2, res2 );
COMPUTE_STAGE3_GROUP(res7, inData + 7);
WRITE_GROUP( outData + 3, res3 );
WRITE_GROUP( outData + 4, res4 );
WRITE_GROUP( outData + 5, res5 );
WRITE_GROUP( outData + 6, res6 );
WRITE_GROUP( outData + 7, res7 );
inData += 8;
outData += 8;
}
#undef COMPUTE
#undef WRITE
#undef COMPUTE_STAGE1_ROW
#undef COMPUTE_STAGE2_ROW
#undef COMPUTE_STAGE3_ROW
#undef COMPUTE_STAGE1_GROUP
#undef COMPUTE_STAGE2_GROUP
#undef COMPUTE_STAGE3_GROUP
#undef COMPUTE_GROUP
#undef WRITE_GROUP
}
#ifdef _X360
// Loop-scheduled code to process FourVectors in groups of eight quite efficiently. This is the version
// to call when starting on a 128-byte-aligned address.
void FourVectors_TransformManyGroupsOfEightBy_128byteAligned(FourVectors * RESTRICT pVectors, unsigned int numVectors, const matrix3x4_t& rotationMatrix, FourVectors * RESTRICT pOut )
{
/* If this has changed, you will need to change all the prefetches, *
* and groups of eight are no longer the ideal unit for iterating *
* on many vectors. */
COMPILE_TIME_ASSERT( sizeof(FourVectors) == 48 ) ;
Assert(numVectors > 0);
if ( numVectors == 0 )
return;
AssertMsg((numVectors & 0x07) == 0, "FourVectors_TransformManyGroupsOfEight called with numVectors % 8 != 0!");
// Assert alignment
AssertMsg( ( ( reinterpret_cast<uint32>( pVectors ) & 127 ) == 0) &&
( ( reinterpret_cast<uint32>(pOut) & 127 ) == 0),
"FourVectors_Transform..aligned called with non-128-byte-aligned buffers." );
// Assert non overlap
AssertMsg( (pOut < pVectors && pOut+numVectors <= pVectors) ||
(pOut > pVectors && pVectors+numVectors <= pOut), "FourVectors::TransformManyBy called with overlapping buffer pointers." );
// Here's the plan. 8 four-vecs = 3 cache lines exactly. It takes about 400 cycles to process a group
// of eight, and cache latency is 600 cycles, so we try to prefetch two iterations ahead (eg fetch
// iteration 3 while working on iteration 1). In the case of the output, we can simply zero-flush
// the cache lines since we are sure to write into them. Because we're reading and fetching two ahead,
// we want to stop two away from the last iteration.
// No matter what, we will need to prefetch the first two groups of eight of input (that's the
// first six cache lines)
__dcbt( 0, pVectors );
__dcbt( 128, pVectors );
__dcbt( 256, pVectors );
__dcbt( 384, pVectors );
__dcbt( 512, pVectors );
__dcbt( 640, pVectors );
// Splat out each of the entries in the matrix to a fltx4. Do this
// in the order that we will need them, to hide latency. I'm
// avoiding making an array of them, so that they'll remain in
// registers.
fltx4 matSplat00, matSplat01, matSplat02, matSplat03, // TWELVE REGISTERS
matSplat10, matSplat11, matSplat12, matSplat13,
matSplat20, matSplat21, matSplat22, matSplat23;
{
// Load the matrix into local vectors. Sadly, matrix3x4_ts are
// often unaligned. The w components will be the tranpose row of
// the matrix.
fltx4 matCol0 = LoadUnalignedSIMD(rotationMatrix[0]);
fltx4 matCol1 = LoadUnalignedSIMD(rotationMatrix[1]);
fltx4 matCol2 = LoadUnalignedSIMD(rotationMatrix[2]);
matSplat00 = SplatXSIMD(matCol0);
matSplat01 = SplatYSIMD(matCol0);
matSplat02 = SplatZSIMD(matCol0);
matSplat03 = SplatWSIMD(matCol0);
matSplat10 = SplatXSIMD(matCol1);
matSplat11 = SplatYSIMD(matCol1);
matSplat12 = SplatZSIMD(matCol1);
matSplat13 = SplatWSIMD(matCol1);
matSplat20 = SplatXSIMD(matCol2);
matSplat21 = SplatYSIMD(matCol2);
matSplat22 = SplatZSIMD(matCol2);
matSplat23 = SplatWSIMD(matCol2);
}
// this macro defines how to compute a specific row from an input and certain splat columns
#define COMPUTE(res, invec, xterm, yterm, zterm, transterm) res = AddSIMD( AddSIMD( MulSIMD((invec)->z, zterm), AddSIMD( MulSIMD( (invec)->x, xterm ), MulSIMD( (invec)->y, yterm ) ) ), transterm )
#define WRITE(term, reg, toptr) toptr->term = reg
// define result groups (we're going to have an eight-way unroll)
fltx4 res0X, res0Y, res0Z, res0XTemp, res0YTemp, res0ZTemp; // 48 REGISTERS
fltx4 res1X, res1Y, res1Z, res1XTemp, res1YTemp, res1ZTemp;
fltx4 res2X, res2Y, res2Z, res2XTemp, res2YTemp, res2ZTemp;
fltx4 res3X, res3Y, res3Z, res3XTemp, res3YTemp, res3ZTemp;
fltx4 res4X, res4Y, res4Z, res4XTemp, res4YTemp, res4ZTemp;
fltx4 res5X, res5Y, res5Z, res5XTemp, res5YTemp, res5ZTemp;
fltx4 res6X, res6Y, res6Z, res6XTemp, res6YTemp, res6ZTemp;
fltx4 res7X, res7Y, res7Z, res7XTemp, res7YTemp, res7ZTemp;
// #define FROZ(out,in,offset) COMPUTE((out+offset)->x, (in + offset), matSplat00, matSplat01, matSplat02, matSplat03); COMPUTE((out + offset )->y, (in + offset), matSplat10, matSplat11, matSplat12, matSplat13); COMPUTE((out + offset)->z, (in + offset), matSplat20, matSplat21, matSplat22, matSplat23)
#define COMPUTE_GROUP(resgroup,dataptr) COMPUTE(resgroup ## X, (dataptr), matSplat00, matSplat01, matSplat02, matSplat03); COMPUTE(resgroup ## Y, (dataptr), matSplat10, matSplat11, matSplat12, matSplat13); COMPUTE(resgroup ## Z, (dataptr), matSplat20, matSplat21, matSplat22, matSplat23)
#define WRITE_GROUP(ptr, resgroup) (ptr)->x = resgroup ## X; (ptr)->y = resgroup ## Y; (ptr)->z = resgroup ## Z
/*
// stage 1 -- 6 ops for xyz, each w 12 cycle latency
res0X = MulSIMD( (invec)->y, matSplat01 );
res0Temp = MaddSIMD((invec)->z, matSplat02, matSplat03);
// stage 2 -- 3 clocks for xyz
res0X = MaddSIMD( (invec)->x, matSplat00, res0X );
// stage 3 -- 3 clocks for xyz
res0X = AddSIMD(res0X, res0Temp);
*/
#define COMPUTE_STAGE1_ROW(res, tempvar, invec, xsplat, ysplat, zsplat, transplat) res = MulSIMD( (invec)->y, ysplat ); tempvar = MaddSIMD((invec)->z, zsplat, transplat)
#define COMPUTE_STAGE2_ROW(res, tempvar, invec, xsplat, ysplat, zsplat, transplat) res = MaddSIMD( (invec)->x, xsplat, res )
#define COMPUTE_STAGE3_ROW(res, tempvar, invec, xsplat, ysplat, zsplat, transplat) res = AddSIMD(res, tempvar) // frees up the tempvar
#define COMPUTE_STAGE1_GROUP(resgroup, invec) COMPUTE_STAGE1_ROW(resgroup ## X, resgroup ## X ## Temp, invec, matSplat00, matSplat01, matSplat02, matSplat03);\
COMPUTE_STAGE1_ROW(resgroup ## Y, resgroup ## Y ## Temp, invec, matSplat10, matSplat11, matSplat12, matSplat13);\
COMPUTE_STAGE1_ROW(resgroup ## Z, resgroup ## Z ## Temp, invec, matSplat20, matSplat21, matSplat22, matSplat23)
#define COMPUTE_STAGE2_GROUP(resgroup, invec) COMPUTE_STAGE2_ROW(resgroup ## X, resgroup ## X ## Temp, invec, matSplat00, matSplat01, matSplat02, matSplat03);\
COMPUTE_STAGE2_ROW(resgroup ## Y, resgroup ## Y ## Temp, invec, matSplat10, matSplat11, matSplat12, matSplat13);\
COMPUTE_STAGE2_ROW(resgroup ## Z, resgroup ## Z ## Temp, invec, matSplat20, matSplat21, matSplat22, matSplat23)
#define COMPUTE_STAGE3_GROUP(resgroup, invec) COMPUTE_STAGE3_ROW(resgroup ## X, resgroup ## X ## Temp, invec, matSplat00, matSplat01, matSplat02, matSplat03);\
COMPUTE_STAGE3_ROW(resgroup ## Y, resgroup ## Y ## Temp, invec, matSplat10, matSplat11, matSplat12, matSplat13);\
COMPUTE_STAGE3_ROW(resgroup ## Z, resgroup ## Z ## Temp, invec, matSplat20, matSplat21, matSplat22, matSplat23)
// Okay. First do all but the last two turns of the crank; we don't want to overshoot with the flush-to-zero.
FourVectors * RESTRICT inData = pVectors;
FourVectors * RESTRICT outData = pOut;
const FourVectors * RESTRICT STOP;
if (numVectors > 16)
{
STOP = pVectors + numVectors - 16;
// flush the first two blocks we'll write into
__dcbz128( 0, outData );
__dcbz128( 128, outData );
__dcbz128( 256, outData );
while (inData < STOP)
{
// start prefetching the three cache lines
// we'll hit two iterations from now
__dcbt( sizeof(FourVectors) * 16, inData );
__dcbt( sizeof(FourVectors) * 16 + 128, inData );
__dcbt( sizeof(FourVectors) * 16 + 256, inData );
// synchro
COMPUTE_STAGE1_GROUP(res0, inData + 0);
COMPUTE_STAGE1_GROUP(res1, inData + 1);
COMPUTE_STAGE1_GROUP(res2, inData + 2);
COMPUTE_STAGE1_GROUP(res3, inData + 3);
// pre-zero the three cache lines we'll overwrite
// in the next iteration
__dcbz128( 384, outData );
__dcbz128( 512, outData );
__dcbz128( 640, outData );
COMPUTE_STAGE2_GROUP(res0, inData + 0);
COMPUTE_STAGE1_GROUP(res4, inData + 4);
COMPUTE_STAGE2_GROUP(res1, inData + 1);
COMPUTE_STAGE1_GROUP(res5, inData + 5);
COMPUTE_STAGE2_GROUP(res2, inData + 2);
COMPUTE_STAGE1_GROUP(res6, inData + 6);
COMPUTE_STAGE2_GROUP(res3, inData + 3);
COMPUTE_STAGE1_GROUP(res7, inData + 7);
COMPUTE_STAGE3_GROUP(res0, inData + 0);
COMPUTE_STAGE2_GROUP(res4, inData + 4);
COMPUTE_STAGE3_GROUP(res1, inData + 1);
COMPUTE_STAGE2_GROUP(res5, inData + 5);
COMPUTE_STAGE3_GROUP(res2, inData + 2);
COMPUTE_STAGE2_GROUP(res6, inData + 6);
COMPUTE_STAGE3_GROUP(res3, inData + 3);
COMPUTE_STAGE2_GROUP(res7, inData + 7);
COMPUTE_STAGE3_GROUP(res4, inData + 4);
WRITE_GROUP( outData + 0, res0 );
COMPUTE_STAGE3_GROUP(res5, inData + 5);
WRITE_GROUP( outData + 1, res1 );
COMPUTE_STAGE3_GROUP(res6, inData + 6);
WRITE_GROUP( outData + 2, res2 );
COMPUTE_STAGE3_GROUP(res7, inData + 7);
WRITE_GROUP( outData + 3, res3 );
WRITE_GROUP( outData + 4, res4 );
WRITE_GROUP( outData + 5, res5 );
WRITE_GROUP( outData + 6, res6 );
WRITE_GROUP( outData + 7, res7 );
inData += 8;
outData += 8;
}
}
else if (numVectors == 16)
{
// zero out the exactly six cache lines we will write into
__dcbz128( 0, outData );
__dcbz128( 128, outData );
__dcbz128( 256, outData );
__dcbz128( 384, outData );
__dcbz128( 512, outData );
__dcbz128( 640, outData );
}
else if (numVectors == 8)
{
// zero out the exactly three cache lines we will write into
__dcbz128( 0, outData );
__dcbz128( 128, outData );
__dcbz128( 256, outData );
}
else
{
AssertMsg(false, "Can't happen!");
}
// deal with the ultimate two groups (or, if we were fed
// less than 16 groups, the whole shebang)
STOP = pVectors + numVectors - 16;
// Use techniques of loop scheduling to eliminate data hazards; process
// eight groups simultaneously so that we never have any operations stalling
// waiting for data.
// Note: this loop, while pretty fast, could be faster still -- you'll notice
// that it does all of its loads, then all computation, then writes everything
// out. If made truly cyclic, such that every line interleaved a stage 1, stage 2,
// stage 3, and write, then throughput could be higher (probably by about 50%).
while (inData < STOP)
{
// synchro
COMPUTE_STAGE1_GROUP(res0, inData + 0);
COMPUTE_STAGE1_GROUP(res1, inData + 1);
COMPUTE_STAGE1_GROUP(res2, inData + 2);
COMPUTE_STAGE1_GROUP(res3, inData + 3);
COMPUTE_STAGE2_GROUP(res0, inData + 0);
COMPUTE_STAGE1_GROUP(res4, inData + 4);
COMPUTE_STAGE2_GROUP(res1, inData + 1);
COMPUTE_STAGE1_GROUP(res5, inData + 5);
COMPUTE_STAGE2_GROUP(res2, inData + 2);
COMPUTE_STAGE1_GROUP(res6, inData + 6);
COMPUTE_STAGE2_GROUP(res3, inData + 3);
COMPUTE_STAGE1_GROUP(res7, inData + 7);
COMPUTE_STAGE3_GROUP(res0, inData + 0);
COMPUTE_STAGE2_GROUP(res4, inData + 4);
COMPUTE_STAGE3_GROUP(res1, inData + 1);
COMPUTE_STAGE2_GROUP(res5, inData + 5);
COMPUTE_STAGE3_GROUP(res2, inData + 2);
COMPUTE_STAGE2_GROUP(res6, inData + 6);
COMPUTE_STAGE3_GROUP(res3, inData + 3);
COMPUTE_STAGE2_GROUP(res7, inData + 7);
COMPUTE_STAGE3_GROUP(res4, inData + 4);
WRITE_GROUP( outData + 0, res0 );
COMPUTE_STAGE3_GROUP(res5, inData + 5);
WRITE_GROUP( outData + 1, res1 );
COMPUTE_STAGE3_GROUP(res6, inData + 6);
WRITE_GROUP( outData + 2, res2 );
COMPUTE_STAGE3_GROUP(res7, inData + 7);
WRITE_GROUP( outData + 3, res3 );
WRITE_GROUP( outData + 4, res4 );
WRITE_GROUP( outData + 5, res5 );
WRITE_GROUP( outData + 6, res6 );
WRITE_GROUP( outData + 7, res7 );
inData += 8;
outData += 8;
}
#undef COMPUTE
#undef WRITE
#undef COMPUTE_STAGE1_ROW
#undef COMPUTE_STAGE2_ROW
#undef COMPUTE_STAGE3_ROW
#undef COMPUTE_STAGE1_GROUP
#undef COMPUTE_STAGE2_GROUP
#undef COMPUTE_STAGE3_GROUP
#undef COMPUTE_GROUP
#undef WRITE_GROUP
}
#endif
// Transform a long array of FourVectors by a given matrix.
void FourVectors::TransformManyBy(FourVectors * RESTRICT pVectors, unsigned int numVectors, const matrix3x4_t& rotationMatrix, FourVectors * RESTRICT pOut )
{
Assert(numVectors > 0);
AssertMsg( (pOut < pVectors && pOut+numVectors <= pVectors) ||
(pOut > pVectors && pVectors+numVectors <= pOut), "FourVectors::TransformManyBy called with overlapping buffer pointers." );
#ifdef _X360
// The really fast version of this function likes to operate on blocks of eight. So, chug through
// groups of eight, then deal with any leftovers.
int numVectorsRoundedToNearestEight = numVectors & (~0x07);
if (numVectors >= 8)
{
// aligned?
if ((reinterpret_cast<unsigned int>(pVectors) & 127) == 0 && (reinterpret_cast<unsigned int>(pOut) & 127) == 0)
{
FourVectors_TransformManyGroupsOfEightBy_128byteAligned(pVectors, numVectorsRoundedToNearestEight, rotationMatrix, pOut);
}
else
{
FourVectors_TransformManyGroupsOfEightBy(pVectors, numVectorsRoundedToNearestEight, rotationMatrix, pOut);
}
numVectors -= numVectorsRoundedToNearestEight;
pVectors += numVectorsRoundedToNearestEight;
pOut += numVectorsRoundedToNearestEight;
}
#endif
// any left over?
if (numVectors > 0)
{
// Splat out each of the entries in the matrix to a fltx4. Do this
// in the order that we will need them, to hide latency. I'm
// avoiding making an array of them, so that they'll remain in
// registers.
fltx4 matSplat00, matSplat01, matSplat02, matSplat03, // TWELVE REGISTERS
matSplat10, matSplat11, matSplat12, matSplat13,
matSplat20, matSplat21, matSplat22, matSplat23;
{
// Load the matrix into local vectors. Sadly, matrix3x4_ts are
// often unaligned. The w components will be the transpose row of
// the matrix.
fltx4 matCol0 = LoadUnalignedSIMD(rotationMatrix[0]);
fltx4 matCol1 = LoadUnalignedSIMD(rotationMatrix[1]);
fltx4 matCol2 = LoadUnalignedSIMD(rotationMatrix[2]);
matSplat00 = SplatXSIMD(matCol0);
matSplat01 = SplatYSIMD(matCol0);
matSplat02 = SplatZSIMD(matCol0);
matSplat03 = SplatWSIMD(matCol0);
matSplat10 = SplatXSIMD(matCol1);
matSplat11 = SplatYSIMD(matCol1);
matSplat12 = SplatZSIMD(matCol1);
matSplat13 = SplatWSIMD(matCol1);
matSplat20 = SplatXSIMD(matCol2);
matSplat21 = SplatYSIMD(matCol2);
matSplat22 = SplatZSIMD(matCol2);
matSplat23 = SplatWSIMD(matCol2);
}
do
{
// Trust in the compiler to schedule these operations correctly:
pOut->x = MaddSIMD(pVectors->z, matSplat02, MaddSIMD(pVectors->y, matSplat01, MaddSIMD(pVectors->x, matSplat00, matSplat03)));
pOut->y = MaddSIMD(pVectors->z, matSplat12, MaddSIMD(pVectors->y, matSplat11, MaddSIMD(pVectors->x, matSplat00, matSplat13)));
pOut->z = MaddSIMD(pVectors->z, matSplat22, MaddSIMD(pVectors->y, matSplat21, MaddSIMD(pVectors->x, matSplat00, matSplat23)));
++pOut;
++pVectors;
--numVectors;
} while(numVectors > 0);
}
}
#ifdef _X360
// Loop-scheduled code to process FourVectors in groups of eight quite efficiently.
static void FourVectors_TransformManyGroupsOfEightBy_InPlace(FourVectors * RESTRICT pVectors, unsigned int numVectors, const matrix3x4_t& rotationMatrix )
{
Assert(numVectors > 0);
if ( numVectors == 0 )
return;
// Prefetch line 1 and 2
__dcbt(0,pVectors);
__dcbt(128,pVectors);
// Splat out each of the entries in the matrix to a fltx4. Do this
// in the order that we will need them, to hide latency. I'm
// avoiding making an array of them, so that they'll remain in
// registers.
fltx4 matSplat00, matSplat01, matSplat02, matSplat03, // TWELVE REGISTERS
matSplat10, matSplat11, matSplat12, matSplat13,
matSplat20, matSplat21, matSplat22, matSplat23;
{
// Load the matrix into local vectors. Sadly, matrix3x4_ts are
// often unaligned. The w components will be the tranpose row of
// the matrix.
fltx4 matCol0 = LoadUnalignedSIMD(rotationMatrix[0]);
fltx4 matCol1 = LoadUnalignedSIMD(rotationMatrix[1]);
fltx4 matCol2 = LoadUnalignedSIMD(rotationMatrix[2]);
matSplat00 = SplatXSIMD(matCol0);
matSplat01 = SplatYSIMD(matCol0);
matSplat02 = SplatZSIMD(matCol0);
matSplat03 = SplatWSIMD(matCol0);
matSplat10 = SplatXSIMD(matCol1);
matSplat11 = SplatYSIMD(matCol1);
matSplat12 = SplatZSIMD(matCol1);
matSplat13 = SplatWSIMD(matCol1);
matSplat20 = SplatXSIMD(matCol2);
matSplat21 = SplatYSIMD(matCol2);
matSplat22 = SplatZSIMD(matCol2);
matSplat23 = SplatWSIMD(matCol2);
}
// this macro defines how to compute a specific row from an input and certain splat columns
#define COMPUTE(res, invec, xterm, yterm, zterm, transterm) res = AddSIMD( AddSIMD( MulSIMD((invec)->z, zterm), AddSIMD( MulSIMD( (invec)->x, xterm ), MulSIMD( (invec)->y, yterm ) ) ), transterm )
#define WRITE(term, reg, toptr) toptr->term = reg
// define result groups (we're going to have an eight-way unroll)
fltx4 res0X, res0Y, res0Z, res0XTemp, res0YTemp, res0ZTemp; // 48 REGISTERS
fltx4 res1X, res1Y, res1Z, res1XTemp, res1YTemp, res1ZTemp;
fltx4 res2X, res2Y, res2Z, res2XTemp, res2YTemp, res2ZTemp;
fltx4 res3X, res3Y, res3Z, res3XTemp, res3YTemp, res3ZTemp;
fltx4 res4X, res4Y, res4Z, res4XTemp, res4YTemp, res4ZTemp;
fltx4 res5X, res5Y, res5Z, res5XTemp, res5YTemp, res5ZTemp;
fltx4 res6X, res6Y, res6Z, res6XTemp, res6YTemp, res6ZTemp;
fltx4 res7X, res7Y, res7Z, res7XTemp, res7YTemp, res7ZTemp;
// #define FROZ(out,in,offset) COMPUTE((out+offset)->x, (in + offset), matSplat00, matSplat01, matSplat02, matSplat03); COMPUTE((out + offset )->y, (in + offset), matSplat10, matSplat11, matSplat12, matSplat13); COMPUTE((out + offset)->z, (in + offset), matSplat20, matSplat21, matSplat22, matSplat23)
#define COMPUTE_GROUP(resgroup,dataptr) COMPUTE(resgroup ## X, (dataptr), matSplat00, matSplat01, matSplat02, matSplat03); COMPUTE(resgroup ## Y, (dataptr), matSplat10, matSplat11, matSplat12, matSplat13); COMPUTE(resgroup ## Z, (dataptr), matSplat20, matSplat21, matSplat22, matSplat23)
#define WRITE_GROUP(ptr, resgroup) (ptr)->x = resgroup ## X; (ptr)->y = resgroup ## Y; (ptr)->z = resgroup ## Z
/*
// stage 1 -- 6 ops for xyz, each w 12 cycle latency
res0X = MulSIMD( (invec)->y, matSplat01 );
res0Temp = MaddSIMD((invec)->z, matSplat02, matSplat03);
// stage 2 -- 3 clocks for xyz
res0X = MaddSIMD( (invec)->x, matSplat00, res0X );
// stage 3 -- 3 clocks for xyz
res0X = AddSIMD(res0X, res0Temp);
*/
#define COMPUTE_STAGE1_ROW(res, tempvar, invec, xsplat, ysplat, zsplat, transplat) res = MulSIMD( (invec)->y, ysplat ); tempvar = MaddSIMD((invec)->z, zsplat, transplat)
#define COMPUTE_STAGE2_ROW(res, tempvar, invec, xsplat, ysplat, zsplat, transplat) res = MaddSIMD( (invec)->x, xsplat, res )
#define COMPUTE_STAGE3_ROW(res, tempvar, invec, xsplat, ysplat, zsplat, transplat) res = AddSIMD(res, tempvar) // frees up the tempvar
#define COMPUTE_STAGE1_GROUP(resgroup, invec) COMPUTE_STAGE1_ROW(resgroup ## X, resgroup ## X ## Temp, invec, matSplat00, matSplat01, matSplat02, matSplat03);\
COMPUTE_STAGE1_ROW(resgroup ## Y, resgroup ## Y ## Temp, invec, matSplat10, matSplat11, matSplat12, matSplat13);\
COMPUTE_STAGE1_ROW(resgroup ## Z, resgroup ## Z ## Temp, invec, matSplat20, matSplat21, matSplat22, matSplat23)
#define COMPUTE_STAGE2_GROUP(resgroup, invec) COMPUTE_STAGE2_ROW(resgroup ## X, resgroup ## X ## Temp, invec, matSplat00, matSplat01, matSplat02, matSplat03);\
COMPUTE_STAGE2_ROW(resgroup ## Y, resgroup ## Y ## Temp, invec, matSplat10, matSplat11, matSplat12, matSplat13);\
COMPUTE_STAGE2_ROW(resgroup ## Z, resgroup ## Z ## Temp, invec, matSplat20, matSplat21, matSplat22, matSplat23)
#define COMPUTE_STAGE3_GROUP(resgroup, invec) COMPUTE_STAGE3_ROW(resgroup ## X, resgroup ## X ## Temp, invec, matSplat00, matSplat01, matSplat02, matSplat03);\
COMPUTE_STAGE3_ROW(resgroup ## Y, resgroup ## Y ## Temp, invec, matSplat10, matSplat11, matSplat12, matSplat13);\
COMPUTE_STAGE3_ROW(resgroup ## Z, resgroup ## Z ## Temp, invec, matSplat20, matSplat21, matSplat22, matSplat23)
const FourVectors * const RESTRICT STOP = pVectors + numVectors;
// Use techniques of loop scheduling to eliminate data hazards; process
// eight groups simultaneously so that we never have any operations stalling
// waiting for data.
// Note: this loop, while pretty fast, could be faster still -- you'll notice
// that it does all of its loads, then all computation, then writes everything
// out. If made truly cyclic, such that every line interleaved a stage 1, stage 2,
// stage 3, and write, then throughput could be higher (probably by about 50%).
while (pVectors < STOP)
{
// start prefetching the three cache lines
// we'll hit two iterations from now
__dcbt( sizeof(FourVectors) * 16, pVectors );
__dcbt( sizeof(FourVectors) * 16 + 128, pVectors );
__dcbt( sizeof(FourVectors) * 16 + 256, pVectors );
// synchro
COMPUTE_STAGE1_GROUP(res0, pVectors + 0);
COMPUTE_STAGE1_GROUP(res1, pVectors + 1);
COMPUTE_STAGE1_GROUP(res2, pVectors + 2);
COMPUTE_STAGE1_GROUP(res3, pVectors + 3);
COMPUTE_STAGE2_GROUP(res0, pVectors + 0);
COMPUTE_STAGE1_GROUP(res4, pVectors + 4);
COMPUTE_STAGE2_GROUP(res1, pVectors + 1);
COMPUTE_STAGE1_GROUP(res5, pVectors + 5);
COMPUTE_STAGE2_GROUP(res2, pVectors + 2);
COMPUTE_STAGE1_GROUP(res6, pVectors + 6);
COMPUTE_STAGE2_GROUP(res3, pVectors + 3);
COMPUTE_STAGE1_GROUP(res7, pVectors + 7);
COMPUTE_STAGE3_GROUP(res0, pVectors + 0);
COMPUTE_STAGE2_GROUP(res4, pVectors + 4);
COMPUTE_STAGE3_GROUP(res1, pVectors + 1);
COMPUTE_STAGE2_GROUP(res5, pVectors + 5);
COMPUTE_STAGE3_GROUP(res2, pVectors + 2);
COMPUTE_STAGE2_GROUP(res6, pVectors + 6);
COMPUTE_STAGE3_GROUP(res3, pVectors + 3);
COMPUTE_STAGE2_GROUP(res7, pVectors + 7);
COMPUTE_STAGE3_GROUP(res4, pVectors + 4);
WRITE_GROUP( pVectors + 0, res0 );
COMPUTE_STAGE3_GROUP(res5, pVectors + 5);
WRITE_GROUP( pVectors + 1, res1 );
COMPUTE_STAGE3_GROUP(res6, pVectors + 6);
WRITE_GROUP( pVectors + 2, res2 );
COMPUTE_STAGE3_GROUP(res7, pVectors + 7);
WRITE_GROUP( pVectors + 3, res3 );
WRITE_GROUP( pVectors + 4, res4 );
WRITE_GROUP( pVectors + 5, res5 );
WRITE_GROUP( pVectors + 6, res6 );
WRITE_GROUP( pVectors + 7, res7 );
pVectors += 8;
}
#undef COMPUTE
#undef WRITE
#undef COMPUTE_STAGE1_ROW
#undef COMPUTE_STAGE2_ROW
#undef COMPUTE_STAGE3_ROW
#undef COMPUTE_STAGE1_GROUP
#undef COMPUTE_STAGE2_GROUP
#undef COMPUTE_STAGE3_GROUP
#undef COMPUTE_GROUP
#undef WRITE_GROUP
}
#endif
// In-place version of above. It's necessary to have this, rather than just allowing pOut and pVectors
// to equal each other, because of the semantics of RESTRICT: pVectors and pOut must not be allowed
// to alias. (Simply un-restricting the pointers results in very poor scheduling.)
void FourVectors::TransformManyBy(FourVectors * RESTRICT pVectors, unsigned int numVectors, const matrix3x4_t& rotationMatrix )
{
Assert(numVectors > 0);
#ifdef _X360
// The really fast version of this function likes to operate on blocks of eight. So, chug through
// groups of eight, then deal with any leftovers.
int numVectorsRoundedToNearestEight = numVectors & (~0x07);
if (numVectors >= 8)
{
FourVectors_TransformManyGroupsOfEightBy_InPlace(pVectors, numVectorsRoundedToNearestEight, rotationMatrix);
numVectors -= numVectorsRoundedToNearestEight;
pVectors += numVectorsRoundedToNearestEight;
}
#endif
// any left over?
if (numVectors > 0)
{
// Splat out each of the entries in the matrix to a fltx4. Do this
// in the order that we will need them, to hide latency. I'm
// avoiding making an array of them, so that they'll remain in
// registers.
fltx4 matSplat00, matSplat01, matSplat02, matSplat03, // TWELVE REGISTERS
matSplat10, matSplat11, matSplat12, matSplat13,
matSplat20, matSplat21, matSplat22, matSplat23;
{
// Load the matrix into local vectors. Sadly, matrix3x4_ts are
// often unaligned. The w components will be the transpose row of
// the matrix.
fltx4 matCol0 = LoadUnalignedSIMD(rotationMatrix[0]);
fltx4 matCol1 = LoadUnalignedSIMD(rotationMatrix[1]);
fltx4 matCol2 = LoadUnalignedSIMD(rotationMatrix[2]);
matSplat00 = SplatXSIMD(matCol0);
matSplat01 = SplatYSIMD(matCol0);
matSplat02 = SplatZSIMD(matCol0);
matSplat03 = SplatWSIMD(matCol0);
matSplat10 = SplatXSIMD(matCol1);
matSplat11 = SplatYSIMD(matCol1);
matSplat12 = SplatZSIMD(matCol1);
matSplat13 = SplatWSIMD(matCol1);
matSplat20 = SplatXSIMD(matCol2);
matSplat21 = SplatYSIMD(matCol2);
matSplat22 = SplatZSIMD(matCol2);
matSplat23 = SplatWSIMD(matCol2);
}
do
{
fltx4 resultX, resultY, resultZ;
// Trust in the compiler to schedule these operations correctly:
resultX = MaddSIMD(pVectors->z, matSplat02, MaddSIMD(pVectors->y, matSplat01, MaddSIMD(pVectors->x, matSplat00, matSplat03)));
resultY = MaddSIMD(pVectors->z, matSplat12, MaddSIMD(pVectors->y, matSplat11, MaddSIMD(pVectors->x, matSplat00, matSplat13)));
resultZ = MaddSIMD(pVectors->z, matSplat22, MaddSIMD(pVectors->y, matSplat21, MaddSIMD(pVectors->x, matSplat00, matSplat23)));
pVectors->x = resultX;
pVectors->y = resultY;
pVectors->z = resultZ;
++pVectors;
--numVectors;
} while(numVectors > 0);
}
}
#endif
// Transform many (horizontal) points in-place by a 3x4 matrix,
// here already loaded onto three fltx4 registers but not transposed.
// The points must be stored as 16-byte aligned. They are points
// and not vectors because we assume the w-component to be 1.
#ifdef _X360
void TransformManyPointsBy(VectorAligned * RESTRICT pVectors, unsigned int numVectors, FLTX4 mRow0, FLTX4 mRow1, FLTX4 mRow2)
{
/**************************************************
* Here is an elaborate and carefully scheduled *
* algorithm nicked from xboxmath.inl and hacked *
* up for 3x4 matrices. *
**************************************************/
COMPILE_TIME_ASSERT(sizeof(VectorAligned) == sizeof(XMFLOAT4)); // VectorAligned's need to be 16 bytes
XMVECTOR R0[8], R1[8], R2[8];
XMVECTOR vIn[8];
// C_ASSERT(UnrollCount == 8);
// C_ASSERT(sizeof(XMFLOAT4) == 16);
Assert(pVectors);
Assert(((UINT_PTR)pVectors & 3) == 0); // assert alignment
UINT GroupIndex;
VectorAligned * RESTRICT vCurrent = pVectors;
// sentinel pointers
VectorAligned * vStreamEnd, *vStreamGroupBase, *vStreamGroupEnd;
{
// cook up the pointers from integer math. Necessary because otherwise we LHS all over
// the place. (Odd that this doesn't happen to the xbox math.)
UINT_PTR InputVector = (UINT_PTR)pVectors;
UINT_PTR InputStreamEnd = InputVector + numVectors * sizeof(XMFLOAT4);
// compute start and end points on 128-byte alignment
UINT_PTR InputStreamCGroupBase = XMMin(InputVector + (XM_CACHE_LINE_SIZE - 1), InputStreamEnd) & ~(XM_CACHE_LINE_SIZE - 1);
UINT_PTR InputStreamCGroupEnd = InputStreamCGroupBase + ((InputStreamEnd - InputStreamCGroupBase) & ~(4 * XM_CACHE_LINE_SIZE - 1));
vStreamEnd = (VectorAligned *)InputStreamEnd;
vStreamGroupBase = (VectorAligned *)InputStreamCGroupBase;
vStreamGroupEnd = (VectorAligned *)InputStreamCGroupEnd;
}
__dcbt(0, vStreamGroupBase);
__dcbt(XM_CACHE_LINE_SIZE, vStreamGroupBase);
__dcbt(XM_CACHE_LINE_SIZE * 2, vStreamGroupBase);
__dcbt(XM_CACHE_LINE_SIZE * 3, vStreamGroupBase);
while (vCurrent < vStreamGroupBase)
{
fltx4 vec = __lvx(vCurrent->Base(), 0);
R0[0] = __vmsum4fp(vec, mRow0);
R1[0] = __vmsum4fp(vec, mRow1);
R2[0] = __vmsum4fp(vec, mRow2);
__stvewx(R0[0], vCurrent->Base(), 0);
__stvewx(R1[0], vCurrent->Base(), 4);
__stvewx(R2[0], vCurrent->Base(), 8);
vCurrent++;
}
while (vCurrent < vStreamGroupEnd)
{
__dcbt(XM_CACHE_LINE_SIZE * 4, vCurrent);
__dcbt(XM_CACHE_LINE_SIZE * 5, vCurrent);
__dcbt(XM_CACHE_LINE_SIZE * 6, vCurrent);
__dcbt(XM_CACHE_LINE_SIZE * 7, vCurrent);
for (GroupIndex = 0; GroupIndex < 4; GroupIndex++)
{
// all kinds of LHS on this pointer. Why?
VectorAligned* OutputVector = vCurrent;
vIn[0] = __lvx(vCurrent->Base(), 0);
vCurrent++;
vIn[1] = __lvx(vCurrent->Base(), 0);
vCurrent++;
vIn[2] = __lvx(vCurrent->Base(), 0);
vCurrent++;
vIn[3] = __lvx(vCurrent->Base(), 0);
vCurrent++;
vIn[4] = __lvx(vCurrent->Base(), 0);
vCurrent++;
vIn[5] = __lvx(vCurrent->Base(), 0);
vCurrent++;
vIn[6] = __lvx(vCurrent->Base(), 0);
vCurrent++;
vIn[7] = __lvx(vCurrent->Base(), 0);
vCurrent++;
R0[0] = __vmsum4fp(vIn[0], mRow0);
R1[0] = __vmsum4fp(vIn[0], mRow1);
R2[0] = __vmsum4fp(vIn[0], mRow2);
R0[1] = __vmsum4fp(vIn[1], mRow0);
R1[1] = __vmsum4fp(vIn[1], mRow1);
R2[1] = __vmsum4fp(vIn[1], mRow2);
R0[2] = __vmsum4fp(vIn[2], mRow0);
R1[2] = __vmsum4fp(vIn[2], mRow1);
R2[2] = __vmsum4fp(vIn[2], mRow2);
R0[3] = __vmsum4fp(vIn[3], mRow0);
R1[3] = __vmsum4fp(vIn[3], mRow1);
R2[3] = __vmsum4fp(vIn[3], mRow2);
R0[4] = __vmsum4fp(vIn[4], mRow0);
R1[4] = __vmsum4fp(vIn[4], mRow1);
R2[4] = __vmsum4fp(vIn[4], mRow2);
R0[5] = __vmsum4fp(vIn[5], mRow0);
R1[5] = __vmsum4fp(vIn[5], mRow1);
R2[5] = __vmsum4fp(vIn[5], mRow2);
R0[6] = __vmsum4fp(vIn[6], mRow0);
R1[6] = __vmsum4fp(vIn[6], mRow1);
R2[6] = __vmsum4fp(vIn[6], mRow2);
R0[7] = __vmsum4fp(vIn[7], mRow0);
R1[7] = __vmsum4fp(vIn[7], mRow1);
R2[7] = __vmsum4fp(vIn[7], mRow2);
__stvewx(R0[0], OutputVector, 0);
__stvewx(R1[0], OutputVector, 4);
__stvewx(R2[0], OutputVector, 8);
OutputVector++;
__stvewx(R0[1], OutputVector, 0);
__stvewx(R1[1], OutputVector, 4);
__stvewx(R2[1], OutputVector, 8);
OutputVector++;
__stvewx(R0[2], OutputVector, 0);
__stvewx(R1[2], OutputVector, 4);
__stvewx(R2[2], OutputVector, 8);
OutputVector++;
__stvewx(R0[3], OutputVector, 0);
__stvewx(R1[3], OutputVector, 4);
__stvewx(R2[3], OutputVector, 8);
OutputVector++;
__stvewx(R0[4], OutputVector, 0);
__stvewx(R1[4], OutputVector, 4);
__stvewx(R2[4], OutputVector, 8);
OutputVector++;
__stvewx(R0[5], OutputVector, 0);
__stvewx(R1[5], OutputVector, 4);
__stvewx(R2[5], OutputVector, 8);
OutputVector++;
__stvewx(R0[6], OutputVector, 0);
__stvewx(R1[6], OutputVector, 4);
__stvewx(R2[6], OutputVector, 8);
OutputVector++;
__stvewx(R0[7], OutputVector, 0);
__stvewx(R1[7], OutputVector, 4);
__stvewx(R2[7], OutputVector, 8);
OutputVector++;
}
}
while (vCurrent < vStreamEnd)
{
vIn[0] = __lvx(vCurrent->Base(), 0);
R0[0] = __vmsum4fp(vIn[0], mRow0);
R1[0] = __vmsum4fp(vIn[0], mRow1);
R2[0] = __vmsum4fp(vIn[0], mRow2);
__stvewx(R0[0], vCurrent->Base(), 0);
__stvewx(R1[0], vCurrent->Base(), 4);
__stvewx(R2[0], vCurrent->Base(), 8);
vCurrent++;
}
}
#endif | [
"sean@csnxs.uk"
] | sean@csnxs.uk |
f1c165e6f9db93fdd625d5863ec050910e7b4a3d | f88d02622b36cef48c08ce9256fb29414ee36736 | /HWpart2.cpp | bbd046181eea2fbf78c846fec9f000db0cca9c27 | [] | no_license | quasihtonder/CS002 | d497f8995bde332f13ec9c83a5873da161fd2081 | fee23a7c2edd61ba591af047e35b171707b37b25 | refs/heads/master | 2022-12-17T13:38:42.037541 | 2020-09-22T20:44:17 | 2020-09-22T20:44:17 | 297,766,145 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 573 | cpp | /*
#include<iostream>
using namespace std;
int main() {
int a = 0;
cout << "What is your score.(Between 1-100)" << endl;
cin >> a;
if (a > 89) {
a = 4;
}
if (a > 79) {
a = 3;
}
if (a > 69) {
a = 2;
}
if (a > 59) {
a = 1;
}
switch (a) {
case 1:
cout << "You grade is D" << endl;
break;
case 2:
cout << "You grade is C" << endl;
break;
case 3:
cout << "You grade is B" << endl;
break;
case 4:
cout << "You grade is A" << endl;
break;
default:
cout << "You failed." << endl;
}
return 0;
}
*/
| [
"noreply@github.com"
] | noreply@github.com |
f24666c66bb765c3c7880a403c25abc09c7d4c62 | a12efc2d4697526782078316a7ab2c572f4a9253 | /POJ/POJ_2386.cpp | c0ac23abd861e18a4d70aaef6951e0d9dbbcd3b9 | [] | no_license | cty002718/ProgrammingContest | cb517a1a4f6720d7c515bc24847857f78aa4b0dc | f9edeb6096135b8495bc7191cba8d39f21458470 | refs/heads/master | 2021-01-22T17:52:59.213123 | 2017-08-03T09:32:55 | 2017-08-03T09:32:55 | 85,043,861 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 667 | cpp | #include<iostream>
#include<cstdio>
using namespace std;
int n,m;
char map[103][103];
const int movex[8]={1,1,1,-1,-1,-1,0,0};
const int movey[8]={1,0,-1,1,0,-1,1,-1};
void dfs(int,int);
int main()
{
cin >> n >> m;
int i,j;
for(i=0;i<n;i++)
{
getchar();
for(j=0;j<m;j++)
scanf("%c",&map[i][j]);
}
int c=0;
for(i=0;i<n;i++)
for(j=0;j<m;j++)
if(map[i][j]=='W')
{
dfs(i,j);
c++;
}
cout << c << endl;
return 0;
}
void dfs(int x,int y)
{
map[x][y]='.';
int i;
for(i=0;i<8;i++)
{
int newx=x+movex[i];
int newy=y+movey[i];
if(newx>=0 && newx<n && newy>=0 && newy<m && map[newx][newy]=='W')
dfs(newx,newy);
}
}
| [
"cty002718@gmail.com"
] | cty002718@gmail.com |
ec83331739065fbc647411d7497842e00d4c6ad6 | d1853dc32105f49790ed299bcca2db3b1d718ece | /codeforces/1468/F.cpp | ed66dea3496e0af225550e964d2211eb937673cd | [] | no_license | towhid1zaman/Problem__Solving | a8abbd77c68c6f1e9ff8ceecd9332a3d15f741cd | 1407bc0d44165827e8db5599e75115961d569315 | refs/heads/master | 2023-06-05T10:56:17.151354 | 2021-06-20T19:46:00 | 2021-06-26T04:47:16 | 326,334,514 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 959 | cpp | #pragma comment (linker,"/STACK:16777216")
#include "bits/stdc++.h"
using namespace std;
typedef long long ll;
#define all(v) (v).begin(),(v).end()
#define endl "\n"
const int maxn = 200005;
const int mod = 1000000007;
ll gcd(ll a,ll b){
return b ? gcd(b,a%b) : a;
}
ll lcm(ll a, ll b){
return a/ gcd(a,b)*b;
}
void task(){
ll n; cin >> n;
std::map<pair<ll,ll>, ll> mp;
ll ans = 0;
for(int i = 0; i<n; i++){
ll a,b,c,d; cin >> a >> b >> c >> d;
ll A = c-a, B = d - b;
ll cf = gcd(abs(A), abs(B));
A/=cf, B/=cf;
ans+=mp[{A,B}];
A*=-1, B*=-1;
mp[{A,B}]++;
}
cout << ans << endl;
}
int main(){
ios::sync_with_stdio(0);
cin.tie(0);
#ifdef OJ
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
#endif
int T = 1; cin >> T;
for(int __ = 1; __ <= T; __++){
//cout <<"Case "<<__<<": ";
task();
}
return 0;
} | [
"towhid1zaman@gmail.com"
] | towhid1zaman@gmail.com |
a5009c87273ba958323b28c63e97f68a0674ca0d | 0933ab2f142594aac91bdbf350b5f6f839f7deab | /GPS_IMU_Simulator/Simulator/Simulator/CKalmanFilter.cpp | ba72aed1eb63f417f99319b7db89e0f6937bb7fa | [] | no_license | siavashha/GPS_IMU_Simulator | bc93d042be5ea7a7a93613b389d0243e017dab9b | bfec41d4a00e1003ee3a8f4649bbfc6b70067198 | refs/heads/main | 2023-02-19T06:31:49.861563 | 2021-01-16T17:54:13 | 2021-01-16T17:54:13 | 330,219,233 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,272 | cpp | #include "CKalmanFilter.h"
#include "CDisplayMatrixElements.h"
CKalmanFilter::CKalmanFilter()
{
timeModelUpdate = gcnew CStateModel();
observationModelUpdate = gcnew CObservationModel();
x = new CMatrix(16,1);
P = new CMatrix(16,16);
P->SetIdentity(16);
dout = gcnew StreamWriter("test2.txt");
}
CKalmanFilter::~CKalmanFilter()
{
dout->Close();
delete dout;
delete timeModelUpdate;
delete observationModelUpdate;
delete x;
delete P;
}
void CKalmanFilter::TimeUpdate(CMatrix* geodeticPositionInn , CMatrix* velocityInn , CMatrix* Rb2n , CMatrix* simulatedAccelerationInb , CMatrix* simulatedAngRate , int gradeIMU , double dt)
{
timeModelUpdate->StateModelCalc(geodeticPositionInn , velocityInn , Rb2n , simulatedAccelerationInb , simulatedAngRate , gradeIMU);
CMatrix* F = new CMatrix(16,16);
(*F) = (*timeModelUpdate->dynamicModelF);
CMatrix* transitionMatrix = new CMatrix(16,16);
CMatrix* identityMatrix = new CMatrix(16,16);
identityMatrix->SetIdentity(16);
(*transitionMatrix) = (*identityMatrix) + (*F) * dt + (*F) * (*F) * (0.5 * dt * dt);
CMatrix* G = new CMatrix(16,6);
(*G) = (*timeModelUpdate->systemNoiseModelG);
CMatrix* Q = new CMatrix(6,6);
(*Q) = (*timeModelUpdate->systemCovarianceMatrixQ) * dt;
(*x) = (*transitionMatrix) * (*x);
(*P) = (*transitionMatrix) * (*P) * (transitionMatrix->GetTranspose()) + (*G) * (*Q) * (G->GetTranspose());//
(*P) = ((*P) + P->GetTranspose()) / 2;
delete identityMatrix;
delete F;
delete transitionMatrix;
delete G;
delete Q;
}
void CKalmanFilter::ObservationUpdate( int gradeGPS , CMatrix* simulatedGPSPosition , CMatrix* simulatedIMUPosition)
{
double dLambda = this->Degree2Rad((*simulatedGPSPosition)(0,0)-(*simulatedIMUPosition)(0,0));
double dPhi = this->Degree2Rad((*simulatedGPSPosition)(1,0)-(*simulatedIMUPosition)(1,0));
double dHeight = (*simulatedGPSPosition)(2,0)-(*simulatedIMUPosition)(2,0);
double obsArray[2*1] = {dPhi , dLambda };
CMatrix* dy = new CMatrix(obsArray,2,1);
observationModelUpdate->ObservationModelCalc( gradeGPS );
CMatrix* H = new CMatrix(2,16);
(*H) = (*observationModelUpdate->designMatrixH);
CMatrix* R= new CMatrix(2,2);
(*R) = (*observationModelUpdate->observationNoiseModelR);
CMatrix* gainK = new CMatrix(16,2);
CMatrix* HPHplusR = new CMatrix(2,2);
CMatrix* invHPHplusR = new CMatrix(2,2);
//Console::WriteLine("************* Obs *********");
//Console::WriteLine(dPhi);
//Console::WriteLine(dLambda);
(*HPHplusR) = (*H) * (*P) * (H->GetTranspose()) + (*R) ; //
(*invHPHplusR) = (HPHplusR->GetInverse());
(*gainK) = (*P) * (H->GetTranspose()) * (*invHPHplusR);
(*x) = (*x) + (*gainK) * ((*dy) - (*H) * (*x));//
CMatrix* IminusKH = new CMatrix(2,2);
CMatrix* identityMatrix = new CMatrix(16,16);
identityMatrix->SetIdentity(16);
(*IminusKH) = (*identityMatrix) - (*gainK) * (*H);
(*P) = (*IminusKH) * (*P) * (IminusKH->GetTranspose()) + (*gainK) * (*R) * (gainK->GetTranspose());//
(*P) = ((*P) + (P->GetTranspose())) / 2;
delete dy;
delete H;
delete R;
delete gainK;
delete IminusKH;
delete HPHplusR;
delete invHPHplusR;
delete identityMatrix;
}
double CKalmanFilter::Degree2Rad(double angleInDeg)
{
double PI=3.14159265358979323846;
double angleInRad=angleInDeg*PI/180.0;
return angleInRad;
} | [
"siavash.hosseinyalmadary@gmailexample.com"
] | siavash.hosseinyalmadary@gmailexample.com |
e6c1e3c5edf868f43891ae09e615781145a31388 | 407521f862883d76074a5581efaafd6b9d3cd5bc | /include/handlers/ConfigurationHandler.h | 82daa28b753909e6e4e7b5abf77448c17ad39d8f | [] | no_license | Timbogen/Shooting-Range | 4bb9cf24adc0f61b80a96e38c6a5699ad9235735 | e856a025fcef9d0130c6f73dd5e8b0ca1532e1d5 | refs/heads/main | 2023-02-21T12:05:24.643213 | 2021-01-19T14:56:47 | 2021-01-19T14:56:47 | 327,694,242 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,602 | h | #ifndef SHOOTINGRANGE_CONFIGURATIONHANDLER_H
#define SHOOTINGRANGE_CONFIGURATIONHANDLER_H
#include <fstream>
#include <iostream>
#include <cereal/archives/xml.hpp>
namespace Configuration {
/**
* The current window width
*/
extern float width;
/**
* The current window height
*/
extern float height;
class Configuration {
public:
/**
* The bounds of the window
*/
float x = 200, y = 200, width = 1600, height = 800;
/**
* The minimum frame time (in seconds)
*/
double frameTime = 0.006;
/**
* The mouse sensitivity
*/
float mouseSensitivity = 0.5;
/**
* The field of view
*/
float fov = 70.0f;
/**
* True if the fps count should be shown
*/
bool showFPS = true;
/**
* The duration of one game
*/
int gameDuration = 60;
/**
* The health of a target
*/
int health = 6;
/**
* The max amount of targets that are alive at the same time
*/
int maxTargets = 5;
/**
* The speed of the targets
*/
float targetSpeed = 5;
/**
* The delta frame time (in seconds)
*/
float deltaTime = frameTime;
/**
* True if the console is open
*/
bool consoleOpen = false;
public:
/**
* The serialization interface for cereal
*/
template<class Archive>
void serialize(Archive &ar) {
ar(
cereal::make_nvp("x", x),
cereal::make_nvp("y", y),
cereal::make_nvp("width", width),
cereal::make_nvp("height", height),
cereal::make_nvp("frameTime", frameTime),
cereal::make_nvp("mouseSensitivity", mouseSensitivity),
cereal::make_nvp("fov", fov),
cereal::make_nvp("showFPS", showFPS),
cereal::make_nvp("gameDuration", gameDuration),
cereal::make_nvp("health", health),
cereal::make_nvp("maxTargets", maxTargets),
cereal::make_nvp("targetSpeed", targetSpeed)
);
}
};
class Handler {
public:
/**
* The config file
*/
const char *configFile = "configuration.xml";
/**
* The configuration
*/
Configuration config;
public:
/**
* Provide access to the singleton instance
* @return The singleton
*/
static Handler &getInstance() {
static Handler instance;
return instance;
}
private:
/**
* Hide the constructor
*/
Handler() = default;
public:
/**
* Delete copy-constructor
*/
Handler(Handler const &) = delete;
/**
* Delete copy-operator
*/
void operator=(Handler const &) = delete;
/**
* Save the configuration
*/
void save() const;
/**
* Load the configuration
*/
void load();
/**
* Save the window bounds
* @param x The x position of the window
* @param y The y position of the window
*/
void saveWindowBounds(float x, float y);
};
}
#endif //SHOOTINGRANGE_CONFIGURATIONHANDLER_H
| [
"niederer.tim@gmail.com"
] | niederer.tim@gmail.com |
14cf6c422eb8998d82297691be0bdcae627cd5df | 6397d39ff39096404551d10f903ba79695ca600c | /src/compression.cpp | 0ace9e97898b80d0cf65a82d93311e63c1155f3a | [] | no_license | robertoxmed/huffman | c17abf8c8589d7d8a66795d034a4acc15a7c4231 | c89bde9e3282360536f7626ba944d73eb3bf5115 | refs/heads/master | 2021-01-17T06:30:21.548372 | 2013-12-16T11:21:19 | 2013-12-16T11:21:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,845 | cpp | /**
* Algav: Projet Arbre Huffman Adaptative
* arbre.cpp: définit les fonctions de gestion de l'arbre
*
* Roberto MEDINA
*
* 10 Décembre 2013
*/
#include "../include/compression.hpp"
void Compression(int fd_entree, int fd_sortie){
int i = 0;
char buff[5000];
int total_char = 0;
Code_buffer * cbf = Code_buffer_init();
Arbre *H = Arbre_creerVide();
if((total_char = read(fd_entree,buff,sizeof(buff))) < 0){
perror("read du fichier d'entrée");
exit(1);
}
while(i < total_char-1){ //Tant que j'ai des caractères à lire
char c = buff[i];
if(Arbre_recherche_char(H,c)){ //Si le caractère lu est dans l'arbre
Code_Symbole *s = Code_Symbole_init();
char *code = Arbre_code(H,c);
Code_Symbole_code(s,code,strlen(code));
Code_buffer_transmettre(cbf,s);
Code_Symbole_detruire(s);
}else{
Code_Symbole *s = Code_Symbole_init();
Code_Symbole *s_fs = Code_Symbole_init();
char *code = Arbre_code_FS(H);
Code_Symbole_code(s_fs,code,strlen(code));
Code_Symbole_code_char(s,c);
Code_buffer_transmettre(cbf,s_fs);
Code_buffer_transmettre(cbf,s);
Code_Symbole_detruire(s);
Code_Symbole_detruire(s_fs);
}
H = Arbre_Modification(H,c);
i++;
}
Arbre_affichage(H);
Code_buffer_printBinaire(cbf);
if(write(fd_sortie,cbf->code_buffer,Code_get_nb_char(cbf))==0){
perror("write du fichier de sortie");
exit(2);
}
close(fd_entree);
close(fd_sortie);
Arbre_detruire(H);
Code_buffer_detruire(cbf);
}
void Decompression(int fd_entree, int fd_sortie){
int i = 0;
int total_char;
char buff[5000], lettre;
Decode_buffer *dbf = Decode_buffer_init();
Arbre *H = Arbre_creerVide();
Noeud *N;
//je charge le code compressé dans la structure de décodage
if((total_char = read(fd_entree,dbf->decode_buffer,sizeof(dbf->decode_buffer))) < 0){
perror("read du fichier d'entrée");
exit(1);
}
//je commence par lire la feuille spéciale et le premier caractère
Decode_Next(dbf);
lettre = Decode_getLettre(dbf);
buff[i] = lettre;
fprintf(stderr, "lettre = %c ", buff[i]);
Arbre_Modification(H,lettre);
i++;
N = H->racine;
while(dbf->octet_courant < total_char+1){ //Tant que j'ai des caractères à lire
while(!Noeud_estFeuille(N)){
int bit = Decode_get_Next(dbf);
if (bit == 0)
N = N->filsGauche;
else
N = N->filsDroit;
}
if(N->caractere == '#') //Si je lis la feuille spéciale
lettre = Decode_getLettre(dbf); //Je recupère la lettre
else
lettre = N->caractere;
buff[i] = lettre;
Arbre_Modification(H,buff[i++]);
N = H->racine;
fprintf(stderr, "lettre = %c ", buff[i-1]);
}
fprintf(stderr, "\n");
Arbre_affichage(H);
if(write(fd_sortie,buff,i-1)<0){
perror("write du fichier de sortie");
exit(2);
}
close(fd_entree);
close(fd_sortie);
Arbre_detruire(H);
Decode_buffer_detruire(dbf);
}
| [
"robertoxmed@gmail.com"
] | robertoxmed@gmail.com |
822f4743ddf0febe15889bafb62f6bc746d28ddb | 04251e142abab46720229970dab4f7060456d361 | /lib/rosetta/source/src/core/select/residue_selector/AndResidueSelector.hh | faea195925b8550012eeda629dad96502b5f6430 | [] | no_license | sailfish009/binding_affinity_calculator | 216257449a627d196709f9743ca58d8764043f12 | 7af9ce221519e373aa823dadc2005de7a377670d | refs/heads/master | 2022-12-29T11:15:45.164881 | 2020-10-22T09:35:32 | 2020-10-22T09:35:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,526 | hh | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
// (c) For more information, see http://www.rosettacommons.org. Questions about this can be
// (c) addressed to University of Washington CoMotion, email: license@uw.edu.
/// @file core/select/residue_selector/AndResidueSelector.hh
/// @brief The AndResidueSelector combines logic from multiple ResidueSelectors
/// @author Andrew Leaver-Fay (leaverfa@email.unc.edu)
#ifndef INCLUDED_core_select_residue_selector_AndResidueSelector_HH
#define INCLUDED_core_select_residue_selector_AndResidueSelector_HH
// Unit headers
#include <core/select/residue_selector/AndResidueSelector.fwd.hh>
// Package headers
#include <core/types.hh>
#include <core/select/residue_selector/ResidueSelector.hh>
#include <core/pose/Pose.fwd.hh>
// Utility Headers
#include <utility/tag/Tag.fwd.hh>
#include <utility/tag/XMLSchemaGeneration.fwd.hh>
#include <utility/vector1.hh>
// C++ headers
#include <list>
#ifdef SERIALIZATION
// Cereal headers
#include <cereal/types/polymorphic.fwd.hpp>
#endif // SERIALIZATION
namespace core {
namespace select {
namespace residue_selector {
/// @brief The AndResidueSelector combines the output of multiple ResidueSelectors using AND
/// logic, i.e., only residues selected by ALL contained ResidueSelectors will be selected.
/// ResidueSelecters can be pulled in from a DataMap, from subtags (for ResidueSelectors
/// known to the ResidueSelectorFactory) or programmatically through %add_residue_selector.
class AndResidueSelector : public ResidueSelector {
public:
// derived from base class
AndResidueSelector();
/// @brief Copy constructor
///
AndResidueSelector( AndResidueSelector const &src);
/// @brief Clone operator.
/// @details Copy this object and return an owning pointer to the new object.
ResidueSelectorOP clone() const override;
AndResidueSelector( ResidueSelectorCOP selector1);
AndResidueSelector( ResidueSelectorCOP selector1, ResidueSelectorCOP selector2 );
~AndResidueSelector() override;
void parse_my_tag(
utility::tag::TagCOP tag,
basic::datacache::DataMap & datamap
) override;
std::string
get_name() const override;
static std::string class_name();
static void provide_xml_schema( utility::tag::XMLSchemaDefinition & xsd );
public:
///@brief adds a ResidueSelector
void
add_residue_selector(ResidueSelectorCOP selector);
///@brief Get the number of contained selectors.
Size
num_selectors() const;
///@brief Clear the contained selectors.
void
clear();
public:
ResidueSubset
apply( core::pose::Pose const & pose ) const override;
///@brief applies newSubset to existingSubset and thereby modifies the latter
void
apply_and_to_subset(ResidueSubset const & newSubset, ResidueSubset & existingSubset) const;
public: //Functions needed for the citation manager
/// @brief Provide the citation.
/// @returns A vector of citation collections. This allows the residue selector to provide citations for
/// itself and for any modules that it invokes.
/// @details This residue selector provides no citation information of its own, but it can provide citation
/// information for the residue selectors that it contains.
/// @author Vikram K. Mulligan (vmulligan@flatironinstitute.org)
utility::vector1< basic::citation_manager::CitationCollectionCOP > provide_citation_info() const override;
/// @brief Provide a list of authors and their e-mail addresses, as strings.
/// @returns An empty list for this residue selector. Unpublished information for residue selectors that it
/// contains.
/// @author Vikram K. Mulligan (vmulligan@flatironinstitute.org)
utility::vector1< basic::citation_manager::UnpublishedModuleInfoCOP > provide_authorship_info_for_unpublished() const override;
private: // data members
std::list< ResidueSelectorCOP > selectors_;
#ifdef SERIALIZATION
public:
template< class Archive > void save( Archive & arc ) const;
template< class Archive > void load( Archive & arc );
#endif // SERIALIZATION
};
} //namespace residue_selector
} //namespace select
} //namespace core
#ifdef SERIALIZATION
CEREAL_FORCE_DYNAMIC_INIT( core_pack_task_residue_selector_AndResidueSelector )
#endif // SERIALIZATION
#endif
| [
"lzhangbk@connect.ust.hk"
] | lzhangbk@connect.ust.hk |
372104647dfa67fd37638c326169800fcbb45c62 | 1344e4c4a2871c4fb58c0cbfddd96e7f34a8f550 | /package_bgs/tb/T2FMRF.cpp | f79b650a3650dae90fd354cf1fe90aebe39b18d5 | [] | no_license | rahulagr2000/TrafficSurveillanceAnalysis | 324b1dfcd232fce35fff7b56678215322587b6cd | 1d18ff05f363aa8af4bcbbcab64bc285a848257f | refs/heads/master | 2021-01-10T04:53:29.898268 | 2016-01-17T20:27:31 | 2016-01-17T20:27:31 | 49,834,247 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,520 | cpp | /****************************************************************************
*
* T2FMRF.cpp
*
* Purpose: Implementation of the T2 Fuzzy Gaussian Mixture Models (T2GMMs)
* "Modeling of Dynamic Backgrounds by Type-2 Fuzzy Gaussians Mixture Models"
* Author: Fida El Baf, Thierry Bouwmans, September 2008
*
* This code is based on code by Z. Zivkovic's written for his enhanced GMM
* background subtraction algorithm:
*
* Zivkovic's code can be obtained at: www.zoranz.net
******************************************************************************/
#include "T2FMRF.h"
using namespace Algorithms::BackgroundSubtraction;
int compareT2FMRF(const void* _gmm1, const void* _gmm2)
{
GMM gmm1 = *(GMM*)_gmm1;
GMM gmm2 = *(GMM*)_gmm2;
if(gmm1.significants < gmm2.significants)
return 1;
else if(gmm1.significants == gmm2.significants)
return 0;
else
return -1;
}
GMM* T2FMRF::gmm()
{
return m_modes;
}
HMM* T2FMRF::hmm()
{
return m_state;
}
T2FMRF::T2FMRF()
{
m_modes = NULL;
}
T2FMRF::~T2FMRF()
{
if(m_modes != NULL)
delete[] m_modes;
}
void T2FMRF::Initalize(const BgsParams& param)
{
m_params = (T2FMRFParams&) param;
// Tbf - the threshold
m_bg_threshold = 0.75f; // 1-cf from the paper
// Tgenerate - the threshold
m_variance = 36.0f; // sigma for the new mode
// GMM for each pixel
m_modes = new GMM[m_params.Size()*m_params.MaxModes()];
//HMM for each pixel
m_state = new HMM[m_params.Size()];
// used modes per pixel
m_modes_per_pixel = cvCreateImage(cvSize(m_params.Width(), m_params.Height()), IPL_DEPTH_8U, 1);
m_background = cvCreateImage(cvSize(m_params.Width(), m_params.Height()), IPL_DEPTH_8U, 3);
// Factor control for the T2FGMM-UM [0,3]
// km = (float) 2; //1.5;
km = (float) m_params.KM();
// Factor control for the T2FGMM-UV [0.3,1]
// kv = (float) 0.9; //0.6;
kv = (float) m_params.KV();
}
RgbImage* T2FMRF::Background()
{
return &m_background;
}
void T2FMRF::InitModel(const RgbImage& data)
{
m_modes_per_pixel.Clear();
for(unsigned int i = 0; i < m_params.Size()*m_params.MaxModes(); ++i)
{
m_modes[i].weight = 0;
m_modes[i].variance = 0;
m_modes[i].muR = 0;
m_modes[i].muG = 0;
m_modes[i].muB = 0;
m_modes[i].significants = 0;
}
for (unsigned int j = 0; j < m_params.Size(); ++j)
{
m_state[j].State = background;
m_state[j].Ab2b = 0.7;
m_state[j].Ab2f = 0.3;
m_state[j].Af2b = 0.4;
m_state[j].Af2f = 0.6;
m_state[j].T = 0.7;
}
}
void T2FMRF::Update(int frame_num, const RgbImage& data, const BwImage& update_mask)
{
// it doesn't make sense to have conditional updates in the GMM framework
}
void T2FMRF::SubtractPixel(long posPixel, long posGMode, const RgbPixel& pixel, unsigned char& numModes,
unsigned char& low_threshold, unsigned char& high_threshold)
{
// calculate distances to the modes (+ sort???)
// here we need to go in descending order!!!
long pos;
bool bFitsPDF = false;
bool bBackgroundLow = false;
bool bBackgroundHigh = false;
HiddenState CurrentState = m_state[posPixel].State;
float Ab2b = m_state[posPixel].Ab2b;
float Ab2f = m_state[posPixel].Ab2f;
float Af2b = m_state[posPixel].Af2b;
float Af2f = m_state[posPixel].Af2f;
float T = m_state[posPixel].T;
float fOneMinAlpha = 1 - m_params.Alpha();
float totalWeight = 0.0f;
// calculate number of Gaussians to include in the background model
int backgroundGaussians = 0;
double sum = 0.0;
for(int i = 0; i < numModes; ++i)
{
if(sum < m_bg_threshold)
{
backgroundGaussians++;
sum += m_modes[posGMode+i].weight;
}
else
break;
}
// update all distributions and check for match with current pixel
for (int iModes = 0; iModes < numModes; iModes++)
{
pos = posGMode + iModes;
float weight = m_modes[pos].weight;
// fit not found yet
if (!bFitsPDF)
{
//check if it belongs to some of the modes
//calculate distance
float var = m_modes[pos].variance;
float muR = m_modes[pos].muR;
float muG = m_modes[pos].muG;
float muB = m_modes[pos].muB;
//float km = 2;
//float kv = 0.9;
float dR = fabs(muR - pixel(0));
float dG = fabs(muG - pixel(1));
float dB = fabs(muB - pixel(2));
// calculate the squared distance
float HR;
float HG;
float HB;
// T2FMRF-UM
if(m_params.Type() == TYPE_T2FMRF_UM)
{
if((pixel(0) < muR-km*var) || (pixel(0) > muR+km*var))
HR = 2*km*dR/var;
else
HR = dR*dR/(2*var*var)+km*dR/var+km*km/2;
if((pixel(1) < muG-km*var) || (pixel(1) > muG+km*var))
HG = 2*km*dG/var;
else
HG = dG*dG/(2*var*var)+km*dG/var+km*km/2;
if((pixel(2) < muB-km*var) || (pixel(2) > muB+km*var))
HB = 2*km*dB/var;
else
HB = dB*dB/(2*var*var)+km*dB/var+km*km/2;
}
// T2FGMM-UV
if(m_params.Type() == TYPE_T2FMRF_UV)
{
HR = (1/(kv*kv)-kv*kv) * (pixel(0)-muR) * (pixel(0)-muR)/(2*var);
HG = (1/(kv*kv)-kv*kv) * (pixel(1)-muG) * (pixel(1)-muG)/(2*var);
HB = (1/(kv*kv)-kv*kv) * (pixel(2)-muB) * (pixel(2)-muB)/(2*var);
}
float ro;
if (CurrentState == background)
{
if (Ab2b!=0) ro = (Ab2f/Ab2b);
else ro = 10;
}
else
{
if(Af2b!=0) ro = (Af2f/Af2b);
else ro = 10;
}
// calculate the squared distance
float dist = (HR*HR + HG*HG + HB*HB);
if(dist < m_params.HighThreshold()*var && iModes < backgroundGaussians)
bBackgroundHigh = true;
// a match occurs when the pixel is within sqrt(fTg) standard deviations of the distribution
if(dist < m_params.LowThreshold()*var)
{
bFitsPDF = true;
// check if this Gaussian is part of the background model
if(iModes < backgroundGaussians)
bBackgroundLow = true;
//update distribution
float k = m_params.Alpha() / weight;
weight = fOneMinAlpha*weight + m_params.Alpha();
m_modes[pos].weight = weight;
m_modes[pos].muR = muR - k*(dR);
m_modes[pos].muG = muG - k*(dG);
m_modes[pos].muB = muB - k*(dB);
//limit the variance
float sigmanew = var + k*(dist-var);
m_modes[pos].variance = sigmanew < 4 ? 4 : sigmanew > 5*m_variance ? 5*m_variance : sigmanew;
m_modes[pos].significants = m_modes[pos].weight / sqrt(m_modes[pos].variance);
}
else
{
weight = fOneMinAlpha*weight;
if (weight < 0.0)
{
weight=0.0;
numModes--;
}
m_modes[pos].weight = weight;
m_modes[pos].significants = m_modes[pos].weight / sqrt(m_modes[pos].variance);
}
}
else
{
weight = fOneMinAlpha*weight;
if (weight < 0.0)
{
weight=0.0;
numModes--;
}
m_modes[pos].weight = weight;
m_modes[pos].significants = m_modes[pos].weight / sqrt(m_modes[pos].variance);
}
totalWeight += weight;
}
// renormalize weights so they add to one
double invTotalWeight = 1.0 / totalWeight;
for (int iLocal = 0; iLocal < numModes; iLocal++)
{
m_modes[posGMode + iLocal].weight *= (float)invTotalWeight;
m_modes[posGMode + iLocal].significants = m_modes[posGMode + iLocal].weight / sqrt(m_modes[posGMode + iLocal].variance);
}
// Sort significance values so they are in desending order.
qsort(&m_modes[posGMode], numModes, sizeof(GMM), compareT2FMRF);
// make new mode if needed and exit
if(!bFitsPDF)
{
if(numModes < m_params.MaxModes())
numModes++;
//else
// the weakest mode will be replaced
pos = posGMode + numModes-1;
m_modes[pos].muR = pixel.ch[0];
m_modes[pos].muG = pixel.ch[1];
m_modes[pos].muB = pixel.ch[2];
m_modes[pos].variance = m_variance;
m_modes[pos].significants = 0; // will be set below
if(numModes == 1)
m_modes[pos].weight = 1;
else
m_modes[pos].weight = m_params.Alpha();
//renormalize weights
int iLocal;
float sum = 0.0;
for(iLocal = 0; iLocal < numModes; iLocal++)
sum += m_modes[posGMode+ iLocal].weight;
double invSum = 1.0/sum;
for(iLocal = 0; iLocal < numModes; iLocal++)
{
m_modes[posGMode + iLocal].weight *= (float)invSum;
m_modes[posGMode + iLocal].significants = m_modes[posPixel + iLocal].weight / sqrt(m_modes[posGMode + iLocal].variance);
}
}
// Sort significance values so they are in desending order.
qsort(&(m_modes[posGMode]), numModes, sizeof(GMM), compareT2FMRF);
if(bBackgroundLow)
{
low_threshold = BACKGROUND;
m_state[posPixel].State = background;
if(CurrentState == background)
{
float b2b = fOneMinAlpha*Ab2b + m_params.Alpha();
float b2f = fOneMinAlpha*Ab2f;
float b = b2b + b2f;
m_state[posPixel].Ab2b = b2b/b;
m_state[posPixel].Ab2f = b2f/b;
m_state[posPixel].T = m_state[posPixel].Ab2b;
}
else
{
float f2b = fOneMinAlpha*Af2b + m_params.Alpha();
float f2f = fOneMinAlpha*Af2f;
float f = f2b + f2f;
m_state[posPixel].Af2b = f2b/f;
m_state[posPixel].Af2f = f2f/f;
m_state[posPixel].T = m_state[posPixel].Af2b;
}
}
else
{
low_threshold = FOREGROUND;
m_state[posPixel].State = foreground;
if(CurrentState == background)
{
float b2b = fOneMinAlpha*Ab2b;
float b2f = fOneMinAlpha*Ab2f + m_params.Alpha();
float b = b2b + b2f;
m_state[posPixel].Ab2b = b2b/b;
m_state[posPixel].Ab2f = b2f/b;
m_state[posPixel].T = m_state[posPixel].Ab2b;
}
else
{
float f2b = fOneMinAlpha*Af2b;
float f2f = fOneMinAlpha*Af2f + m_params.Alpha();
float f = f2b + f2f;
m_state[posPixel].Af2b = f2b/f;
m_state[posPixel].Af2f = f2f/f;
m_state[posPixel].T = m_state[posPixel].Af2b;
}
}
if(bBackgroundHigh)
high_threshold = BACKGROUND;
else
high_threshold = FOREGROUND;
}
///////////////////////////////////////////////////////////////////////////////
//Input:
// data - a pointer to the data of a RGB image of the same size
//Output:
// output - a pointer to the data of a gray value image of the same size
// (the memory should already be reserved)
// values: 255-foreground, 125-shadow, 0-background
///////////////////////////////////////////////////////////////////////////////
void T2FMRF::Subtract(int frame_num, const RgbImage& data,
BwImage& low_threshold_mask, BwImage& high_threshold_mask)
{
unsigned char low_threshold, high_threshold;
long posPixel;
long posGMode;
// update each pixel of the image
for(unsigned int r = 0; r < m_params.Height(); ++r)
{
for(unsigned int c = 0; c < m_params.Width(); ++c)
{
// update model + background subtract
posPixel = r*m_params.Width() + c;
posGMode = (r*m_params.Width() + c) * m_params.MaxModes();
SubtractPixel(posPixel, posGMode, data(r,c), m_modes_per_pixel(r,c), low_threshold, high_threshold);
low_threshold_mask(r,c) = low_threshold;
high_threshold_mask(r,c) = high_threshold;
m_background(r,c,0) = (unsigned char) m_modes[posGMode].muR;
m_background(r,c,1) = (unsigned char) m_modes[posGMode].muG;
m_background(r,c,2) = (unsigned char) m_modes[posGMode].muB;
}
}
}
| [
"rahulagr2000@gmail.com"
] | rahulagr2000@gmail.com |
d0a7b93da90fb9a3822aab1ab078868492c03c45 | da899e6585689cfb6ca381b741394dfbb254f7ee | /MoveDiscovery.h | a8d4898be084525a48ca38f62f2446a2bf599c67 | [] | no_license | sadroeck/klotski-solver | aed503164119bea52e0eddc9b8478d74c73b9499 | b0961e7aae61743d371253f068737a93683a7551 | refs/heads/master | 2021-12-14T08:30:21.279562 | 2017-10-06T00:55:16 | 2017-10-06T00:55:16 | 105,437,088 | 0 | 1 | null | 2020-09-27T06:55:03 | 2017-10-01T11:20:57 | C++ | UTF-8 | C++ | false | false | 1,461 | h | #pragma once
#include <vector>
#include <memory>
#include "block.h"
#include "puzzle.h"
#include "MoveValidation.h"
template <typename Validation = DefaultMoveValidation>
struct MoveRunnerFirst
{
template <int BlockCount>
static std::vector<Move<BlockCount>> gatherMoves(
const Point dimensions,
const std::shared_ptr<BoardState<BlockCount>> ¤tState,
const std::vector<Point> &invalidPositions,
Direction previousDirection = Direction::Number_of_dirs)
{
std::vector<Move<BlockCount>> newMoves{};
auto moveBlockIfPossible = [&](const Block &block)
{
for (auto dir = 0; dir < static_cast<int>(Direction::Number_of_dirs); ++dir)
{
if (dir != static_cast<int>(previousDirection))
{
const auto newBlock = move(block, static_cast<Direction>(dir));
if (Validation::validBlockPosition(newBlock, dimensions, *currentState, invalidPositions))
{
newMoves.emplace_back(currentState, block, static_cast<Direction>(dir));
}
}
}
};
// Move runner first
moveBlockIfPossible(currentState->m_runner);
// Move other blocks second
for (const auto &block : currentState->m_blocks)
{
moveBlockIfPossible(block);
}
return newMoves;
}
}; | [
"sam.deRoeck@tomra.com"
] | sam.deRoeck@tomra.com |
cfebbe4b3ae2d95b60a524bfbedafe9253ec3db7 | aeb63a0ff19ff40785f82c390fc09bb9dd5f6117 | /10809.cpp | e2b74754a9e74aeee4905cd7ac8cabbfc16ff433 | [] | no_license | SeunghwanByun/Baekjoon-Algorithm-Study | 095688cc2666705c3e6739fe11ec41bc0a58be0a | c56d3371dfc43694eb83f016991b00f641f02dd0 | refs/heads/main | 2023-04-18T02:00:11.808427 | 2021-05-11T08:09:03 | 2021-05-11T08:09:03 | 319,605,976 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 395 | cpp | #include <iostream>
using namespace std;
int main(){
string s;
cin >> s;
int alphabet[26];
fill_n(alphabet, 26, -1);
// ASCII Code 'a'의 10진수는 97이다.
for(int i = 0; i < s.size(); i++){
if(alphabet[s[i] - 97] == -1)
alphabet[s[i] - 97] = i;
}
for(int i = 0; i < 26; i++)
cout << alphabet[i] << " ";
return 0;
}
| [
"rapping44@naver.com"
] | rapping44@naver.com |
454e902b28618544bf9b7f213f469440264e01a9 | 45e0fbd9a9dbcdd4fbe6aaa2fdb2aed296f81e33 | /FindSecret/Classes/Native/UnityEngine_UnityEngine_ParticleSystem_InheritVelo3940044026.h | 5a0f8f7de9224a9b177127cc86b283f6637eb744 | [
"MIT"
] | permissive | GodIsWord/NewFindSecret | d4a5d2d810ee1f9d6b3bc91168895cc808bac817 | 4f98f316d29936380f9665d6a6d89962d9ee5478 | refs/heads/master | 2020-03-24T09:54:50.239014 | 2018-10-27T05:22:11 | 2018-10-27T05:22:11 | 142,641,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,722 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_ValueType3640485471.h"
// UnityEngine.ParticleSystem
struct ParticleSystem_t1800779281;
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.ParticleSystem/InheritVelocityModule
struct InheritVelocityModule_t3940044026
{
public:
// UnityEngine.ParticleSystem UnityEngine.ParticleSystem/InheritVelocityModule::m_ParticleSystem
ParticleSystem_t1800779281 * ___m_ParticleSystem_0;
public:
inline static int32_t get_offset_of_m_ParticleSystem_0() { return static_cast<int32_t>(offsetof(InheritVelocityModule_t3940044026, ___m_ParticleSystem_0)); }
inline ParticleSystem_t1800779281 * get_m_ParticleSystem_0() const { return ___m_ParticleSystem_0; }
inline ParticleSystem_t1800779281 ** get_address_of_m_ParticleSystem_0() { return &___m_ParticleSystem_0; }
inline void set_m_ParticleSystem_0(ParticleSystem_t1800779281 * value)
{
___m_ParticleSystem_0 = value;
Il2CppCodeGenWriteBarrier(&___m_ParticleSystem_0, value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of UnityEngine.ParticleSystem/InheritVelocityModule
struct InheritVelocityModule_t3940044026_marshaled_pinvoke
{
ParticleSystem_t1800779281 * ___m_ParticleSystem_0;
};
// Native definition for COM marshalling of UnityEngine.ParticleSystem/InheritVelocityModule
struct InheritVelocityModule_t3940044026_marshaled_com
{
ParticleSystem_t1800779281 * ___m_ParticleSystem_0;
};
| [
"zhangyide@9fbank.cc"
] | zhangyide@9fbank.cc |
1e09fd3cd4814a65bc76dbb3f3fb3bcd50378f0d | 86a70b4a86a9751ea19c248c047c22546b743cc5 | /include/util/mutex_pool.hpp | cd832c6ec8258c0321ca7277c77b77b495d99a75 | [] | no_license | mkuhn/blast-matrix | 05b9b8a274b5d8eaa220ec89df6741ffbc8c62d6 | 915ba9ac3a81549c53b314a059188c937993efd8 | refs/heads/master | 2020-12-22T10:51:47.040589 | 2012-10-24T09:14:24 | 2012-10-24T09:14:24 | 236,756,103 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,882 | hpp | #ifndef UTIL___MUTEX_POOL__HPP
#define UTIL___MUTEX_POOL__HPP
/* $Id: mutex_pool.hpp 103491 2007-05-04 17:18:18Z kazimird $
* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* National Center for Biotechnology Information
*
* This software/database is a "United States Government Work" under the
* terms of the United States Copyright Act. It was written as part of
* the author's official duties as a United States Government employee and
* thus cannot be copyrighted. This software/database is freely available
* to the public for use. The National Library of Medicine and the U.S.
* Government have not placed any restriction on its use or reproduction.
*
* Although all reasonable efforts have been taken to ensure the accuracy
* and reliability of the software and data, the NLM and the U.S.
* Government do not and cannot warrant the performance or results that
* may be obtained by using this software or data. The NLM and the U.S.
* Government disclaim all warranties, express or implied, including
* warranties of performance, merchantability or fitness for any particular
* purpose.
*
* Please cite the author in any work or product based on this material.
*
* ===========================================================================
*
* Author: Eugene Vasilchenko
*
* File Description:
* CMutexPool -- to distribute mutex pool among several objects.
*
*/
#include <corelib/ncbistd.hpp>
#include <corelib/ncbiobj.hpp>
#include <corelib/ncbimtx.hpp>
#include <list>
BEGIN_NCBI_SCOPE
class CInitMutexPool;
class CInitMutex_Base;
class CInitGuard;
////////////////////////////////////////////////////////////////////
//
// CMutexPool::
//
// Distribute a mutex pool among multiple objects
//
class NCBI_XUTIL_EXPORT CInitMutexPool
{
public:
CInitMutexPool(void);
~CInitMutexPool(void);
class CPoolMutex : public CObject
{
public:
CPoolMutex(CInitMutexPool& pool)
: m_Pool(pool)
{
}
~CPoolMutex(void)
{
}
CInitMutexPool& GetPool(void) const
{
return m_Pool;
}
CMutex& GetMutex(void)
{
return m_Mutex;
}
private:
CInitMutexPool& m_Pool;
CMutex m_Mutex;
};
typedef CPoolMutex TMutex;
protected:
friend class CInitGuard;
bool AcquireMutex(CInitMutex_Base& init, CRef<TMutex>& mutex);
void ReleaseMutex(CInitMutex_Base& init, CRef<TMutex>& mutex);
private:
typedef list< CRef<TMutex> > TMutexList;
TMutexList m_MutexList;
CFastMutex m_Pool_Mtx;
private:
CInitMutexPool(const CInitMutexPool&);
const CInitMutexPool& operator=(const CInitMutexPool&);
};
class NCBI_XUTIL_EXPORT CInitMutex_Base
{
public:
DECLARE_OPERATOR_BOOL_REF(m_Object);
protected:
CInitMutex_Base(void)
{
}
// Copy constructor to allow CInitMutex_Base placement in STL containers.
// It doesn't copy mutex/object, just verifies that source is empty too.
CInitMutex_Base(const CInitMutex_Base& _DEBUG_ARG(mutex))
{
_ASSERT(!mutex.m_Mutex && !mutex.m_Object);
}
~CInitMutex_Base(void)
{
_ASSERT(!m_Mutex || m_Mutex->ReferencedOnlyOnce());
}
friend class CInitMutexPool;
typedef CInitMutexPool::TMutex TMutex;
CRef<TMutex> m_Mutex;
CRef<CObject> m_Object;
private:
const CInitMutex_Base& operator=(const CInitMutex_Base&);
};
template<class C>
class CInitMutex : public CInitMutex_Base
{
public:
typedef C TObjectType;
void Reset(void)
{
m_Object.Reset();
}
void Reset(TObjectType* object)
{
m_Object.Reset(object);
}
inline
TObjectType& GetObject(void)
{
return static_cast<TObjectType&>(m_Object.GetObject());
}
inline
const TObjectType& GetObject(void) const
{
return static_cast<const TObjectType&>(m_Object.GetObject());
}
inline
TObjectType* GetPointer(void)
{
return static_cast<TObjectType*>(m_Object.GetPointer());
}
inline
const TObjectType* GetPointer(void) const
{
return static_cast<const TObjectType*>(m_Object.GetPointer());
}
inline
TObjectType* GetPointerOrNull(void)
{
return static_cast<TObjectType*>(m_Object.GetPointerOrNull());
}
inline
const TObjectType* GetPointerOrNull(void) const
{
return
static_cast<const TObjectType*>(m_Object.GetPointerOrNull());
}
inline
TObjectType& operator*(void)
{
return GetObject();
}
inline
TObjectType* operator->(void)
{
return GetPointer();
}
inline
const TObjectType& operator*(void) const
{
return GetObject();
}
inline
const TObjectType* operator->(void) const
{
return GetPointer();
}
const CInitMutex<TObjectType>& operator=(const CRef<TObjectType>& ref)
{
m_Object.Reset(ref.GetNCPointerOrNull());
return *this;
}
operator CRef<TObjectType>(void) const
{
return CRef<TObjectType>(const_cast<TObjectType*>(GetPointer()));
}
operator CConstRef<TObjectType>(void) const
{
return CConstRef<TObjectType>(GetPointer());
}
// Some versions of Sun compiler fail to see operator bool defined
// in base class, so we have to reimplement it here.
DECLARE_OPERATOR_BOOL_REF(m_Object);
};
class CInitGuard
{
public:
CInitGuard(CInitMutex_Base& init, CInitMutexPool& pool)
: m_Init(init), m_Guard(eEmptyGuard)
{
if ( !init && pool.AcquireMutex(init, m_Mutex) ) {
m_Guard.Guard(m_Mutex->GetMutex());
if ( init ) {
x_Release();
}
}
}
~CInitGuard(void)
{
Release();
}
void Release(void)
{
if ( m_Mutex ) {
x_Release();
}
}
// true means that this thread should perform initialization
DECLARE_OPERATOR_BOOL(!m_Init);
protected:
typedef CInitMutexPool::TMutex TMutex;
void x_Release(void)
{
m_Mutex->GetPool().ReleaseMutex(m_Init, m_Mutex);
m_Guard.Release();
}
CInitMutex_Base& m_Init;
CRef<TMutex> m_Mutex;
CMutexGuard m_Guard;
private:
CInitGuard(const CInitGuard&);
const CInitGuard& operator=(const CInitGuard&);
};
END_NCBI_SCOPE
#endif /* UTIL___MUTEX_POOL__HPP */
| [
"mkuhn@localhost"
] | mkuhn@localhost |
ed29af7269ee282359324f674e92b6f6c6d7366f | aa46771b6f6ccbe435f43b42af44dd341efe78c1 | /week-04/day-01/ex-06-copy-file/main.cpp | 658ccd27a2d7df2af2568f6e0384e36e88918c01 | [] | no_license | green-fox-academy/nmarton818 | b691942de5399d53273fc05dd325b3d2ca013994 | 397f664b3484e5b84bbab5e39a42817ac592bc41 | refs/heads/master | 2020-04-02T17:22:05.433093 | 2019-05-14T03:19:34 | 2019-05-14T03:19:34 | 154,655,038 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 898 | cpp | #include <iostream>
#include <fstream>
bool copyFile(std::string fromThis, std::string toThat){
std::ifstream read;
std::ofstream write;
std::string aLine;
read.open(fromThis);
write.open(toThat);
try{
if(read.is_open() && write.is_open()){
while(getline(read, aLine)){
write << aLine << std::endl;
}
std::cout << "Copying done!" << std::endl;
write.close();
read.close();
} else
throw -1;
} catch (int e){
std::cerr << "Error opening files!" << std::endl;
}
return true;
}
int main() {
// Write a function that reads all lines of a file and writes the read lines to an other file (a.k.a copies the file)
// It should take the filenames as parameters
// It should return a boolean that shows if the copy was successful
copyFile("sweets.txt", "cakes.txt");
return 0;
} | [
"noreply818@gmail.com"
] | noreply818@gmail.com |
17bca708ebda7ad799436b1118274b7cc4a57085 | 877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a | /app/src/main/cpp/dir521/dir522/dir572/dir595/file778.cpp | 80ffd0f4dc6eae6702c0bdedd8e3f1ee25040592 | [] | no_license | tgeng/HugeProject | 829c3bdfb7cbaf57727c41263212d4a67e3eb93d | 4488d3b765e8827636ce5e878baacdf388710ef2 | refs/heads/master | 2022-08-21T16:58:54.161627 | 2020-05-28T01:54:03 | 2020-05-28T01:54:03 | 267,468,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 107 | cpp | #ifndef file778
#error "macro file778 must be defined"
#endif
static const char* file778String = "file778"; | [
"tgeng@google.com"
] | tgeng@google.com |
58dd6948c8841edc76de786bd8cd0acca599eb19 | 26f94c69885864ceffaf9dc6f646448145cf6946 | /src/k-mism_2/Tools.cpp | a0754795c2b12feb112210e7108dfbd9196d473e | [] | no_license | Cyanael/PatternMatching | 28e3493ac3b403331a89998c26fe8691a79a0e8b | 926b5a58fa72e076285534ae17d205625fd641b3 | refs/heads/master | 2020-03-10T06:17:27.528635 | 2019-02-19T17:13:19 | 2019-02-19T17:13:19 | 129,236,403 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 278 | cpp | /* Copyright : ???
Author : Tatiana Rocher, tatiana.rocher@gmail.com
This file contains some functions used by LCP.cpp
and HammingDistance.cpp
*/
#include "Tools.hpp"
int CharToInt(char letter) {
return (int) letter;
}
char IntToChar(int val) {
return (char) val;
}
| [
"tatiana@vidjil.org"
] | tatiana@vidjil.org |
6be43d96d5d9c0003948483675c58e7ee37fbe1c | 8067febd803ddb67b39d647379678fa48d143485 | /Kod/Additional/input_validation.cpp | e9bdf4a8586d68c8d05db0f402e0e6f8f78f7024 | [] | no_license | MistrzowieKodowania/cPlusPlusMaterials | 18832dec7adb1935f12260cb970d16727ab7404c | 14fa341e88388a1fd9212373a2c30bc8040b8272 | refs/heads/master | 2021-10-08T05:35:13.748772 | 2021-10-04T09:47:59 | 2021-10-04T09:47:59 | 50,947,801 | 7 | 13 | null | 2016-02-02T21:51:20 | 2016-02-02T19:58:21 | null | UTF-8 | C++ | false | false | 326 | cpp | #include <iostream>
using namespace std;
int main()
{
// 1 solution
int decision = 0;
cout << "Give me an integer:" << endl;
while ( ! (cin >> decision) || ! cin.good() )
{
cout << "Not integer. Try one more time" << endl;
cin.clear();
cin.ignore();
}
cout << "Your decision: " << decision;
return 0;
}
| [
"mail@mail"
] | mail@mail |
53960fddee769901a6f5decdbd056dc971e68c79 | 615fe1ba8642cff39db9697dba9110130830c7e2 | /jni/PanoBrowser.h | 10010a6dc1cb4ed98ccd1e303a75ee8d74452720 | [] | no_license | rshi-google/test | 7287b433485f534431d82ce3c78cfd1257129178 | 169745d1f4bd8e11bc00654a6fa2971baf0c0f84 | refs/heads/master | 2021-01-10T04:26:08.682812 | 2016-02-14T23:35:58 | 2016-02-14T23:35:58 | 51,706,487 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,572 | h | /************************************************************************************
Filename : PanoBrowser.h
Content : Subclass for panoramic image files
Created : August 13, 2014
Authors : John Carmack, Warsam Osman
Copyright : Copyright 2014 Oculus VR, LLC. All Rights reserved.
This source code is licensed under the BSD-style license found in the
LICENSE file in the Oculus360Photos/ directory. An additional grant
of patent rights can be found in the PATENTS file in the same directory.
************************************************************************************/
#ifndef OVR_PanoSwipeDir_h
#define OVR_PanoSwipeDir_h
#include "VRMenu/FolderBrowser.h"
namespace OVR
{
class PanoBrowser : public OvrFolderBrowser
{
public:
// only one of these every needs to be created
static PanoBrowser * Create(
App * app,
const Array<String>& searchPaths,
OvrMetaData & metaData,
unsigned thumbWidth,
float horizontalPadding,
unsigned thumbHeight,
float verticalPadding,
unsigned numSwipePanels,
float swipeRadius );
// Swiping when the menu is inactive can cycle through files in
// the directory. Step can be 1 or -1.
virtual OvrMetaDatum * NextFileInDirectory( const int step );
void AddToFavorites( OvrMetaDatum * const panoData );
void RemoveFromFavorites( OvrMetaDatum * const panoData );
// Called when a panel is activated
virtual void OnPanelActivated( OvrMetaDatum * panelData );
// Called on opening menu - used to rebuild favorites using FavoritesBuffer
virtual void OnBrowserOpen();
// Reload FavoritesBuffer with what's currently in favorites folder in FolderBrowser
void ReloadFavoritesBuffer();
// Called on a background thread
//
// Create the thumbnail image for the file, which will
// be saved out as a _thumb.jpg.
virtual unsigned char * CreateThumbnail( const char * filename, int & width, int & height );
// Called on a background thread to load thumbnail
virtual unsigned char * LoadThumbnail( const char * filename, int & width, int & height );
// Adds thumbnail extension to a file to find/create its thumbnail
virtual String ThumbName( const String & s );
// Called when no media found
virtual void OnMediaNotFound( App * app, String & title, String & imageFile, String & message );
// Called if touch up is activated without a focused item
virtual bool OnTouchUpNoFocused();
int GetNumPanosInActive() const;
private:
PanoBrowser(
App * app,
const Array< String > & searchPaths,
OvrMetaData & metaData,
float panelWidth,
float panelHeight,
float radius,
unsigned numSwipePanels,
unsigned thumbWidth,
unsigned thumbHeight )
: OvrFolderBrowser( app, searchPaths, metaData, panelWidth, panelHeight, radius, numSwipePanels, thumbWidth, thumbHeight )
, BufferDirty( false )
{
}
virtual ~PanoBrowser()
{
}
// Favorites buffer - this is built by PanoMenu and used to rebuild Favorite's menu
// if an item in it is null, it's been deleted from favorites
struct Favorite
{
Favorite()
: Data( NULL )
, IsFavorite( false )
{}
OvrMetaDatum * Data;
bool IsFavorite;
};
Array< Favorite > FavoritesBuffer;
bool BufferDirty;
};
unsigned char * LoadPageJpg( const char * cbzFileName, int pageNum, int & width, int & height );
}
#endif // OVR_PanoSwipeDir_h
| [
"rshi@rshi-macbookpro.roam.corp.google.com"
] | rshi@rshi-macbookpro.roam.corp.google.com |
fdedb40365188ea11a6cb91d59a4273e3b1215c3 | fe79b0e696a37c93ce19309d06df9538cda7cfd3 | /Console.cpp | ec6b5be150ebf75ab666c9d5cd8661611862cf2f | [] | no_license | SpeedSterKawaii/Auto-Addresses | 1680401c7608eb3252a36c5f404f91dde6544b67 | bda982a5e2323d657bb6be5f6dc0de60dfc2d648 | refs/heads/main | 2023-07-31T18:25:09.593478 | 2021-09-28T20:54:55 | 2021-09-28T20:54:55 | 411,271,717 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 592 | cpp | /*
Auto addresses will print out the address in console format.
This is NOT a .DLL file, this is a .EXE console application!
*/
#include <iostream>
#include <Windows.h> //need for some functions
using namespace std;
int main()//works only on console
{
SetConsoleTitleA("Auto Addresses Console // By SpeedSterKawaii");
Sleep(1000);//wait a second before getting offsets
cout << "Wait, replacing latest addresses" << endl;
Sleep(10);
cout << "This will display in int (not hex) format" << endl;
//it will show the int's (NOT IN HEX FORMAT)
return NULL;
}
| [
"noreply@github.com"
] | noreply@github.com |
7d371a4b0d800dd2c01701e52db3b5f878848316 | 072efb778fe7198118d3667082cf553545c89d8d | /include/YOCTO/yocto_scene.cpp | acef3036d0cef67fa3aef41d9f763caebe909f6e | [] | no_license | edoardocarra/weditor | 5d352c5168132cb51a3f8616bd5eac822b873e18 | 749b6a4d5b7f2f116b481865958112e32b19b6f5 | refs/heads/master | 2020-06-06T00:44:56.830812 | 2019-07-29T15:03:57 | 2019-07-29T15:03:57 | 192,591,000 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 59,871 | cpp | //
// Implementation for Yocto/Scene.
//
//
// LICENSE:
//
// Copyright (c) 2016 -- 2019 Fabio Pellacini
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//
#include "yocto_scene.h"
#include "yocto_random.h"
#include "yocto_shape.h"
#include <assert.h>
#include <unordered_map>
#include "ext/filesystem.hpp"
namespace fs = ghc::filesystem;
// -----------------------------------------------------------------------------
// IMPLEMENTATION OF SCENE UTILITIES
// -----------------------------------------------------------------------------
namespace yocto {
// Computes a shape bounding box.
bbox3f compute_bounds(const yocto_shape& shape) {
auto bbox = invalidb3f;
for (auto p : shape.positions) bbox = merge(bbox, p);
return bbox;
}
// Updates the scene and scene's instances bounding boxes
bbox3f compute_bounds(const yocto_scene& scene) {
auto shape_bbox = vector<bbox3f>(scene.shapes.size());
for (auto shape_id = 0; shape_id < scene.shapes.size(); shape_id++)
shape_bbox[shape_id] = compute_bounds(scene.shapes[shape_id]);
auto bbox = invalidb3f;
for (auto& instance : scene.instances) {
bbox = merge(
bbox, transform_bbox(instance.frame, shape_bbox[instance.shape]));
}
return bbox;
}
// Compute vertex normals
vector<vec3f> compute_normals(const yocto_shape& shape) {
if (!shape.points.empty()) {
return vector<vec3f>{
shape.positions.size(),
};
} else if (!shape.lines.empty()) {
return compute_tangents(shape.lines, shape.positions);
} else if (!shape.triangles.empty()) {
return compute_normals(shape.triangles, shape.positions);
} else if (!shape.quads.empty()) {
return compute_normals(shape.quads, shape.positions);
} else if (!shape.quadspos.empty()) {
return compute_normals(shape.quadspos, shape.positions);
} else {
throw std::runtime_error("unknown element type");
}
}
void compute_normals(const yocto_shape& shape, vector<vec3f>& normals) {
normals.assign(shape.positions.size(), {0, 0, 1});
if (!shape.points.empty()) {
} else if (!shape.lines.empty()) {
compute_tangents(normals, shape.lines, shape.positions);
} else if (!shape.triangles.empty()) {
compute_normals(normals, shape.triangles, shape.positions);
} else if (!shape.quads.empty()) {
compute_normals(normals, shape.quads, shape.positions);
} else if (!shape.quadspos.empty()) {
compute_normals(normals, shape.quadspos, shape.positions);
} else {
throw std::runtime_error("unknown element type");
}
}
// Apply subdivision and displacement rules.
void subdivide_shape(yocto_shape& shape, int subdivisions, bool catmullclark,
bool update_normals) {
if (!subdivisions) return;
if (!shape.points.empty()) {
throw std::runtime_error("point subdivision not supported");
} else if (!shape.lines.empty()) {
subdivide_lines(shape.lines, shape.positions, shape.normals,
shape.texcoords, shape.colors, shape.radius, shape.lines,
shape.positions, shape.normals, shape.texcoords, shape.colors,
shape.radius, subdivisions);
} else if (!shape.triangles.empty()) {
subdivide_triangles(shape.triangles, shape.positions, shape.normals,
shape.texcoords, shape.colors, shape.radius, shape.triangles,
shape.positions, shape.normals, shape.texcoords, shape.colors,
shape.radius, subdivisions);
} else if (!shape.quads.empty() && !catmullclark) {
subdivide_quads(shape.quads, shape.positions, shape.normals,
shape.texcoords, shape.colors, shape.radius, shape.quads,
shape.positions, shape.normals, shape.texcoords, shape.colors,
shape.radius, subdivisions);
} else if (!shape.quads.empty() && catmullclark) {
subdivide_catmullclark(shape.quads, shape.positions, shape.normals,
shape.texcoords, shape.colors, shape.radius, shape.quads,
shape.positions, shape.normals, shape.texcoords, shape.colors,
shape.radius, subdivisions);
} else if (!shape.quadspos.empty() && !catmullclark) {
subdivide_quads(shape.quadspos, shape.positions, shape.quadspos,
shape.positions, subdivisions);
subdivide_quads(shape.quadsnorm, shape.normals, shape.quadsnorm,
shape.normals, subdivisions);
subdivide_quads(shape.quadstexcoord, shape.texcoords, shape.quadstexcoord,
shape.texcoords, subdivisions);
} else if (!shape.quadspos.empty() && catmullclark) {
subdivide_catmullclark(shape.quadspos, shape.positions, shape.quadspos,
shape.positions, subdivisions);
subdivide_catmullclark(shape.quadstexcoord, shape.texcoords,
shape.quadstexcoord, shape.texcoords, subdivisions, true);
} else {
throw std::runtime_error("empty shape");
}
if (update_normals) {
if (!shape.quadspos.empty()) {
shape.quadsnorm = shape.quadspos;
}
compute_normals(shape, shape.normals);
}
}
// Apply displacement to a shape
void displace_shape(yocto_shape& shape, const yocto_texture& displacement,
float scale, bool update_normals) {
if (shape.texcoords.empty()) {
throw std::runtime_error("missing texture coordinates");
return;
}
// simple case
if (shape.quadspos.empty()) {
auto normals = shape.normals;
if (shape.normals.empty()) compute_normals(shape, normals);
for (auto vid = 0; vid < shape.positions.size(); vid++) {
auto disp = mean(
xyz(eval_texture(displacement, shape.texcoords[vid], true)));
if (!is_hdr_filename(displacement.uri)) disp -= 0.5f;
shape.positions[vid] += normals[vid] * scale * disp;
}
if (update_normals || !shape.normals.empty()) {
compute_normals(shape, shape.normals);
}
} else {
// facevarying case
auto offset = vector<float>(shape.positions.size(), 0);
auto count = vector<int>(shape.positions.size(), 0);
for (auto fid = 0; fid < shape.quadspos.size(); fid++) {
auto qpos = shape.quadspos[fid];
auto qtxt = shape.quadstexcoord[fid];
for (auto i = 0; i < 4; i++) {
auto disp = mean(
xyz(eval_texture(displacement, shape.texcoords[qtxt[i]], true)));
if (!is_hdr_filename(displacement.uri)) disp -= 0.5f;
offset[qpos[i]] += scale * disp;
count[qpos[i]] += 1;
}
}
auto normals = vector<vec3f>{shape.positions.size()};
compute_normals(normals, shape.quadspos, shape.positions);
for (auto vid = 0; vid < shape.positions.size(); vid++) {
shape.positions[vid] += normals[vid] * offset[vid] / count[vid];
}
if (update_normals || !shape.normals.empty()) {
shape.quadsnorm = shape.quadspos;
compute_normals(shape, shape.normals);
}
}
}
void tesselate_subdiv(yocto_scene& scene, yocto_subdiv& subdiv) {
auto& shape = scene.shapes[subdiv.shape];
shape.positions = subdiv.positions;
shape.normals = subdiv.normals;
shape.texcoords = subdiv.texcoords;
shape.colors = subdiv.colors;
shape.radius = subdiv.radius;
shape.points = subdiv.points;
shape.lines = subdiv.lines;
shape.triangles = subdiv.triangles;
shape.quads = subdiv.quads;
shape.quadspos = subdiv.quadspos;
shape.quadsnorm = subdiv.quadsnorm;
shape.quadstexcoord = subdiv.quadstexcoord;
shape.lines = subdiv.lines;
if (subdiv.subdivisions) {
subdivide_shape(
shape, subdiv.subdivisions, subdiv.catmullclark, subdiv.smooth);
}
if (subdiv.displacement_tex >= 0) {
displace_shape(shape, scene.textures[subdiv.displacement_tex],
subdiv.displacement, subdiv.smooth);
}
}
// Updates tesselation.
void tesselate_subdivs(yocto_scene& scene) {
for (auto& subdiv : scene.subdivs) tesselate_subdiv(scene, subdiv);
}
// Update animation transforms
void update_transforms(yocto_scene& scene, yocto_animation& animation,
float time, const string& anim_group) {
if (anim_group != "" && anim_group != animation.group) return;
if (!animation.translations.empty()) {
auto value = vec3f{0, 0, 0};
switch (animation.interpolation) {
case yocto_animation::interpolation_type::step:
value = keyframe_step(animation.times, animation.translations, time);
break;
case yocto_animation::interpolation_type::linear:
value = keyframe_linear(animation.times, animation.translations, time);
break;
case yocto_animation::interpolation_type::bezier:
value = keyframe_bezier(animation.times, animation.translations, time);
break;
default: throw std::runtime_error("should not have been here");
}
for (auto target : animation.targets)
scene.nodes[target].translation = value;
}
if (!animation.rotations.empty()) {
auto value = vec4f{0, 0, 0, 1};
switch (animation.interpolation) {
case yocto_animation::interpolation_type::step:
value = keyframe_step(animation.times, animation.rotations, time);
break;
case yocto_animation::interpolation_type::linear:
value = keyframe_linear(animation.times, animation.rotations, time);
break;
case yocto_animation::interpolation_type::bezier:
value = keyframe_bezier(animation.times, animation.rotations, time);
break;
}
for (auto target : animation.targets) scene.nodes[target].rotation = value;
}
if (!animation.scales.empty()) {
auto value = vec3f{1, 1, 1};
switch (animation.interpolation) {
case yocto_animation::interpolation_type::step:
value = keyframe_step(animation.times, animation.scales, time);
break;
case yocto_animation::interpolation_type::linear:
value = keyframe_linear(animation.times, animation.scales, time);
break;
case yocto_animation::interpolation_type::bezier:
value = keyframe_bezier(animation.times, animation.scales, time);
break;
}
for (auto target : animation.targets) scene.nodes[target].scale = value;
}
}
// Update node transforms
void update_transforms(yocto_scene& scene, yocto_scene_node& node,
const frame3f& parent = identity3x4f) {
auto frame = parent * node.local * translation_frame(node.translation) *
rotation_frame(node.rotation) * scaling_frame(node.scale);
if (node.instance >= 0) scene.instances[node.instance].frame = frame;
if (node.camera >= 0) scene.cameras[node.camera].frame = frame;
if (node.environment >= 0) scene.environments[node.environment].frame = frame;
for (auto child : node.children)
update_transforms(scene, scene.nodes[child], frame);
}
// Update node transforms
void update_transforms(
yocto_scene& scene, float time, const string& anim_group) {
for (auto& agr : scene.animations)
update_transforms(scene, agr, time, anim_group);
for (auto& node : scene.nodes) node.children.clear();
for (auto node_id = 0; node_id < scene.nodes.size(); node_id++) {
auto& node = scene.nodes[node_id];
if (node.parent >= 0) scene.nodes[node.parent].children.push_back(node_id);
}
for (auto& node : scene.nodes)
if (node.parent < 0) update_transforms(scene, node);
}
// Compute animation range
vec2f compute_animation_range(
const yocto_scene& scene, const string& anim_group) {
if (scene.animations.empty()) return zero2f;
auto range = vec2f{+flt_max, -flt_max};
for (auto& animation : scene.animations) {
if (anim_group != "" && animation.group != anim_group) continue;
range.x = min(range.x, animation.times.front());
range.y = max(range.y, animation.times.back());
}
if (range.y < range.x) return zero2f;
return range;
}
// Generate a distribution for sampling a shape uniformly based on area/length.
void sample_shape_cdf(const yocto_shape& shape, vector<float>& cdf) {
cdf.clear();
if (!shape.triangles.empty()) {
sample_triangles_cdf(cdf, shape.triangles, shape.positions);
} else if (!shape.quads.empty()) {
sample_quads_cdf(cdf, shape.quads, shape.positions);
} else if (!shape.lines.empty()) {
sample_lines_cdf(cdf, shape.lines, shape.positions);
} else if (!shape.points.empty()) {
sample_points_cdf(cdf, shape.points.size());
} else if (!shape.quadspos.empty()) {
sample_quads_cdf(cdf, shape.quadspos, shape.positions);
} else {
throw std::runtime_error("empty shape");
}
}
vector<float> sample_shape_cdf(const yocto_shape& shape) {
if (!shape.triangles.empty()) {
return sample_triangles_cdf(shape.triangles, shape.positions);
} else if (!shape.quads.empty()) {
return sample_quads_cdf(shape.quads, shape.positions);
} else if (!shape.lines.empty()) {
return sample_lines_cdf(shape.lines, shape.positions);
} else if (!shape.points.empty()) {
return sample_points_cdf(shape.points.size());
} else if (!shape.quadspos.empty()) {
return sample_quads_cdf(shape.quadspos, shape.positions);
} else {
throw std::runtime_error("empty shape");
return {};
}
}
// Sample a shape based on a distribution.
pair<int, vec2f> sample_shape(const yocto_shape& shape,
const vector<float>& cdf, float re, const vec2f& ruv) {
// TODO: implement sampling without cdf
if (cdf.empty()) return {};
if (!shape.triangles.empty()) {
return sample_triangles(cdf, re, ruv);
} else if (!shape.quads.empty()) {
return sample_quads(cdf, re, ruv);
} else if (!shape.lines.empty()) {
return {sample_lines(cdf, re, ruv.x).first, ruv};
} else if (!shape.points.empty()) {
return {sample_points(cdf, re), ruv};
} else if (!shape.quadspos.empty()) {
return sample_quads(cdf, re, ruv);
} else {
return {0, zero2f};
}
}
float sample_shape_pdf(const yocto_shape& shape, const vector<float>& cdf,
int element, const vec2f& uv) {
// prob triangle * area triangle = area triangle mesh
return 1 / cdf.back();
}
// Update environment CDF for sampling.
vector<float> sample_environment_cdf(
const yocto_scene& scene, const yocto_environment& environment) {
if (environment.emission_tex < 0) return {};
auto& texture = scene.textures[environment.emission_tex];
auto size = texture_size(texture);
auto texels_cdf = vector<float>(size.x * size.y);
if (size != zero2i) {
for (auto i = 0; i < texels_cdf.size(); i++) {
auto ij = vec2i{i % size.x, i / size.x};
auto th = (ij.y + 0.5f) * pif / size.y;
auto value = lookup_texture(texture, ij.x, ij.y);
texels_cdf[i] = max(xyz(value)) * sin(th);
if (i) texels_cdf[i] += texels_cdf[i - 1];
}
} else {
throw std::runtime_error("empty texture");
}
return texels_cdf;
}
void sample_environment_cdf(const yocto_scene& scene,
const yocto_environment& environment, vector<float>& texels_cdf) {
if (environment.emission_tex < 0) {
texels_cdf.clear();
return;
}
auto& texture = scene.textures[environment.emission_tex];
auto size = texture_size(texture);
texels_cdf.resize(size.x * size.y);
if (size != zero2i) {
for (auto i = 0; i < texels_cdf.size(); i++) {
auto ij = vec2i{i % size.x, i / size.x};
auto th = (ij.y + 0.5f) * pif / size.y;
auto value = lookup_texture(texture, ij.x, ij.y);
texels_cdf[i] = max(xyz(value)) * sin(th);
if (i) texels_cdf[i] += texels_cdf[i - 1];
}
} else {
throw std::runtime_error("empty texture");
}
}
// Sample an environment based on texels
vec3f sample_environment(const yocto_scene& scene,
const yocto_environment& environment, const vector<float>& texels_cdf,
float re, const vec2f& ruv) {
if (!texels_cdf.empty() && environment.emission_tex >= 0) {
auto& texture = scene.textures[environment.emission_tex];
auto idx = sample_discrete(texels_cdf, re);
auto size = texture_size(texture);
auto u = (idx % size.x + 0.5f) / size.x;
auto v = (idx / size.x + 0.5f) / size.y;
return eval_direction(environment, {u, v});
} else {
return sample_sphere(ruv);
}
}
// Sample an environment based on texels
float sample_environment_pdf(const yocto_scene& scene,
const yocto_environment& environment, const vector<float>& texels_cdf,
const vec3f& direction) {
if (!texels_cdf.empty() && environment.emission_tex >= 0) {
auto& texture = scene.textures[environment.emission_tex];
auto size = texture_size(texture);
auto texcoord = eval_texcoord(environment, direction);
auto i = (int)(texcoord.x * size.x);
auto j = (int)(texcoord.y * size.y);
auto idx = j * size.x + i;
auto prob = sample_discrete_pdf(texels_cdf, idx) / texels_cdf.back();
auto angle = (2 * pif / size.x) * (pif / size.y) *
sin(pif * (j + 0.5f) / size.y);
return prob / angle;
} else {
return sample_sphere_pdf(direction);
}
}
bvh_scene make_bvh(const yocto_scene& scene, const bvh_params& params) {
auto sbvhs = vector<bvh_shape>{scene.shapes.size()};
for (auto idx = 0; idx < scene.shapes.size(); idx++) {
auto& shape = scene.shapes[idx];
auto& sbvh = sbvhs[idx];
#if YOCTO_EMBREE
// call Embree if needed
if (params.use_embree) {
if (params.embree_compact &&
shape.positions.size() == shape.positions.capacity()) {
((yocto_shape&)shape).positions.reserve(shape.positions.size() + 1);
}
}
#endif
if (!shape.points.empty()) {
sbvh = make_points_bvh(shape.points, shape.positions, shape.radius);
} else if (!shape.lines.empty()) {
sbvh = make_lines_bvh(shape.lines, shape.positions, shape.radius);
} else if (!shape.triangles.empty()) {
sbvh = make_triangles_bvh(shape.triangles, shape.positions, shape.radius);
} else if (!shape.quads.empty()) {
sbvh = make_quads_bvh(shape.quads, shape.positions, shape.radius);
} else if (!shape.quadspos.empty()) {
sbvh = make_quadspos_bvh(shape.quadspos, shape.positions, shape.radius);
} else {
throw std::runtime_error("empty shape");
}
}
auto bvh = make_instances_bvh(
{&scene.instances[0].frame, (int)scene.instances.size(),
sizeof(scene.instances[0])},
sbvhs);
build_bvh(bvh, params);
return bvh;
}
void make_bvh(
bvh_scene& bvh, const yocto_scene& scene, const bvh_params& params) {
auto sbvhs = vector<bvh_shape>{scene.shapes.size()};
for (auto idx = 0; idx < scene.shapes.size(); idx++) {
auto& shape = scene.shapes[idx];
auto& sbvh = sbvhs[idx];
#if YOCTO_EMBREE
// call Embree if needed
if (params.use_embree) {
if (params.embree_compact &&
shape.positions.size() == shape.positions.capacity()) {
((yocto_shape&)shape).positions.reserve(shape.positions.size() + 1);
}
}
#endif
if (!shape.points.empty()) {
sbvh = make_points_bvh(shape.points, shape.positions, shape.radius);
} else if (!shape.lines.empty()) {
sbvh = make_lines_bvh(shape.lines, shape.positions, shape.radius);
} else if (!shape.triangles.empty()) {
sbvh = make_triangles_bvh(shape.triangles, shape.positions, shape.radius);
} else if (!shape.quads.empty()) {
sbvh = make_quads_bvh(shape.quads, shape.positions, shape.radius);
} else if (!shape.quadspos.empty()) {
sbvh = make_quadspos_bvh(shape.quadspos, shape.positions, shape.radius);
} else {
throw std::runtime_error("empty shape");
}
}
bvh = {{&scene.instances[0].frame, (int)scene.instances.size(),
sizeof(scene.instances[0])},
sbvhs};
build_bvh(bvh, params);
}
void refit_bvh(bvh_scene& bvh, const yocto_scene& scene,
const vector<int>& updated_shapes, const bvh_params& params) {
for (auto idx : updated_shapes) {
auto& shape = scene.shapes[idx];
auto& sbvh = bvh.shapes[idx];
#if YOCTO_EMBREE
// call Embree if needed
if (params.use_embree) {
if (params.embree_compact &&
shape.positions.size() == shape.positions.capacity()) {
((yocto_shape&)shape).positions.reserve(shape.positions.size() + 1);
}
}
#endif
sbvh.points = shape.points;
sbvh.lines = shape.lines;
sbvh.triangles = shape.triangles;
sbvh.quads = shape.quads;
sbvh.quadspos = shape.quadspos;
sbvh.positions = shape.positions;
sbvh.radius = shape.radius;
}
if (!scene.instances.empty()) {
bvh.instances = {&scene.instances[0].frame, (int)scene.instances.size(),
sizeof(scene.instances[0])};
} else {
bvh.instances = {};
}
refit_bvh(bvh, updated_shapes, params);
}
} // namespace yocto
// -----------------------------------------------------------------------------
// IMPLEMENTATION FOR EVAL AND SAMPLING FUNCTIONS
// -----------------------------------------------------------------------------
namespace yocto {
// Shape element normal.
vec3f eval_element_normal(const yocto_shape& shape, int element) {
auto norm = zero3f;
if (!shape.triangles.empty()) {
auto t = shape.triangles[element];
norm = triangle_normal(
shape.positions[t.x], shape.positions[t.y], shape.positions[t.z]);
} else if (!shape.quads.empty()) {
auto q = shape.quads[element];
norm = quad_normal(shape.positions[q.x], shape.positions[q.y],
shape.positions[q.z], shape.positions[q.w]);
} else if (!shape.lines.empty()) {
auto l = shape.lines[element];
norm = line_tangent(shape.positions[l.x], shape.positions[l.y]);
} else if (!shape.quadspos.empty()) {
auto q = shape.quadspos[element];
norm = quad_normal(shape.positions[q.x], shape.positions[q.y],
shape.positions[q.z], shape.positions[q.w]);
} else {
throw std::runtime_error("empty shape");
norm = {0, 0, 1};
}
return norm;
}
// Shape element normal.
pair<vec3f, vec3f> eval_element_tangents(
const yocto_shape& shape, int element, const vec2f& uv) {
if (!shape.triangles.empty()) {
auto t = shape.triangles[element];
if (shape.texcoords.empty()) {
return triangle_tangents_fromuv(shape.positions[t.x],
shape.positions[t.y], shape.positions[t.z], {0, 0}, {1, 0}, {0, 1});
} else {
return triangle_tangents_fromuv(shape.positions[t.x],
shape.positions[t.y], shape.positions[t.z], shape.texcoords[t.x],
shape.texcoords[t.y], shape.texcoords[t.z]);
}
} else if (!shape.quads.empty()) {
auto q = shape.quads[element];
if (shape.texcoords.empty()) {
return quad_tangents_fromuv(shape.positions[q.x], shape.positions[q.y],
shape.positions[q.z], shape.positions[q.w], {0, 0}, {1, 0}, {0, 1},
{1, 1}, uv);
} else {
return quad_tangents_fromuv(shape.positions[q.x], shape.positions[q.y],
shape.positions[q.z], shape.positions[q.w], shape.texcoords[q.x],
shape.texcoords[q.y], shape.texcoords[q.z], shape.texcoords[q.w], uv);
}
} else if (!shape.quadspos.empty()) {
auto q = shape.quadspos[element];
if (shape.texcoords.empty()) {
return quad_tangents_fromuv(shape.positions[q.x], shape.positions[q.y],
shape.positions[q.z], shape.positions[q.w], {0, 0}, {1, 0}, {0, 1},
{1, 1}, uv);
} else {
auto qt = shape.quadstexcoord[element];
return quad_tangents_fromuv(shape.positions[q.x], shape.positions[q.y],
shape.positions[q.z], shape.positions[q.w], shape.texcoords[qt.x],
shape.texcoords[qt.y], shape.texcoords[qt.z], shape.texcoords[qt.w],
uv);
}
} else {
return {zero3f, zero3f};
}
}
pair<mat3f, bool> eval_element_tangent_basis(
const yocto_shape& shape, int element, const vec2f& uv) {
auto z = eval_element_normal(shape, element);
auto tangents = eval_element_tangents(shape, element, uv);
auto x = orthonormalize(tangents.first, z);
auto y = normalize(cross(z, x));
return {{x, y, z}, dot(y, tangents.second) < 0};
}
// Shape value interpolated using barycentric coordinates
template <typename T>
T eval_shape_elem(const yocto_shape& shape,
const vector<vec4i>& facevarying_quads, const vector<T>& vals, int element,
const vec2f& uv) {
if (vals.empty()) return {};
if (!shape.triangles.empty()) {
auto t = shape.triangles[element];
return interpolate_triangle(vals[t.x], vals[t.y], vals[t.z], uv);
} else if (!shape.quads.empty()) {
auto q = shape.quads[element];
if (q.w == q.z)
return interpolate_triangle(vals[q.x], vals[q.y], vals[q.z], uv);
return interpolate_quad(vals[q.x], vals[q.y], vals[q.z], vals[q.w], uv);
} else if (!shape.lines.empty()) {
auto l = shape.lines[element];
return interpolate_line(vals[l.x], vals[l.y], uv.x);
} else if (!shape.points.empty()) {
return vals[shape.points[element]];
} else if (!shape.quadspos.empty()) {
auto q = facevarying_quads[element];
if (q.w == q.z)
return interpolate_triangle(vals[q.x], vals[q.y], vals[q.z], uv);
return interpolate_quad(vals[q.x], vals[q.y], vals[q.z], vals[q.w], uv);
} else {
return {};
}
}
// Shape values interpolated using barycentric coordinates
vec3f eval_position(const yocto_shape& shape, int element, const vec2f& uv) {
return eval_shape_elem(shape, shape.quadspos, shape.positions, element, uv);
}
vec3f eval_normal(const yocto_shape& shape, int element, const vec2f& uv) {
if (shape.normals.empty()) return eval_element_normal(shape, element);
return normalize(
eval_shape_elem(shape, shape.quadsnorm, shape.normals, element, uv));
}
vec2f eval_texcoord(const yocto_shape& shape, int element, const vec2f& uv) {
if (shape.texcoords.empty()) return uv;
return eval_shape_elem(
shape, shape.quadstexcoord, shape.texcoords, element, uv);
}
vec4f eval_color(const yocto_shape& shape, int element, const vec2f& uv) {
if (shape.colors.empty()) return {1, 1, 1, 1};
return eval_shape_elem(shape, {}, shape.colors, element, uv);
}
float eval_radius(const yocto_shape& shape, int element, const vec2f& uv) {
if (shape.radius.empty()) return 0.001f;
return eval_shape_elem(shape, {}, shape.radius, element, uv);
}
vec4f eval_tangent_space(
const yocto_shape& shape, int element, const vec2f& uv) {
if (shape.tangents.empty()) return zero4f;
return eval_shape_elem(shape, {}, shape.tangents, element, uv);
}
pair<mat3f, bool> eval_tangent_basis(
const yocto_shape& shape, int element, const vec2f& uv) {
auto z = eval_normal(shape, element, uv);
if (shape.tangents.empty()) {
auto tangents = eval_element_tangents(shape, element, uv);
auto x = orthonormalize(tangents.first, z);
auto y = normalize(cross(z, x));
return {{x, y, z}, dot(y, tangents.second) < 0};
} else {
auto tangsp = eval_shape_elem(shape, {}, shape.tangents, element, uv);
auto x = orthonormalize(xyz(tangsp), z);
auto y = normalize(cross(z, x));
return {{x, y, z}, tangsp.w < 0};
}
}
// Instance values interpolated using barycentric coordinates.
vec3f eval_position(const yocto_scene& scene, const yocto_instance& instance,
int element, const vec2f& uv) {
return transform_point(
instance.frame, eval_position(scene.shapes[instance.shape], element, uv));
}
vec3f eval_normal(const yocto_scene& scene, const yocto_instance& instance,
int element, const vec2f& uv, bool non_rigid_frame) {
auto normal = eval_normal(scene.shapes[instance.shape], element, uv);
return transform_normal(instance.frame, normal, non_rigid_frame);
}
vec3f eval_shading_normal(const yocto_scene& scene,
const yocto_instance& instance, int element, const vec2f& uv,
const vec3f& direction, bool non_rigid_frame) {
auto& shape = scene.shapes[instance.shape];
auto& material = scene.materials[instance.material];
if (!shape.points.empty()) {
return -direction;
} else if (!shape.lines.empty()) {
auto normal = eval_normal(scene, instance, element, uv, non_rigid_frame);
return orthonormalize(-direction, normal);
} else if (material.normal_tex < 0) {
return eval_normal(scene, instance, element, uv, non_rigid_frame);
} else {
auto& normal_tex = scene.textures[material.normal_tex];
auto normalmap = -1 + 2 * xyz(eval_texture(normal_tex,
eval_texcoord(shape, element, uv), true));
auto basis = eval_tangent_basis(shape, element, uv);
normalmap.y *= basis.second ? 1 : -1; // flip vertical axis
auto normal = normalize(basis.first * normalmap);
return transform_normal(instance.frame, normal, non_rigid_frame);
}
}
// Instance element values.
vec3f eval_element_normal(const yocto_scene& scene,
const yocto_instance& instance, int element, bool non_rigid_frame) {
auto normal = eval_element_normal(scene.shapes[instance.shape], element);
return transform_normal(instance.frame, normal, non_rigid_frame);
}
// Instance material
material_point eval_material(const yocto_scene& scene,
const yocto_instance& instance, int element, const vec2f& uv) {
auto& shape = scene.shapes[instance.shape];
auto& material = scene.materials[instance.material];
auto texcoords = eval_texcoord(shape, element, uv);
auto color = eval_color(shape, element, uv);
return eval_material(scene, material, texcoords, color);
}
// Environment texture coordinates from the direction.
vec2f eval_texcoord(
const yocto_environment& environment, const vec3f& direction) {
auto wl = transform_direction(inverse(environment.frame), direction);
auto environment_uv = vec2f{
atan2(wl.z, wl.x) / (2 * pif), acos(clamp(wl.y, -1.0f, 1.0f)) / pif};
if (environment_uv.x < 0) environment_uv.x += 1;
return environment_uv;
}
// Evaluate the environment direction.
vec3f eval_direction(
const yocto_environment& environment, const vec2f& environment_uv) {
return transform_direction(environment.frame,
{cos(environment_uv.x * 2 * pif) * sin(environment_uv.y * pif),
cos(environment_uv.y * pif),
sin(environment_uv.x * 2 * pif) * sin(environment_uv.y * pif)});
}
// Evaluate the environment color.
vec3f eval_environment(const yocto_scene& scene,
const yocto_environment& environment, const vec3f& direction) {
auto emission = environment.emission;
if (environment.emission_tex >= 0) {
auto& emission_tex = scene.textures[environment.emission_tex];
emission *= xyz(
eval_texture(emission_tex, eval_texcoord(environment, direction)));
}
return emission;
}
// Evaluate all environment color.
vec3f eval_environment(const yocto_scene& scene, const vec3f& direction) {
auto emission = zero3f;
for (auto& environment : scene.environments)
emission += eval_environment(scene, environment, direction);
return emission;
}
// Check texture size
vec2i texture_size(const yocto_texture& texture) {
if (!texture.hdr.empty()) {
return texture.hdr.size();
} else if (!texture.ldr.empty()) {
return texture.ldr.size();
} else {
return zero2i;
}
}
// Lookup a texture value
vec4f lookup_texture(
const yocto_texture& texture, int i, int j, bool ldr_as_linear) {
if (!texture.hdr.empty()) {
return texture.hdr[{i, j}];
} else if (!texture.ldr.empty() && !ldr_as_linear) {
return srgb_to_rgb(byte_to_float(texture.ldr[{i, j}]));
} else if (!texture.ldr.empty() && ldr_as_linear) {
return byte_to_float(texture.ldr[{i, j}]);
} else {
return zero4f;
}
}
// Evaluate a texture
vec4f eval_texture(const yocto_texture& texture, const vec2f& texcoord,
bool ldr_as_linear, bool no_interpolation, bool clamp_to_edge) {
if (texture.hdr.empty() && texture.ldr.empty()) return {1, 1, 1, 1};
// get image width/height
auto size = texture_size(texture);
auto width = size.x, height = size.y;
// get coordinates normalized for tiling
auto s = 0.0f, t = 0.0f;
if (clamp_to_edge) {
s = clamp(texcoord.x, 0.0f, 1.0f) * width;
t = clamp(texcoord.y, 0.0f, 1.0f) * height;
} else {
s = fmod(texcoord.x, 1.0f) * width;
if (s < 0) s += width;
t = fmod(texcoord.y, 1.0f) * height;
if (t < 0) t += height;
}
// get image coordinates and residuals
auto i = clamp((int)s, 0, width - 1), j = clamp((int)t, 0, height - 1);
auto ii = (i + 1) % width, jj = (j + 1) % height;
auto u = s - i, v = t - j;
if (no_interpolation) return lookup_texture(texture, i, j, ldr_as_linear);
// handle interpolation
return lookup_texture(texture, i, j, ldr_as_linear) * (1 - u) * (1 - v) +
lookup_texture(texture, i, jj, ldr_as_linear) * (1 - u) * v +
lookup_texture(texture, ii, j, ldr_as_linear) * u * (1 - v) +
lookup_texture(texture, ii, jj, ldr_as_linear) * u * v;
}
// Lookup a texture value
float lookup_voltexture(
const yocto_voltexture& texture, int i, int j, int k, bool ldr_as_linear) {
if (!texture.vol.empty()) {
return texture.vol[{i, j, k}];
} else {
return 0;
}
}
// Evaluate a volume texture
float eval_voltexture(const yocto_voltexture& texture, const vec3f& texcoord,
bool ldr_as_linear, bool no_interpolation, bool clamp_to_edge) {
if (texture.vol.empty()) return 1;
// get image width/height
auto width = texture.vol.size().x;
auto height = texture.vol.size().y;
auto depth = texture.vol.size().z;
// get coordinates normalized for tiling
auto s = clamp((texcoord.x + 1.0f) * 0.5f, 0.0f, 1.0f) * width;
auto t = clamp((texcoord.y + 1.0f) * 0.5f, 0.0f, 1.0f) * height;
auto r = clamp((texcoord.z + 1.0f) * 0.5f, 0.0f, 1.0f) * depth;
// get image coordinates and residuals
auto i = clamp((int)s, 0, width - 1);
auto j = clamp((int)t, 0, height - 1);
auto k = clamp((int)r, 0, depth - 1);
auto ii = (i + 1) % width, jj = (j + 1) % height, kk = (k + 1) % depth;
auto u = s - i, v = t - j, w = r - k;
// nearest-neighbor interpolation
if (no_interpolation) {
i = u < 0.5 ? i : min(i + 1, width - 1);
j = v < 0.5 ? j : min(j + 1, height - 1);
k = w < 0.5 ? k : min(k + 1, depth - 1);
return lookup_voltexture(texture, i, j, k, ldr_as_linear);
}
// trilinear interpolation
return lookup_voltexture(texture, i, j, k, ldr_as_linear) * (1 - u) *
(1 - v) * (1 - w) +
lookup_voltexture(texture, ii, j, k, ldr_as_linear) * u * (1 - v) *
(1 - w) +
lookup_voltexture(texture, i, jj, k, ldr_as_linear) * (1 - u) * v *
(1 - w) +
lookup_voltexture(texture, i, j, kk, ldr_as_linear) * (1 - u) *
(1 - v) * w +
lookup_voltexture(texture, i, jj, kk, ldr_as_linear) * (1 - u) * v *
w +
lookup_voltexture(texture, ii, j, kk, ldr_as_linear) * u * (1 - v) *
w +
lookup_voltexture(texture, ii, jj, k, ldr_as_linear) * u * v *
(1 - w) +
lookup_voltexture(texture, ii, jj, kk, ldr_as_linear) * u * v * w;
}
// Set and evaluate camera parameters. Setters take zeros as default values.
vec2f camera_fov(const yocto_camera& camera) {
assert(!camera.orthographic);
return {2 * atan(camera.film.x / (2 * camera.lens)),
2 * atan(camera.film.y / (2 * camera.lens))};
}
float camera_yfov(const yocto_camera& camera) {
assert(!camera.orthographic);
return 2 * atan(camera.film.y / (2 * camera.lens));
}
float camera_aspect(const yocto_camera& camera) {
return camera.film.x / camera.film.y;
}
vec2i camera_resolution(const yocto_camera& camera, int resolution) {
if (camera.film.x > camera.film.y) {
return {resolution, (int)round(resolution * camera.film.y / camera.film.x)};
} else {
return {(int)round(resolution * camera.film.x / camera.film.y), resolution};
}
}
void set_yperspective(
yocto_camera& camera, float fov, float aspect, float focus, float film) {
camera.orthographic = false;
camera.film = {film, film / aspect};
camera.focus = focus;
auto distance = camera.film.y / (2 * tan(fov / 2));
if (focus < flt_max) {
camera.lens = camera.focus * distance / (camera.focus + distance);
} else {
camera.lens = distance;
}
}
// add missing camera
void set_view(
yocto_camera& camera, const bbox3f& bbox, const vec3f& view_direction) {
camera.orthographic = false;
auto center = (bbox.max + bbox.min) / 2;
auto bbox_radius = length(bbox.max - bbox.min) / 2;
auto camera_dir = (view_direction == zero3f) ? camera.frame.o - center
: view_direction;
if (camera_dir == zero3f) camera_dir = {0, 0, 1};
auto fov = min(camera_fov(camera));
if (fov == 0) fov = 45 * pif / 180;
auto camera_dist = bbox_radius / sin(fov / 2);
auto from = camera_dir * (camera_dist * 1) + center;
auto to = center;
auto up = vec3f{0, 1, 0};
camera.frame = lookat_frame(from, to, up);
camera.focus = length(from - to);
camera.aperture = 0;
}
// Generates a ray from a camera for image plane coordinate uv and
// the lens coordinates luv.
ray3f eval_perspective_camera(
const yocto_camera& camera, const vec2f& image_uv, const vec2f& lens_uv) {
auto distance = camera.lens;
if (camera.focus < flt_max) {
distance = camera.lens * camera.focus / (camera.focus - camera.lens);
}
if (camera.aperture) {
auto e = vec3f{(lens_uv.x - 0.5f) * camera.aperture,
(lens_uv.y - 0.5f) * camera.aperture, 0};
auto q = vec3f{camera.film.x * (0.5f - image_uv.x),
camera.film.y * (image_uv.y - 0.5f), distance};
// distance of the image of the point
auto distance1 = camera.lens * distance / (distance - camera.lens);
auto q1 = -q * distance1 / distance;
auto d = normalize(q1 - e);
// auto q1 = - normalize(q) * camera.focus / normalize(q).z;
auto ray = ray3f{
transform_point(camera.frame, e), transform_direction(camera.frame, d)};
return ray;
} else {
auto e = zero3f;
auto q = vec3f{camera.film.x * (0.5f - image_uv.x),
camera.film.y * (image_uv.y - 0.5f), distance};
auto q1 = -q;
auto d = normalize(q1 - e);
auto ray = ray3f{
transform_point(camera.frame, e), transform_direction(camera.frame, d)};
return ray;
}
}
// Generates a ray from a camera for image plane coordinate uv and
// the lens coordinates luv.
ray3f eval_orthographic_camera(
const yocto_camera& camera, const vec2f& image_uv, const vec2f& lens_uv) {
if (camera.aperture) {
auto scale = 1 / camera.lens;
auto q = vec3f{camera.film.x * (0.5f - image_uv.x) * scale,
camera.film.y * (image_uv.y - 0.5f) * scale, scale};
auto q1 = vec3f{-q.x, -q.y, -camera.focus};
auto e = vec3f{-q.x, -q.y, 0} + vec3f{(lens_uv.x - 0.5f) * camera.aperture,
(lens_uv.y - 0.5f) * camera.aperture,
0};
auto d = normalize(q1 - e);
auto ray = ray3f{
transform_point(camera.frame, e), transform_direction(camera.frame, d)};
return ray;
} else {
auto scale = 1 / camera.lens;
auto q = vec3f{camera.film.x * (0.5f - image_uv.x) * scale,
camera.film.y * (image_uv.y - 0.5f) * scale, scale};
auto q1 = -q;
auto e = vec3f{-q.x, -q.y, 0};
auto d = normalize(q1 - e);
auto ray = ray3f{
transform_point(camera.frame, e), transform_direction(camera.frame, d)};
return ray;
}
}
// Generates a ray from a camera for image plane coordinate uv and
// the lens coordinates luv.
ray3f eval_camera(
const yocto_camera& camera, const vec2f& uv, const vec2f& luv) {
if (camera.orthographic)
return eval_orthographic_camera(camera, uv, luv);
else
return eval_perspective_camera(camera, uv, luv);
}
// Generates a ray from a camera.
ray3f eval_camera(const yocto_camera& camera, const vec2i& image_ij,
const vec2i& image_size, const vec2f& pixel_uv, const vec2f& lens_uv) {
auto image_uv = vec2f{(image_ij.x + pixel_uv.x) / image_size.x,
(image_ij.y + pixel_uv.y) / image_size.y};
return eval_camera(camera, image_uv, lens_uv);
}
// Generates a ray from a camera.
ray3f eval_camera(const yocto_camera& camera, int idx, const vec2i& image_size,
const vec2f& pixel_uv, const vec2f& lens_uv) {
auto image_ij = vec2i{idx % image_size.x, idx / image_size.x};
auto image_uv = vec2f{(image_ij.x + pixel_uv.x) / image_size.x,
(image_ij.y + pixel_uv.y) / image_size.y};
return eval_camera(camera, image_uv, lens_uv);
}
// Evaluates the microfacet_brdf at a location.
material_point eval_material(const yocto_scene& scene,
const yocto_material& material, const vec2f& texcoord,
const vec4f& shape_color) {
auto point = material_point{};
// factors
point.emission = material.emission * xyz(shape_color);
point.diffuse = material.diffuse * xyz(shape_color);
point.specular = material.specular;
auto metallic = material.metallic;
point.roughness = material.roughness;
point.coat = material.coat;
point.transmission = material.transmission;
point.refraction = material.refraction;
auto voltransmission = material.voltransmission;
auto volmeanfreepath = material.volmeanfreepath;
point.volemission = material.volemission;
point.volscatter = material.volscatter;
point.volanisotropy = material.volanisotropy;
auto volscale = material.volscale;
point.opacity = material.opacity * shape_color.w;
// textures
if (material.emission_tex >= 0) {
auto& emission_tex = scene.textures[material.emission_tex];
point.emission *= xyz(eval_texture(emission_tex, texcoord));
}
if (material.diffuse_tex >= 0) {
auto& diffuse_tex = scene.textures[material.diffuse_tex];
auto base_txt = eval_texture(diffuse_tex, texcoord);
point.diffuse *= xyz(base_txt);
point.opacity *= base_txt.w;
}
if (material.metallic_tex >= 0) {
auto& metallic_tex = scene.textures[material.metallic_tex];
auto metallic_txt = eval_texture(metallic_tex, texcoord);
metallic *= metallic_txt.z;
if (material.gltf_textures) {
point.roughness *= metallic_txt.x;
}
}
if (material.specular_tex >= 0) {
auto& specular_tex = scene.textures[material.specular_tex];
auto specular_txt = eval_texture(specular_tex, texcoord);
point.specular *= xyz(specular_txt);
if (material.gltf_textures) {
auto glossiness = 1 - point.roughness;
glossiness *= specular_txt.w;
point.roughness = 1 - glossiness;
}
}
if (material.roughness_tex >= 0) {
auto& roughness_tex = scene.textures[material.roughness_tex];
point.roughness *= eval_texture(roughness_tex, texcoord).x;
}
if (material.transmission_tex >= 0) {
auto& transmission_tex = scene.textures[material.transmission_tex];
point.transmission *= xyz(eval_texture(transmission_tex, texcoord));
}
if (material.refraction_tex >= 0) {
auto& refraction_tex = scene.textures[material.refraction_tex];
point.refraction *= xyz(eval_texture(refraction_tex, texcoord));
}
if (material.subsurface_tex >= 0) {
auto& subsurface_tex = scene.textures[material.subsurface_tex];
point.volscatter *= xyz(eval_texture(subsurface_tex, texcoord));
}
if (material.opacity_tex >= 0) {
auto& opacity_tex = scene.textures[material.opacity_tex];
point.opacity *= mean(xyz(eval_texture(opacity_tex, texcoord)));
}
if (material.coat_tex >= 0) {
auto& coat_tex = scene.textures[material.coat_tex];
point.coat *= xyz(eval_texture(coat_tex, texcoord));
}
if (metallic) {
point.specular = point.specular * (1 - metallic) + metallic * point.diffuse;
point.diffuse = metallic * point.diffuse * (1 - metallic);
}
if (point.diffuse != zero3f || point.roughness) {
point.roughness = point.roughness * point.roughness;
point.roughness = clamp(point.roughness, 0.03f * 0.03f, 1.0f);
}
if (point.opacity > 0.999f) point.opacity = 1;
if (voltransmission != zero3f || volmeanfreepath != zero3f) {
if (voltransmission != zero3f) {
point.voldensity = -log(clamp(voltransmission, 0.0001f, 1.0f)) / volscale;
} else {
point.voldensity = 1 / (volmeanfreepath * volscale);
}
} else {
point.voldensity = zero3f;
}
return point;
}
} // namespace yocto
// -----------------------------------------------------------------------------
// IMPLEMENTATION OF SCENE UTILITIES
// -----------------------------------------------------------------------------
namespace yocto {
void merge_scene(yocto_scene& scene, const yocto_scene& merge) {
auto offset_cameras = scene.cameras.size();
auto offset_textures = scene.textures.size();
auto offset_voltextures = scene.voltextures.size();
auto offset_materials = scene.materials.size();
auto offset_shapes = scene.shapes.size();
auto offset_subdivs = scene.subdivs.size();
auto offset_instances = scene.instances.size();
auto offset_environments = scene.environments.size();
auto offset_nodes = scene.nodes.size();
auto offset_animations = scene.animations.size();
scene.cameras.insert(
scene.cameras.end(), merge.cameras.begin(), merge.cameras.end());
scene.textures.insert(
scene.textures.end(), merge.textures.begin(), merge.textures.end());
scene.voltextures.insert(scene.voltextures.end(), merge.voltextures.begin(),
merge.voltextures.end());
scene.materials.insert(
scene.materials.end(), merge.materials.begin(), merge.materials.end());
scene.shapes.insert(
scene.shapes.end(), merge.shapes.begin(), merge.shapes.end());
scene.subdivs.insert(
scene.subdivs.end(), merge.subdivs.begin(), merge.subdivs.end());
scene.instances.insert(
scene.instances.end(), merge.instances.begin(), merge.instances.end());
scene.environments.insert(scene.environments.end(),
merge.environments.begin(), merge.environments.end());
scene.nodes.insert(scene.nodes.end(), merge.nodes.begin(), merge.nodes.end());
scene.animations.insert(
scene.animations.end(), merge.animations.begin(), merge.animations.end());
for (auto material_id = offset_materials;
material_id < scene.materials.size(); material_id++) {
auto& material = scene.materials[material_id];
if (material.emission_tex >= 0) material.emission_tex += offset_textures;
if (material.diffuse_tex >= 0) material.diffuse_tex += offset_textures;
if (material.metallic_tex >= 0) material.metallic_tex += offset_textures;
if (material.specular_tex >= 0) material.specular_tex += offset_textures;
if (material.transmission_tex >= 0)
material.transmission_tex += offset_textures;
if (material.roughness_tex >= 0) material.roughness_tex += offset_textures;
if (material.normal_tex >= 0) material.normal_tex += offset_textures;
if (material.voldensity_tex >= 0)
material.voldensity_tex += offset_voltextures;
}
for (auto subdiv_id = offset_subdivs; subdiv_id < scene.subdivs.size();
subdiv_id++) {
auto& subdiv = scene.subdivs[subdiv_id];
if (subdiv.shape >= 0) subdiv.shape += offset_shapes;
if (subdiv.displacement_tex >= 0)
subdiv.displacement_tex += offset_textures;
}
for (auto instance_id = offset_instances;
instance_id < scene.instances.size(); instance_id++) {
auto& instance = scene.instances[instance_id];
if (instance.shape >= 0) instance.shape += offset_shapes;
if (instance.material >= 0) instance.material += offset_materials;
}
for (auto environment_id = offset_environments;
environment_id < scene.environments.size(); environment_id++) {
auto& environment = scene.environments[environment_id];
if (environment.emission_tex >= 0)
environment.emission_tex += offset_textures;
}
for (auto node_id = offset_nodes; node_id < scene.nodes.size(); node_id++) {
auto& node = scene.nodes[node_id];
if (node.parent >= 0) node.parent += offset_nodes;
if (node.camera >= 0) node.camera += offset_cameras;
if (node.instance >= 0) node.instance += offset_instances;
if (node.environment >= 0) node.environment += offset_environments;
}
for (auto animation_id = offset_animations;
animation_id < scene.animations.size(); animation_id++) {
auto& animation = scene.animations[animation_id];
for (auto& target : animation.targets)
if (target >= 0) target += offset_nodes;
}
}
string format_stats(
const yocto_scene& scene, const string& prefix, bool verbose) {
auto accumulate = [](const auto& values, const auto& func) -> size_t {
auto sum = (size_t)0;
for (auto& value : values) sum += func(value);
return sum;
};
auto format = [](auto num) {
auto str = std::to_string(num);
while (str.size() < 13) str = " " + str;
return str;
};
auto format3 = [](auto num) {
auto str = std::to_string(num.x) + " " + std::to_string(num.y) + " " +
std::to_string(num.z);
while (str.size() < 13) str = " " + str;
return str;
};
auto bbox = compute_bounds(scene);
auto stats = ""s;
stats += prefix + "cameras: " + format(scene.cameras.size()) + "\n";
stats += prefix + "shapes: " + format(scene.shapes.size()) + "\n";
stats += prefix + "subdivs: " + format(scene.subdivs.size()) + "\n";
stats += prefix + "instances: " + format(scene.instances.size()) + "\n";
stats += prefix + "environments: " + format(scene.environments.size()) + "\n";
stats += prefix + "textures: " + format(scene.textures.size()) + "\n";
stats += prefix + "voltextures: " + format(scene.voltextures.size()) + "\n";
stats += prefix + "materials: " + format(scene.materials.size()) + "\n";
stats += prefix + "nodes: " + format(scene.nodes.size()) + "\n";
stats += prefix + "animations: " + format(scene.animations.size()) + "\n";
stats += prefix + "points: " +
format(accumulate(
scene.shapes, [](auto& shape) { return shape.points.size(); })) +
"\n";
stats += prefix + "lines: " +
format(accumulate(
scene.shapes, [](auto& shape) { return shape.lines.size(); })) +
"\n";
stats += prefix + "triangles: " +
format(accumulate(scene.shapes,
[](auto& shape) { return shape.triangles.size(); })) +
"\n";
stats += prefix + "quads: " +
format(accumulate(
scene.shapes, [](auto& shape) { return shape.quads.size(); })) +
"\n";
stats += prefix + "fvquads: " +
format(accumulate(scene.shapes,
[](auto& shape) { return shape.quadspos.size(); })) +
"\n";
stats += prefix + "texels4b: " +
format(accumulate(scene.textures,
[](auto& texture) {
return (size_t)texture.ldr.size().x *
(size_t)texture.ldr.size().x;
})) +
"\n";
stats += prefix + "texels4f: " +
format(accumulate(scene.textures,
[](auto& texture) {
return (size_t)texture.hdr.size().x *
(size_t)texture.hdr.size().y;
})) +
"\n";
stats += prefix + "volxels1f: " +
format(accumulate(scene.voltextures,
[](auto& texture) {
return (size_t)texture.vol.size().x *
(size_t)texture.vol.size().y *
(size_t)texture.vol.size().z;
})) +
"\n";
stats += prefix + "center: " + format3(center(bbox)) + "\n";
stats += prefix + "size: " + format3(size(bbox)) + "\n";
return stats;
}
// Add missing names and resolve duplicated names.
void normalize_uris(yocto_scene& scene) {
auto normalize = [](string& name, const string& base, const string& ext,
int num) {
for (auto& c : name) {
if (c == ':' || c == ' ') c = '_';
}
if (name.empty()) name = base + "_" + std::to_string(num);
if (fs::path(name).parent_path().empty()) name = base + "s/" + name;
if (fs::path(name).extension().empty()) name = name + "." + ext;
};
for (auto id = 0; id < scene.cameras.size(); id++)
normalize(scene.cameras[id].uri, "camera", "yaml", id);
for (auto id = 0; id < scene.textures.size(); id++)
normalize(scene.textures[id].uri, "texture", "png", id);
for (auto id = 0; id < scene.voltextures.size(); id++)
normalize(scene.voltextures[id].uri, "volume", "yvol", id);
for (auto id = 0; id < scene.materials.size(); id++)
normalize(scene.materials[id].uri, "material", "yaml", id);
for (auto id = 0; id < scene.shapes.size(); id++)
normalize(scene.shapes[id].uri, "shape", "ply", id);
for (auto id = 0; id < scene.instances.size(); id++)
normalize(scene.instances[id].uri, "instance", "yaml", id);
for (auto id = 0; id < scene.animations.size(); id++)
normalize(scene.animations[id].uri, "animation", "yaml", id);
for (auto id = 0; id < scene.nodes.size(); id++)
normalize(scene.nodes[id].uri, "node", "yaml", id);
}
void rename_instances(yocto_scene& scene) {
auto shape_names = vector<string>(scene.shapes.size());
for (auto sid = 0; sid < scene.shapes.size(); sid++) {
shape_names[sid] = fs::path(scene.shapes[sid].uri).stem();
}
auto shape_count = vector<vec2i>(scene.shapes.size(), vec2i{0, 0});
for (auto& instance : scene.instances) shape_count[instance.shape].y += 1;
for (auto& instance : scene.instances) {
if (shape_count[instance.shape].y == 1) {
instance.uri = "instances/" + shape_names[instance.shape] + ".yaml";
} else {
auto num = std::to_string(shape_count[instance.shape].x++);
while (num.size() < (int)ceil(log10(shape_count[instance.shape].y)))
num = '0' + num;
instance.uri = "instances/" + shape_names[instance.shape] + "-" + num +
".yaml";
}
}
}
// Normalized a scaled color in a material
void normalize_scaled_color(float& scale, vec3f& color) {
auto scaled = scale * color;
if (max(scaled) == 0) {
scale = 0;
color = {1, 1, 1};
} else {
scale = max(scaled);
color = scaled / max(scaled);
}
}
// Add missing tangent space if needed.
void add_tangent_spaces(yocto_scene& scene) {
for (auto& instance : scene.instances) {
auto& material = scene.materials[instance.material];
if (material.normal_tex < 0) continue;
auto& shape = scene.shapes[instance.shape];
if (!shape.tangents.empty() || shape.texcoords.empty()) continue;
if (!shape.triangles.empty()) {
if (shape.normals.empty()) {
shape.normals.resize(shape.positions.size());
compute_normals(shape.normals, shape.triangles, shape.positions);
}
shape.tangents.resize(shape.positions.size());
compute_tangent_spaces(shape.tangents, shape.triangles, shape.positions,
shape.normals, shape.texcoords);
} else {
throw std::runtime_error("type not supported");
}
}
}
// Add missing materials.
void add_materials(yocto_scene& scene) {
auto material_id = -1;
for (auto& instance : scene.instances) {
if (instance.material >= 0) continue;
if (material_id < 0) {
auto material = yocto_material{};
material.uri = "materails/default.yaml";
material.diffuse = {0.2f, 0.2f, 0.2f};
scene.materials.push_back(material);
material_id = (int)scene.materials.size() - 1;
}
instance.material = material_id;
}
}
// Add missing radius.
void add_radius(yocto_scene& scene, float radius) {
for (auto& shape : scene.shapes) {
if (shape.points.empty() && shape.lines.empty()) continue;
if (!shape.radius.empty()) continue;
shape.radius.assign(shape.positions.size(), radius);
}
}
// Add missing cameras.
void add_cameras(yocto_scene& scene) {
if (scene.cameras.empty()) {
auto camera = yocto_camera{};
camera.uri = "cameras/default.yaml";
set_view(camera, compute_bounds(scene), {0, 0, 1});
scene.cameras.push_back(camera);
}
}
// Add a sky environment
void add_sky(yocto_scene& scene, float sun_angle) {
auto texture = yocto_texture{};
texture.uri = "textures/sky.hdr";
make_sunsky(texture.hdr, {1024, 512}, sun_angle);
scene.textures.push_back(texture);
auto environment = yocto_environment{};
environment.uri = "environments/default.yaml";
environment.emission = {1, 1, 1};
environment.emission_tex = (int)scene.textures.size() - 1;
scene.environments.push_back(environment);
}
// Reduce memory usage
void trim_memory(yocto_scene& scene) {
for (auto& shape : scene.shapes) {
shape.points.shrink_to_fit();
shape.lines.shrink_to_fit();
shape.triangles.shrink_to_fit();
shape.quads.shrink_to_fit();
shape.quadspos.shrink_to_fit();
shape.quadsnorm.shrink_to_fit();
shape.quadstexcoord.shrink_to_fit();
shape.positions.shrink_to_fit();
shape.normals.shrink_to_fit();
shape.texcoords.shrink_to_fit();
shape.colors.shrink_to_fit();
shape.radius.shrink_to_fit();
shape.tangents.shrink_to_fit();
}
for (auto& texture : scene.textures) {
texture.ldr.shrink_to_fit();
texture.hdr.shrink_to_fit();
}
scene.cameras.shrink_to_fit();
scene.shapes.shrink_to_fit();
scene.instances.shrink_to_fit();
scene.materials.shrink_to_fit();
scene.textures.shrink_to_fit();
scene.environments.shrink_to_fit();
scene.voltextures.shrink_to_fit();
scene.nodes.shrink_to_fit();
scene.animations.shrink_to_fit();
}
// Checks for validity of the scene.
vector<string> validate_scene(const yocto_scene& scene, bool notextures) {
auto errs = vector<string>();
auto check_names = [&errs](const auto& vals, const string& base) {
auto used = unordered_map<string, int>();
used.reserve(vals.size());
for (auto& value : vals) used[value.uri] += 1;
for (auto& [name, used] : used) {
if (name == "") {
errs.push_back("empty " + base + " name");
} else if (used > 1) {
errs.push_back("duplicated " + base + " name " + name);
}
}
};
auto check_empty_textures = [&errs](const vector<yocto_texture>& vals) {
for (auto& value : vals) {
if (value.hdr.empty() && value.ldr.empty()) {
errs.push_back("empty texture " + value.uri);
}
}
};
check_names(scene.cameras, "camera");
check_names(scene.shapes, "shape");
check_names(scene.textures, "texture");
check_names(scene.voltextures, "voltexture");
check_names(scene.materials, "material");
check_names(scene.instances, "instance");
check_names(scene.environments, "environment");
check_names(scene.nodes, "node");
check_names(scene.animations, "animation");
if (!notextures) check_empty_textures(scene.textures);
return errs;
}
// Logs validations errors
void print_validation(const yocto_scene& scene, bool notextures) {
for (auto err : validate_scene(scene, notextures))
printf("%s [validation]\n", err.c_str());
}
} // namespace yocto
| [
"edo.carra@gmail.com"
] | edo.carra@gmail.com |
2336fc84da772043278fe53f46658a95989c6df4 | 98e575d2911f291ec152e32721468a0ccb9b7dd0 | /sockets/Components/Base/WithLed.h | 0f41d1ee2698542b1ac2078ab6491ae56e17c538 | [] | no_license | BenjaminKnol/domotica | 3f54840e9271450d9ac766b4aeae0d8ecf4b96e5 | ed8a280bd39edc90409b031d09f50109a85df1e5 | refs/heads/master | 2023-03-01T04:25:40.684365 | 2021-01-28T08:32:41 | 2021-01-28T08:32:41 | 315,907,622 | 1 | 1 | null | 2021-02-03T22:44:29 | 2020-11-25T10:41:39 | PHP | UTF-8 | C++ | false | false | 266 | h | //
// Created by Asus on 20-1-2021.
//
#ifndef CLASSSTRUCTURE_WITHLED_H
#define CLASSSTRUCTURE_WITHLED_H
class WithLed {
private:
int ledStatus = false;
public:
int getLedStatus() const;
void toggleLedStatus();
};
#endif //CLASSSTRUCTURE_WITHLED_H
| [
"michael_rotteveel@hotmail.nl"
] | michael_rotteveel@hotmail.nl |
7fd24a8d96e76c3316558037dcc5a70c4f552296 | a9f678119a8ed6b852f30aa4c35ee8d75ee55c10 | /maximumSubarray.cpp | 109466eb27134ffde5550b7ecba75e04e1283eba | [] | no_license | gaolu/Leetcode | 0ae73c04be1f1cb75b499d957ed24fde78684074 | 10d1091c20b1692d9a9fa91b41d23a1f8ba9424a | refs/heads/master | 2021-01-13T02:06:45.626985 | 2014-03-18T04:26:39 | 2014-03-18T04:26:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 420 | cpp | class Solution {
public:
int maxSubArray(int A[], int n) {
// Start typing your C/C++ solution below
// DO NOT write int main() function
// sum is used to decide whether to start over or continue
int result = A[0], sum = A[0];
for(int i = 1; i < n; i++){
sum = max(sum + A[i], A[i]);
result = max(result, sum);
}
return result;
}
}; | [
"gaolu.adam@gmail.com"
] | gaolu.adam@gmail.com |
9259a77d14adb2b09de7ee977bb10181fc939e9b | a7416c5f2c8a82ddcd217450797d3c1ad5a76d3d | /maximumSumSequence/maximumSumSequence.cpp | 19c74988867e28dab65f07c7b1498b6fdc71f9e9 | [
"MIT"
] | permissive | CiganOliviu/clean-systems | 3b8a6923ce0726c2aa26eb8338c80c5d83083b23 | 491ec08ddc5cc127b88878849a828363d7f08be2 | refs/heads/master | 2020-12-13T08:34:14.635016 | 2020-06-28T13:51:41 | 2020-06-28T13:51:41 | 234,363,231 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,954 | cpp | #include "maximumSumSequenceDef.hpp"
const char * systemException::what () const throw () {
return processMessage.c_str();
}
template <class Type> bool validationRules::isNegative (Type parameter) {
if (parameter < 0) return true;
return false;
}
template <class Type> bool validationRules::isZero (Type parameter) {
if (parameter == 0) return true;
return false;
}
template <class Type> void inputOutputOperations::readOneDimensionalArray (char * fileName, oneDimensionalArrayType<Type> ODARefference) {
std::ifstream dataStream(fileName, std::ios::in);
Type data;
if (dataStream.is_open()) {
while (dataStream >> data) {
ODARefference.oneDimensionalArray[ODARefference.length] = data;
ODARefference.length += 1;
}
if (__validations__.isZero(ODARefference.length)) throw systemException ("Unable to process length as zero");
if (__validations__.isNegative(ODARefference.length)) throw systemException ("Unable to process negative length");
dataStream.close();
}
else
throw systemException ("Unable to open file");
}
template <class Type> void inputOutputOperations::outputOneDimensionalArray (oneDimensionalArrayType<Type> ODARefference) {
if (__validations__.isZero(ODARefference.length)) throw systemException ("Unable to process length as zero");
if (__validations__.isNegative(ODARefference.length)) throw systemException ("Unable to process negative length");
for (size_t iterator = ODARefference.startPoint; iterator < ODARefference.length + ODARefference.endPoint; iterator++)
std::cout << ODARefference.oneDimensionalArray[iterator] << " ";
std::cout << '\n' << '\n' << '\n';
}
template <class Type> Type getMaximumSumSequence::getMaximumSumSequenceODA (oneDimensionalArrayType<Type> ODARefference) {
if (__validations__.isZero(ODARefference.length)) throw systemException ("Unable to process length as zero");
if (__validations__.isNegative(ODARefference.length)) throw systemException ("Unable to process negative length");
Type Sum = 0;
Type Result = 0;
for (size_t iterator = ODARefference.startPoint; iterator < ODARefference.length + ODARefference.endPoint; iterator++) {
Sum += ODARefference.oneDimensionalArray[iterator];
if (Result < Sum)
Result = Sum;
if (Sum < 0)
Sum = 0;
}
return Result;
}
int main(int argc, char const *argv[]) {
inputOutputOperations io;
oneDimensionalArrayType<int> ODAObject;
getMaximumSumSequence SumSequenceCore;
auto start = high_resolution_clock::now();
io.readOneDimensionalArray<int> ((char*)"ODA.data", ODAObject);
io.outputOneDimensionalArray<int> (ODAObject);
std::cout << SumSequenceCore.getMaximumSumSequenceODA<int> (ODAObject) << '\n' << '\n';
auto stop = high_resolution_clock::now();
auto duration = duration_cast<seconds>(stop - start);
std::cout << "Time taken by tasks: " << duration.count() << " seconds" << '\n';
return 0;
}
| [
"43005157+CiganOliviu@users.noreply.github.com"
] | 43005157+CiganOliviu@users.noreply.github.com |
1f833f44ba3becb9c760d40da93b3b2385e8a3e6 | d521aa693b16335d5b1ee903f0761255b09d9565 | /_dataServer/thread_info_list.cpp | cccb89a43a6a3403ad739ff92c32e33cac40a165 | [] | no_license | dean-dalianis/remoteCopy | 622fa968e07977e3db6f1f7e4e90a176aadbdece | 75c306bc7b898dcdb4f0e8edfb45c893ef76c42b | refs/heads/master | 2021-09-08T14:27:49.649403 | 2017-01-24T13:26:30 | 2017-01-24T13:26:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,350 | cpp | #include "thread_info_list.hpp"
#include <iostream>
using namespace std;
thread_info_list_node::thread_info_list_node(thread_info *_info,
thread_info_list_node *n) {
info = _info;
next = n;
}
thread_info_list_node::~thread_info_list_node() {
}
thread_info_list::thread_info_list() :
_head(NULL), _size(0) {
}
thread_info_list::~thread_info_list() {
thread_info_list_node* current = _head;
while (current != NULL) {
thread_info_list_node* next = current->next;
//delete current->thread;
delete current;
current = next;
}
_head = NULL;
}
void thread_info_list::push_back(thread_info *argument) {
if (_head == NULL) {
_head = new thread_info_list_node(argument, NULL);
} else {
thread_info_list_node *temp = _head;
while (temp->next != NULL) {
temp = temp->next;
}
temp->next = new thread_info_list_node(argument, NULL);
}
_size++;
}
thread_info* thread_info_list::pop_front() {
if (_head != NULL) {
thread_info_list_node *temp = _head;
_head = _head->next;
thread_info* arg = temp->info;
delete temp;
_size--;
return arg;
}
return NULL;
}
thread_info* thread_info_list::get_back() {
if (_head != NULL) {
thread_info_list_node *temp = _head;
while (temp->next != NULL) {
temp = temp->next;
}
return temp->info;
}
return NULL;
}
int thread_info_list::get_size() {
return _size;
}
| [
"kdalianis@live.com"
] | kdalianis@live.com |
8526f1d148ccadfee9d4af3d71b8bab0c6d2a7f8 | dfa1667880f117afdf57049c24a34d1e17228bed | /max.cpp | 2ce620b0fd794080100c24c0b98d25adadf577a5 | [] | no_license | elladebbie36/Lin_Max_Min | 3d1e68abd31e98d2a21fb8379f27b1601a7e9a4e | 1d0522148fd99bb6fe7ed30e584a38a997d46d45 | refs/heads/master | 2021-01-14T02:08:16.003908 | 2020-02-23T19:54:10 | 2020-02-23T19:54:10 | 242,565,585 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,294 | cpp | #include <iostream>
using namespace std;
void fnRecMaxMin(int[],int, int ,int*,int*);
int main()
{
int iaArr[500000],iNum,i;
int iMax = 0,iMin = 0;
cout<<"\nEnter the size of the array\n"<<endl;
cin>> iNum;
cout<<"\n Enter the element of the array"<<endl;
for(i=0;i<iNum;i++){
cin>>iaArr[i];
}
fnRecMaxMin(iaArr,0,iNum-1,&iMax,&iMin);
cout<<"\n"<<"Max Element = "<<iMax<<endl;
cout<<"\n"<<"Min Element = "<<iMin<<endl;
return 0;
}
void fnRecMaxMin(int a[], int low, int high, int *max, int *min)
{int mid,max1,max2, min1,min2;
if(high-low ==1){
if(a[low]>a[high]){
*max = a[low];
*min = a[low];
}
else
{
*max = a[high];
*min = a[low];
}
}
else if(low==high)
{
*min = *max = a[low];
}
else if(low<high){
mid = (low+high)/2;
fnRecMaxMin(a,low,mid,&max1,&min1);
fnRecMaxMin(a,mid+1, high,&max2,&min2);
if(max1>max2){
*max=max1;
}
else{
*max=max2;
}
if(min1< min2){
*min = min1;
}
else{
*min = min2;
}
}
}
| [
"debrahemmanuella69@gmail.com"
] | debrahemmanuella69@gmail.com |
a5e413ac24d9e70d721963b6a191acfa94ed3a33 | aef14403ea0c30afb6612d4698273c860297cb7e | /src/types/primitive_long.cpp | 8398e6e00bcf328c217e4bc55da5abc6a99782ef | [
"BSD-2-Clause"
] | permissive | RAttab/reflect | ba3b939ac6d323e7f31531f0dff6d791abf3a64d | 9a4f0cd1f63f2afa314297d4f07ef5837bdb9f8d | refs/heads/master | 2023-04-06T04:04:14.935469 | 2023-03-26T18:39:10 | 2023-03-26T18:39:10 | 17,706,186 | 47 | 13 | null | null | null | null | UTF-8 | C++ | false | false | 541 | cpp | /* primitive_long.cpp -*- C++ -*-
Rémi Attab (remi.attab@gmail.com), 12 Apr 2014
FreeBSD-style copyright and disclaimer apply
Long reflection
*/
#include "primitives.h"
#include "primitives.tcc"
/******************************************************************************/
/* REFLECT LONG */
/******************************************************************************/
reflectNumber(long int)
reflectNumber(unsigned long int)
| [
"remi.attab@gmail.com"
] | remi.attab@gmail.com |
7fd567757570b3875e132971ea88beb87acdaed3 | ef6ef195ecff4a349d7cb2611bd67ba2ab92f34b | /hdu.cpp/杭电1097(快速幂).cpp | a378a456dfca1d80a71b808205e2c01a26984be0 | [] | no_license | GDDXH/First-year-of-University | 2f721ca182c02c8dde3fe957dc69bd825969ac43 | 67ec100de6bc03cb538f8db5babcd32c1ab3e992 | refs/heads/master | 2020-12-10T09:09:43.968893 | 2020-01-13T09:32:47 | 2020-01-13T09:32:47 | 233,552,368 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 611 | cpp | //一个整数N的M次方之后的末位数字
//需要使用快速幂,否则超时
//也可以使用数学规律,一个数的(4n+1)次方之后末尾和初始相同
#include<iostream>
#include<algorithm>
#include<cmath>
#include<vector>
#include<string>
#include<cstring>
#include<cstdio>
using namespace std;
int fun(int x,int y)
{
int t=1;
x%=10;
while(y>0)
{
if(y&1)
t=t*x%10;
x=x*x%10;
y/=2;
}
return t;
}
int main()
{
int i,a,b,result;
while(~scanf("%d %d",&a,&b))
{
printf("%d\n",fun(a,b));
}
return 0;
}
| [
"911594111@qq.com"
] | 911594111@qq.com |
2d601dd38126010bddeb21cf3612b6051ce16ca7 | 053610eebd0992872ea6e7dc41b5b1db07191692 | /olympia/WebKit/gtk/WebCoreSupport/ChromeClientGtk.h | 46d015edab7e055a9b0dae626b5011d3d1a6c873 | [
"BSD-2-Clause"
] | permissive | cswei/Olympia_on_Desktop | 29310ccddcd0f792cf1fc9c29b03ac85b5394137 | cd9a782217277d1adc732262948d6be248820a71 | refs/heads/master | 2021-01-23T12:20:47.017715 | 2011-05-06T06:29:45 | 2011-05-06T06:29:45 | 1,612,469 | 6 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 5,343 | h | /*
* Copyright (C) 2007 Holger Hans Peter Freyther
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public License
* along with this library; see the file COPYING.LIB. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#ifndef ChromeClientGtk_h
#define ChromeClientGtk_h
#include "ChromeClient.h"
#include "KURL.h"
typedef struct _WebKitWebView WebKitWebView;
namespace WebKit {
class ChromeClient : public WebCore::ChromeClient {
public:
ChromeClient(WebKitWebView*);
WebKitWebView* webView() const { return m_webView; }
virtual void chromeDestroyed();
virtual void setWindowRect(const WebCore::FloatRect&);
virtual WebCore::FloatRect windowRect();
virtual WebCore::FloatRect pageRect();
virtual float scaleFactor();
virtual void focus();
virtual void unfocus();
virtual bool canTakeFocus(WebCore::FocusDirection);
virtual void takeFocus(WebCore::FocusDirection);
virtual void focusedNodeChanged(WebCore::Node*);
virtual WebCore::Page* createWindow(WebCore::Frame*, const WebCore::FrameLoadRequest&, const WebCore::WindowFeatures&);
virtual void show();
virtual bool canRunModal();
virtual void runModal();
virtual void setToolbarsVisible(bool);
virtual bool toolbarsVisible();
virtual void setStatusbarVisible(bool);
virtual bool statusbarVisible();
virtual void setScrollbarsVisible(bool);
virtual bool scrollbarsVisible();
virtual void setMenubarVisible(bool);
virtual bool menubarVisible();
virtual void setResizable(bool);
virtual void addMessageToConsole(WebCore::MessageSource source, WebCore::MessageType type,
WebCore::MessageLevel level, const WebCore::String& message,
unsigned int lineNumber, const WebCore::String& sourceID);
virtual bool canRunBeforeUnloadConfirmPanel();
virtual bool runBeforeUnloadConfirmPanel(const WebCore::String& message, WebCore::Frame* frame);
virtual void closeWindowSoon();
virtual void runJavaScriptAlert(WebCore::Frame*, const WebCore::String&);
virtual bool runJavaScriptConfirm(WebCore::Frame*, const WebCore::String&);
virtual bool runJavaScriptPrompt(WebCore::Frame*, const WebCore::String& message, const WebCore::String& defaultValue, WebCore::String& result);
virtual void setStatusbarText(const WebCore::String&);
virtual bool shouldInterruptJavaScript();
virtual bool tabsToLinks() const;
virtual WebCore::IntRect windowResizerRect() const;
virtual void invalidateWindow(const WebCore::IntRect&, bool);
virtual void invalidateContentsAndWindow(const WebCore::IntRect&, bool);
virtual void invalidateContentsForSlowScroll(const WebCore::IntRect&, bool);
virtual void scroll(const WebCore::IntSize& scrollDelta, const WebCore::IntRect& rectToScroll, const WebCore::IntRect& clipRect);
virtual WebCore::IntPoint screenToWindow(const WebCore::IntPoint&) const;
virtual WebCore::IntRect windowToScreen(const WebCore::IntRect&) const;
virtual PlatformPageClient platformPageClient() const;
virtual void contentsSizeChanged(WebCore::Frame*, const WebCore::IntSize&) const;
virtual void scrollbarsModeDidChange() const;
virtual void mouseDidMoveOverElement(const WebCore::HitTestResult&, unsigned modifierFlags);
virtual void setToolTip(const WebCore::String&, WebCore::TextDirection);
virtual void print(WebCore::Frame*);
#if ENABLE(DATABASE)
virtual void exceededDatabaseQuota(WebCore::Frame*, const WebCore::String&);
#endif
#if ENABLE(OFFLINE_WEB_APPLICATIONS)
virtual void reachedMaxAppCacheSize(int64_t spaceNeeded);
#endif
virtual void runOpenPanel(WebCore::Frame*, PassRefPtr<WebCore::FileChooser>);
virtual void chooseIconForFiles(const Vector<WebCore::String>&, WebCore::FileChooser*);
virtual void formStateDidChange(const WebCore::Node*) { }
virtual PassOwnPtr<WebCore::HTMLParserQuirks> createHTMLParserQuirks() { return 0; }
virtual bool setCursor(WebCore::PlatformCursorHandle);
virtual void scrollRectIntoView(const WebCore::IntRect&, const WebCore::ScrollView*) const {}
virtual void requestGeolocationPermissionForFrame(WebCore::Frame*, WebCore::Geolocation*);
virtual void cancelGeolocationPermissionRequestForFrame(WebCore::Frame*, WebCore::Geolocation*);
private:
WebKitWebView* m_webView;
WebCore::KURL m_hoveredLinkURL;
};
}
#endif // ChromeClient_h
| [
"charles.wei@torchmobile.com.cn"
] | charles.wei@torchmobile.com.cn |
f7b83ffd9e33a23c4a8cae65c4ae266e58e0415a | 638d37770a07d07b9a8130cbd593115904a9313b | /include/CobaltFusion/hstream.h | 408b7190cc7b1e2b7b7ce1eacb0f5b399621eddb | [
"BSL-1.0"
] | permissive | mayl8822/DebugViewPP | 7d4fbc812ea58d8db20a391aff91534038c0fb3a | 6b63ebdb02d89df887875b629ab4d4a08dafdde9 | refs/heads/master | 2022-07-26T02:48:31.613721 | 2022-06-30T09:03:53 | 2022-06-30T09:03:53 | 82,527,828 | 1 | 1 | BSL-1.0 | 2022-07-02T17:08:55 | 2017-02-20T07:12:15 | C++ | UTF-8 | C++ | false | false | 3,262 | h | // (C) Copyright Gert-Jan de Vos and Jan Wilmans 2013.
// 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)
// Repository at: https://github.com/djeedjay/DebugViewPP/
#pragma once
#include <streambuf>
#include <vector>
namespace fusion {
template <class Elem, class Tr = std::char_traits<Elem>, class Alloc = std::allocator<Elem>>
class basic_handlebuf : public std::basic_streambuf<Elem, Tr>
{
public:
using _int_type = typename std::basic_streambuf<Elem, Tr>::int_type;
explicit basic_handlebuf(HANDLE handle, std::size_t buff_sz = 256, std::size_t put_back = 8) :
m_handle(handle),
m_put_back(std::max<std::size_t>(put_back, 1)),
m_readBuffer(std::max(buff_sz, m_put_back) + m_put_back)
{
Elem* end = &m_readBuffer.front() + m_readBuffer.size();
this->setg(end, end, end);
}
protected:
int sync() override
{
if (!m_writeBuffer.empty())
{
DWORD written;
if (!WriteFile(m_handle, m_writeBuffer.data(), static_cast<DWORD>(m_writeBuffer.size()), &written, nullptr))
return std::basic_streambuf<Elem, Tr>::traits_type::eof();
m_writeBuffer.clear();
}
return 0;
}
_int_type overflow(_int_type c) override
{
if (c == std::basic_streambuf<Elem, Tr>::traits_type::eof())
return c;
m_writeBuffer.push_back(std::basic_streambuf<Elem, Tr>::traits_type::to_char_type(c));
if (c == '\n')
sync();
return c;
}
_int_type underflow() override
{
if (this->gptr() < this->egptr()) // buffer not exhausted
return std::basic_streambuf<Elem, Tr>::traits_type::to_int_type(*this->gptr());
Elem* base = &m_readBuffer.front();
Elem* start = base;
if (this->eback() == base) // true when this isn't the first fill
{
// Make arrangements for putback characters
std::memmove(base, this->egptr() - m_put_back, m_put_back);
start += m_put_back;
}
// start is now the start of the buffer, proper.
// Read from m_handle in to the provided buffer
DWORD read;
if (!ReadFile(m_handle, start, static_cast<DWORD>((m_readBuffer.size() - (start - base)) * sizeof(Elem)), &read, nullptr) || read == 0)
return std::basic_streambuf<Elem, Tr>::traits_type::eof();
// Set buffer pointers
this->setg(base, start, start + read / sizeof(Elem));
return std::basic_streambuf<Elem, Tr>::traits_type::to_int_type(*this->gptr());
}
private:
HANDLE m_handle;
const std::size_t m_put_back;
std::vector<Elem> m_readBuffer;
std::vector<Elem> m_writeBuffer;
};
template <class Elem, class Tr = std::char_traits<Elem>>
class basic_handlestream : public std::basic_iostream<Elem, Tr>
{
public:
explicit basic_handlestream(HANDLE handle) :
std::basic_iostream<Elem, Tr>(&m_buf),
m_buf(handle)
{
}
private:
basic_handlebuf<Elem, Tr> m_buf;
};
using hstream = basic_handlestream<char>;
using whstream = basic_handlestream<wchar_t>;
} // namespace fusion
| [
"janwilmans@gmail.com"
] | janwilmans@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.