blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
12f46d9ff3a7510812cc8a071c24821cf99f3fba | bd169aa531bdb173d60b733a87e8a5150dbe0c2a | /libraries/protocol/include/morphene/protocol/schema_types/account_name_type.hpp | 4da474b2baa95420d64e2dcbffdebaeabeaf67aa | [
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | morphene/morphene | 733b0ed1d48b9c41850c68e13ced3a1838486264 | 5620f9a8473690ff63e67b7b242a202d05f7ee86 | refs/heads/master | 2020-05-05T01:25:09.669273 | 2019-06-07T16:55:50 | 2019-06-07T16:55:50 | 179,602,584 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 836 | hpp |
#pragma once
#include <morphene/schema/abstract_schema.hpp>
#include <morphene/schema/schema_impl.hpp>
#include <morphene/protocol/types.hpp>
namespace morphene { namespace schema { namespace detail {
//////////////////////////////////////////////
// account_name_type //
//////////////////////////////////////////////
struct schema_account_name_type_impl
: public abstract_schema
{
MORPHENE_SCHEMA_CLASS_BODY( schema_account_name_type_impl )
};
}
template<>
struct schema_reflect< morphene::protocol::account_name_type >
{
typedef detail::schema_account_name_type_impl schema_impl_type;
};
} }
namespace fc {
template<>
struct get_typename< morphene::protocol::account_name_type >
{
static const char* name()
{
return "morphene::protocol::account_name_type";
}
};
}
| [
"netuoso@pobox.com"
] | netuoso@pobox.com |
7e3c8f913bdf9e3deb9cc8ca5223a7427959703e | 5efe5d092527d15401a231266504159679f6466c | /INDIGO/Cheat/Esp/Esp.h | f0f51c82480d3c8158dc1bc85f7498befcd78e6e | [
"MIT"
] | permissive | qq1091192337/SNAPSHOOK | f28bf48f862f62a189220d5f98bf379ac80c870e | 29853037a383d158bd0c522179dd9a818e676cdc | refs/heads/master | 2020-03-14T07:00:13.725506 | 2018-04-03T16:36:09 | 2018-04-03T16:36:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,291 | h | #pragma once
#include "../../Engine/Engine.h"
#include "../../SDK/Sounds.h"
#include <algorithm>
#include <Windows.h>
#include <Mmsystem.h>
#pragma comment(lib, "Winmm.lib")
#define CHECK_VALID( _v) 0
FORCEINLINE vec_t DotProduct(const Vector& a, const Vector& b)
{
CHECK_VALID(a);
CHECK_VALID(b);
return(a.x*b.x + a.y*b.y + a.z*b.z);
}
namespace Engine
{
class CBaseEntity;
class CPlayer;
}
using namespace Engine;
struct Sound_s
{
ULONGLONG dwTime;
Vector vOrigin;
};
class CSoundEsp
{
public:
//[swap_lines]
vector<Sound_s> Sound;
Color SoundColor;
CSoundEsp();
void Update();
void AddSound(Vector vOrigin);
void DrawSoundEsp();
//[/swap_lines]
};
class CEsp
{
public:
CEsp();
//[swap_lines]
CSoundEsp SoundEsp;
Color CT_HP_ColorM;
Color TT_HP_ColorM;
Color CT_AR_ColorM;
Color TT_AR_ColorM;
IMaterial* visible_flat;
IMaterial* visible_tex;
IMaterial* hidden_flat;
IMaterial* hidden_tex;
float fExplodeC4Timer;
float fC4Timer;
Color GetPlayerColor(CPlayer* pPlayer);
Color GetPlayerVisibleColor(CPlayer* pPlayer);
bool CheckPlayerTeam(CPlayer* pPlayer);
void Ambient();
void HitmarkerEvents(IGameEvent * event);
void DrawHitmarker();
void ChromeWorld();
void MinecraftMode();
void LSDMode();
void esp_offscreen();
void GrenadePrediction();
void OnRender();
void OnCreateMove(CUserCmd* pCmd);
void OnReset();
void OnEvents(IGameEvent* pEvent);
void OnDrawModelExecute(IMatRenderContext* ctx, const DrawModelState_t &state, const ModelRenderInfo_t &pInfo, matrix3x4_t *pCustomBoneToWorld = NULL);
//[/swap_lines]
private:
//[swap_lines]
void Dlight(CPlayer * pPlayer);
void DrawPlayerEsp(CPlayer* pPlayer);
void DrawPlayerSkeleton(CPlayer* pPlayer);
//void DrawPlayerBulletTrace(CPlayer* pPlayer);
//void NightMode();
void DrawHitBoxLine(Vector* vHitBoxArray, Color color);
//[/swap_lines]
};
class hitmarker
{
class player_hurt_listener : public IGameEventListener2
{
public:
void start();
void stop();
void FireGameEvent(IGameEvent * event) override;
int GetEventDebugID(void) override;
};
public:
static hitmarker* singleton()
{
static hitmarker* instance = new hitmarker;
return instance;
}
void initialize()
{
_listener.start();
}
private:
player_hurt_listener _listener;
}; | [
"snapsking19@gmail.com"
] | snapsking19@gmail.com |
d5077bc19a7a21b549aca0d1a47268b843859e18 | 774e8271f37d0f370151ee796d49f47593127130 | /Tek3/Semester5/PiscinePython/PYjour00/ConsumerParser.cpp | 3691a7acd10a17252ec6ade638fd5597c722348b | [] | no_license | GaldanM/Epitech | 9253e76e7f0659091db9d6747830f14ad1d19b77 | 6aa85081747965a1d50bbdbdae238a8a2ea8bc49 | refs/heads/master | 2021-03-30T17:20:08.304384 | 2018-01-07T10:36:00 | 2018-01-07T10:36:00 | 87,180,084 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,706 | cpp | #include "ConsumerParser.hpp"
ConsumerParser::ConsumerParser(ProducterStream &st) : _pos(0), _stream(""), _st(&st)
{}
ConsumerParser::~ConsumerParser()
{}
bool ConsumerParser::fillStream()
{
if (_pos == _stream.size())
{
try
{
_stream += _st->nextString();
}
catch (std::exception const &e)
{
throw std::exception();
}
}
if (_stream.empty())
return (false);
return (true);
}
bool ConsumerParser::readText(char *text)
{
int i = 0;
std::string str(text);
int len = str.size();
if (!fillStream())
return (false);
while (i < len)
{
if (text[i] != _stream[i])
return (false);
++i;
}
_pos += i;
return (true);
}
bool ConsumerParser::readEOF()
{
return (_stream.empty());
}
bool ConsumerParser::readUntil(char c)
{
int i = 0;
if (!fillStream())
return (false);
while (_stream[i])
{
++i;
if (_stream[_pos] == c)
{
_pos += i;
return (true);
}
}
return (false);
}
bool ConsumerParser::readUntilEOF()
{
if (!fillStream())
return (false);
_pos = _stream.size();
return (true);
}
bool ConsumerParser::readInteger()
{
int i = 0;
if (!fillStream())
return (false);
while (_stream[i])
{
if (_stream[i] < '0' || _stream[i] > '9')
return (false);
++i;
}
_pos += i;
return (true);
}
bool ConsumerParser::readIdentifier()
{
std::size_t i = 1;
if (!fillStream())
return (false);
if (_stream[_pos] <= '0' || _stream[_pos] >= '9')
{
while ((_stream[i] >= '0' && _stream[i] <= '9')
|| (_stream[i] >= 'a' && _stream[i] <= 'z')
|| (_stream[i] >= 'A' && _stream[i] <= 'Z')
|| (_stream[i] == '_'))
++i;
if (i < _stream.size())
return (false);
_pos += i;
return (true);
}
return (false);
} | [
"g.moulinneuf@outlook.fr"
] | g.moulinneuf@outlook.fr |
56e933bd68a866ace3a2223196b869f7fc62f08e | 4bdc3c2287d4d7a6226c52663ebad91486c4e453 | /Practice Exercise 13/Practice Exercise 13.cpp | 8ea0cb737ba023ea2cf3d9fb9dde7d10082a9114 | [] | no_license | rhokiotam/CMPE-50-Hw-and-Labs | 14b63bcf70f3569f4960433589f3c99a354d8b25 | 20e61f1a19ec1018d5e0fe50812e094c33e8097a | refs/heads/main | 2023-03-07T08:23:05.838734 | 2021-02-25T06:12:07 | 2021-02-25T06:12:07 | 305,579,059 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,680 | cpp | #include <iostream>
#include <string>
#include <vector>
using namespace std;
class Line
{
private:
string name;
vector<string> ticket;
public:
Line()
{
name = "NULL";
}
Line(string a)
{
name = a;
}
void taketicket(string a)
{
ticket.push_back(a);
}
void taketicket(int cut, string a)
{
ticket.push_back(ticket[ticket.size()-1]);
for (unsigned int i = ticket.size()-1; i >= cut; i--)
{
ticket[i] = ticket[i - 1];
}
ticket[cut - 1] = a;
}
void display()
{
cout << name << endl;
for (unsigned int i = 0; i < ticket.size(); i++)
{
cout << ticket[i] << " Position: " << i+1 << " ";
}
cout << endl;
}
void serve()
{
cout << "Now Serving: ";
cout << ticket[0] << endl;
for (unsigned int i = 0; i < ticket.size()-1; i++)
{
ticket[i] = ticket[i+1];
}
ticket.pop_back();
}
void serve(string a)
{
cout << "Now serving: " << a << endl;
for (unsigned int i = 0; i < ticket.size(); i++)
{
if (ticket[i] == a)
{
for (unsigned int j = i; j < ticket.size() - 1; j++)
{
ticket[j] = ticket[j + 1];
}
ticket.pop_back();
}
}
}
};
int main()
{
cout << "BTS Shops at Winco!" << endl;
Line Winco("WincoDeli");
Winco.taketicket("Junkook");
Winco.display();
Winco.taketicket("Jimin");
Winco.display();
Winco.taketicket("Jin");
Winco.display();
Winco.taketicket("V");
Winco.display();
Winco.taketicket("J-Hope");
Winco.display();
Winco.taketicket("RM");
Winco.display();
Winco.taketicket("Suga");
Winco.display();
Winco.serve();
Winco.display();
Winco.taketicket(2, "Anti-BTS Army Stan");
Winco.display();
Winco.serve();
Winco.display();
Winco.serve("RM");
Winco.display();
} | [
"rhokiotam@gmail.com"
] | rhokiotam@gmail.com |
7414e0c531909094f26d90c591d85e2dcea61922 | 60b76e96900e47c00c78e858c65df0fdef538b96 | /game/src/xmas_event.cpp | 9aab91b2d7dcffa7e24e7f0dbf8f5b7afe8c2f5c | [] | no_license | UnknownUserTM/Server | 9b19ef477639b75a3b968ac635d9a3942ed9fefd | 035e28e28fb5c5afa1206db08a365058bdfa6da8 | refs/heads/master | 2021-06-27T16:38:18.049805 | 2021-01-07T02:05:11 | 2021-01-07T02:05:11 | 202,987,474 | 1 | 0 | null | null | null | null | UHC | C++ | false | false | 4,771 | cpp | #include "stdafx.h"
#include "config.h"
#include "xmas_event.h"
#include "desc.h"
#include "desc_manager.h"
#include "sectree_manager.h"
#include "char.h"
#include "char_manager.h"
#include "questmanager.h"
namespace xmas
{
void ProcessEventFlag(const std::string& name, int prev_value, int value)
{
if (name == "xmas_snow" || name == "xmas_boom" || name == "xmas_song" || name == "xmas_tree")
{
// 뿌려준다
const DESC_MANAGER::DESC_SET & c_ref_set = DESC_MANAGER::instance().GetClientSet();
for (itertype(c_ref_set) it = c_ref_set.begin(); it != c_ref_set.end(); ++it)
{
LPCHARACTER ch = (*it)->GetCharacter();
if (!ch)
continue;
ch->ChatPacket(CHAT_TYPE_COMMAND, "%s %d", name.c_str(), value);
}
if (name == "xmas_boom")
{
if (value && !prev_value)
{
SpawnEventHelper(false);
}
else if (!value && prev_value)
{
SpawnEventHelper(false);
}
}
else if (name == "xmas_tree")
{
if (value > 0 && prev_value == 0)
{
CharacterVectorInteractor i;
// 없으면 만들어준다
if (!CHARACTER_MANAGER::instance().GetCharactersByRaceNum(MOB_XMAS_TREE_VNUM, i))
CHARACTER_MANAGER::instance().SpawnMob(MOB_XMAS_TREE_VNUM, 61, 76500 + 358400, 60900 + 153600, 0, false, -1);
}
else if (prev_value > 0 && value == 0)
{
// 있으면 지워준다
CharacterVectorInteractor i;
if (CHARACTER_MANAGER::instance().GetCharactersByRaceNum(MOB_XMAS_TREE_VNUM, i))
{
CharacterVectorInteractor::iterator it = i.begin();
while (it != i.end())
M2_DESTROY_CHARACTER(*it++);
}
}
}
}
else if (name == "xmas_santa")
{
switch (value)
{
case 0:
// 있으면 지우는 코드
{
CharacterVectorInteractor i;
if (CHARACTER_MANAGER::instance().GetCharactersByRaceNum(MOB_SANTA_VNUM, i))
{
CharacterVectorInteractor::iterator it = i.begin();
while (it != i.end())
M2_DESTROY_CHARACTER(*it++);
}
}
break;
case 1:
// 내가 서한산이면 산타 없으면 만들고 상태를 2로 만든다.
if (map_allow_find(61))
{
quest::CQuestManager::instance().RequestSetEventFlag("xmas_santa", 2);
CharacterVectorInteractor i;
if (CHARACTER_MANAGER::instance().GetCharactersByRaceNum(MOB_SANTA_VNUM, i))
CHARACTER_MANAGER::instance().SpawnMobRandomPosition(MOB_SANTA_VNUM, 61);
}
break;
case 2:
break;
}
}
}
EVENTINFO(spawn_santa_info)
{
long lMapIndex;
spawn_santa_info()
: lMapIndex( 0 )
{
}
};
EVENTFUNC(spawn_santa_event)
{
spawn_santa_info* info = dynamic_cast<spawn_santa_info*>( event->info );
if ( info == NULL )
{
sys_err( "spawn_santa_event> <Factor> Null pointer" );
return 0;
}
long lMapIndex = info->lMapIndex;
if (quest::CQuestManager::instance().GetEventFlag("xmas_santa") == 0)
return 0;
CharacterVectorInteractor i;
if (CHARACTER_MANAGER::instance().GetCharactersByRaceNum(MOB_SANTA_VNUM, i))
return 0;
if (CHARACTER_MANAGER::instance().SpawnMobRandomPosition(xmas::MOB_SANTA_VNUM, lMapIndex))
{
sys_log(0, "santa comes to town!");
return 0;
}
return PASSES_PER_SEC(5);
}
void SpawnSanta(long lMapIndex, int iTimeGapSec)
{
if (test_server)
{
iTimeGapSec /= 60;
}
sys_log(0, "santa respawn time = %d", iTimeGapSec);
spawn_santa_info* info = AllocEventInfo<spawn_santa_info>();
info->lMapIndex = lMapIndex;
event_create(spawn_santa_event, info, PASSES_PER_SEC(iTimeGapSec));
}
void SpawnEventHelper(bool spawn)
{
if ( spawn == true )
{
// 없으면 만들어준다
struct SNPCSellFireworkPosition
{
long lMapIndex;
int x;
int y;
} positions[] = {
{ 1, 615, 618 },
{ 3, 500, 625 },
{ 21, 598, 665 },
{ 23, 476, 360 },
{ 41, 318, 629 },
{ 43, 478, 375 },
{ 0, 0, 0 },
};
SNPCSellFireworkPosition* p = positions;
while (p->lMapIndex)
{
if (map_allow_find(p->lMapIndex))
{
PIXEL_POSITION posBase;
if (!SECTREE_MANAGER::instance().GetMapBasePositionByMapIndex(p->lMapIndex, posBase))
{
sys_err("cannot get map base position %d", p->lMapIndex);
p++;
continue;
}
CHARACTER_MANAGER::instance().SpawnMob(
MOB_XMAS_FIRWORK_SELLER_VNUM, p->lMapIndex, posBase.x + p->x * 100, posBase.y + p->y * 100, 0, false, -1);
}
p++;
}
}
else
{
CharacterVectorInteractor i;
// 있으면 지워준다
if (CHARACTER_MANAGER::instance().GetCharactersByRaceNum(MOB_XMAS_FIRWORK_SELLER_VNUM, i))
{
CharacterVectorInteractor::iterator it = i.begin();
while (it != i.end())
M2_DESTROY_CHARACTER(*it++);
}
}
}
}
| [
"schindeleandre@gmail"
] | schindeleandre@gmail |
9dded886233fa96852f3cfa2b12c0d4823b2efde | 38f218fa9e6cc3bd79b7d8e5dfe13c524ca2dd5e | /src/plugins/thirdParty/LLVM/tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp | ea87f9657b56a4382a54b2cc982c0c212ae98c53 | [
"Apache-2.0"
] | permissive | Fairly/opencor | 5de6bde564a1143808e600b7c76948bf246d3ef1 | 7ac310f68b1d6b5a409bfe868c18a0b232ba1715 | refs/heads/master | 2021-01-17T02:39:49.097302 | 2015-09-04T09:51:48 | 2015-09-04T09:51:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 34,551 | cpp | //===- Calls.cpp - Wrapper for all function and method calls ------*- C++ -*--//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
/// \file This file defines CallEvent and its subclasses, which represent path-
/// sensitive instances of different kinds of function and method calls
/// (C, C++, and Objective-C).
//
//===----------------------------------------------------------------------===//
#include "clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h"
#include "clang/AST/ParentMap.h"
#include "clang/Analysis/ProgramPoint.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h"
#include "llvm/ADT/SmallSet.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/raw_ostream.h"
using namespace clang;
using namespace ento;
QualType CallEvent::getResultType() const {
const Expr *E = getOriginExpr();
assert(E && "Calls without origin expressions do not have results");
QualType ResultTy = E->getType();
ASTContext &Ctx = getState()->getStateManager().getContext();
// A function that returns a reference to 'int' will have a result type
// of simply 'int'. Check the origin expr's value kind to recover the
// proper type.
switch (E->getValueKind()) {
case VK_LValue:
ResultTy = Ctx.getLValueReferenceType(ResultTy);
break;
case VK_XValue:
ResultTy = Ctx.getRValueReferenceType(ResultTy);
break;
case VK_RValue:
// No adjustment is necessary.
break;
}
return ResultTy;
}
static bool isCallbackArg(SVal V, QualType T) {
// If the parameter is 0, it's harmless.
if (V.isZeroConstant())
return false;
// If a parameter is a block or a callback, assume it can modify pointer.
if (T->isBlockPointerType() ||
T->isFunctionPointerType() ||
T->isObjCSelType())
return true;
// Check if a callback is passed inside a struct (for both, struct passed by
// reference and by value). Dig just one level into the struct for now.
if (T->isAnyPointerType() || T->isReferenceType())
T = T->getPointeeType();
if (const RecordType *RT = T->getAsStructureType()) {
const RecordDecl *RD = RT->getDecl();
for (const auto *I : RD->fields()) {
QualType FieldT = I->getType();
if (FieldT->isBlockPointerType() || FieldT->isFunctionPointerType())
return true;
}
}
return false;
}
bool CallEvent::hasNonZeroCallbackArg() const {
unsigned NumOfArgs = getNumArgs();
// If calling using a function pointer, assume the function does not
// have a callback. TODO: We could check the types of the arguments here.
if (!getDecl())
return false;
unsigned Idx = 0;
for (CallEvent::param_type_iterator I = param_type_begin(),
E = param_type_end();
I != E && Idx < NumOfArgs; ++I, ++Idx) {
if (NumOfArgs <= Idx)
break;
if (isCallbackArg(getArgSVal(Idx), *I))
return true;
}
return false;
}
bool CallEvent::isGlobalCFunction(StringRef FunctionName) const {
const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(getDecl());
if (!FD)
return false;
return CheckerContext::isCLibraryFunction(FD, FunctionName);
}
/// \brief Returns true if a type is a pointer-to-const or reference-to-const
/// with no further indirection.
static bool isPointerToConst(QualType Ty) {
QualType PointeeTy = Ty->getPointeeType();
if (PointeeTy == QualType())
return false;
if (!PointeeTy.isConstQualified())
return false;
if (PointeeTy->isAnyPointerType())
return false;
return true;
}
// Try to retrieve the function declaration and find the function parameter
// types which are pointers/references to a non-pointer const.
// We will not invalidate the corresponding argument regions.
static void findPtrToConstParams(llvm::SmallSet<unsigned, 4> &PreserveArgs,
const CallEvent &Call) {
unsigned Idx = 0;
for (CallEvent::param_type_iterator I = Call.param_type_begin(),
E = Call.param_type_end();
I != E; ++I, ++Idx) {
if (isPointerToConst(*I))
PreserveArgs.insert(Idx);
}
}
ProgramStateRef CallEvent::invalidateRegions(unsigned BlockCount,
ProgramStateRef Orig) const {
ProgramStateRef Result = (Orig ? Orig : getState());
// Don't invalidate anything if the callee is marked pure/const.
if (const Decl *callee = getDecl())
if (callee->hasAttr<PureAttr>() || callee->hasAttr<ConstAttr>())
return Result;
SmallVector<SVal, 8> ValuesToInvalidate;
RegionAndSymbolInvalidationTraits ETraits;
getExtraInvalidatedValues(ValuesToInvalidate);
// Indexes of arguments whose values will be preserved by the call.
llvm::SmallSet<unsigned, 4> PreserveArgs;
if (!argumentsMayEscape())
findPtrToConstParams(PreserveArgs, *this);
for (unsigned Idx = 0, Count = getNumArgs(); Idx != Count; ++Idx) {
// Mark this region for invalidation. We batch invalidate regions
// below for efficiency.
if (PreserveArgs.count(Idx))
if (const MemRegion *MR = getArgSVal(Idx).getAsRegion())
ETraits.setTrait(MR->StripCasts(),
RegionAndSymbolInvalidationTraits::TK_PreserveContents);
// TODO: Factor this out + handle the lower level const pointers.
ValuesToInvalidate.push_back(getArgSVal(Idx));
}
// Invalidate designated regions using the batch invalidation API.
// NOTE: Even if RegionsToInvalidate is empty, we may still invalidate
// global variables.
return Result->invalidateRegions(ValuesToInvalidate, getOriginExpr(),
BlockCount, getLocationContext(),
/*CausedByPointerEscape*/ true,
/*Symbols=*/nullptr, this, &ETraits);
}
ProgramPoint CallEvent::getProgramPoint(bool IsPreVisit,
const ProgramPointTag *Tag) const {
if (const Expr *E = getOriginExpr()) {
if (IsPreVisit)
return PreStmt(E, getLocationContext(), Tag);
return PostStmt(E, getLocationContext(), Tag);
}
const Decl *D = getDecl();
assert(D && "Cannot get a program point without a statement or decl");
SourceLocation Loc = getSourceRange().getBegin();
if (IsPreVisit)
return PreImplicitCall(D, Loc, getLocationContext(), Tag);
return PostImplicitCall(D, Loc, getLocationContext(), Tag);
}
SVal CallEvent::getArgSVal(unsigned Index) const {
const Expr *ArgE = getArgExpr(Index);
if (!ArgE)
return UnknownVal();
return getSVal(ArgE);
}
SourceRange CallEvent::getArgSourceRange(unsigned Index) const {
const Expr *ArgE = getArgExpr(Index);
if (!ArgE)
return SourceRange();
return ArgE->getSourceRange();
}
SVal CallEvent::getReturnValue() const {
const Expr *E = getOriginExpr();
if (!E)
return UndefinedVal();
return getSVal(E);
}
LLVM_DUMP_METHOD void CallEvent::dump() const { dump(llvm::errs()); }
void CallEvent::dump(raw_ostream &Out) const {
ASTContext &Ctx = getState()->getStateManager().getContext();
if (const Expr *E = getOriginExpr()) {
E->printPretty(Out, nullptr, Ctx.getPrintingPolicy());
Out << "\n";
return;
}
if (const Decl *D = getDecl()) {
Out << "Call to ";
D->print(Out, Ctx.getPrintingPolicy());
return;
}
// FIXME: a string representation of the kind would be nice.
Out << "Unknown call (type " << getKind() << ")";
}
bool CallEvent::isCallStmt(const Stmt *S) {
return isa<CallExpr>(S) || isa<ObjCMessageExpr>(S)
|| isa<CXXConstructExpr>(S)
|| isa<CXXNewExpr>(S);
}
QualType CallEvent::getDeclaredResultType(const Decl *D) {
assert(D);
if (const FunctionDecl* FD = dyn_cast<FunctionDecl>(D))
return FD->getReturnType();
if (const ObjCMethodDecl* MD = dyn_cast<ObjCMethodDecl>(D))
return MD->getReturnType();
if (const BlockDecl *BD = dyn_cast<BlockDecl>(D)) {
// Blocks are difficult because the return type may not be stored in the
// BlockDecl itself. The AST should probably be enhanced, but for now we
// just do what we can.
// If the block is declared without an explicit argument list, the
// signature-as-written just includes the return type, not the entire
// function type.
// FIXME: All blocks should have signatures-as-written, even if the return
// type is inferred. (That's signified with a dependent result type.)
if (const TypeSourceInfo *TSI = BD->getSignatureAsWritten()) {
QualType Ty = TSI->getType();
if (const FunctionType *FT = Ty->getAs<FunctionType>())
Ty = FT->getReturnType();
if (!Ty->isDependentType())
return Ty;
}
return QualType();
}
llvm_unreachable("unknown callable kind");
}
bool CallEvent::isVariadic(const Decl *D) {
assert(D);
if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D))
return FD->isVariadic();
if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(D))
return MD->isVariadic();
if (const BlockDecl *BD = dyn_cast<BlockDecl>(D))
return BD->isVariadic();
llvm_unreachable("unknown callable kind");
}
static void addParameterValuesToBindings(const StackFrameContext *CalleeCtx,
CallEvent::BindingsTy &Bindings,
SValBuilder &SVB,
const CallEvent &Call,
ArrayRef<ParmVarDecl*> parameters) {
MemRegionManager &MRMgr = SVB.getRegionManager();
// If the function has fewer parameters than the call has arguments, we simply
// do not bind any values to them.
unsigned NumArgs = Call.getNumArgs();
unsigned Idx = 0;
ArrayRef<ParmVarDecl*>::iterator I = parameters.begin(), E = parameters.end();
for (; I != E && Idx < NumArgs; ++I, ++Idx) {
const ParmVarDecl *ParamDecl = *I;
assert(ParamDecl && "Formal parameter has no decl?");
SVal ArgVal = Call.getArgSVal(Idx);
if (!ArgVal.isUnknown()) {
Loc ParamLoc = SVB.makeLoc(MRMgr.getVarRegion(ParamDecl, CalleeCtx));
Bindings.push_back(std::make_pair(ParamLoc, ArgVal));
}
}
// FIXME: Variadic arguments are not handled at all right now.
}
ArrayRef<ParmVarDecl*> AnyFunctionCall::parameters() const {
const FunctionDecl *D = getDecl();
if (!D)
return None;
return D->parameters();
}
void AnyFunctionCall::getInitialStackFrameContents(
const StackFrameContext *CalleeCtx,
BindingsTy &Bindings) const {
const FunctionDecl *D = cast<FunctionDecl>(CalleeCtx->getDecl());
SValBuilder &SVB = getState()->getStateManager().getSValBuilder();
addParameterValuesToBindings(CalleeCtx, Bindings, SVB, *this,
D->parameters());
}
bool AnyFunctionCall::argumentsMayEscape() const {
if (hasNonZeroCallbackArg())
return true;
const FunctionDecl *D = getDecl();
if (!D)
return true;
const IdentifierInfo *II = D->getIdentifier();
if (!II)
return false;
// This set of "escaping" APIs is
// - 'int pthread_setspecific(ptheread_key k, const void *)' stores a
// value into thread local storage. The value can later be retrieved with
// 'void *ptheread_getspecific(pthread_key)'. So even thought the
// parameter is 'const void *', the region escapes through the call.
if (II->isStr("pthread_setspecific"))
return true;
// - xpc_connection_set_context stores a value which can be retrieved later
// with xpc_connection_get_context.
if (II->isStr("xpc_connection_set_context"))
return true;
// - funopen - sets a buffer for future IO calls.
if (II->isStr("funopen"))
return true;
StringRef FName = II->getName();
// - CoreFoundation functions that end with "NoCopy" can free a passed-in
// buffer even if it is const.
if (FName.endswith("NoCopy"))
return true;
// - NSXXInsertXX, for example NSMapInsertIfAbsent, since they can
// be deallocated by NSMapRemove.
if (FName.startswith("NS") && (FName.find("Insert") != StringRef::npos))
return true;
// - Many CF containers allow objects to escape through custom
// allocators/deallocators upon container construction. (PR12101)
if (FName.startswith("CF") || FName.startswith("CG")) {
return StrInStrNoCase(FName, "InsertValue") != StringRef::npos ||
StrInStrNoCase(FName, "AddValue") != StringRef::npos ||
StrInStrNoCase(FName, "SetValue") != StringRef::npos ||
StrInStrNoCase(FName, "WithData") != StringRef::npos ||
StrInStrNoCase(FName, "AppendValue") != StringRef::npos ||
StrInStrNoCase(FName, "SetAttribute") != StringRef::npos;
}
return false;
}
const FunctionDecl *SimpleFunctionCall::getDecl() const {
const FunctionDecl *D = getOriginExpr()->getDirectCallee();
if (D)
return D;
return getSVal(getOriginExpr()->getCallee()).getAsFunctionDecl();
}
const FunctionDecl *CXXInstanceCall::getDecl() const {
const CallExpr *CE = cast_or_null<CallExpr>(getOriginExpr());
if (!CE)
return AnyFunctionCall::getDecl();
const FunctionDecl *D = CE->getDirectCallee();
if (D)
return D;
return getSVal(CE->getCallee()).getAsFunctionDecl();
}
void CXXInstanceCall::getExtraInvalidatedValues(ValueList &Values) const {
Values.push_back(getCXXThisVal());
}
SVal CXXInstanceCall::getCXXThisVal() const {
const Expr *Base = getCXXThisExpr();
// FIXME: This doesn't handle an overloaded ->* operator.
if (!Base)
return UnknownVal();
SVal ThisVal = getSVal(Base);
assert(ThisVal.isUnknownOrUndef() || ThisVal.getAs<Loc>());
return ThisVal;
}
RuntimeDefinition CXXInstanceCall::getRuntimeDefinition() const {
// Do we have a decl at all?
const Decl *D = getDecl();
if (!D)
return RuntimeDefinition();
// If the method is non-virtual, we know we can inline it.
const CXXMethodDecl *MD = cast<CXXMethodDecl>(D);
if (!MD->isVirtual())
return AnyFunctionCall::getRuntimeDefinition();
// Do we know the implicit 'this' object being called?
const MemRegion *R = getCXXThisVal().getAsRegion();
if (!R)
return RuntimeDefinition();
// Do we know anything about the type of 'this'?
DynamicTypeInfo DynType = getState()->getDynamicTypeInfo(R);
if (!DynType.isValid())
return RuntimeDefinition();
// Is the type a C++ class? (This is mostly a defensive check.)
QualType RegionType = DynType.getType()->getPointeeType();
assert(!RegionType.isNull() && "DynamicTypeInfo should always be a pointer.");
const CXXRecordDecl *RD = RegionType->getAsCXXRecordDecl();
if (!RD || !RD->hasDefinition())
return RuntimeDefinition();
// Find the decl for this method in that class.
const CXXMethodDecl *Result = MD->getCorrespondingMethodInClass(RD, true);
if (!Result) {
// We might not even get the original statically-resolved method due to
// some particularly nasty casting (e.g. casts to sister classes).
// However, we should at least be able to search up and down our own class
// hierarchy, and some real bugs have been caught by checking this.
assert(!RD->isDerivedFrom(MD->getParent()) && "Couldn't find known method");
// FIXME: This is checking that our DynamicTypeInfo is at least as good as
// the static type. However, because we currently don't update
// DynamicTypeInfo when an object is cast, we can't actually be sure the
// DynamicTypeInfo is up to date. This assert should be re-enabled once
// this is fixed. <rdar://problem/12287087>
//assert(!MD->getParent()->isDerivedFrom(RD) && "Bad DynamicTypeInfo");
return RuntimeDefinition();
}
// Does the decl that we found have an implementation?
const FunctionDecl *Definition;
if (!Result->hasBody(Definition))
return RuntimeDefinition();
// We found a definition. If we're not sure that this devirtualization is
// actually what will happen at runtime, make sure to provide the region so
// that ExprEngine can decide what to do with it.
if (DynType.canBeASubClass())
return RuntimeDefinition(Definition, R->StripCasts());
return RuntimeDefinition(Definition, /*DispatchRegion=*/nullptr);
}
void CXXInstanceCall::getInitialStackFrameContents(
const StackFrameContext *CalleeCtx,
BindingsTy &Bindings) const {
AnyFunctionCall::getInitialStackFrameContents(CalleeCtx, Bindings);
// Handle the binding of 'this' in the new stack frame.
SVal ThisVal = getCXXThisVal();
if (!ThisVal.isUnknown()) {
ProgramStateManager &StateMgr = getState()->getStateManager();
SValBuilder &SVB = StateMgr.getSValBuilder();
const CXXMethodDecl *MD = cast<CXXMethodDecl>(CalleeCtx->getDecl());
Loc ThisLoc = SVB.getCXXThis(MD, CalleeCtx);
// If we devirtualized to a different member function, we need to make sure
// we have the proper layering of CXXBaseObjectRegions.
if (MD->getCanonicalDecl() != getDecl()->getCanonicalDecl()) {
ASTContext &Ctx = SVB.getContext();
const CXXRecordDecl *Class = MD->getParent();
QualType Ty = Ctx.getPointerType(Ctx.getRecordType(Class));
// FIXME: CallEvent maybe shouldn't be directly accessing StoreManager.
bool Failed;
ThisVal = StateMgr.getStoreManager().evalDynamicCast(ThisVal, Ty, Failed);
assert(!Failed && "Calling an incorrectly devirtualized method");
}
if (!ThisVal.isUnknown())
Bindings.push_back(std::make_pair(ThisLoc, ThisVal));
}
}
const Expr *CXXMemberCall::getCXXThisExpr() const {
return getOriginExpr()->getImplicitObjectArgument();
}
RuntimeDefinition CXXMemberCall::getRuntimeDefinition() const {
// C++11 [expr.call]p1: ...If the selected function is non-virtual, or if the
// id-expression in the class member access expression is a qualified-id,
// that function is called. Otherwise, its final overrider in the dynamic type
// of the object expression is called.
if (const MemberExpr *ME = dyn_cast<MemberExpr>(getOriginExpr()->getCallee()))
if (ME->hasQualifier())
return AnyFunctionCall::getRuntimeDefinition();
return CXXInstanceCall::getRuntimeDefinition();
}
const Expr *CXXMemberOperatorCall::getCXXThisExpr() const {
return getOriginExpr()->getArg(0);
}
const BlockDataRegion *BlockCall::getBlockRegion() const {
const Expr *Callee = getOriginExpr()->getCallee();
const MemRegion *DataReg = getSVal(Callee).getAsRegion();
return dyn_cast_or_null<BlockDataRegion>(DataReg);
}
ArrayRef<ParmVarDecl*> BlockCall::parameters() const {
const BlockDecl *D = getDecl();
if (!D)
return nullptr;
return D->parameters();
}
void BlockCall::getExtraInvalidatedValues(ValueList &Values) const {
// FIXME: This also needs to invalidate captured globals.
if (const MemRegion *R = getBlockRegion())
Values.push_back(loc::MemRegionVal(R));
}
void BlockCall::getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
BindingsTy &Bindings) const {
const BlockDecl *D = cast<BlockDecl>(CalleeCtx->getDecl());
SValBuilder &SVB = getState()->getStateManager().getSValBuilder();
addParameterValuesToBindings(CalleeCtx, Bindings, SVB, *this,
D->parameters());
}
SVal CXXConstructorCall::getCXXThisVal() const {
if (Data)
return loc::MemRegionVal(static_cast<const MemRegion *>(Data));
return UnknownVal();
}
void CXXConstructorCall::getExtraInvalidatedValues(ValueList &Values) const {
if (Data)
Values.push_back(loc::MemRegionVal(static_cast<const MemRegion *>(Data)));
}
void CXXConstructorCall::getInitialStackFrameContents(
const StackFrameContext *CalleeCtx,
BindingsTy &Bindings) const {
AnyFunctionCall::getInitialStackFrameContents(CalleeCtx, Bindings);
SVal ThisVal = getCXXThisVal();
if (!ThisVal.isUnknown()) {
SValBuilder &SVB = getState()->getStateManager().getSValBuilder();
const CXXMethodDecl *MD = cast<CXXMethodDecl>(CalleeCtx->getDecl());
Loc ThisLoc = SVB.getCXXThis(MD, CalleeCtx);
Bindings.push_back(std::make_pair(ThisLoc, ThisVal));
}
}
SVal CXXDestructorCall::getCXXThisVal() const {
if (Data)
return loc::MemRegionVal(DtorDataTy::getFromOpaqueValue(Data).getPointer());
return UnknownVal();
}
RuntimeDefinition CXXDestructorCall::getRuntimeDefinition() const {
// Base destructors are always called non-virtually.
// Skip CXXInstanceCall's devirtualization logic in this case.
if (isBaseDestructor())
return AnyFunctionCall::getRuntimeDefinition();
return CXXInstanceCall::getRuntimeDefinition();
}
ArrayRef<ParmVarDecl*> ObjCMethodCall::parameters() const {
const ObjCMethodDecl *D = getDecl();
if (!D)
return None;
return D->parameters();
}
void
ObjCMethodCall::getExtraInvalidatedValues(ValueList &Values) const {
Values.push_back(getReceiverSVal());
}
SVal ObjCMethodCall::getSelfSVal() const {
const LocationContext *LCtx = getLocationContext();
const ImplicitParamDecl *SelfDecl = LCtx->getSelfDecl();
if (!SelfDecl)
return SVal();
return getState()->getSVal(getState()->getRegion(SelfDecl, LCtx));
}
SVal ObjCMethodCall::getReceiverSVal() const {
// FIXME: Is this the best way to handle class receivers?
if (!isInstanceMessage())
return UnknownVal();
if (const Expr *RecE = getOriginExpr()->getInstanceReceiver())
return getSVal(RecE);
// An instance message with no expression means we are sending to super.
// In this case the object reference is the same as 'self'.
assert(getOriginExpr()->getReceiverKind() == ObjCMessageExpr::SuperInstance);
SVal SelfVal = getSelfSVal();
assert(SelfVal.isValid() && "Calling super but not in ObjC method");
return SelfVal;
}
bool ObjCMethodCall::isReceiverSelfOrSuper() const {
if (getOriginExpr()->getReceiverKind() == ObjCMessageExpr::SuperInstance ||
getOriginExpr()->getReceiverKind() == ObjCMessageExpr::SuperClass)
return true;
if (!isInstanceMessage())
return false;
SVal RecVal = getSVal(getOriginExpr()->getInstanceReceiver());
return (RecVal == getSelfSVal());
}
SourceRange ObjCMethodCall::getSourceRange() const {
switch (getMessageKind()) {
case OCM_Message:
return getOriginExpr()->getSourceRange();
case OCM_PropertyAccess:
case OCM_Subscript:
return getContainingPseudoObjectExpr()->getSourceRange();
}
llvm_unreachable("unknown message kind");
}
typedef llvm::PointerIntPair<const PseudoObjectExpr *, 2> ObjCMessageDataTy;
const PseudoObjectExpr *ObjCMethodCall::getContainingPseudoObjectExpr() const {
assert(Data && "Lazy lookup not yet performed.");
assert(getMessageKind() != OCM_Message && "Explicit message send.");
return ObjCMessageDataTy::getFromOpaqueValue(Data).getPointer();
}
ObjCMessageKind ObjCMethodCall::getMessageKind() const {
if (!Data) {
// Find the parent, ignoring implicit casts.
ParentMap &PM = getLocationContext()->getParentMap();
const Stmt *S = PM.getParentIgnoreParenCasts(getOriginExpr());
// Check if parent is a PseudoObjectExpr.
if (const PseudoObjectExpr *POE = dyn_cast_or_null<PseudoObjectExpr>(S)) {
const Expr *Syntactic = POE->getSyntacticForm();
// This handles the funny case of assigning to the result of a getter.
// This can happen if the getter returns a non-const reference.
if (const BinaryOperator *BO = dyn_cast<BinaryOperator>(Syntactic))
Syntactic = BO->getLHS();
ObjCMessageKind K;
switch (Syntactic->getStmtClass()) {
case Stmt::ObjCPropertyRefExprClass:
K = OCM_PropertyAccess;
break;
case Stmt::ObjCSubscriptRefExprClass:
K = OCM_Subscript;
break;
default:
// FIXME: Can this ever happen?
K = OCM_Message;
break;
}
if (K != OCM_Message) {
const_cast<ObjCMethodCall *>(this)->Data
= ObjCMessageDataTy(POE, K).getOpaqueValue();
assert(getMessageKind() == K);
return K;
}
}
const_cast<ObjCMethodCall *>(this)->Data
= ObjCMessageDataTy(nullptr, 1).getOpaqueValue();
assert(getMessageKind() == OCM_Message);
return OCM_Message;
}
ObjCMessageDataTy Info = ObjCMessageDataTy::getFromOpaqueValue(Data);
if (!Info.getPointer())
return OCM_Message;
return static_cast<ObjCMessageKind>(Info.getInt());
}
bool ObjCMethodCall::canBeOverridenInSubclass(ObjCInterfaceDecl *IDecl,
Selector Sel) const {
assert(IDecl);
const SourceManager &SM =
getState()->getStateManager().getContext().getSourceManager();
// If the class interface is declared inside the main file, assume it is not
// subcassed.
// TODO: It could actually be subclassed if the subclass is private as well.
// This is probably very rare.
SourceLocation InterfLoc = IDecl->getEndOfDefinitionLoc();
if (InterfLoc.isValid() && SM.isInMainFile(InterfLoc))
return false;
// Assume that property accessors are not overridden.
if (getMessageKind() == OCM_PropertyAccess)
return false;
// We assume that if the method is public (declared outside of main file) or
// has a parent which publicly declares the method, the method could be
// overridden in a subclass.
// Find the first declaration in the class hierarchy that declares
// the selector.
ObjCMethodDecl *D = nullptr;
while (true) {
D = IDecl->lookupMethod(Sel, true);
// Cannot find a public definition.
if (!D)
return false;
// If outside the main file,
if (D->getLocation().isValid() && !SM.isInMainFile(D->getLocation()))
return true;
if (D->isOverriding()) {
// Search in the superclass on the next iteration.
IDecl = D->getClassInterface();
if (!IDecl)
return false;
IDecl = IDecl->getSuperClass();
if (!IDecl)
return false;
continue;
}
return false;
};
llvm_unreachable("The while loop should always terminate.");
}
RuntimeDefinition ObjCMethodCall::getRuntimeDefinition() const {
const ObjCMessageExpr *E = getOriginExpr();
assert(E);
Selector Sel = E->getSelector();
if (E->isInstanceMessage()) {
// Find the the receiver type.
const ObjCObjectPointerType *ReceiverT = nullptr;
bool CanBeSubClassed = false;
QualType SupersType = E->getSuperType();
const MemRegion *Receiver = nullptr;
if (!SupersType.isNull()) {
// Super always means the type of immediate predecessor to the method
// where the call occurs.
ReceiverT = cast<ObjCObjectPointerType>(SupersType);
} else {
Receiver = getReceiverSVal().getAsRegion();
if (!Receiver)
return RuntimeDefinition();
DynamicTypeInfo DTI = getState()->getDynamicTypeInfo(Receiver);
QualType DynType = DTI.getType();
CanBeSubClassed = DTI.canBeASubClass();
ReceiverT = dyn_cast<ObjCObjectPointerType>(DynType);
if (ReceiverT && CanBeSubClassed)
if (ObjCInterfaceDecl *IDecl = ReceiverT->getInterfaceDecl())
if (!canBeOverridenInSubclass(IDecl, Sel))
CanBeSubClassed = false;
}
// Lookup the method implementation.
if (ReceiverT)
if (ObjCInterfaceDecl *IDecl = ReceiverT->getInterfaceDecl()) {
// Repeatedly calling lookupPrivateMethod() is expensive, especially
// when in many cases it returns null. We cache the results so
// that repeated queries on the same ObjCIntefaceDecl and Selector
// don't incur the same cost. On some test cases, we can see the
// same query being issued thousands of times.
//
// NOTE: This cache is essentially a "global" variable, but it
// only gets lazily created when we get here. The value of the
// cache probably comes from it being global across ExprEngines,
// where the same queries may get issued. If we are worried about
// concurrency, or possibly loading/unloading ASTs, etc., we may
// need to revisit this someday. In terms of memory, this table
// stays around until clang quits, which also may be bad if we
// need to release memory.
typedef std::pair<const ObjCInterfaceDecl*, Selector>
PrivateMethodKey;
typedef llvm::DenseMap<PrivateMethodKey,
Optional<const ObjCMethodDecl *> >
PrivateMethodCache;
static PrivateMethodCache PMC;
Optional<const ObjCMethodDecl *> &Val = PMC[std::make_pair(IDecl, Sel)];
// Query lookupPrivateMethod() if the cache does not hit.
if (!Val.hasValue()) {
Val = IDecl->lookupPrivateMethod(Sel);
// If the method is a property accessor, we should try to "inline" it
// even if we don't actually have an implementation.
if (!*Val)
if (const ObjCMethodDecl *CompileTimeMD = E->getMethodDecl())
if (CompileTimeMD->isPropertyAccessor())
Val = IDecl->lookupInstanceMethod(Sel);
}
const ObjCMethodDecl *MD = Val.getValue();
if (CanBeSubClassed)
return RuntimeDefinition(MD, Receiver);
else
return RuntimeDefinition(MD, nullptr);
}
} else {
// This is a class method.
// If we have type info for the receiver class, we are calling via
// class name.
if (ObjCInterfaceDecl *IDecl = E->getReceiverInterface()) {
// Find/Return the method implementation.
return RuntimeDefinition(IDecl->lookupPrivateClassMethod(Sel));
}
}
return RuntimeDefinition();
}
bool ObjCMethodCall::argumentsMayEscape() const {
if (isInSystemHeader() && !isInstanceMessage()) {
Selector Sel = getSelector();
if (Sel.getNumArgs() == 1 &&
Sel.getIdentifierInfoForSlot(0)->isStr("valueWithPointer"))
return true;
}
return CallEvent::argumentsMayEscape();
}
void ObjCMethodCall::getInitialStackFrameContents(
const StackFrameContext *CalleeCtx,
BindingsTy &Bindings) const {
const ObjCMethodDecl *D = cast<ObjCMethodDecl>(CalleeCtx->getDecl());
SValBuilder &SVB = getState()->getStateManager().getSValBuilder();
addParameterValuesToBindings(CalleeCtx, Bindings, SVB, *this,
D->parameters());
SVal SelfVal = getReceiverSVal();
if (!SelfVal.isUnknown()) {
const VarDecl *SelfD = CalleeCtx->getAnalysisDeclContext()->getSelfDecl();
MemRegionManager &MRMgr = SVB.getRegionManager();
Loc SelfLoc = SVB.makeLoc(MRMgr.getVarRegion(SelfD, CalleeCtx));
Bindings.push_back(std::make_pair(SelfLoc, SelfVal));
}
}
CallEventRef<>
CallEventManager::getSimpleCall(const CallExpr *CE, ProgramStateRef State,
const LocationContext *LCtx) {
if (const CXXMemberCallExpr *MCE = dyn_cast<CXXMemberCallExpr>(CE))
return create<CXXMemberCall>(MCE, State, LCtx);
if (const CXXOperatorCallExpr *OpCE = dyn_cast<CXXOperatorCallExpr>(CE)) {
const FunctionDecl *DirectCallee = OpCE->getDirectCallee();
if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(DirectCallee))
if (MD->isInstance())
return create<CXXMemberOperatorCall>(OpCE, State, LCtx);
} else if (CE->getCallee()->getType()->isBlockPointerType()) {
return create<BlockCall>(CE, State, LCtx);
}
// Otherwise, it's a normal function call, static member function call, or
// something we can't reason about.
return create<SimpleFunctionCall>(CE, State, LCtx);
}
CallEventRef<>
CallEventManager::getCaller(const StackFrameContext *CalleeCtx,
ProgramStateRef State) {
const LocationContext *ParentCtx = CalleeCtx->getParent();
const LocationContext *CallerCtx = ParentCtx->getCurrentStackFrame();
assert(CallerCtx && "This should not be used for top-level stack frames");
const Stmt *CallSite = CalleeCtx->getCallSite();
if (CallSite) {
if (const CallExpr *CE = dyn_cast<CallExpr>(CallSite))
return getSimpleCall(CE, State, CallerCtx);
switch (CallSite->getStmtClass()) {
case Stmt::CXXConstructExprClass:
case Stmt::CXXTemporaryObjectExprClass: {
SValBuilder &SVB = State->getStateManager().getSValBuilder();
const CXXMethodDecl *Ctor = cast<CXXMethodDecl>(CalleeCtx->getDecl());
Loc ThisPtr = SVB.getCXXThis(Ctor, CalleeCtx);
SVal ThisVal = State->getSVal(ThisPtr);
return getCXXConstructorCall(cast<CXXConstructExpr>(CallSite),
ThisVal.getAsRegion(), State, CallerCtx);
}
case Stmt::CXXNewExprClass:
return getCXXAllocatorCall(cast<CXXNewExpr>(CallSite), State, CallerCtx);
case Stmt::ObjCMessageExprClass:
return getObjCMethodCall(cast<ObjCMessageExpr>(CallSite),
State, CallerCtx);
default:
llvm_unreachable("This is not an inlineable statement.");
}
}
// Fall back to the CFG. The only thing we haven't handled yet is
// destructors, though this could change in the future.
const CFGBlock *B = CalleeCtx->getCallSiteBlock();
CFGElement E = (*B)[CalleeCtx->getIndex()];
assert(E.getAs<CFGImplicitDtor>() &&
"All other CFG elements should have exprs");
assert(!E.getAs<CFGTemporaryDtor>() && "We don't handle temporaries yet");
SValBuilder &SVB = State->getStateManager().getSValBuilder();
const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CalleeCtx->getDecl());
Loc ThisPtr = SVB.getCXXThis(Dtor, CalleeCtx);
SVal ThisVal = State->getSVal(ThisPtr);
const Stmt *Trigger;
if (Optional<CFGAutomaticObjDtor> AutoDtor = E.getAs<CFGAutomaticObjDtor>())
Trigger = AutoDtor->getTriggerStmt();
else if (Optional<CFGDeleteDtor> DeleteDtor = E.getAs<CFGDeleteDtor>())
Trigger = cast<Stmt>(DeleteDtor->getDeleteExpr());
else
Trigger = Dtor->getBody();
return getCXXDestructorCall(Dtor, Trigger, ThisVal.getAsRegion(),
E.getAs<CFGBaseDtor>().hasValue(), State,
CallerCtx);
}
| [
"agarny@hellix.com"
] | agarny@hellix.com |
8f702c1665904d280f1ae9ce35ad9ec56c29356f | d158af22290eed3794493d0a108b783b50fbe562 | /include/xthread_liu.h | e0656727ad53a9eb96546459fd9fda2bb90560d9 | [] | no_license | kozal/dt_xdemo | deac70dfe10a8cc153ad600c7d188774f88b5477 | 625f460c00e92af0ec7252b47a1a5a27604c8196 | refs/heads/master | 2021-01-01T19:41:22.955719 | 2017-08-23T17:56:20 | 2017-08-23T17:56:20 | 98,651,217 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,639 | h | /*
Copyright (c) 2014, Detection Technology Inc.
All rights reserved.
This file defines some thread related classes.
Author: Zhang Xu, 2014-3-10
*/
#ifndef XTHREAD_LIU_H
#define XTHREAD_LIU_H
#include <stdint.h>
#include <pthread.h>
#include <semaphore.h>
#include <time.h>
/*
This class wrapps a mutex object
*/
class XLock
{
public:
XLock()
{
pthread_mutex_init(&_mutex, NULL);
}
~XLock()
{
pthread_mutex_destroy(&_mutex);
};
void Lock()
{
pthread_mutex_lock(&_mutex);
};
void Unlock()
{
pthread_mutex_unlock(&_mutex);
};
private:
pthread_mutex_t _mutex;
};
/*
This wrapps sem_t object
*/
class XEvent
{
public:
XEvent()
{
sem_init(&_sem_obj, 0, 0);
}
~XEvent()
{
sem_destroy(&_sem_obj);
}
void Set()
{
sem_post(&_sem_obj);
}
void WaitTime(int32_t millisecond)
{
struct timespec tv;
clock_gettime(CLOCK_REALTIME, &tv);
tv.tv_nsec += millisecond*1000000;
sem_init(&_sem_obj,0,0);
sem_timedwait(&_sem_obj,&tv);
}
void Wait()
{
sem_init(&_sem_obj,0,0);
sem_wait(&_sem_obj);
}
/* void Reset() */
/* { */
/* sem_init(&_sem_obj,0,0); */
/* } */
private:
sem_t _sem_obj;
};
/*
This class wraps basic thread functions. Use thrad function and arguments
as parameters when claiming.
If circulation in the thread function needs to check flag, do like this
"while(!thread_obj.IsStopped())"
At the end of thread function, XThread::Exit() must be called.
*/
#define XTERMINATION_WAIT_INTERVAL 3 /*Wait for 3s, then force to cancel
* thread */
class XThread
{
public:
typedef void* (*ThreadFunc) (void*);
XThread(ThreadFunc func_, void* arg_)
:_thread_func_(func_)
,_thread_arg_(arg_)
,_thread_id(0)
{
sem_init(&_sem_stop, 0, 0);
sem_init(&_sem_exit, 0, 0);
};
~XThread()
{
Stop();
sem_destroy(&_sem_stop);
sem_destroy(&_sem_exit);
};
/*
Start thread function,
*/
bool Start(bool high_priority=0)
{
//Already started
// if(_thread_id != 0)
// return 1;
int32_t err;
if(!high_priority)
err = pthread_create(&_thread_id, NULL, _thread_func_, _thread_arg_);
else
{
//High priority
/* pthread_attr_t thread_attr; */
/* struct sched_param schedule_param; */
/* pthread_attr_init(&thread_attr); */
/* schedule_param.sched_priority = 99; */
/* pthread_attr_setinheritsched(&thread_attr, PTHREAD_EXPLICIT_SCHED); */
/* pthread_attr_setschedpolicy(&thread_attr, SCHED_RR); */
/* pthread_attr_setschedparam(&thread_attr, &shedule_param); */
// err = pthread_create(&_thread_id, &thread_attr, _thread_func_, _thread_arg_);
err = pthread_create(&_thread_id, NULL, _thread_func_, _thread_arg_);
struct sched_param schedule_param;
schedule_param.sched_priority = 90;
pthread_setschedparam(_thread_id, SCHED_RR, &schedule_param);
}
//If succeed, return 0
if(0 != err)
return 0;
return 1;
};
/*
Stop thread with stop event. If it doesn't exit within timeout, then
force it to terminate. If it is forced to terminate, return 0 and can't
start again.
*/
bool Stop()
{
bool ret = 1;
if(_thread_id)
{
//Send stop event
sem_post(&_sem_stop);
struct timespec tv;
clock_gettime(CLOCK_REALTIME, &tv);
tv.tv_sec += XTERMINATION_WAIT_INTERVAL;
//Exit event not happen
if(0 != sem_timedwait(&_sem_exit, &tv))
{
//Force it to terminate
pthread_cancel(_thread_id);
ret = 0;
printf("Force to terminate...\n");
}
//Wait for thread exit
pthread_join(_thread_id, NULL);
}
_thread_id = 0;
return ret;
};
/*
This function must be called at the end of thread function
*/
void Exit()
{
sem_post(&_sem_exit);
};
/*
Check whether the stop event happens. If stop happens, return 1.
*/
bool IsStopped()
{
struct timespec tv;
clock_gettime(CLOCK_REALTIME,&tv);
//Stop event happens, sem_timedwait() return 0
return (0 == sem_timedwait(&_sem_stop, &tv));
};
uint32_t GetThreadId()
{
return (uint32_t) pthread_self();
};
private:
ThreadFunc _thread_func_;
void* _thread_arg_;
pthread_t _thread_id;
sem_t _sem_stop;
sem_t _sem_exit;
};
#endif //XTHREAD_LIU_H
| [
"omer.kozal@metu.edu.tr"
] | omer.kozal@metu.edu.tr |
0b337dbbb43f35f01fd182a0fc21e152c50ba1b4 | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/termsrv/admtools/winutils/installr/installrdlg.h | 0b8b8feb080af8c60404b23b876e3a958e17571a | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 882 | h | //Copyright (c) 1998 - 1999 Microsoft Corporation
// installrDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CInstallrDlg dialog
class CInstallrDlg : public CDialog
{
// Construction
public:
CInstallrDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CInstallrDlg)
enum { IDD = IDD_INSTALLR_DIALOG };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CInstallrDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CInstallrDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
| [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
3671be6827e6fd842303d26b7becd09cf06fb870 | 40739e1e1fc9bf9845c43edeef1931d564609133 | /src/lib/xml_compiler/src/xml_compiler+modifier.cpp | ae9b6e1508f913bc5bc590ddce4b4073cd1a5f0a | [] | no_license | problame/Karabiner | 2dc43413cfb87f1258850e7a78761a49052132de | 21b83baf7ac5847f813cfb6f765e5329d9dd0451 | refs/heads/master | 2020-04-05T23:26:02.708377 | 2014-09-24T14:29:35 | 2014-09-24T14:29:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,317 | cpp | #include <exception>
#include "pqrs/xml_compiler.hpp"
#include "bridge.h"
namespace pqrs {
xml_compiler::modifier_loader::~modifier_loader(void)
{
std::string raw_identifier("system.vk_modifier_definition");
auto identifier = raw_identifier;
normalize_identifier_(identifier);
uint32_t config_index = symbol_map_.add("ConfigIndex", identifier);
identifier_map_[config_index] = raw_identifier;
try {
remapclasses_initialize_vector_.start(config_index, raw_identifier);
{
for (const auto& it : modifier_map_) {
if (! it.second) continue;
if (! (it.second)->get_name()) continue;
auto& name = *((it.second)->get_name());
remapclasses_initialize_vector_.push_back(12);
remapclasses_initialize_vector_.push_back(BRIDGE_VK_MODIFIER);
remapclasses_initialize_vector_.push_back(it.first);
remapclasses_initialize_vector_.push_back(
symbol_map_.add("KeyCode", std::string("VK_MODIFIER_") + name));
remapclasses_initialize_vector_.push_back(
symbol_map_.add("KeyCode", std::string("VK_LOCK_") + name));
remapclasses_initialize_vector_.push_back(
symbol_map_.add("KeyCode", std::string("VK_LOCK_") + name + "_FORCE_ON"));
remapclasses_initialize_vector_.push_back(
symbol_map_.add("KeyCode", std::string("VK_LOCK_") + name + "_FORCE_OFF"));
remapclasses_initialize_vector_.push_back(
symbol_map_.add("KeyCode", std::string("VK_NEGATIVE_LOCK_") + name));
remapclasses_initialize_vector_.push_back(
symbol_map_.add("KeyCode", std::string("VK_NEGATIVE_LOCK_") + name + "_FORCE_ON"));
remapclasses_initialize_vector_.push_back(
symbol_map_.add("KeyCode", std::string("VK_NEGATIVE_LOCK_") + name + "_FORCE_OFF"));
remapclasses_initialize_vector_.push_back(
symbol_map_.add("KeyCode", std::string("VK_STICKY_") + name));
remapclasses_initialize_vector_.push_back(
symbol_map_.add("KeyCode", std::string("VK_STICKY_") + name + "_FORCE_ON"));
remapclasses_initialize_vector_.push_back(
symbol_map_.add("KeyCode", std::string("VK_STICKY_") + name + "_FORCE_OFF"));
if ((it.second)->get_notify()) {
size_t index = remapclasses_initialize_vector_.size();
remapclasses_initialize_vector_.push_back(0); // The count will be updated after push_string.
remapclasses_initialize_vector_.push_back(BRIDGE_MODIFIERNAME);
remapclasses_initialize_vector_.push_back(it.first);
size_t count = remapclasses_initialize_vector_.push_string(name);
remapclasses_initialize_vector_.update(index, static_cast<uint32_t>(count + 2));
}
}
}
remapclasses_initialize_vector_.end();
} catch (std::exception& e) {
assert(! "exception in ~modifier_loader");
}
}
void
xml_compiler::modifier_loader::traverse(const extracted_ptree& pt) const
{
for (const auto& it : pt) {
if (it.get_tag_name() != "modifierdef") {
if (! it.children_empty()) {
traverse(it.children_extracted_ptree());
}
} else {
std::shared_ptr<modifier> newmodifier(new modifier());
if (! newmodifier) continue;
newmodifier->set_name(it.get_data());
auto attr_notify = it.get_optional("<xmlattr>.notify");
if (attr_notify) {
if (*attr_notify == "false") {
newmodifier->set_notify(false);
} else if (*attr_notify == "true") {
newmodifier->set_notify(true);
} else {
xml_compiler_.error_information_.set(std::string("Invalid 'notify' attribute within <modifierdef>: ") + *attr_notify);
continue;
}
}
if (newmodifier->get_name()->empty()) {
xml_compiler_.error_information_.set("Empty <modifierdef>.");
continue;
}
// ----------------------------------------
// register to symbol_map_.
if (! symbol_map_.get_optional("ModifierFlag", it.get_data())) {
auto v = symbol_map_.add("ModifierFlag", it.get_data());
modifier_map_[v] = newmodifier;
}
}
}
}
}
| [
"tekezo@pqrs.org"
] | tekezo@pqrs.org |
a266cf168842e051a478030c0c344e5b6766a653 | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /chrome/browser/vr/model/text_input_info.cc | 7f0354fa2269b3dbd30ca89d2e6e1fe9a7cfde40 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 6,614 | cc | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/vr/model/text_input_info.h"
#include <algorithm>
#include "base/strings/utf_string_conversions.h"
namespace vr {
namespace {
size_t CommonPrefixLength(const base::string16 a, const base::string16 b) {
size_t a_len = a.length();
size_t b_len = b.length();
size_t i = 0;
while (i < a_len && i < b_len && a[i] == b[i]) {
i++;
}
return i;
}
} // namespace
TextInputInfo::TextInputInfo()
: TextInputInfo(base::UTF8ToUTF16(""),
0,
0,
kDefaultCompositionIndex,
kDefaultCompositionIndex) {}
TextInputInfo::TextInputInfo(base::string16 t)
: TextInputInfo(t,
t.length(),
t.length(),
kDefaultCompositionIndex,
kDefaultCompositionIndex) {}
TextInputInfo::TextInputInfo(base::string16 t,
int sel_start,
int sel_end,
int comp_start,
int comp_end)
: text(t),
selection_start(sel_start),
selection_end(sel_end),
composition_start(comp_start),
composition_end(comp_end) {
ClampIndices();
}
TextInputInfo::TextInputInfo(const TextInputInfo& other)
: text(other.text),
selection_start(other.selection_start),
selection_end(other.selection_end),
composition_start(other.composition_start),
composition_end(other.composition_end) {}
bool TextInputInfo::operator==(const TextInputInfo& other) const {
return text == other.text && selection_start == other.selection_start &&
selection_end == other.selection_end &&
composition_start == other.composition_start &&
composition_end == other.composition_end;
}
bool TextInputInfo::operator!=(const TextInputInfo& other) const {
return !(*this == other);
}
size_t TextInputInfo::SelectionSize() const {
return std::abs(selection_end - selection_start);
}
size_t TextInputInfo::CompositionSize() const {
return composition_end - composition_start;
}
base::string16 TextInputInfo::CommittedTextBeforeCursor() const {
if (composition_start == composition_end)
return text.substr(0, selection_start);
return text.substr(0, composition_start);
}
base::string16 TextInputInfo::ComposingText() const {
if (composition_start == composition_end)
return base::UTF8ToUTF16("");
return text.substr(composition_start, CompositionSize());
}
std::string TextInputInfo::ToString() const {
return base::StringPrintf("t(%s) s(%d, %d) c(%d, %d)",
base::UTF16ToUTF8(text).c_str(), selection_start,
selection_end, composition_start, composition_end);
}
void TextInputInfo::ClampIndices() {
const int len = text.length();
selection_start = std::min(selection_start, len);
selection_end = std::min(selection_end, len);
if (selection_end < selection_start)
selection_end = selection_start;
composition_start = std::min(composition_start, len);
composition_end = std::min(composition_end, len);
if (composition_end <= composition_start) {
composition_start = kDefaultCompositionIndex;
composition_end = kDefaultCompositionIndex;
}
}
EditedText::EditedText() {}
EditedText::EditedText(const EditedText& other)
: current(other.current), previous(other.previous) {}
EditedText::EditedText(const TextInputInfo& new_current,
const TextInputInfo& new_previous)
: current(new_current), previous(new_previous) {}
EditedText::EditedText(base::string16 t) : current(t) {}
bool EditedText::operator==(const EditedText& other) const {
return current == other.current && previous == other.previous;
}
void EditedText::Update(const TextInputInfo& info) {
previous = current;
current = info;
}
std::string EditedText::ToString() const {
return current.ToString() + ", previously " + previous.ToString();
}
TextEdits EditedText::GetDiff() const {
TextEdits edits;
if (current == previous)
return edits;
int common_prefix_length =
CommonPrefixLength(current.CommittedTextBeforeCursor(),
previous.CommittedTextBeforeCursor());
bool had_composition =
previous.CompositionSize() > 0 && current.CompositionSize() == 0;
// If the composition changes while there was a composition previously, we
// first finish the previous composition by clearing then commiting it, then
// we set the new composition.
bool new_composition =
previous.composition_start != current.composition_start &&
previous.CompositionSize() > 0;
if (had_composition || new_composition) {
edits.push_back(TextEditAction(TextEditActionType::CLEAR_COMPOSING_TEXT));
}
int to_delete = 0;
// We only want to delete text if the was no selection previously. In the case
// where there was a selection, its the editor's responsibility to ensure that
// the selected text gets modified when a new edit occurs.
bool had_selection =
previous.SelectionSize() > 0 && current.SelectionSize() == 0;
if (!had_selection) {
to_delete =
previous.CommittedTextBeforeCursor().size() - common_prefix_length;
if (to_delete > 0) {
DCHECK(!had_composition);
edits.push_back(TextEditAction(TextEditActionType::DELETE_TEXT,
base::UTF8ToUTF16(""), -to_delete));
}
}
int to_commit =
current.CommittedTextBeforeCursor().size() - common_prefix_length;
if (to_commit > 0 || had_selection) {
DCHECK(to_delete == 0);
edits.push_back(TextEditAction(TextEditActionType::COMMIT_TEXT,
current.CommittedTextBeforeCursor().substr(
common_prefix_length, to_commit),
to_commit));
}
if (current.CompositionSize() > 0) {
int cursor = current.CompositionSize();
if (!new_composition) {
cursor = current.CompositionSize() - previous.CompositionSize();
}
edits.push_back(TextEditAction(TextEditActionType::SET_COMPOSING_TEXT,
current.ComposingText(), cursor));
}
return edits;
}
static_assert(sizeof(base::string16) + 16 == sizeof(TextInputInfo),
"If new fields are added to TextInputInfo, we must explicitly "
"bump this size and update operator==");
} // namespace vr
| [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
a93e5e17e97ffd9a91d63f4d000a052f7f1d31ab | adde0e71a48162653fec33b2a2f52abd427539d4 | /x10-2.4.3-src/x10.dist/stdlib/include/x10/lang/FinishState__FinishStates.h | 05969ef4c6109c21396de73ec1a8722678ad2e60 | [] | no_license | indukprabhu/deepChunking | f8030f128df5b968413b7a776c56ef7695f70667 | 2784c6884d19493ea6372343145e557810b8e45b | refs/heads/master | 2022-06-07T19:22:19.105255 | 2020-04-29T18:49:33 | 2020-04-29T18:49:33 | 259,726,892 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,706 | h | #ifndef __X10_LANG_FINISHSTATE__FINISHSTATES_H
#define __X10_LANG_FINISHSTATE__FINISHSTATES_H
#include <x10rt.h>
#define X10_LANG_GLOBALREF_H_NODEPS
#include <x10/lang/GlobalRef.h>
#undef X10_LANG_GLOBALREF_H_NODEPS
#define X10_UTIL_CONCURRENT_LOCK_H_NODEPS
#include <x10/util/concurrent/Lock.h>
#undef X10_UTIL_CONCURRENT_LOCK_H_NODEPS
namespace x10 { namespace util {
template<class TPMGL(K), class TPMGL(V)> class HashMap;
} }
namespace x10 { namespace lang {
class FinishState;
} }
namespace x10 { namespace compiler {
class Embed;
} }
namespace x10 { namespace lang {
template<class TPMGL(U)> class Fun_0_0;
} }
namespace x10 { namespace util {
template<class TPMGL(T)> class Box;
} }
namespace x10 { namespace compiler {
class Synthetic;
} }
namespace x10 { namespace lang {
class FinishState__FinishStates : public ::x10::lang::X10Class {
public:
RTT_H_DECLS_CLASS
::x10::util::HashMap< ::x10::lang::GlobalRef< ::x10::lang::FinishState* >, ::x10::lang::FinishState*>*
FMGL(map);
::x10::util::concurrent::Lock _Embed_lock;
::x10::util::concurrent::Lock* FMGL(lock);
virtual ::x10::lang::FinishState* __apply(::x10::lang::GlobalRef< ::x10::lang::FinishState* > root,
::x10::lang::Fun_0_0< ::x10::lang::FinishState*>* factory);
virtual void remove(::x10::lang::GlobalRef< ::x10::lang::FinishState* > root);
virtual ::x10::lang::FinishState__FinishStates* x10__lang__FinishState__FinishStates____this__x10__lang__FinishState__FinishStates(
);
void _constructor();
static ::x10::lang::FinishState__FinishStates* _make(
);
virtual void __fieldInitializers_x10_lang_FinishState_FinishStates(
);
// Serialization
public: static const ::x10aux::serialization_id_t _serialization_id;
public: virtual ::x10aux::serialization_id_t _get_serialization_id() {
return _serialization_id;
}
public: virtual void _serialize_body(::x10aux::serialization_buffer& buf);
public: static ::x10::lang::Reference* _deserializer(::x10aux::deserialization_buffer& buf);
public: void _deserialize_body(::x10aux::deserialization_buffer& buf);
};
} }
#endif // X10_LANG_FINISHSTATE__FINISHSTATES_H
namespace x10 { namespace lang {
class FinishState__FinishStates;
} }
#ifndef X10_LANG_FINISHSTATE__FINISHSTATES_H_NODEPS
#define X10_LANG_FINISHSTATE__FINISHSTATES_H_NODEPS
#ifndef X10_LANG_FINISHSTATE__FINISHSTATES_H_GENERICS
#define X10_LANG_FINISHSTATE__FINISHSTATES_H_GENERICS
#endif // X10_LANG_FINISHSTATE__FINISHSTATES_H_GENERICS
#endif // __X10_LANG_FINISHSTATE__FINISHSTATES_H_NODEPS
| [
"NVIDIA.COM+User(622487)@IK-LT.nvidia.com"
] | NVIDIA.COM+User(622487)@IK-LT.nvidia.com |
324c730e87d3ef684cb127814443bb24e51428da | 38095e9349e4a93a3951f7bd94f647895d766c38 | /src/CandyCrush/MenuScene.cc | 254fbd8af2b48fbd4e60af1a30cb39375db40361 | [] | no_license | pcasamiquela/MiniCandyCrush | 3b555ede0084dd3cc6e765c3f06ddd8709a481b9 | 871f6418da856851975426c4f04c84d2970927eb | refs/heads/master | 2020-06-16T20:18:32.103919 | 2016-11-30T13:07:43 | 2016-11-30T13:07:43 | 75,069,497 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,533 | cc | /******************************************************************
* Copyright (C) 2016 Jordi Serrano Berbel <jsberbel95@gmail.com> *
* This can not be copied, modified and/or distributed without *
* express permission of the copyright owner. *
******************************************************************/
#include "MenuScene.hh"
#include "System.hh"
#include "Logger.hh"
using namespace Logger;
MenuScene::MenuScene(void) : playButton(SCREEN_WIDTH/2, SCREEN_HEIGHT /4, SCREEN_WIDTH*0.27f, SCREEN_HEIGHT*0.12f, string("Play")), exitButton(SCREEN_WIDTH/2, SCREEN_HEIGHT /2, SCREEN_WIDTH*0.27f, SCREEN_HEIGHT*0.12f, string("Exit")) {
m_background = { { 0, 0, W.GetWidth(), W.GetHeight() }, ObjectID::BG_01 };
}
MenuScene::~MenuScene(void) {
}
void MenuScene::OnEntry(void) {
}
void MenuScene::OnExit(void) {
}
void MenuScene::Update(void) {
static MouseCoords mouseCoords(0, 0);
if (IM.IsMouseDown<MOUSE_BUTTON_LEFT>()) {
Println("===============");
Println("mxp: ", mouseCoords);
mouseCoords = IM.GetMouseCoords();
}
else if (IM.IsMouseUp<MOUSE_BUTTON_LEFT>()) {
Println("mxn: ", IM.GetMouseCoords());
}
if (IM.IsKeyDown<'0'>()) Println("0 down");
if (IM.IsKeyUp<KEY_BUTTON_DOWN>()) Println("down arrow up");
if(playButton.ClickButton(mouseCoords.x, mouseCoords.y)) SM.SetCurScene<GameScene>();
if (exitButton.ClickButton(mouseCoords.x, mouseCoords.y)) exit(0);
}
void MenuScene::Draw(void) {
m_background.Draw(); // Render background
playButton.Draw();
exitButton.Draw();
} | [
"pcasamiquela@S5-01"
] | pcasamiquela@S5-01 |
d61f007e0082039a028f38c599fa9be88b48cd92 | 97386f844ed852f4f9cb6ffb2444333107e9b8a6 | /0_driver/variant/variant_topic_tools/include/variant_topic_tools/BuiltinSerializer.h | 01afe286182b0a4edc4541756e37cbb887f3cf9d | [
"LGPL-3.0-only",
"LGPL-2.1-or-later",
"MIT"
] | permissive | robomasterhkust/ros_environment | 865c43bfb1f7139992dcfbcf8ebb0801f5fb33f7 | bac3343bf92e6fa2bd852baf261e80712564f990 | refs/heads/master | 2018-12-27T05:19:11.121916 | 2018-11-21T09:16:57 | 2018-11-21T09:16:57 | 114,446,270 | 8 | 1 | MIT | 2018-09-21T06:50:53 | 2017-12-16T08:39:11 | C++ | UTF-8 | C++ | false | false | 3,735 | h | /******************************************************************************
* Copyright (C) 2014 by Ralf Kaestner *
* ralf.kaestner@gmail.com *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the Lesser GNU General Public License as published by*
* the Free Software Foundation; either version 3 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 *
* Lesser GNU General Public License for more details. *
* *
* You should have received a copy of the Lesser GNU General Public License *
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
******************************************************************************/
/** \file BuiltinSerializer.h
* \brief Header file providing the BuiltinSerializer class interface
*/
#ifndef VARIANT_TOPIC_TOOLS_BUILTIN_SERIALIZER_H
#define VARIANT_TOPIC_TOOLS_BUILTIN_SERIALIZER_H
#include <variant_topic_tools/BuiltinTypeTraits.h>
#include <variant_topic_tools/Serializer.h>
namespace variant_topic_tools {
/** \brief Built-in serializer
*/
class BuiltinSerializer :
public Serializer {
friend class BuiltinDataType;
friend class BuiltinVariant;
public:
/** \brief Default constructor
*/
BuiltinSerializer();
/** \brief Copy constructor
*/
BuiltinSerializer(const BuiltinSerializer& src);
/** \brief Copy constructor (overloaded version taking a serializer)
*/
BuiltinSerializer(const Serializer& src);
/** \brief Destructor
*/
~BuiltinSerializer();
protected:
/** \brief Built-in data serializer implementation
*/
class Impl :
public virtual Serializer::Impl {
public:
/** \brief Default constructor
*/
Impl();
/** \brief Destructor
*/
virtual ~Impl();
};
/** \brief Built-in serializer implementation (templated strong-typed
* version)
*/
template <typename T> class ImplT :
public Impl {
public:
BOOST_STATIC_ASSERT(type_traits::IsBuiltin<T>::value);
/** \brief Declaration of the value type
*/
typedef typename type_traits::BuiltinType<T>::ValueType ValueType;
/** \brief Default constructor
*/
ImplT();
/** \brief Destructor
*/
virtual ~ImplT();
/** \brief Retrieve the serialized length of a variant value
* (implementation)
*/
size_t getSerializedLength(const Variant& value) const;
/** \brief Serialize a variant value (implementation)
*/
void serialize(ros::serialization::OStream& stream, const
Variant& value);
/** \brief Deserialize a variant value (implementation)
*/
void deserialize(ros::serialization::IStream& stream, Variant& value);
};
/** \brief Create a built-in serializer
*/
template <typename T> static BuiltinSerializer create();
};
};
#include <variant_topic_tools/BuiltinSerializer.tpp>
#endif
| [
"syangav@gmail.com"
] | syangav@gmail.com |
6b1db87cfe64f09e3eb853abfa246468ab19b2bc | 939a12f2d82c97a3330b246e2f672d7c0cc337de | /Smart_meter_release 2021-Q12/edge_meter_v3/libraries/HT16K33-0.3.2/examples/demo_displayTime/demo_displayTime.ino | feb49e5f33c5851cd96199b0f574fa81bb3f466e | [
"MIT"
] | permissive | chp-lab/ee-power-meter | 6c004397f529dd8edbe620f5e855db5ab4c19863 | d5fc6f12a655b863f31ee12f05b29d1ebc86ec20 | refs/heads/main | 2023-05-08T17:48:29.519942 | 2021-06-02T09:35:29 | 2021-06-02T09:35:29 | 373,106,628 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 708 | ino | //
// FILE: demo_displayTime.ino
// AUTHOR: Rob Tillaart
// VERSION: 0.2.0
// PURPOSE: demo
// URL: http://www.adafruit.com/products/1002
// URL: https://github.com/RobTillaart/HT16K33
// sketch will work correctly up to 99:99
#include "HT16K33.h"
HT16K33 seg(0x70);
void setup()
{
Serial.begin(115200);
Serial.println(__FILE__);
seg.begin();
Wire.setClock(100000);
seg.displayOn();
seg.setDigits(4);
}
void loop()
{
static uint32_t last = 0;
uint32_t now = millis();
if (now != last)
{
last = now;
uint32_t s = now / 1000;
uint32_t t = (now - s * 1000) / 10;
s = s % 100;
seg.displayTime(s, t);
seg.displayColon(1);
}
}
// -- END OF FILE --
| [
"chatpeth.ke@inet.co.th"
] | chatpeth.ke@inet.co.th |
c196c8c44274023d5d9dc21f107310893a425142 | 860df8f3d6acdc5e2942f42a6672e2b7740117f6 | /src/CVbscriptCounter.cpp | b647f272f4b5148007dab2b0c539924238a02bc8 | [] | no_license | geminijun/DR | cba2505e5307ab2f053b585dc7119680a576b35e | 3f95dc239dddc2f8aa77ef2d725bd352f5ceb37b | refs/heads/master | 2021-01-01T19:24:18.997498 | 2012-12-04T02:17:36 | 2012-12-04T02:17:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,022 | cpp | //! Code counter class methods for the VBScript language.
/*!
* \file CVbscriptCounter.cpp
*
* This file contains the code counter class methods for the VBScript language.
*/
#include "CVbscriptCounter.h"
#define CONTINUATION_CHAR '_'
/*!
* Constructs a CVbscriptCounter object.
*/
CVbscriptCounter::CVbscriptCounter()
{
classtype = VBSCRIPT;
language_name = "VBScript";
file_extension.clear();
file_extension.push_back(".vbs");
}
/*!
* Constructs a CVbsPhpCounter object.
*/
CVbsPhpCounter::CVbsPhpCounter()
{
classtype = VBS_PHP;
language_name = "VBScript/PHP";
file_extension.clear();
file_extension.push_back(".*vbsphp");
}
/*!
* Constructs a CVbsHtmlCounter object.
*/
CVbsHtmlCounter::CVbsHtmlCounter()
{
classtype = VBS_HTML;
language_name = "VBScript/HTML";
file_extension.clear();
file_extension.push_back(".*vbshtm");
}
/*!
* Constructs a CVbsXmlCounter object.
*/
CVbsXmlCounter::CVbsXmlCounter()
{
classtype = VBS_XML;
language_name = "VBScript/XML";
file_extension.clear();
file_extension.push_back(".*vbsxml");
}
/*!
* Constructs a CVbsJspCounter object.
*/
CVbsJspCounter::CVbsJspCounter()
{
classtype = VBS_JSP;
language_name = "VBScript/JSP";
file_extension.clear();
file_extension.push_back(".*vbsjsp");
}
/*!
* Constructs a CVbsAspServerCounter object.
*/
CVbsAspServerCounter::CVbsAspServerCounter()
{
classtype = VBS_ASP_S;
language_name = "VBScript/ASP Server";
file_extension.clear();
file_extension.push_back(".*vbsasps");
}
/*!
* Constructs a CVbsAspClientCounter object.
*/
CVbsAspClientCounter::CVbsAspClientCounter()
{
classtype = VBS_ASP_C;
language_name = "VBScript/ASP Client";
file_extension.clear();
file_extension.push_back(".*vbsaspc");
}
/*!
* Constructs a CVbsColdFusionCounter object.
*/
CVbsColdFusionCounter::CVbsColdFusionCounter()
{
classtype = VBS_CFM;
language_name = "VBScript/ColdFusion";
file_extension.clear();
file_extension.push_back(".*vbscfm");
}
| [
"geminijun@gmail.com"
] | geminijun@gmail.com |
340faf4761d2fa5e693d92285ad53a447d3aac32 | 548f0ab0398613c5221778010e865c3652d0d00b | /SampleOSXCocoaPodsProject/Pods/BRCLucene/src/core/CLucene/index/DirectoryIndexReader.h | 62d315087d42b3ee6d3ddc8dbea2da6d4006bfc6 | [
"Apache-2.0",
"LGPL-2.0-or-later",
"LGPL-2.1-or-later"
] | permissive | vlado-rudenok/BRFullTextSearch | 921cdeab5600f843f2bafb0a6607f52f4f0c867d | 22e50bc92e48c5af3803f0ad503298b2438b8e79 | refs/heads/master | 2020-07-01T06:50:03.027375 | 2017-07-19T03:35:15 | 2017-07-19T03:35:15 | 201,080,316 | 0 | 0 | Apache-2.0 | 2019-08-07T15:45:44 | 2019-08-07T15:45:43 | null | UTF-8 | C++ | false | false | 4,439 | h | /*------------------------------------------------------------------------------
* Copyright (C) 2003-2006 Ben van Klinken and the CLucene Team
*
* Distributable under the terms of either the Apache License (Version 2.0) or
* the GNU Lesser General Public License, as specified in the COPYING file.
------------------------------------------------------------------------------*/
#ifndef _lucene_index_DirectoryIndexReader_
#define _lucene_index_DirectoryIndexReader_
#include "IndexReader.h"
CL_CLASS_DEF(store,LuceneLock)
CL_NS_DEF(index)
class IndexDeletionPolicy;
/**
* IndexReader implementation that has access to a Directory.
* Instances that have a SegmentInfos object (i. e. segmentInfos != null)
* "own" the directory, which means that they try to acquire a write lock
* whenever index modifications are performed.
*/
class CLUCENE_EXPORT DirectoryIndexReader: public IndexReader {
private:
IndexDeletionPolicy* deletionPolicy;
SegmentInfos* segmentInfos;
CL_NS(store)::LuceneLock* writeLock;
bool stale;
/** Used by commit() to record pre-commit state in case
* rollback is necessary */
bool rollbackHasChanges;
SegmentInfos* rollbackSegmentInfos;
class FindSegmentsFile_Open;
class FindSegmentsFile_Reopen;
friend class FindSegmentsFile_Open;
friend class FindSegmentsFile_Reopen;
protected:
CL_NS(store)::Directory* _directory;
bool closeDirectory;
DirectoryIndexReader();
/**
* Re-opens the index using the passed-in SegmentInfos
*/
virtual DirectoryIndexReader* doReopen(SegmentInfos* infos) = 0;
void doClose();
/**
* Commit changes resulting from delete, undeleteAll, or
* setNorm operations
*
* If an exception is hit, then either no changes or all
* changes will have been committed to the index
* (transactional semantics).
* @throws IOException if there is a low-level IO error
*/
void doCommit();
virtual void commitChanges() = 0;
/**
* Tries to acquire the WriteLock on this directory->
* this method is only valid if this IndexReader is directory owner.
*
* @throws StaleReaderException if the index has changed
* since this reader was opened
* @throws CorruptIndexException if the index is corrupt
* @throws LockObtainFailedException if another writer
* has this index open (<code>write.lock</code> could not
* be obtained)
* @throws IOException if there is a low-level IO error
*/
void acquireWriteLock();
public:
virtual ~DirectoryIndexReader();
void init(CL_NS(store)::Directory* directory, SegmentInfos* segmentInfos, bool closeDirectory);
CLUCENE_LOCAL_DECL DirectoryIndexReader(CL_NS(store)::Directory* directory, SegmentInfos* segmentInfos, bool closeDirectory);
CLUCENE_LOCAL_DECL static DirectoryIndexReader* open(CL_NS(store)::Directory* directory, bool closeDirectory, IndexDeletionPolicy* deletionPolicy);
IndexReader* reopen();
void setDeletionPolicy(IndexDeletionPolicy* deletionPolicy);
/** Returns the directory this index resides in.
*/
CL_NS(store)::Directory* directory();
/**
* Version number when this IndexReader was opened.
*/
int64_t getVersion();
/**
* Check whether this IndexReader is still using the
* current (i.e., most recently committed) version of the
* index. If a writer has committed any changes to the
* index since this reader was opened, this will return
* <code>false</code>, in which case you must open a _CLNEW
* IndexReader in order to see the changes. See the
* description of the <a href="IndexWriter.html#autoCommit"><code>autoCommit</code></a>
* flag which controls when the {@link IndexWriter}
* actually commits changes to the index.
*
* @throws CorruptIndexException if the index is corrupt
* @throws IOException if there is a low-level IO error
*/
bool isCurrent();
/**
* Checks is the index is optimized (if it has a single segment and no deletions)
* @return <code>true</code> if the index is optimized; <code>false</code> otherwise
*/
bool isOptimized();
/**
* Should internally checkpoint state that will change
* during commit so that we can rollback if necessary.
*/
CLUCENE_LOCAL_DECL void startCommit();
/**
* Rolls back state to just before the commit (this is
* called by commit() if there is some exception while
* committing).
*/
CLUCENE_LOCAL_DECL void rollbackCommit();
};
CL_NS_END
#endif
| [
"git+matt@msqr.us"
] | git+matt@msqr.us |
3b2160e974997dfc628008323e0dd3aebcd53f33 | 7fb0900c3baa1c5e134ee2c47c5159f4401a3a52 | /include/EventCodes.hpp | 6876cae014eec7f64e577d63fc4296598d5cf804 | [] | no_license | mnassabain/Asteroids | df966273ef6efbf4b15e55dade5b663db6493aaf | 693626cb2e70119cbdde6909883057dc37eb84a1 | refs/heads/master | 2023-04-23T07:41:50.823768 | 2021-05-06T21:29:02 | 2021-05-06T21:29:02 | 254,962,300 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 502 | hpp | #ifndef EVENTCODES_HPP
#define EVENTCODES_HPP
#define EVT_START_GAME -2
#define EVT_CLOSE_GAME -1
#define NO_EVENTS 0
#define EVT_PLAYER_ACCELERATE 1
#define EVT_PLAYER_DECELERATE 2
#define EVT_PLAYER_START_TURN_CCW 3
#define EVT_PLAYER_START_TURN_CW 4
#define EVT_PLAYER_STOP_TURN 5
#define EVT_PLAYER_START_SHOOTING 6
#define EVT_PLAYER_STOP_SHOOTING 7
#define EVT_PLAYER_TELEPORT 8
#endif /* EVENTCODES_HPP */
| [
"marco.nassabain@hotmail.com"
] | marco.nassabain@hotmail.com |
8286e4b62e7f6bab0e35d849bbf8136d2a46882a | ab21fc5b6070860933bbbeb8c2ab88489e89af5d | /4.3mount/mount.cpp | ce7dd2dad8e247cec8497d26e440de82318c0e47 | [] | no_license | lixu1/windowsAPI | f96f33123b501b88becebbb8f6a957a1685ac386 | 8bb560d3fd34874903eed140113a8ac5f20341cf | refs/heads/master | 2021-01-24T08:37:28.557463 | 2016-09-29T10:27:31 | 2016-09-29T10:27:31 | 69,555,637 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,918 | cpp | #define _WIN32_WINNT 0x0501
#include <Windows.h>
#include <stdio.h>
#include <tchar.h>
#define BUFSIZE MAX_PATH
#define FILESYSNAMEBUFSIZE MAX_PATH
//列举挂载点
BOOL ProcessVolumeMountPoint(HANDLE hPt, TCHAR *PtBuf, DWORD dwPtBufSize, TCHAR *Buf)
{
BOOL bFlag;//结果
TCHAR Path[BUFSIZE];//全路径
TCHAR Target[BUFSIZE];//挂载点设备
printf("\tVolume mount point found is \" %s \"\n", PtBuf);
lstrcpy(Path, Buf);
lstrcat(Path, PtBuf);
bFlag = GetVolumeNameForVolumeMountPoint(Path, Target, BUFSIZE);
if (!bFlag)
{
printf("\tAttempt to get volume name for %s failed.\n", Path);
}
else
printf("\tTarget of the volume mount point is %s.\n", Target);
bFlag = FindNextVolumeMountPoint(hPt, PtBuf, dwPtBufSize);
return bFlag;
}
//判断卷类型,列举挂载点
BOOL ProcessVolume(HANDLE hVol, TCHAR *Buf, DWORD iBufSize)
{
BOOL bFlag;//返回标志
HANDLE hPt;//卷句柄
TCHAR PtBuf[BUFSIZE];//挂载点路径
DWORD dwSysFlags;//文件系统标记
TCHAR FileSysNameBuf[FILESYSNAMEBUFSIZE];
printf("Volume found is \"%s\".\n", Buf);
//whether it is ntfs
GetVolumeInformation(Buf, NULL, 0, NULL, NULL, &dwSysFlags, FileSysNameBuf, FILESYSNAMEBUFSIZE);
if (!(dwSysFlags&FILE_SUPPORTS_REPARSE_POINTS))
{
printf("\tThis file system does not support volume mount points.\n");
}
else
{
//本卷中的挂载点
hPt = FindFirstVolumeMountPoint(
Buf,
PtBuf,
BUFSIZE);
if (hPt == INVALID_HANDLE_VALUE)
{
printf("\tNo volume mount points found!\n");
}
else
{
//处理挂载点
bFlag = ProcessVolumeMountPoint(hPt, PtBuf, BUFSIZE, Buf);
while (bFlag)
bFlag = ProcessVolumeMountPoint(hPt, PtBuf, BUFSIZE, Buf);
FindVolumeMountPointClose(hPt);
}
}
bFlag = FindNextVolume(hVol, Buf, iBufSize);
return bFlag;
}
//获取挂载点
int GetMountPoint(void)
{
TCHAR buf[BUFSIZE];
HANDLE hVol;
BOOL bFlag;
printf("Volume mount points info of this computer:\n\n");
hVol = FindFirstVolume(buf, BUFSIZE);
if (hVol = INVALID_HANDLE_VALUE)
{
printf("No volumes found\n");
return -1;
}
bFlag = ProcessVolume(hVol, buf, BUFSIZE);
while (bFlag)
{
bFlag = ProcessVolume(hVol, buf, BUFSIZE);
}
bFlag = FindVolumeClose(hVol);
return bFlag;
}
//使用方法
void Usage(PCHAR argv)
{
printf("\n\n\t%s,mount a volume at a mount point.\n", argv);
printf("\tFor example, \"mount D:\\mnt\drives\\ E:\\\"\n");
}
int main(int argc, PCHAR argv[])
{
BOOL bFlag;
CHAR Buf[BUFSIZE];
if (argc != 3)
{
GetMountPoint();
Usage(argv[0]);
return -1;
}
bFlag = GetVolumeNameForVolumeMountPoint(argv[2], Buf, BUFSIZE);
if (bFlag != TRUE)
{
printf("Retrieving volume name for %s failed.\n", argv[2]);
return -2;
}
printf("Volume name of %s is %s\n", argv[2], Buf);
bFlag = SetVolumeMountPoint(argv[1], Buf);
if (!bFlag)
{
printf("Attempt to mount %s at %s failed. error code is \n", argv[2], argv[1], GetLastError());
}
return bFlag;
} | [
"lixuat2014@gmail.com"
] | lixuat2014@gmail.com |
5c248bb4c77cee7a3ff92a196da4307fca70dbef | b5e45b0019c9e0c403e96c4154f68b3b7b10d56f | /Raytracer/ONB.cpp | 822cfef9bcc5622bd4e8fbcd54e5ba8482aff394 | [] | no_license | iziamtso/Raytracer | fc5690c1df0974c8df42364354079f43e5cc42d4 | d44fe84de4923052fce2b98cfa90fde47dde9c13 | refs/heads/master | 2021-01-19T11:48:28.144033 | 2015-05-18T17:14:21 | 2015-05-18T17:14:21 | 35,622,226 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,930 | cpp | #include "ONB.h"
#define ONB_EPSILON 0.01f
void ONB::initFromU(const Vector3& u) {
Vector3 n(1.0f, 0.0f, 0.0f);
Vector3 m(0.0f, 1.0f, 0.0f);
U = unitVector(u);
V = cross(U, n);
if(V.length() < ONB_EPSILON) {
V = cross(U, m);
}
W = cross(U, V);
}
void ONB::initFromV(const Vector3& v) {
Vector3 n(1.0f, 0.0f, 0.0f);
Vector3 m(0.0f, 1.0f, 0.0f);
V = unitVector(v);
U = cross(V, n);
if(U.length() < ONB_EPSILON) { ///U.squaredLength() instead in the book p. 23
U = cross(V, m);
}
W = cross(U, V);
}
void ONB::initFromW(const Vector3& w) {
Vector3 n(1.0f, 0.0f, 0.0f);
Vector3 m(0.0f, 1.0f, 0.0f);
W = unitVector(w);
U = cross(W, n);
if(U.length() < ONB_EPSILON) {
U = cross(U, m);
}
V = cross(W, U);
}
void ONB::initFromUV(const Vector3& u, const Vector3& v) {
U = unitVector(u);
W = unitVector(cross(u,v));
V = cross(W, U);
}
void ONB::initFromVU(const Vector3& v, const Vector3& u) {
V = unitVector(v);
W = unitVector(cross(u,v));
U = cross(V, W);
}
void ONB::initFromUW(const Vector3& u, const Vector3& w) {
U = unitVector(u);
V = unitVector(cross(w,u));
W = cross(U,V);
}
void ONB::initFromWU(const Vector3& w, const Vector3& u) {
W = unitVector(w);
V = unitVector(cross(w,u));
U = cross(V, W);
}
void ONB::initFromVW(const Vector3& v, const Vector3& w) {
V = unitVector(v);
U = unitVector(cross(v,w));
W = cross(U,V);
}
void ONB::initFromWV(const Vector3& w, const Vector3& v) {
W = unitVector(w);
U = unitVector(cross(v,w));
V = cross(W, U);
}
bool operator==(const ONB& o1,const ONB& o2) {
return (o1.u() == o2.u() && o1.v() == o2.v() && o1.w() == o2.w());
}
istream& operator>>(istream& is, ONB& t) {
Vector3 new_u;
Vector3 new_v;
Vector3 new_w;
is >> new_u >> new_v >> new_w;
t.initFromUV(new_u, new_v);
return is;
}
ostream& operator<<(ostream& os, const ONB& t) {
os << t.u() << "\n" << t.v() << "\n" << t.w() << "\n";
return os;
}
ONB::~ONB(void) {
}
| [
"iz1635@gmail.com"
] | iz1635@gmail.com |
741453299ba6b28248219ee1fc76b7c873e42fdc | 66b6fa4b8b8d910f602610429f119f7303463153 | /Homework 3/mis&can.cpp | 86ebf5afdbdfbccab554ee50705569d62f886cec | [] | no_license | JosephG1994/CS461 | 8bc73f768a351c94f35094df66ee5a7ef4294316 | 18b85faa41ab0009cfd84ed1bf02851c612aff95 | refs/heads/master | 2022-10-15T06:23:56.732653 | 2020-06-09T22:33:06 | 2020-06-09T22:33:06 | 271,097,532 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,430 | cpp | // Missionaries and cannibals implementation using a tree and the breadth first search algorithm.
#include<iostream>
using std::cout;
int iMis = 3, // missionary initial state (on Side1)
iCan = 3, // cannibal initial state (on Side1)
fMis = 0, // missionary final state (on Side2)
fCan = 0, // cannibal final state (on Side2)
flag = 0; // flag = 0 when boat is on Side1. flag = 1 when boat is on Side2.
// Displays the output as:
// SIDE1 RIVER SIDE2
// Initial Group <BOAT( , )> RIVER Final Group
// Initial Group RIVER <BOAT( , )> Final Group
// Boat can hold one or two riders
void output(char rider1, char rider2)
{
cout << "\n\n";
for (int i = 0; i < iMis; i++)
cout << " M ";
for (int i = 0; i < iCan; i++)
cout << " C ";
if (flag == 0) // boat is on Side1
cout << " <BOAT(" << rider1 << "," << rider2 << ")> RIVER ";
else // boat is on Side2
cout << " RIVER <BOAT(" << rider1 << "," << rider2 << ")> ";
for (int i = 0; i < fMis; i++)
cout << " M ";
for (int i = 0; i < fCan; i++)
cout << " C ";
}
// Returns 0 if the goal state has been reached, otherwise returns 1.
int final()
{
if (fCan == 3 && fMis == 3) // goal state
return 0;
else
return 1;
}
// Solution function solves the missionaries and cannibals problem
void solution()
{
int option = 0;
while (final())
{
if (!flag) // the boat is on Side1
{
switch (option)
{
case 1: output('C', ' ');
iCan = iCan + 1; // move 1 cannibal from boat to Side1
break;
case 2: output('M', 'C');
iCan = iCan + 1; // move 1 cannibal from boat to Side1
iMis = iMis + 1; // move 1 missionary from boat to Side1
break;
}
if (((iMis - 2) >= iCan && (fMis + 2) >= fCan) || (iMis - 2) == 0)
{
iMis = iMis - 2; // move 2 missionaries from Side1 to boat
option = 1;
output('M', 'M');
flag = 1;
}
else if ((iCan - 2) < iMis && (fMis == 0 || (fCan + 2) <= fMis) || iMis == 0)
{
iCan = iCan - 2; // move two cannibals from Side1 to boat
option = 2;
output('C', 'C');
flag = 1;
}
else if ((iCan--) <= (iMis--) && (fMis++) >= (fCan++))
{
iCan = iCan - 1; // move 1 cannibal from Side1 to boat
iMis = iMis - 1; // move 1 missionary from Side1 to boat
option = 3;
output('M', 'C');
flag = 1;
}
}
else // the boat is on side2
{
switch (option)
{
case 1: output('M', 'M');
fMis = fMis + 2; // move 2 missionaries from boat to Side2
break;
case 2: output('C', 'C');
fCan = fCan + 2; // move 2 cannibals from boat to Side2
break;
case 3: output('M', 'C');
fCan = fCan + 1; // move 1 cannibal from boat to Side2
fMis = fMis + 1; // move 1 missionary from boat to Side2
break;
}
if (final())
{
if (((fCan > 1 && fMis == 0) || iMis == 0))
{
fCan = fCan - 1; // move 1 cannibal from Side2 to boat
option = 1;
output('C', ' ');
flag = 0;
}
else if ((iCan + 2) > iMis)
{
fCan = fCan - 1; // move 1 cannibal from Side2 to boat
fMis = fMis - 1; // move 1 missionary from Side2 to boat
option = 2;
output('M', 'C');
flag = 0;
}
}
}
}
}
// Main function for running program. Displays steps for solving the problem.
int main()
{
cout << " Missionaries and Cannibals Problem\n";
cout << " SIDE1 RIVER SIDE2";
output(' ', ' ');
solution();
output(' ', ' ');
return 0;
}
| [
"48999009+JosephG1994@users.noreply.github.com"
] | 48999009+JosephG1994@users.noreply.github.com |
2e67d7d478957624712f46e6847ba4a1e4882bcf | 5a77b5092acf817ac37a5fafd006feea434dd0d6 | /Doxygen_Graphviz/DesignPatternExample/品味Java的21種設計模式/dp_cpp/flyweight/example3/FlyweightFactory.h | 195e8409f0007dd908e8c0220b5acc7bef2c94aa | [] | no_license | shihyu/MyTool | dfc94f507b848fb112483a635ef95e6a196c1969 | 3bfd1667ad86b3db63d82424cb4fa447cbe515af | refs/heads/master | 2023-05-27T19:09:10.538570 | 2023-05-17T15:58:18 | 2023-05-17T15:58:18 | 14,722,815 | 33 | 21 | null | null | null | null | GB18030 | C++ | false | false | 1,345 | h | #pragma once
#include "Flyweight.h"
#include "AuthorizationFlyweight.h"
#include <string>
namespace cn
{
namespace javass
{
namespace dp
{
namespace flyweight
{
namespace example3
{
///
/// <summary> * 享元工厂,通常实现成为单例 </summary>
///
class FlyweightFactory
{
private:
//JAVA TO C++ CONVERTER TODO TASK: Native C++ only allows initialization of static const integral fields in their declarations:
static FlyweightFactory *factory = new FlyweightFactory();
FlyweightFactory();
public:
static FlyweightFactory *getInstance();
///
/// <summary> * 缓存多个flyweight对象 </summary>
///
private:
Map<std::string, Flyweight*> *fsMap;
///
/// <summary> * 获取key对应的享元对象 </summary>
/// * <param name="key"> 获取享元对象的key </param>
/// * <returns> key对应的享元对象 </returns>
///
public:
virtual Flyweight *getFlyweight(std::string key);
private:
bool initialized;
void InitializeInstanceFields()
{
if ( ! initialized)
{
fsMap = std::map<std::string, Flyweight*>();
initialized = true;
}
}
};
}
}
}
}
} | [
"jason_yao@htc.com"
] | jason_yao@htc.com |
72ae3b7d9efc1084eec2d2531c1ed474640fb7e0 | 6fbd10230dbfcbb8758dde29b233ab0ec3c2c6ac | /ProbeCalibration/CalibrationPointsSquaresFunction.cpp | 4ef6b31685c58e07ca987bdaaf54f1c8282e7b2c | [] | no_license | coconetlero/3D-US | 05964780275b92e0352c37224360ce4186092fd6 | 852761c75f38ee0535d5e1c08ab3e2f13a026d27 | refs/heads/master | 2021-01-23T13:37:29.538251 | 2014-09-17T11:58:41 | 2014-09-17T11:58:41 | 23,911,575 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,110 | cpp | //
// CalibrationPointsSquaresFunction.cpp
// US_Probe_Calibration
//
// Created by Zian Fanti on 16/01/12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#include "CalibrationPointsSquaresFunction.h"
#include <math.h>
#include <iostream>
CalibrationPointsSquaresFunction::
CalibrationPointsSquaresFunction(std::vector<vnl_matrix<double> *> * transformationSet,
vnl_matrix<int> * points) : vnl_least_squares_function(11, 3 * points->rows(),
vnl_least_squares_function::no_gradient)
{
this->_data = transformationSet;
this->_points = points;
}
CalibrationPointsSquaresFunction::~CalibrationPointsSquaresFunction()
{
}
void CalibrationPointsSquaresFunction::f(vnl_vector<double> const &x, vnl_vector<double> &fx)
{
double t_1x, t_1y, t_1z, t_3x, t_3y, t_3z, w_3x, w_3y, w_3z, s_x, s_y;
double w_1x, w_1y, w_1z;
t_1x = x(0);
t_1y = x(1);
t_1z = x(2);
t_3x = x(3);
t_3y = x(4);
t_3z = x(5);
w_3x = x(6);
w_3y = x(7);
w_3z = x(8);
s_x = x(9);
s_y = x(10);
w_1x = 0;
w_1y = 0;
w_1z = 0;
vnl_matrix<double> cTt(4, 4);
vnl_matrix<double> tTr(4, 4);
vnl_matrix<double> rTp(4, 4);
vnl_matrix<double> xP(4,1);
for (unsigned int i = 0; i < _data->size(); i++) {
vnl_matrix<double> * transformation = _data->at(i);
cTt.put(0, 0, cos(w_1x) * cos(w_1y));
cTt.put(0, 1, (cos(w_1x) * sin(w_1y) * sin(w_1z)) - (sin(w_1x) * cos(w_1z)));
cTt.put(0, 2, (cos(w_1x) * sin(w_1y) * cos(w_1z)) + (sin(w_1x) * sin(w_1z)));
cTt.put(0, 3, t_1x);
cTt.put(1, 0, sin(w_1x) * cos(w_1y));
cTt.put(1, 1, (sin(w_1x) * sin(w_1y) * sin(w_1z)) + (cos(w_1x) * cos(w_1z)));
cTt.put(1, 2, (sin(w_1x) * sin(w_1y) * cos(w_1z)) - (cos(w_1x) * sin(w_1z)));
cTt.put(1, 3, t_1y);
cTt.put(2, 0, -sin(w_1y));
cTt.put(2, 1, cos(w_1y) * sin(w_1z));
cTt.put(2, 2, cos(w_1y) * cos(w_1z));
cTt.put(2, 3, t_1z);
cTt.put(3, 0, 0);
cTt.put(3, 1, 0);
cTt.put(3, 2, 0);
cTt.put(3, 3, 1);
tTr.put(0, 0, transformation->get(0, 0));
tTr.put(0, 1, transformation->get(0, 1));
tTr.put(0, 2, transformation->get(0, 2));
tTr.put(0, 3, transformation->get(0, 3));
tTr.put(1, 0, transformation->get(1, 0));
tTr.put(1, 1, transformation->get(1, 1));
tTr.put(1, 2, transformation->get(1, 2));
tTr.put(1, 3, transformation->get(1, 3));
tTr.put(2, 0, transformation->get(2, 0));
tTr.put(2, 1, transformation->get(2, 1));
tTr.put(2, 2, transformation->get(2, 2));
tTr.put(2, 3, transformation->get(2, 3));
tTr.put(3, 0, transformation->get(3, 0));
tTr.put(3, 1, transformation->get(3, 1));
tTr.put(3, 2, transformation->get(3, 2));
tTr.put(3, 3, transformation->get(3, 3));
rTp.put(0, 0, cos(w_3x) * cos(w_3y));
rTp.put(0, 1, (cos(w_3x) * sin(w_3y) * sin(w_3z)) - (sin(w_3x) * cos(w_3z)));
rTp.put(0, 2, (cos(w_3x) * sin(w_3y) * cos(w_3z)) + (sin(w_3x) * sin(w_3z)));
rTp.put(0, 3, t_3x);
rTp.put(1, 0, sin(w_3x) * cos(w_3y));
rTp.put(1, 1, (sin(w_3x) * sin(w_3y) * sin(w_3z)) + (cos(w_3x) * cos(w_3z)));
rTp.put(1, 2, (sin(w_3x) * sin(w_3y) * cos(w_3z)) - (cos(w_3x) * sin(w_3z)));
rTp.put(1, 3, t_3y);
rTp.put(2, 0, -sin(w_3y));
rTp.put(2, 1, cos(w_3y) * sin(w_3z));
rTp.put(2, 2, cos(w_3y) * cos(w_3z));
rTp.put(2, 3, t_3z);
rTp.put(3, 0, 0);
rTp.put(3, 1, 0);
rTp.put(3, 2, 0);
rTp.put(3, 3, 1);
xP.put(0, 0, s_x * _points->get(i, 0));
xP.put(1, 0, s_y * _points->get(i, 1));
xP.put(2, 0, 1);
xP.put(3, 0, 1);
vnl_matrix<double> M = cTt * tTr * rTp * xP;
fx[3 * i] = M.get(0, 0);
fx[(3 * i) + 1] = M.get(1, 0);
fx[(3 * i) + 2] = M.get(2, 0);
}
}
| [
"coconetlero@172.21.171.198"
] | coconetlero@172.21.171.198 |
f8c650e36d5a865d366fcf26a4fc39a82d74c602 | 5bd8a481a5da0696f623412fd9db33b81ff9a74f | /Dynamic Programming/Maximal_square.cpp | e33c7ef9b6f98bb6835fe19465a0a6e3d14c7c27 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | nidhisethi88/CompetitiveProgrammingQuestionBank | 285b4692c104af461b58f762604a58f20347e59f | bd2f0738931edec1cd7f81d29fae9ddecce7f0ff | refs/heads/master | 2023-06-20T00:04:41.510308 | 2021-07-21T05:01:51 | 2021-07-21T05:01:51 | 385,717,642 | 0 | 1 | MIT | 2021-07-14T07:17:40 | 2021-07-13T19:42:32 | null | UTF-8 | C++ | false | false | 2,377 | cpp | /*
Question => https://leetcode.com/problems/maximal-square/
Description:
Given an m x n binary matrix filled with 0's and 1's, find the largest square containing only 1's and return its area.
Eg:
m = 4 and n = 5
1 0 1 0 0
1 0 |1 1| 1
1 1 |1 1| 1
1 0 0 1 0
The answer here is: 4 (2x2) shown here
Soltuion:
The approach is to use dynamic programming.
We use another matrix to store the maximal square possible using the (i,j)-th element of matrix
as the bottom-left corner of the matrix.
Base cases :
a) Fill the left-most column with 1 and (0 where matrix is 0) dp[i][n-1]=1 or 0
b) Fill the bottom-most row with 1 and (0 where matrix is 0). dp[m-1][i]=1 or 0
Then for general case:
dp[i][j] = 0 => if matrix[i][j]=0
dp[i][j] = 1 + min(dp[i+1][j], dp[i+1][j+1], dp[i][j+1])
for matrix[i][j]=> dp[i][j] is 1 + minimum of cell on right, bottom and diagonally right
The answer is the max. value in the dp matrix.
*/
// The code for the solution =>
#include<bits/stdc++.h>
using namespace std;
int maximalSquare(vector<vector<char>>& matrix) {
int n = matrix.size();
int m = matrix[0].size();
vector<vector<int>>dp(n, vector<int>(m, 0)); // dp matrix
dp[n-1][m-1] = matrix[n-1][m-1]-'0'; // dp[n-][m-1] is same as matrix[n-1][m-1]
int ans = dp[n-1][m-1];
//last column is 1 or 0
for(int i=0;i<n-1;i++){
dp[i][m-1]=matrix[i][m-1]-'0';
ans = max(ans, dp[i][m-1]);
}
//last row is 1 or 0
for(int j=0;j<m-1;j++){
dp[n-1][j]=matrix[n-1][j]-'0';
ans = max(ans, dp[n-1][j]);
}
for(int i=n-2;i>=0;i--)
{
for(int j=m-2;j>=0;j--)
{
// dp[i][j] is 0 when matrix[i][j] is 0
if(matrix[i][j]=='0')
dp[i][j]=0;
//dp[i][j] is 1 + min(right_hand, diagonally_down, down)
else
dp[i][j] = 1+min(dp[i][j+1],min(dp[i+1][j],dp[i+1][j+1]));
// ans is max of all values in dp
ans = max(dp[i][j], ans);
}
}
return ans*ans;
}
int main()
{
int m,n;
cin>>m>>n;
vector<vector<char>>matrix(m, vector<char>(n, 0));
for(int i=0; i<m; i++)
{
for(int j=0; j<n; j++)
{
cin>>matrix[i][j];
}
}
//max. area of 1s
int ans = maximalSquare(matrix);
cout<<ans<<"\n";
} | [
"abhic7721@gmail.com"
] | abhic7721@gmail.com |
f098a0a95e7db4c22ebd7c073a1b8c15a53750ba | a7764174fb0351ea666faa9f3b5dfe304390a011 | /src/RWStepFEA/RWStepFEA_RWNodeRepresentation.cxx | 9548b132f4c0121ebf4ee5407b578df7cb57e159 | [] | no_license | uel-dataexchange/Opencascade_uel | f7123943e9d8124f4fa67579e3cd3f85cfe52d91 | 06ec93d238d3e3ea2881ff44ba8c21cf870435cd | refs/heads/master | 2022-11-16T07:40:30.837854 | 2020-07-08T01:56:37 | 2020-07-08T01:56:37 | 276,290,778 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,321 | cxx | // File: RWStepFEA_RWNodeRepresentation.cxx
// Created: Thu Dec 12 17:51:06 2002
// Author: data exchange team
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
// Copyright: Open CASCADE 2002
#include <RWStepFEA_RWNodeRepresentation.ixx>
#include <StepRepr_HArray1OfRepresentationItem.hxx>
#include <StepRepr_RepresentationItem.hxx>
//=======================================================================
//function : RWStepFEA_RWNodeRepresentation
//purpose :
//=======================================================================
RWStepFEA_RWNodeRepresentation::RWStepFEA_RWNodeRepresentation ()
{
}
//=======================================================================
//function : ReadStep
//purpose :
//=======================================================================
void RWStepFEA_RWNodeRepresentation::ReadStep (const Handle(StepData_StepReaderData)& data,
const Standard_Integer num,
Handle(Interface_Check)& ach,
const Handle(StepFEA_NodeRepresentation) &ent) const
{
// Check number of parameters
if ( ! data->CheckNbParams(num,4,ach,"node_representation") ) return;
// Inherited fields of Representation
Handle(TCollection_HAsciiString) aRepresentation_Name;
data->ReadString (num, 1, "representation.name", ach, aRepresentation_Name);
Handle(StepRepr_HArray1OfRepresentationItem) aRepresentation_Items;
Standard_Integer sub2 = 0;
if ( data->ReadSubList (num, 2, "representation.items", ach, sub2) ) {
Standard_Integer nb0 = data->NbParams(sub2);
aRepresentation_Items = new StepRepr_HArray1OfRepresentationItem (1, nb0);
Standard_Integer num2 = sub2;
for ( Standard_Integer i0=1; i0 <= nb0; i0++ ) {
Handle(StepRepr_RepresentationItem) anIt0;
data->ReadEntity (num2, i0, "representation_item", ach, STANDARD_TYPE(StepRepr_RepresentationItem), anIt0);
aRepresentation_Items->SetValue(i0, anIt0);
}
}
Handle(StepRepr_RepresentationContext) aRepresentation_ContextOfItems;
data->ReadEntity (num, 3, "representation.context_of_items", ach, STANDARD_TYPE(StepRepr_RepresentationContext), aRepresentation_ContextOfItems);
// Own fields of NodeRepresentation
Handle(StepFEA_FeaModel) aModelRef;
data->ReadEntity (num, 4, "model_ref", ach, STANDARD_TYPE(StepFEA_FeaModel), aModelRef);
// Initialize entity
ent->Init(aRepresentation_Name,
aRepresentation_Items,
aRepresentation_ContextOfItems,
aModelRef);
}
//=======================================================================
//function : WriteStep
//purpose :
//=======================================================================
void RWStepFEA_RWNodeRepresentation::WriteStep (StepData_StepWriter& SW,
const Handle(StepFEA_NodeRepresentation) &ent) const
{
// Inherited fields of Representation
SW.Send (ent->StepRepr_Representation::Name());
SW.OpenSub();
for (Standard_Integer i1=1; i1 <= ent->StepRepr_Representation::Items()->Length(); i1++ ) {
Handle(StepRepr_RepresentationItem) Var0 = ent->StepRepr_Representation::Items()->Value(i1);
SW.Send (Var0);
}
SW.CloseSub();
SW.Send (ent->StepRepr_Representation::ContextOfItems());
// Own fields of NodeRepresentation
SW.Send (ent->ModelRef());
}
//=======================================================================
//function : Share
//purpose :
//=======================================================================
void RWStepFEA_RWNodeRepresentation::Share (const Handle(StepFEA_NodeRepresentation) &ent,
Interface_EntityIterator& iter) const
{
// Inherited fields of Representation
for (Standard_Integer i1=1; i1 <= ent->StepRepr_Representation::Items()->Length(); i1++ ) {
Handle(StepRepr_RepresentationItem) Var0 = ent->StepRepr_Representation::Items()->Value(i1);
iter.AddItem (Var0);
}
iter.AddItem (ent->StepRepr_Representation::ContextOfItems());
// Own fields of NodeRepresentation
iter.AddItem (ent->ModelRef());
}
| [
"shoka.sho2@excel.co.jp"
] | shoka.sho2@excel.co.jp |
e330e809e354cb1e6c7ac7a3013331a3702cd85e | dc0ba9bd7a6e5af9c661cbd7cb93e7eebb7d79e6 | /VideoPoker.h | 607a4564f49c2652897a9c68e0c6e97159dea647 | [] | no_license | moecia/GAME-230-VideoPoker | cdbf26c5a11d74cfa2510ba4300861917464d481 | e7d0ec606f7180baeeeb7fd8d72c35cafe37d4ed | refs/heads/master | 2021-07-22T22:56:06.290922 | 2017-11-01T05:08:07 | 2017-11-01T05:08:07 | 108,205,184 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,192 | h | // Project name: GAME-230-Project#3- Video Poker
// Author: Bingnan Li, Nathan
// Created Date: 10/19/2017
//Last Modified Date: 10/24/2017
#define _CRTDBG_MAP_ALLOC
#define _CRTDBG_MAP_ALLOC_NEW
#include <cstdlib>
#include <crtdbg.h>
#ifdef _DEBUG
#ifndef DBG_NEW
#define DBG_NEW new ( _NORMAL_BLOCK , __FILE__ , __LINE__ )
#define new DBG_NEW
#endif
#endif
#ifndef VIDEOPOKER_VIDEOPOKER_H
#define VIDEOPOKER_VIDEOPOKER_H
#include "Deck.h"
#include "HandChecker.h"
#include <string>
#include <iostream>
#define C_KEEP 1
#define C_NONE 2
#define C_ALL 3
#define C_EXIT 4
#define C_SWAP 5
#define C_AGAIN 6
#define C_DECK 7
using namespace std;
int money;
LinkedCardList* drawDeck;
LinkedCardList* discardDeck;
LinkedCardList* playersHand;
void initGame();
void printOrderedDeck(LinkedCardList* deck);
// return description of card in sting.
string getCardDesc(Card*);
void newRound();
void drawFiveToHand();
void printPlayersHand(int keepCount);
void printPrompt();
int getPlayerChoice(bool* toDiscard);
int discardAndDraw(bool* toDiscard);
void doSwap(LinkedCardList* hand, LinkedCardList* drawDeck);
void DiscardInHand();
void freeGameDecks();
#endif //VIDEOPOKER_VIDEOPOKER_H
| [
"leebingnam@hotmail.com"
] | leebingnam@hotmail.com |
f2015fc625226d279c0ef022690172e4b935ebc9 | eeef686523c48b6a146740b6e437845b76eba5c2 | /firmware/esp-wroom-32/dc26-esp/main/npc_interact.cpp | 0d3a2f996301d0a6d1e16b904e4cad65f00a7d72 | [
"MIT"
] | permissive | thedarknet/dc26-badge | 4978dbab386048a043c3eed3df04429a01dcf620 | 63ec6ed78119f4a01306306670271d03764ec5c3 | refs/heads/master | 2021-09-20T17:15:32.536441 | 2018-08-13T05:07:43 | 2018-08-13T05:07:43 | 112,964,686 | 15 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 6,314 | cpp | #include "npc_interact.h"
#include "stm_to_esp_generated.h"
#include "esp_to_stm_generated.h"
#include "lib/System.h"
#include "mcu_to_mcu.h"
#include <esp_http_client.h>
#include <cJSON.h>
#include "dc26.h"
const char *TAG = "httpclient";
std::string HttpResponseStr;
esp_err_t _http_event_handle(esp_http_client_event_t *evt) {
switch(evt->event_id) {
case HTTP_EVENT_ERROR:
ESP_LOGI(TAG, "HTTP_EVENT_ERROR");
break;
case HTTP_EVENT_ON_CONNECTED:
ESP_LOGI(TAG, "HTTP_EVENT_ON_CONNECTED");
break;
case HTTP_EVENT_HEADER_SENT:
ESP_LOGI(TAG, "HTTP_EVENT_HEADER_SENT");
break;
case HTTP_EVENT_ON_HEADER:
ESP_LOGI(TAG, "HTTP_EVENT_ON_HEADER");
//printf("%.*s", evt->data_len, (char*)evt->data);
break;
case HTTP_EVENT_ON_DATA:
ESP_LOGI(TAG, "HTTP_EVENT_ON_DATA, len=%d", evt->data_len);
if (!esp_http_client_is_chunked_response(evt->client)) {
//ESP_LOGI(TAG, "%.*s", evt->data_len, (char*)evt->data);
printf("%.*s", evt->data_len, (char*)evt->data);
HttpResponseStr.append((const char *)evt->data, evt->data_len);
}
break;
case HTTP_EVENT_ON_FINISH:
ESP_LOGI(TAG, "HTTP_EVENT_ON_FINISH");
break;
case HTTP_EVENT_DISCONNECTED:
ESP_LOGI(TAG, "HTTP_EVENT_DISCONNECTED");
break;
}
return ESP_OK;
}
static StaticQueue_t InQueue;
const char *NPCInteractionTask::LOGTAG = "NPCITTask";
static uint8_t CommandBuffer[NPCInteractionTask::NPCMSG_QUEUE_SIZE *
NPCInteractionTask::NPCMSG_ITEM_SIZE] = { 0 };
NPCInteractionTask::NPCInteractionTask(const std::string &tName,
uint16_t stackSize, uint8_t p) : Task(tName,stackSize,p), InQueueHandle(nullptr) {
}
bool NPCInteractionTask::init() {
InQueueHandle = xQueueCreateStatic(NPCMSG_QUEUE_SIZE, NPCMSG_ITEM_SIZE,
&CommandBuffer[0], &InQueue);
if (InQueueHandle == nullptr) {
ESP_LOGI(LOGTAG, "Failed creating incomming queue");
}
return true;
}
void helo(uint32_t msgId) {
HttpResponseStr.clear();
esp_http_client_config_t config;
memset(&config,0,sizeof(config));
config.url = "http://192.168.4.1:8080/npc";
config.event_handler = _http_event_handle;
esp_http_client_handle_t client = esp_http_client_init(&config);
esp_err_t err = esp_http_client_perform(client);
flatbuffers::FlatBufferBuilder fbb;
uint8_t wasError = 0;
std::vector<flatbuffers::Offset<flatbuffers::String>> npcnames;
cJSON *root = 0;
if (err == ESP_OK) {
ESP_LOGI(TAG, "Status = %d, content_length = %d",
esp_http_client_get_status_code(client),
esp_http_client_get_content_length(client));
ESP_LOGI(TAG, "%s", HttpResponseStr.c_str());
ESP_LOGI(TAG, "parising json");
root = cJSON_Parse(HttpResponseStr.c_str());
if(cJSON_IsArray(root->child)) {
ESP_LOGI(TAG, "child is array");
int size = cJSON_GetArraySize(root->child);
for(int i=0;i<size;i++) {
cJSON *item = cJSON_GetArrayItem(root->child, i);
ESP_LOGI(TAG,"item %d, %s", i, cJSON_GetStringValue(item));
auto n = fbb.CreateString(cJSON_GetStringValue(item), strlen(cJSON_GetStringValue(item)));
npcnames.push_back(n);
}
} else {
wasError = 1;
}
} else {
wasError = 1;
}
auto s = darknet7::CreateNPCListDirect(fbb,&npcnames,wasError);
flatbuffers::Offset<darknet7::ESPToSTM> of =
darknet7::CreateESPToSTM(fbb, msgId, darknet7::ESPToSTMAny_NPCList, s.Union());
darknet7::FinishSizePrefixedESPToSTMBuffer(fbb, of);
getMCUToMCU().send(fbb);
if(root) cJSON_Delete(root);
esp_http_client_cleanup(client);
}
void interact(NPCInteractionTask::NPCMsg *m) {
HttpResponseStr.clear();
esp_http_client_config_t config;
std::string url = "http://192.168.4.1:8080/npc/";
url+=m->NpcName;
if(m->Action[0]!='\0') {
url.append("/");
url.append(m->Action);
}
memset(&config,0,sizeof(config));
config.url = url.c_str();
config.event_handler = _http_event_handle;
esp_http_client_handle_t client = esp_http_client_init(&config);
esp_err_t err = esp_http_client_perform(client);
flatbuffers::FlatBufferBuilder fbb;
std::vector<flatbuffers::Offset<flatbuffers::String>> actions;
uint8_t wasError = 0;
char *name = 0;
char *desc = 0;
uint32_t infections=0;
cJSON *root = 0;
char *resp = 0;
if (err == ESP_OK) {
ESP_LOGI(TAG, "Status = %d, content_length = %d",
esp_http_client_get_status_code(client),
esp_http_client_get_content_length(client));
ESP_LOGI(TAG, "%s", HttpResponseStr.c_str());
ESP_LOGI(TAG, "parising json");
root = cJSON_Parse(HttpResponseStr.c_str());
cJSON *a = cJSON_GetObjectItem(root,(const char *)"a");
cJSON *d = cJSON_GetObjectItem(root,(const char *)"d");
cJSON *ji = cJSON_GetObjectItem(root,(const char *)"i");
cJSON *n = cJSON_GetObjectItem(root,(const char *)"n");
cJSON *r = cJSON_GetObjectItem(root,(const char *)"r");
if(a && d && ji && n && cJSON_IsArray(a) && cJSON_IsArray(ji)) {
ESP_LOGI(TAG, "actions and infects is an arrary");
int size = cJSON_GetArraySize(a);
for(int i=0;i<size;i++) {
cJSON *item = cJSON_GetArrayItem(a, i);
ESP_LOGI(TAG,"item %d, %s", i, cJSON_GetStringValue(item));
auto n = fbb.CreateString(cJSON_GetStringValue(item), strlen(cJSON_GetStringValue(item)));
actions.push_back(n);
}
size = cJSON_GetArraySize(ji);
for(int i=0;i<size;i++) {
infections|=cJSON_GetArrayItem(ji,i)->valueint;
}
name = cJSON_GetStringValue(n);
desc = cJSON_GetStringValue(d);
resp = cJSON_GetStringValue(r);
} else {
wasError = 1;
}
} else {
wasError = 1;
}
auto s = darknet7::CreateNPCInteractionResponseDirect(fbb,name, desc, &actions, (uint16_t)infections, resp, wasError);
flatbuffers::Offset<darknet7::ESPToSTM> of =
darknet7::CreateESPToSTM(fbb, m->MsgID, darknet7::ESPToSTMAny_NPCInteractionResponse, s.Union());
darknet7::FinishSizePrefixedESPToSTMBuffer(fbb, of);
getMCUToMCU().send(fbb);
if(root) cJSON_Delete(root);
esp_http_client_cleanup(client);
}
void NPCInteractionTask::run(void *data) {
ESP_LOGI(LOGTAG, "NPCInteractionTask started");
while (1) {
NPCMsg *m=0;
if (xQueueReceive(getQueueHandle(), &m, (TickType_t) 1000 / portTICK_PERIOD_MS)) {
if(m->RType==NPCMsg::HELO) {
ESP_LOGI(LOGTAG,"got HELO");
helo(m->MsgID);
} else if (m->RType==NPCMsg::INTERACT) {
ESP_LOGI(LOGTAG,"got Interact");
interact(m);
}
delete m;
}
}
}
NPCInteractionTask::~NPCInteractionTask() { }
| [
"cmdc0dez@gmail.com"
] | cmdc0dez@gmail.com |
093e9bd1ea4d0bece1d76a0536dd603a9795470a | edd89fe7e25d254b4532847ad4572af1222fad84 | /CDDriveTest/CDProgressListener.h | bb7b8fc39f0ee44232e2bff52c97c37395c57659 | [] | no_license | steelfire81/CD-Ripper | b3d1997d724123f7cc3c455bf94c920a6e404c40 | ddbd544db8410f21197e5401dc788e7eca3c1b97 | refs/heads/master | 2020-04-06T07:02:29.265618 | 2019-12-02T23:44:08 | 2019-12-02T23:44:08 | 63,886,599 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 342 | h | #pragma once
// Abstract outline for classes listening for import progress
class CDProgressListener {
public:
// called when song import ends
virtual void notifyEnd() = 0;
// called whenever sectors are read
virtual void notifyProgress(double progress) = 0;
// called when song import begins
virtual void notifyStart() = 0;
}; | [
"wcrobbins@loyola.edu"
] | wcrobbins@loyola.edu |
3f671e37c150f437577ff13fee940fef4d072c19 | 2b2895cac4b5d7cf94b1aa637f5e9920ec76e603 | /BSSCode/4.25/01 线性表/01 线性表/main.cpp | ef4f2a068ac35dfbf42b73d66923e023fd98e0a1 | [] | no_license | shangxiaofeng/DataStructure | ae721a720a2a874f2c56b9a50bf6d762ebe3f7fe | 205733da8b4ae537592d0ee4fee12004abc25c2f | refs/heads/master | 2022-07-27T03:45:11.939267 | 2020-05-24T14:44:04 | 2020-05-24T14:44:04 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,034 | cpp | #include"Seqlist.h"
void Menu(){
printf("******************************************\n");
printf("***[0] EXIT [1] PushBack ***\n");
printf("***[2] DELETE [3] MODIFY ***\n");
printf("***[4] SHOW [5] CLEAR ***\n");
}
int main(){
ElemType item;
SeqList MyList;
SeqListInit(&MyList);
int select = 1;
while (select){
Menu();
int select;
printf("请选择您的服务:>");
scanf("%d", &select);
if (select == 0){
break;
}
switch (select){
case 1:
printf("请输入您要插入的数据(以 -1 结束):>");
while (scanf("%d", &item), item != -1){
SeqListPush_back(&MyList, item);
}
break;
case 2:
break;
case 3:
printf("请输入您要插入的数据(以 -1 结束):>");
while (scanf("%d", &item), item != -1){
SeqListPush_front(&MyList, item);
}
break;
case 4:
SeqListShow(&MyList);
break;
case 5:
SeqListDestroy(&MyList);
break;
default:
break;
}
}
printf("ByeBye...\n");
return 0;
} | [
"xxxxshang@163.com"
] | xxxxshang@163.com |
13463c8f8a397b9cb3b977a7f6795f39b1defb1f | d50b5cc908f06facaed95c4558c296227270f62c | /UVA/AdHoc/ZerosOnes.cpp | 0a1bac4aeeff827ba4b106507ac0f06a9d45f56b | [] | no_license | marcelomata/competitive-programming-1 | e24ac3bc129cb4aae2544c03252fc9dd55351c55 | c0631e1f0eb52c6f13b0d047ea976ce61bf0991f | refs/heads/master | 2023-03-17T17:41:28.636855 | 2021-02-28T16:44:50 | 2021-02-28T16:44:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 721 | cpp | #include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <bitset>
#include <sstream>
#include <set>
#include <map>
#include <queue>
#include <stack>
#include <cstdio>
#include <cmath>
#include <cstdlib>
#include<stdio.h>
#include<string.h>
using namespace std;
int main() {
char c[2000000];
int casos,j,min,max,k=1;
while(scanf("%s",c) == 1){
cout<<c<<endl;
cout<<"Case "<<k<<":"<<endl;
cin>>casos;
for(int i = 0; i< casos; i++){
cin>>min>>max;
if(min > max){
int aux = min;
min = max;
max = aux;
}
for(j=min; j<max;j++){
if(c[j] != c[j+1]) {
cout<<"No"<<endl;
break;
}
}
if(j == max) cout<<"Yes"<<endl;
}
k++;
}
return 0;
}
| [
"kleiber.ttito@sap.com"
] | kleiber.ttito@sap.com |
2d1c0c1d0d95921e086a37442ef93201760b6c57 | 58cb65feef50f25bb531f2d85ae33c0397ac61ce | /Project_TPL/SourceCode/ActorPool.h | f50f12743f7b1b72168f5e586d7cf8ff9a875a66 | [] | no_license | Yutaro-Ono/Project_TPL | 25032c5b40345825714c52eccd2eded00a32529b | 36dff1210922bd4f7d9fa5ce5af2ea674bd3e130 | refs/heads/main | 2023-07-03T11:25:19.044183 | 2021-07-25T15:01:10 | 2021-07-25T15:01:10 | 349,318,935 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 591 | h | //----------------------------------------------------------------------------------+
// @file ActorPool.h
// @brief アクタープール (Actorクラスを管理する)
// @note
// @author 小野 湧太郎 (Yutaro Ono, @2021)
//
// @changelog
// 2021/ 5/14 新規作成
//----------------------------------------------------------------------------------+
#pragma once
#include "ObjectPool.h"
#include "Actor.h"
class ActorPool : public ObjectPool<Actor>
{
public:
ActorPool();
~ActorPool();
void UpdateObjects(float _deltaTime) override;
private:
}; | [
"ono.yutaro.tec0623@gmail.com"
] | ono.yutaro.tec0623@gmail.com |
46376a3eed2fe4a3df0a55d9fc52bdfa87249daa | b02367286ea0ed4f56d39a584c113a0d9827897f | /Engine/matrix.h | eacfee4f67dec681388190876e13a89d69448e48 | [] | no_license | APerricone/PerryEngine | 84618e711afa15abd870707f09b9006ffd219f77 | 93b030d8a6ae6793a6851afdc3b18c48b1323ac3 | refs/heads/master | 2023-04-06T18:15:07.026769 | 2023-03-29T12:31:36 | 2023-03-29T12:31:36 | 69,440,446 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,061 | h | #pragma once
#include "vector.h"
#include "sphere.h"
//*
template<typename type,int nComp>
class SquareMatrix
{
protected:
type m[nComp*nComp];
public:
typedef Vector<type,nComp> Point;
typedef SquareMatrix<type,nComp> Matrix;
SquareMatrix() {}
operator type*() { return m; }
operator const type*() const { return m; }
void Zero();
void Identity();
void GetTranspose(Matrix& oDest) const;
void GetRotatePart(SquareMatrix<type,nComp-1>& oDest) const;
void Multiply(const Matrix& a,const Matrix& b);
Vector<type,nComp> Transform(const Vector<type,nComp>& iVec) const;
Sphere<type,nComp-1> TransformSphere(const Sphere<type,nComp-1>& iVec) const;
Point GetRow(int i) const { Point r; for(int j=0;j<nComp;j++) r[j] = m[i*nComp+j]; return r; }
void GetRow(int i,Point& d) const { for(int j=0;j<nComp;j++) d[j] = m[i*nComp+j];}
void SetRow(int i,const Point& p) { for(int j=0;j<nComp;j++) m[i*nComp+j] = p[j];}
Point GetCol(int i) const { Point r; for(int j=0;j<nComp;j++) r[j] = m[i+nComp*j]; return r; }
void GetCol(int i,Point& d) const { for(int j=0;j<nComp;j++) d[j] = m[i+nComp*j];}
void SetCol(int i,const Point& p) { for(int j=0;j<nComp;j++) m[i+nComp*j] = p[j];}
Matrix& operator+=(const Matrix& b) { for(int i=0;i<nComp*nComp;i++) m[i] += b[i]; return *this; }
Matrix& operator/=(const float& b) { for(int i=0;i<nComp*nComp;i++) m[i] /= b; return *this; }
//*/
};
template<typename type>
class Matrix2 : public SquareMatrix<type,2>
{
using SquareMatrix<type,2>::m;
public:
typedef SquareMatrix<type,2> Matrix;
typedef Vector<type,2> Point;
bool GetInvert(Matrix& oDest) const;
void Rotate(type alpha) { Rotate(type(cos(alpha)),type(sin(alpha))); }
void Rotate(type cosa,type sina);
Point GetRg() const { return SquareMatrix<type,2>::GetRow(0); }
Point GetUp() const { return SquareMatrix<type,2>::GetRow(1); }
void GetRg(Point& d) const { SquareMatrix<type,2>::GetRow(0,d); }
void GetUp(Point& d) const { SquareMatrix<type,2>::GetRow(1,d); }
void SetRg(const Point& p) { SquareMatrix<type,2>::SetRow(0,p); }
void SetUp(const Point& p) { SquareMatrix<type,2>::SetRow(1,p); }
};
template<typename type>
class Matrix3 : public SquareMatrix<type,3>
{
using SquareMatrix<type,3>::m;
public:
typedef SquareMatrix<type,3> Matrix;
typedef Vector<type,3> Point;
Sphere<type,2> TransformCircle(const Sphere<type,2>& iVec) const;
bool GetInvert(Matrix& oDest) const;
void SetLookAt(const Vector<type,2>& p,const Vector<type,2>& l);
// like transform 2D
void Rotate(type alpha) { RotateZ(type(cos(alpha)),type(sin(alpha))); }
void Rotate(type cosa,type sina) { RotateZ(cosa,sina); }
// like rotation 3D
void RotateX(float alpha) { RotateX(cosf(alpha),sinf(alpha)); }
void RotateY(float alpha) { RotateY(cosf(alpha),sinf(alpha)); }
void RotateZ(float alpha) { RotateZ(cosf(alpha),sinf(alpha)); }
void RotateAxis(const Point& axis,float alpha) { RotateAxis(axis,cosf(alpha),sinf(alpha)); }
void RotateX(float cosa,float sina);
void RotateY(float cosa,float sina);
void RotateZ(float cosa,float sina);
void RotateAxis(const Vector<type,3>& axis,float cosa,float sina);
Point GetRg() const { return SquareMatrix<type,3>::GetRow(0); }
Point GetUp() const { return SquareMatrix<type,3>::GetRow(1); }
Point GetAt() const { return SquareMatrix<type,3>::GetRow(2); } //like rotation 3D
Point GetPos() const { return SquareMatrix<type,3>::GetRow(2); } // like transform 2D
void GetRg(Point& d) const { SquareMatrix<type,3>::GetRow(0,d); }
void GetUp(Point& d) const { SquareMatrix<type,3>::GetRow(1,d); }
void GetAt(Point& d) const { SquareMatrix<type,3>::GetRow(2,d); } //like rotation 3D
void GetPos(Point& d) const { SquareMatrix<type,3>::GetRow(2,d); } // like transform 2D
void SetRg(const Point& p) { SquareMatrix<type,3>::SetRow(0,p); }
void SetUp(const Point& p) { SquareMatrix<type,3>::SetRow(1,p); }
void SetAt(const Point& p) { SquareMatrix<type,3>::SetRow(2,p); } //like rotation 3D
void SetPos(const Point& p) { SquareMatrix<type,3>::SetRow(2,p); } // like transform 2D
void Translate(const Point& t);
};
template<typename type>
class Matrix4 : public SquareMatrix<type,4>
{
using SquareMatrix<type,4>::m;
public:
typedef SquareMatrix<type,4> Matrix;
typedef Vector<type,4> Point;
bool GetInvert(Matrix& oDest) const;
void SetLookAt(const Vector<type,3>& p,const Vector<type,3>& l);
void RotateX(float alpha) { RotateX(cosf(alpha),sinf(alpha)); }
void RotateY(float alpha) { RotateY(cosf(alpha),sinf(alpha)); }
void RotateZ(float alpha) { RotateZ(cosf(alpha),sinf(alpha)); }
void RotateAxis(const Vector<type,3>& axis,float alpha) { RotateAxis(axis,cosf(alpha),sinf(alpha)); }
void RotateX(float cosa,float sina);
void RotateY(float cosa,float sina);
void RotateZ(float cosa,float sina);
void RotateAxis(const Vector<type,3>& axis,float cosa,float sina);
Point GetRg() const { return SquareMatrix<type,4>::GetRow(0); }
Point GetUp() const { return SquareMatrix<type,4>::GetRow(1); }
Point GetAt() const { return SquareMatrix<type,4>::GetRow(2); }
Point GetPos() const { return SquareMatrix<type,4>::GetRow(3); }
void GetRg(Point& d) const { SquareMatrix<type,4>::GetRow(0,d); }
void GetUp(Point& d) const { SquareMatrix<type,4>::GetRow(1,d); }
void GetAt(Point& d) const { SquareMatrix<type,4>::GetRow(2,d); }
void GetPos(Point& d) const { SquareMatrix<type,4>::GetRow(3,d); }
void SetRg(const Point& p) { SquareMatrix<type,4>::SetRow(0,p); }
void SetUp(const Point& p) { SquareMatrix<type,4>::SetRow(1,p); }
void SetAt(const Point& p) { SquareMatrix<type,4>::SetRow(2,p); }
void SetPos(const Point& p) { SquareMatrix<type,4>::SetRow(3,p); }
void Translate(const Point& t);
};
//*/
template<typename type,int nComp>
SquareMatrix<type,nComp> operator+(const SquareMatrix<type,nComp> &a,const SquareMatrix<type,nComp> &b);
#include "matrix.inl"
typedef Matrix2<float> Matrix2f;
typedef Matrix3<float> Matrix3f;
typedef Matrix4<float> Matrix4f;
typedef Matrix2<double> Matrix2d;
typedef Matrix3<double> Matrix3d;
typedef Matrix4<double> Matrix4d;
| [
"don_perricone@libero.it"
] | don_perricone@libero.it |
3421fe5edc0b0fc5370b3f90392beaea247c0a9a | 6b4b73443fd76f65bc00272f46fbf5414dcec2b4 | /include/SensorData.h | ba2a8e876177e52fb2c69f9493f460858b6541ec | [
"MIT"
] | permissive | hsbsw/hAIR | ff7baca053e3630f1eb288035cd516d2d7c26138 | d7fa988dd639ced63acae3b1e980d39ee3c8412e | refs/heads/master | 2023-05-28T00:49:23.260077 | 2021-06-04T15:17:50 | 2021-06-04T15:17:50 | 372,470,448 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,320 | h | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// hAIR - HSB Air Station
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// MIT License
///
/// Copyright (c) 2021 hsbsw (https://github.com/hsbsw)
///
/// Permission is hereby granted, free of charge, to any person obtaining a copy
/// of this software and associated documentation files (the "Software"), to deal
/// in the Software without restriction, including without limitation the rights
/// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
/// copies of the Software, and to permit persons to whom the Software is
/// furnished to do so, subject to the following conditions:
///
/// The above copyright notice and this permission notice shall be included in all
/// copies or substantial portions of the Software.
///
/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
/// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
/// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
/// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
/// SOFTWARE.
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#pragma once
#include "Utilities.h"
#include <Arduino.h>
#include <sstream>
struct SensorData
{
template<typename T>
static String helper_toJSONtxt_raw(const T& obj)
{
std::stringstream ss;
obj.appendJSONtxt(ss);
return ss.str().c_str();
}
template<typename T>
static String helper_toJSONtxt(const T& obj)
{
std::stringstream ss;
ss << '{';
obj.appendJSONtxt(ss);
ss << '}';
return ss.str().c_str();
}
struct SGP_IAQ
{
bool isValid;
uint16_t TVOC; // [ppb]
uint16_t eCO2; // [ppm]
void appendJSONtxt(std::stringstream& ss) const
{
ss << "\"SGP30_IAQ\": {"
<< " \"TVOC\": " << TVOC << ","
<< " \"eCO2\": " << eCO2 << " "
<< "}";
}
String toJSONtxt_raw() const
{
return SensorData::helper_toJSONtxt_raw<SGP_IAQ>(*this);
}
String toJSONtxt() const
{
return SensorData::helper_toJSONtxt<SGP_IAQ>(*this);
}
};
struct SGP_IAQraw
{
bool isValid;
uint16_t rawH2; // [AU]
uint16_t rawEthanol; // [AU]
void appendJSONtxt(std::stringstream& ss) const
{
ss << "\"SGP30_IAQraw\": {"
<< " \"rawH2\": " << rawH2 << ","
<< " \"rawEthanol\": " << rawEthanol << " "
<< "}";
}
String toJSONtxt_raw() const
{
return SensorData::helper_toJSONtxt_raw<SGP_IAQraw>(*this);
}
String toJSONtxt() const
{
return SensorData::helper_toJSONtxt<SGP_IAQraw>(*this);
}
};
struct BME_Data
{
bool isValid;
float temperature{22.1}; // [°C]
float humidity{45.2}; // [%] / [%RH]
float pressure{1013.25}; // [hPa]
void appendJSONtxt(std::stringstream& ss) const
{
ss << "\"BMExxx_Data\": {"
<< " \"temperature\": " << temperature << ","
<< " \"humidity\": " << humidity << ","
<< " \"pressure\": " << pressure << " "
<< "}";
}
String toJSONtxt_raw() const
{
return SensorData::helper_toJSONtxt_raw<BME_Data>(*this);
}
String toJSONtxt() const
{
return SensorData::helper_toJSONtxt<BME_Data>(*this);
}
};
void appendJSONtxt(std::stringstream& ss) const
{
ss << "\"hAIR\": {";
sgp_iaq.appendJSONtxt(ss);
ss << ", ";
sgp_iaqRaw.appendJSONtxt(ss);
ss << ", ";
bme_data.appendJSONtxt(ss);
ss << "}";
}
String toJSONtxt_raw() const
{
return SensorData::helper_toJSONtxt_raw<SensorData>(*this);
}
String toJSONtxt() const
{
return SensorData::helper_toJSONtxt<SensorData>(*this);
}
bool isValid() const
{
return sgp_iaq.isValid && sgp_iaqRaw.isValid && bme_data.isValid;
}
SGP_IAQ sgp_iaq;
SGP_IAQraw sgp_iaqRaw;
BME_Data bme_data;
};
class SensorDataStorage
{
public:
SensorData getCopy()
{
m_mtx.lock();
SensorData tmp{m_data};
m_mtx.unlock();
return tmp;
}
void update(SensorData data)
{
m_mtx.lock();
m_data = data;
m_mtx.unlock();
}
String getCopyAsJSONtxt()
{
return getCopy().toJSONtxt();
}
private:
SensorData m_data;
std::mutex m_mtx{};
};
| [
"hsbsw@posteo.de"
] | hsbsw@posteo.de |
99df0aa5c45ac1deff325fe958fdec24a419a028 | a8a209ed53b0942cd9da26fdc8d3df5e9bee56f9 | /1077/b.cpp | 80c71ee8673b0d55a22fda03fad6e5cc98e11e99 | [] | no_license | ahcub/codeforces-tasks-solutions | a467f8d5e0f2be6e80680ec483c50cbfa4d85796 | 5d14c04681f24415a1cb498a315f76e04ffc4a8c | refs/heads/master | 2020-03-22T00:48:13.380729 | 2020-03-14T15:40:21 | 2020-03-14T15:40:21 | 139,266,377 | 1 | 0 | null | 2020-03-14T13:24:21 | 2018-06-30T17:12:19 | Python | UTF-8 | C++ | false | false | 398 | cpp | #include <iostream>
#include <vector>
using namespace std;
int main()
{
unsigned int n;
cin >> n;
vector<bool> a(n);
for (int i = 0; i < n; ++i) {
bool v;
cin >> v;
a[i] = v;
}
int k = 0;
for (int i = 1; i < n; ++i) {
if (a[i-1] && !a[i] && a[i+1]) {
a[i+1] = false;
k++;
}
}
cout << k << endl;
} | [
"olex.buchkovsky@gmail.com"
] | olex.buchkovsky@gmail.com |
a6639a20fad0b0fef9901044079bc7dd65d48e02 | 7a974976c55fe89a8bdbc6828e41d346e01c3188 | /music/si_funciona_no_hilos.cpp | f36d691b03574a13f541485ba017b912715b3858 | [] | no_license | dieg4231/PDA | 6bd5ed86cad1599125a7c5954689c2a5bee1857e | 75e50ca928e52a0230f5f5657b0ac61ab7f755d0 | refs/heads/master | 2020-07-09T21:31:57.229613 | 2019-11-27T22:38:17 | 2019-11-27T22:38:17 | 204,088,344 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,052 | cpp | #include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <signal.h>
#include <math.h>
#include <jack/jack.h>
// Include FFTW header
#include <thread>
#include <Eigen/Eigen>
#include <Eigen/Eigenvalues>
#include <complex> //needs to be included before fftw3.h for compatibility
#include <fftw3.h>
#include <iostream>
#define WINDOW_SIZE 1024
#define WINDOWS_PER_BUFF_0 6
#define WINDOWS_PER_BUFF_AB 4
#define NUM_CH 2
#define N_SAMPLES_X_MUSIC 8
#define SOUND_SPEED 343
#define RANGE 180
#define N_FRECS 4
FILE * fp;
std::complex<double> *i_fft_a, *i_time_a, *o_fft_a, *o_time_a;
std::complex<double> *i_fft_b, *i_time_b, *o_fft_b, *o_time_b;
std::complex<double> *i_fft_c, *i_time_c, *o_fft_c, *o_time_c;
fftw_plan i_forward_a, o_inverse_a;
fftw_plan i_forward_b, o_inverse_b;
fftw_plan i_forward_c, o_inverse_c;
jack_port_t *input_port, *output_port;
jack_client_t *client;
double *freqs;
double sample_rate;
jack_default_audio_sample_t **in, **out;
jack_port_t **input;
jack_port_t **output;
float mic_distance;
Eigen::MatrixXcd *x;//(NUM_CH,N_SAMPLES_X_MUSIC*512) [6];
Eigen::MatrixXcd x_ct(N_SAMPLES_X_MUSIC,NUM_CH);
Eigen::MatrixXcd x_aux(NUM_CH,NUM_CH);
Eigen::MatrixXcd st_vec(NUM_CH,RANGE);
std::complex<double> music_spectrum[N_FRECS][RANGE];
int cta_n_samples_x_music=0;
int max;
double anlges[RANGE];
double freq ;
std::complex<double> imag(0.0,1.0);
int index_frex[] = {4,6,7,8,51,61};
float avg=0;
int cta_callado=0;
double max_energy =0;
std::complex<double> norm;
int max_energy_index = 0;
bool once = true;
int jack_callback (jack_nframes_t nframes, void *arg)
{
int i,j,k = 0;
avg=0;
for(i = 0; i < NUM_CH; ++i)
{
in[i] = (jack_default_audio_sample_t *)jack_port_get_buffer(input[i],nframes);
out[i] = (jack_default_audio_sample_t *)jack_port_get_buffer(output[i],nframes);
}
for(j = 0; j < nframes; ++j)
{
out[0][j] = in[0][j];
out[1][j] = in[1][j];
}
for(j = 0; j < nframes; ++j)
{
i_time_a[j] = in[0][j];
i_time_b[j] = in[1][j];
// i_time_c[j] = in[2][j];
}
fftw_execute(i_forward_a);
fftw_execute(i_forward_b);
//fftw_execute(i_forward_c);
/* Boton rojo */
for( i = 1; i <= nframes / 2; ++i ) avg += i_fft_a[i].real();
avg /= nframes / 2;
avg > 0.001 ? cta_callado=0 : cta_callado ++ ;
if( cta_callado > 5)
{
fprintf(fp,"*\n");
fflush(fp);
return 0;
}
/*--------------------------------------------*
/*Las frecuencias más reprecentativas*/
if(once)
{
once = false;
max_energy =0;
for( i = 1; i <= nframes/20; ++i )
if ( max_energy < fabs(i_fft_a[i].real()) )
{
index_frex[0] = i;
max_energy=fabs(i_fft_a[i].real());
}
for (j = 1; j < N_FRECS; ++j)
{
max_energy = 0;
for(int i = 0; i <= nframes/20; ++i )
{
if ( max_energy < fabs(i_fft_a[i].real()) && fabs(i_fft_a[i].real()) < fabs(i_fft_a[index_frex[j-1]].real()) && fabs(i_fft_a[i].real()) != fabs(i_fft_a[index_frex[j-1]].real()) )
{
index_frex[j] = i;
max_energy=abs(i_fft_a[i].real());
}
}
}
std::cout << "Frecuencias seleccionadas -----" << std::endl;
for (j = 0; j < N_FRECS; ++j)
std::cout << "FF " << index_frex[j] << " " << freqs[index_frex[j]] << " " << fabs(i_fft_a[index_frex[j]].real()) << std::endl;
}
/*---------------------------------------------------------------*/
if( cta_n_samples_x_music < N_SAMPLES_X_MUSIC)
{
for (i = 0; i < N_FRECS; ++i)
{
x[i](0,cta_n_samples_x_music)= (i_fft_a[index_frex[i]]);
x[i](1,cta_n_samples_x_music)= (i_fft_b[index_frex[i]]);
//x[i](2,cta)= (i_fft_c[index_frex[i]]);//1500 hz
}
++cta_n_samples_x_music;
}
else
{
once = true;
std::cout << "___________________" << std::endl;
for(j=0;j<N_FRECS;j++)
{
freq = freqs[index_frex[j]];
x_ct = x[j].transpose().conjugate();
x_aux = (x[j]*x_ct)/N_SAMPLES_X_MUSIC;
Eigen::ComplexEigenSolver<Eigen::MatrixXcd> es(x_aux);
/*Encdontrando el indice del eigenvalor mas chico*/
max =0;
for(i =1; i<NUM_CH;i++)
if( es.eigenvalues()[i].real() < es.eigenvalues()[max].real() )
max = i;
for( i = 0; i < RANGE ; ++i)
{
st_vec(0,i) = 1;
st_vec(1,i) = exp( -imag * (double)2.0 * M_PI * freq * (double)(mic_distance / SOUND_SPEED) * -sin( ((float)i-90)*M_PI/180.0) );
//st_vec(2,i) = exp( -imag * (double)2.0 * M_PI * freq * (double)(mic_distance / SOUND_SPEED) * -cos( ((float)(150-i) )*M_PI/180.0) );
//std::cout <<"vv "<< (float)i*M_PI/180.0 << std::endl;
}
for( i = 0; i < RANGE ; ++i)
music_spectrum[j][i]= (std::complex<double>)( st_vec.col(i).transpose()*st_vec.col(i) )/(std::complex<double>)(st_vec.col(i).transpose()*es.eigenvectors().col(max)*es.eigenvectors().col(max).transpose()*st_vec.col(i) );
/*Normalizando*/
/*
max=0;
for( i = 1; i < RANGE ; ++i)
if( music_spectrum[j][max].real() < music_spectrum[j][i].real() )
max = i;
norm = music_spectrum[j][max];
for( i = 0; i < RANGE ; ++i)
music_spectrum[j][i] /= norm ;
*/
}
for( j = 1; j < N_FRECS ; ++j)
for( i = 0; i < RANGE ; ++i)
music_spectrum[0][i] *= music_spectrum[j][i];
for( i = 0; i < RANGE ; ++i)
{
fprintf(fp,"%.3f\n", abs(music_spectrum[0][i]));
fflush(fp);
}
fprintf(fp,"-----\n");
fflush(fp);
cta_n_samples_x_music=0;
}
return 0;
}
/**
* JACK calls this shutdown_callback if the server ever shuts down or
* decides to disconnect the client.
*/
void jack_shutdown (void *arg){
exit (1);
}
int main (int argc, char *argv[]) {
const char *client_name = "MUMUMUSIC";
jack_options_t options = JackNoStartServer;
jack_status_t status;
int i,j,k = 0;
char name_aux[50];
for( i = 0; i < RANGE ; ++i)
st_vec(0,i) = 1;
for( i = 0; i <180; ++i)
anlges[i] = i;
fp = popen("python simulator_node.py", "w");
if (fp == NULL) {
printf("popen error\n");
exit(1);
}
mic_distance = atof(argv[1]);
x = (Eigen::MatrixXcd *)malloc(N_FRECS*sizeof(Eigen::MatrixXcd));
for(i=0;i<N_FRECS;i++)
{
x[i]= Eigen::MatrixXcd(NUM_CH,N_SAMPLES_X_MUSIC) ;
}
//JACK PORTS
input = (jack_port_t**)malloc(NUM_CH*sizeof(jack_port_t*));
output = (jack_port_t**)malloc(NUM_CH*sizeof(jack_port_t*));
// IN OUT CALLBACK
in = (jack_default_audio_sample_t** )malloc(NUM_CH * sizeof(jack_default_audio_sample_t*));
out = (jack_default_audio_sample_t** )malloc(NUM_CH *sizeof(jack_default_audio_sample_t*));
for(i = 0; i < NUM_CH; ++i)
{
in[i] = (jack_default_audio_sample_t*)malloc(NUM_CH * sizeof(jack_default_audio_sample_t));
out[i] = (jack_default_audio_sample_t*)malloc(NUM_CH * sizeof(jack_default_audio_sample_t));
}
/* open a client connection to the JACK server */
client = jack_client_open (client_name, options, &status);
if (client == NULL){
/* if connection failed, say why */
printf ("jack_client_open() failed, status = 0x%2.0x\n", status);
if (status & JackServerFailed) {
printf ("Unable to connect to JACK server.\n");
}
exit (1);
}
/* if connection was successful, check if the name we proposed is not in use */
if (status & JackNameNotUnique){
client_name = jack_get_client_name(client);
printf ("Warning: other agent with our name is running, `%s' has been assigned to us.\n", client_name);
}
/* tell the JACK server to call 'jack_callback()' whenever there is work to be done. */
jack_set_process_callback (client, jack_callback, 0);
/* tell the JACK server to call 'jack_shutdown()' if it ever shuts down,
either entirely, or if it just decides to stop calling us. */
jack_on_shutdown (client, jack_shutdown, 0);
/* display the current sample rate. */
//printf ("Sample rate: %d\n", jack_get_sample_rate (client));
//printf ("Window size: %d\n", jack_get_buffer_size (client));
sample_rate = (double)jack_get_sample_rate(client);
int nframes = jack_get_buffer_size (client);
freqs = (double *) malloc(sizeof(double)*nframes);
for(int i = 0; i <= nframes/2; ++i )
{
freqs[i] = i*(sample_rate/nframes);
if( i > 0 && i < nframes/2 )
freqs[nframes -i] = -1*freqs[i];
}
//preparing FFTW3 buffers
//preparing FFTW3 buffers
i_fft_a = (std::complex<double>*) fftw_malloc(sizeof(std::complex<double>) * nframes );
i_time_a = (std::complex<double>*) fftw_malloc(sizeof(std::complex<double>) * nframes );
o_fft_a = (std::complex<double>*) fftw_malloc(sizeof(std::complex<double>) * nframes );
o_time_a = (std::complex<double>*) fftw_malloc(sizeof(std::complex<double>) * nframes );
i_forward_a = fftw_plan_dft_1d(nframes , reinterpret_cast<fftw_complex*>(i_time_a), reinterpret_cast<fftw_complex*>(i_fft_a ), FFTW_FORWARD, FFTW_MEASURE);
o_inverse_a = fftw_plan_dft_1d(nframes , reinterpret_cast<fftw_complex*>(o_fft_a ), reinterpret_cast<fftw_complex*>(o_time_a), FFTW_BACKWARD, FFTW_MEASURE);
i_fft_b = (std::complex<double>*) fftw_malloc(sizeof(std::complex<double>) * nframes );
i_time_b = (std::complex<double>*) fftw_malloc(sizeof(std::complex<double>) * nframes );
o_fft_b = (std::complex<double>*) fftw_malloc(sizeof(std::complex<double>) * nframes );
o_time_b = (std::complex<double>*) fftw_malloc(sizeof(std::complex<double>) * nframes );
i_forward_b = fftw_plan_dft_1d(nframes, reinterpret_cast<fftw_complex*>(i_time_b), reinterpret_cast<fftw_complex*>(i_fft_b ), FFTW_FORWARD, FFTW_MEASURE);
o_inverse_b = fftw_plan_dft_1d(nframes, reinterpret_cast<fftw_complex*>(o_fft_b ), reinterpret_cast<fftw_complex*>(o_time_b), FFTW_BACKWARD, FFTW_MEASURE);
i_fft_c = (std::complex<double>*) fftw_malloc(sizeof(std::complex<double>) * nframes );
i_time_c = (std::complex<double>*) fftw_malloc(sizeof(std::complex<double>) * nframes );
o_fft_c = (std::complex<double>*) fftw_malloc(sizeof(std::complex<double>) * nframes );
o_time_c = (std::complex<double>*) fftw_malloc(sizeof(std::complex<double>) * nframes );
i_forward_c = fftw_plan_dft_1d(nframes, reinterpret_cast<fftw_complex*>(i_time_c), reinterpret_cast<fftw_complex*>(i_fft_c ), FFTW_FORWARD, FFTW_MEASURE);
o_inverse_c = fftw_plan_dft_1d(nframes, reinterpret_cast<fftw_complex*>(o_fft_c ), reinterpret_cast<fftw_complex*>(o_time_c), FFTW_BACKWARD, FFTW_MEASURE);
/* create the agent input port */
for(i = 0; i< NUM_CH; ++i)
{
sprintf(name_aux,"input%d",i+1);
input[i]= jack_port_register(client,name_aux,JACK_DEFAULT_AUDIO_TYPE,JackPortIsInput,0);
sprintf(name_aux,"output%d",i);
output[i]= jack_port_register(client,name_aux,JACK_DEFAULT_AUDIO_TYPE,JackPortIsOutput,0);
}
for(i = 0; i< NUM_CH; ++i)
if (input[i] == NULL || output[i] == NULL )
{
printf("Could not create agent ports. Have we reached the maximum amount of JACK agent ports?\n");
exit (1);
}
/* Tell the JACK server that we are ready to roll.
Our jack_callback() callback will start running now. */
if (jack_activate (client)) {
printf ("Cannot activate client.");
exit (1);
}
//printf ("Agent activated.\n");
/* Connect the ports. You can't do this before the client is
* activated, because we can't make connections to clients
* that aren't running. Note the confusing (but necessary)
* orientation of the driver backend ports: playback ports are
* "input" to the backend, and capture ports are "output" from
* it.
*/
//printf ("Connecting ports... ");
/* Assign our input port to a server output port*/
// Find possible output server port names
const char **serverports_names;
serverports_names = jack_get_ports (client, NULL, NULL, JackPortIsOutput);
//serverports_names = jack_get_ports (client, NULL, NULL, JackPortIsPhysical|JackPortIsOutput);
if (serverports_names == NULL) {
printf("No available physical capture (server output) ports.\n");
exit (1);
}
// Connect the first available to our input port
for(i=0;i<=3;i++)
printf("Aqui %s \n",serverports_names[i]);
for(i = 0; i < NUM_CH; ++i)
{
//if (jack_connect (client, serverports_names[i], jack_port_name (input[i]))) {
// printf("Cannot connect input port.\n");
// exit (1);
//}
}
// free serverports_names variable for reuse in next part of the code
free (serverports_names);
/* Assign our output port to a server input port*/
// Find possible input server port names
serverports_names = jack_get_ports (client, NULL, NULL, JackPortIsPhysical|JackPortIsInput);
if (serverports_names == NULL) {
printf("No available physical playback (server input) ports.\n");
exit (1);
}
// Connect the first available to our output port
for(i = 0; i < NUM_CH; ++i)
{
/*
if (jack_connect (client, jack_port_name (output[i]), serverports_names[i])) {
printf("Cannot connect input port.\n");
exit (1);
}
*/
}
// free serverports_names variable, we're not going to use it again
free (serverports_names);
//printf ("done.\n");
/* keep running until stopped by the user */
sleep (-1);
/* this is never reached but if the program
had some other way to exit besides being killed,
they would be important to call.
*/
jack_client_close (client);
exit (0);
}
| [
"dieg4231@gmail.com"
] | dieg4231@gmail.com |
60fdc3bb698cf12f04584efb7fd3a44c4dbdffea | 1bf8b46afad5402fe6fa74293b464e1ca5ee5fd7 | /Demo/Shenmue3SDK/SDK/WBP_QTETimeGauge_functions.cpp | 4868c3d0b52782faef7d94160e14443dbbfe4b80 | [] | 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 | 2,039 | cpp |
#include "../SDK.h"
// Name: S3Demo, Version: 0.90.0
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Functions
//---------------------------------------------------------------------------
// Function WBP_QTETimeGauge.WBP_QTETimeGauge_C.SetCircleRate
// (Public, BlueprintCallable, BlueprintEvent)
// Parameters:
// float GaugeRate (BlueprintVisible, BlueprintReadOnly, Parm, ZeroConstructor, IsPlainOldData)
void UWBP_QTETimeGauge_C::SetCircleRate(float GaugeRate)
{
static auto fn = UObject::FindObject<UFunction>("Function WBP_QTETimeGauge.WBP_QTETimeGauge_C.SetCircleRate");
UWBP_QTETimeGauge_C_SetCircleRate_Params params;
params.GaugeRate = GaugeRate;
auto flags = fn->FunctionFlags;
UObject::ProcessEvent(fn, ¶ms);
fn->FunctionFlags = flags;
}
// Function WBP_QTETimeGauge.WBP_QTETimeGauge_C.Construct
// (BlueprintCosmetic, Event, Public, BlueprintEvent)
void UWBP_QTETimeGauge_C::Construct()
{
static auto fn = UObject::FindObject<UFunction>("Function WBP_QTETimeGauge.WBP_QTETimeGauge_C.Construct");
UWBP_QTETimeGauge_C_Construct_Params params;
auto flags = fn->FunctionFlags;
UObject::ProcessEvent(fn, ¶ms);
fn->FunctionFlags = flags;
}
// Function WBP_QTETimeGauge.WBP_QTETimeGauge_C.ExecuteUbergraph_WBP_QTETimeGauge
// ()
// Parameters:
// int EntryPoint (BlueprintVisible, BlueprintReadOnly, Parm, ZeroConstructor, IsPlainOldData)
void UWBP_QTETimeGauge_C::ExecuteUbergraph_WBP_QTETimeGauge(int EntryPoint)
{
static auto fn = UObject::FindObject<UFunction>("Function WBP_QTETimeGauge.WBP_QTETimeGauge_C.ExecuteUbergraph_WBP_QTETimeGauge");
UWBP_QTETimeGauge_C_ExecuteUbergraph_WBP_QTETimeGauge_Params params;
params.EntryPoint = EntryPoint;
auto flags = fn->FunctionFlags;
UObject::ProcessEvent(fn, ¶ms);
fn->FunctionFlags = flags;
}
}
#ifdef _MSC_VER
#pragma pack(pop)
#endif
| [
"35783139+LemonHaze420@users.noreply.github.com"
] | 35783139+LemonHaze420@users.noreply.github.com |
9dd703cb79c47b8cf82945b5b206c444931df819 | 71599d9781f65a725e450208944c069a5b062358 | /poj/poj-3592.cpp | f7ce0cb0ebaeadb2eda86afd6b72a0d8242f0320 | [] | no_license | shuangde/ACM-ICPC-Record | 74babe24f5fe13ea5b9d33b29de5af138eef54cc | 1f450d543e7c434af84c0dcaf9de752956aef94f | refs/heads/master | 2021-01-17T12:07:19.159554 | 2014-08-16T08:04:02 | 2014-08-16T08:04:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,549 | cpp |
// 强连通分量缩点,DAG最长路
//shuangde
#include <iostream>
#include <cstdio>
#include <algorithm>
#include <vector>
#include <queue>
#include <cmath>
#include <cstring>
#include <string>
#include <map>
#include <set>
#define MP make_pair
#define PB push_back
#define SQ ((x)*(x))
#define clr(a,b) memset(a, (b), sizeof(a))
#define cmax(a,b) a=max(a, (b))
#define cmin(a,b) a=min(a, (b))
#define rep(i, n) for(int i=0;i<(n);++i)
#define ff(i, n) for(int i=1;i<=(n);++i)
#define ra(e, u) for(int e=head[(u)];e!=-1;e=E[e].next)
#define rv(u, i) for(int i=0;i<adj[u].size();++i)
using namespace std;
typedef pair<int, int >PII;
typedef long long int64;
const double PI = acos(-1.0);
const int INF = 0x3f3f3f3f;
const double eps = 1e-8;
const int N = 2010;
const int M = N*4;
template <class T>
inline void rd(T &ret) {
char c; ret = 0;
while ((c = getchar()) < '0' || c > '9');
while (c >= '0' && c <= '9') ret = ret * 10 + (c - '0'), c = getchar();
}
namespace Adj {
int size, head[N];
struct Edge {
int v, next; // 可根据题目需求变化,例如增加权值w
}E[M*2];
void init() {
size = 0;
memset(head, -1, sizeof(head));
}
void addEdge(int u, int v) {
E[size].v = v;
E[size].next = head[u];
head[u] = size++;
}
} using namespace Adj;
int dfn[N], low[N], sta[N], belong[N], val[N], tot[N], idx, top, bcnt;
bool instack[N];
void tarjan(int u) {
low[u] = dfn[u] = idx++;
sta[top++] = u; instack[u] = true;
ra(e, u) {
int v = E[e].v;
if (dfn[v] < 0) {
tarjan(v);
cmin(low[u], low[v]);
} else if (instack[v]) {
cmin(low[u], dfn[v]);
}
}
if (dfn[u] == low[u]) {
++bcnt; int v;
tot[bcnt] = 0;
do {
v = sta[--top];
tot[bcnt] += val[v];
instack[v] = false;
belong[v] = bcnt;
} while ( u != v);
}
}
void findScc(int n) {
idx = top = bcnt = 0;
clr(instack, 0);
clr(dfn, -1);
rep(i, n) if (dfn[i]<0) tarjan(i);
}
char mat[50][50];
vector<int>adj[N];
bool in[N];
int f[N];
int dfs(int u) {
if (f[u] != -1) return f[u];
f[u] = tot[u];
int tmp = 0;
rv(u,i) {
int v = adj[u][i];
cmax(tmp, dfs(v));
}
return f[u]+=tmp;
}
int main() {
int T, n, m;
scanf("%d", &T);
while (T--) {
scanf("%d%d", &n, &m);
rep(i, n) {
scanf("%s", mat[i]);
}
init();
clr(val, 0);
vector<int>pos;
rep(i, n) rep(j, m) if (mat[i][j] != '#') {
if (mat[i][j] == '*') {
pos.PB(i*m+j);
}
if (mat[i][j] != '*')val[i*m+j] = mat[i][j] - '0';
if (i+1 < n && mat[i+1][j] != '#') {
addEdge(i*m+j, (i+1)*m+j);
}
if (j+1 < m && mat[i][j+1] != '#') {
addEdge(i*m+j, i*m+j+1);
}
}
rep(i, pos.size()) {
int x, y; scanf("%d%d", &x, &y);
if (mat[x][y] != '#') addEdge(pos[i], x*m+y);
}
findScc(n*m);
ff(i, bcnt) {
in[i] = true;
adj[i].clear();
}
rep(u, n*m) ra(e, u) {
int v = E[e].v;
if (belong[u] != belong[v]) {
adj[belong[u]].push_back(belong[v]);
in[belong[v]] = false;
}
}
clr(f, -1);
printf("%d\n", dfs(belong[0]));
}
return 0;
}
| [
"zengshuangde@gmail.com"
] | zengshuangde@gmail.com |
44a4ad240c7d2abb0eb1987f04dff6a44e7fd20b | aaf47af4fc84f174ee9f24170649d3ac5a0e5919 | /Include/Inventor/Win/devices/SoWinInputFocusCommon.cpp | 1a5cbdbc865e50759fc527a255d9c1f2e929eb1b | [] | no_license | googleknight/Coin3D | 182239680d55ed73fcba4b467636d4fcaab19a4f | e225e2cfee268abbeebb588ce473d4beb541cb03 | refs/heads/master | 2020-05-25T23:26:09.015438 | 2016-06-07T05:28:13 | 2016-06-07T05:28:13 | 60,582,520 | 9 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,937 | cpp | // src\Inventor\Win\devices\SoWinInputFocusCommon.cpp. Generated from SoGuiInputFocus.cpp.in by configure.
/**************************************************************************\
*
* This file is part of the Coin 3D visualization library.
* Copyright (C) by Kongsberg Oil & Gas Technologies.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* ("GPL") version 2 as published by the Free Software Foundation.
* See the file LICENSE.GPL at the root directory of this source
* distribution for additional information about the GNU GPL.
*
* For using Coin with software that can not be combined with the GNU
* GPL, and for taking advantage of the additional benefits of our
* support services, please contact Kongsberg Oil & Gas Technologies
* about acquiring a Coin Professional Edition License.
*
* See http://www.coin3d.org/ for more information.
*
* Kongsberg Oil & Gas Technologies, Bygdoy Alle 5, 0257 Oslo, NORWAY.
* http://www.sim.no/ sales@sim.no coin-support@coin3d.org
*
\**************************************************************************/
/*!
\class SoWinInputFocus SoWinInputFocus.h Inventor/Win/devices/SoWinInputFocus.h
\brief The SoWinInputFocus class is an abstraction for widget focus events as an input device.
\ingroup devices
This device class is a "virtual device" which can be used to get
events when the mouse pointer enters or leaves a specific widget.
*/
// *************************************************************************
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif // HAVE_CONFIG_H
#include <Inventor/Win/devices/SoWinInputFocus.h>
#include <Inventor/Win/devices/SoGuiInputFocusP.h>
// *************************************************************************
SOWIN_OBJECT_SOURCE(SoWinInputFocus);
// *************************************************************************
/*!
\enum SoWinInputFocus::Events
Bit-wise enumeration over events handled by the SoWinInputFocus
device class. Used in the SoWinInputFocus constructor.
*/
/*!
\var SoWinInputFocus::Events SoWinInputFocus::ENTER_WINDOW
Maskbit for receiving events when focus comes to a widget.
*/
/*!
\var SoWinInputFocus::Events SoWinInputFocus::LEAVE_WINDOW
Maskbit for receiving events when focus leaves a widget.
*/
/*!
\var SoWinInputFocus::Events SoWinInputFocus::ALL_EVENTS
Combined bitmask for all possible events.
*/
/*!
\fn SoWinInputFocus::SoWinInputFocus(int mask)
Constructor. The \a mask specifies which focus-related events to
handle. Others will just be ignored.
*/
// *************************************************************************
SoGuiInputFocusP::SoGuiInputFocusP(SoWinInputFocus * p)
{
this->pub = p;
}
SoGuiInputFocusP::~SoGuiInputFocusP()
{
}
// *************************************************************************
| [
"mathur1995@gmail.com"
] | mathur1995@gmail.com |
d081ce9d3c770bab512ce80be876e9d17b3f5d0f | 98eca557283fe549bf3438ec79c3f3b3fa46deba | /cpp/201_300/283.cpp | 11b592ebda0edff1aa897adcc91e0098be41b30e | [] | no_license | hilings/leetcode | cd9f14c6430872f4e6b9bed3460b03f31b82d5b9 | b6e14cc3e5eb84eea13fbecfa9f2031caf1fab9a | refs/heads/master | 2022-06-19T04:13:09.492736 | 2022-06-17T06:41:04 | 2022-06-17T06:41:04 | 33,797,308 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 791 | cpp | //
// 283.cpp
// leetcode
//
// Created by Hang Zhang on 5/24/16.
// Copyright © 2016 Hilings Studio. All rights reserved.
//
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
class Solution {
public:
void moveZeroes(vector<int>& nums) {
int inz = 0;
for (int i = 0; i < (int)nums.size(); i++) {
if (nums[i] == 0)
continue;
if (inz < i)
swap(nums[inz], nums[i]);
inz++;
}
}
};
int main(int arg, char *argv[]) {
// insert code here...
cout << "LeetCode 283. Move Zeroes, C++ ...\n\n";
Solution sol;
vector<int> nums {0,1,0,3,12};
sol.moveZeroes(nums);
for (int a: nums) {
cout << a << ' ';
}
return 0;
} | [
"hangzhang.h@gmail.com"
] | hangzhang.h@gmail.com |
f544d25be8ce4c514cf87a726a564814c0a3cda8 | 214e51a9baaad80b91f8632c9ee2b85f471ed8d3 | /src/ast/AstNode.h | 4b0034238f79d950c6260497686828c6343d2aa5 | [] | no_license | ditrytus/noam | 4d94946e11ff7a6f500bc368daa8c4c4f0480adf | a724f615a4caa25695abe46241d06d781f81dfb9 | refs/heads/master | 2020-03-23T00:58:00.875092 | 2018-08-12T13:27:09 | 2018-08-12T13:27:09 | 140,894,242 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 511 | h | #pragma once
#include <memory>
#include <vector>
#include "noam-symbols.h"
namespace noam {
class AstNode {
public:
const std::vector<std::shared_ptr<const AstNode>> &getChildren() const;
void appendChild(std::shared_ptr<AstNode> child);
void prependChild(std::shared_ptr<AstNode> child);
virtual ~AstNode() = default;
virtual std::shared_ptr<Symbol> getHead() = 0;
private:
std::vector<std::shared_ptr<const AstNode>> children;
};
}
| [
"gruszecki.jakub@gmail.com"
] | gruszecki.jakub@gmail.com |
890a47b3232713ea6a253f5d7d4ad3eaa322c971 | 028bdbac8a9aee79fab466937a44ef8260daf415 | /DualPing2Servo.ino | 3ddfdf4ee6338f6ef48ad0c062d1db00b0473830 | [] | no_license | Workshop88/ping-servo | 82cb35238d0823ff2450a4f813a7baae19c4e8e6 | 18626b8ff92ba989513004cbd4a00167edc03714 | refs/heads/master | 2021-01-19T00:13:35.788332 | 2015-04-03T17:41:18 | 2015-04-03T17:41:18 | 33,371,407 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,804 | ino | /* Uses 2 'Ping' sensors (like HC-SR04) on special
cable on A0-A5 + power header row and drives
2 servos.
It's the basic software for a distance-controlled X-Y
tippy box with golf ball and hole(s) driven by servos.
4/1/15 jw
*/
#include <Servo.h>
Servo ServX,ServY;
#define Trig1 A1
#define Trig2 A3
#define Echo1 A0
#define Echo2 A2
#define SpinX 9
#define SpinY 10
void setup()
{
pinMode(Trig1,OUTPUT);
pinMode(Trig2,OUTPUT);
pinMode(SpinX,OUTPUT);
pinMode(SpinY,OUTPUT);
ServX.attach(SpinX);
ServY.attach(SpinY);
ServX.write(90);
ServY.write(90);
} // end setup()
void loop()
{
// smoothing x and y with a rolling average
static int x,y;
x=(3*x+readPing(Trig1,Echo1))/4;
ServX.write(map (x,0,2000,0,179));
y=(3*y+readPing(Trig2,Echo2))/4;
ServY.write(map (y,0,2000,0,179));
delay(40);
}// end loop
int readPing(int trigpin, int echopin){
unsigned long next, timeout;
long dur;
long val;
// in case we're not done from previous ping
if(digitalRead(echopin))goto SKIP_PING;
// send trigger pulse nominal 10usec
// seems to work with no extra delay
digitalWrite(trigpin,HIGH);
digitalWrite(trigpin,LOW);
// wait for echo to go high
while(digitalRead(echopin)==0);
// time echo high duration
#define STEP 20
#define DURMAX 1700
#define SCALE 18
dur=0;
while(digitalRead(echopin) && dur<DURMAX){
delayMicroseconds(STEP);
dur+=STEP;
}//end while
//useful range for people approaching is 60 (few inches) to 5000 (4ft?)
// compute a value suitable for a PWM LED
val=(((DURMAX*1000L)/dur-1000)*SCALE)/1000;
if(val<0)val=0;
if(val>255)val=255;
// return((byte)val);
return((int)dur);
SKIP_PING:
delay(30); // overall not < 50ms
}//end readPing
| [
"jim@jimlaurwilliams.org"
] | jim@jimlaurwilliams.org |
0548d9e784a1f0f6832243406b3b0a562a7ab78b | fded81a37e53d5fc31cacb9a0be86377825757b3 | /libutil_g/iceb_u_sozmas.cpp | b3c74dbc50a1f21c5d47fb4d8201d346a74e50d8 | [] | no_license | iceblinux/iceBw_GTK | 7bf28cba9d994e95bab0f5040fea1a54a477b953 | a4f76e1fee29baa7dce79e8a4a309ae98ba504c2 | refs/heads/main | 2023-04-02T21:45:49.500587 | 2021-04-12T03:51:53 | 2021-04-12T03:51:53 | 356,744,886 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,843 | cpp | /* $Id: iceb_u_sozmas.c,v 1.7 2013/05/17 14:58:43 sasa Exp $ */
/*24.11.2008 07.12.1999 Белых А.И. iceb_u_sozmas.c
Выделить память и зарядить данные
В нулевом елементе количество кодов
*/
#include <stdlib.h>
#include "iceb_util.h"
void iceb_u_sozmas(short **kod,char *st1,FILE *ff)
{
short i,i1;
class iceb_u_str str("");
char bros[1024];
if(iceb_u_polen(st1,&str,2,'|') != 0)
str.new_plus(st1);
class iceb_u_str spisok_kodov("");
iceb_u_fplus(str.ravno(),&spisok_kodov,ff);
if(spisok_kodov.getdlinna() <= 1)
return;
i=iceb_u_pole2(spisok_kodov.ravno(),',');
if(i == 0 && spisok_kodov.getdlinna() > 1)
i=1;
if((*kod=new short[i+1]) == NULL)
{
printf("%s-Не могу выделить память для kod !!!\n",__FUNCTION__);
return;
}
(*kod)[0]=i;
for(i1=1; i1 < *kod[0]+1; i1++)
{
memset(bros,'\0',sizeof(bros));
if(i == 1)
strncpy(bros,spisok_kodov.ravno(),sizeof(bros)-1);
else
iceb_u_polen(spisok_kodov.ravno(),bros,sizeof(bros),i1,',');
(*kod)[i1]=(short)atoi(bros);
}
}
/*****************************/
void iceb_u_sozmas(short **kod,char *st1)
{
short i,i1;
char str[1023];
char bros[1024];
memset(str,'\0',sizeof(str));
if(iceb_u_polen(st1,str,sizeof(str),2,'|') != 0)
strncpy(str,st1,sizeof(str)-1);
if(str[0] == '\0')
return;
i=iceb_u_pole2(str,',');
if(i == 0 && str[0] != '\0')
i=1;
if((*kod=new short[i+1]) == NULL)
{
printf("%s-Не могу выделить память для kod !!!\n",__FUNCTION__);
return;
}
(*kod)[0]=i;
for(i1=1; i1 < *kod[0]+1; i1++)
{
memset(bros,'\0',sizeof(bros));
if(i == 1)
strncpy(bros,str,sizeof(bros)-1);
else
iceb_u_polen(str,bros,sizeof(bros),i1,',');
(*kod)[i1]=(short)atoi(bros);
}
}
| [
"root@calculate.local"
] | root@calculate.local |
f290d4560d26d00d54759d48069087d7fbdf3811 | 26c0339323358b4ae11542ace74372db80aad2fa | /4_functions/functions.cpp | 6d6106a6f351400888c84d73249c75b4b6f51722 | [
"MIT"
] | permissive | JonMuehlst/WORKSPACE_A | 17345e301a1c81d6221413ad03fd801a646bd35a | ec597adaed9d5452add821f3bddab51a62acd6e0 | refs/heads/master | 2020-04-06T04:30:40.866303 | 2015-02-25T00:32:51 | 2015-02-25T00:32:51 | 26,747,588 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 732 | cpp | #include <assert.h>
#include "functions.h"
#include "gtest/gtest.h" // google test
float division(int a, int b){
}
int fibonacci(int n){
}
int fibonacciLoop(int n){
}
bool inCircle(float center_x, float center_y, float radius, float x, float y){
}
bool floatEquality(float a, float b, float eps){
}
// ==========================================================================================
//
// Tests
//
// ==========================================================================================
TEST(Functions, division){
}
TEST(Functions, fibonacci){
}
TEST(Functions, inCircle){
}
TEST(Functions, floatEquality){
}
| [
"jon.muehlst@gmail.com"
] | jon.muehlst@gmail.com |
267cc38a030dde1409c55d9a18d6bb1445460701 | 8ad6d7877ea1075dcd173bd5be8ad0e91c8a27d8 | /src/commands/command.cc | 99b424f731592aba670a4cc3bb4cc313952dab4d | [] | no_license | axzz/rudis | bb09f30ae10773532f5b4bf78bae1ef3e26a692e | f5ce0c9c2be136ef2aeebc1a5a446099ff59337c | refs/heads/master | 2022-11-07T17:36:14.536528 | 2020-06-22T14:45:08 | 2020-06-22T14:45:08 | 270,802,930 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,306 | cc | #include "command.h"
#include <iostream>
#include <algorithm>
namespace rudis
{
RudisCommand CommandTable::commands_[] = {
{"command", ATTR_READ, 1, &command},
{"set", ATTR_WRITE, 3, &set},
{"get", ATTR_READ, 2, &get},
};
// RudisCommand CommandTable::commands_[] = {
// // key
// {"type", ATTR_READ, 2, &type},
// {"exists", ATTR_READ, 2, &exists},
// {"del", ATTR_WRITE, -2, &del},
// {"expire", ATTR_READ, 3, &expire},
// {"ttl", ATTR_READ, 2, &ttl},
// {"pexpire", ATTR_READ, 3, &pexpire},
// {"pttl", ATTR_READ, 2, &pttl},
// {"expireat", ATTR_READ, 3, &expireat},
// {"pexpireat", ATTR_READ, 3, &pexpireat},
// {"persist", ATTR_READ, 2, &persist},
// {"move", ATTR_WRITE, 3, &move},
// {"keys", ATTR_READ, 2, &keys},
// {"randomkey", ATTR_READ, 1, &randomkey},
// {"rename", ATTR_WRITE, 3, &rename},
// {"renamenx", ATTR_WRITE, 3, &renamenx},
// {"scan", ATTR_READ, -2, &scan},
// {"sort", ATTR_READ, -2, &sort},
// {"dump", ATTR_READ, 2, &dump},
// {"restore", ATTR_WRITE, -4, &restore},
// {"migrate", ATTR_READ, -6, &migrate},
// // server
// {"select", ATTR_READ, 2, &select},
// {"dbsize", ATTR_READ, 1, &dbsize},
// {"bgsave", ATTR_READ, 1, &bgsave},
// {"save", ATTR_READ, 1, &save},
// {"lastsave", ATTR_READ, 1, &lastsave},
// {"flushdb", ATTR_WRITE, 1, &flushdb},
// {"flushall", ATTR_WRITE, 1, &flushall},
// {"client", ATTR_READ, -2, &client},
// {"debug", ATTR_READ, -2, &debug},
// {"shutdown", ATTR_READ, -1, &shutdown},
// {"bgrewriteaof", ATTR_READ, 1, &bgrewriteaof},
// {"ping", ATTR_READ, 1, &ping},
// {"echo", ATTR_READ, 2, &echo},
// {"info", ATTR_READ, -1, &info},
// {"monitor", ATTR_READ, 1, &monitor},
// {"auth", ATTR_READ, 2, &auth},
// {"slowlog", ATTR_READ, -2, &slowlog},
// {"config", ATTR_READ, -3, &config},
// // string
// {"strlen", ATTR_READ, 2, &strlen},
// {"set", ATTR_WRITE, 3, &set},
// {"mset", ATTR_WRITE, -3, &mset},
// {"msetnx", ATTR_WRITE, -3, &msetnx},
// {"setnx", ATTR_WRITE, 3, &setnx},
// {"setex", ATTR_WRITE, 4, &setex},
// {"psetex", ATTR_WRITE, 4, &psetex},
// {"get", ATTR_READ, 2, &get},
// {"getset", ATTR_WRITE, 3, &getset},
// {"mget", ATTR_READ, -2, &mget},
// {"append", ATTR_WRITE, 3, &append},
// {"bitcount", ATTR_READ, -2, &bitcount},
// {"bitop", ATTR_WRITE, -4, &bitop},
// {"getbit", ATTR_READ, 3, &getbit},
// {"setbit", ATTR_WRITE, 4, &setbit},
// {"incr", ATTR_WRITE, 2, &incr},
// {"decr", ATTR_WRITE, 2, &decr},
// {"incrby", ATTR_WRITE, 3, &incrby},
// {"incrbyfloat", ATTR_WRITE, 3, &incrbyfloat},
// {"decrby", ATTR_WRITE, 3, &decrby},
// {"getrange", ATTR_READ, 4, &getrange},
// {"setrange", ATTR_WRITE, 4, &setrange},
// // list
// {"lpush", ATTR_WRITE, -3, &lpush},
// {"rpush", ATTR_WRITE, -3, &rpush},
// {"lpushx", ATTR_WRITE, -3, &lpushx},
// {"rpushx", ATTR_WRITE, -3, &rpushx},
// {"lpop", ATTR_WRITE, 2, &lpop},
// {"rpop", ATTR_WRITE, 2, &rpop},
// {"lindex", ATTR_READ, 3, &lindex},
// {"llen", ATTR_READ, 2, &llen},
// {"lset", ATTR_WRITE, 4, &lset},
// {"ltrim", ATTR_WRITE, 4, <rim},
// {"lrange", ATTR_READ, 4, &lrange},
// {"linsert", ATTR_WRITE, 5, &linsert},
// {"lrem", ATTR_WRITE, 4, &lrem},
// {"rpoplpush", ATTR_WRITE, 3, &rpoplpush},
// {"blpop", ATTR_WRITE, -3, &blpop},
// {"brpop", ATTR_WRITE, -3, &brpop},
// {"brpoplpush", ATTR_WRITE, 4, &brpoplpush},
// // hash
// {"hget", ATTR_READ, 3, &hget},
// {"hgetall", ATTR_READ, 2, &hgetall},
// {"hmget", ATTR_READ, -3, &hmget},
// {"hset", ATTR_WRITE, 4, &hset},
// {"hsetnx", ATTR_WRITE, 4, &hsetnx},
// {"hmset", ATTR_WRITE, -4, &hmset},
// {"hlen", ATTR_READ, 2, &hlen},
// {"hexists", ATTR_READ, 3, &hexists},
// {"hkeys", ATTR_READ, 2, &hkeys},
// {"hvals", ATTR_READ, 2, &hvals},
// {"hdel", ATTR_WRITE, -3, &hdel},
// {"hincrby", ATTR_WRITE, 4, &hincrby},
// {"hincrbyfloat", ATTR_WRITE, 4, &hincrbyfloat},
// {"hscan", ATTR_READ, -3, &hscan},
// {"hstrlen", ATTR_READ, 3, &hstrlen},
// // set
// {"sadd", ATTR_WRITE, -3, &sadd},
// {"scard", ATTR_READ, 2, &scard},
// {"sismember", ATTR_READ, 3, &sismember},
// {"srem", ATTR_WRITE, -3, &srem},
// {"smembers", ATTR_READ, 2, &smembers},
// {"sdiff", ATTR_READ, -2, &sdiff},
// {"sdiffstore", ATTR_WRITE, -3, &sdiffstore},
// {"sinter", ATTR_READ, -2, &sinter},
// {"sinterstore", ATTR_WRITE, -3, &sinterstore},
// {"sunion", ATTR_READ, -2, &sunion},
// {"sunionstore", ATTR_WRITE, -3, &sunionstore},
// {"smove", ATTR_WRITE, 4, &smove},
// {"spop", ATTR_WRITE, 2, &spop},
// {"srandmember", ATTR_READ, 2, &srandmember},
// {"sscan", ATTR_READ, -3, &sscan},
// //
// {"zadd", ATTR_WRITE, -4, &zadd},
// {"zcard", ATTR_READ, 2, &zcard},
// {"zrank", ATTR_READ, 3, &zrank},
// {"zrevrank", ATTR_READ, 3, &zrevrank},
// {"zrem", ATTR_WRITE, -3, &zrem},
// {"zincrby", ATTR_WRITE, 4, &zincrby},
// {"zscore", ATTR_READ, 3, &zscore},
// {"zrange", ATTR_READ, -4, &zrange},
// {"zrevrange", ATTR_READ, -4, &zrevrange},
// {"zrangebyscore", ATTR_READ, -4, &zrangebyscore},
// {"zrevrangebyscore", ATTR_READ, -4, &zrevrangebyscore},
// {"zremrangebyrank", ATTR_WRITE, 4, &zremrangebyrank},
// {"zremrangebyscore", ATTR_WRITE, 4, &zremrangebyscore},
// // pubsub
// {"subscribe", ATTR_READ, -2, &subscribe},
// {"unsubscribe", ATTR_READ, -1, &unsubscribe},
// {"publish", ATTR_READ, 3, &publish},
// {"psubscribe", ATTR_READ, -2, &psubscribe},
// {"punsubscribe", ATTR_READ, -1, &punsubscribe},
// {"pubsub", ATTR_READ, -2, &pubsub},
// // multi
// {"watch", ATTR_READ, -2, &watch},
// {"unwatch", ATTR_READ, 1, &unwatch},
// {"multi", ATTR_READ, 1, &multi},
// {"exec", ATTR_READ, 1, &exec},
// {"discard", ATTR_READ, 1, &discard},
// // replication
// {"sync", ATTR_READ, 1, &sync},
// {"psync", ATTR_READ, 1, &sync},
// {"slaveof", ATTR_READ, 3, &slaveof},
// {"replconf", ATTR_READ, -3, &replconf},
// // help
// {"cmdlist", ATTR_READ, 1, &cmdlist},
// };
void CommandTable::Init()
{
for (auto &command : commands_)
{
commands[command.cmd] = &command;
}
}
bool RudisCommand::cheak_arg_num(size_t n) const
{
if (arg_num < 0)
{
if (n < -arg_num)
return false;
}
else
{
if (n != arg_num)
return false;
}
return true;
}
RuError CommandTable::execute_command(const vector<RString> params, ReplyBuffer &reply)
{
if (params.empty())
{
reply.reply_simple_error();
return RuError_no_exist;
}
RString cmmd = params[0];
std::transform(cmmd.begin(), cmmd.end(), cmmd.begin(), ::tolower);
auto it(commands.find(cmmd));
if (it == commands.end())
{
std::cout << "no this command" << std::endl;
reply.reply_simple_error();
return RuError_no_exist;
}
const RudisCommand *cmd = it->second;
if (!cmd->cheak_arg_num(params.size()))
{
std::cout << "error arg nums" << std::endl;
reply.reply_simple_error();
return RuError_type;
}
return cmd->proc(params, reply);
}
} // namespace rudis
| [
"13408058303@163.com"
] | 13408058303@163.com |
f0e620776905b5d675f9ecb88b73991f882516f4 | 3d3171132821ad78737dbcfc978ac618a1c38b2f | /lib/inquisitive/resolve.cc | dc4221a77e06a9219999041b95d13d95ac609fcf | [
"MIT"
] | permissive | PubFork/Planck | 95cc75c4dbf63254e9a73e3dc3000e76bd091411 | 13124f5ed6391c751e2216b0693b513925c69b83 | refs/heads/master | 2020-09-13T17:31:13.334305 | 2019-09-05T00:53:19 | 2019-09-05T00:53:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,618 | cc | ///
#include "resolve.hpp"
#include <winioctl.h>
#include <pathcch.h>
#include <memory>
#include <vector>
#include <charconv>
#include <ShlObj.h>
#include "comutils.hpp"
#include "reparsepoint.hpp"
std::wstring guidencode(const GUID &guid) {
wchar_t wbuf[64];
swprintf_s(wbuf, L"{%08X-%04X-%04X-%02X%02X%02X%02X%02X%02X%02X%02X}",
guid.Data1, guid.Data2, guid.Data3, guid.Data4[0], guid.Data4[1],
guid.Data4[2], guid.Data4[3], guid.Data4[4], guid.Data4[5],
guid.Data4[6], guid.Data4[7]);
return std::wstring(wbuf);
}
namespace inquisitive {
HMODULE KrModule() {
static HMODULE hModule = GetModuleHandleW(L"kernel32.dll");
if (hModule == nullptr) {
OutputDebugStringW(L"GetModuleHandleA failed");
}
return hModule;
}
#ifndef _M_X64
class FsRedirection {
public:
typedef BOOL WINAPI fntype_Wow64DisableWow64FsRedirection(PVOID *OldValue);
typedef BOOL WINAPI fntype_Wow64RevertWow64FsRedirection(PVOID *OldValue);
FsRedirection() {
auto hModule = KrModule();
auto pfnWow64DisableWow64FsRedirection =
(fntype_Wow64DisableWow64FsRedirection *)GetProcAddress(
hModule, "Wow64DisableWow64FsRedirection");
if (pfnWow64DisableWow64FsRedirection) {
pfnWow64DisableWow64FsRedirection(&OldValue);
}
}
~FsRedirection() {
auto hModule = KrModule();
auto pfnWow64RevertWow64FsRedirection =
(fntype_Wow64RevertWow64FsRedirection *)GetProcAddress(
hModule, "Wow64RevertWow64FsRedirection");
if (pfnWow64RevertWow64FsRedirection) {
pfnWow64RevertWow64FsRedirection(&OldValue);
}
}
private:
PVOID OldValue = nullptr;
};
#endif
bool PathCanonicalizeEx(std::wstring_view sv, std::wstring &path) {
LPWSTR lpPart;
if (sv.size() > 4 && sv[0] == '\\' && sv[1] == '\\' && sv[3] == '\\') {
sv.remove_prefix(4);
}
auto N = GetFullPathNameW(sv.data(), 0, nullptr, nullptr);
if (N == 0) {
return false;
}
path.resize(N + 1);
N = GetFullPathNameW(sv.data(), N + 1, &path[0], &lpPart);
if (N == 0) {
return false;
}
path.resize(N);
if (path.size() > 2 && (path.back() == L'\\' || path.back() == L'/')) {
path.pop_back();
}
return true;
}
std::optional<file_target_t> ResolveTarget(std::wstring_view sv,
bela::error_code &ec) {
#ifndef _M_X64
FsRedirection fsr;
#endif
auto FileHandle = CreateFileW(
sv.data(), 0, FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE,
nullptr, OPEN_EXISTING,
FILE_FLAG_BACKUP_SEMANTICS | FILE_FLAG_OPEN_REPARSE_POINT, nullptr);
if (FileHandle == INVALID_HANDLE_VALUE) {
ec = bela::make_system_error_code();
return std::nullopt;
}
BYTE mxbuf[MAXIMUM_REPARSE_DATA_BUFFER_SIZE] = {0};
auto rebuf = reinterpret_cast<PREPARSE_DATA_BUFFER>(mxbuf);
DWORD dwlen = 0;
if (DeviceIoControl(FileHandle, FSCTL_GET_REPARSE_POINT, nullptr, 0, rebuf,
MAXIMUM_REPARSE_DATA_BUFFER_SIZE, &dwlen,
nullptr) != TRUE) {
CloseHandle(FileHandle);
return std::nullopt;
}
CloseHandle(FileHandle);
file_target_t file;
switch (rebuf->ReparseTag) {
case IO_REPARSE_TAG_SYMLINK: {
file.type = SymbolicLink;
auto wstr =
rebuf->SymbolicLinkReparseBuffer.PathBuffer +
(rebuf->SymbolicLinkReparseBuffer.SubstituteNameOffset / sizeof(WCHAR));
auto wlen =
rebuf->SymbolicLinkReparseBuffer.SubstituteNameLength / sizeof(WCHAR);
if (wlen >= 4 && wstr[0] == L'\\' && wstr[1] == L'?' && wstr[2] == L'?' &&
wstr[3] == L'\\') {
/* Starts with \??\ */
if (wlen >= 6 &&
((wstr[4] >= L'A' && wstr[4] <= L'Z') ||
(wstr[4] >= L'a' && wstr[4] <= L'z')) &&
wstr[5] == L':' && (wlen == 6 || wstr[6] == L'\\')) {
/* \??\<drive>:\ */
wstr += 4;
wlen -= 4;
} else if (wlen >= 8 && (wstr[4] == L'U' || wstr[4] == L'u') &&
(wstr[5] == L'N' || wstr[5] == L'n') &&
(wstr[6] == L'C' || wstr[6] == L'c') && wstr[7] == L'\\') {
/* \??\UNC\<server>\<share>\ - make sure the final path looks like */
/* \\<server>\<share>\ */
wstr += 6;
wstr[0] = L'\\';
wlen -= 6;
}
}
file.path.assign(wstr, wlen);
} break;
case IO_REPARSE_TAG_MOUNT_POINT: {
file.type = MountPoint;
auto wstr =
rebuf->MountPointReparseBuffer.PathBuffer +
(rebuf->MountPointReparseBuffer.SubstituteNameOffset / sizeof(WCHAR));
auto wlen =
rebuf->MountPointReparseBuffer.SubstituteNameLength / sizeof(WCHAR);
/* Only treat junctions that look like \??\<drive>:\ as symlink. */
/* Junctions can also be used as mount points, like \??\Volume{<guid>}, */
/* but that's confusing for programs since they wouldn't be able to */
/* actually understand such a path when returned by uv_readlink(). */
/* UNC paths are never valid for junctions so we don't care about them. */
if (!(wlen >= 6 && wstr[0] == L'\\' && wstr[1] == L'?' && wstr[2] == L'?' &&
wstr[3] == L'\\' &&
((wstr[4] >= L'A' && wstr[4] <= L'Z') ||
(wstr[4] >= L'a' && wstr[4] <= L'z')) &&
wstr[5] == L':' && (wlen == 6 || wstr[6] == L'\\'))) {
return std::nullopt;
}
/* Remove leading \??\ */
wstr += 4;
wlen -= 4;
file.path.assign(wstr, wlen);
} break;
case IO_REPARSE_TAG_APPEXECLINK: {
// L"AppExec link";
file.type = AppExecLink;
if (rebuf->AppExecLinkReparseBuffer.StringCount >= 3) {
LPWSTR szString = (LPWSTR)rebuf->AppExecLinkReparseBuffer.StringList;
std::vector<LPWSTR> strv;
for (ULONG i = 0; i < rebuf->AppExecLinkReparseBuffer.StringCount; i++) {
strv.push_back(szString);
szString += wcslen(szString) + 1;
}
appexeclink_t alink{strv[0], strv[1], strv[2]};
file.av = alink;
file.path = strv[2];
// to get value auto x=std::get<appexeclink_t>(file.av);
}
} break;
case IO_REPARSE_TAG_AF_UNIX:
// L"Unix domain socket";
file.type = AFUnix;
file.path = sv;
break;
case IO_REPARSE_TAG_ONEDRIVE:
// L"OneDrive file";
file.type = OneDrive;
file.path = sv;
break;
case IO_REPARSE_TAG_FILE_PLACEHOLDER:
// L"Placeholder file";
file.type = Placeholder;
file.path = sv;
break;
case IO_REPARSE_TAG_STORAGE_SYNC:
// L"Storage sync file";
file.type = StorageSync;
file.path = sv;
break;
case IO_REPARSE_TAG_PROJFS:
// L"Projected File";
file.type = ProjFS;
file.path = sv;
break;
case IO_REPARSE_TAG_WIM: {
file.type = WimImage;
file.path = sv;
reparse_wim_t wim;
wim.guid = guidencode(rebuf->WimImageReparseBuffer.ImageGuid);
wim.hash = hexencode(reinterpret_cast<const char *>(
rebuf->WimImageReparseBuffer.ImagePathHash),
sizeof(rebuf->WimImageReparseBuffer.ImagePathHash));
file.av = wim;
} break;
case IO_REPARSE_TAG_WOF: {
// wof.sys Windows Overlay File System Filter Driver
file.type = Wof;
file.path = sv;
reparse_wof_t wof;
wof.algorithm = rebuf->WofReparseBuffer.FileInfo_Algorithm;
wof.version = rebuf->WofReparseBuffer.FileInfo_Version;
wof.wofprovider = rebuf->WofReparseBuffer.Wof_Provider;
wof.wofversion = rebuf->WofReparseBuffer.Wof_Version;
file.av = wof;
} break;
case IO_REPARSE_TAG_WCI: {
// wcifs.sys Windows Container Isolation FS Filter Driver
file.type = Wcifs;
file.path = sv;
reparse_wcifs_t wci;
wci.WciName.assign(rebuf->WcifsReparseBuffer.WciName,
rebuf->WcifsReparseBuffer.WciNameLength);
wci.Version = rebuf->WcifsReparseBuffer.Version;
wci.Reserved = rebuf->WcifsReparseBuffer.Reserved;
wci.LookupGuid = guidencode(rebuf->WcifsReparseBuffer.LookupGuid);
file.av = wci;
} break;
case IO_REPARSE_TAG_HSM:
break;
default:
break;
}
if (file.type == HardLink) {
return std::nullopt;
}
return std::make_optional<file_target_t>(file);
}
inline bool HardLinkEqual(std::wstring_view lh, std::wstring_view rh) {
if (lh.size() != rh.size()) {
return false;
}
return _wcsnicmp(lh.data(), rh.data(), rh.size()) == 0;
}
// File hardlinks.
std::optional<file_links_t> ResolveLinks(std::wstring_view sv,
bela::error_code &ec) {
#ifndef _M_X64
FsRedirection fsr;
#endif
std::wstring self;
if (!PathCanonicalizeEx(sv, self)) {
ec = bela::make_system_error_code();
return std::nullopt;
}
auto FileHandle = CreateFileW(self.data(), // file to open
GENERIC_READ, // open for reading
FILE_SHARE_READ, // share for reading
NULL, // default security
OPEN_EXISTING, // existing file only
FILE_ATTRIBUTE_NORMAL, // normal file
NULL);
if (FileHandle == INVALID_HANDLE_VALUE) {
ec = bela::make_system_error_code();
return std::nullopt;
}
BY_HANDLE_FILE_INFORMATION bi;
if (GetFileInformationByHandle(FileHandle, &bi) != TRUE) {
CloseHandle(FileHandle);
return std::nullopt;
}
CloseHandle(FileHandle);
LARGE_INTEGER li;
li.HighPart = bi.nFileIndexHigh;
li.LowPart = bi.nFileIndexLow;
if (bi.nNumberOfLinks <= 1) {
/// on other hardlinks
return std::nullopt;
}
auto linkPath = std::make_unique<wchar_t[]>(PATHCCH_MAX_CCH);
DWORD dwlen = PATHCCH_MAX_CCH;
auto hFind = FindFirstFileNameW(self.c_str(), 0, &dwlen, linkPath.get());
if (hFind == INVALID_HANDLE_VALUE) {
ec = bela::make_system_error_code();
return std::nullopt;
}
file_links_t link;
do {
auto s = self.substr(0, 2);
s.append(linkPath.get(), dwlen - 1);
// priv::verbose(L"Find: %s %zu %zu\n", s, s.size(), self.size());
if (!HardLinkEqual(s, self)) {
link.links.push_back(s);
}
dwlen = PATHCCH_MAX_CCH;
} while (FindNextFileNameW(hFind, &dwlen, linkPath.get()));
FindClose(hFind);
link.self = self;
return std::make_optional<file_links_t>(link);
}
} // namespace inquisitive | [
"charlieio@outlook.com"
] | charlieio@outlook.com |
dde846036defb65248dca589abbde3888802974d | 03164185aac29d83154ff61682d036c84367415b | /engine/resources/src/providers/resource_provider.cpp | 6c11530b50aa69b6e042f5e235d39d28ccc6b417 | [
"MIT"
] | permissive | anggawasita/aeon-engine | fb6d64b27ee1937a141102dc6cda9b0ff3f4d09b | 9efcf83985110c36ebf0964bd4f76b261f2f6717 | refs/heads/master | 2022-02-21T06:02:49.836345 | 2019-10-04T18:43:07 | 2019-10-04T18:43:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,351 | cpp | /*
* Copyright (c) 2012-2018 Robin Degen
*
* 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 <aeon/resources/providers/resource_provider.h>
namespace aeon::resources
{
resource_provider::resource_provider() = default;
resource_provider::~resource_provider() = default;
} // namespace aeon::resources
| [
"robindegen@gmail.com"
] | robindegen@gmail.com |
6f988376df8f664fd851ad70798c7ac70d99c40e | 1235cae67b3e5de0966053414b3c35806f7f5195 | /include/scrypt/dh.hpp | a9a90c7c899261fea656da1726f768b86efb52cd | [
"BSL-1.0"
] | permissive | mosjin/scrypt | 9b7262297299b90e48cf5da999c0a941d8d53dc5 | 3d30afa7219903bedc7a7522a378d645d0d0f15c | refs/heads/master | 2020-05-31T21:34:52.764569 | 2012-07-25T01:35:11 | 2012-07-25T01:35:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 654 | hpp | #ifndef _SCRYPT_DH_HPP_
#define _SCRYPT_DH_HPP_
#include <vector>
#include <stdint.h>
namespace scrypt {
struct diffie_hellman {
diffie_hellman():valid(0),g(5){}
bool generate_params( int s, uint8_t g );
bool generate_pub_key();
bool compute_shared_key( const char* buf, uint32_t s );
bool compute_shared_key( const std::vector<char>& pubk);
bool validate();
std::vector<char> p;
std::vector<char> pub_key;
std::vector<char> priv_key;
std::vector<char> shared_key;
bool valid;
uint8_t g;
};
} // namespace scrypt
#endif
| [
"dlarimer@gmail.com"
] | dlarimer@gmail.com |
82ff25603e8bf6a643fc42d85867f5fa74cca4dd | 895e1f0af56518c7956594f7c650211d9fc2467a | /labs/game_engine/dev/src/core/ViewFrustum.cpp | f231ba06a66d51c0532fab2e75b244066c11f8bf | [] | no_license | lythm/orb3d | b6061ebf839381a35aaeab8baf08a38fcfe03a71 | 2defcbf86ef7dd2a27fe7bdc89bf709ed8bf2a79 | refs/heads/master | 2016-09-15T15:55:19.069094 | 2013-07-12T17:09:29 | 2013-07-12T17:09:55 | 4,442,482 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,916 | cpp | #include "core_pch.h"
#include "..\..\include\core\ViewFrustum.h"
namespace ld3d
{
ViewFrustum::ViewFrustum(void)
{
}
ViewFrustum::~ViewFrustum(void)
{
}
void ViewFrustum::Update(const math::Matrix44& view, const math::Matrix44& proj)
{
math::Matrix44 M = view * proj;
// left plane
m_planes[left_plane].a = M.m14 + M.m11;
m_planes[left_plane].b = M.m24 + M.m21;
m_planes[left_plane].c = M.m34 + M.m31;
m_planes[left_plane].d = M.m44 + M.m41;
// right plane
m_planes[right_plane].a = M.m14 - M.m11;
m_planes[right_plane].b = M.m24 - M.m21;
m_planes[right_plane].c = M.m34 - M.m31;
m_planes[right_plane].d = M.m44 - M.m41;
// top plane
m_planes[top_plane].a = M.m14 - M.m12;
m_planes[top_plane].b = M.m24 - M.m22;
m_planes[top_plane].c = M.m34 - M.m32;
m_planes[top_plane].d = M.m44 - M.m42;
// bottom plane
m_planes[bottom_plane].a = M.m14 + M.m12;
m_planes[bottom_plane].b = M.m24 + M.m22;
m_planes[bottom_plane].c = M.m34 + M.m32;
m_planes[bottom_plane].d = M.m44 + M.m42;
// near plane
m_planes[near_plane].a = M.m13;
m_planes[near_plane].b = M.m23;
m_planes[near_plane].c = M.m33;
m_planes[near_plane].d = M.m43;
// far plane
m_planes[far_plane].a = M.m14 - M.m13;
m_planes[far_plane].b = M.m24 - M.m23;
m_planes[far_plane].c = M.m34 - M.m33;
m_planes[far_plane].d = M.m44 - M.m43;
}
bool ViewFrustum::IntersectBox(const math::AABBox& box) const
{
int vec_in_cnt;
int plane_in_cnt = 0;
math::Vector3 min = box.GetMinCoord();
math::Vector3 max = box.GetMaxCoord();
for( int p = 0; p < 6; p++ )
{
vec_in_cnt = 0;
if( m_planes[p].a * min.x +
m_planes[p].b * min.y +
m_planes[p].c * min.z +
m_planes[p].d > 0)
vec_in_cnt ++;
if( m_planes[p].a * max.x +
m_planes[p].b * min.y +
m_planes[p].c * min.z +
m_planes[p].d > 0)
vec_in_cnt ++;
if( m_planes[p].a * max.x +
m_planes[p].b * max.y +
m_planes[p].c * min.z +
m_planes[p].d > 0)
vec_in_cnt ++;
if( m_planes[p].a * min.x +
m_planes[p].b * max.y +
m_planes[p].c * min.z +
m_planes[p].d > 0)
vec_in_cnt ++;
if( m_planes[p].a * min.x +
m_planes[p].b * min.y +
m_planes[p].c * max.z +
m_planes[p].d > 0)
vec_in_cnt ++;
if( m_planes[p].a * max.x +
m_planes[p].b * min.y +
m_planes[p].c * max.z +
m_planes[p].d > 0)
vec_in_cnt ++;
if( m_planes[p].a * max.x +
m_planes[p].b * max.y +
m_planes[p].c * max.z +
m_planes[p].d > 0)
vec_in_cnt ++;
if( m_planes[p].a * min.x +
m_planes[p].b * max.y +
m_planes[p].c * max.z +
m_planes[p].d > 0)
vec_in_cnt ++;
if (vec_in_cnt == 0)
return false;
if (vec_in_cnt == 8)
plane_in_cnt++;
}
return true;
//return (plane_in_cnt == 6) ? 2 : 1;
}
bool ViewFrustum::IntersectSphere(const math::Sphere& sphere) const
{
return true;
}
} | [
"lythm780522@gmail.com"
] | lythm780522@gmail.com |
e616ac7b11b9e31cfec0858999fc730fc168a590 | 62a9961bfabc1955c7eac0acb4a35bd6dca1d156 | /HandyDevices/BmstuCtrl/BmstuCtrl_fw/kl_lib/uart.h | 09fa4024ef93ff829e246df9eca85010ec1e72da | [] | no_license | jordoin/nute | 712ffe2aaf57ac41e44004613bc727a35ad123e0 | 830adcd3bd5386d03d8d49ab422f5f568643adb5 | refs/heads/master | 2021-01-17T07:00:40.751579 | 2015-03-28T20:05:30 | 2015-03-28T20:05:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,867 | h | /*
* cmd_uart.h
*
* Created on: 15.04.2013
* Author: kreyl
*/
#ifndef CMD_UART_H_
#define CMD_UART_H_
#include "stm32l1xx.h"
#include "ch.h"
#include "hal.h"
#include "kl_sprintf.h"
#include "kl_lib_L15x.h"
#include <cstring>
#include "cmd.h"
// Set to true if RX needed
#define UART_RX_ENABLED TRUE
// UART
#define UART_TXBUF_SIZE 1500
#define UART USART1
#define UART_GPIO GPIOA
#define UART_TX_PIN 9
#define UART_AF AF7 // for all uarts
#define UART_RCC_ENABLE() rccEnableUSART1(FALSE)
#define UART_DMA_TX STM32_DMA1_STREAM4
#define UART_DMA_TX_MODE DMA_PRIORITY_LOW | \
STM32_DMA_CR_MSIZE_BYTE | \
STM32_DMA_CR_PSIZE_BYTE | \
STM32_DMA_CR_MINC | /* Memory pointer increase */ \
STM32_DMA_CR_DIR_M2P | /* Direction is memory to peripheral */ \
STM32_DMA_CR_TCIE /* Enable Transmission Complete IRQ */
#if UART_RX_ENABLED // ==== RX ====
#define UART_RXBUF_SZ 72 // unprocessed bytes
#define UART_CMD_BUF_SZ 54 // payload bytes
#define UART_RX_PIN 10
#define UART_RX_REG UART->DR
#define UART_RX_POLLING_MS 99
#define UART_DMA_RX STM32_DMA1_STREAM5
#define UART_DMA_RX_MODE DMA_PRIORITY_LOW | \
STM32_DMA_CR_MSIZE_BYTE | \
STM32_DMA_CR_PSIZE_BYTE | \
STM32_DMA_CR_MINC | /* Memory pointer increase */ \
STM32_DMA_CR_DIR_P2M | /* Direction is peripheral to memory */ \
STM32_DMA_CR_CIRC /* Circular buffer enable */
// Cmd related
typedef Cmd_t<512> UartCmd_t;
#endif
class CmdUart_t {
private:
char TXBuf[UART_TXBUF_SIZE];
char *PRead, *PWrite;
bool IDmaIsIdle;
uint32_t IFullSlotsCount, ITransSize;
void ISendViaDMA();
#if UART_RX_ENABLED
int32_t SzOld=0, RIndx=0;
uint8_t IRxBuf[UART_RXBUF_SZ];
void CompleteCmd();
#endif
public:
void Printf(const char *S, ...);
void PrintfI(const char *S, ...);
void FlushTx() { while(!IDmaIsIdle); } // wait DMA
void PrintNow(const char *S) {
while(*S != 0) {
while(!(UART->SR & USART_SR_TXE));
UART->DR = *S++;
}
}
void Init(uint32_t ABaudrate);
// Inner use
void IRQDmaTxHandler();
void IPutChar(char c);
void IPrintf(const char *format, va_list args);
#if UART_RX_ENABLED
UartCmd_t Cmd;
ProcessDataResult_t ProcessRx();
// Command and reply
void Ack(int32_t Result) { Printf("#Ack %d\r\n", Result); }
#endif
};
extern CmdUart_t Uart;
#endif /* CMD_UART_H_ */
| [
"laellin@3623c4fa-fa74-b9b9-717e-9badfcd41e35"
] | laellin@3623c4fa-fa74-b9b9-717e-9badfcd41e35 |
c7ddb756df2f969548058ddddca48dc820fc1cf0 | c9eed8dbbd0c934a8d5253bd015a7721450bd0dc | /BreadthFirstSearch/BreadthFirstSearch/main.cpp | 5e1b27361ac632c1c2eaaf77ed88e2aa227872d4 | [] | no_license | Konstilio/JavaAlgosToCPP | 6517409e9594058144d7bded90283a99a7da63af | 8a4ba041b2bf18e779c866805299cfb4a6cec5cb | refs/heads/master | 2020-04-11T20:51:07.228256 | 2018-12-24T13:40:45 | 2018-12-24T13:40:45 | 162,085,384 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 887 | cpp | //
// main.cpp
// BreadthFirstSearch
//
// Created by Aleksander Konstantinov on 12/15/18.
// Copyright © 2018 Oleksandr Konstantinov. All rights reserved.
//
#include <iostream>
#include <memory.h>
#include "Vertex.h"
#include "BreadthFirstSearch.h"
using namespace std;
int main(int argc, const char * argv[]) {
BreadthFirstSearch breadthFirstSearch;
shared_ptr<Vertex> vertex1 = make_shared<Vertex>(1);
shared_ptr<Vertex> vertex2 = make_shared<Vertex>(2);
shared_ptr<Vertex> vertex3 = make_shared<Vertex>(3);
shared_ptr<Vertex> vertex4 = make_shared<Vertex>(4);
shared_ptr<Vertex> vertex5 = make_shared<Vertex>(5);
vertex1->addNeighbour(vertex2.get());
vertex1->addNeighbour(vertex4.get());
vertex4->addNeighbour(vertex5.get());
vertex2->addNeighbour(vertex3.get());
breadthFirstSearch(vertex1);
return 0;
}
| [
"iamkonst17@gmail.com"
] | iamkonst17@gmail.com |
edddec178230af8bab6bc16525ef3e9f94de85a3 | 95903e3590f4c527b7bbe0367d8d5c2a29d3c3b7 | /main.cpp | d042cdac829ff7daaffcdb3f92998a81ba700fb6 | [] | no_license | hyer/faceFrontalization | d5f199e45ad7ea748049b71d366fd09a1eabd19b | c5ba11e8a1ebcb47c43e8cb70e7e69b105de8ed7 | refs/heads/master | 2021-01-20T11:19:33.489026 | 2015-07-28T11:15:40 | 2015-07-28T11:15:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 963 | cpp | #include "frontalization.h"
#include <opencv2/highgui/highgui.hpp>
int main(int argc, char* argv[])
{
if(argc != 4){
cout << "Usage: " << argv[0] << " <queryImage> <facialPointsFile> <3DModelFile>" << endl;
return -1;
}
Mat image = imread(argv[1]);
Mat frontalImage;
Mat_<float> cameraMatrix, facialFeaturePoints;
model3D model;
readFacialFeaturePointFromYML(string(argv[2]), facialFeaturePoints);
// readCameraMatrixFromYML(string(argv[3]), cameraMatrix);
read3DModelFromYML(string(argv[3]), model);
doCameraCalibration(model.threedee, facialFeaturePoints, model.sizeU, model.outA, cameraMatrix);
frontalizeWithoutSymmetry(image, cameraMatrix, model.refU, model.sizeU, frontalImage);
imshow("image", image);
imshow("frontal", frontalImage);
waitKey();
imwrite("image.png", image);
imwrite("frontal.png", frontalImage);
return 0;
}
| [
"chengshaoguang1291@gmail.com"
] | chengshaoguang1291@gmail.com |
4b00875c775ec8811ae58bb5bbfb0eaaffeb8331 | 7a9532c7d20166a7746f5cdbf41f85455cdb7628 | /include/BWAPI/Game.h | 34b6ade13f656938b3e788764378c2f6ad625237 | [] | no_license | ratiotile/exampleaimodule-bwapilib.dll | ecfc2d021910e0611a41ab028475d38f6da8eb67 | 414f4e4441714a60eb9889102f803f44f4a9e1f8 | refs/heads/master | 2021-05-10T20:29:28.878508 | 2018-01-19T23:13:16 | 2018-01-19T23:13:16 | 118,188,514 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 77,079 | h | #pragma once
#include <list>
#include <string>
#include <cstdarg>
#include <dll.h>
#include <BWAPI/Interface.h>
#include <BWAPI/UnitType.h>
#include <BWAPI/Error.h>
#include <BWAPI/Color.h>
#include <BWAPI/Filters.h>
#include <BWAPI/UnaryFilter.h>
#include <BWAPI/Input.h>
#include <BWAPI/CoordinateType.h>
#include <sstream>
namespace BWAPI
{
// Forward Declarations
class Bulletset;
class Color;
class Event;
class ForceInterface;
typedef ForceInterface *Force;
class Forceset;
class GameType;
class PlayerInterface;
typedef PlayerInterface *Player;
class Playerset;
class Race;
class RegionInterface;
typedef RegionInterface *Region;
class Regionset;
class TechType;
class UnitCommand;
class Unitset;
class UpgradeType;
/// <summary>The abstract Game class is implemented by BWAPI and is the primary means of obtaining all
/// game state information from Starcraft Broodwar.</summary> Game state information includes all units,
/// resources, players, forces, bullets, terrain, fog of war, regions, etc.
///
/// @ingroup Interface
class DLLEXPORT Game : public Interface<Game>
{
protected:
virtual ~Game() {};
Game& operator=(const Game& other) = delete;
Game& operator=(Game&& other) = delete;
public :
/// <summary>Retrieves the set of all teams/forces.</summary> Forces are commonly seen in @UMS
/// game types and some others such as @TvB and the team versions of game types.
///
/// @returns Forceset containing all forces in the game.
virtual const Forceset& getForces() const = 0;
/// <summary>Retrieves the set of all players in the match.</summary> This includes the neutral
/// player, which owns all the resources and critters by default.
///
/// @returns Playerset containing all players in the game.
virtual const Playerset& getPlayers() const = 0;
/// <summary>Retrieves the set of all accessible units.</summary> If
/// Flag::CompleteMapInformation is enabled, then the set also includes units that are not
/// visible to the player.
///
/// @note Units that are inside refineries are not included in this set.
///
/// @returns Unitset containing all known units in the game.
virtual const Unitset& getAllUnits() const = 0;
/// <summary>Retrieves the set of all accessible @minerals in the game.</summary>
///
/// @returns Unitset containing @minerals
virtual const Unitset& getMinerals() const = 0;
/// <summary>Retrieves the set of all accessible @geysers in the game.</summary>
///
/// @returns Unitset containing @geysers
virtual const Unitset& getGeysers() const = 0;
/// <summary>Retrieves the set of all accessible neutral units in the game.</summary> This
/// includes @minerals, @geysers, and @critters.
///
/// @returns Unitset containing all neutral units.
virtual const Unitset& getNeutralUnits() const = 0;
/// <summary>Retrieves the set of all @minerals that were available at the beginning of the
/// game.</summary>
///
/// @note This set includes resources that have been mined out or are inaccessible.
///
/// @returns Unitset containing static @minerals
virtual const Unitset& getStaticMinerals() const = 0;
/// <summary>Retrieves the set of all @geysers that were available at the beginning of the
/// game.</summary>
///
/// @note This set includes resources that are inaccessible.
///
/// @returns Unitset containing static @geysers
virtual const Unitset& getStaticGeysers() const = 0;
/// <summary>Retrieves the set of all units owned by the neutral player (resources, critters,
/// etc.) that were available at the beginning of the game.</summary>
///
/// @note This set includes units that are inaccessible.
///
/// @returns Unitset containing static neutral units
virtual const Unitset& getStaticNeutralUnits() const = 0;
/// <summary>Retrieves the set of all accessible bullets.</summary>
///
/// @returns Bulletset containing all accessible Bullet objects.
virtual const Bulletset& getBullets() const = 0;
/// <summary>Retrieves the set of all accessible @Nuke dots.</summary>
///
/// @note Nuke dots are the red dots painted by a @Ghost when using the nuclear strike ability.
///
/// @returns Set of Positions giving the coordinates of nuke locations.
virtual const Position::list& getNukeDots() const = 0;
/// <summary>Retrieves the list of all unhandled game events.</summary>
///
/// @returns std::list containing Event objects.
virtual const std::list< Event >& getEvents() const = 0;
/// <summary>Retrieves the Force interface object associated with a given identifier.</summary>
///
/// <param name="forceID">
/// The identifier for the Force object.
/// </param>
///
/// @returns Force interface object mapped to the given \p forceID.
/// @retval nullptr if the given identifier is invalid.
virtual Force getForce(int forceID) const = 0;
/// <summary>Retrieves the Player interface object associated with a given identifier.</summary>
///
/// <param name="playerID">
/// The identifier for the Player object.
/// </param>
///
/// @returns Player interface object mapped to the given \p playerID.
/// @retval nullptr if the given identifier is invalid.
virtual Player getPlayer(int playerID) const = 0;
/// <summary>Retrieves the Unit interface object associated with a given identifier.</summary>
///
/// <param name="unitID">
/// The identifier for the Unit object.
/// </param>
///
/// @returns Unit interface object mapped to the given \p unitID.
/// @retval nullptr if the given identifier is invalid.
virtual Unit getUnit(int unitID) const = 0;
/// <summary>Retrieves a Unit interface object from a given unit index.</summary> The value
/// given as an index maps directly to Broodwar's unit array index and matches the index found
/// in replay files. In order to use this function, CompleteMapInformation must be enabled.
///
/// <param name="unitIndex">
/// The unitIndex to identify the Unit with. A valid index is 0 <= unitIndex & 0x7FF < 1700.
/// </param>
///
/// @returns Unit interface object that matches the given \p unitIndex.
/// @retval nullptr if the given index is invalid.
virtual Unit indexToUnit(int unitIndex) const = 0;
/// <summary>Retrieves the Region interface object associated with a given identifier.</summary>
///
/// <param name="regionID">
/// The identifier for the Region object.
/// </param>
///
/// @returns Region interface object mapped to the given \p regionID.
/// @retval nullptr if the given ID is invalid.
virtual Region getRegion(int regionID) const = 0;
/// <summary>Retrieves the GameType of the current game.</summary>
///
/// @returns GameType indicating the rules of the match.
/// @see GameType
virtual GameType getGameType() const = 0;
/// <summary>Retrieves the current latency setting that the game is set to.</summary> Latency
/// indicates the delay between issuing a command and having it processed.
///
/// @returns The latency setting of the game, which is of Latency::Enum.
/// @see Latency::Enum
///
/// @todo Change return type to Latency::Enum without breaking everything.
virtual int getLatency() const = 0;
/// <summary>Retrieves the number of logical frames since the beginning of the match.</summary>
/// If the game is paused, then getFrameCount will not increase.
///
/// @returns Number of logical frames that have elapsed since the game started as an integer.
virtual int getFrameCount() const = 0;
/// <summary>Retrieves the maximum number of logical frames that have been recorded in a
/// replay.</summary> If the game is not a replay, then the value returned is undefined.
///
/// @returns The number of logical frames that the replay contains.
virtual int getReplayFrameCount() const = 0;
/// <summary>Retrieves the logical frame rate of the game in frames per second (FPS).</summary>
///
/// Example:
/// @code
/// BWAPI::Broodwar->setLocalSpeed(0);
///
/// // Log and display the best logical FPS seen in the game
/// static int bestFPS = 0;
/// bestFPS = std::max(bestFPS, BWAPI::Broodwar->getFPS());
/// BWAPI::Broodwar->drawTextScreen(BWAPI::Positions::Origin, "%cBest: %d GFPS\nCurrent: %d GFPS", BWAPI::Text::White, bestFPS, BWAPI::Broodwar->getFPS());
/// @endcode
/// @returns Logical frames per second that the game is currently running at as an integer.
/// @see getAverageFPS
virtual int getFPS() const = 0;
/// <summary>Retrieves the average logical frame rate of the game in frames per second (FPS).</summary>
///
/// @returns Average logical frames per second that the game is currently running at as a
/// double.
/// @see getFPS
virtual double getAverageFPS() const = 0;
/// <summary>Retrieves the position of the user's mouse on the screen, in Position coordinates.</summary>
///
/// @returns Position indicating the location of the mouse.
/// @retval Positions::Unknown if Flag::UserInput is disabled.
virtual Position getMousePosition() const = 0;
/// <summary>Retrieves the state of the given mouse button.</summary>
///
/// <param name="button">
/// A MouseButton enum member indicating which button on the mouse to check.
/// </param>
///
/// @return A bool indicating the state of the given \p button. true if the button was pressed
/// and false if it was not.
/// @retval false always if Flag::UserInput is disabled.
///
/// @see MouseButton
virtual bool getMouseState(MouseButton button) const = 0;
/// <summary>Retrieves the state of the given keyboard key.</summary>
///
/// <param name="key">
/// A Key enum member indicating which key on the keyboard to check.
/// </param>
///
/// @return A bool indicating the state of the given \p key. true if the key was pressed
/// and false if it was not.
/// @retval false always if Flag::UserInput is disabled.
///
/// @see Key
virtual bool getKeyState(Key key) const = 0;
/// <summary>Retrieves the top left position of the viewport from the top left corner of the
/// map, in pixels.</summary>
///
/// @returns Position containing the coordinates of the top left corner of the game's viewport.
/// @retval Positions::Unknown always if Flag::UserInput is disabled.
/// @see setScreenPosition
virtual BWAPI::Position getScreenPosition() const = 0;
/// <summary>Moves the top left corner of the viewport to the provided position relative to
/// the map's origin (top left (0,0)).</summary>
///
/// <param name="x">
/// The x coordinate to move the screen to, in pixels.
/// </param>
/// <param name="y">
/// The y coordinate to move the screen to, in pixels.
/// </param>
/// @see getScreenPosition
virtual void setScreenPosition(int x, int y) = 0;
/// @overload
void setScreenPosition(BWAPI::Position p);
/// <summary>Pings the minimap at the given position.</summary> Minimap pings are visible to
/// allied players.
///
/// <param name="x">
/// The x coordinate to ping at, in pixels, from the map's origin (left).
/// </param>
/// <param name="y">
/// The y coordinate to ping at, in pixels, from the map's origin (top).
/// </param>
virtual void pingMinimap(int x, int y) = 0;
/// @overload
void pingMinimap(BWAPI::Position p);
/// <summary>Checks if the state of the given flag is enabled or not.</summary>
///
/// @note Flags may only be enabled at the start of the match during the AIModule::onStart
/// callback.
///
/// <param name="flag">
/// The Flag::Enum entry describing the flag's effects on BWAPI.
/// </param>
///
/// @returns true if the given \p flag is enabled, false if the flag is disabled.
///
/// @see Flag::Enum
///
/// @todo Take Flag::Enum as parameter instead of int
virtual bool isFlagEnabled(int flag) const = 0;
/// <summary>Enables the state of a given flag.</summary>
///
/// @note Flags may only be enabled at the start of the match during the AIModule::onStart
/// callback.
///
/// <param name="flag">
/// The Flag::Enum entry describing the flag's effects on BWAPI.
/// </param>
///
/// @see Flag::Enum
///
/// @todo Take Flag::Enum as parameter instead of int
virtual void enableFlag(int flag) = 0;
/// <summary>Retrieves the set of accessible units that are on a given build tile.</summary>
///
/// <param name="tileX">
/// The X position, in tiles.
/// </param>
/// <param name="tileY">
/// The Y position, in tiles.
/// </param>
/// <param name="pred"> (optional)
/// A function predicate that indicates which units are included in the returned set.
/// </param>
///
/// @returns A Unitset object consisting of all the units that have any part of them on the
/// given build tile.
Unitset getUnitsOnTile(int tileX, int tileY, const UnitFilter &pred = nullptr) const;
/// @overload
Unitset getUnitsOnTile(BWAPI::TilePosition tile, const UnitFilter &pred = nullptr) const;
/// <summary>Retrieves the set of accessible units that are in a given rectangle.</summary>
///
/// <param name="left">
/// The X coordinate of the left position of the bounding box, in pixels.
/// </param>
/// <param name="top">
/// The Y coordinate of the top position of the bounding box, in pixels.
/// </param>
/// <param name="right">
/// The X coordinate of the right position of the bounding box, in pixels.
/// </param>
/// <param name="bottom">
/// The Y coordinate of the bottom position of the bounding box, in pixels.
/// </param>
/// <param name="pred"> (optional)
/// A function predicate that indicates which units are included in the returned set.
/// </param>
///
/// @returns A Unitset object consisting of all the units that have any part of them within the
/// given rectangle bounds.
virtual Unitset getUnitsInRectangle(int left, int top, int right, int bottom, const UnitFilter &pred = nullptr) const = 0;
/// @overload
Unitset getUnitsInRectangle(BWAPI::Position topLeft, BWAPI::Position bottomRight, const UnitFilter &pred = nullptr) const;
/// <summary>Retrieves the set of accessible units that are within a given radius of a
/// position.</summary>
///
/// <param name="x">
/// The x coordinate of the center, in pixels.
/// </param>
/// <param name="y">
/// The y coordinate of the center, in pixels.
/// </param>
/// <param name="radius">
/// The radius from the center, in pixels, to include units.
/// </param>
/// <param name="pred"> (optional)
/// A function predicate that indicates which units are included in the returned set.
/// </param>
///
/// @returns A Unitset object consisting of all the units that have any part of them within the
/// given radius from the center position.
Unitset getUnitsInRadius(int x, int y, int radius, const UnitFilter &pred = nullptr) const;
/// @overload
Unitset getUnitsInRadius(BWAPI::Position center, int radius, const UnitFilter &pred = nullptr) const;
/// <summary>Retrieves the closest unit to center that matches the criteria of the callback
/// pred within an optional radius.</summary>
///
/// <param name="center">
/// The position to start searching for the closest unit.
/// </param>
/// <param name="pred"> (optional)
/// The UnitFilter predicate to determine which units should be included. This includes
/// all units by default.
/// </param>
/// <param name="radius"> (optional)
/// The radius to search in. If omitted, the entire map will be searched.
/// </param>
///
/// @returns The desired unit that is closest to center.
/// @retval nullptr If a suitable unit was not found.
///
/// @see getBestUnit, UnitFilter
Unit getClosestUnit(Position center, const UnitFilter &pred = nullptr, int radius = 999999) const;
/// <summary>Retrieves the closest unit to center that matches the criteria of the callback
/// pred within an optional rectangle.</summary>
///
/// <param name="center">
/// The position to start searching for the closest unit.
/// </param>
/// <param name="pred"> (optional)
/// The UnitFilter predicate to determine which units should be included. This includes
/// all units by default.
/// </param>
/// <param name="left"> (optional)
/// The left position of the rectangle. This value is 0 by default.
/// </param>
/// <param name="top"> (optional)
/// The top position of the rectangle. This value is 0 by default.
/// </param>
/// <param name="right"> (optional)
/// The right position of the rectangle. This value includes the entire map width by default.
/// </param>
/// <param name="bottom"> (optional)
/// The bottom position of the rectangle. This value includes the entire map height by default.
/// </param>
///
/// @see UnitFilter
virtual Unit getClosestUnitInRectangle(Position center, const UnitFilter &pred = nullptr, int left = 0, int top = 0, int right = 999999, int bottom = 999999) const = 0;
/// <summary>Compares all units with pred to determine which of them is the best.</summary>
/// All units are checked. If center and radius are specified, then it will check all units
/// that are within the radius of the position.
///
/// <param name="best">
/// A BestUnitFilter that determines which parameters should be considered when calculating
/// which units are better than others.
/// </param>
/// <param name="pred">
/// A UnitFilter that determines which units to include in calculations.
/// </param>
/// <param name="center"> (optional)
/// The position to use in the search. If omitted, then the entire map is searched.
/// </param>
/// <param name="radius"> (optional)
/// The distance from \p center to search for units. If omitted, then the entire map is
/// searched.
/// </param>
///
/// @returns The desired unit that best matches the given criteria.
/// @retval nullptr if a suitable unit was not found.
///
/// @see getClosestUnit, BestUnitFilter, UnitFilter
virtual Unit getBestUnit(const BestUnitFilter &best, const UnitFilter &pred, Position center = Positions::Origin, int radius = 999999) const = 0;
/// <summary>Returns the last error that was set using setLastError.</summary> If a function
/// call in BWAPI has failed, you can use this function to retrieve the reason it failed.
///
/// @returns Error type containing the reason for failure.
///
/// @see setLastError, Errors
virtual Error getLastError() const = 0;
/// <summary>Sets the last error so that future calls to getLastError will return the value
/// that was set.</summary>
///
/// <param name="e"> (optional)
/// The error code to set. If omitted, then the last error will be cleared.
/// </param>
///
/// @retval true If the type passed was Errors::None, clearing the last error.
/// @retval false If any other error type was passed.
/// @see getLastError, Errors
virtual bool setLastError(BWAPI::Error e = Errors::None) const = 0;
/// <summary>Retrieves the width of the map in build tile units.</summary>
///
/// @returns Width of the map in tiles.
/// @see mapHeight
virtual int mapWidth() const = 0;
/// <summary>Retrieves the height of the map in build tile units.</summary>
///
/// @returns Height of the map in tiles.
/// @see mapHeight
virtual int mapHeight() const = 0;
/// <summary>Retrieves the file name of the currently loaded map.</summary>
///
/// @returns Map file name as std::string object.
///
/// @see mapPathName, mapName
///
/// @TODO: Note on campaign files.
virtual std::string mapFileName() const = 0;
/// <summary>Retrieves the full path name of the currently loaded map.</summary>
///
/// @returns Map file name as std::string object.
///
/// @see mapFileName, mapName
///
/// @TODO: Note on campaign files.
virtual std::string mapPathName() const = 0;
/// <summary>Retrieves the title of the currently loaded map.</summary>
///
/// @returns Map title as std::string object.
///
/// @see mapFileName, mapPathName
virtual std::string mapName() const = 0;
/// <summary>Calculates the SHA-1 hash of the currently loaded map file.</summary>
///
/// @returns std::string object containing SHA-1 hash.
///
/// @note Campaign maps will return a hash of their internal map chunk components(.chk), while
/// standard maps will return a hash of their entire map archive (.scm,.scx).
///
/// @TODO: Note on replays.
virtual std::string mapHash() const = 0;
/// <summary>Checks if the given mini-tile position is walkable.</summary>
///
/// @note This function only checks if the static terrain is walkable. Its current occupied
/// state is excluded from this check. To see if the space is currently occupied or not, then
/// see #getUnitsInRectangle .
///
/// <param name="walkX">
/// The x coordinate of the mini-tile, in mini-tile units (8 pixels).
/// </param>
/// <param name="walkY">
/// The y coordinate of the mini-tile, in mini-tile units (8 pixels).
/// </param>
///
/// @returns true if the mini-tile is walkable and false if it is impassable for ground units.
virtual bool isWalkable(int walkX, int walkY) const = 0;
/// @overload
bool isWalkable(BWAPI::WalkPosition position) const;
/// <summary>Returns the ground height at the given tile position.</summary>
///
/// <param name="tileX">
/// X position to query, in tiles
/// </param>
/// <param name="tileY">
/// Y position to query, in tiles
/// </param>
///
/// @returns The tile height as an integer. Possible values are:
/// - 0: Low ground
/// - 1: Low ground doodad
/// - 2: High ground
/// - 3: High ground doodad
/// - 4: Very high ground
/// - 5: Very high ground doodad
/// .
virtual int getGroundHeight(int tileX, int tileY) const = 0;
/// @overload
int getGroundHeight(TilePosition position) const;
/// <summary>Checks if a given tile position is buildable.</summary> This means that, if all
/// other requirements are met, a structure can be placed on this tile. This function uses
/// static map data.
///
/// <param name="tileX">
/// The x value of the tile to check.
/// </param>
/// <param name="tileY">
/// The y value of the tile to check.
/// </param>
/// <param name="includeBuildings"> (optional)
/// If this is true, then this function will also check if any visible structures are
/// occupying the space. If this value is false, then it only checks the static map data
/// for tile buildability. This value is false by default.
/// </param>
///
/// @returns boolean identifying if the given tile position is buildable (true) or not (false).
/// If \p includeBuildings was provided, then it will return false if a structure is currently
/// occupying the tile.
virtual bool isBuildable(int tileX, int tileY, bool includeBuildings = false) const = 0;
/// @overload
bool isBuildable(TilePosition position, bool includeBuildings = false) const;
/// <summary>Checks if a given tile position is visible to the current player.</summary>
///
/// <param name="tileX">
/// The x value of the tile to check.
/// </param>
/// <param name="tileY">
/// The y value of the tile to check.
/// </param>
///
/// @returns boolean identifying the visibility of the tile. If the given tile is visible, then
/// the value is true. If the given tile is concealed by the fog of war, then this value will
/// be false.
virtual bool isVisible(int tileX, int tileY) const = 0;
/// @overload
bool isVisible(TilePosition position) const;
/// <summary>Checks if a given tile position has been explored by the player.</summary> An
/// explored tile position indicates that the player has seen the location at some point in the
/// match, partially revealing the fog of war for the remainder of the match.
///
/// <param name="tileX">
/// The x tile coordinate to check.
/// </param>
/// <param name="tileY">
/// The y tile coordinate to check.
/// </param>
///
/// @retval true If the player has explored the given tile position (partially revealed fog).
/// @retval false If the tile position was never explored (completely black fog).
///
/// @see isVisible
virtual bool isExplored(int tileX, int tileY) const = 0;
/// @overload
bool isExplored(TilePosition position) const;
/// <summary>Checks if the given tile position has @Zerg creep on it.</summary>
///
/// <param name="tileX">
/// The x tile coordinate to check.
/// </param>
/// <param name="tileY">
/// The y tile coordinate to check.
/// </param>
///
/// @retval true If the given tile has creep on it.
/// @retval false If the given tile does not have creep, or if it is concealed by the fog of war.
virtual bool hasCreep(int tileX, int tileY) const = 0;
/// @overload
bool hasCreep(TilePosition position) const;
/// <summary>Checks if the given pixel position is powered by an owned @Protoss_Pylon for an
/// optional unit type.</summary>
///
/// <param name="x">
/// The x pixel coordinate to check.
/// </param>
/// <param name="y">
/// The y pixel coordinate to check.
/// </param>
/// <param name="unitType"> (optional)
/// Checks if the given UnitType requires power or not. If ommitted, then it will assume
/// that the position requires power for any unit type.
/// </param>
///
/// @retval true if the type at the given position will have power.
/// @retval false if the type at the given position will be unpowered.
virtual bool hasPowerPrecise(int x, int y, UnitType unitType = UnitTypes::None ) const = 0;
/// @overload
bool hasPowerPrecise(Position position, UnitType unitType = UnitTypes::None) const;
/// <summary>Checks if the given tile position if powered by an owned @Protoss_Pylon for an
/// optional unit type.</summary>
///
/// <param name="tileX">
/// The x tile coordinate to check.
/// </param>
/// <param name="tileY">
/// The y tile coordinate to check.
/// </param>
/// <param name="unitType"> (optional)
/// Checks if the given UnitType will be powered if placed at the given tile position. If
/// omitted, then only the immediate tile position is checked for power, and the function
/// will assume that the location requires power for any unit type.
/// </param>
///
/// @retval true if the type at the given tile position will receive power.
/// @retval false if the type will be unpowered at the given tile position.
bool hasPower(int tileX, int tileY, UnitType unitType = UnitTypes::None) const;
/// @overload
bool hasPower(TilePosition position, UnitType unitType = UnitTypes::None) const;
/// @overload
bool hasPower(int tileX, int tileY, int tileWidth, int tileHeight, UnitType unitType = UnitTypes::None) const;
/// @overload
bool hasPower(TilePosition position, int tileWidth, int tileHeight, UnitType unitType = UnitTypes::None) const;
/// <summary>Checks if the given unit type can be built at the given build tile position.</summary>
/// This function checks for creep, power, and resource distance requirements in addition to
/// the tiles' buildability and possible units obstructing the build location.
///
/// @note If the type is an addon and a builer is provided, then the location of the addon will
/// be placed 4 tiles to the right and 1 tile down from the given \p position. If the builder
/// is not given, then the check for the addon will be conducted at position.
///
/// @note If \p type is UnitTypes::Special_Start_Location, then the area for a resource depot
/// (@Command_Center, @Hatchery, @Nexus) is checked as normal, but any potential obstructions
/// (existing structures, creep, units, etc.) are ignored.
///
/// <param name="position">
/// Indicates the tile position that the top left corner of the structure is intended to go.
/// </param>
/// <param name="type">
/// The UnitType to check for.
/// </param>
/// <param name="builder"> (optional)
/// The intended unit that will build the structure. If specified, then this function will
/// also check if there is a path to the build site and exclude the builder from the set of
/// units that may be blocking the build site.
/// </param>
/// <param name="checkExplored"> (optional)
/// If this parameter is true, it will also check if the target position has been explored
/// by the current player. This value is false by default, ignoring the explored state of
/// the build site.
/// </param>
///
/// @returns true indicating that the structure can be placed at the given tile position, and
/// false if something may be obstructing the build location.
virtual bool canBuildHere(TilePosition position, UnitType type, Unit builder = nullptr, bool checkExplored = false) = 0;
/// <summary>Checks all the requirements in order to make a given unit type for the current
/// player.</summary> These include resources, supply, technology tree, availability, and
/// required units.
///
/// <param name="type">
/// The UnitType to check.
/// </param>
/// <param name="builder"> (optional)
/// The Unit that will be used to build/train the provided unit \p type. If this value is
/// nullptr or excluded, then the builder will be excluded in the check.
/// </param>
///
/// @returns true indicating that the type can be made. If \p builder is provided, then it is
/// only true if \p builder can make the \p type. Otherwise it will return false, indicating
/// that the unit type can not be made.
virtual bool canMake(UnitType type, Unit builder = nullptr) const = 0;
/// <summary>Checks all the requirements in order to research a given technology type for the
/// current player.</summary> These include resources, technology tree, availability, and
/// required units.
///
/// <param name="type">
/// The TechType to check.
/// </param>
/// <param name="unit"> (optional)
/// The Unit that will be used to research the provided technology \p type. If this value is
/// nullptr or excluded, then the unit will be excluded in the check.
/// </param>
/// <param name="checkCanIssueCommandType"> (optional)
/// TODO fill this in
/// </param>
///
/// @returns true indicating that the type can be researched. If \p unit is provided, then it is
/// only true if \p unit can research the \p type. Otherwise it will return false, indicating
/// that the technology can not be researched.
virtual bool canResearch(TechType type, Unit unit = nullptr, bool checkCanIssueCommandType = true) = 0;
/// <summary>Checks all the requirements in order to upgrade a given upgrade type for the
/// current player.</summary> These include resources, technology tree, availability, and
/// required units.
///
/// <param name="type">
/// The UpgradeType to check.
/// </param>
/// <param name="unit"> (optional)
/// The Unit that will be used to upgrade the provided upgrade \p type. If this value is
/// nullptr or excluded, then the unit will be excluded in the check.
/// </param>
/// <param name="checkCanIssueCommandType"> (optional)
/// TODO fill this in
/// </param>
///
/// @returns true indicating that the type can be upgraded. If \p unit is provided, then it is
/// only true if \p unit can upgrade the \p type. Otherwise it will return false, indicating
/// that the upgrade can not be upgraded.
virtual bool canUpgrade(UpgradeType type, Unit unit = nullptr, bool checkCanIssueCommandType = true) = 0;
/// <summary>Retrieves the set of all starting locations for the current map.</summary> A
/// starting location is essentially a candidate for a player's spawn point.
///
/// @returns A TilePosition::list containing all the TilePosition objects that indicate a start
/// location.
/// @see PlayerInterface::getStartLocation
virtual const TilePosition::list& getStartLocations() const = 0;
/// <summary>Prints text to the screen as a notification.</summary> This function allows text
/// formatting using Text::Enum members. The behaviour of this function is the same as printf,
/// located in header cstdio.
///
/// @note That text printed through this function is not seen by other players or in replays.
///
/// <param name="format">
/// Text formatting. See std::printf for more information. Refrain from passing non-constant
/// strings directly in this parameter.
/// </param>
/// <param name="...">
/// The arguments that will be formatted using the given text formatting.
/// </param>
///
/// @see Text::Enum, std::printf
void printf(const char *format, ...);
/// @copydoc printf
///
/// This function is intended to forward an already-existing argument list.
///
/// <param name="args">
/// The argument list that will be formatted.
/// </param>
///
/// @see printf
virtual void vPrintf(const char *format, va_list args) = 0;
/// <summary>Sends a text message to all other players in the game.</summary> The behaviour of
/// this function is the same as std::printf, located in header cstdio.
///
/// @note In a single player game this function can be used to execute cheat codes.
///
/// <param name="format">
/// Text formatting. See std::printf for more information. Refrain from passing non-constant
/// strings directly in this parameter.
/// </param>
///
/// @see sendTextEx, std::printf
void sendText(const char *format, ...);
/// @copydoc sendText
///
/// This function is intended to forward an already-existing argument list.
///
/// <param name="args">
/// The argument list that will be formatted.
/// </param>
///
/// @see sendText
void vSendText(const char *format, va_list args);
/// <summary>An extended version of Game::sendText which allows messages to be forwarded to
/// allies.</summary> The behaviour of this function is the same as std::printf, located in
/// header cstdio.
///
/// <param name="toAllies">
/// If this parameter is set to true, then the message is only sent to allied players,
/// otherwise it will be sent to all players.
/// </param>
/// <param name="format">
/// Text formatting. See std::printf for more information. Refrain from passing non-constant
/// strings directly in this parameter.
/// </param>
///
/// @see sendText, std::printf
void sendTextEx(bool toAllies, const char *format, ...);
/// @copydoc sendTextEx
///
/// This function is intended to forward an already-existing argument list.
///
/// <param name="args">
/// The argument list that will be formatted.
/// </param>
///
/// @see sendTextEx
virtual void vSendTextEx(bool toAllies, const char *format, va_list args) = 0;
/// <summary>Checks if the current client is inside a game.</summary>
///
/// @returns true if the client is in a game, and false if it is not.
virtual bool isInGame() const = 0;
/// <summary>Checks if the current client is inside a multiplayer game.</summary>
///
/// @returns true if the client is in a multiplayer game, and false if it is a single player
/// game, a replay, or some other state.
virtual bool isMultiplayer() const = 0;
/// <summary>Checks if the client is in a game that was created through the Battle.net
/// multiplayer gaming service.</summary>
///
/// @returns true if the client is in a multiplayer Battle.net game and false if it is not.
virtual bool isBattleNet() const = 0;
/// <summary>Checks if the current game is paused.</summary> While paused, AIModule::onFrame
/// will still be called.
///
/// @returns true if the game is paused and false otherwise
/// @see pauseGame, resumeGame
virtual bool isPaused() const = 0;
/// <summary>Checks if the client is watching a replay.</summary>
///
/// @returns true if the client is watching a replay and false otherwise
virtual bool isReplay() const = 0;
/// <summary>Pauses the game.</summary> While paused, AIModule::onFrame will still be called.
/// @see resumeGame
virtual void pauseGame() = 0;
/// <summary>Resumes the game from a paused state.</summary>
/// @see pauseGame
virtual void resumeGame() = 0;
/// <summary>Leaves the current game by surrendering and enters the post-game statistics/score
/// screen.</summary>
virtual void leaveGame() = 0;
/// <summary>Restarts the match.</summary> Works the same as if the match was restarted from
/// the in-game menu (F10). This option is only available in single player games.
///
/// @todo return a bool indicating success, document error code for invalid state
virtual void restartGame() = 0;
/// <summary>Sets the number of milliseconds Broodwar spends in each frame.</summary> The
/// default values are as follows:
/// - Fastest: 42ms/frame
/// - Faster: 48ms/frame
/// - Fast: 56ms/frame
/// - Normal: 67ms/frame
/// - Slow: 83ms/frame
/// - Slower: 111ms/frame
/// - Slowest: 167ms/frame
///
/// @note Specifying a value of 0 will not guarantee that logical frames are executed as fast
/// as possible. If that is the intention, use this in combination with #setFrameSkip.
///
/// @bug Changing this value will cause the execution of @UMS scenario triggers to glitch.
/// This will only happen in campaign maps and custom scenarios (non-melee).
///
/// <param name="speed">
/// The time spent per frame, in milliseconds. A value of 0 indicates that frames are
/// executed immediately with no delay. Negative values will restore the default value
/// as listed above.
/// </param>
///
/// @see setFrameSkip, getFPS
virtual void setLocalSpeed(int speed) = 0;
/// <summary>Issues a given command to a set of units.</summary> This function automatically
/// splits the set into groups of 12 and issues the same command to each of them. If a unit
/// is not capable of executing the command, then it is simply ignored.
///
/// <param name="units">
/// A Unitset containing all the units to issue the command for.
/// </param>
/// <param name="command">
/// A UnitCommand object containing relevant information about the command to be issued.
/// The Unit interface object associated with the command will be ignored.
/// </param>
///
/// @returns true if any one of the units in the Unitset were capable of executing the
/// command, and false if none of the units were capable of executing the command.
virtual bool issueCommand(const Unitset& units, UnitCommand command) = 0;
/// <summary>Retrieves the set of units that are currently selected by the user outside of
/// BWAPI.</summary> This function requires that Flag::UserInput be enabled.
///
/// @returns A Unitset containing the user's selected units. If Flag::UserInput is disabled,
/// then this set is always empty.
///
/// @see enableFlag
virtual const Unitset& getSelectedUnits() const = 0;
/// <summary>Retrieves the player object that BWAPI is controlling.</summary>
///
/// @returns Pointer to Player interface object representing the current player.
/// @retval nullptr if the current game is a replay.
///
/// Example usage
/// @code
/// void ExampleAIModule::onStart()
/// {
/// if ( BWAPI::Broodwar->self() )
/// BWAPI::Broodwar->sendText("Hello, my name is %s.", BWAPI::Broodwar->self()->getName().c_str());
/// }
/// @endcode
virtual Player self() const = 0;
/// <summary>Retrieves the Player interface that represents the enemy player.</summary> If
/// there is more than one enemy, and that enemy is destroyed, then this function will still
/// retrieve the same, defeated enemy. If you wish to handle multiple opponents, see the
/// Game::enemies function.
///
/// @returns Player interface representing an enemy player.
/// @retval nullptr If there is no enemy or the current game is a replay.
/// @see enemies
virtual Player enemy() const = 0;
/// <summary>Retrieves the Player interface object representing the neutral player.</summary>
/// The neutral player owns all the resources and critters on the map by default.
///
/// @returns Player interface indicating the neutral player.
virtual Player neutral() const = 0;
/// <summary>Retrieves a set of all the current player's remaining allies.</summary>
///
/// @returns Playerset containing all allied players.
virtual Playerset& allies() = 0;
/// <summary>Retrieves a set of all the current player's remaining enemies.</summary>
///
/// @returns Playerset containing all enemy players.
virtual Playerset& enemies() = 0;
/// <summary>Retrieves a set of all players currently observing the game.</summary> An observer
/// is defined typically in a @UMS game type as not having any impact on the game. This means
/// an observer cannot start with any units, and cannot have any active trigger actions that
/// create units for it.
///
/// @returns Playerset containing all currently active observer players
virtual Playerset& observers() = 0;
/// @name Debugging Members
/// @{
/// <summary>Sets the size of the text for all calls to drawText following this one.</summary>
///
/// <param name="size"> (optional)
/// The size of the text. This value is one of Text::Size::Enum. If this value is omitted,
/// then a default value of Text::Size::Default is used.
/// </param>
///
/// Example usage
/// @code
/// void ExampleAIModule::onFrame()
/// {
/// // Centers the name of the player in the upper middle of the screen
/// BWAPI::Broodwar->setTextSize(BWAPI::Text::Size::Large);
/// BWAPI::Broodwar->drawTextScreen(BWAPI::Positions::Origin, "%c%c%s",
/// BWAPI::Text::Align_Center,
/// BWAPI::Text::Green,
/// BWAPI::Broodwar->self()->getName().c_str() );
/// BWAPI::Broodwar->setTextSize(); // Set text size back to default
/// }
/// @endcode
/// @see Text::Size::Enum
virtual void setTextSize(Text::Size::Enum size = Text::Size::Default) = 0;
/// <summary>Draws text on the screen at the given coordinates.</summary> Text can be drawn in
/// different colors or formatted using the Text::Enum members.
///
/// <param name="ctype">
/// The coordinate type. Indicates the relative position to draw the shape.
/// </param>
/// <param name="x">
/// The x coordinate, in pixels, relative to ctype.
/// </param>
/// <param name="y">
/// The y coordinate, in pixels, relative to ctype.
/// </param>
/// <param name="format">
/// The string formatting portion. This is the same as printf style formatting.
/// </param>
/// <param name="arg">
/// Arglist containing the intermediate list of arguments to format before finally sending
/// the string to Broodwar.
/// </param>
virtual void vDrawText(CoordinateType::Enum ctype, int x, int y, const char *format, va_list arg) = 0;
/// @overload
void drawText(CoordinateType::Enum ctype, int x, int y, const char *format, ...);
/// @overload
void drawTextMap(int x, int y, const char *format, ...);
/// @overload
void drawTextMap(Position p, const char *format, ...);
/// @overload
void drawTextMouse(int x, int y, const char *format, ...);
/// @overload
void drawTextMouse(Position p, const char *format, ...);
/// @overload
void drawTextScreen(int x, int y, const char *format, ...);
/// @overload
void drawTextScreen(Position p, const char *format, ...);
/// <summary>Draws a rectangle on the screen with the given color.</summary>
///
/// <param name="ctype">
/// The coordinate type. Indicates the relative position to draw the shape.
/// </param>
/// <param name="left">
/// The x coordinate, in pixels, relative to ctype, of the left edge of the rectangle.
/// </param>
/// <param name="top">
/// The y coordinate, in pixels, relative to ctype, of the top edge of the rectangle.
/// </param>
/// <param name="right">
/// The x coordinate, in pixels, relative to ctype, of the right edge of the rectangle.
/// </param>
/// <param name="bottom">
/// The y coordinate, in pixels, relative to ctype, of the bottom edge of the rectangle.
/// </param>
/// <param name="color">
/// The color of the rectangle.
/// </param>
/// <param name="isSolid"> (optional)
/// If true, then the shape will be filled and drawn as a solid, otherwise it will be drawn
/// as an outline. If omitted, this value will default to false.
/// </param>
virtual void drawBox(CoordinateType::Enum ctype, int left, int top, int right, int bottom, Color color, bool isSolid = false) = 0;
/// @overload
void drawBoxMap(int left, int top, int right, int bottom, Color color, bool isSolid = false);
/// @overload
void drawBoxMap(Position leftTop, Position rightBottom, Color color, bool isSolid = false);
/// @overload
void drawBoxMouse(int left, int top, int right, int bottom, Color color, bool isSolid = false);
/// @overload
void drawBoxMouse(Position leftTop, Position rightBottom, Color color, bool isSolid = false);
/// @overload
void drawBoxScreen(int left, int top, int right, int bottom, Color color, bool isSolid = false);
/// @overload
void drawBoxScreen(Position leftTop, Position rightBottom, Color color, bool isSolid = false);
/// <summary>Draws a triangle on the screen with the given color.</summary>
///
/// <param name="ctype">
/// The coordinate type. Indicates the relative position to draw the shape.
/// </param>
/// <param name="ax">
/// The x coordinate, in pixels, relative to ctype, of the first point.
/// </param>
/// <param name="ay">
/// The y coordinate, in pixels, relative to ctype, of the first point.
/// </param>
/// <param name="bx">
/// The x coordinate, in pixels, relative to ctype, of the second point.
/// </param>
/// <param name="by">
/// The y coordinate, in pixels, relative to ctype, of the second point.
/// </param>
/// <param name="cx">
/// The x coordinate, in pixels, relative to ctype, of the third point.
/// </param>
/// <param name="cy">
/// The y coordinate, in pixels, relative to ctype, of the third point.
/// </param>
/// <param name="color">
/// The color of the triangle.
/// </param>
/// <param name="isSolid"> (optional)
/// If true, then the shape will be filled and drawn as a solid, otherwise it will be drawn
/// as an outline. If omitted, this value will default to false.
/// </param>
virtual void drawTriangle(CoordinateType::Enum ctype, int ax, int ay, int bx, int by, int cx, int cy, Color color, bool isSolid = false) = 0;
/// @overload
void drawTriangleMap(int ax, int ay, int bx, int by, int cx, int cy, Color color, bool isSolid = false);
/// @overload
void drawTriangleMap(Position a, Position b, Position c, Color color, bool isSolid = false);
/// @overload
void drawTriangleMouse(int ax, int ay, int bx, int by, int cx, int cy, Color color, bool isSolid = false);
/// @overload
void drawTriangleMouse(Position a, Position b, Position c, Color color, bool isSolid = false);
/// @overload
void drawTriangleScreen(int ax, int ay, int bx, int by, int cx, int cy, Color color, bool isSolid = false);
/// @overload
void drawTriangleScreen(Position a, Position b, Position c, Color color, bool isSolid = false);
/// <summary>Draws a circle on the screen with the given color.</summary>
///
/// <param name="ctype">
/// The coordinate type. Indicates the relative position to draw the shape.
/// </param>
/// <param name="x">
/// The x coordinate, in pixels, relative to ctype.
/// </param>
/// <param name="y">
/// The y coordinate, in pixels, relative to ctype.
/// </param>
/// <param name="radius">
/// The radius of the circle, in pixels.
/// </param>
/// <param name="color">
/// The color of the circle.
/// </param>
/// <param name="isSolid"> (optional)
/// If true, then the shape will be filled and drawn as a solid, otherwise it will be drawn
/// as an outline. If omitted, this value will default to false.
/// </param>
virtual void drawCircle(CoordinateType::Enum ctype, int x, int y, int radius, Color color, bool isSolid = false) = 0;
/// @overload
void drawCircleMap(int x, int y, int radius, Color color, bool isSolid = false);
/// @overload
void drawCircleMap(Position p, int radius, Color color, bool isSolid = false);
/// @overload
void drawCircleMouse(int x, int y, int radius, Color color, bool isSolid = false);
/// @overload
void drawCircleMouse(Position p, int radius, Color color, bool isSolid = false);
/// @overload
void drawCircleScreen(int x, int y, int radius, Color color, bool isSolid = false);
/// @overload
void drawCircleScreen(Position p, int radius, Color color, bool isSolid = false);
/// <summary>Draws an ellipse on the screen with the given color.</summary>
///
/// <param name="ctype">
/// The coordinate type. Indicates the relative position to draw the shape.
/// </param>
/// <param name="x">
/// The x coordinate, in pixels, relative to ctype.
/// </param>
/// <param name="y">
/// The y coordinate, in pixels, relative to ctype.
/// </param>
/// <param name="xrad">
/// The x radius of the ellipse, in pixels.
/// </param>
/// <param name="yrad">
/// The y radius of the ellipse, in pixels.
/// </param>
/// <param name="color">
/// The color of the ellipse.
/// </param>
/// <param name="isSolid"> (optional)
/// If true, then the shape will be filled and drawn as a solid, otherwise it will be drawn
/// as an outline. If omitted, this value will default to false.
/// </param>
virtual void drawEllipse(CoordinateType::Enum ctype, int x, int y, int xrad, int yrad, Color color, bool isSolid = false) = 0;
/// @overload
void drawEllipseMap(int x, int y, int xrad, int yrad, Color color, bool isSolid = false);
/// @overload
void drawEllipseMap(Position p, int xrad, int yrad, Color color, bool isSolid = false);
/// @overload
void drawEllipseMouse(int x, int y, int xrad, int yrad, Color color, bool isSolid = false);
/// @overload
void drawEllipseMouse(Position p, int xrad, int yrad, Color color, bool isSolid = false);
/// @overload
void drawEllipseScreen(int x, int y, int xrad, int yrad, Color color, bool isSolid = false);
/// @overload
void drawEllipseScreen(Position p, int xrad, int yrad, Color color, bool isSolid = false);
/// <summary>Draws a dot on the map or screen with a given color.</summary>
///
/// <param name="ctype">
/// The coordinate type. Indicates the relative position to draw the shape.
/// </param>
/// <param name="x">
/// The x coordinate, in pixels, relative to ctype.
/// </param>
/// <param name="y">
/// The y coordinate, in pixels, relative to ctype.
/// </param>
/// <param name="color">
/// The color of the dot.
/// </param>
virtual void drawDot(CoordinateType::Enum ctype, int x, int y, Color color) = 0;
/// @overload
void drawDotMap(int x, int y, Color color);
/// @overload
void drawDotMap(Position p, Color color);
/// @overload
void drawDotMouse(int x, int y, Color color);
/// @overload
void drawDotMouse(Position p, Color color);
/// @overload
void drawDotScreen(int x, int y, Color color);
/// @overload
void drawDotScreen(Position p, Color color);
/// <summary>Draws a line on the map or screen with a given color.</summary>
///
/// <param name="ctype">
/// The coordinate type. Indicates the relative position to draw the shape.
/// </param>
/// <param name="x1">
/// The starting x coordinate, in pixels, relative to ctype.
/// </param>
/// <param name="y1">
/// The starting y coordinate, in pixels, relative to ctype.
/// </param>
/// <param name="x2">
/// The ending x coordinate, in pixels, relative to ctype.
/// </param>
/// <param name="y2">
/// The ending y coordinate, in pixels, relative to ctype.
/// </param>
/// <param name="color">
/// The color of the line.
/// </param>
virtual void drawLine(CoordinateType::Enum ctype, int x1, int y1, int x2, int y2, Color color) = 0;
/// @overload
void drawLineMap(int x1, int y1, int x2, int y2, Color color);
/// @overload
void drawLineMap(Position a, Position b, Color color);
/// @overload
void drawLineMouse(int x1, int y1, int x2, int y2, Color color);
/// @overload
void drawLineMouse(Position a, Position b, Color color);
/// @overload
void drawLineScreen(int x1, int y1, int x2, int y2, Color color);
/// @overload
void drawLineScreen(Position a, Position b, Color color);
/// @}
/// <summary>Retrieves the maximum delay, in number of frames, between a command being issued
/// and the command being executed by Broodwar.</summary>
///
/// @note In Broodwar, latency is used to keep the game synchronized between players without
/// introducing lag.
///
/// @returns Difference in frames between commands being sent and executed.
/// @see getLatencyTime, getRemainingLatencyFrames
virtual int getLatencyFrames() const = 0;
/// <summary>Retrieves the maximum delay, in milliseconds, between a command being issued and
/// the command being executed by Broodwar.</summary>
///
/// @returns Difference in milliseconds between commands being sent and executed.
/// @see getLatencyFrames, getRemainingLatencyTime
virtual int getLatencyTime() const = 0;
/// <summary>Retrieves the number of frames it will take before a command sent in the current
/// frame will be executed by the game.</summary>
///
/// @returns Number of frames until a command is executed if it were sent in the current
/// frame.
/// @see getRemainingLatencyTime, getLatencyFrames
virtual int getRemainingLatencyFrames() const = 0;
/// <summary>Retrieves the number of milliseconds it will take before a command sent in the
/// current frame will be executed by Broodwar.</summary>
///
/// @returns Amount of time, in milliseconds, until a command is executed if it were sent in
/// the current frame.
/// @see getRemainingLatencyFrames, getLatencyTime
virtual int getRemainingLatencyTime() const = 0;
/// <summary>Retrieves the current revision of BWAPI.</summary>
///
/// @returns The revision number of the current BWAPI interface.
///
/// @threadsafe
virtual int getRevision() const = 0;
/// <summary>Retrieves the version that the BWAPI client is using for compatibility checks.</summary>
///
/// @returns The version number for the BWAPI client.
///
/// @threadsafe
/// @since 4.2.0
virtual int getClientVersion() const = 0;
/// <summary>Retrieves the debug state of the BWAPI build.</summary>
///
/// @returns true if the BWAPI module is a DEBUG build, and false if it is a RELEASE build.
///
/// @threadsafe
virtual bool isDebug() const = 0;
/// <summary>Checks the state of latency compensation.</summary>
///
/// @returns true if latency compensation is enabled, false if it is disabled.
/// @see setLatCom
virtual bool isLatComEnabled() const = 0;
/// <summary>Changes the state of latency compensation.</summary> Latency compensation
/// modifies the state of BWAPI's representation of units to reflect the implications of
/// issuing a command immediately after the command was performed, instead of waiting
/// consecutive frames for the results. Latency compensation is enabled by default.
///
/// <param name="isEnabled">
/// Set whether the latency compensation feature will be enabled (true) or disabled (false).
/// </param>
///
/// @see isLatComEnabled.
virtual void setLatCom(bool isEnabled) = 0;
/// <summary>Checks if the GUI is enabled.</summary> The GUI includes all drawing functions of
/// BWAPI, as well as screen updates from Broodwar.
///
/// @retval true If the GUI is enabled, and everything is visible
/// @retval false If the GUI is disabled and drawing functions are rejected
///
/// @see setGUI
virtual bool isGUIEnabled() const = 0;
/// <summary>Sets the rendering state of the Starcraft GUI.</summary> This typically gives
/// Starcraft a very low graphical frame rate and disables all drawing functionality in BWAPI.
///
/// <param name="enabled">
/// A boolean value that determines the state of the GUI. Passing false to this function
/// will disable the GUI, and true will enable it.
/// </param>
///
/// Example Usage:
/// @code
/// void ExampleAIModule::onStart()
/// { // Make our bot run thousands of games as fast as possible!
/// Broodwar->setLocalSpeed(0);
/// Broodwar->setGUI(false);
/// }
/// @endcode
///
/// @see isGUIEnabled
virtual void setGUI(bool enabled) = 0;
/// <summary>Retrieves the Starcraft instance number recorded by BWAPI to identify which
/// Starcraft instance an AI module belongs to.</summary> The very first instance should
/// return 0.
///
/// @returns
/// An integer value representing the instance number.
///
/// @threadsafe
virtual int getInstanceNumber() const = 0;
/// <summary>Retrieves the Actions Per Minute (APM) that the bot is producing.</summary>
///
/// <param name="includeSelects"> (optional)
/// If true, the return value will include selections as individual commands, otherwise
/// it will exclude selections. This value is false by default.
/// </param>
///
/// @returns The number of actions that the bot has executed per minute, on average.
virtual int getAPM(bool includeSelects = false) const = 0;
/// <summary>Changes the map to the one specified.</summary> Once restarted, the game will
/// load the map that was provided. Changes do not take effect unless the game is restarted.
///
/// <param name="mapFileName">
/// A string containing the path and file name to the desired map.
/// </param>
///
/// @retval true if the function succeeded and has changed the map.
/// @retval false if the function failed, does not have permission from the tournament module,
/// failed to find the map specified, or received an invalid parameter.
virtual bool setMap(const char *mapFileName) = 0;
/// @overload
bool setMap(const std::string &mapFileName);
/// <summary>Sets the number of graphical frames for every logical frame.</summary> This
/// allows the game to run more logical frames per graphical frame, increasing the speed at
/// which the game runs.
///
/// <param name="frameSkip">
/// Number of graphical frames per logical frame. If this value is 0 or less, then it will
/// default to 1.
/// </param>
///
/// @see setLocalSpeed
virtual void setFrameSkip(int frameSkip) = 0;
/// <summary>Checks if there is a path from source to destination.</summary> This only checks
/// if the source position is connected to the destination position. This function does not
/// check if all units can actually travel from source to destination. Because of this
/// limitation, it has an O(1) complexity, and cases where this limitation hinders gameplay is
/// uncommon at best.
///
/// @note If making queries on a unit, it's better to call UnitInterface::hasPath, since it is
/// a more lenient version of this function that accounts for some edge cases.
///
/// <param name="source">
/// The source position.
/// </param>
/// <param name="destination">
/// The destination position.
/// </param>
///
/// @returns true if there is a path between the two positions, and false if there is not.
/// @see UnitInterface::hasPath
bool hasPath(Position source, Position destination) const;
/// <summary>Sets the alliance state of the current player with the target player.</summary>
///
/// <param name="player">
/// The target player to set alliance with.
/// </param>
/// <param name="allied"> (optional)
/// If true, the current player will ally the target player. If false, the current player
/// will make the target player an enemy. This value is true by default.
/// </param>
/// <param name="alliedVictory"> (optional)
/// Sets the state of "allied victory". If true, the game will end in a victory if all
/// allied players have eliminated their opponents. Otherwise, the game will only end if
/// no other players are remaining in the game. This value is true by default.
/// </param>
virtual bool setAlliance(BWAPI::Player player, bool allied = true, bool alliedVictory = true) = 0;
/// <summary>In a game, this function sets the vision of the current BWAPI player with the
/// target player.</summary> In a replay, this function toggles the visibility of the target
/// player.
///
/// <param name="player">
/// The target player to toggle vision.
/// </param>
/// <param name="enabled"> (optional)
/// The vision state. If true, and in a game, the current player will enable shared vision
/// with the target player, otherwise it will unshare vision. If in a replay, the vision
/// of the target player will be shown, otherwise the target player will be hidden. This
/// value is true by default.
/// </param>
virtual bool setVision(BWAPI::Player player, bool enabled = true) = 0;
/// <summary>Retrieves current amount of time in seconds that the game has elapsed.</summary>
///
/// @returns Time, in seconds, that the game has elapsed as an integer.
virtual int elapsedTime() const = 0;
/// <summary>Sets the command optimization level.</summary> Command optimization is a feature
/// in BWAPI that tries to reduce the APM of the bot by grouping or eliminating unnecessary
/// game actions. For example, suppose the bot told 24 @Zerglings to @Burrow. At command
/// optimization level 0, BWAPI is designed to select each Zergling to burrow individually,
/// which costs 48 actions. With command optimization level 1, it can perform the same
/// behaviour using only 4 actions. The command optimizer also reduces the amount of bytes used
/// for each action if it can express the same action using a different command. For example,
/// Right_Click uses less bytes than Move.
///
/// <param name="level">
/// An integer representation of the aggressiveness for which commands are optimized. A
/// lower level means less optimization, and a higher level means more optimization.
/// </param>
///
/// The values for \p level are as follows:
/// - 0: No optimization.
/// - 1: Some optimization.
/// - Is not detected as a hack.
/// - Does not alter behaviour.
/// - Units performing the following actions are grouped and ordered 12 at a time:
/// - Attack_Unit
/// - Morph (@Larva only)
/// - Hold_Position
/// - Stop
/// - Follow
/// - Gather
/// - Return_Cargo
/// - Repair
/// - Burrow
/// - Unburrow
/// - Cloak
/// - Decloak
/// - Siege
/// - Unsiege
/// - Right_Click_Unit
/// - Halt_Construction
/// - Cancel_Train (@Carrier and @Reaver only)
/// - Cancel_Train_Slot (@Carrier and @Reaver only)
/// - Cancel_Morph (for non-buildings only)
/// - Use_Tech
/// - Use_Tech_Unit
/// .
/// - The following order transformations are applied to allow better grouping:
/// - Attack_Unit becomes Right_Click_Unit if the target is an enemy
/// - Move becomes Right_Click_Position
/// - Gather becomes Right_Click_Unit if the target contains resources
/// - Set_Rally_Position becomes Right_Click_Position for buildings
/// - Set_Rally_Unit becomes Right_Click_Unit for buildings
/// - Use_Tech_Unit with Infestation becomes Right_Click_Unit if the target is valid
/// .
/// .
/// - 2: More optimization by grouping structures.
/// - Includes the optimizations made by all previous levels.
/// - May be detected as a hack by some replay utilities.
/// - Does not alter behaviour.
/// - Units performing the following actions are grouped and ordered 12 at a time:
/// - Attack_Unit (@Turrets, @Photon_Cannons, @Sunkens, @Spores)
/// - Train
/// - Morph
/// - Set_Rally_Unit
/// - Lift
/// - Cancel_Construction
/// - Cancel_Addon
/// - Cancel_Train
/// - Cancel_Train_Slot
/// - Cancel_Morph
/// - Cancel_Research
/// - Cancel_Upgrade
/// .
/// .
/// - 3: Extensive optimization
/// - Includes the optimizations made by all previous levels.
/// - Units may behave or move differently than expected.
/// - Units performing the following actions are grouped and ordered 12 at a time:
/// - Attack_Move
/// - Set_Rally_Position
/// - Move
/// - Patrol
/// - Unload_All
/// - Unload_All_Position
/// - Right_Click_Position
/// - Use_Tech_Position
/// .
/// .
/// - 4: Aggressive optimization
/// - Includes the optimizations made by all previous levels.
/// - Positions used in commands will be rounded to multiples of 32.
/// - @High_Templar and @Dark_Templar that merge into @Archons will be grouped and may
/// choose a different target to merge with. It will not merge with a target that
/// wasn't included.
/// .
/// .
///
virtual void setCommandOptimizationLevel(int level) = 0;
/// <summary>Returns the remaining countdown time.</summary> The countdown timer is used in
/// @CTF and @UMS game types.
///
/// Example usage:
/// @code
/// void ExampleAIModule::onStart()
/// {
/// // Register a callback that only occurs once when the countdown timer reaches 0
/// if ( BWAPI::Broodwar->getGameType() == BWAPI::GameTypes::Capture_The_Flag ||
/// BWAPI::Broodwar->getGameType() == BWAPI::GameTypes::Team_Capture_The_Flag )
/// {
/// BWAPI::Broodwar->registerEvent([](BWAPI::Game*){ BWAPI::Broodwar->sendText("Try to find my flag!"); }, // action
/// [](BWAPI::Game*){ return BWAPI::Broodwar->countdownTimer() == 0; }, // condition
/// 1); // times to run (once)
/// }
/// }
/// @endcode
///
/// @returns Integer containing the time (in game seconds) on the countdown timer.
virtual int countdownTimer() const = 0;
/// <summary>Retrieves the set of all regions on the map.</summary>
///
/// @returns Regionset containing all map regions.
virtual const Regionset &getAllRegions() const = 0;
/// <summary>Retrieves the region at a given position.</summary>
///
/// <param name="x">
/// The x coordinate, in pixels.
/// </param>
/// <param name="y">
/// The y coordinate, in pixels.
/// </param>
///
/// @returns Pointer to the Region interface at the given position.
/// @retval nullptr if the provided position is not valid (i.e. not within the map bounds).
///
/// @note If the provided position is invalid, the error Errors::Invalid_Parameter is set.
/// @see getAllRegions, getRegion
virtual BWAPI::Region getRegionAt(int x, int y) const = 0;
/// @overload
BWAPI::Region getRegionAt(BWAPI::Position position) const;
/// <summary>Retrieves the amount of time (in milliseconds) that has elapsed when running the last AI
/// module callback.</summary> This is used by tournament modules to penalize AI modules that use too
/// much processing time.
///
/// @retval 0 When called from an AI module.
/// @returns Time in milliseconds spent in last AI module call.
virtual int getLastEventTime() const = 0;
/// <summary>Sets the state of the fog of war when watching a replay.</summary>
///
/// <param name="reveal"> (optional)
/// The state of the reveal all flag. If false, all fog of war will be enabled. If true,
/// then the fog of war will be revealed. It is true by default.
/// </param>
virtual bool setRevealAll(bool reveal = true) = 0;
/// <summary>Retrieves a basic build position just as the default Computer AI would.</summary>
/// This allows users to find simple build locations without relying on external libraries.
///
/// <param name="type">
/// A valid UnitType representing the unit type to accomodate space for.
/// </param>
/// <param name="desiredPosition">
/// A valid TilePosition containing the desired placement position.
/// </param>
/// <param name="maxRange"> (optional)
/// The maximum distance (in tiles) to build from \p desiredPosition.
/// </param>
/// <param name="creep"> (optional)
/// A special boolean value that changes the behaviour of @Creep_Colony placement.
/// </param>
///
/// @retval TilePositions::Invalid If a build location could not be found within \p maxRange.
/// @returns
/// A TilePosition containing the location that the structure should be constructed at.
TilePosition getBuildLocation(UnitType type, TilePosition desiredPosition, int maxRange = 64, bool creep = false) const;
/// <summary>Calculates the damage received for a given player.</summary> It can be understood
/// as the damage from \p fromType to \p toType. Does not include shields in calculation.
/// Includes upgrades if players are provided.
///
/// <param name="fromType">
/// The unit type that will be dealing the damage.
/// </param>
/// <param name="toType">
/// The unit type that will be receiving the damage.
/// </param>
/// <param name="fromPlayer"> (optional)
/// The player owner of the given type that will be dealing the damage. If omitted, then
/// no player will be used to calculate the upgrades for \p fromType.
/// </param>
/// <param name="toPlayer"> (optional)
/// The player owner of the type that will be receiving the damage. If omitted, then this
/// parameter will default to Broodwar->self().
/// </param>
///
/// @returns The amount of damage that fromType would deal to toType.
/// @see getDamageTo
int getDamageFrom(UnitType fromType, UnitType toType, Player fromPlayer = nullptr, Player toPlayer = nullptr) const;
/// <summary>Calculates the damage dealt for a given player.</summary> It can be understood as
/// the damage to \p toType from \p fromType. Does not include shields in calculation.
/// Includes upgrades if players are provided.
///
/// @note This function is nearly the same as #getDamageFrom. The only difference is that
/// the last parameter is intended to default to Broodwar->self().
///
/// <param name="toType">
/// The unit type that will be receiving the damage.
/// </param>
/// <param name="fromType">
/// The unit type that will be dealing the damage.
/// </param>
/// <param name="toPlayer"> (optional)
/// The player owner of the type that will be receiving the damage. If omitted, then
/// no player will be used to calculate the upgrades for \p toType.
/// </param>
/// <param name="fromPlayer"> (optional)
/// The player owner of the given type that will be dealing the damage. If omitted, then
/// this parameter will default to Broodwar->self().
/// </param>
///
/// @returns The amount of damage that fromType would deal to toType.
/// @see getDamageFrom
int getDamageTo(UnitType toType, UnitType fromType, Player toPlayer = nullptr, Player fromPlayer = nullptr) const;
/// <summary>Retrieves the initial random seed that was used in this game's creation.</summary>
/// This is used to identify the seed that started this game, in case an error occurred, so
/// that developers can deterministically reproduce the error. Works in both games and replays.
///
/// @returns This game's random seed.
/// @since 4.2.0
virtual unsigned getRandomSeed() const = 0;
};
// Need to export template instantiations for dll
DLLEXPORT_TEMPLATE template class DLLEXPORT Interface<Game>;
DLLEXPORT extern Game *BroodwarPtr;
/// <summary>Broodwar wrapper
class DLLEXPORT GameWrapper
{
private:
std::ostringstream ss;
public:
/// <summary>Definition of ostream_manipulator type for convenience.</summary>
typedef std::ostream& (*ostream_manipulator)(std::ostream&);
/// <summary>Member access operator to retain the original Broodwar-> behaviour.</summary>
Game *operator ->() const;
/// <summary>Output stream operator for printing text to Broodwar.</summary> Using this
/// operator invokes Game::printf when a newline character is encountered.
template < class T >
inline GameWrapper &operator <<(const T &in)
{
// Pass whatever into the stream
ss << in;
return *this;
};
/// @overload
GameWrapper &operator <<(ostream_manipulator fn);
/// <summary>Flushes the Broodwar stream, printing all text in the stream to the screen.</summary>
void flush();
};
/// <summary>The primary Game interface, used to access any Game information or perform Game
/// actions.</summary>
DLLEXPORT extern GameWrapper Broodwar;
}
| [
"eujain@gmail.com"
] | eujain@gmail.com |
7c4224f55fa21653b2166c9a78d568471a93f107 | dd80a584130ef1a0333429ba76c1cee0eb40df73 | /external/chromium_org/ui/views/examples/widget_example.cc | 0d42a65ae6b35a6582353e23326a89e0d645dffc | [
"MIT",
"BSD-3-Clause"
] | permissive | karunmatharu/Android-4.4-Pay-by-Data | 466f4e169ede13c5835424c78e8c30ce58f885c1 | fcb778e92d4aad525ef7a995660580f948d40bc9 | refs/heads/master | 2021-03-24T13:33:01.721868 | 2017-02-18T17:48:49 | 2017-02-18T17:48:49 | 81,847,777 | 0 | 2 | MIT | 2020-03-09T00:02:12 | 2017-02-13T16:47:00 | null | UTF-8 | C++ | false | false | 3,930 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/examples/widget_example.h"
#include "base/strings/utf_string_conversions.h"
#include "ui/views/background.h"
#include "ui/views/controls/button/label_button.h"
#include "ui/views/controls/label.h"
#include "ui/views/layout/box_layout.h"
#include "ui/views/view.h"
#include "ui/views/widget/widget.h"
#include "ui/views/window/dialog_delegate.h"
namespace views {
namespace examples {
namespace {
class DialogExample : public DialogDelegateView {
public:
DialogExample();
virtual ~DialogExample();
virtual string16 GetWindowTitle() const OVERRIDE;
virtual View* CreateExtraView() OVERRIDE;
virtual View* CreateTitlebarExtraView() OVERRIDE;
virtual View* CreateFootnoteView() OVERRIDE;
};
DialogExample::DialogExample() {
set_background(Background::CreateSolidBackground(SK_ColorGRAY));
SetLayoutManager(new BoxLayout(BoxLayout::kVertical, 10, 10, 10));
AddChildView(new Label(ASCIIToUTF16("Dialog contents label!")));
}
DialogExample::~DialogExample() {}
string16 DialogExample::GetWindowTitle() const {
return ASCIIToUTF16("Dialog Widget Example");
}
View* DialogExample::CreateExtraView() {
LabelButton* button = new LabelButton(NULL, ASCIIToUTF16("Extra button!"));
button->SetStyle(Button::STYLE_NATIVE_TEXTBUTTON);
return button;
}
View* DialogExample::CreateTitlebarExtraView() {
Label* label = new Label(ASCIIToUTF16("Extra view!"));
label->SetEnabledColor(SK_ColorBLUE);
return label;
}
View* DialogExample::CreateFootnoteView() {
return new Label(ASCIIToUTF16("Footnote label!"));
}
} // namespace
WidgetExample::WidgetExample() : ExampleBase("Widget") {
}
WidgetExample::~WidgetExample() {
}
void WidgetExample::CreateExampleView(View* container) {
container->SetLayoutManager(new BoxLayout(BoxLayout::kHorizontal, 0, 0, 10));
BuildButton(container, "Popup widget", POPUP);
BuildButton(container, "Dialog widget", DIALOG);
#if defined(OS_LINUX)
// Windows does not support TYPE_CONTROL top-level widgets.
BuildButton(container, "Child widget", CHILD);
#endif
}
void WidgetExample::BuildButton(View* container,
const std::string& label,
int tag) {
LabelButton* button = new LabelButton(this, ASCIIToUTF16(label));
button->SetFocusable(true);
button->set_tag(tag);
container->AddChildView(button);
}
void WidgetExample::ShowWidget(View* sender, Widget::InitParams params) {
// Setup shared Widget heirarchy and bounds parameters.
params.parent = sender->GetWidget()->GetNativeView();
params.bounds = gfx::Rect(sender->GetBoundsInScreen().CenterPoint(),
gfx::Size(300, 200));
Widget* widget = new Widget();
widget->Init(params);
// If the Widget has no contents by default, add a view with a 'Close' button.
if (!widget->GetContentsView()) {
View* contents = new View();
contents->SetLayoutManager(new BoxLayout(BoxLayout::kHorizontal, 0, 0, 0));
contents->set_background(Background::CreateSolidBackground(SK_ColorGRAY));
BuildButton(contents, "Close", CLOSE_WIDGET);
widget->SetContentsView(contents);
}
widget->Show();
}
void WidgetExample::ButtonPressed(Button* sender, const ui::Event& event) {
switch (sender->tag()) {
case POPUP:
ShowWidget(sender, Widget::InitParams(Widget::InitParams::TYPE_POPUP));
break;
case DIALOG: {
DialogDelegate::CreateDialogWidget(new DialogExample(), NULL,
sender->GetWidget()->GetNativeView())->Show();
break;
}
case CHILD:
ShowWidget(sender, Widget::InitParams(Widget::InitParams::TYPE_CONTROL));
break;
case CLOSE_WIDGET:
sender->GetWidget()->Close();
break;
}
}
} // namespace examples
} // namespace views
| [
"karun.matharu@gmail.com"
] | karun.matharu@gmail.com |
f0889a8b8e269c9746171eaa406234fdfd2be61f | 55fc1fbb64178cdf09255d2b2ab348d605188d7c | /MediaServer/TLUtility.h | c9bc31c90700cad8c08777ea613197497335be06 | [] | no_license | noahliaoavlink/ms_src_1.2.8 | 679f86b39b958985df363ffe3a7071e2ff39717e | 96a5a0f20f2b2e6f72ce248682051e02668feb72 | refs/heads/master | 2021-01-16T16:16:41.972937 | 2020-07-20T03:31:56 | 2020-07-20T03:31:56 | 243,179,822 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,168 | h | /********************************************************************\
Project Name: Timeline Prototype
File Name: TLUtility.h
Declaration of following classes:
Declaration of following functions:
towstring
ShowMessageBox
DumpToLog
DumpToEvent
DumpToAction
Copyright:
Media Server
(C) Copyright C&C TECHNIC TAIWAN CO., LTD.
All rights reserved.
Author:
Stone Chang, mail: stonechang.cctch@gmail.com
Other issue:
N/A
\********************************************************************/
#pragma once
// ==== Inlcude Microsoft MFC library ==== //
#include "stdafx.h"
// ==== Inlcude STL library ==== //
#include <string>
// ==== Include local library ==== //
#include "TLDllExport.h"
namespace Timeline
{
TIMELINELIB_EXPORTS std::wstring towstring(const std::string& v);
TIMELINELIB_EXPORTS void ShowMessageBox(const std::string& msg);
TIMELINELIB_EXPORTS void DumpToLog(const std::string& msg);
TIMELINELIB_EXPORTS void DumpToEvent(const std::string& msg);
TIMELINELIB_EXPORTS void DumpToAction(const std::string& msg);
//TIMELINELIB_EXPORTS void DumpToHistory(std::string& msg);
TIMELINELIB_EXPORTS Gdiplus::Rect CRectToRect(const CRect& rect);
}
| [
"noah.liao@cctch.com.tw"
] | noah.liao@cctch.com.tw |
109a43d843f0e9ca93f1d76832252787277b7b14 | 9b37e221a134ef976f1330ad1e6dc41021ca55d5 | /renderdoc/driver/d3d12/d3d12_manager.h | 20a166d85127ecd38f1c4dba3ab205d7b34ea2d3 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | kbiElude/renderdoc | cdaacb5c6fd6129fdac9e89270e6ca3539c18b59 | b8cee9f530a57536dfe19c15fc590d9f1b613ae5 | refs/heads/master | 2021-05-03T05:29:35.757722 | 2016-10-29T19:28:27 | 2016-10-29T19:28:27 | 52,273,685 | 0 | 0 | null | 2016-02-22T13:01:37 | 2016-02-22T13:01:37 | null | UTF-8 | C++ | false | false | 13,829 | h | /******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2016 Baldur Karlsson
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
******************************************************************************/
#pragma once
#include <algorithm>
#include "api/replay/renderdoc_replay.h"
#include "common/wrapped_pool.h"
#include "core/core.h"
#include "core/resource_manager.h"
#include "driver/d3d12/d3d12_common.h"
#include "serialise/serialiser.h"
enum D3D12ResourceType
{
Resource_Unknown = 0,
Resource_Device,
Resource_CommandAllocator,
Resource_CommandQueue,
Resource_CommandSignature,
Resource_DescriptorHeap,
Resource_Fence,
Resource_Heap,
Resource_PipelineState,
Resource_QueryHeap,
Resource_Resource,
Resource_GraphicsCommandList,
Resource_RootSignature,
};
class WrappedID3D12DescriptorHeap;
// squeeze the descriptor a bit so that the below struct fits in 64 bytes
struct D3D12_UNORDERED_ACCESS_VIEW_DESC_SQUEEZED
{
// pull up and compress down to 1 byte the enums/flags that don't have any larger values
uint8_t Format;
uint8_t ViewDimension;
uint8_t BufferFlags;
// 5 more bytes here - below union is 8-byte aligned
union
{
struct D3D12_BUFFER_UAV_SQUEEZED
{
UINT64 FirstElement;
UINT NumElements;
UINT StructureByteStride;
UINT64 CounterOffsetInBytes;
} Buffer;
D3D12_TEX1D_UAV Texture1D;
D3D12_TEX1D_ARRAY_UAV Texture1DArray;
D3D12_TEX2D_UAV Texture2D;
D3D12_TEX2D_ARRAY_UAV Texture2DArray;
D3D12_TEX3D_UAV Texture3D;
};
void Init(const D3D12_UNORDERED_ACCESS_VIEW_DESC &desc)
{
Format = (uint8_t)desc.Format;
ViewDimension = (uint8_t)desc.ViewDimension;
// all but buffer elements should fit in 4 UINTs, so we can copy the Buffer (minus the flags we
// moved) and still cover them.
RDCCOMPILE_ASSERT(sizeof(Texture1D) <= 4 * sizeof(UINT), "Buffer isn't largest union member!");
RDCCOMPILE_ASSERT(sizeof(Texture1DArray) <= 4 * sizeof(UINT),
"Buffer isn't largest union member!");
RDCCOMPILE_ASSERT(sizeof(Texture2D) <= 4 * sizeof(UINT), "Buffer isn't largest union member!");
RDCCOMPILE_ASSERT(sizeof(Texture2DArray) <= 4 * sizeof(UINT),
"Buffer isn't largest union member!");
RDCCOMPILE_ASSERT(sizeof(Texture3D) <= 4 * sizeof(UINT), "Buffer isn't largest union member!");
Buffer.FirstElement = desc.Buffer.FirstElement;
Buffer.NumElements = desc.Buffer.NumElements;
Buffer.StructureByteStride = desc.Buffer.StructureByteStride;
Buffer.CounterOffsetInBytes = desc.Buffer.CounterOffsetInBytes;
BufferFlags = (uint8_t)desc.Buffer.Flags;
}
D3D12_UNORDERED_ACCESS_VIEW_DESC AsDesc() const
{
D3D12_UNORDERED_ACCESS_VIEW_DESC desc = {};
desc.Format = (DXGI_FORMAT)Format;
desc.ViewDimension = (D3D12_UAV_DIMENSION)ViewDimension;
desc.Buffer.FirstElement = Buffer.FirstElement;
desc.Buffer.NumElements = Buffer.NumElements;
desc.Buffer.StructureByteStride = Buffer.StructureByteStride;
desc.Buffer.CounterOffsetInBytes = Buffer.CounterOffsetInBytes;
desc.Buffer.Flags = (D3D12_BUFFER_UAV_FLAGS)BufferFlags;
return desc;
}
};
struct D3D12Descriptor
{
enum DescriptorType
{
// we start at 0x1000 since this element will alias with the filter
// in the sampler, to save space
TypeSampler,
TypeCBV = 0x1000,
TypeSRV,
TypeUAV,
TypeRTV,
TypeDSV,
TypeUndefined,
};
DescriptorType GetType() const
{
RDCCOMPILE_ASSERT(sizeof(D3D12Descriptor) <= 64, "D3D12Descriptor has gotten larger");
if(nonsamp.type < TypeCBV)
return TypeSampler;
return nonsamp.type;
}
operator D3D12_CPU_DESCRIPTOR_HANDLE() const
{
D3D12_CPU_DESCRIPTOR_HANDLE handle;
handle.ptr = (SIZE_T) this;
return handle;
}
operator D3D12_GPU_DESCRIPTOR_HANDLE() const
{
D3D12_GPU_DESCRIPTOR_HANDLE handle;
handle.ptr = (SIZE_T) this;
return handle;
}
void Init(const D3D12_SAMPLER_DESC *pDesc);
void Init(const D3D12_CONSTANT_BUFFER_VIEW_DESC *pDesc);
void Init(ID3D12Resource *pResource, const D3D12_SHADER_RESOURCE_VIEW_DESC *pDesc);
void Init(ID3D12Resource *pResource, ID3D12Resource *pCounterResource,
const D3D12_UNORDERED_ACCESS_VIEW_DESC *pDesc);
void Init(ID3D12Resource *pResource, const D3D12_RENDER_TARGET_VIEW_DESC *pDesc);
void Init(ID3D12Resource *pResource, const D3D12_DEPTH_STENCIL_VIEW_DESC *pDesc);
void Create(D3D12_DESCRIPTOR_HEAP_TYPE heapType, WrappedID3D12Device *dev,
D3D12_CPU_DESCRIPTOR_HANDLE handle);
void CopyFrom(const D3D12Descriptor &src);
void GetRefIDs(ResourceId &id, ResourceId &id2, FrameRefType &ref);
union
{
// keep the sampler outside as it's the largest descriptor
struct
{
// same location in both structs
WrappedID3D12DescriptorHeap *heap;
uint32_t idx;
D3D12_SAMPLER_DESC desc;
} samp;
struct
{
// same location in both structs
WrappedID3D12DescriptorHeap *heap;
uint32_t idx;
// this element overlaps with the D3D12_FILTER in D3D12_SAMPLER_DESC,
// with values that are invalid for filter
DescriptorType type;
ID3D12Resource *resource;
union
{
D3D12_CONSTANT_BUFFER_VIEW_DESC cbv;
D3D12_SHADER_RESOURCE_VIEW_DESC srv;
struct
{
ID3D12Resource *counterResource;
D3D12_UNORDERED_ACCESS_VIEW_DESC_SQUEEZED desc;
} uav;
D3D12_RENDER_TARGET_VIEW_DESC rtv;
D3D12_DEPTH_STENCIL_VIEW_DESC dsv;
};
} nonsamp;
};
};
inline D3D12Descriptor *GetWrapped(D3D12_CPU_DESCRIPTOR_HANDLE handle)
{
return (D3D12Descriptor *)handle.ptr;
}
inline D3D12Descriptor *GetWrapped(D3D12_GPU_DESCRIPTOR_HANDLE handle)
{
return (D3D12Descriptor *)handle.ptr;
}
D3D12_CPU_DESCRIPTOR_HANDLE Unwrap(D3D12_CPU_DESCRIPTOR_HANDLE handle);
D3D12_GPU_DESCRIPTOR_HANDLE Unwrap(D3D12_GPU_DESCRIPTOR_HANDLE handle);
D3D12_CPU_DESCRIPTOR_HANDLE UnwrapCPU(D3D12Descriptor *handle);
D3D12_GPU_DESCRIPTOR_HANDLE UnwrapGPU(D3D12Descriptor *handle);
struct PortableHandle
{
PortableHandle() : index(0) {}
PortableHandle(ResourceId id, uint32_t i) : heap(id), index(i) {}
PortableHandle(uint32_t i) : index(i) {}
ResourceId heap;
uint32_t index;
};
class D3D12ResourceManager;
PortableHandle ToPortableHandle(D3D12Descriptor *handle);
PortableHandle ToPortableHandle(D3D12_CPU_DESCRIPTOR_HANDLE handle);
PortableHandle ToPortableHandle(D3D12_GPU_DESCRIPTOR_HANDLE handle);
D3D12_CPU_DESCRIPTOR_HANDLE CPUHandleFromPortableHandle(D3D12ResourceManager *manager,
PortableHandle handle);
D3D12_GPU_DESCRIPTOR_HANDLE GPUHandleFromPortableHandle(D3D12ResourceManager *manager,
PortableHandle handle);
D3D12Descriptor *DescriptorFromPortableHandle(D3D12ResourceManager *manager, PortableHandle handle);
struct DynamicDescriptorWrite
{
D3D12Descriptor desc;
D3D12Descriptor *dest;
};
struct DynamicDescriptorCopy
{
DynamicDescriptorCopy() : dst(NULL), src(NULL), type(D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV) {}
DynamicDescriptorCopy(D3D12Descriptor *d, D3D12Descriptor *s, D3D12_DESCRIPTOR_HEAP_TYPE t)
: dst(d), src(s), type(t)
{
}
D3D12Descriptor *dst;
D3D12Descriptor *src;
D3D12_DESCRIPTOR_HEAP_TYPE type;
};
struct D3D12ResourceRecord;
struct CmdListRecordingInfo
{
vector<D3D12_RESOURCE_BARRIER> barriers;
// a list of all resources dirtied by this command list
set<ResourceId> dirtied;
// a list of descriptors that are bound at any point in this command list
// used to look up all the frame refs per-descriptor and apply them on queue
// submit with latest binding refs.
// We allow duplicates in here since it's a better tradeoff to let the vector
// expand a bit more to contain duplicates and then deal with it during frame
// capture, than to constantly be deduplicating during record (e.g. with a
// set or sorted vector).
vector<D3D12Descriptor *> boundDescs;
// bundles executed
vector<D3D12ResourceRecord *> bundles;
};
class WrappedID3D12Resource;
struct GPUAddressRange
{
D3D12_GPU_VIRTUAL_ADDRESS start, end;
ResourceId id;
bool operator<(const D3D12_GPU_VIRTUAL_ADDRESS &o) const
{
if(o < start)
return true;
return false;
}
};
struct GPUAddressRangeTracker
{
GPUAddressRangeTracker() {}
// no copying
GPUAddressRangeTracker(const GPUAddressRangeTracker &);
GPUAddressRangeTracker &operator=(const GPUAddressRangeTracker &);
std::vector<GPUAddressRange> addresses;
Threading::CriticalSection addressLock;
void AddTo(GPUAddressRange range)
{
SCOPED_LOCK(addressLock);
auto it = std::lower_bound(addresses.begin(), addresses.end(), range.start);
RDCASSERT(it == addresses.begin() || it == addresses.end() || range.start < it->start ||
range.start >= it->end);
addresses.insert(it, range);
}
void RemoveFrom(D3D12_GPU_VIRTUAL_ADDRESS baseAddr)
{
SCOPED_LOCK(addressLock);
auto it = std::lower_bound(addresses.begin(), addresses.end(), baseAddr);
RDCASSERT(it != addresses.end() && baseAddr >= it->start && baseAddr < it->end);
addresses.erase(it);
}
void GetResIDFromAddr(D3D12_GPU_VIRTUAL_ADDRESS addr, ResourceId &id, UINT64 &offs)
{
id = ResourceId();
offs = 0;
if(addr == 0)
return;
GPUAddressRange range;
// this should really be a read-write lock
{
SCOPED_LOCK(addressLock);
auto it = std::lower_bound(addresses.begin(), addresses.end(), addr);
if(it == addresses.end())
return;
range = *it;
}
if(addr < range.start || addr >= range.end)
return;
id = range.id;
offs = addr - range.start;
}
};
struct MapState
{
WrappedID3D12Resource *res;
UINT subres;
UINT64 totalSize;
};
struct D3D12ResourceRecord : public ResourceRecord
{
enum
{
NullResource = NULL
};
D3D12ResourceRecord(ResourceId id)
: ResourceRecord(id, true),
type(Resource_Unknown),
ContainsExecuteIndirect(false),
cmdInfo(NULL),
bakedCommands(NULL)
{
}
~D3D12ResourceRecord() {}
void Bake()
{
RDCASSERT(cmdInfo);
SwapChunks(bakedCommands);
cmdInfo->barriers.swap(bakedCommands->cmdInfo->barriers);
cmdInfo->dirtied.swap(bakedCommands->cmdInfo->dirtied);
cmdInfo->boundDescs.swap(bakedCommands->cmdInfo->boundDescs);
cmdInfo->bundles.swap(bakedCommands->cmdInfo->bundles);
}
void Insert(map<int32_t, Chunk *> &recordlist)
{
bool dataWritten = DataWritten;
DataWritten = true;
for(auto it = Parents.begin(); it != Parents.end(); ++it)
{
if(!(*it)->DataWritten)
{
(*it)->Insert(recordlist);
}
}
if(!dataWritten)
recordlist.insert(m_Chunks.begin(), m_Chunks.end());
}
D3D12ResourceType type;
bool ContainsExecuteIndirect;
D3D12ResourceRecord *bakedCommands;
CmdListRecordingInfo *cmdInfo;
struct MapData
{
MapData() : refcount(0), realPtr(NULL), shadowPtr(NULL) {}
volatile int32_t refcount;
byte *realPtr;
byte *shadowPtr;
};
vector<MapData> m_Map;
};
typedef vector<D3D12_RESOURCE_STATES> SubresourceStateVector;
class D3D12ResourceManager
: public ResourceManager<ID3D12DeviceChild *, ID3D12DeviceChild *, D3D12ResourceRecord>
{
public:
D3D12ResourceManager(LogState state, Serialiser *ser, WrappedID3D12Device *dev)
: ResourceManager(state, ser), m_Device(dev)
{
}
template <class T>
T *GetLiveAs(ResourceId id)
{
return (T *)GetLiveResource(id);
}
template <class T>
T *GetCurrentAs(ResourceId id)
{
return (T *)GetCurrentResource(id);
}
void ApplyBarriers(vector<D3D12_RESOURCE_BARRIER> &barriers,
map<ResourceId, SubresourceStateVector> &states);
void SerialiseResourceStates(vector<D3D12_RESOURCE_BARRIER> &barriers,
map<ResourceId, SubresourceStateVector> &states);
bool Serialise_InitialState(ResourceId resid, ID3D12DeviceChild *res);
private:
bool SerialisableResource(ResourceId id, D3D12ResourceRecord *record);
ResourceId GetID(ID3D12DeviceChild *res);
bool ResourceTypeRelease(ID3D12DeviceChild *res);
bool Force_InitialState(ID3D12DeviceChild *res, bool prepare);
bool Need_InitialStateChunk(ID3D12DeviceChild *res);
bool Prepare_InitialState(ID3D12DeviceChild *res);
void Create_InitialState(ResourceId id, ID3D12DeviceChild *live, bool hasData);
void Apply_InitialState(ID3D12DeviceChild *live, InitialContentData data);
WrappedID3D12Device *m_Device;
};
| [
"baldurk@baldurk.org"
] | baldurk@baldurk.org |
ebe7c1e1050fdee7da8f1301e296506da856fe9d | 3d4ff336f61a03a6c7af85a96978a711d6ec7bb3 | /algorithms/C++/Search.cpp | e884b4421e7fa5a29a267206237d0fbb6df68bca | [] | no_license | kylin-zhuo/data-structure-algorithms | fe55ac0768825b5e385435d358577d4b0513ae6f | a4d496749bac65d9e0a0d031eb5b6629c5877606 | refs/heads/master | 2022-11-23T18:04:21.966054 | 2020-07-20T01:29:09 | 2020-07-20T01:29:09 | 97,345,581 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,349 | cpp | //
// Search.cpp
// Algorithms
//
// Created by Kylin on 5/22/17.
// Copyright © 2017 linzhuo. All rights reserved.
//
#include <stdio.h>
#include <iostream>
using namespace std;
class LinearSearch
{
// linear search
int search(int A[], int n, int key)
{
int i = 0;
A[n] = key;
while (A[i] != key) {
i++;
}
return i != n;
}
public:
int main()
{
int i, n, A[10000+1], q, key, sum = 0;
scanf("%d", &n);
for (i = 0; i < n; i++) {
scanf("%d", &A[i]);
}
scanf("%d", &q);
for (i = 0; i < q; i++) {
scanf("%d", &key);
if (search(A, n, key)) {
sum++;
}
}
printf("%d\n", sum);
return 0;
}
};
class BinarySearch
{
int A[100000], n;
int binarySearch(int key)
{
int left = 0;
int right = n;
int mid;
while (left < right) {
mid = (left + right) / 2;
if(key == A[mid]) return 1;
else if(key > A[mid]) left = mid + 1;
else right = mid;
}
return 0;
}
public:
int standardBS()
{
int i, q, k, sum = 0;
scanf("%d", &n);
for (i = 0; i < n; i++) {
scanf("%d", &A[i]);
}
scanf("%d", &q);
for (i = 0; i < q; i++) {
scanf("%d", &k);
if (binarySearch(k)) {
sum ++;
}
}
printf("%d \n", sum);
return 0;
}
int searchWithSTL()
{
int A[10000], n;
cin>>n;
for (int i = 0; i < n; i++) {
scanf("%d", &A[i]);
}
int q, k, sum = 0;
cin>>q;
for (int i = 0; i < q; i++) {
scanf("%d", &k);
if( *lower_bound(A, A + n, k) == k) sum++;
}
cout<<sum<<endl;
return 0;
}
};
#include <string>
class HashSet
{
#define M 1046527
#define NIL (-1)
#define L 14
char H[M][L];
// transfer A C G T to integers
int getChar(char ch)
{
switch (ch) {
case 'A':
return 1;
case 'B':
return 2;
case 'C':
return 3;
case 'D':
return 4;
default:
return 0;
}
}
// transfer the string to numeric and generate key
long long getKey(char str[])
{
long long p = 1, i, sum = 0;
for (i = 0; i < strlen(str); i++) {
sum += p * getChar(str[i]);
p = p * 5;
}
return sum;
}
// two hash functions
int h1(int key) { return key % M; }
int h2(int key) { return 1 + (key % (M - 1)); }
// insert the string into the table
int insert(char str[])
{
long long key, h, i;
key = getKey(str);
for (i = 0; ; i++) {
h = (h1(key) + i * h2(key)) % M;
// strcmp returns 0 if both strings are equal
if (strcmp(H[h], str) == 0) {
return 1;
}
else if (strlen(H[h]) == 0)
{
strcpy(H[h], str);
return 0;
}
}
return 0;
}
int find(char str[])
{
long long key, i, h;
key = getKey(str);
for (i = 0; ; i++) {
h = (h1(key) + i * h2(key)) % M;
if (strcmp(H[h], str) == 0) {
return 1;
}
else if (strlen(H[h]) == 0) return 0;
}
return 0;
}
public:
int main()
{
int i, n;
char str[L], com[9];
for (i = 0; i < M; i++) {
H[i][0] = '\0';
}
printf("input n: \n");
scanf("%d", &n);
printf("input the operations: \n");
for (i = 0; i < n; i++) {
scanf("%s %s", com, str);
if (com[0] == 'i') {
insert(str);
}
else if (com[0] == 'f')
{
if (find(str))
printf("yes\n");
else
printf("no\n");
}
else
printf("error");
}
return 0;
}
};
#include <iostream>
#include <vector>
using namespace std;
class Iterator
{
void print(vector<int> v)
{
vector<int>::iterator it;
for (it = v.begin(); it != v.end(); it++) {
cout<< *it;
}
cout<<endl;
}
public:
int main()
{
int N = 4;
vector<int> v;
printf("input the numbers: \n");
for (int i = 0; i < N; i++) {
int x;
scanf("%d", &x);
v.push_back(x);
}
print(v);
vector<int>::iterator it = v.begin();
*it = 3;
it ++;
(*it) ++;
print(v);
return 0;
}
};
| [
"kylin.zhuo@gmail.com"
] | kylin.zhuo@gmail.com |
b836c3ae844f6ea0c02e809240bd40fc0b3d7f8a | 141744c5cdcc7b6bca16d89ca4773e2ce10ceb43 | /ctdl/bai167.cpp | e6314ef6847c649e55e7db43ec247ba587d5a854 | [] | no_license | truong02bp/C- | d193b1f6f28d22c5c57f74d397b7785378eff102 | 82971ec24602ce84c652e04b1f7eb487a882aa1c | refs/heads/master | 2023-03-07T16:25:59.091612 | 2020-08-08T07:28:21 | 2020-08-08T07:28:21 | 263,206,451 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 400 | cpp | #include<bits/stdc++.h>
using namespace std;
int n;
void solve()
{
queue<string> q;
q.push("1");
while(n--)
{
cout << q.front() <<" ";
string s1 = q.front();
q.pop();
q.push(s1+"0");
q.push(s1+"1");
}
cout << endl;
}
int main()
{
int t;
cin >> t;
while(t--)
{
cin >> n;
solve();
}
return 0;
} | [
"truong02bp"
] | truong02bp |
0c8956080322faddeea045677afddad2b332a5f8 | c68f791005359cfec81af712aae0276c70b512b0 | /0-unclassified/passeng.cpp | e21ced475950c0ac799539ee912e7645fbd89af9 | [] | no_license | luqmanarifin/cp | 83b3435ba2fdd7e4a9db33ab47c409adb088eb90 | 08c2d6b6dd8c4eb80278ec34dc64fd4db5878f9f | refs/heads/master | 2022-10-16T14:30:09.683632 | 2022-10-08T20:35:42 | 2022-10-08T20:35:42 | 51,346,488 | 106 | 46 | null | 2017-04-16T11:06:18 | 2016-02-09T04:26:58 | C++ | UTF-8 | C++ | false | false | 1,006 | cpp | #include <bits/stdc++.h>
typedef long long LL;
typedef double DB;
#define sf scanf
#define pf printf
#define mp make_pair
#define nl printf("\n")
#define FOR(i,a,b) for(i = a; i <= b; ++i)
#define FORD(i,a,b) for(i = a; i >= b; --i)
#define FORS(i,n) for(i = 0; i < n; ++i)
#define FORM(i,n) for(i = n - 1; i >= 0; --i)
#define reset(i,n) memset(i, n, sizeof(i))
using namespace std;
const LL mod = 1e9 + 7;
const LL INF = 4e18;
const int inf = 2e9;
const double eps = 1e-13;
int gcd(int a, int b) { return b? gcd(b, a%b): a; }
int lcm(int a, int b) { return a/ gcd(a, b)*b; }
int now, n, c;
int main(void)
{
int i, j;
sf("%d %d", &c, &n);
while(n--) {
int in, out, wait;
sf("%d %d %d", &out, &in, &wait);
now += in - out;
if(now > c || now < 0) {
puts("impossible");
return 0;
}
if(now < c && n) {
puts("impossible");
return 0;
}
if(now < c && wait) {
puts("impossible");
return 0;
}
}
if(now != 0) puts("impossible");
else puts("possible");
return 0;
}
| [
"l.arifin.siswanto@gmail.com"
] | l.arifin.siswanto@gmail.com |
84c2283223f5cc1a4b59c1afd40091f5686e2078 | 6113bca1a703ddde7800b240e7a6c16684d20ed6 | /Source/Photon/Photon-cpp/inc/Enums/OperationCode.h | a53a546f880a53ceee8f1b5a4c7a6e5252bbc307 | [] | no_license | Serphimera/WorldOfElements | 21560c6c470df339b14bb60f1aedf6afb7f2c7a3 | 47d57fc86935f9d98efced2694af97d69260cf93 | refs/heads/master | 2021-01-10T15:36:44.991436 | 2015-09-30T07:47:43 | 2015-09-30T07:47:43 | 43,418,565 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 570 | h | /* Exit Games Photon - C++ Client Lib
* Copyright (C) 2004-2012 by Exit Games. All rights reserved.
* http://www.exitgames.com
* mailto:developer@exitgames.com
*/
#pragma once
#include "Common-cpp/inc/Common.h"
namespace ExitGames
{
namespace Lite
{
namespace OperationCode
{
static const nByte JOIN = 255;
static const nByte LEAVE = 254;
static const nByte RAISE_EV = 253;
static const nByte SETPROPERTIES = 252;
static const nByte GETPROPERTIES = 251;
static const nByte CHANGE_GROUPS = 248;
}
/** @file */
}
} | [
"info@nethersoft.de"
] | info@nethersoft.de |
6a14c9574c918e52d909cfb718a7c949f52bd608 | f4cc46d0afaf5e4e916138c2af2dd7fa934678e5 | /src/omega/GpuBuffer.cpp | 1af88977469aa28a8c49c61f0d8fefb76c8e0399 | [] | no_license | tmarrinan/omegalib | ad231170b79854bd84f3c913877d6c02a879691e | 26a06c5933e2fad50c0563dca184494a56949a2b | refs/heads/master | 2021-01-18T12:20:17.187130 | 2016-02-22T15:07:29 | 2016-02-22T15:07:29 | 51,763,023 | 0 | 0 | null | 2016-02-15T15:01:01 | 2016-02-15T15:01:01 | null | UTF-8 | C++ | false | false | 8,714 | cpp | /******************************************************************************
* THE OMEGA LIB PROJECT
*-----------------------------------------------------------------------------
* Copyright 2010-2015 Electronic Visualization Laboratory,
* University of Illinois at Chicago
* Authors:
* Alessandro Febretti febret@gmail.com
*-----------------------------------------------------------------------------
* Copyright (c) 2010-2015, Electronic Visualization Laboratory,
* University of Illinois at Chicago
* All rights reserved.
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer. Redistributions in binary
* form must reproduce the above copyright notice, this list of conditions and
* the following disclaimer in the documentation and/or other materials provided
* with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*-----------------------------------------------------------------------------
* What's in this file
* Interface to buffers and variables on GPUs
******************************************************************************/
#include "omega/GpuBuffer.h"
#include "omega/GpuProgram.h"
#include "omega/glheaders.h"
using namespace omega;
///////////////////////////////////////////////////////////////////////////////
VertexBuffer::VertexBuffer(GpuContext* context):
GpuResource(context),
myId(0)
{
glGenBuffers(1, &myId);
oassert(!oglError);
setType(VertexData);
clearAttributes();
}
///////////////////////////////////////////////////////////////////////////////
void VertexBuffer::dispose()
{
glDeleteBuffers(1, &myId);
}
///////////////////////////////////////////////////////////////////////////////
void VertexBuffer::setType(BufferType type)
{
myType = type;
if(myType == IndexData) myGLType = GL_ELEMENT_ARRAY_BUFFER;
else myGLType = GL_ARRAY_BUFFER;
}
///////////////////////////////////////////////////////////////////////////////
void VertexBuffer::bind()
{
glBindBuffer(myGLType, myId);
}
///////////////////////////////////////////////////////////////////////////////
void VertexBuffer::unbind()
{
glBindBuffer(myGLType, 0);
}
///////////////////////////////////////////////////////////////////////////////
bool VertexBuffer::setData(size_t size, void* data)
{
bind();
glBufferData(myGLType, size, data, GL_STATIC_DRAW);
unbind();
return !oglError;
}
///////////////////////////////////////////////////////////////////////////////
void VertexBuffer::setAttribute(uint index, AttributeType type, uint components, bool normalize, uint offset, uint stride)
{
myAttributes[index].enabled = true;
myAttributes[index].type = type;
myAttributes[index].components = components;
myAttributes[index].offset = offset;
myAttributes[index].stride = stride;
myAttributes[index].normalize = normalize;
}
///////////////////////////////////////////////////////////////////////////////
void VertexBuffer::clearAttributes()
{
memset(myAttributes, 0, sizeof(VertexAttribute) * MaxAttributes);
}
///////////////////////////////////////////////////////////////////////////////
void VertexBuffer::bindVertexAttribute(uint index, uint loc)
{
bind();
VertexAttribute& v = myAttributes[index];
GLenum type;
switch(v.type)
{
case VertexBuffer::Float: type = GL_FLOAT; break;
case VertexBuffer::Int: type = GL_INT; break;
case VertexBuffer::Byte: type = GL_BYTE; break;
case VertexBuffer::UnsignedByte: type = GL_UNSIGNED_BYTE; break;
}
glVertexAttribPointer(loc, v.components, type, v.normalize, v.stride, (GLvoid*)v.offset);
unbind();
}
///////////////////////////////////////////////////////////////////////////////
VertexArray::VertexArray(GpuContext* context):
GpuResource(context),
myId(0),
myDirty(false),
myLastProgram(NULL)
{
glGenVertexArrays(1, &myId);
oassert(!oglError);
}
///////////////////////////////////////////////////////////////////////////////
void VertexArray::dispose()
{
glDeleteVertexArrays(1, &myId);
}
///////////////////////////////////////////////////////////////////////////////
void VertexArray::bind(GpuProgram* program)
{
if(myDirty || program != myLastProgram)
{
myHasIndices = false;
myDirty = false;
myLastProgram = program;
glBindVertexArray(myId);
// Loop over buffers attached to this vertex array
for(int i = 0; i < MaxBuffers; i++)
{
if(myBuffer[i] == NULL) continue;
myBuffer[i]->bind();
if(myBuffer[i]->getType() == VertexBuffer::IndexData) myHasIndices = true;
// Loop over attribute bindings for this buffer
for(int j = 0; j < VertexBuffer::MaxAttributes; j++)
{
// Do we have a named binding for this vertex buffer attribute?
String& bindingName = myAttributeBinding[i][j];
if(!bindingName.empty())
{
uint loc = program->getAttributeLocation(bindingName);
myBuffer[i]->bindVertexAttribute(j, loc);
glEnableVertexAttribArray(loc);
}
}
}
}
else
{
glBindVertexArray(myId);
}
}
///////////////////////////////////////////////////////////////////////////////
void VertexArray::unbind()
{
glBindVertexArray(0);
}
///////////////////////////////////////////////////////////////////////////////
void VertexArray::setBuffer(uint index, VertexBuffer* buffer)
{
myBuffer[index] = buffer;
myDirty = true;
}
///////////////////////////////////////////////////////////////////////////////
void VertexArray::clearBuffers()
{
foreach(Ref<VertexBuffer>& b, myBuffer) b.reset();
myDirty = true;
}
///////////////////////////////////////////////////////////////////////////////
void VertexArray::setAttributeBinding(uint buffer, uint attribute, const String& name)
{
myAttributeBinding[buffer][attribute] = name;
myDirty = true;
}
///////////////////////////////////////////////////////////////////////////////
VertexBuffer* VertexArray::addBuffer(uint index, VertexBuffer::BufferType type, size_t size, void* data)
{
VertexBuffer* buf = getContext()->createVertexBuffer();
buf->setType(type);
buf->setData(size, data);
setBuffer(index, buf);
return buf;
}
///////////////////////////////////////////////////////////////////////////////
void VertexArray::addAttribute(uint buffer, uint index, const String& name,
VertexBuffer::AttributeType type, bool normalize, uint components,
uint offset, uint stride)
{
VertexBuffer* buf = getBuffer(buffer);
buf->setAttribute(index, type, normalize, components, offset, stride);
setAttributeBinding(buffer, index, name);
}
///////////////////////////////////////////////////////////////////////////////
Uniform::Uniform(const String& name) :
myDirty(false),
myId(0),
myName(name)
{
}
///////////////////////////////////////////////////////////////////////////////
void Uniform::update(GpuProgram* p)
{
if(myDirty)
{
if(myId == 0) myId = p->getUniformLocation(myName);
switch(myType)
{
case Float1: glUniform1f(myId, myFloatData[0]); break;
case Int1: glUniform1i(myId, myIntData[0]); break;
}
myDirty = false;
}
}
///////////////////////////////////////////////////////////////////////////////
void Uniform::set(float x)
{
if(x != myFloatData[0])
{
myDirty = true;
myType = Float1;
myFloatData[0] = x;
}
}
///////////////////////////////////////////////////////////////////////////////
void Uniform::set(int x)
{
myDirty = true;
myType = Int1;
myIntData[0] = x;
}
| [
"febret@gmail.com"
] | febret@gmail.com |
b366e3d21d72f2b9c8ee43f0ffff2c36c0e0eeb6 | f7a61b66c267dc6105ab6966c4e9222d297eaa93 | /Evil Space/ShieldBonus.h | 3233feb8a260e31f792e33b7f52da4e5fe58299e | [
"MIT"
] | permissive | Cellyceos/Evil-Space | 70733bc774559088ad5f9bc58efab264ff0f9278 | 0c153d07855aa7ae2bd5e47e7ae95d78ba01ee9d | refs/heads/master | 2021-07-15T01:14:52.359203 | 2020-11-13T10:41:24 | 2020-11-13T10:41:24 | 246,664,267 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 302 | h | #pragma once
#include "Bonus.h"
class ShieldBonus :
public Bonus
{
public:
ShieldBonus(Map*, Compositor*);
int GivenShield();
void GivenShield(int);
virtual void GivePowerup(Player*) override;
virtual void Draw(Graphics*) override;
virtual ~ShieldBonus(void);
private:
int shieldProvided;
}; | [
"brakir@gmail.com"
] | brakir@gmail.com |
8e6d8a882f0a419fc7cfc195cf9133713345ca4c | 592c8ee9dec2e69733f96f884f93385893654125 | /src/listener_component.cpp | b22f09c3b6a39a825c2306b200e463234f7137b0 | [] | no_license | morten-robotics/darc_examples | 84b1044ab35a49f2e4abe84992f78fcca0e1786e | d99f3a534ba9da241af0b1413692a8181a3e52d5 | refs/heads/master | 2021-05-26T17:00:13.818798 | 2013-01-22T17:39:43 | 2013-01-22T17:39:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 560 | cpp | #include <iris/static_scope.hpp>
#include <darc/component.hpp>
#include <darc/subscriber.h>
class listener_component : public darc::component, public iris::static_scope<iris::Info>
{
darc::subscriber<std::string> sub_;
void chatter_callback(const boost::shared_ptr<const std::string> msg)
{
slog<iris::Info>("Received",
"msg", iris::arg<std::string>(*msg));
}
public:
listener_component() :
sub_(this, "chatter", boost::bind(&listener_component::chatter_callback, this, _1))
{
}
};
DARC_REGISTER_COMPONENT(listener_component)
| [
"woobiz@gmail.com"
] | woobiz@gmail.com |
b684edc45f3ae4afc5fd0639575f5395bf9caa09 | e375b389b94f61ccf13970e7112a37ac264b54f0 | /arduino/sketch_sep21a/sketch_sep21a.ino | b776caf0ba3d35a2f3d0642940352a52b8f2e90e | [] | no_license | snowbars1234/Arduino | 3fe07429ea5e3f8d1df0a75f14fbb94a03c71113 | 1b70c119e68844a0fcb8fd7d1adad3ab68600d5d | refs/heads/master | 2021-01-20T22:25:18.870189 | 2016-06-07T19:07:38 | 2016-06-07T19:07:38 | 60,639,206 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,404 | ino | /*
* IRremote: IRrecvDump - dump details of IR codes with IRrecv
* An IR detector/demodulator must be connected to the input RECV_PIN.
* Version 0.1 July, 2009
* Copyright 2009 Ken Shirriff
* http://arcfn.com
* JVC and Panasonic protocol added by Kristian Lauszus (Thanks to zenwheel and other people at the original blog post)
*/
#include <IRremote.h>
int RECV_PIN = 11;
IRrecv irrecv(RECV_PIN);
IRsend irsend;
decode_results results;
void setup()
{
Serial.begin(9600);
irrecv.enableIRIn(); // Start the receiver
}
unsigned int powerOn[68]={
6212,8950,4400,600,500,650,450,650,500,550,550,600,500,650,450,600,550,600,500,650,1550,650,1600,600,1600,650,1600,650,1550,650,600,650,1600,600,450,700,450,600,1600,700,450,600,1600,650,450,650,500,650,450,650,450,600,1600,650,500,600,1600,700,450,550,1650,650,1600,600,1600,600,1650,600};
// Dumps out the decode_results structure.
// Call this after IRrecv::decode()
// void * to work around compiler issue
//void dump(void *v) {
// decode_results *results = (decode_results *)v
void dump(decode_results *results) {
int count = results->rawlen;
if (results->decode_type == UNKNOWN) {
Serial.print("Unknown encoding: ");
}
else if (results->decode_type == NEC) {
Serial.print("Decoded NEC: ");
}
else if (results->decode_type == SONY) {
Serial.print("Decoded SONY: ");
}
else if (results->decode_type == RC5) {
Serial.print("Decoded RC5: ");
}
else if (results->decode_type == RC6) {
Serial.print("Decoded RC6: ");
}
else if (results->decode_type == PANASONIC) {
Serial.print("Decoded PANASONIC - Address: ");
Serial.print(results->panasonicAddress,HEX);
Serial.print(" Value: ");
}
else if (results->decode_type == JVC) {
Serial.print("Decoded JVC: ");
}
Serial.print(results->value, HEX);
Serial.print(" (");
Serial.print(results->bits, DEC);
Serial.println(" bits)");
Serial.print("Raw (");
Serial.print(count, DEC);
Serial.print("): ");
for (int i = 0; i < count; i++) {
if ((i % 2) == 1) {
Serial.print(results->rawbuf[i]*USECPERTICK, DEC);
}
else {
Serial.print(-(int)results->rawbuf[i]*USECPERTICK, DEC);
}
Serial.print(" ");
}
Serial.println("");
}
void loop() {
irsend.sendRaw(powerOn,68,38);
irsend.sendRaw(powerOn,68,38);
irsend.sendRaw(powerOn,68,38);
irsend.sendRaw(powerOn,68,38);
}
| [
"snowbars1234@gmail.com"
] | snowbars1234@gmail.com |
d398d1f5aa0de0f1f4ee9873c4f9a59084823bb8 | cf130d24d0718e8649dedf845ca7910315640965 | /Harjoitukset/Harjoitus3/Harjoitus3.h | 53779a6ec537a7e7896e822883212a226ea4829c | [] | no_license | VelluVu/CplusplusAlgorithms | c3194fa31cd4e262e6e5d061a542b588f7e78811 | 10fb70e19821d3f9d0673f0065e5615deb941f11 | refs/heads/master | 2020-04-17T21:44:16.078442 | 2019-03-14T06:15:57 | 2019-03-14T06:15:57 | 166,963,995 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 100 | h | #pragma once
#include <iostream>
using namespace std;
void Remove(int* taulu, int koko, int index); | [
"velimavu@metropolia.fi"
] | velimavu@metropolia.fi |
b8e659bcfd8e1b39170892211bad7258c08e2ca5 | 04518b3b97789455e9afd96ab67186ae3bd11b87 | /coding/codechef/ckd2.cpp | 45305b59679a84f8d7b6c514a232e785e16427fc | [] | no_license | shubhampal077/s_pal1 | 36e14f47dae2c3666538f3d06e3b0e6a17e60ade | d577f3b587739757b93e6fb3d000adbfc3893386 | refs/heads/master | 2020-07-06T10:36:12.852462 | 2019-08-18T10:42:51 | 2019-08-18T10:42:51 | 202,988,205 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 859 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long int ll;
#define MOD 1000000007
int mod(string num, int a)
{
// Initialize result
int res = 0;
// One by one process all digits of 'num'
for (int i = 0; i < num.length(); i++)
res = (res*10 + (int)num[i] - '0') %a;
return res;
}
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
ll t,n,i,out;
string ori,ans;
cin>>t;
while(t--)
{
cin>>n;
ori=to_string(n);
vector<string> vec;
for(i=1;i<ori.length();i++)
{
vec.push_back(ori.substr(i)+ori.substr(0,i));
}
ans=ori;
for(i=0;i<vec.size();i++)
{
ans+=vec[i];
}
// out=mod(ans);
//out=((stoi(ans))%MOD);
cout<<out<<endl;
}
return 0;
} | [
"shubhampalggps@gmail.com"
] | shubhampalggps@gmail.com |
6cdd8ac0e1c7ce87014bee77d92d67f7d1b1d776 | f77d03713dffb18b5edfcdb2c8ad80bea5d8b0e8 | /open.cpp | 98f2dba06e2b2d615859b85135eca8bba33aed3c | [
"BSD-3-Clause"
] | permissive | simplebsd/bsi | f60421e1f0c0c4402ad7f3df102d5b30eec4e98c | e360391686b9ee3b816127f76aa0c1c1ed4373c6 | refs/heads/master | 2022-04-27T10:17:33.374479 | 2022-04-03T13:55:21 | 2022-04-03T13:55:21 | 83,061,035 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 291 | cpp | void open(char *vm) {
char com[50], path_img[100];
sprintf(path_img, "/usr/bsi/vm/%s/%s.img", vm, vm);
ifstream vm_img(path_img);
if(vm_img) {
sprintf(com, "/usr/local/bin/screen -r %s", vm);
system(com);
}
else {
cout << "\n";
cout << "VM does not exists.\n\n";
}
}
| [
"admin@simplebsd.ru"
] | admin@simplebsd.ru |
17f7be396631e2dacdd2679b79f78bd738615b5b | f0d22137ab4aba3a70c25b42b628e3f09743d936 | /live/BasicUsageEnvironment/BasicTaskScheduler.cpp | 71435121924cfb69d68dd4c28940f9dc8a0d67f9 | [] | no_license | duxq/vlc_2.1.0-vs_2010 | 6da94eac73bb70604162558e46a266f9acfc0e56 | 218172f619c9e248b709e479e5c10e197127a88e | refs/heads/master | 2021-06-18T12:02:28.079902 | 2017-06-28T02:33:56 | 2017-06-28T02:33:56 | 118,862,081 | 1 | 0 | null | 2018-01-25T04:27:09 | 2018-01-25T04:27:08 | null | GB18030 | C++ | false | false | 9,178 | cpp | /**********
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the
Free Software Foundation; either version 2.1 of the License, or (at your
option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.)
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 Lesser General Public License for
more details.
You should have received a copy of the GNU Lesser General Public License
along with this library; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
**********/
// Copyright (c) 1996-2012 Live Networks, Inc. All rights reserved.
// Basic Usage Environment: for a simple, non-scripted, console application
// Implementation
#include "BasicUsageEnvironment.hh"
#include "HandlerSet.hh"
#include <stdio.h>
#if defined(_QNX4)
#include <sys/select.h>
#include <unix.h>
#endif
////////// BasicTaskScheduler //////////
BasicTaskScheduler* BasicTaskScheduler::createNew() {
return new BasicTaskScheduler();
}
#define MAX_SCHEDULER_GRANULARITY 10000 // 10 microseconds: We will return to the event loop at least this often
static void schedulerTickTask(void* clientData) {
((BasicTaskScheduler*)clientData)->scheduleDelayedTask(MAX_SCHEDULER_GRANULARITY, schedulerTickTask, clientData);
}
BasicTaskScheduler::BasicTaskScheduler()
: fMaxNumSockets(0) {
FD_ZERO(&fReadSet);
FD_ZERO(&fWriteSet);
FD_ZERO(&fExceptionSet);
schedulerTickTask(this); // ensures that we handle events frequently
}
BasicTaskScheduler::~BasicTaskScheduler() {
}
#ifndef MILLION
#define MILLION 1000000
#endif
void BasicTaskScheduler::SingleStep(unsigned maxDelayTime) {
fd_set readSet = fReadSet; // make a copy for this select() call
fd_set writeSet = fWriteSet; // ditto
fd_set exceptionSet = fExceptionSet; // ditto
DelayInterval const& timeToDelay = fDelayQueue.timeToNextAlarm();
struct timeval tv_timeToDelay;
tv_timeToDelay.tv_sec = timeToDelay.seconds();
tv_timeToDelay.tv_usec = timeToDelay.useconds();
// Very large "tv_sec" values cause select() to fail.
// Don't make it any larger than 1 million seconds (11.5 days)
const long MAX_TV_SEC = MILLION;
if (tv_timeToDelay.tv_sec > MAX_TV_SEC) {
tv_timeToDelay.tv_sec = MAX_TV_SEC;
}
// Also check our "maxDelayTime" parameter (if it's > 0):
if (maxDelayTime > 0 &&
(tv_timeToDelay.tv_sec > (long)maxDelayTime/MILLION ||
(tv_timeToDelay.tv_sec == (long)maxDelayTime/MILLION &&
tv_timeToDelay.tv_usec > (long)maxDelayTime%MILLION))) {
tv_timeToDelay.tv_sec = maxDelayTime/MILLION;
tv_timeToDelay.tv_usec = maxDelayTime%MILLION;
}
int selectResult = select(fMaxNumSockets, &readSet, &writeSet, &exceptionSet, &tv_timeToDelay);
if (selectResult < 0) {
#if defined(__WIN32__) || defined(_WIN32)
int err = WSAGetLastError();
// For some unknown reason, select() in Windoze sometimes fails with WSAEINVAL if
// it was called with no entries set in "readSet". If this happens, ignore it:
if (err == WSAEINVAL && readSet.fd_count == 0) {
err = EINTR;
// To stop this from happening again, create a dummy socket:
int dummySocketNum = socket(AF_INET, SOCK_DGRAM, 0);
FD_SET((unsigned)dummySocketNum, &fReadSet);
}
if (err != EINTR) {
#else
if (errno != EINTR && errno != EAGAIN) {
#endif
// Unexpected error - treat this as fatal:
#if !defined(_WIN32_WCE)
perror("BasicTaskScheduler::SingleStep(): select() fails");
#endif
internalError();
}
}
// Call the handler function for one readable socket:
HandlerIterator iter(*fHandlers);
HandlerDescriptor* handler;
// To ensure forward progress through the handlers, begin past the last
// socket number that we handled:
if (fLastHandledSocketNum >= 0) {
while ((handler = iter.next()) != NULL) {
if (handler->socketNum == fLastHandledSocketNum) break;
}
if (handler == NULL) {
fLastHandledSocketNum = -1;
iter.reset(); // start from the beginning instead
}
}
while ((handler = iter.next()) != NULL) {
int sock = handler->socketNum; // alias
int resultConditionSet = 0;
if (FD_ISSET(sock, &readSet) && FD_ISSET(sock, &fReadSet)/*sanity check*/) resultConditionSet |= SOCKET_READABLE;
if (FD_ISSET(sock, &writeSet) && FD_ISSET(sock, &fWriteSet)/*sanity check*/) resultConditionSet |= SOCKET_WRITABLE;
if (FD_ISSET(sock, &exceptionSet) && FD_ISSET(sock, &fExceptionSet)/*sanity check*/) resultConditionSet |= SOCKET_EXCEPTION;
if ((resultConditionSet&handler->conditionSet) != 0 && handler->handlerProc != NULL) {
fLastHandledSocketNum = sock;
// Note: we set "fLastHandledSocketNum" before calling the handler,
// in case the handler calls "doEventLoop()" reentrantly.
(*handler->handlerProc)(handler->clientData, resultConditionSet);// 接收RTCP数据
break;
}
}
if (handler == NULL && fLastHandledSocketNum >= 0) {
// We didn't call a handler, but we didn't get to check all of them,
// so try again from the beginning:
iter.reset();
while ((handler = iter.next()) != NULL) {
int sock = handler->socketNum; // alias
int resultConditionSet = 0;
if (FD_ISSET(sock, &readSet) && FD_ISSET(sock, &fReadSet)/*sanity check*/) resultConditionSet |= SOCKET_READABLE;
if (FD_ISSET(sock, &writeSet) && FD_ISSET(sock, &fWriteSet)/*sanity check*/) resultConditionSet |= SOCKET_WRITABLE;
if (FD_ISSET(sock, &exceptionSet) && FD_ISSET(sock, &fExceptionSet)/*sanity check*/) resultConditionSet |= SOCKET_EXCEPTION;
if ((resultConditionSet&handler->conditionSet) != 0 && handler->handlerProc != NULL) {
fLastHandledSocketNum = sock;
// Note: we set "fLastHandledSocketNum" before calling the handler,
// in case the handler calls "doEventLoop()" reentrantly.
(*handler->handlerProc)(handler->clientData, resultConditionSet);// 接收RTP数据
break;
}
}
if (handler == NULL) fLastHandledSocketNum = -1;//because we didn't call a handler
}
// Also handle any newly-triggered event (Note that we do this *after* calling a socket handler,
// in case the triggered event handler modifies The set of readable sockets.)
if (fTriggersAwaitingHandling != 0) {
if (fTriggersAwaitingHandling == fLastUsedTriggerMask) {
// Common-case optimization for a single event trigger:
fTriggersAwaitingHandling = 0;
if (fTriggeredEventHandlers[fLastUsedTriggerNum] != NULL) {
(*fTriggeredEventHandlers[fLastUsedTriggerNum])(fTriggeredEventClientDatas[fLastUsedTriggerNum]);
}
} else {
// Look for an event trigger that needs handling (making sure that we make forward progress through all possible triggers):
unsigned i = fLastUsedTriggerNum;
EventTriggerId mask = fLastUsedTriggerMask;
do {
i = (i+1)%MAX_NUM_EVENT_TRIGGERS;
mask >>= 1;
if (mask == 0) mask = 0x80000000;
if ((fTriggersAwaitingHandling&mask) != 0) {
fTriggersAwaitingHandling &=~ mask;
if (fTriggeredEventHandlers[i] != NULL) {
(*fTriggeredEventHandlers[i])(fTriggeredEventClientDatas[i]);
}
fLastUsedTriggerMask = mask;
fLastUsedTriggerNum = i;
break;
}
} while (i != fLastUsedTriggerNum);
}
}
// Also handle any delayed event that may have come due.
fDelayQueue.handleAlarm();
}
void BasicTaskScheduler
::setBackgroundHandling(int socketNum, int conditionSet, BackgroundHandlerProc* handlerProc, void* clientData) {
if (socketNum < 0) return;
FD_CLR((unsigned)socketNum, &fReadSet);
FD_CLR((unsigned)socketNum, &fWriteSet);
FD_CLR((unsigned)socketNum, &fExceptionSet);
if (conditionSet == 0) {
fHandlers->clearHandler(socketNum);
if (socketNum+1 == fMaxNumSockets) {
--fMaxNumSockets;
}
} else {
fHandlers->assignHandler(socketNum, conditionSet, handlerProc, clientData);
if (socketNum+1 > fMaxNumSockets) {
fMaxNumSockets = socketNum+1;
}
if (conditionSet&SOCKET_READABLE) FD_SET((unsigned)socketNum, &fReadSet);
if (conditionSet&SOCKET_WRITABLE) FD_SET((unsigned)socketNum, &fWriteSet);
if (conditionSet&SOCKET_EXCEPTION) FD_SET((unsigned)socketNum, &fExceptionSet);
}
}
void BasicTaskScheduler::moveSocketHandling(int oldSocketNum, int newSocketNum) {
if (oldSocketNum < 0 || newSocketNum < 0) return; // sanity check
if (FD_ISSET(oldSocketNum, &fReadSet)) {FD_CLR((unsigned)oldSocketNum, &fReadSet); FD_SET((unsigned)newSocketNum, &fReadSet);}
if (FD_ISSET(oldSocketNum, &fWriteSet)) {FD_CLR((unsigned)oldSocketNum, &fWriteSet); FD_SET((unsigned)newSocketNum, &fWriteSet);}
if (FD_ISSET(oldSocketNum, &fExceptionSet)) {FD_CLR((unsigned)oldSocketNum, &fExceptionSet); FD_SET((unsigned)newSocketNum, &fExceptionSet);}
fHandlers->moveHandler(oldSocketNum, newSocketNum);
if (oldSocketNum+1 == fMaxNumSockets) {
--fMaxNumSockets;
}
if (newSocketNum+1 > fMaxNumSockets) {
fMaxNumSockets = newSocketNum+1;
}
}
| [
"jiayayao@126.com"
] | jiayayao@126.com |
2ac69c2d5650ce6e777069d072f4f0452be0260f | d041118ac86aa399d40d0cb807476ce8aceb2aad | /Yellow/WeekTwo/DecomDecom.cpp | 0e99bfadba3f75a9799ce15c42a61fd51904ecb3 | [] | no_license | ElenaDolgova/coursera_white | 2795a93807ddfb9dfc2e5422eba4536b48213a81 | 9c36340af580ab82ef555de441f401bc5cb2e133 | refs/heads/main | 2023-04-28T03:33:24.081288 | 2021-05-18T12:33:52 | 2021-05-18T12:33:52 | 368,522,962 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,638 | cpp | #include <string>
#include <iostream>
#include <cassert>
#include <vector>
#include <map>
using namespace std;
enum class QueryType {
NewBus,
BusesForStop,
StopsForBus,
AllBuses
};
struct Query {
QueryType type;
string bus;
string stop;
vector<string> stops;
};
istream &operator>>(istream &is, Query &q) {
string command;
is >> command;
if (command == "NEW_BUS") {
q.type = QueryType::NewBus;
is >> q.bus;
int count_stop;
is >> count_stop;
q.stops.clear();
for (int i = 0; i < count_stop; ++i) {
string stop;
is >> stop;
q.stops.push_back(stop);
}
} else if (command == "BUSES_FOR_STOP") {
q.type = QueryType::BusesForStop;
is >> q.stop;
} else if (command == "STOPS_FOR_BUS") {
q.type = QueryType::StopsForBus;
is >> q.bus;
} else if (command == "ALL_BUSES") {
q.type = QueryType::AllBuses;
}
return is;
}
struct BusesForStopResponse {
bool hasStop;
vector<string> buses;
};
ostream &operator<<(ostream &os, const BusesForStopResponse &r) {
if (!r.hasStop) {
os << "No stop";
return os;
}
bool isFirst = true;
for (const string &bus: r.buses) {
if (isFirst) {
os << bus;
isFirst = false;
} else {
os << " " << bus;
}
}
return os;
}
struct StopsForBusResponse {
bool hasBus;
vector<string> stops;
map<string, vector<string>> stops_buses;
};
ostream &operator<<(ostream &os, const StopsForBusResponse &r) {
if (!r.hasBus) {
os << "No bus";
return os;
}
int count = 0;
for (const auto &stop: r.stops) {
os << "Stop " << stop << ":";
if (r.stops_buses.count(stop) == 0) {
os << " no interchange";
} else {
for (const auto &bus: r.stops_buses.at(stop)) {
os << " " << bus;
}
}
if (count != r.stops.size() - 1) {
os << endl;
}
++count;
}
return os;
}
struct AllBusesResponse {
bool hasBuses;
vector<string> buses;
map<string, vector<string>> bus_stops;
};
ostream &operator<<(ostream &os, const AllBusesResponse &r) {
if (!r.hasBuses) {
os << "No buses";
return os;
}
int count = 0;
for (const auto &bus: r.buses) {
os << "Bus " << bus << ":";
for (const auto &stop: r.bus_stops.at(bus)) {
os << " " << stop;
}
if (count != r.buses.size() - 1) {
os << endl;
}
++count;
}
return os;
}
class BusManager {
public:
map<string, vector<string>> buses_to_stops, stops_to_buses;
void AddBus(const string &bus, const vector<string> &stops) {
buses_to_stops[bus] = stops;
for (const basic_string<char> &stop : stops) {
stops_to_buses[stop].push_back(bus);
}
}
BusesForStopResponse GetBusesForStop(const string &stop) const {
BusesForStopResponse busesForStopResponse;
if (stops_to_buses.count(stop) == 0) {
busesForStopResponse.hasStop = false;
return busesForStopResponse;
}
busesForStopResponse.hasStop = true;
for (const string &bus : stops_to_buses.at(stop)) {
busesForStopResponse.buses.push_back(bus);
}
return busesForStopResponse;
}
StopsForBusResponse GetStopsForBus(const string &bus) const {
StopsForBusResponse stopsForBusResponse;
if (buses_to_stops.count(bus) == 0) {
stopsForBusResponse.hasBus = false;
return stopsForBusResponse;
}
stopsForBusResponse.hasBus = true;
for (const string &stop : buses_to_stops.at(bus)) {
stopsForBusResponse.stops.push_back(stop);
if (stops_to_buses.at(stop).size() != 1) {
for (const string &other_bus : stops_to_buses.at(stop)) {
if (bus != other_bus) {
stopsForBusResponse.stops_buses[stop].push_back(other_bus);
}
}
}
}
return stopsForBusResponse;
}
AllBusesResponse GetAllBuses() const {
AllBusesResponse allBusesResponse;
if (buses_to_stops.empty()) {
allBusesResponse.hasBuses = false;
return allBusesResponse;
}
allBusesResponse.hasBuses = true;
for (const auto &bus_item : buses_to_stops) {
allBusesResponse.buses.push_back(bus_item.first);
for (const string &stop : bus_item.second) {
allBusesResponse.bus_stops[bus_item.first].push_back(stop);
}
}
return allBusesResponse;
}
};
// Не меняя тела функции main, реализуйте функции и классы выше
int main() {
int query_count;
Query q;
cin >> query_count;
BusManager bm;
for (int i = 0; i < query_count; ++i) {
cin >> q;
switch (q.type) {
case QueryType::NewBus:
bm.AddBus(q.bus, q.stops);
break;
case QueryType::BusesForStop:
cout << bm.GetBusesForStop(q.stop) << endl;
break;
case QueryType::StopsForBus:
cout << bm.GetStopsForBus(q.bus) << endl;
break;
case QueryType::AllBuses:
cout << bm.GetAllBuses() << endl;
break;
}
}
return 0;
}
| [
"ms.Elena.Dolgova@ya.ru"
] | ms.Elena.Dolgova@ya.ru |
9fe807a34a598d60a4e30601af5615939d8c0887 | 8fdb39f6df1dd0b319b15ad80764fec2802f3d6e | /src/qt/guiutil.cpp | 4ea5434e4530fab0fe02b062251fb86d71f70453 | [
"MIT"
] | permissive | masterdpool/GerCC | c8ee48e7ee92ccfca29c96b14d12514f4ed4f557 | d0589eec6759847217b671c886db30b37fca0eb2 | refs/heads/master | 2020-03-30T09:24:30.310744 | 2018-07-30T09:16:37 | 2018-07-30T09:16:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 34,019 | cpp | // Copyright (c) 2011-2015 The Bitcoin Core developers
// Copyright (c) 2014-2017 The GermanCC Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "guiutil.h"
#include "bitcoinaddressvalidator.h"
#include "bitcoinunits.h"
#include "qvalidatedlineedit.h"
#include "walletmodel.h"
#include "primitives/transaction.h"
#include "init.h"
#include "validation.h" // For minRelayTxFee
#include "protocol.h"
#include "script/script.h"
#include "script/standard.h"
#include "util.h"
#ifdef WIN32
#ifdef _WIN32_WINNT
#undef _WIN32_WINNT
#endif
#define _WIN32_WINNT 0x0501
#ifdef _WIN32_IE
#undef _WIN32_IE
#endif
#define _WIN32_IE 0x0501
#define WIN32_LEAN_AND_MEAN 1
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include "shellapi.h"
#include "shlobj.h"
#include "shlwapi.h"
#endif
#include <boost/filesystem.hpp>
#include <boost/filesystem/fstream.hpp>
#if BOOST_FILESYSTEM_VERSION >= 3
#include <boost/filesystem/detail/utf8_codecvt_facet.hpp>
#endif
#include <boost/scoped_array.hpp>
#include <QAbstractItemView>
#include <QApplication>
#include <QClipboard>
#include <QDateTime>
#include <QDesktopServices>
#include <QDesktopWidget>
#include <QDoubleValidator>
#include <QFileDialog>
#include <QFont>
#include <QLineEdit>
#include <QSettings>
#include <QTextDocument> // for Qt::mightBeRichText
#include <QThread>
#include <QMouseEvent>
#if QT_VERSION < 0x050000
#include <QUrl>
#else
#include <QUrlQuery>
#endif
#if QT_VERSION >= 0x50200
#include <QFontDatabase>
#endif
#if BOOST_FILESYSTEM_VERSION >= 3
static boost::filesystem::detail::utf8_codecvt_facet utf8;
#endif
#if defined(Q_OS_MAC)
extern double NSAppKitVersionNumber;
#if !defined(NSAppKitVersionNumber10_8)
#define NSAppKitVersionNumber10_8 1187
#endif
#if !defined(NSAppKitVersionNumber10_9)
#define NSAppKitVersionNumber10_9 1265
#endif
#endif
namespace GUIUtil {
QString dateTimeStr(const QDateTime &date)
{
return date.date().toString(Qt::SystemLocaleShortDate) + QString(" ") + date.toString("hh:mm");
}
QString dateTimeStr(qint64 nTime)
{
return dateTimeStr(QDateTime::fromTime_t((qint32)nTime));
}
QFont fixedPitchFont()
{
#if QT_VERSION >= 0x50200
return QFontDatabase::systemFont(QFontDatabase::FixedFont);
#else
QFont font("Monospace");
#if QT_VERSION >= 0x040800
font.setStyleHint(QFont::Monospace);
#else
font.setStyleHint(QFont::TypeWriter);
#endif
return font;
#endif
}
void setupAddressWidget(QValidatedLineEdit *widget, QWidget *parent)
{
parent->setFocusProxy(widget);
widget->setFont(fixedPitchFont());
#if QT_VERSION >= 0x040700
// We don't want translators to use own addresses in translations
// and this is the only place, where this address is supplied.
widget->setPlaceholderText(QObject::tr("Enter a GermanCC address (e.g. %1)").arg("XwnLY9Tf7Zsef8gMGL2fhWA9ZmMjt4KPwg"));
#endif
widget->setValidator(new BitcoinAddressEntryValidator(parent));
widget->setCheckValidator(new BitcoinAddressCheckValidator(parent));
}
void setupAmountWidget(QLineEdit *widget, QWidget *parent)
{
QDoubleValidator *amountValidator = new QDoubleValidator(parent);
amountValidator->setDecimals(8);
amountValidator->setBottom(0.0);
widget->setValidator(amountValidator);
widget->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
}
bool parseBitcoinURI(const QUrl &uri, SendCoinsRecipient *out)
{
// return if URI is not valid or is no germancc: URI
if(!uri.isValid() || uri.scheme() != QString("germancc"))
return false;
SendCoinsRecipient rv;
rv.address = uri.path();
// Trim any following forward slash which may have been added by the OS
if (rv.address.endsWith("/")) {
rv.address.truncate(rv.address.length() - 1);
}
rv.amount = 0;
#if QT_VERSION < 0x050000
QList<QPair<QString, QString> > items = uri.queryItems();
#else
QUrlQuery uriQuery(uri);
QList<QPair<QString, QString> > items = uriQuery.queryItems();
#endif
rv.fUseInstantSend = false;
for (QList<QPair<QString, QString> >::iterator i = items.begin(); i != items.end(); i++)
{
bool fShouldReturnFalse = false;
if (i->first.startsWith("req-"))
{
i->first.remove(0, 4);
fShouldReturnFalse = true;
}
if (i->first == "label")
{
rv.label = i->second;
fShouldReturnFalse = false;
}
if (i->first == "IS")
{
if(i->second.compare(QString("1")) == 0)
rv.fUseInstantSend = true;
fShouldReturnFalse = false;
}
if (i->first == "message")
{
rv.message = i->second;
fShouldReturnFalse = false;
}
else if (i->first == "amount")
{
if(!i->second.isEmpty())
{
if(!BitcoinUnits::parse(BitcoinUnits::GerCC, i->second, &rv.amount))
{
return false;
}
}
fShouldReturnFalse = false;
}
if (fShouldReturnFalse)
return false;
}
if(out)
{
*out = rv;
}
return true;
}
bool parseBitcoinURI(QString uri, SendCoinsRecipient *out)
{
// Convert germancc:// to germancc:
//
// Cannot handle this later, because germancc:// will cause Qt to see the part after // as host,
// which will lower-case it (and thus invalidate the address).
if(uri.startsWith("germancc://", Qt::CaseInsensitive))
{
uri.replace(0, 7, "germancc:");
}
QUrl uriInstance(uri);
return parseBitcoinURI(uriInstance, out);
}
QString formatBitcoinURI(const SendCoinsRecipient &info)
{
QString ret = QString("germancc:%1").arg(info.address);
int paramCount = 0;
if (info.amount)
{
ret += QString("?amount=%1").arg(BitcoinUnits::format(BitcoinUnits::GerCC, info.amount, false, BitcoinUnits::separatorNever));
paramCount++;
}
if (!info.label.isEmpty())
{
QString lbl(QUrl::toPercentEncoding(info.label));
ret += QString("%1label=%2").arg(paramCount == 0 ? "?" : "&").arg(lbl);
paramCount++;
}
if (!info.message.isEmpty())
{
QString msg(QUrl::toPercentEncoding(info.message));
ret += QString("%1message=%2").arg(paramCount == 0 ? "?" : "&").arg(msg);
paramCount++;
}
if(info.fUseInstantSend)
{
ret += QString("%1IS=1").arg(paramCount == 0 ? "?" : "&");
paramCount++;
}
return ret;
}
bool isDust(const QString& address, const CAmount& amount)
{
CTxDestination dest = CBitcoinAddress(address.toStdString()).Get();
CScript script = GetScriptForDestination(dest);
CTxOut txOut(amount, script);
return txOut.IsDust(::minRelayTxFee);
}
QString HtmlEscape(const QString& str, bool fMultiLine)
{
#if QT_VERSION < 0x050000
QString escaped = Qt::escape(str);
#else
QString escaped = str.toHtmlEscaped();
#endif
escaped = escaped.replace(" ", " ");
if(fMultiLine)
{
escaped = escaped.replace("\n", "<br>\n");
}
return escaped;
}
QString HtmlEscape(const std::string& str, bool fMultiLine)
{
return HtmlEscape(QString::fromStdString(str), fMultiLine);
}
void copyEntryData(QAbstractItemView *view, int column, int role)
{
if(!view || !view->selectionModel())
return;
QModelIndexList selection = view->selectionModel()->selectedRows(column);
if(!selection.isEmpty())
{
// Copy first item
setClipboard(selection.at(0).data(role).toString());
}
}
QList<QModelIndex> getEntryData(QAbstractItemView *view, int column)
{
if(!view || !view->selectionModel())
return QList<QModelIndex>();
return view->selectionModel()->selectedRows(column);
}
QString getSaveFileName(QWidget *parent, const QString &caption, const QString &dir,
const QString &filter,
QString *selectedSuffixOut)
{
QString selectedFilter;
QString myDir;
if(dir.isEmpty()) // Default to user documents location
{
#if QT_VERSION < 0x050000
myDir = QDesktopServices::storageLocation(QDesktopServices::DocumentsLocation);
#else
myDir = QStandardPaths::writableLocation(QStandardPaths::DocumentsLocation);
#endif
}
else
{
myDir = dir;
}
/* Directly convert path to native OS path separators */
QString result = QDir::toNativeSeparators(QFileDialog::getSaveFileName(parent, caption, myDir, filter, &selectedFilter));
/* Extract first suffix from filter pattern "Description (*.foo)" or "Description (*.foo *.bar ...) */
QRegExp filter_re(".* \\(\\*\\.(.*)[ \\)]");
QString selectedSuffix;
if(filter_re.exactMatch(selectedFilter))
{
selectedSuffix = filter_re.cap(1);
}
/* Add suffix if needed */
QFileInfo info(result);
if(!result.isEmpty())
{
if(info.suffix().isEmpty() && !selectedSuffix.isEmpty())
{
/* No suffix specified, add selected suffix */
if(!result.endsWith("."))
result.append(".");
result.append(selectedSuffix);
}
}
/* Return selected suffix if asked to */
if(selectedSuffixOut)
{
*selectedSuffixOut = selectedSuffix;
}
return result;
}
QString getOpenFileName(QWidget *parent, const QString &caption, const QString &dir,
const QString &filter,
QString *selectedSuffixOut)
{
QString selectedFilter;
QString myDir;
if(dir.isEmpty()) // Default to user documents location
{
#if QT_VERSION < 0x050000
myDir = QDesktopServices::storageLocation(QDesktopServices::DocumentsLocation);
#else
myDir = QStandardPaths::writableLocation(QStandardPaths::DocumentsLocation);
#endif
}
else
{
myDir = dir;
}
/* Directly convert path to native OS path separators */
QString result = QDir::toNativeSeparators(QFileDialog::getOpenFileName(parent, caption, myDir, filter, &selectedFilter));
if(selectedSuffixOut)
{
/* Extract first suffix from filter pattern "Description (*.foo)" or "Description (*.foo *.bar ...) */
QRegExp filter_re(".* \\(\\*\\.(.*)[ \\)]");
QString selectedSuffix;
if(filter_re.exactMatch(selectedFilter))
{
selectedSuffix = filter_re.cap(1);
}
*selectedSuffixOut = selectedSuffix;
}
return result;
}
Qt::ConnectionType blockingGUIThreadConnection()
{
if(QThread::currentThread() != qApp->thread())
{
return Qt::BlockingQueuedConnection;
}
else
{
return Qt::DirectConnection;
}
}
bool checkPoint(const QPoint &p, const QWidget *w)
{
QWidget *atW = QApplication::widgetAt(w->mapToGlobal(p));
if (!atW) return false;
return atW->topLevelWidget() == w;
}
bool isObscured(QWidget *w)
{
return !(checkPoint(QPoint(0, 0), w)
&& checkPoint(QPoint(w->width() - 1, 0), w)
&& checkPoint(QPoint(0, w->height() - 1), w)
&& checkPoint(QPoint(w->width() - 1, w->height() - 1), w)
&& checkPoint(QPoint(w->width() / 2, w->height() / 2), w));
}
void openDebugLogfile()
{
boost::filesystem::path pathDebug = GetDataDir() / "debug.log";
/* Open debug.log with the associated application */
if (boost::filesystem::exists(pathDebug))
QDesktopServices::openUrl(QUrl::fromLocalFile(boostPathToQString(pathDebug)));
}
void openConfigfile()
{
boost::filesystem::path pathConfig = GetConfigFile();
/* Open germancc.conf with the associated application */
if (boost::filesystem::exists(pathConfig))
QDesktopServices::openUrl(QUrl::fromLocalFile(boostPathToQString(pathConfig)));
}
void openMNConfigfile()
{
boost::filesystem::path pathConfig = GetMasternodeConfigFile();
/* Open masternode.conf with the associated application */
if (boost::filesystem::exists(pathConfig))
QDesktopServices::openUrl(QUrl::fromLocalFile(boostPathToQString(pathConfig)));
}
void showBackups()
{
boost::filesystem::path backupsDir = GetBackupsDir();
/* Open folder with default browser */
if (boost::filesystem::exists(backupsDir))
QDesktopServices::openUrl(QUrl::fromLocalFile(boostPathToQString(backupsDir)));
}
void SubstituteFonts(const QString& language)
{
#if defined(Q_OS_MAC)
// Background:
// OSX's default font changed in 10.9 and Qt is unable to find it with its
// usual fallback methods when building against the 10.7 sdk or lower.
// The 10.8 SDK added a function to let it find the correct fallback font.
// If this fallback is not properly loaded, some characters may fail to
// render correctly.
//
// The same thing happened with 10.10. .Helvetica Neue DeskInterface is now default.
//
// Solution: If building with the 10.7 SDK or lower and the user's platform
// is 10.9 or higher at runtime, substitute the correct font. This needs to
// happen before the QApplication is created.
#if defined(MAC_OS_X_VERSION_MAX_ALLOWED) && MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_8
if (floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_8)
{
if (floor(NSAppKitVersionNumber) <= NSAppKitVersionNumber10_9)
/* On a 10.9 - 10.9.x system */
QFont::insertSubstitution(".Lucida Grande UI", "Lucida Grande");
else
{
/* 10.10 or later system */
if (language == "zh_CN" || language == "zh_TW" || language == "zh_HK") // traditional or simplified Chinese
QFont::insertSubstitution(".Helvetica Neue DeskInterface", "Heiti SC");
else if (language == "ja") // Japanesee
QFont::insertSubstitution(".Helvetica Neue DeskInterface", "Songti SC");
else
QFont::insertSubstitution(".Helvetica Neue DeskInterface", "Lucida Grande");
}
}
#endif
#endif
}
ToolTipToRichTextFilter::ToolTipToRichTextFilter(int size_threshold, QObject *parent) :
QObject(parent),
size_threshold(size_threshold)
{
}
bool ToolTipToRichTextFilter::eventFilter(QObject *obj, QEvent *evt)
{
if(evt->type() == QEvent::ToolTipChange)
{
QWidget *widget = static_cast<QWidget*>(obj);
QString tooltip = widget->toolTip();
if(tooltip.size() > size_threshold && !tooltip.startsWith("<qt"))
{
// Escape the current message as HTML and replace \n by <br> if it's not rich text
if(!Qt::mightBeRichText(tooltip))
tooltip = HtmlEscape(tooltip, true);
// Envelop with <qt></qt> to make sure Qt detects every tooltip as rich text
// and style='white-space:pre' to preserve line composition
tooltip = "<qt style='white-space:pre'>" + tooltip + "</qt>";
widget->setToolTip(tooltip);
return true;
}
}
return QObject::eventFilter(obj, evt);
}
void TableViewLastColumnResizingFixer::connectViewHeadersSignals()
{
connect(tableView->horizontalHeader(), SIGNAL(sectionResized(int,int,int)), this, SLOT(on_sectionResized(int,int,int)));
connect(tableView->horizontalHeader(), SIGNAL(geometriesChanged()), this, SLOT(on_geometriesChanged()));
}
// We need to disconnect these while handling the resize events, otherwise we can enter infinite loops.
void TableViewLastColumnResizingFixer::disconnectViewHeadersSignals()
{
disconnect(tableView->horizontalHeader(), SIGNAL(sectionResized(int,int,int)), this, SLOT(on_sectionResized(int,int,int)));
disconnect(tableView->horizontalHeader(), SIGNAL(geometriesChanged()), this, SLOT(on_geometriesChanged()));
}
// Setup the resize mode, handles compatibility for Qt5 and below as the method signatures changed.
// Refactored here for readability.
void TableViewLastColumnResizingFixer::setViewHeaderResizeMode(int logicalIndex, QHeaderView::ResizeMode resizeMode)
{
#if QT_VERSION < 0x050000
tableView->horizontalHeader()->setResizeMode(logicalIndex, resizeMode);
#else
tableView->horizontalHeader()->setSectionResizeMode(logicalIndex, resizeMode);
#endif
}
void TableViewLastColumnResizingFixer::resizeColumn(int nColumnIndex, int width)
{
tableView->setColumnWidth(nColumnIndex, width);
tableView->horizontalHeader()->resizeSection(nColumnIndex, width);
}
int TableViewLastColumnResizingFixer::getColumnsWidth()
{
int nColumnsWidthSum = 0;
for (int i = 0; i < columnCount; i++)
{
nColumnsWidthSum += tableView->horizontalHeader()->sectionSize(i);
}
return nColumnsWidthSum;
}
int TableViewLastColumnResizingFixer::getAvailableWidthForColumn(int column)
{
int nResult = lastColumnMinimumWidth;
int nTableWidth = tableView->horizontalHeader()->width();
if (nTableWidth > 0)
{
int nOtherColsWidth = getColumnsWidth() - tableView->horizontalHeader()->sectionSize(column);
nResult = std::max(nResult, nTableWidth - nOtherColsWidth);
}
return nResult;
}
// Make sure we don't make the columns wider than the tables viewport width.
void TableViewLastColumnResizingFixer::adjustTableColumnsWidth()
{
disconnectViewHeadersSignals();
resizeColumn(lastColumnIndex, getAvailableWidthForColumn(lastColumnIndex));
connectViewHeadersSignals();
int nTableWidth = tableView->horizontalHeader()->width();
int nColsWidth = getColumnsWidth();
if (nColsWidth > nTableWidth)
{
resizeColumn(secondToLastColumnIndex,getAvailableWidthForColumn(secondToLastColumnIndex));
}
}
// Make column use all the space available, useful during window resizing.
void TableViewLastColumnResizingFixer::stretchColumnWidth(int column)
{
disconnectViewHeadersSignals();
resizeColumn(column, getAvailableWidthForColumn(column));
connectViewHeadersSignals();
}
// When a section is resized this is a slot-proxy for ajustAmountColumnWidth().
void TableViewLastColumnResizingFixer::on_sectionResized(int logicalIndex, int oldSize, int newSize)
{
adjustTableColumnsWidth();
int remainingWidth = getAvailableWidthForColumn(logicalIndex);
if (newSize > remainingWidth)
{
resizeColumn(logicalIndex, remainingWidth);
}
}
// When the tabless geometry is ready, we manually perform the stretch of the "Message" column,
// as the "Stretch" resize mode does not allow for interactive resizing.
void TableViewLastColumnResizingFixer::on_geometriesChanged()
{
if ((getColumnsWidth() - this->tableView->horizontalHeader()->width()) != 0)
{
disconnectViewHeadersSignals();
resizeColumn(secondToLastColumnIndex, getAvailableWidthForColumn(secondToLastColumnIndex));
connectViewHeadersSignals();
}
}
/**
* Initializes all internal variables and prepares the
* the resize modes of the last 2 columns of the table and
*/
TableViewLastColumnResizingFixer::TableViewLastColumnResizingFixer(QTableView* table, int lastColMinimumWidth, int allColsMinimumWidth, QObject *parent) :
QObject(parent),
tableView(table),
lastColumnMinimumWidth(lastColMinimumWidth),
allColumnsMinimumWidth(allColsMinimumWidth)
{
columnCount = tableView->horizontalHeader()->count();
lastColumnIndex = columnCount - 1;
secondToLastColumnIndex = columnCount - 2;
tableView->horizontalHeader()->setMinimumSectionSize(allColumnsMinimumWidth);
setViewHeaderResizeMode(secondToLastColumnIndex, QHeaderView::Interactive);
setViewHeaderResizeMode(lastColumnIndex, QHeaderView::Interactive);
}
#ifdef WIN32
boost::filesystem::path static StartupShortcutPath()
{
std::string chain = ChainNameFromCommandLine();
if (chain == CBaseChainParams::MAIN)
return GetSpecialFolderPath(CSIDL_STARTUP) / "GermanCC Core.lnk";
if (chain == CBaseChainParams::TESTNET) // Remove this special case when CBaseChainParams::TESTNET = "testnet4"
return GetSpecialFolderPath(CSIDL_STARTUP) / "GermanCC Core (testnet).lnk";
return GetSpecialFolderPath(CSIDL_STARTUP) / strprintf("GermanCC Core (%s).lnk", chain);
}
bool GetStartOnSystemStartup()
{
// check for "GermanCC Core*.lnk"
return boost::filesystem::exists(StartupShortcutPath());
}
bool SetStartOnSystemStartup(bool fAutoStart)
{
// If the shortcut exists already, remove it for updating
boost::filesystem::remove(StartupShortcutPath());
if (fAutoStart)
{
CoInitialize(NULL);
// Get a pointer to the IShellLink interface.
IShellLink* psl = NULL;
HRESULT hres = CoCreateInstance(CLSID_ShellLink, NULL,
CLSCTX_INPROC_SERVER, IID_IShellLink,
reinterpret_cast<void**>(&psl));
if (SUCCEEDED(hres))
{
// Get the current executable path
TCHAR pszExePath[MAX_PATH];
GetModuleFileName(NULL, pszExePath, sizeof(pszExePath));
// Start client minimized
QString strArgs = "-min";
// Set -testnet /-regtest options
strArgs += QString::fromStdString(strprintf(" -testnet=%d -regtest=%d", GetBoolArg("-testnet", false), GetBoolArg("-regtest", false)));
#ifdef UNICODE
boost::scoped_array<TCHAR> args(new TCHAR[strArgs.length() + 1]);
// Convert the QString to TCHAR*
strArgs.toWCharArray(args.get());
// Add missing '\0'-termination to string
args[strArgs.length()] = '\0';
#endif
// Set the path to the shortcut target
psl->SetPath(pszExePath);
PathRemoveFileSpec(pszExePath);
psl->SetWorkingDirectory(pszExePath);
psl->SetShowCmd(SW_SHOWMINNOACTIVE);
#ifndef UNICODE
psl->SetArguments(strArgs.toStdString().c_str());
#else
psl->SetArguments(args.get());
#endif
// Query IShellLink for the IPersistFile interface for
// saving the shortcut in persistent storage.
IPersistFile* ppf = NULL;
hres = psl->QueryInterface(IID_IPersistFile, reinterpret_cast<void**>(&ppf));
if (SUCCEEDED(hres))
{
WCHAR pwsz[MAX_PATH];
// Ensure that the string is ANSI.
MultiByteToWideChar(CP_ACP, 0, StartupShortcutPath().string().c_str(), -1, pwsz, MAX_PATH);
// Save the link by calling IPersistFile::Save.
hres = ppf->Save(pwsz, TRUE);
ppf->Release();
psl->Release();
CoUninitialize();
return true;
}
psl->Release();
}
CoUninitialize();
return false;
}
return true;
}
#elif defined(Q_OS_LINUX)
// Follow the Desktop Application Autostart Spec:
// http://standards.freedesktop.org/autostart-spec/autostart-spec-latest.html
boost::filesystem::path static GetAutostartDir()
{
namespace fs = boost::filesystem;
char* pszConfigHome = getenv("XDG_CONFIG_HOME");
if (pszConfigHome) return fs::path(pszConfigHome) / "autostart";
char* pszHome = getenv("HOME");
if (pszHome) return fs::path(pszHome) / ".config" / "autostart";
return fs::path();
}
boost::filesystem::path static GetAutostartFilePath()
{
std::string chain = ChainNameFromCommandLine();
if (chain == CBaseChainParams::MAIN)
return GetAutostartDir() / "germancccore.desktop";
return GetAutostartDir() / strprintf("germancccore-%s.lnk", chain);
}
bool GetStartOnSystemStartup()
{
boost::filesystem::ifstream optionFile(GetAutostartFilePath());
if (!optionFile.good())
return false;
// Scan through file for "Hidden=true":
std::string line;
while (!optionFile.eof())
{
getline(optionFile, line);
if (line.find("Hidden") != std::string::npos &&
line.find("true") != std::string::npos)
return false;
}
optionFile.close();
return true;
}
bool SetStartOnSystemStartup(bool fAutoStart)
{
if (!fAutoStart)
boost::filesystem::remove(GetAutostartFilePath());
else
{
char pszExePath[MAX_PATH+1];
memset(pszExePath, 0, sizeof(pszExePath));
if (readlink("/proc/self/exe", pszExePath, sizeof(pszExePath)-1) == -1)
return false;
boost::filesystem::create_directories(GetAutostartDir());
boost::filesystem::ofstream optionFile(GetAutostartFilePath(), std::ios_base::out|std::ios_base::trunc);
if (!optionFile.good())
return false;
std::string chain = ChainNameFromCommandLine();
// Write a germancccore.desktop file to the autostart directory:
optionFile << "[Desktop Entry]\n";
optionFile << "Type=Application\n";
if (chain == CBaseChainParams::MAIN)
optionFile << "Name=GermanCC Core\n";
else
optionFile << strprintf("Name=GermanCC Core (%s)\n", chain);
optionFile << "Exec=" << pszExePath << strprintf(" -min -testnet=%d -regtest=%d\n", GetBoolArg("-testnet", false), GetBoolArg("-regtest", false));
optionFile << "Terminal=false\n";
optionFile << "Hidden=false\n";
optionFile.close();
}
return true;
}
#elif defined(Q_OS_MAC)
// based on: https://github.com/Mozketo/LaunchAtLoginController/blob/master/LaunchAtLoginController.m
#include <CoreFoundation/CoreFoundation.h>
#include <CoreServices/CoreServices.h>
LSSharedFileListItemRef findStartupItemInList(LSSharedFileListRef list, CFURLRef findUrl);
LSSharedFileListItemRef findStartupItemInList(LSSharedFileListRef list, CFURLRef findUrl)
{
// loop through the list of startup items and try to find the GermanCC Core app
CFArrayRef listSnapshot = LSSharedFileListCopySnapshot(list, NULL);
for(int i = 0; i < CFArrayGetCount(listSnapshot); i++) {
LSSharedFileListItemRef item = (LSSharedFileListItemRef)CFArrayGetValueAtIndex(listSnapshot, i);
UInt32 resolutionFlags = kLSSharedFileListNoUserInteraction | kLSSharedFileListDoNotMountVolumes;
CFURLRef currentItemURL = NULL;
#if defined(MAC_OS_X_VERSION_MAX_ALLOWED) && MAC_OS_X_VERSION_MAX_ALLOWED >= 10100
if(&LSSharedFileListItemCopyResolvedURL)
currentItemURL = LSSharedFileListItemCopyResolvedURL(item, resolutionFlags, NULL);
#if defined(MAC_OS_X_VERSION_MIN_REQUIRED) && MAC_OS_X_VERSION_MIN_REQUIRED < 10100
else
LSSharedFileListItemResolve(item, resolutionFlags, ¤tItemURL, NULL);
#endif
#else
LSSharedFileListItemResolve(item, resolutionFlags, ¤tItemURL, NULL);
#endif
if(currentItemURL && CFEqual(currentItemURL, findUrl)) {
// found
CFRelease(currentItemURL);
return item;
}
if(currentItemURL) {
CFRelease(currentItemURL);
}
}
return NULL;
}
bool GetStartOnSystemStartup()
{
CFURLRef bitcoinAppUrl = CFBundleCopyBundleURL(CFBundleGetMainBundle());
LSSharedFileListRef loginItems = LSSharedFileListCreate(NULL, kLSSharedFileListSessionLoginItems, NULL);
LSSharedFileListItemRef foundItem = findStartupItemInList(loginItems, bitcoinAppUrl);
return !!foundItem; // return boolified object
}
bool SetStartOnSystemStartup(bool fAutoStart)
{
CFURLRef bitcoinAppUrl = CFBundleCopyBundleURL(CFBundleGetMainBundle());
LSSharedFileListRef loginItems = LSSharedFileListCreate(NULL, kLSSharedFileListSessionLoginItems, NULL);
LSSharedFileListItemRef foundItem = findStartupItemInList(loginItems, bitcoinAppUrl);
if(fAutoStart && !foundItem) {
// add GermanCC Core app to startup item list
LSSharedFileListInsertItemURL(loginItems, kLSSharedFileListItemBeforeFirst, NULL, NULL, bitcoinAppUrl, NULL, NULL);
}
else if(!fAutoStart && foundItem) {
// remove item
LSSharedFileListItemRemove(loginItems, foundItem);
}
return true;
}
#else
bool GetStartOnSystemStartup() { return false; }
bool SetStartOnSystemStartup(bool fAutoStart) { return false; }
#endif
void migrateQtSettings()
{
// Migration (12.1)
QSettings settings;
if(!settings.value("fMigrationDone121", false).toBool()) {
settings.remove("theme");
settings.remove("nWindowPos");
settings.remove("nWindowSize");
settings.setValue("fMigrationDone121", true);
}
}
void saveWindowGeometry(const QString& strSetting, QWidget *parent)
{
QSettings settings;
settings.setValue(strSetting + "Pos", parent->pos());
settings.setValue(strSetting + "Size", parent->size());
}
void restoreWindowGeometry(const QString& strSetting, const QSize& defaultSize, QWidget *parent)
{
QSettings settings;
QPoint pos = settings.value(strSetting + "Pos").toPoint();
QSize size = settings.value(strSetting + "Size", defaultSize).toSize();
parent->resize(size);
parent->move(pos);
if ((!pos.x() && !pos.y()) || (QApplication::desktop()->screenNumber(parent) == -1))
{
QRect screen = QApplication::desktop()->screenGeometry();
QPoint defaultPos = screen.center() -
QPoint(defaultSize.width() / 2, defaultSize.height() / 2);
parent->resize(defaultSize);
parent->move(defaultPos);
}
}
// Return name of current UI-theme or default theme if no theme was found
QString getThemeName()
{
QSettings settings;
QString theme = settings.value("theme", "").toString();
if(!theme.isEmpty()){
return theme;
}
return QString("light");
}
// Open CSS when configured
QString loadStyleSheet()
{
QString styleSheet;
QSettings settings;
QString cssName;
QString theme = settings.value("theme", "").toString();
if(!theme.isEmpty()){
cssName = QString(":/css/") + theme;
}
else {
cssName = QString(":/css/light");
settings.setValue("theme", "light");
}
QFile qFile(cssName);
if (qFile.open(QFile::ReadOnly)) {
styleSheet = QLatin1String(qFile.readAll());
}
return styleSheet;
}
void setClipboard(const QString& str)
{
QApplication::clipboard()->setText(str, QClipboard::Clipboard);
QApplication::clipboard()->setText(str, QClipboard::Selection);
}
#if BOOST_FILESYSTEM_VERSION >= 3
boost::filesystem::path qstringToBoostPath(const QString &path)
{
return boost::filesystem::path(path.toStdString(), utf8);
}
QString boostPathToQString(const boost::filesystem::path &path)
{
return QString::fromStdString(path.string(utf8));
}
#else
#warning Conversion between boost path and QString can use invalid character encoding with boost_filesystem v2 and older
boost::filesystem::path qstringToBoostPath(const QString &path)
{
return boost::filesystem::path(path.toStdString());
}
QString boostPathToQString(const boost::filesystem::path &path)
{
return QString::fromStdString(path.string());
}
#endif
QString formatDurationStr(int secs)
{
QStringList strList;
int days = secs / 86400;
int hours = (secs % 86400) / 3600;
int mins = (secs % 3600) / 60;
int seconds = secs % 60;
if (days)
strList.append(QString(QObject::tr("%1 d")).arg(days));
if (hours)
strList.append(QString(QObject::tr("%1 h")).arg(hours));
if (mins)
strList.append(QString(QObject::tr("%1 m")).arg(mins));
if (seconds || (!days && !hours && !mins))
strList.append(QString(QObject::tr("%1 s")).arg(seconds));
return strList.join(" ");
}
QString formatServicesStr(quint64 mask)
{
QStringList strList;
// Just scan the last 8 bits for now.
for (int i = 0; i < 8; i++) {
uint64_t check = 1 << i;
if (mask & check)
{
switch (check)
{
case NODE_NETWORK:
strList.append("NETWORK");
break;
case NODE_GETUTXO:
strList.append("GETUTXO");
break;
case NODE_BLOOM:
strList.append("BLOOM");
break;
default:
strList.append(QString("%1[%2]").arg("UNKNOWN").arg(check));
}
}
}
if (strList.size())
return strList.join(" & ");
else
return QObject::tr("None");
}
QString formatPingTime(double dPingTime)
{
return (dPingTime == std::numeric_limits<int64_t>::max()/1e6 || dPingTime == 0) ? QObject::tr("N/A") : QString(QObject::tr("%1 ms")).arg(QString::number((int)(dPingTime * 1000), 10));
}
QString formatTimeOffset(int64_t nTimeOffset)
{
return QString(QObject::tr("%1 s")).arg(QString::number((int)nTimeOffset, 10));
}
QString formatNiceTimeOffset(qint64 secs)
{
// Represent time from last generated block in human readable text
QString timeBehindText;
const int HOUR_IN_SECONDS = 60*60;
const int DAY_IN_SECONDS = 24*60*60;
const int WEEK_IN_SECONDS = 7*24*60*60;
const int YEAR_IN_SECONDS = 31556952; // Average length of year in Gregorian calendar
if(secs < 60)
{
timeBehindText = QObject::tr("%n second(s)","",secs);
}
else if(secs < 2*HOUR_IN_SECONDS)
{
timeBehindText = QObject::tr("%n minute(s)","",secs/60);
}
else if(secs < 2*DAY_IN_SECONDS)
{
timeBehindText = QObject::tr("%n hour(s)","",secs/HOUR_IN_SECONDS);
}
else if(secs < 2*WEEK_IN_SECONDS)
{
timeBehindText = QObject::tr("%n day(s)","",secs/DAY_IN_SECONDS);
}
else if(secs < YEAR_IN_SECONDS)
{
timeBehindText = QObject::tr("%n week(s)","",secs/WEEK_IN_SECONDS);
}
else
{
qint64 years = secs / YEAR_IN_SECONDS;
qint64 remainder = secs % YEAR_IN_SECONDS;
timeBehindText = QObject::tr("%1 and %2").arg(QObject::tr("%n year(s)", "", years)).arg(QObject::tr("%n week(s)","", remainder/WEEK_IN_SECONDS));
}
return timeBehindText;
}
void ClickableLabel::mouseReleaseEvent(QMouseEvent *event)
{
Q_EMIT clicked(event->pos());
}
void ClickableProgressBar::mouseReleaseEvent(QMouseEvent *event)
{
Q_EMIT clicked(event->pos());
}
} // namespace GUIUtil
| [
"didi@kanalstr.de"
] | didi@kanalstr.de |
b668706dab3b5b65669f65fa64aa72413e2e2359 | 660320280838a650ec8672a5ee6434d4ffb6a18c | /Plot/PlotFuncPar.h | ed70718d0ae9d2b990dd0f9423aa561d3c68ebd9 | [
"MIT"
] | permissive | AleksZhuravlyov/nss | 0e7f8640b39db8b9baf35560be5e00fc3c7eca6e | 9851cb82ee30114c50e42e017514368a06a22f9a | refs/heads/master | 2022-11-09T19:29:15.763087 | 2020-06-22T09:34:06 | 2020-06-23T06:33:18 | 273,868,315 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,849 | h | /* MIT License
*
* Copyright (c) 2020 Aleksandr Zhuravlyov and Zakhar Lanets
*
* 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 PLOTFUNCPAR_H
#define PLOTFUNCPAR_H
#include <iomanip>
#include <iostream>
#include <vector>
#include "FuncPar.h"
class PlotFuncPar {
public:
PlotFuncPar(const FuncPar &rpcpPar);
PlotFuncPar(const FuncPar &rpcpPar, const std::string &terminalPar);
virtual ~PlotFuncPar();
void setSysTerm(const bool &usingSysTermPar);
void addDescription(const std::string &descriptionPlotPar);
void clearDescription();
void plotRPermRPermDer();
void plotCPressCPressDer();
void plotPsiPsiDer();
private:
FuncPar fP;
std::string terminal;
std::vector<std::string> descriptionPlotArray;
bool usingSysTerm;
};
#endif
| [
"a.s.zhuravljov@gmail.com"
] | a.s.zhuravljov@gmail.com |
22827f0adb719ff73e7f4d1e080039840af8e41e | 752572bd6010ef068c4851b55a261a2122f29094 | /aws-cpp-sdk-rds-data/include/aws/rds-data/model/Value.h | dfb5806253f99c7247e345dbb1d89ba2e05d1288 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | cnxtech/aws-sdk-cpp | 9b208792b2e81b3a22a850c3d0fbf4724dc65a99 | af8089f6277b8fec93c55a815c724444bd159a13 | refs/heads/master | 2023-08-15T02:01:42.569685 | 2019-05-08T20:39:01 | 2019-05-08T20:39:01 | 185,732,288 | 0 | 0 | Apache-2.0 | 2023-07-22T05:12:44 | 2019-05-09T05:30:49 | C++ | UTF-8 | C++ | false | false | 9,028 | h | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
#pragma once
#include <aws/rds-data/RDSDataService_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/Array.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/rds-data/model/StructValue.h>
#include <aws/rds-data/model/Value.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace RDSDataService
{
namespace Model
{
/**
* Column value<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/rds-data-2018-08-01/Value">AWS API
* Reference</a></p>
*/
class AWS_RDSDATASERVICE_API Value
{
public:
Value();
Value(Aws::Utils::Json::JsonView jsonValue);
Value& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* Arbitrarily nested arrays
*/
inline const Aws::Vector<Value>& GetArrayValues() const{ return m_arrayValues; }
/**
* Arbitrarily nested arrays
*/
inline bool ArrayValuesHasBeenSet() const { return m_arrayValuesHasBeenSet; }
/**
* Arbitrarily nested arrays
*/
inline void SetArrayValues(const Aws::Vector<Value>& value) { m_arrayValuesHasBeenSet = true; m_arrayValues = value; }
/**
* Arbitrarily nested arrays
*/
inline void SetArrayValues(Aws::Vector<Value>&& value) { m_arrayValuesHasBeenSet = true; m_arrayValues = std::move(value); }
/**
* Arbitrarily nested arrays
*/
inline Value& WithArrayValues(const Aws::Vector<Value>& value) { SetArrayValues(value); return *this;}
/**
* Arbitrarily nested arrays
*/
inline Value& WithArrayValues(Aws::Vector<Value>&& value) { SetArrayValues(std::move(value)); return *this;}
/**
* Arbitrarily nested arrays
*/
inline Value& AddArrayValues(const Value& value) { m_arrayValuesHasBeenSet = true; m_arrayValues.push_back(value); return *this; }
/**
* Arbitrarily nested arrays
*/
inline Value& AddArrayValues(Value&& value) { m_arrayValuesHasBeenSet = true; m_arrayValues.push_back(std::move(value)); return *this; }
/**
* Long value
*/
inline long long GetBigIntValue() const{ return m_bigIntValue; }
/**
* Long value
*/
inline bool BigIntValueHasBeenSet() const { return m_bigIntValueHasBeenSet; }
/**
* Long value
*/
inline void SetBigIntValue(long long value) { m_bigIntValueHasBeenSet = true; m_bigIntValue = value; }
/**
* Long value
*/
inline Value& WithBigIntValue(long long value) { SetBigIntValue(value); return *this;}
/**
* Bit value
*/
inline bool GetBitValue() const{ return m_bitValue; }
/**
* Bit value
*/
inline bool BitValueHasBeenSet() const { return m_bitValueHasBeenSet; }
/**
* Bit value
*/
inline void SetBitValue(bool value) { m_bitValueHasBeenSet = true; m_bitValue = value; }
/**
* Bit value
*/
inline Value& WithBitValue(bool value) { SetBitValue(value); return *this;}
/**
* Blob value
*/
inline const Aws::Utils::ByteBuffer& GetBlobValue() const{ return m_blobValue; }
/**
* Blob value
*/
inline bool BlobValueHasBeenSet() const { return m_blobValueHasBeenSet; }
/**
* Blob value
*/
inline void SetBlobValue(const Aws::Utils::ByteBuffer& value) { m_blobValueHasBeenSet = true; m_blobValue = value; }
/**
* Blob value
*/
inline void SetBlobValue(Aws::Utils::ByteBuffer&& value) { m_blobValueHasBeenSet = true; m_blobValue = std::move(value); }
/**
* Blob value
*/
inline Value& WithBlobValue(const Aws::Utils::ByteBuffer& value) { SetBlobValue(value); return *this;}
/**
* Blob value
*/
inline Value& WithBlobValue(Aws::Utils::ByteBuffer&& value) { SetBlobValue(std::move(value)); return *this;}
/**
* Double value
*/
inline double GetDoubleValue() const{ return m_doubleValue; }
/**
* Double value
*/
inline bool DoubleValueHasBeenSet() const { return m_doubleValueHasBeenSet; }
/**
* Double value
*/
inline void SetDoubleValue(double value) { m_doubleValueHasBeenSet = true; m_doubleValue = value; }
/**
* Double value
*/
inline Value& WithDoubleValue(double value) { SetDoubleValue(value); return *this;}
/**
* Integer value
*/
inline int GetIntValue() const{ return m_intValue; }
/**
* Integer value
*/
inline bool IntValueHasBeenSet() const { return m_intValueHasBeenSet; }
/**
* Integer value
*/
inline void SetIntValue(int value) { m_intValueHasBeenSet = true; m_intValue = value; }
/**
* Integer value
*/
inline Value& WithIntValue(int value) { SetIntValue(value); return *this;}
/**
* Is column null
*/
inline bool GetIsNull() const{ return m_isNull; }
/**
* Is column null
*/
inline bool IsNullHasBeenSet() const { return m_isNullHasBeenSet; }
/**
* Is column null
*/
inline void SetIsNull(bool value) { m_isNullHasBeenSet = true; m_isNull = value; }
/**
* Is column null
*/
inline Value& WithIsNull(bool value) { SetIsNull(value); return *this;}
/**
* Float value
*/
inline double GetRealValue() const{ return m_realValue; }
/**
* Float value
*/
inline bool RealValueHasBeenSet() const { return m_realValueHasBeenSet; }
/**
* Float value
*/
inline void SetRealValue(double value) { m_realValueHasBeenSet = true; m_realValue = value; }
/**
* Float value
*/
inline Value& WithRealValue(double value) { SetRealValue(value); return *this;}
/**
* String value
*/
inline const Aws::String& GetStringValue() const{ return m_stringValue; }
/**
* String value
*/
inline bool StringValueHasBeenSet() const { return m_stringValueHasBeenSet; }
/**
* String value
*/
inline void SetStringValue(const Aws::String& value) { m_stringValueHasBeenSet = true; m_stringValue = value; }
/**
* String value
*/
inline void SetStringValue(Aws::String&& value) { m_stringValueHasBeenSet = true; m_stringValue = std::move(value); }
/**
* String value
*/
inline void SetStringValue(const char* value) { m_stringValueHasBeenSet = true; m_stringValue.assign(value); }
/**
* String value
*/
inline Value& WithStringValue(const Aws::String& value) { SetStringValue(value); return *this;}
/**
* String value
*/
inline Value& WithStringValue(Aws::String&& value) { SetStringValue(std::move(value)); return *this;}
/**
* String value
*/
inline Value& WithStringValue(const char* value) { SetStringValue(value); return *this;}
/**
* Struct or UDT
*/
inline const StructValue& GetStructValue() const{ return m_structValue; }
/**
* Struct or UDT
*/
inline bool StructValueHasBeenSet() const { return m_structValueHasBeenSet; }
/**
* Struct or UDT
*/
inline void SetStructValue(const StructValue& value) { m_structValueHasBeenSet = true; m_structValue = value; }
/**
* Struct or UDT
*/
inline void SetStructValue(StructValue&& value) { m_structValueHasBeenSet = true; m_structValue = std::move(value); }
/**
* Struct or UDT
*/
inline Value& WithStructValue(const StructValue& value) { SetStructValue(value); return *this;}
/**
* Struct or UDT
*/
inline Value& WithStructValue(StructValue&& value) { SetStructValue(std::move(value)); return *this;}
private:
Aws::Vector<Value> m_arrayValues;
bool m_arrayValuesHasBeenSet;
long long m_bigIntValue;
bool m_bigIntValueHasBeenSet;
bool m_bitValue;
bool m_bitValueHasBeenSet;
Aws::Utils::ByteBuffer m_blobValue;
bool m_blobValueHasBeenSet;
double m_doubleValue;
bool m_doubleValueHasBeenSet;
int m_intValue;
bool m_intValueHasBeenSet;
bool m_isNull;
bool m_isNullHasBeenSet;
double m_realValue;
bool m_realValueHasBeenSet;
Aws::String m_stringValue;
bool m_stringValueHasBeenSet;
StructValue m_structValue;
bool m_structValueHasBeenSet;
};
} // namespace Model
} // namespace RDSDataService
} // namespace Aws
| [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
b48137e6b9dc08034ba6cefd29fce1f089b03b67 | 185412a166cc59dd191ea91ac0ed99e03ff7b08e | /Pizza.cpp | 130e86450aa4bd4b04ad31c770d0623c77dfcce6 | [] | no_license | RobertLarson/TemplateMethodPattern | 6d992cfc759cb68854c1b210741fe6707905747c | 3b86a364196bce128f914193177dc0972bd68773 | refs/heads/master | 2021-01-19T08:46:50.887724 | 2017-04-09T02:51:30 | 2017-04-09T02:51:30 | 87,674,552 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 558 | cpp | /*
* Pizza.cpp
*
* Created on: Apr 8, 2017
* Author: Robert Larson
*/
#include "Pizza.h"
#include <iostream>
Pizza::Pizza(std::string description)
: m_description(description) {
}
Pizza::~Pizza() {
}
void Pizza::Prepare()
{
std::cout << "Preparing a " << m_description << "...\n";
PrepareDough();
AddSauce();
AddToppings();
Bake();
std::cout << "\n";
}
void Pizza::PrepareDough()
{
std::cout << "preparing dough\n";
}
void Pizza::AddSauce()
{
std::cout << "adding sauce\n";
}
void Pizza::Bake()
{
std::cout << "bake pizza\n";
}
| [
"Robert.Larson@robertlarsononline.com"
] | Robert.Larson@robertlarsononline.com |
df148c37ad92334ce3796a82094eb29a97762f6b | ba00658155d78f9a1e66af59e6b2845ef4bdacf3 | /philosophers/src/dining_philosopher/src/MonitoredPhilosopher-main.cc | 2c16deb977c4f7acc660e225a744a5b5e9a94ee9 | [] | no_license | karasavm/philosophers_experiements | 72b25002215058688ceaf67196df32ba176ce7b1 | 162b4a44635ab8a82918490d167d06e0fd81ce5e | refs/heads/master | 2021-01-01T20:48:13.840003 | 2013-12-02T21:53:59 | 2013-12-02T21:53:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,479 | cc | /*
* Copyright (C) 2012 Aristotle Univeristy of Thessaloniki, Greece
*
* 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 "ros/ros.h"
#include "dining_philosopher/MonitoredPhilosopher.h"
int main(int argc, char** argv) {
std::string name = "philosopher";
name += argv[1];
ros::init(argc,argv,name);
MonitoredPhilosopher phil( atoi(argv[1]),
std::string(argv[2]),
atoi(argv[3]));
phil.start();
}
| [
"karasavm@gmail.com"
] | karasavm@gmail.com |
b66e43c866b2709e07307175a8ff7d61b4de68ca | f92ff80d4cd12a62c08e316f1ff6f523b83edd8f | /src/engines/graphics/scenenodeitem.cpp | a6c342203bf41fe26baa2c1daff8f8793ad7d253 | [] | no_license | xabufr/pixelwars | 70024a557d780b63636e65164fed2468f0f1baaf | 11b8c3a759cd0efa006378fa62af505d96eb0a94 | refs/heads/master | 2020-05-30T08:28:48.017877 | 2014-06-25T18:47:50 | 2014-06-25T18:47:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,445 | cpp | #include "scenenodeitem.h"
SceneNodeItem::SceneNodeItem()
{
m_relative.rotation=0;
m_relative.scale=sf::Vector2f(1,1);
m_visible=true;
}
SceneNodeItem::~SceneNodeItem()
{
//dtor
}
const sf::Vector2f& SceneNodeItem::GetRelativePosition() const
{
return m_relative.position;
}
float SceneNodeItem::GetRelativeRotation() const
{
return m_relative.rotation;
}
const sf::Vector2f& SceneNodeItem::GetRelativeScale() const
{
return m_relative.scale;
}
void SceneNodeItem::SetParentPosition(const sf::Vector2f& pos)
{
m_parent.position=pos;
PositionChanged();
}
void SceneNodeItem::SetParentRotation(float rot)
{
m_parent.rotation=rot;
RotationChanged();
}
void SceneNodeItem::SetParentScale(const sf::Vector2f& scale)
{
m_parent.scale=scale;
ScaleChanged();
}
void SceneNodeItem::SetRelativePosition(const sf::Vector2f& pos)
{
m_relative.position=pos;
PositionChanged();
}
void SceneNodeItem::SetRelativeRotation(float rot)
{
m_relative.rotation=rot;
RotationChanged();
}
void SceneNodeItem::SetRelativeScale(const sf::Vector2f& scale)
{
m_relative.scale=scale;
ScaleChanged();
}
void SceneNodeItem::SetAbsolutePosition(const sf::Vector2f& pos)
{
m_relative.position.x=pos.x-m_parent.position.x;
m_relative.position.y=pos.y-m_parent.position.y;
PositionChanged();
}
void SceneNodeItem::SetAbsoluteRotation(float rot)
{
m_relative.rotation=rot-m_parent.rotation;
RotationChanged();
}
void SceneNodeItem::SetAbsoluteScale(const sf::Vector2f& scale)
{
m_relative.scale.x=scale.x/m_parent.scale.x;
m_relative.scale.y=scale.y/m_parent.scale.y;
ScaleChanged();
}
void SceneNodeItem::SetParentPosition(float x, float y)
{
SetParentPosition(sf::Vector2f(x,y));
}
void SceneNodeItem::SetParentScale(float x, float y)
{
SetParentScale(sf::Vector2f(x,y));
}
void SceneNodeItem::SetRelativePosition(float x, float y)
{
SetRelativePosition(sf::Vector2f(x,y));
}
void SceneNodeItem::SetRelativeScale(float x, float y)
{
SetRelativeScale(sf::Vector2f(x,y));
}
void SceneNodeItem::SetAbsolutePosition(float x, float y)
{
SetAbsolutePosition(sf::Vector2f(x,y));
}
void SceneNodeItem::SetAbsoluteScale(float x, float y)
{
SetAbsoluteScale(sf::Vector2f(x,y));
}
void SceneNodeItem::Show()
{
SetVisible(true);
}
void SceneNodeItem::Hide()
{
SetVisible(false);
}
void SceneNodeItem::SetVisible(bool vis)
{
m_visible=vis;
}
| [
"xabufr@gmail.com"
] | xabufr@gmail.com |
e1a817336f81c0f346d202afe17f0da6b2525910 | 825baeebcab670220ee929252c78a42fe2c5fc7f | /dragonpoop_prealpha/dragonpoop/gfx/model/model_group_instance/model_group_instance_writelock.cpp | 93c897a7f534d65c753d8fd894c6620d12974ddd | [] | no_license | rvaughn4/dragonpoop_prealpha | 45e381cd06eea83aa022decf730688085e2b87a3 | e16b41838a42fed417cfeef075509f744fe6f38a | refs/heads/master | 2016-09-05T11:36:02.701048 | 2015-07-25T02:15:20 | 2015-07-25T02:15:20 | 37,826,187 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,820 | cpp |
#include "model_group_instance_writelock.h"
#include "model_group_instance.h"
namespace dragonpoop
{
//ctor
model_group_instance_writelock::model_group_instance_writelock( model_group_instance *t, dpmutex_writelock *l ) : model_component_writelock( t, l )
{
this->t = t;
}
//dtor
model_group_instance_writelock::~model_group_instance_writelock( void )
{
}
//return instance id
dpid model_group_instance_writelock::getInstanceId( void )
{
return this->t->getInstanceId();
}
//return group id
dpid model_group_instance_writelock::getGroupId( void )
{
return this->t->getGroupId();
}
//return partent id
dpid model_group_instance_writelock::getParentId( void )
{
return this->t->getParentId();
}
//returns true if has renderer
bool model_group_instance_writelock::hasRenderer( void )
{
return this->t->hasRenderer();
}
//set renderer
void model_group_instance_writelock::setRenderer( shared_obj_writelock *r )
{
this->t->setRenderer( r );
}
//get renderer
shared_obj_ref *model_group_instance_writelock::getRenderer( void )
{
return this->t->getRenderer();
}
//get vertexes
void model_group_instance_writelock::getVertexes( dpvertexindex_buffer *b )
{
this->t->getVertexes( b );
}
//sync group
void model_group_instance_writelock::sync( model_writelock *ml )
{
this->t->sync( ml );
}
//return material id
dpid model_group_instance_writelock::getMaterialId( void )
{
return this->t->getMaterialId();
}
//returns true if has material
bool model_group_instance_writelock::hasMaterial( void )
{
return this->t->hasMaterial();
}
};
| [
"richard@richards-Mac-mini.local"
] | richard@richards-Mac-mini.local |
897e3244ffe124f91ccf045a244300f3c95bf89c | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_1483488_1/C++/DenXX/c.cpp | e53d0794630c209fbd0ed9d4dd5392dd57afc86a | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 745 | cpp |
#include <iostream>
#include <vector>
#include <set>
#include <math.h>
using namespace std;
int check(int a, int b, int n) {
int res = 0;
int digcount = (int)(log(n)/log(10)) + 1;
set<int> ns;
for (int i = 1; i < digcount; ++i) {
int dec = pow(10, i);
int dec2 = pow(10, digcount - i);
int left = n / dec;
int right = n % dec;
int n1 = right * dec2 + left;
if (n1 > n && n1 >= a && n1 <= b && ns.find(n1) == ns.end()) {
ns.insert(n1);
++res;
}
}
return res;
}
int main(int argc, char argv[]) {
int t;
cin >> t;
for (int i = 0; i < t; ++i) {
int res = 0;
int a, b;
cin >> a >> b;
for (int j = a; j < b; ++j)
res += check(a, b, j);
cout << "Case #" << i + 1 << ": " << res << endl;
}
return 0;
} | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
71c42cfb142d1cf3ed8d34657a4a0ae0aaca5780 | b88eeed20d442c3e164c727a97db7bdf1935b70f | /contrib/oxl/mvl/HomgMatchPoint3D2D.h | c337b5856ed4974a70115af8e6ed824defe40db7 | [] | no_license | huanghailiang/vxl-1.17.0 | be3b4909ef31efc2aa0eb4ee884e5190704ca060 | c3076ac1013f10a532fe6d6b3c5f5b78eb26466e | refs/heads/master | 2021-07-23T04:05:36.954717 | 2017-11-01T07:23:22 | 2017-11-01T07:23:22 | 109,099,265 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 957 | h | // This is oxl/mvl/HomgMatchPoint3D2D.h
#ifndef HomgMatchPoint3D2D_h_
#define HomgMatchPoint3D2D_h_
#ifdef VCL_NEEDS_PRAGMA_INTERFACE
#pragma interface
#endif
//:
// \file
// \brief A match between a 3D and 2D point
//
// A class to hold a match between a 3D and 2D point.
//
#include <mvl/HomgPoint2D.h>
#include <mvl/HomgPoint3D.h>
class HomgMatchPoint3D2D
{
// Data Members------------------------------------------------------------
HomgPoint2D _point2D;
HomgPoint3D _point3D;
public:
// Constructors/Initializers/Destructors-----------------------------------
HomgMatchPoint3D2D ();
HomgMatchPoint3D2D (HomgPoint3D *point3D_ptr, HomgPoint2D *point2D_ptr);
~HomgMatchPoint3D2D ();
// Data Access-------------------------------------------------------------
HomgPoint3D get_point3D (void);
HomgPoint2D get_point2D (void);
void set (HomgPoint3D *point3D_ptr, HomgPoint2D *point2D_ptr);
};
#endif // HomgMatchPoint3D2D_h_
| [
"huanghailiang711@163.com"
] | huanghailiang711@163.com |
934b19a4c362451fa6d5fcc205ec71aed4d8d0d0 | a601ba8abcd1425d5cc3e6abce5facb3862887a1 | /src/def.h | bfc5461d53fff26df54d7fe3f0d870490359d49b | [
"MIT"
] | permissive | thientu/Transformer-DyNet | d893d0f37d88b1f52a3e57ea9315b74a2a2dd9b7 | 18b9860b1fb6e9dbb92d2eb67c330564d5224480 | refs/heads/master | 2021-04-17T00:17:30.595772 | 2018-03-22T09:54:12 | 2018-03-22T09:54:12 | 126,299,671 | 0 | 0 | MIT | 2018-03-22T07:55:27 | 2018-03-22T07:55:27 | null | UTF-8 | C++ | false | false | 6,848 | h | #pragma once
// DyNet
#include "dynet/globals.h"
#include "dynet/nodes.h"
#include "dynet/param-init.h"
#include "dynet/dynet.h"
#include "dynet/training.h"
#include "dynet/timing.h"
#include "dynet/dict.h"
#include "dynet/expr.h"
#include "dynet/lstm.h"
// STL
#include <algorithm>
#include <iostream>
#include <fstream>
#include <sstream>
#include <math.h>
// Boost
#include <boost/archive/text_iarchive.hpp>
#include <boost/archive/text_oarchive.hpp>
#include <boost/range/irange.hpp>
using namespace std;
using namespace dynet;
typedef int WordId;// word Id
typedef std::vector<WordId> WordIdSentence;// word Id sentence
typedef std::vector<WordIdSentence> WordIdSentences;// batches of sentences
typedef tuple<WordIdSentence, WordIdSentence> WordIdSentencePair; // Note: can be extended to include additional information (e.g., document ID)
typedef std::vector<WordIdSentencePair> WordIdCorpus;// ToDo: change to WordIdParallelCorpus?
typedef dynet::ParameterCollection DyNetModel;
typedef std::shared_ptr<DyNetModel> DyNetModelPointer;
namespace transformer {
//---
#define TRANSFORMER_RUNTIME_ASSERT(msg) do { \
std::ostringstream oss; \
oss << "[Transformer] " << msg; \
throw std::runtime_error(oss.str()); } \
while (0);
//---
//---
#define MULTI_HEAD_ATTENTION_PARALLEL // to use pseudo-batching for multi-head attention computing (faster)
#define USE_COLWISE_DROPOUT // use col-wise dropout
#define USE_LECUN_DIST_PARAM_INIT // use Le Cun's uniform distribution for LinearLayer params initialisation (arguably faster convergence)
#define USE_KEY_QUERY_MASKINGS // use key and query maskings in multi-head attention
#define USE_LINEAR_TRANSFORMATION_BROADCASTING // use linear transformation broadcasting at final output layer (much faster)
//---
//---
enum ATTENTION_TYPE { DOT_PRODUCT=1, ADDITIVE_MLP=2 };
enum FFL_ACTIVATION_TYPE { RELU=1, SWISH=2, SWISH_LEARNABLE_BETA=3 };
//---
//---
struct SentinelMarkers{
int _kSRC_SOS = -1;
int _kSRC_EOS = -1;
int _kSRC_UNK = -1;
int _kTGT_SOS = -1;
int _kTGT_EOS = -1;
int _kTGT_UNK = -1;
SentinelMarkers(){}
SentinelMarkers(int kSRC_SOS, int kSRC_EOS, int kSRC_UNK
, int kTGT_SOS, int kTGT_EOS, int kTGT_UNK)
{
_kSRC_SOS = kSRC_SOS;
_kSRC_EOS = kSRC_EOS;
_kSRC_UNK = kSRC_UNK;
_kTGT_SOS = kTGT_SOS;
_kTGT_EOS = kTGT_EOS;
_kTGT_UNK = kTGT_UNK;
}
};
//---
//---
struct ModelStats {
double _losses[2] = {0.f, 0.f};// If having additional loss, resize this array!
unsigned int _words_src = 0;
unsigned int _words_tgt = 0;
unsigned int _words_src_unk = 0;
unsigned int _words_tgt_unk = 0;
ModelStats(){}
};
//---
//---
struct TransformerConfig{
unsigned _src_vocab_size = 0;
unsigned _tgt_vocab_size = 0;
unsigned _num_units = 512;
unsigned _nheads = 8;
unsigned _nlayers = 6;
unsigned _n_ff_units_factor = 4;
bool _use_dropout = true;
float _encoder_emb_dropout_rate = 0.1f;
float _encoder_sublayer_dropout_rate = 0.1f;
float _decoder_emb_dropout_rate = 0.1f;
float _decoder_sublayer_dropout_rate = 0.1f;
float _attention_dropout_rate = 0.1f;
float _ff_dropout_rate = 0.1f;
bool _use_label_smoothing = false;
float _label_smoothing_weight = 0.1f;
unsigned _position_encoding = 2; // 1: learned positional embedding ; 2: sinusoidal positional encoding ; 0: none
unsigned _position_encoding_flag = 0; // 0: positional encoding applies to both encoder and decoder ; 1: for encoder only ; 2: for decoder only
unsigned _max_length = 500;// for learned positional embedding
SentinelMarkers _sm;
unsigned _attention_type = ATTENTION_TYPE::DOT_PRODUCT;
unsigned _ffl_activation_type = FFL_ACTIVATION_TYPE::RELU;
bool _use_hybrid_model = false;// RNN encoding over word embeddings instead of word embeddings + positional encoding
bool _shared_embeddings = false;// use shared word embeddings between source and target
bool _is_training = true;
TransformerConfig(){}
TransformerConfig(unsigned src_vocab_size
, unsigned tgt_vocab_size
, unsigned num_units
, unsigned nheads
, unsigned nlayers
, unsigned n_ff_units_factor
, float encoder_emb_dropout_rate
, float encoder_sublayer_dropout_rate
, float decoder_emb_dropout_rate
, float decoder_sublayer_dropout_rate
, float attention_dropout_rate
, float ff_dropout_rate
, bool use_label_smoothing
, float label_smoothing_weight
, unsigned position_encoding
, unsigned position_encoding_flag
, unsigned max_length
, SentinelMarkers sm
, unsigned attention_type
, unsigned ffl_activation_type
, bool shared_embeddings=false
, bool use_hybrid_model=false
, bool is_training=true)
{
_src_vocab_size = src_vocab_size;
_tgt_vocab_size = tgt_vocab_size;
_num_units = num_units;
_nheads = nheads;
_nlayers = nlayers;
_n_ff_units_factor = n_ff_units_factor;
_encoder_emb_dropout_rate = encoder_emb_dropout_rate;
_encoder_sublayer_dropout_rate = encoder_sublayer_dropout_rate;
_decoder_emb_dropout_rate = decoder_emb_dropout_rate;
_decoder_sublayer_dropout_rate = decoder_sublayer_dropout_rate;
_attention_dropout_rate = attention_dropout_rate;
_ff_dropout_rate = ff_dropout_rate;
_use_label_smoothing = use_label_smoothing;
_label_smoothing_weight = label_smoothing_weight;
_position_encoding = position_encoding;
_position_encoding_flag = position_encoding_flag;
_max_length = max_length;
_sm = sm;
_attention_type = attention_type;
_ffl_activation_type = ffl_activation_type;
_shared_embeddings = shared_embeddings;
if (_shared_embeddings) _tgt_vocab_size = _src_vocab_size;
_use_hybrid_model = use_hybrid_model;
_is_training = is_training;
_use_dropout = _is_training;
}
TransformerConfig(const TransformerConfig& tfc){
_src_vocab_size = tfc._src_vocab_size;
_tgt_vocab_size = tfc._tgt_vocab_size;
_num_units = tfc._num_units;
_nheads = tfc._nheads;
_nlayers = tfc._nlayers;
_n_ff_units_factor = tfc._n_ff_units_factor;
_encoder_emb_dropout_rate = tfc._encoder_emb_dropout_rate;
_encoder_sublayer_dropout_rate = tfc._encoder_sublayer_dropout_rate;
_decoder_emb_dropout_rate = tfc._decoder_emb_dropout_rate;
_decoder_sublayer_dropout_rate = tfc._decoder_sublayer_dropout_rate;
_attention_dropout_rate = tfc._attention_dropout_rate;
_ff_dropout_rate = tfc._ff_dropout_rate;
_use_label_smoothing = tfc._use_label_smoothing;
_label_smoothing_weight = tfc._label_smoothing_weight;
_position_encoding = tfc._position_encoding;
_position_encoding_flag = tfc._position_encoding_flag;
_max_length = tfc._max_length;
_sm = tfc._sm;
_attention_type = tfc._attention_type;
_ffl_activation_type = tfc._ffl_activation_type;
_shared_embeddings = tfc._shared_embeddings;
_use_hybrid_model = tfc._use_hybrid_model;
_is_training = tfc._is_training;
_use_dropout = _is_training;
}
};
//---
};
| [
"vhoang2@student.unimelb.edu.au"
] | vhoang2@student.unimelb.edu.au |
03a303c9b9445d9da259ed70285d63e4c9c298a7 | 6c66f928a42f891a8b585015b2f71e44ac7b9f8d | /TutIntV30/Act2DosBI.h | 1ad857286ced9449fc04096f2a6806d4f11cfdce | [] | no_license | FelipeSegovia/TutInt | 5857e20d3aa0b5c10a61a788c2f73d3bde888c75 | 7b30644d2f9b0ca0f8901da4e70d7b2ff607c53a | refs/heads/master | 2020-03-17T19:10:19.103492 | 2018-05-17T17:53:22 | 2018-05-17T17:53:22 | 133,848,477 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 30,820 | h | #pragma once
#include "BaseDeDatos.h"
#include "AgenteControlador.h"
#include "TiempoMI.h"
#include "TiempoGUI.h"
namespace TutIntV30 {
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;
/// <summary>
/// Resumen de Act2DosBI
/// </summary>
public ref class Act2DosBI : public System::Windows::Forms::Form
{
public:
Act2DosBI(void)
{
InitializeComponent();
//
//TODO: agregar código de constructor aquí
//
}
Act2DosBI(Form^ f, BaseDeDatos^ manejador, AgenteControlador* control)
{
form = f;
manejadorBD = manejador;
controlador = control;
InitializeComponent();
inicializarTam();
inicializarPosiciones();
this->Size = System::Drawing::Size(1050, 598);
this->Show();
}
protected:
/// <summary>
/// Limpiar los recursos que se estén usando.
/// </summary>
~Act2DosBI()
{
if (components)
{
delete components;
}
}
private: int contAyuda = 0;
private: BaseDeDatos ^ manejadorBD;
private: AgenteControlador * controlador;
private: int segundos, minutos, horas; // Para el form
private: TiempoGUI ^ t_actividad, ^t_item1, ^t_item2, ^t_item3, ^t_item4;
private: Thread ^ hiloAct;
private: System::Windows::Forms::Form^ form;
private: int wVolver, hVolver, wListo, hListo, wAyuda, hAyuda;
private: int posMouseFormX, posMouseFormY;
private: int posMouseBtnX, posMouseBtnY;
private: int posActBtnX, posActBtnY;
private: bool btnPresionado = false;
private: int xbtn1, ybtn1, xbtn2, ybtn2, xbtn3, ybtn3, xbtn4, ybtn4; // Guardar la posicion original del boton
private: bool listoBtn1, listoBtn2, listoBtn3, listoBtn4;
private: System::Windows::Forms::Panel^ panelPrincipal;
private: System::Windows::Forms::Panel^ panel13;
private: System::Windows::Forms::PictureBox^ btnListo;
private: System::Windows::Forms::PictureBox^ btnVolver;
private: System::Windows::Forms::Panel^ panel2;
private: System::Windows::Forms::PictureBox^ btnAyuda;
private: System::Windows::Forms::Panel^ panel9;
private: System::Windows::Forms::PictureBox^ pictureBox7;
private: System::Windows::Forms::Label^ label6;
private: System::Windows::Forms::PictureBox^ picMinimizar;
private: System::Windows::Forms::PictureBox^ picCerrar;
private: System::Windows::Forms::Timer^ timer1;
private: System::Windows::Forms::Button^ btnCuatro;
private: System::Windows::Forms::Button^ btnTres;
private: System::Windows::Forms::Button^ btnDos;
private: System::Windows::Forms::Button^ btnUno;
private: System::Windows::Forms::Label^ label4;
private: System::Windows::Forms::Label^ label3;
private: System::Windows::Forms::Label^ label2;
private: System::Windows::Forms::Panel^ panelTres3;
private: System::Windows::Forms::Panel^ panelDos3;
private: System::Windows::Forms::Panel^ panelTres2;
private: System::Windows::Forms::Panel^ panelUno3;
private: System::Windows::Forms::Panel^ panelTres1;
private: System::Windows::Forms::Panel^ panelDos2;
private: System::Windows::Forms::Panel^ panelDos1;
private: System::Windows::Forms::Panel^ panelUno2;
private: System::Windows::Forms::Panel^ panelUno1;
private: System::Windows::Forms::Panel^ panel1;
private: System::Windows::Forms::Label^ instruccion1;
private: System::Windows::Forms::Label^ instruccion2;
private: System::ComponentModel::IContainer^ components;
private:
/// <summary>
/// Variable del diseñador necesaria.
/// </summary>
#pragma region Windows Form Designer generated code
/// <summary>
/// Método necesario para admitir el Diseñador. No se puede modificar
/// el contenido de este método con el editor de código.
/// </summary>
void InitializeComponent(void)
{
this->components = (gcnew System::ComponentModel::Container());
System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(Act2DosBI::typeid));
this->panelPrincipal = (gcnew System::Windows::Forms::Panel());
this->panel13 = (gcnew System::Windows::Forms::Panel());
this->btnListo = (gcnew System::Windows::Forms::PictureBox());
this->btnVolver = (gcnew System::Windows::Forms::PictureBox());
this->panel2 = (gcnew System::Windows::Forms::Panel());
this->btnCuatro = (gcnew System::Windows::Forms::Button());
this->btnTres = (gcnew System::Windows::Forms::Button());
this->btnDos = (gcnew System::Windows::Forms::Button());
this->btnUno = (gcnew System::Windows::Forms::Button());
this->panelTres3 = (gcnew System::Windows::Forms::Panel());
this->panelDos3 = (gcnew System::Windows::Forms::Panel());
this->panelTres2 = (gcnew System::Windows::Forms::Panel());
this->panelUno3 = (gcnew System::Windows::Forms::Panel());
this->panelTres1 = (gcnew System::Windows::Forms::Panel());
this->panelDos2 = (gcnew System::Windows::Forms::Panel());
this->panelDos1 = (gcnew System::Windows::Forms::Panel());
this->panelUno2 = (gcnew System::Windows::Forms::Panel());
this->panelUno1 = (gcnew System::Windows::Forms::Panel());
this->label4 = (gcnew System::Windows::Forms::Label());
this->label3 = (gcnew System::Windows::Forms::Label());
this->label2 = (gcnew System::Windows::Forms::Label());
this->btnAyuda = (gcnew System::Windows::Forms::PictureBox());
this->panel9 = (gcnew System::Windows::Forms::Panel());
this->pictureBox7 = (gcnew System::Windows::Forms::PictureBox());
this->label6 = (gcnew System::Windows::Forms::Label());
this->picMinimizar = (gcnew System::Windows::Forms::PictureBox());
this->picCerrar = (gcnew System::Windows::Forms::PictureBox());
this->timer1 = (gcnew System::Windows::Forms::Timer(this->components));
this->panel1 = (gcnew System::Windows::Forms::Panel());
this->instruccion1 = (gcnew System::Windows::Forms::Label());
this->instruccion2 = (gcnew System::Windows::Forms::Label());
this->panelPrincipal->SuspendLayout();
this->panel13->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->btnListo))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->btnVolver))->BeginInit();
this->panel2->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->btnAyuda))->BeginInit();
this->panel9->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->pictureBox7))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->picMinimizar))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->picCerrar))->BeginInit();
this->panel1->SuspendLayout();
this->SuspendLayout();
//
// panelPrincipal
//
this->panelPrincipal->BackColor = System::Drawing::Color::Transparent;
this->panelPrincipal->BackgroundImage = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"panelPrincipal.BackgroundImage")));
this->panelPrincipal->BackgroundImageLayout = System::Windows::Forms::ImageLayout::Stretch;
this->panelPrincipal->Controls->Add(this->panel1);
this->panelPrincipal->Controls->Add(this->panel13);
this->panelPrincipal->Controls->Add(this->panel2);
this->panelPrincipal->Controls->Add(this->btnAyuda);
this->panelPrincipal->Dock = System::Windows::Forms::DockStyle::Fill;
this->panelPrincipal->Location = System::Drawing::Point(0, 70);
this->panelPrincipal->Name = L"panelPrincipal";
this->panelPrincipal->Size = System::Drawing::Size(2450, 1264);
this->panelPrincipal->TabIndex = 2;
//
// panel13
//
this->panel13->BackgroundImage = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"panel13.BackgroundImage")));
this->panel13->BackgroundImageLayout = System::Windows::Forms::ImageLayout::Stretch;
this->panel13->Controls->Add(this->btnListo);
this->panel13->Controls->Add(this->btnVolver);
this->panel13->Location = System::Drawing::Point(17, 679);
this->panel13->Name = L"panel13";
this->panel13->Size = System::Drawing::Size(484, 512);
this->panel13->TabIndex = 13;
//
// btnListo
//
this->btnListo->BackgroundImage = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"btnListo.BackgroundImage")));
this->btnListo->BackgroundImageLayout = System::Windows::Forms::ImageLayout::Stretch;
this->btnListo->Enabled = false;
this->btnListo->Location = System::Drawing::Point(59, 200);
this->btnListo->Name = L"btnListo";
this->btnListo->Size = System::Drawing::Size(398, 147);
this->btnListo->TabIndex = 1;
this->btnListo->TabStop = false;
this->btnListo->Visible = false;
this->btnListo->Click += gcnew System::EventHandler(this, &Act2DosBI::btnListo_Click);
this->btnListo->MouseLeave += gcnew System::EventHandler(this, &Act2DosBI::btnListo_MouseLeave);
this->btnListo->MouseHover += gcnew System::EventHandler(this, &Act2DosBI::btnListo_MouseHover);
//
// btnVolver
//
this->btnVolver->BackgroundImage = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"btnVolver.BackgroundImage")));
this->btnVolver->BackgroundImageLayout = System::Windows::Forms::ImageLayout::Stretch;
this->btnVolver->Location = System::Drawing::Point(23, 51);
this->btnVolver->Name = L"btnVolver";
this->btnVolver->Size = System::Drawing::Size(422, 155);
this->btnVolver->TabIndex = 0;
this->btnVolver->TabStop = false;
this->btnVolver->Click += gcnew System::EventHandler(this, &Act2DosBI::btnVolver_Click);
this->btnVolver->MouseLeave += gcnew System::EventHandler(this, &Act2DosBI::btnVolver_MouseLeave);
this->btnVolver->MouseHover += gcnew System::EventHandler(this, &Act2DosBI::btnVolver_MouseHover);
//
// panel2
//
this->panel2->BackColor = System::Drawing::Color::Transparent;
this->panel2->BackgroundImage = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"panel2.BackgroundImage")));
this->panel2->BackgroundImageLayout = System::Windows::Forms::ImageLayout::Stretch;
this->panel2->Controls->Add(this->btnCuatro);
this->panel2->Controls->Add(this->btnTres);
this->panel2->Controls->Add(this->btnDos);
this->panel2->Controls->Add(this->btnUno);
this->panel2->Controls->Add(this->panelTres3);
this->panel2->Controls->Add(this->panelDos3);
this->panel2->Controls->Add(this->panelTres2);
this->panel2->Controls->Add(this->panelUno3);
this->panel2->Controls->Add(this->panelTres1);
this->panel2->Controls->Add(this->panelDos2);
this->panel2->Controls->Add(this->panelDos1);
this->panel2->Controls->Add(this->panelUno2);
this->panel2->Controls->Add(this->panelUno1);
this->panel2->Controls->Add(this->label4);
this->panel2->Controls->Add(this->label3);
this->panel2->Controls->Add(this->label2);
this->panel2->Location = System::Drawing::Point(505, 110);
this->panel2->Name = L"panel2";
this->panel2->Size = System::Drawing::Size(1916, 1142);
this->panel2->TabIndex = 12;
//
// btnCuatro
//
this->btnCuatro->BackgroundImage = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"btnCuatro.BackgroundImage")));
this->btnCuatro->BackgroundImageLayout = System::Windows::Forms::ImageLayout::Stretch;
this->btnCuatro->FlatAppearance->BorderSize = 0;
this->btnCuatro->Location = System::Drawing::Point(469, 695);
this->btnCuatro->Name = L"btnCuatro";
this->btnCuatro->Size = System::Drawing::Size(293, 222);
this->btnCuatro->TabIndex = 3;
this->btnCuatro->UseVisualStyleBackColor = true;
this->btnCuatro->MouseDown += gcnew System::Windows::Forms::MouseEventHandler(this, &Act2DosBI::btnCuatro_MouseDown);
this->btnCuatro->MouseMove += gcnew System::Windows::Forms::MouseEventHandler(this, &Act2DosBI::btnCuatro_MouseMove);
this->btnCuatro->MouseUp += gcnew System::Windows::Forms::MouseEventHandler(this, &Act2DosBI::btnCuatro_MouseUp);
//
// btnTres
//
this->btnTres->BackgroundImage = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"btnTres.BackgroundImage")));
this->btnTres->BackgroundImageLayout = System::Windows::Forms::ImageLayout::Stretch;
this->btnTres->FlatAppearance->BorderSize = 0;
this->btnTres->Location = System::Drawing::Point(152, 508);
this->btnTres->Name = L"btnTres";
this->btnTres->Size = System::Drawing::Size(293, 222);
this->btnTres->TabIndex = 2;
this->btnTres->UseVisualStyleBackColor = true;
this->btnTres->MouseDown += gcnew System::Windows::Forms::MouseEventHandler(this, &Act2DosBI::btnTres_MouseDown);
this->btnTres->MouseMove += gcnew System::Windows::Forms::MouseEventHandler(this, &Act2DosBI::btnTres_MouseMove);
this->btnTres->MouseUp += gcnew System::Windows::Forms::MouseEventHandler(this, &Act2DosBI::btnTres_MouseUp);
//
// btnDos
//
this->btnDos->BackgroundImage = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"btnDos.BackgroundImage")));
this->btnDos->BackgroundImageLayout = System::Windows::Forms::ImageLayout::Stretch;
this->btnDos->FlatAppearance->BorderSize = 0;
this->btnDos->Location = System::Drawing::Point(469, 306);
this->btnDos->Name = L"btnDos";
this->btnDos->Size = System::Drawing::Size(293, 222);
this->btnDos->TabIndex = 1;
this->btnDos->UseVisualStyleBackColor = true;
this->btnDos->MouseDown += gcnew System::Windows::Forms::MouseEventHandler(this, &Act2DosBI::btnDos_MouseDown);
this->btnDos->MouseMove += gcnew System::Windows::Forms::MouseEventHandler(this, &Act2DosBI::btnDos_MouseMove);
this->btnDos->MouseUp += gcnew System::Windows::Forms::MouseEventHandler(this, &Act2DosBI::btnDos_MouseUp);
//
// btnUno
//
this->btnUno->BackgroundImage = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"btnUno.BackgroundImage")));
this->btnUno->BackgroundImageLayout = System::Windows::Forms::ImageLayout::Stretch;
this->btnUno->FlatAppearance->BorderSize = 0;
this->btnUno->Location = System::Drawing::Point(152, 139);
this->btnUno->Name = L"btnUno";
this->btnUno->Size = System::Drawing::Size(293, 222);
this->btnUno->TabIndex = 0;
this->btnUno->UseVisualStyleBackColor = true;
this->btnUno->MouseDown += gcnew System::Windows::Forms::MouseEventHandler(this, &Act2DosBI::btnUno_MouseDown);
this->btnUno->MouseMove += gcnew System::Windows::Forms::MouseEventHandler(this, &Act2DosBI::btnUno_MouseMove);
this->btnUno->MouseUp += gcnew System::Windows::Forms::MouseEventHandler(this, &Act2DosBI::btnUno_MouseUp);
//
// panelTres3
//
this->panelTres3->BackColor = System::Drawing::Color::Teal;
this->panelTres3->BorderStyle = System::Windows::Forms::BorderStyle::Fixed3D;
this->panelTres3->Location = System::Drawing::Point(1454, 727);
this->panelTres3->Name = L"panelTres3";
this->panelTres3->Size = System::Drawing::Size(293, 222);
this->panelTres3->TabIndex = 11;
//
// panelDos3
//
this->panelDos3->BackColor = System::Drawing::Color::Teal;
this->panelDos3->BorderStyle = System::Windows::Forms::BorderStyle::Fixed3D;
this->panelDos3->Location = System::Drawing::Point(1454, 489);
this->panelDos3->Name = L"panelDos3";
this->panelDos3->Size = System::Drawing::Size(293, 222);
this->panelDos3->TabIndex = 11;
//
// panelTres2
//
this->panelTres2->BackColor = System::Drawing::Color::OliveDrab;
this->panelTres2->BorderStyle = System::Windows::Forms::BorderStyle::Fixed3D;
this->panelTres2->Location = System::Drawing::Point(1148, 727);
this->panelTres2->Name = L"panelTres2";
this->panelTres2->Size = System::Drawing::Size(293, 222);
this->panelTres2->TabIndex = 10;
//
// panelUno3
//
this->panelUno3->BackColor = System::Drawing::Color::Teal;
this->panelUno3->BorderStyle = System::Windows::Forms::BorderStyle::Fixed3D;
this->panelUno3->Location = System::Drawing::Point(1454, 250);
this->panelUno3->Name = L"panelUno3";
this->panelUno3->Size = System::Drawing::Size(293, 222);
this->panelUno3->TabIndex = 8;
//
// panelTres1
//
this->panelTres1->BackColor = System::Drawing::Color::DarkOrange;
this->panelTres1->BorderStyle = System::Windows::Forms::BorderStyle::Fixed3D;
this->panelTres1->Location = System::Drawing::Point(842, 727);
this->panelTres1->Name = L"panelTres1";
this->panelTres1->Size = System::Drawing::Size(293, 222);
this->panelTres1->TabIndex = 9;
//
// panelDos2
//
this->panelDos2->BackColor = System::Drawing::Color::OliveDrab;
this->panelDos2->BorderStyle = System::Windows::Forms::BorderStyle::Fixed3D;
this->panelDos2->Location = System::Drawing::Point(1148, 489);
this->panelDos2->Name = L"panelDos2";
this->panelDos2->Size = System::Drawing::Size(293, 222);
this->panelDos2->TabIndex = 10;
//
// panelDos1
//
this->panelDos1->BackColor = System::Drawing::Color::DarkOrange;
this->panelDos1->BorderStyle = System::Windows::Forms::BorderStyle::Fixed3D;
this->panelDos1->Location = System::Drawing::Point(842, 489);
this->panelDos1->Name = L"panelDos1";
this->panelDos1->Size = System::Drawing::Size(293, 222);
this->panelDos1->TabIndex = 9;
//
// panelUno2
//
this->panelUno2->BackColor = System::Drawing::Color::OliveDrab;
this->panelUno2->BorderStyle = System::Windows::Forms::BorderStyle::Fixed3D;
this->panelUno2->Location = System::Drawing::Point(1148, 250);
this->panelUno2->Name = L"panelUno2";
this->panelUno2->Size = System::Drawing::Size(293, 222);
this->panelUno2->TabIndex = 8;
//
// panelUno1
//
this->panelUno1->BackColor = System::Drawing::Color::DarkOrange;
this->panelUno1->BorderStyle = System::Windows::Forms::BorderStyle::Fixed3D;
this->panelUno1->Location = System::Drawing::Point(842, 250);
this->panelUno1->Name = L"panelUno1";
this->panelUno1->Size = System::Drawing::Size(293, 222);
this->panelUno1->TabIndex = 7;
//
// label4
//
this->label4->AutoSize = true;
this->label4->Font = (gcnew System::Drawing::Font(L"Consolas", 36, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->label4->ForeColor = System::Drawing::Color::Teal;
this->label4->Location = System::Drawing::Point(1546, 121);
this->label4->Name = L"label4";
this->label4->Size = System::Drawing::Size(112, 126);
this->label4->TabIndex = 6;
this->label4->Text = L"S";
//
// label3
//
this->label3->AutoSize = true;
this->label3->Font = (gcnew System::Drawing::Font(L"Consolas", 36, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->label3->ForeColor = System::Drawing::Color::OliveDrab;
this->label3->Location = System::Drawing::Point(1247, 121);
this->label3->Name = L"label3";
this->label3->Size = System::Drawing::Size(112, 126);
this->label3->TabIndex = 5;
this->label3->Text = L"P";
//
// label2
//
this->label2->AutoSize = true;
this->label2->Font = (gcnew System::Drawing::Font(L"Consolas", 36, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->label2->ForeColor = System::Drawing::Color::DarkOrange;
this->label2->Location = System::Drawing::Point(943, 121);
this->label2->Name = L"label2";
this->label2->Size = System::Drawing::Size(112, 126);
this->label2->TabIndex = 4;
this->label2->Text = L"M";
//
// btnAyuda
//
this->btnAyuda->BackColor = System::Drawing::Color::Transparent;
this->btnAyuda->BackgroundImage = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"btnAyuda.BackgroundImage")));
this->btnAyuda->BackgroundImageLayout = System::Windows::Forms::ImageLayout::Stretch;
this->btnAyuda->Location = System::Drawing::Point(14, 13);
this->btnAyuda->Name = L"btnAyuda";
this->btnAyuda->Size = System::Drawing::Size(300, 270);
this->btnAyuda->TabIndex = 8;
this->btnAyuda->TabStop = false;
this->btnAyuda->Click += gcnew System::EventHandler(this, &Act2DosBI::btnAyuda_Click);
this->btnAyuda->MouseLeave += gcnew System::EventHandler(this, &Act2DosBI::btnAyuda_MouseLeave);
this->btnAyuda->MouseHover += gcnew System::EventHandler(this, &Act2DosBI::btnAyuda_MouseHover);
//
// panel9
//
this->panel9->BackgroundImage = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"panel9.BackgroundImage")));
this->panel9->Controls->Add(this->pictureBox7);
this->panel9->Controls->Add(this->label6);
this->panel9->Controls->Add(this->picMinimizar);
this->panel9->Controls->Add(this->picCerrar);
this->panel9->Dock = System::Windows::Forms::DockStyle::Top;
this->panel9->Location = System::Drawing::Point(0, 0);
this->panel9->Name = L"panel9";
this->panel9->Size = System::Drawing::Size(2450, 70);
this->panel9->TabIndex = 3;
//
// pictureBox7
//
this->pictureBox7->BackColor = System::Drawing::Color::Transparent;
this->pictureBox7->BackgroundImage = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"pictureBox7.BackgroundImage")));
this->pictureBox7->BackgroundImageLayout = System::Windows::Forms::ImageLayout::Stretch;
this->pictureBox7->Location = System::Drawing::Point(12, 4);
this->pictureBox7->Name = L"pictureBox7";
this->pictureBox7->Size = System::Drawing::Size(72, 63);
this->pictureBox7->TabIndex = 33;
this->pictureBox7->TabStop = false;
//
// label6
//
this->label6->AutoSize = true;
this->label6->BackColor = System::Drawing::Color::Transparent;
this->label6->Font = (gcnew System::Drawing::Font(L"Lucida Sans", 16, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->label6->ForeColor = System::Drawing::Color::White;
this->label6->Location = System::Drawing::Point(81, 7);
this->label6->Name = L"label6";
this->label6->Size = System::Drawing::Size(212, 55);
this->label6->TabIndex = 32;
this->label6->Text = L"TUTINT";
//
// picMinimizar
//
this->picMinimizar->Anchor = static_cast<System::Windows::Forms::AnchorStyles>((System::Windows::Forms::AnchorStyles::Top | System::Windows::Forms::AnchorStyles::Right));
this->picMinimizar->BackColor = System::Drawing::Color::Transparent;
this->picMinimizar->BackgroundImage = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"picMinimizar.BackgroundImage")));
this->picMinimizar->BackgroundImageLayout = System::Windows::Forms::ImageLayout::Stretch;
this->picMinimizar->Location = System::Drawing::Point(2300, 5);
this->picMinimizar->Name = L"picMinimizar";
this->picMinimizar->Size = System::Drawing::Size(64, 59);
this->picMinimizar->TabIndex = 31;
this->picMinimizar->TabStop = false;
this->picMinimizar->Click += gcnew System::EventHandler(this, &Act2DosBI::picMinimizar_Click);
//
// picCerrar
//
this->picCerrar->Anchor = static_cast<System::Windows::Forms::AnchorStyles>((System::Windows::Forms::AnchorStyles::Top | System::Windows::Forms::AnchorStyles::Right));
this->picCerrar->BackColor = System::Drawing::Color::Transparent;
this->picCerrar->BackgroundImage = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"picCerrar.BackgroundImage")));
this->picCerrar->BackgroundImageLayout = System::Windows::Forms::ImageLayout::Stretch;
this->picCerrar->Location = System::Drawing::Point(2375, 5);
this->picCerrar->Name = L"picCerrar";
this->picCerrar->Size = System::Drawing::Size(64, 59);
this->picCerrar->TabIndex = 30;
this->picCerrar->TabStop = false;
this->picCerrar->Click += gcnew System::EventHandler(this, &Act2DosBI::picCerrar_Click);
//
// timer1
//
this->timer1->Interval = 1;
this->timer1->Tick += gcnew System::EventHandler(this, &Act2DosBI::timer1_Tick);
//
// panel1
//
this->panel1->BackColor = System::Drawing::Color::Transparent;
this->panel1->BackgroundImage = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"panel1.BackgroundImage")));
this->panel1->BackgroundImageLayout = System::Windows::Forms::ImageLayout::Stretch;
this->panel1->Controls->Add(this->instruccion1);
this->panel1->Controls->Add(this->instruccion2);
this->panel1->Location = System::Drawing::Point(316, 3);
this->panel1->Name = L"panel1";
this->panel1->Size = System::Drawing::Size(2115, 97);
this->panel1->TabIndex = 17;
//
// instruccion1
//
this->instruccion1->AutoSize = true;
this->instruccion1->Font = (gcnew System::Drawing::Font(L"Comic Sans MS", 16.125F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->instruccion1->ForeColor = System::Drawing::SystemColors::ButtonHighlight;
this->instruccion1->Location = System::Drawing::Point(109, 12);
this->instruccion1->Name = L"instruccion1";
this->instruccion1->Size = System::Drawing::Size(1902, 68);
this->instruccion1->TabIndex = 14;
this->instruccion1->Text = L"¿Con qué letra inicia la imágen\? Muévela al cuadro de la letra que corresponde";
//
// instruccion2
//
this->instruccion2->AutoSize = true;
this->instruccion2->Font = (gcnew System::Drawing::Font(L"Comic Sans MS", 16.125F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->instruccion2->ForeColor = System::Drawing::SystemColors::ButtonHighlight;
this->instruccion2->Location = System::Drawing::Point(107, 9);
this->instruccion2->Name = L"instruccion2";
this->instruccion2->Size = System::Drawing::Size(1555, 68);
this->instruccion2->TabIndex = 13;
this->instruccion2->Text = L"Arrastra la imagen a la letra con que inicia, según corresponda.";
this->instruccion2->Visible = false;
//
// Act2DosBI
//
this->AutoScaleDimensions = System::Drawing::SizeF(14, 29);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->ClientSize = System::Drawing::Size(2450, 1334);
this->Controls->Add(this->panelPrincipal);
this->Controls->Add(this->panel9);
this->FormBorderStyle = System::Windows::Forms::FormBorderStyle::None;
this->Icon = (cli::safe_cast<System::Drawing::Icon^>(resources->GetObject(L"$this.Icon")));
this->Name = L"Act2DosBI";
this->Opacity = 0;
this->StartPosition = System::Windows::Forms::FormStartPosition::CenterScreen;
this->Text = L"Act2DosBI";
this->Activated += gcnew System::EventHandler(this, &Act2DosBI::Act2DosBI_Activated);
this->Deactivate += gcnew System::EventHandler(this, &Act2DosBI::Act2DosBI_Deactivate);
this->Load += gcnew System::EventHandler(this, &Act2DosBI::Act2DosBI_Load);
this->panelPrincipal->ResumeLayout(false);
this->panel13->ResumeLayout(false);
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->btnListo))->EndInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->btnVolver))->EndInit();
this->panel2->ResumeLayout(false);
this->panel2->PerformLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->btnAyuda))->EndInit();
this->panel9->ResumeLayout(false);
this->panel9->PerformLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->pictureBox7))->EndInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->picMinimizar))->EndInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->picCerrar))->EndInit();
this->panel1->ResumeLayout(false);
this->panel1->PerformLayout();
this->ResumeLayout(false);
}
#pragma endregion
private: void inicializarTam();
private: void inicializarPosiciones();
private: void comprobarRespuestas();
private: void sonidoInicial();
private: System::Void btnAyuda_Click(System::Object^ sender, System::EventArgs^ e);
private: System::Void btnVolver_Click(System::Object^ sender, System::EventArgs^ e);
private: System::Void btnListo_Click(System::Object^ sender, System::EventArgs^ e);
private: System::Void btnVolver_MouseHover(System::Object^ sender, System::EventArgs^ e);
private: System::Void btnVolver_MouseLeave(System::Object^ sender, System::EventArgs^ e);
private: System::Void btnListo_MouseHover(System::Object^ sender, System::EventArgs^ e);
private: System::Void btnListo_MouseLeave(System::Object^ sender, System::EventArgs^ e);
private: System::Void btnAyuda_MouseHover(System::Object^ sender, System::EventArgs^ e);
private: System::Void btnAyuda_MouseLeave(System::Object^ sender, System::EventArgs^ e);
private: System::Void picCerrar_Click(System::Object^ sender, System::EventArgs^ e);
private: System::Void picMinimizar_Click(System::Object^ sender, System::EventArgs^ e);
private: System::Void Act2DosBI_Load(System::Object^ sender, System::EventArgs^ e);
private: System::Void timer1_Tick(System::Object^ sender, System::EventArgs^ e);
private: System::Void Act2DosBI_Activated(System::Object^ sender, System::EventArgs^ e);
private: System::Void Act2DosBI_Deactivate(System::Object^ sender, System::EventArgs^ e);
private: System::Void tiempo_respuesta(int numItem, TiempoGUI^ tr_item, bool listoBtn);
private: vector<TiempoMI*> obtenerTiempoItems();
private: System::Void moverBoton(System::Windows::Forms::Button^ boton);
private: System::Void btnUno_MouseDown(System::Object^ sender, System::Windows::Forms::MouseEventArgs^ e);
private: System::Void btnDos_MouseDown(System::Object^ sender, System::Windows::Forms::MouseEventArgs^ e);
private: System::Void btnTres_MouseDown(System::Object^ sender, System::Windows::Forms::MouseEventArgs^ e);
private: System::Void btnCuatro_MouseDown(System::Object^ sender, System::Windows::Forms::MouseEventArgs^ e);
private: System::Void btnUno_MouseUp(System::Object^ sender, System::Windows::Forms::MouseEventArgs^ e);
private: System::Void btnDos_MouseUp(System::Object^ sender, System::Windows::Forms::MouseEventArgs^ e);
private: System::Void btnTres_MouseUp(System::Object^ sender, System::Windows::Forms::MouseEventArgs^ e);
private: System::Void btnCuatro_MouseUp(System::Object^ sender, System::Windows::Forms::MouseEventArgs^ e);
private: System::Void btnUno_MouseMove(System::Object^ sender, System::Windows::Forms::MouseEventArgs^ e);
private: System::Void btnDos_MouseMove(System::Object^ sender, System::Windows::Forms::MouseEventArgs^ e);
private: System::Void btnTres_MouseMove(System::Object^ sender, System::Windows::Forms::MouseEventArgs^ e);
private: System::Void btnCuatro_MouseMove(System::Object^ sender, System::Windows::Forms::MouseEventArgs^ e);
};
}
| [
"felipe.segovia.rod@outlook.com"
] | felipe.segovia.rod@outlook.com |
a70b3a501a3203ad2271f55db077834dd084f1a0 | 333d2817fe023dc6b25f1669023fcd40dea54bb7 | /samples/nanovg/src/nanovg/demo.cpp | 2f93e2826e21b5506eccc586f0dff92028699913 | [] | no_license | jaune/hope | 48f9d8a67f0956e60bb02e0827eb867918ca2076 | 97a3ecddfdb3119cfbfd4fe693ba0b9c9ba64953 | refs/heads/master | 2021-01-21T06:59:09.610369 | 2015-05-22T11:16:09 | 2015-05-22T11:16:09 | 35,205,122 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,766 | cpp | #include "demo.h"
#include "asset/asset.h"
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <GLES2/gl2.h>
#include "nanovg.h"
#if defined(_MSC_VER) && _MSC_VER >= 1400
#define _CRT_SECURE_NO_WARNINGS // suppress warnings about fopen()
#pragma warning(push)
#pragma warning(disable:4996) // suppress even more warnings about fopen()
#endif
#ifdef _MSC_VER
#define snprintf _snprintf
#elif !defined(__MINGW32__)
#include <iconv.h>
#endif
#define ICON_SEARCH 0x1F50D
#define ICON_CIRCLED_CROSS 0x2716
#define ICON_CHEVRON_RIGHT 0xE75E
#define ICON_CHECK 0x2713
#define ICON_LOGIN 0xE740
#define ICON_TRASH 0xE729
//static float minf(float a, float b) { return a < b ? a : b; }
static float maxf(float a, float b) { return a > b ? a : b; }
//static float absf(float a) { return a >= 0.0f ? a : -a; }
static float clampf(float a, float mn, float mx) { return a < mn ? mn : (a > mx ? mx : a); }
// Returns 1 if col.rgba is 0.0f,0.0f,0.0f,0.0f, 0 otherwise
int isBlack(NVGcolor col)
{
if( col.r == 0.0f && col.g == 0.0f && col.b == 0.0f && col.a == 0.0f )
{
return 1;
}
return 0;
}
static char* cpToUTF8(int cp, char* str)
{
int n = 0;
if (cp < 0x80) n = 1;
else if (cp < 0x800) n = 2;
else if (cp < 0x10000) n = 3;
else if (cp < 0x200000) n = 4;
else if (cp < 0x4000000) n = 5;
else if (cp <= 0x7fffffff) n = 6;
str[n] = '\0';
switch (n) {
case 6: str[5] = 0x80 | (cp & 0x3f); cp = cp >> 6; cp |= 0x4000000;
case 5: str[4] = 0x80 | (cp & 0x3f); cp = cp >> 6; cp |= 0x200000;
case 4: str[3] = 0x80 | (cp & 0x3f); cp = cp >> 6; cp |= 0x10000;
case 3: str[2] = 0x80 | (cp & 0x3f); cp = cp >> 6; cp |= 0x800;
case 2: str[1] = 0x80 | (cp & 0x3f); cp = cp >> 6; cp |= 0xc0;
case 1: str[0] = cp;
}
return str;
}
void drawWindow(NVGcontext* vg, const char* title, float x, float y, float w, float h)
{
float cornerRadius = 3.0f;
NVGpaint shadowPaint;
NVGpaint headerPaint;
nvgSave(vg);
// nvgClearState(vg);
// Window
nvgBeginPath(vg);
nvgRoundedRect(vg, x,y, w,h, cornerRadius);
nvgFillColor(vg, nvgRGBA(28,30,34,192));
// nvgFillColor(vg, nvgRGBA(0,0,0,128));
nvgFill(vg);
// Drop shadow
shadowPaint = nvgBoxGradient(vg, x,y+2, w,h, cornerRadius*2, 10, nvgRGBA(0,0,0,128), nvgRGBA(0,0,0,0));
nvgBeginPath(vg);
nvgRect(vg, x-10,y-10, w+20,h+30);
nvgRoundedRect(vg, x,y, w,h, cornerRadius);
nvgPathWinding(vg, NVG_HOLE);
nvgFillPaint(vg, shadowPaint);
nvgFill(vg);
// Header
headerPaint = nvgLinearGradient(vg, x,y,x,y+15, nvgRGBA(255,255,255,8), nvgRGBA(0,0,0,16));
nvgBeginPath(vg);
nvgRoundedRect(vg, x+1,y+1, w-2,30, cornerRadius-1);
nvgFillPaint(vg, headerPaint);
nvgFill(vg);
nvgBeginPath(vg);
nvgMoveTo(vg, x+0.5f, y+0.5f+30);
nvgLineTo(vg, x+0.5f+w-1, y+0.5f+30);
nvgStrokeColor(vg, nvgRGBA(0,0,0,32));
nvgStroke(vg);
nvgFontSize(vg, 18.0f);
nvgFontFace(vg, "sans-bold");
nvgTextAlign(vg,NVG_ALIGN_CENTER|NVG_ALIGN_MIDDLE);
nvgFontBlur(vg,2);
nvgFillColor(vg, nvgRGBA(0,0,0,128));
nvgText(vg, x+w/2,y+16+1, title, NULL);
nvgFontBlur(vg,0);
nvgFillColor(vg, nvgRGBA(220,220,220,160));
nvgText(vg, x+w/2,y+16, title, NULL);
nvgRestore(vg);
}
void drawSearchBox(NVGcontext* vg, const char* text, float x, float y, float w, float h)
{
NVGpaint bg;
char icon[8];
float cornerRadius = h/2-1;
// Edit
bg = nvgBoxGradient(vg, x,y+1.5f, w,h, h/2,5, nvgRGBA(0,0,0,16), nvgRGBA(0,0,0,92));
nvgBeginPath(vg);
nvgRoundedRect(vg, x,y, w,h, cornerRadius);
nvgFillPaint(vg, bg);
nvgFill(vg);
/* nvgBeginPath(vg);
nvgRoundedRect(vg, x+0.5f,y+0.5f, w-1,h-1, cornerRadius-0.5f);
nvgStrokeColor(vg, nvgRGBA(0,0,0,48));
nvgStroke(vg);*/
nvgFontSize(vg, h*1.3f);
nvgFontFace(vg, "icons");
nvgFillColor(vg, nvgRGBA(255,255,255,64));
nvgTextAlign(vg,NVG_ALIGN_CENTER|NVG_ALIGN_MIDDLE);
nvgText(vg, x+h*0.55f, y+h*0.55f, cpToUTF8(ICON_SEARCH,icon), NULL);
nvgFontSize(vg, 20.0f);
nvgFontFace(vg, "sans");
nvgFillColor(vg, nvgRGBA(255,255,255,32));
nvgTextAlign(vg,NVG_ALIGN_LEFT|NVG_ALIGN_MIDDLE);
nvgText(vg, x+h*1.05f,y+h*0.5f,text, NULL);
nvgFontSize(vg, h*1.3f);
nvgFontFace(vg, "icons");
nvgFillColor(vg, nvgRGBA(255,255,255,32));
nvgTextAlign(vg,NVG_ALIGN_CENTER|NVG_ALIGN_MIDDLE);
nvgText(vg, x+w-h*0.55f, y+h*0.55f, cpToUTF8(ICON_CIRCLED_CROSS,icon), NULL);
}
void drawDropDown(NVGcontext* vg, const char* text, float x, float y, float w, float h)
{
NVGpaint bg;
char icon[8];
float cornerRadius = 4.0f;
bg = nvgLinearGradient(vg, x,y,x,y+h, nvgRGBA(255,255,255,16), nvgRGBA(0,0,0,16));
nvgBeginPath(vg);
nvgRoundedRect(vg, x+1,y+1, w-2,h-2, cornerRadius-1);
nvgFillPaint(vg, bg);
nvgFill(vg);
nvgBeginPath(vg);
nvgRoundedRect(vg, x+0.5f,y+0.5f, w-1,h-1, cornerRadius-0.5f);
nvgStrokeColor(vg, nvgRGBA(0,0,0,48));
nvgStroke(vg);
nvgFontSize(vg, 20.0f);
nvgFontFace(vg, "sans");
nvgFillColor(vg, nvgRGBA(255,255,255,160));
nvgTextAlign(vg,NVG_ALIGN_LEFT|NVG_ALIGN_MIDDLE);
nvgText(vg, x+h*0.3f,y+h*0.5f,text, NULL);
nvgFontSize(vg, h*1.3f);
nvgFontFace(vg, "icons");
nvgFillColor(vg, nvgRGBA(255,255,255,64));
nvgTextAlign(vg,NVG_ALIGN_CENTER|NVG_ALIGN_MIDDLE);
nvgText(vg, x+w-h*0.5f, y+h*0.5f, cpToUTF8(ICON_CHEVRON_RIGHT,icon), NULL);
}
void drawLabel(NVGcontext* vg, const char* text, float x, float y, float w, float h)
{
NVG_NOTUSED(w);
nvgFontSize(vg, 18.0f);
nvgFontFace(vg, "sans");
nvgFillColor(vg, nvgRGBA(255,255,255,128));
nvgTextAlign(vg,NVG_ALIGN_LEFT|NVG_ALIGN_MIDDLE);
nvgText(vg, x,y+h*0.5f,text, NULL);
}
void drawEditBoxBase(NVGcontext* vg, float x, float y, float w, float h)
{
NVGpaint bg;
// Edit
bg = nvgBoxGradient(vg, x+1,y+1+1.5f, w-2,h-2, 3,4, nvgRGBA(255,255,255,32), nvgRGBA(32,32,32,32));
nvgBeginPath(vg);
nvgRoundedRect(vg, x+1,y+1, w-2,h-2, 4-1);
nvgFillPaint(vg, bg);
nvgFill(vg);
nvgBeginPath(vg);
nvgRoundedRect(vg, x+0.5f,y+0.5f, w-1,h-1, 4-0.5f);
nvgStrokeColor(vg, nvgRGBA(0,0,0,48));
nvgStroke(vg);
}
void drawEditBox(NVGcontext* vg, const char* text, float x, float y, float w, float h)
{
drawEditBoxBase(vg, x,y, w,h);
nvgFontSize(vg, 20.0f);
nvgFontFace(vg, "sans");
nvgFillColor(vg, nvgRGBA(255,255,255,64));
nvgTextAlign(vg,NVG_ALIGN_LEFT|NVG_ALIGN_MIDDLE);
nvgText(vg, x+h*0.3f,y+h*0.5f,text, NULL);
}
void drawEditBoxNum(NVGcontext* vg,
const char* text, const char* units, float x, float y, float w, float h)
{
float uw;
drawEditBoxBase(vg, x,y, w,h);
uw = nvgTextBounds(vg, 0,0, units, NULL, NULL);
nvgFontSize(vg, 18.0f);
nvgFontFace(vg, "sans");
nvgFillColor(vg, nvgRGBA(255,255,255,64));
nvgTextAlign(vg,NVG_ALIGN_RIGHT|NVG_ALIGN_MIDDLE);
nvgText(vg, x+w-h*0.3f,y+h*0.5f,units, NULL);
nvgFontSize(vg, 20.0f);
nvgFontFace(vg, "sans");
nvgFillColor(vg, nvgRGBA(255,255,255,128));
nvgTextAlign(vg,NVG_ALIGN_RIGHT|NVG_ALIGN_MIDDLE);
nvgText(vg, x+w-uw-h*0.5f,y+h*0.5f,text, NULL);
}
void drawCheckBox(NVGcontext* vg, const char* text, float x, float y, float w, float h)
{
NVGpaint bg;
char icon[8];
NVG_NOTUSED(w);
nvgFontSize(vg, 18.0f);
nvgFontFace(vg, "sans");
nvgFillColor(vg, nvgRGBA(255,255,255,160));
nvgTextAlign(vg,NVG_ALIGN_LEFT|NVG_ALIGN_MIDDLE);
nvgText(vg, x+28,y+h*0.5f,text, NULL);
bg = nvgBoxGradient(vg, x+1,y+(int)(h*0.5f)-9+1, 18,18, 3,3, nvgRGBA(0,0,0,32), nvgRGBA(0,0,0,92));
nvgBeginPath(vg);
nvgRoundedRect(vg, x+1,y+(int)(h*0.5f)-9, 18,18, 3);
nvgFillPaint(vg, bg);
nvgFill(vg);
nvgFontSize(vg, 40);
nvgFontFace(vg, "icons");
nvgFillColor(vg, nvgRGBA(255,255,255,128));
nvgTextAlign(vg,NVG_ALIGN_CENTER|NVG_ALIGN_MIDDLE);
nvgText(vg, x+9+2, y+h*0.5f, cpToUTF8(ICON_CHECK,icon), NULL);
}
void drawButton(NVGcontext* vg, int preicon, const char* text, float x, float y, float w, float h, NVGcolor col)
{
NVGpaint bg;
char icon[8];
float cornerRadius = 4.0f;
float tw = 0, iw = 0;
bg = nvgLinearGradient(vg, x,y,x,y+h, nvgRGBA(255,255,255,isBlack(col)?16:32), nvgRGBA(0,0,0,isBlack(col)?16:32));
nvgBeginPath(vg);
nvgRoundedRect(vg, x+1,y+1, w-2,h-2, cornerRadius-1);
if (!isBlack(col)) {
nvgFillColor(vg, col);
nvgFill(vg);
}
nvgFillPaint(vg, bg);
nvgFill(vg);
nvgBeginPath(vg);
nvgRoundedRect(vg, x+0.5f,y+0.5f, w-1,h-1, cornerRadius-0.5f);
nvgStrokeColor(vg, nvgRGBA(0,0,0,48));
nvgStroke(vg);
nvgFontSize(vg, 20.0f);
nvgFontFace(vg, "sans-bold");
tw = nvgTextBounds(vg, 0,0, text, NULL, NULL);
if (preicon != 0) {
nvgFontSize(vg, h*1.3f);
nvgFontFace(vg, "icons");
iw = nvgTextBounds(vg, 0,0, cpToUTF8(preicon,icon), NULL, NULL);
iw += h*0.15f;
}
if (preicon != 0) {
nvgFontSize(vg, h*1.3f);
nvgFontFace(vg, "icons");
nvgFillColor(vg, nvgRGBA(255,255,255,96));
nvgTextAlign(vg,NVG_ALIGN_LEFT|NVG_ALIGN_MIDDLE);
nvgText(vg, x+w*0.5f-tw*0.5f-iw*0.75f, y+h*0.5f, cpToUTF8(preicon,icon), NULL);
}
nvgFontSize(vg, 20.0f);
nvgFontFace(vg, "sans-bold");
nvgTextAlign(vg,NVG_ALIGN_LEFT|NVG_ALIGN_MIDDLE);
nvgFillColor(vg, nvgRGBA(0,0,0,160));
nvgText(vg, x+w*0.5f-tw*0.5f+iw*0.25f,y+h*0.5f-1,text, NULL);
nvgFillColor(vg, nvgRGBA(255,255,255,160));
nvgText(vg, x+w*0.5f-tw*0.5f+iw*0.25f,y+h*0.5f,text, NULL);
}
void drawSlider(NVGcontext* vg, float pos, float x, float y, float w, float h)
{
NVGpaint bg, knob;
float cy = y+(int)(h*0.5f);
float kr = (int)(h*0.25f);
nvgSave(vg);
// nvgClearState(vg);
// Slot
bg = nvgBoxGradient(vg, x,cy-2+1, w,4, 2,2, nvgRGBA(0,0,0,32), nvgRGBA(0,0,0,128));
nvgBeginPath(vg);
nvgRoundedRect(vg, x,cy-2, w,4, 2);
nvgFillPaint(vg, bg);
nvgFill(vg);
// Knob Shadow
bg = nvgRadialGradient(vg, x+(int)(pos*w),cy+1, kr-3,kr+3, nvgRGBA(0,0,0,64), nvgRGBA(0,0,0,0));
nvgBeginPath(vg);
nvgRect(vg, x+(int)(pos*w)-kr-5,cy-kr-5,kr*2+5+5,kr*2+5+5+3);
nvgCircle(vg, x+(int)(pos*w),cy, kr);
nvgPathWinding(vg, NVG_HOLE);
nvgFillPaint(vg, bg);
nvgFill(vg);
// Knob
knob = nvgLinearGradient(vg, x,cy-kr,x,cy+kr, nvgRGBA(255,255,255,16), nvgRGBA(0,0,0,16));
nvgBeginPath(vg);
nvgCircle(vg, x+(int)(pos*w),cy, kr-1);
nvgFillColor(vg, nvgRGBA(40,43,48,255));
nvgFill(vg);
nvgFillPaint(vg, knob);
nvgFill(vg);
nvgBeginPath(vg);
nvgCircle(vg, x+(int)(pos*w),cy, kr-0.5f);
nvgStrokeColor(vg, nvgRGBA(0,0,0,92));
nvgStroke(vg);
nvgRestore(vg);
}
void drawEyes(NVGcontext* vg, float x, float y, float w, float h, float mx, float my, float t)
{
NVGpaint gloss, bg;
float ex = w *0.23f;
float ey = h * 0.5f;
float lx = x + ex;
float ly = y + ey;
float rx = x + w - ex;
float ry = y + ey;
float dx,dy,d;
float br = (ex < ey ? ex : ey) * 0.5f;
float blink = 1 - pow(sinf(t*0.5f),200)*0.8f;
bg = nvgLinearGradient(vg, x,y+h*0.5f,x+w*0.1f,y+h, nvgRGBA(0,0,0,32), nvgRGBA(0,0,0,16));
nvgBeginPath(vg);
nvgEllipse(vg, lx+3.0f,ly+16.0f, ex,ey);
nvgEllipse(vg, rx+3.0f,ry+16.0f, ex,ey);
nvgFillPaint(vg, bg);
nvgFill(vg);
bg = nvgLinearGradient(vg, x,y+h*0.25f,x+w*0.1f,y+h, nvgRGBA(220,220,220,255), nvgRGBA(128,128,128,255));
nvgBeginPath(vg);
nvgEllipse(vg, lx,ly, ex,ey);
nvgEllipse(vg, rx,ry, ex,ey);
nvgFillPaint(vg, bg);
nvgFill(vg);
dx = (mx - rx) / (ex * 10);
dy = (my - ry) / (ey * 10);
d = sqrtf(dx*dx+dy*dy);
if (d > 1.0f) {
dx /= d; dy /= d;
}
dx *= ex*0.4f;
dy *= ey*0.5f;
nvgBeginPath(vg);
nvgEllipse(vg, lx+dx,ly+dy+ey*0.25f*(1-blink), br,br*blink);
nvgFillColor(vg, nvgRGBA(32,32,32,255));
nvgFill(vg);
dx = (mx - rx) / (ex * 10);
dy = (my - ry) / (ey * 10);
d = sqrtf(dx*dx+dy*dy);
if (d > 1.0f) {
dx /= d; dy /= d;
}
dx *= ex*0.4f;
dy *= ey*0.5f;
nvgBeginPath(vg);
nvgEllipse(vg, rx+dx,ry+dy+ey*0.25f*(1-blink), br,br*blink);
nvgFillColor(vg, nvgRGBA(32,32,32,255));
nvgFill(vg);
gloss = nvgRadialGradient(vg, lx-ex*0.25f,ly-ey*0.5f, ex*0.1f,ex*0.75f, nvgRGBA(255,255,255,128), nvgRGBA(255,255,255,0));
nvgBeginPath(vg);
nvgEllipse(vg, lx,ly, ex,ey);
nvgFillPaint(vg, gloss);
nvgFill(vg);
gloss = nvgRadialGradient(vg, rx-ex*0.25f,ry-ey*0.5f, ex*0.1f,ex*0.75f, nvgRGBA(255,255,255,128), nvgRGBA(255,255,255,0));
nvgBeginPath(vg);
nvgEllipse(vg, rx,ry, ex,ey);
nvgFillPaint(vg, gloss);
nvgFill(vg);
}
void drawGraph(NVGcontext* vg, float x, float y, float w, float h, float t)
{
NVGpaint bg;
float samples[6];
float sx[6], sy[6];
float dx = w/5.0f;
int i;
samples[0] = (1+sinf(t*1.2345f+cosf(t*0.33457f)*0.44f))*0.5f;
samples[1] = (1+sinf(t*0.68363f+cosf(t*1.3f)*1.55f))*0.5f;
samples[2] = (1+sinf(t*1.1642f+cosf(t*0.33457)*1.24f))*0.5f;
samples[3] = (1+sinf(t*0.56345f+cosf(t*1.63f)*0.14f))*0.5f;
samples[4] = (1+sinf(t*1.6245f+cosf(t*0.254f)*0.3f))*0.5f;
samples[5] = (1+sinf(t*0.345f+cosf(t*0.03f)*0.6f))*0.5f;
for (i = 0; i < 6; i++) {
sx[i] = x+i*dx;
sy[i] = y+h*samples[i]*0.8f;
}
// Graph background
bg = nvgLinearGradient(vg, x,y,x,y+h, nvgRGBA(0,160,192,0), nvgRGBA(0,160,192,64));
nvgBeginPath(vg);
nvgMoveTo(vg, sx[0], sy[0]);
for (i = 1; i < 6; i++)
nvgBezierTo(vg, sx[i-1]+dx*0.5f,sy[i-1], sx[i]-dx*0.5f,sy[i], sx[i],sy[i]);
nvgLineTo(vg, x+w, y+h);
nvgLineTo(vg, x, y+h);
nvgFillPaint(vg, bg);
nvgFill(vg);
// Graph line
nvgBeginPath(vg);
nvgMoveTo(vg, sx[0], sy[0]+2);
for (i = 1; i < 6; i++)
nvgBezierTo(vg, sx[i-1]+dx*0.5f,sy[i-1]+2, sx[i]-dx*0.5f,sy[i]+2, sx[i],sy[i]+2);
nvgStrokeColor(vg, nvgRGBA(0,0,0,32));
nvgStrokeWidth(vg, 3.0f);
nvgStroke(vg);
nvgBeginPath(vg);
nvgMoveTo(vg, sx[0], sy[0]);
for (i = 1; i < 6; i++)
nvgBezierTo(vg, sx[i-1]+dx*0.5f,sy[i-1], sx[i]-dx*0.5f,sy[i], sx[i],sy[i]);
nvgStrokeColor(vg, nvgRGBA(0,160,192,255));
nvgStrokeWidth(vg, 3.0f);
nvgStroke(vg);
// Graph sample pos
for (i = 0; i < 6; i++) {
bg = nvgRadialGradient(vg, sx[i],sy[i]+2, 3.0f,8.0f, nvgRGBA(0,0,0,32), nvgRGBA(0,0,0,0));
nvgBeginPath(vg);
nvgRect(vg, sx[i]-10, sy[i]-10+2, 20,20);
nvgFillPaint(vg, bg);
nvgFill(vg);
}
nvgBeginPath(vg);
for (i = 0; i < 6; i++)
nvgCircle(vg, sx[i], sy[i], 4.0f);
nvgFillColor(vg, nvgRGBA(0,160,192,255));
nvgFill(vg);
nvgBeginPath(vg);
for (i = 0; i < 6; i++)
nvgCircle(vg, sx[i], sy[i], 2.0f);
nvgFillColor(vg, nvgRGBA(220,220,220,255));
nvgFill(vg);
nvgStrokeWidth(vg, 1.0f);
}
void drawSpinner(NVGcontext* vg, float cx, float cy, float r, float t)
{
float a0 = 0.0f + t*6;
float a1 = NVG_PI + t*6;
float r0 = r;
float r1 = r * 0.75f;
float ax,ay, bx,by;
NVGpaint paint;
nvgSave(vg);
nvgBeginPath(vg);
nvgArc(vg, cx,cy, r0, a0, a1, NVG_CW);
nvgArc(vg, cx,cy, r1, a1, a0, NVG_CCW);
nvgClosePath(vg);
ax = cx + cosf(a0) * (r0+r1)*0.5f;
ay = cy + sinf(a0) * (r0+r1)*0.5f;
bx = cx + cosf(a1) * (r0+r1)*0.5f;
by = cy + sinf(a1) * (r0+r1)*0.5f;
paint = nvgLinearGradient(vg, ax,ay, bx,by, nvgRGBA(0,0,0,0), nvgRGBA(0,0,0,128));
nvgFillPaint(vg, paint);
nvgFill(vg);
nvgRestore(vg);
}
void drawThumbnails(NVGcontext* vg, float x, float y, float w, float h, const int* images, int nimages, float t)
{
float cornerRadius = 3.0f;
NVGpaint shadowPaint, imgPaint, fadePaint;
float ix,iy,iw,ih;
float thumb = 60.0f;
float arry = 30.5f;
int imgw, imgh;
float stackh = (nimages/2) * (thumb+10) + 10;
int i;
float u = (1+cosf(t*0.5f))*0.5f;
float u2 = (1-cosf(t*0.2f))*0.5f;
float scrollh, dv;
nvgSave(vg);
// nvgClearState(vg);
// Drop shadow
shadowPaint = nvgBoxGradient(vg, x,y+4, w,h, cornerRadius*2, 20, nvgRGBA(0,0,0,128), nvgRGBA(0,0,0,0));
nvgBeginPath(vg);
nvgRect(vg, x-10,y-10, w+20,h+30);
nvgRoundedRect(vg, x,y, w,h, cornerRadius);
nvgPathWinding(vg, NVG_HOLE);
nvgFillPaint(vg, shadowPaint);
nvgFill(vg);
// Window
nvgBeginPath(vg);
nvgRoundedRect(vg, x,y, w,h, cornerRadius);
nvgMoveTo(vg, x-10,y+arry);
nvgLineTo(vg, x+1,y+arry-11);
nvgLineTo(vg, x+1,y+arry+11);
nvgFillColor(vg, nvgRGBA(200,200,200,255));
nvgFill(vg);
nvgSave(vg);
nvgScissor(vg, x,y,w,h);
nvgTranslate(vg, 0, -(stackh - h)*u);
dv = 1.0f / (float)(nimages-1);
for (i = 0; i < nimages; i++) {
float tx, ty, v, a;
tx = x+10;
ty = y+10;
tx += (i%2) * (thumb+10);
ty += (i/2) * (thumb+10);
nvgImageSize(vg, images[i], &imgw, &imgh);
if (imgw < imgh) {
iw = thumb;
ih = iw * (float)imgh/(float)imgw;
ix = 0;
iy = -(ih-thumb)*0.5f;
} else {
ih = thumb;
iw = ih * (float)imgw/(float)imgh;
ix = -(iw-thumb)*0.5f;
iy = 0;
}
v = i * dv;
a = clampf((u2-v) / dv, 0, 1);
if (a < 1.0f)
drawSpinner(vg, tx+thumb/2,ty+thumb/2, thumb*0.25f, t);
imgPaint = nvgImagePattern(vg, tx+ix, ty+iy, iw,ih, 0.0f/180.0f*NVG_PI, images[i], a);
nvgBeginPath(vg);
nvgRoundedRect(vg, tx,ty, thumb,thumb, 5);
nvgFillPaint(vg, imgPaint);
nvgFill(vg);
shadowPaint = nvgBoxGradient(vg, tx-1,ty, thumb+2,thumb+2, 5, 3, nvgRGBA(0,0,0,128), nvgRGBA(0,0,0,0));
nvgBeginPath(vg);
nvgRect(vg, tx-5,ty-5, thumb+10,thumb+10);
nvgRoundedRect(vg, tx,ty, thumb,thumb, 6);
nvgPathWinding(vg, NVG_HOLE);
nvgFillPaint(vg, shadowPaint);
nvgFill(vg);
nvgBeginPath(vg);
nvgRoundedRect(vg, tx+0.5f,ty+0.5f, thumb-1,thumb-1, 4-0.5f);
nvgStrokeWidth(vg,1.0f);
nvgStrokeColor(vg, nvgRGBA(255,255,255,192));
nvgStroke(vg);
}
nvgRestore(vg);
// Hide fades
fadePaint = nvgLinearGradient(vg, x,y,x,y+6, nvgRGBA(200,200,200,255), nvgRGBA(200,200,200,0));
nvgBeginPath(vg);
nvgRect(vg, x+4,y,w-8,6);
nvgFillPaint(vg, fadePaint);
nvgFill(vg);
fadePaint = nvgLinearGradient(vg, x,y+h,x,y+h-6, nvgRGBA(200,200,200,255), nvgRGBA(200,200,200,0));
nvgBeginPath(vg);
nvgRect(vg, x+4,y+h-6,w-8,6);
nvgFillPaint(vg, fadePaint);
nvgFill(vg);
// Scroll bar
shadowPaint = nvgBoxGradient(vg, x+w-12+1,y+4+1, 8,h-8, 3,4, nvgRGBA(0,0,0,32), nvgRGBA(0,0,0,92));
nvgBeginPath(vg);
nvgRoundedRect(vg, x+w-12,y+4, 8,h-8, 3);
nvgFillPaint(vg, shadowPaint);
// nvgFillColor(vg, nvgRGBA(255,0,0,128));
nvgFill(vg);
scrollh = (h/stackh) * (h-8);
shadowPaint = nvgBoxGradient(vg, x+w-12-1,y+4+(h-8-scrollh)*u-1, 8,scrollh, 3,4, nvgRGBA(220,220,220,255), nvgRGBA(128,128,128,255));
nvgBeginPath(vg);
nvgRoundedRect(vg, x+w-12+1,y+4+1 + (h-8-scrollh)*u, 8-2,scrollh-2, 2);
nvgFillPaint(vg, shadowPaint);
// nvgFillColor(vg, nvgRGBA(0,0,0,128));
nvgFill(vg);
nvgRestore(vg);
}
void drawColorwheel(NVGcontext* vg, float x, float y, float w, float h, float t)
{
int i;
float r0, r1, ax,ay, bx,by, cx,cy, aeps, r;
float hue = sinf(t * 0.12f);
NVGpaint paint;
nvgSave(vg);
/* nvgBeginPath(vg);
nvgRect(vg, x,y,w,h);
nvgFillColor(vg, nvgRGBA(255,0,0,128));
nvgFill(vg);*/
cx = x + w*0.5f;
cy = y + h*0.5f;
r1 = (w < h ? w : h) * 0.5f - 5.0f;
r0 = r1 - 20.0f;
aeps = 0.5f / r1; // half a pixel arc length in radians (2pi cancels out).
for (i = 0; i < 6; i++) {
float a0 = (float)i / 6.0f * NVG_PI * 2.0f - aeps;
float a1 = (float)(i+1.0f) / 6.0f * NVG_PI * 2.0f + aeps;
nvgBeginPath(vg);
nvgArc(vg, cx,cy, r0, a0, a1, NVG_CW);
nvgArc(vg, cx,cy, r1, a1, a0, NVG_CCW);
nvgClosePath(vg);
ax = cx + cosf(a0) * (r0+r1)*0.5f;
ay = cy + sinf(a0) * (r0+r1)*0.5f;
bx = cx + cosf(a1) * (r0+r1)*0.5f;
by = cy + sinf(a1) * (r0+r1)*0.5f;
paint = nvgLinearGradient(vg, ax,ay, bx,by, nvgHSLA(a0/(NVG_PI*2),1.0f,0.55f,255), nvgHSLA(a1/(NVG_PI*2),1.0f,0.55f,255));
nvgFillPaint(vg, paint);
nvgFill(vg);
}
nvgBeginPath(vg);
nvgCircle(vg, cx,cy, r0-0.5f);
nvgCircle(vg, cx,cy, r1+0.5f);
nvgStrokeColor(vg, nvgRGBA(0,0,0,64));
nvgStrokeWidth(vg, 1.0f);
nvgStroke(vg);
// Selector
nvgSave(vg);
nvgTranslate(vg, cx,cy);
nvgRotate(vg, hue*NVG_PI*2);
// Marker on
nvgStrokeWidth(vg, 2.0f);
nvgBeginPath(vg);
nvgRect(vg, r0-1,-3,r1-r0+2,6);
nvgStrokeColor(vg, nvgRGBA(255,255,255,192));
nvgStroke(vg);
paint = nvgBoxGradient(vg, r0-3,-5,r1-r0+6,10, 2,4, nvgRGBA(0,0,0,128), nvgRGBA(0,0,0,0));
nvgBeginPath(vg);
nvgRect(vg, r0-2-10,-4-10,r1-r0+4+20,8+20);
nvgRect(vg, r0-2,-4,r1-r0+4,8);
nvgPathWinding(vg, NVG_HOLE);
nvgFillPaint(vg, paint);
nvgFill(vg);
// Center triangle
r = r0 - 6;
ax = cosf(120.0f/180.0f*NVG_PI) * r;
ay = sinf(120.0f/180.0f*NVG_PI) * r;
bx = cosf(-120.0f/180.0f*NVG_PI) * r;
by = sinf(-120.0f/180.0f*NVG_PI) * r;
nvgBeginPath(vg);
nvgMoveTo(vg, r,0);
nvgLineTo(vg, ax,ay);
nvgLineTo(vg, bx,by);
nvgClosePath(vg);
paint = nvgLinearGradient(vg, r,0, ax,ay, nvgHSLA(hue,1.0f,0.5f,255), nvgRGBA(255,255,255,255));
nvgFillPaint(vg, paint);
nvgFill(vg);
paint = nvgLinearGradient(vg, (r+ax)*0.5f,(0+ay)*0.5f, bx,by, nvgRGBA(0,0,0,0), nvgRGBA(0,0,0,255));
nvgFillPaint(vg, paint);
nvgFill(vg);
nvgStrokeColor(vg, nvgRGBA(0,0,0,64));
nvgStroke(vg);
// Select circle on triangle
ax = cosf(120.0f/180.0f*NVG_PI) * r*0.3f;
ay = sinf(120.0f/180.0f*NVG_PI) * r*0.4f;
nvgStrokeWidth(vg, 2.0f);
nvgBeginPath(vg);
nvgCircle(vg, ax,ay,5);
nvgStrokeColor(vg, nvgRGBA(255,255,255,192));
nvgStroke(vg);
paint = nvgRadialGradient(vg, ax,ay, 7,9, nvgRGBA(0,0,0,64), nvgRGBA(0,0,0,0));
nvgBeginPath(vg);
nvgRect(vg, ax-20,ay-20,40,40);
nvgCircle(vg, ax,ay,7);
nvgPathWinding(vg, NVG_HOLE);
nvgFillPaint(vg, paint);
nvgFill(vg);
nvgRestore(vg);
nvgRestore(vg);
}
void drawLines(NVGcontext* vg, float x, float y, float w, float h, float t)
{
int i, j;
float pad = 5.0f, s = w/9.0f - pad*2;
float pts[4*2], fx, fy;
int joins[3] = {NVG_MITER, NVG_ROUND, NVG_BEVEL};
int caps[3] = {NVG_BUTT, NVG_ROUND, NVG_SQUARE};
NVG_NOTUSED(h);
nvgSave(vg);
pts[0] = -s*0.25f + cosf(t*0.3f) * s*0.5f;
pts[1] = sinf(t*0.3f) * s*0.5f;
pts[2] = -s*0.25;
pts[3] = 0;
pts[4] = s*0.25f;
pts[5] = 0;
pts[6] = s*0.25f + cosf(-t*0.3f) * s*0.5f;
pts[7] = sinf(-t*0.3f) * s*0.5f;
for (i = 0; i < 3; i++) {
for (j = 0; j < 3; j++) {
fx = x + s*0.5f + (i*3+j)/9.0f*w + pad;
fy = y - s*0.5f + pad;
nvgLineCap(vg, caps[i]);
nvgLineJoin(vg, joins[j]);
nvgStrokeWidth(vg, s*0.3f);
nvgStrokeColor(vg, nvgRGBA(0,0,0,160));
nvgBeginPath(vg);
nvgMoveTo(vg, fx+pts[0], fy+pts[1]);
nvgLineTo(vg, fx+pts[2], fy+pts[3]);
nvgLineTo(vg, fx+pts[4], fy+pts[5]);
nvgLineTo(vg, fx+pts[6], fy+pts[7]);
nvgStroke(vg);
nvgLineCap(vg, NVG_BUTT);
nvgLineJoin(vg, NVG_BEVEL);
nvgStrokeWidth(vg, 1.0f);
nvgStrokeColor(vg, nvgRGBA(0,192,255,255));
nvgBeginPath(vg);
nvgMoveTo(vg, fx+pts[0], fy+pts[1]);
nvgLineTo(vg, fx+pts[2], fy+pts[3]);
nvgLineTo(vg, fx+pts[4], fy+pts[5]);
nvgLineTo(vg, fx+pts[6], fy+pts[7]);
nvgStroke(vg);
}
}
nvgRestore(vg);
}
int loadDemoData(NVGcontext* vg, DemoData* data)
{
::hope::asset::Asset asset;
int i;
if (vg == NULL)
return -1;
for (i = 0; i < 12; i++) {
char file[128];
snprintf(file, 128, "nanovg/images/image%d.jpg", i+1);
asset = ::hope::asset::get(file);
data->images[i] = nvgCreateImageMem(vg, 0, (unsigned char*)asset.pointer, asset.size);
// data->images[i] = nvgCreateImage(vg, file, 0);
if (data->images[i] == 0) {
printf("Could not load %s.\n", file);
return -1;
}
}
asset = ::hope::asset::get("nanovg/entypo.ttf");
data->fontIcons = nvgCreateFontMem(vg, "icons", (unsigned char*)asset.pointer, asset.size, 0);
// data->fontIcons = nvgCreateFont(vg, "icons", "nanovg/entypo.ttf");
if (data->fontIcons == -1) {
printf("Could not add font icons.\n");
return -1;
}
asset = ::hope::asset::get("nanovg/Roboto-Regular.ttf");
data->fontNormal = nvgCreateFontMem(vg, "sans", (unsigned char*)asset.pointer, asset.size, 0);
// data->fontNormal = nvgCreateFont(vg, "sans", "nanovg/Roboto-Regular.ttf");
if (data->fontNormal == -1) {
printf("Could not add font italic.\n");
return -1;
}
asset = ::hope::asset::get("nanovg/Roboto-Regular.ttf");
data->fontBold = nvgCreateFontMem(vg, "sans-bold", (unsigned char*)asset.pointer, asset.size, 0);
// data->fontBold = nvgCreateFont(vg, "sans-bold", "nanovg/Roboto-Bold.ttf");
if (data->fontBold == -1) {
printf("Could not add font bold.\n");
return -1;
}
return 0;
}
void freeDemoData(NVGcontext* vg, DemoData* data)
{
int i;
if (vg == NULL)
return;
for (i = 0; i < 12; i++)
nvgDeleteImage(vg, data->images[i]);
}
void drawParagraph(NVGcontext* vg, float x, float y, float width, float height, float mx, float my)
{
NVGtextRow rows[3];
NVGglyphPosition glyphs[100];
const char* text = "This is longer chunk of text.\n \n Would have used lorem ipsum but she was busy jumping over the lazy dog with the fox and all the men who came to the aid of the party.";
const char* start;
const char* end;
int nrows, i, nglyphs, j, lnum = 0;
float lineh;
float caretx, px;
float bounds[4];
float a;
float gx,gy;
int gutter = 0;
NVG_NOTUSED(height);
nvgSave(vg);
nvgFontSize(vg, 18.0f);
nvgFontFace(vg, "sans");
nvgTextAlign(vg, NVG_ALIGN_LEFT|NVG_ALIGN_TOP);
nvgTextMetrics(vg, NULL, NULL, &lineh);
// The text break API can be used to fill a large buffer of rows,
// or to iterate over the text just few lines (or just one) at a time.
// The "next" variable of the last returned item tells where to continue.
start = text;
end = text + strlen(text);
while ((nrows = nvgTextBreakLines(vg, start, end, width, rows, 3))) {
for (i = 0; i < nrows; i++) {
NVGtextRow* row = &rows[i];
int hit = mx > x && mx < (x+width) && my >= y && my < (y+lineh);
nvgBeginPath(vg);
nvgFillColor(vg, nvgRGBA(255,255,255,hit?64:16));
nvgRect(vg, x, y, row->width, lineh);
nvgFill(vg);
nvgFillColor(vg, nvgRGBA(255,255,255,255));
nvgText(vg, x, y, row->start, row->end);
if (hit) {
caretx = (mx < x+row->width/2) ? x : x+row->width;
px = x;
nglyphs = nvgTextGlyphPositions(vg, x, y, row->start, row->end, glyphs, 100);
for (j = 0; j < nglyphs; j++) {
float x0 = glyphs[j].x;
float x1 = (j+1 < nglyphs) ? glyphs[j+1].x : x+row->width;
float gx = x0 * 0.3f + x1 * 0.7f;
if (mx >= px && mx < gx)
caretx = glyphs[j].x;
px = gx;
}
nvgBeginPath(vg);
nvgFillColor(vg, nvgRGBA(255,192,0,255));
nvgRect(vg, caretx, y, 1, lineh);
nvgFill(vg);
gutter = lnum+1;
gx = x - 10;
gy = y + lineh/2;
}
lnum++;
y += lineh;
}
// Keep going...
start = rows[nrows-1].next;
}
if (gutter) {
char txt[16];
snprintf(txt, sizeof(txt), "%d", gutter);
nvgFontSize(vg, 13.0f);
nvgTextAlign(vg, NVG_ALIGN_RIGHT|NVG_ALIGN_MIDDLE);
nvgTextBounds(vg, gx,gy, txt, NULL, bounds);
nvgBeginPath(vg);
nvgFillColor(vg, nvgRGBA(255,192,0,255));
nvgRoundedRect(vg, (int)bounds[0]-4,(int)bounds[1]-2, (int)(bounds[2]-bounds[0])+8, (int)(bounds[3]-bounds[1])+4, ((int)(bounds[3]-bounds[1])+4)/2-1);
nvgFill(vg);
nvgFillColor(vg, nvgRGBA(32,32,32,255));
nvgText(vg, gx,gy, txt, NULL);
}
y += 20.0f;
nvgFontSize(vg, 13.0f);
nvgTextAlign(vg, NVG_ALIGN_LEFT|NVG_ALIGN_TOP);
nvgTextLineHeight(vg, 1.2f);
nvgTextBoxBounds(vg, x,y, 150, "Hover your mouse over the text to see calculated caret position.", NULL, bounds);
// Fade the tooltip out when close to it.
gx = fabsf((mx - (bounds[0]+bounds[2])*0.5f) / (bounds[0] - bounds[2]));
gy = fabsf((my - (bounds[1]+bounds[3])*0.5f) / (bounds[1] - bounds[3]));
a = maxf(gx, gy) - 0.5f;
a = clampf(a, 0, 1);
nvgGlobalAlpha(vg, a);
nvgBeginPath(vg);
nvgFillColor(vg, nvgRGBA(220,220,220,255));
nvgRoundedRect(vg, bounds[0]-2,bounds[1]-2, (int)(bounds[2]-bounds[0])+4, (int)(bounds[3]-bounds[1])+4, 3);
px = (int)((bounds[2]+bounds[0])/2);
nvgMoveTo(vg, px,bounds[1] - 10);
nvgLineTo(vg, px+7,bounds[1]+1);
nvgLineTo(vg, px-7,bounds[1]+1);
nvgFill(vg);
nvgFillColor(vg, nvgRGBA(0,0,0,220));
nvgTextBox(vg, x,y, 150, "Hover your mouse over the text to see calculated caret position.", NULL);
nvgRestore(vg);
}
void drawWidths(NVGcontext* vg, float x, float y, float width)
{
int i;
nvgSave(vg);
nvgStrokeColor(vg, nvgRGBA(0,0,0,255));
for (i = 0; i < 20; i++) {
float w = (i+0.5f)*0.1f;
nvgStrokeWidth(vg, w);
nvgBeginPath(vg);
nvgMoveTo(vg, x,y);
nvgLineTo(vg, x+width,y+width*0.3f);
nvgStroke(vg);
y += 10;
}
nvgRestore(vg);
}
void drawCaps(NVGcontext* vg, float x, float y, float width)
{
int i;
int caps[3] = {NVG_BUTT, NVG_ROUND, NVG_SQUARE};
float lineWidth = 8.0f;
nvgSave(vg);
nvgBeginPath(vg);
nvgRect(vg, x-lineWidth/2, y, width+lineWidth, 40);
nvgFillColor(vg, nvgRGBA(255,255,255,32));
nvgFill(vg);
nvgBeginPath(vg);
nvgRect(vg, x, y, width, 40);
nvgFillColor(vg, nvgRGBA(255,255,255,32));
nvgFill(vg);
nvgStrokeWidth(vg, lineWidth);
for (i = 0; i < 3; i++) {
nvgLineCap(vg, caps[i]);
nvgStrokeColor(vg, nvgRGBA(0,0,0,255));
nvgBeginPath(vg);
nvgMoveTo(vg, x, y + i*10 + 5);
nvgLineTo(vg, x+width, y + i*10 + 5);
nvgStroke(vg);
}
nvgRestore(vg);
}
void drawScissor(NVGcontext* vg, float x, float y, float t)
{
nvgSave(vg);
// Draw first rect and set scissor to it's area.
nvgTranslate(vg, x, y);
nvgRotate(vg, nvgDegToRad(5));
nvgBeginPath(vg);
nvgRect(vg, -20,-20,60,40);
nvgFillColor(vg, nvgRGBA(255,0,0,255));
nvgFill(vg);
nvgScissor(vg, -20,-20,60,40);
// Draw second rectangle with offset and rotation.
nvgTranslate(vg, 40,0);
nvgRotate(vg, t);
// Draw the intended second rectangle without any scissoring.
nvgSave(vg);
nvgResetScissor(vg);
nvgBeginPath(vg);
nvgRect(vg, -20,-10,60,30);
nvgFillColor(vg, nvgRGBA(255,128,0,64));
nvgFill(vg);
nvgRestore(vg);
// Draw second rectangle with combined scissoring.
nvgIntersectScissor(vg, -20,-10,60,30);
nvgBeginPath(vg);
nvgRect(vg, -20,-10,60,30);
nvgFillColor(vg, nvgRGBA(255,128,0,255));
nvgFill(vg);
nvgRestore(vg);
}
void renderDemo(NVGcontext* vg, float mx, float my, float width, float height,
float t, int blowup, DemoData* data)
{
float x,y,popy;
drawEyes(vg, width - 250, 50, 150, 100, mx, my, t);
drawParagraph(vg, width - 450, 50, 150, 100, mx, my);
drawGraph(vg, 0, height/2, width, height/2, t);
drawColorwheel(vg, width - 300, height - 300, 250.0f, 250.0f, t);
// Line joints
drawLines(vg, 120, height-50, 600, 50, t);
// Line caps
drawWidths(vg, 10, 50, 30);
// Line caps
drawCaps(vg, 10, 300, 30);
drawScissor(vg, 50, height-80, t);
nvgSave(vg);
if (blowup) {
nvgRotate(vg, sinf(t*0.3f)*5.0f/180.0f*NVG_PI);
nvgScale(vg, 2.0f, 2.0f);
}
// Widgets
drawWindow(vg, "Widgets `n Stuff", 50, 50, 300, 400);
x = 60; y = 95;
drawSearchBox(vg, "Search", x,y,280,25);
y += 40;
drawDropDown(vg, "Effects", x,y,280,28);
popy = y + 14;
y += 45;
// Form
drawLabel(vg, "Login", x,y, 280,20);
y += 25;
drawEditBox(vg, "Email", x,y, 280,28);
y += 35;
drawEditBox(vg, "Password", x,y, 280,28);
y += 38;
drawCheckBox(vg, "Remember me", x,y, 140,28);
drawButton(vg, ICON_LOGIN, "Sign in", x+138, y, 140, 28, nvgRGBA(0,96,128,255));
y += 45;
// Slider
drawLabel(vg, "Diameter", x,y, 280,20);
y += 25;
drawEditBoxNum(vg, "123.00", "px", x+180,y, 100,28);
drawSlider(vg, 0.4f, x,y, 170,28);
y += 55;
drawButton(vg, ICON_TRASH, "Delete", x, y, 160, 28, nvgRGBA(128,16,8,255));
drawButton(vg, 0, "Cancel", x+170, y, 110, 28, nvgRGBA(0,0,0,0));
// Thumbnails box
drawThumbnails(vg, 365, popy-30, 160, 300, data->images, 12, t);
nvgRestore(vg);
}
| [
"JauneLaCouleur@gmail.com"
] | JauneLaCouleur@gmail.com |
fbfa26849ea73a19b1fa498d8d4c65a4fc20bb73 | b8cb3acc677efcb6e73c0f884e2f8a639d5536c3 | /variational_fluids/VariationalViscosity3D/pcgsolver/sparse_matrix.h | 728e89f628543daab2f7f3107ab6dfe8ecfe72ae | [
"Apache-2.0"
] | permissive | OrionQuest/Nova_Examples | 89af95cf696442b198073d06812eea0e3b3526e4 | 482521902bc3afa7d0caefeb9ce9595456384961 | refs/heads/master | 2021-06-03T02:25:39.100078 | 2020-12-13T02:37:23 | 2020-12-13T02:37:23 | 141,195,357 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 8,114 | h | #ifndef SPARSE_MATRIX_H
#define SPARSE_MATRIX_H
#include <iostream>
#include <vector>
#include "../util.h"
//============================================================================
// Dynamic compressed sparse row matrix.
template<class T>
struct SparseMatrix
{
unsigned int n; // dimension
std::vector<std::vector<unsigned int> > index; // for each row, a list of all column indices (sorted)
std::vector<std::vector<T> > value; // values corresponding to index
explicit SparseMatrix(unsigned int n_=0, unsigned int expected_nonzeros_per_row=7)
: n(n_), index(n_), value(n_)
{
for(unsigned int i=0; i<n; ++i){
index[i].reserve(expected_nonzeros_per_row);
value[i].reserve(expected_nonzeros_per_row);
}
}
void clear(void)
{
n=0;
index.clear();
value.clear();
}
void zero(void)
{
for(unsigned int i=0; i<n; ++i){
index[i].resize(0);
value[i].resize(0);
}
}
void resize(int n_)
{
n=n_;
index.resize(n);
value.resize(n);
}
T operator()(unsigned int i, unsigned int j) const
{
for(unsigned int k=0; k<index[i].size(); ++k){
if(index[i][k]==j) return value[i][k];
else if(index[i][k]>j) return 0;
}
return 0;
}
void set_element(unsigned int i, unsigned int j, T new_value)
{
unsigned int k=0;
for(; k<index[i].size(); ++k){
if(index[i][k]==j){
value[i][k]=new_value;
return;
}else if(index[i][k]>j){
insert(index[i], k, j);
insert(value[i], k, new_value);
return;
}
}
index[i].push_back(j);
value[i].push_back(new_value);
}
void add_to_element(unsigned int i, unsigned int j, T increment_value)
{
unsigned int k=0;
for(; k<index[i].size(); ++k){
if(index[i][k]==j){
value[i][k]+=increment_value;
return;
}else if(index[i][k]>j){
insert(index[i], k, j);
insert(value[i], k, increment_value);
return;
}
}
index[i].push_back(j);
value[i].push_back(increment_value);
}
// assumes indices is already sorted
void add_sparse_row(unsigned int i, const std::vector<unsigned int> &indices, const std::vector<T> &values)
{
unsigned int j=0, k=0;
while(j<indices.size() && k<index[i].size()){
if(index[i][k]<indices[j]){
++k;
}else if(index[i][k]>indices[j]){
insert(index[i], k, indices[j]);
insert(value[i], k, values[j]);
++j;
}else{
value[i][k]+=values[j];
++j;
++k;
}
}
for(;j<indices.size(); ++j){
index[i].push_back(indices[j]);
value[i].push_back(values[j]);
}
}
// assumes matrix has symmetric structure - so the indices in row i tell us which columns to delete i from
void symmetric_remove_row_and_column(unsigned int i)
{
for(unsigned int a=0; a<index[i].size(); ++a){
unsigned int j=index[i][a]; //
for(unsigned int b=0; b<index[j].size(); ++b){
if(index[j][b]==i){
erase(index[j], b);
erase(value[j], b);
break;
}
}
}
index[i].resize(0);
value[i].resize(0);
}
void write_matlab(std::ostream &output, const char *variable_name)
{
output<<variable_name<<"=sparse([";
for(unsigned int i=0; i<n; ++i){
for(unsigned int j=0; j<index[i].size(); ++j){
output<<i+1<<" ";
}
}
output<<"],...\n [";
for(unsigned int i=0; i<n; ++i){
for(unsigned int j=0; j<index[i].size(); ++j){
output<<index[i][j]+1<<" ";
}
}
output<<"],...\n [";
for(unsigned int i=0; i<n; ++i){
for(unsigned int j=0; j<value[i].size(); ++j){
output<<value[i][j]<<" ";
}
}
output<<"], "<<n<<", "<<n<<");"<<std::endl;
}
};
typedef SparseMatrix<float> SparseMatrixf;
typedef SparseMatrix<double> SparseMatrixd;
// perform result=matrix*x
template<class T>
void multiply(const SparseMatrix<T> &matrix, const std::vector<T> &x, std::vector<T> &result)
{
assert(matrix.n==x.size());
result.resize(matrix.n);
for(unsigned int i=0; i<matrix.n; ++i){
result[i]=0;
for(unsigned int j=0; j<matrix.index[i].size(); ++j){
result[i]+=matrix.value[i][j]*x[matrix.index[i][j]];
}
}
}
// perform result=result-matrix*x
template<class T>
void multiply_and_subtract(const SparseMatrix<T> &matrix, const std::vector<T> &x, std::vector<T> &result)
{
assert(matrix.n==x.size());
result.resize(matrix.n);
for(unsigned int i=0; i<matrix.n; ++i){
for(unsigned int j=0; j<matrix.index[i].size(); ++j){
result[i]-=matrix.value[i][j]*x[matrix.index[i][j]];
}
}
}
//============================================================================
// Fixed version of SparseMatrix. This is not a good structure for dynamically
// modifying the matrix, but can be significantly faster for matrix-vector
// multiplies due to better data locality.
template<class T>
struct FixedSparseMatrix
{
unsigned int n; // dimension
std::vector<T> value; // nonzero values row by row
std::vector<unsigned int> colindex; // corresponding column indices
std::vector<unsigned int> rowstart; // where each row starts in value and colindex (and last entry is one past the end, the number of nonzeros)
explicit FixedSparseMatrix(unsigned int n_=0)
: n(n_), value(0), colindex(0), rowstart(n_+1)
{}
void clear(void)
{
n=0;
value.clear();
colindex.clear();
rowstart.clear();
}
void resize(int n_)
{
n=n_;
rowstart.resize(n+1);
}
void construct_from_matrix(const SparseMatrix<T> &matrix)
{
resize(matrix.n);
rowstart[0]=0;
for(unsigned int i=0; i<n; ++i){
rowstart[i+1]=rowstart[i]+matrix.index[i].size();
}
value.resize(rowstart[n]);
colindex.resize(rowstart[n]);
unsigned int j=0;
for(unsigned int i=0; i<n; ++i){
for(unsigned int k=0; k<matrix.index[i].size(); ++k){
value[j]=matrix.value[i][k];
colindex[j]=matrix.index[i][k];
++j;
}
}
}
void write_matlab(std::ostream &output, const char *variable_name)
{
output<<variable_name<<"=sparse([";
for(unsigned int i=0; i<n; ++i){
for(unsigned int j=rowstart[i]; j<rowstart[i+1]; ++j){
output<<i+1<<" ";
}
}
output<<"],...\n [";
for(unsigned int i=0; i<n; ++i){
for(unsigned int j=rowstart[i]; j<rowstart[i+1]; ++j){
output<<colindex[j]+1<<" ";
}
}
output<<"],...\n [";
for(unsigned int i=0; i<n; ++i){
for(unsigned int j=rowstart[i]; j<rowstart[i+1]; ++j){
output<<value[j]<<" ";
}
}
output<<"], "<<n<<", "<<n<<");"<<std::endl;
}
};
typedef FixedSparseMatrix<float> FixedSparseMatrixf;
typedef FixedSparseMatrix<double> FixedSparseMatrixd;
// perform result=matrix*x
template<class T>
void multiply(const FixedSparseMatrix<T> &matrix, const std::vector<T> &x, std::vector<T> &result)
{
assert(matrix.n==x.size());
result.resize(matrix.n);
for(unsigned int i=0; i<matrix.n; ++i){
result[i]=0;
for(unsigned int j=matrix.rowstart[i]; j<matrix.rowstart[i+1]; ++j){
result[i]+=matrix.value[j]*x[matrix.colindex[j]];
}
}
}
// perform result=result-matrix*x
template<class T>
void multiply_and_subtract(const FixedSparseMatrix<T> &matrix, const std::vector<T> &x, std::vector<T> &result)
{
assert(matrix.n==x.size());
result.resize(matrix.n);
for(unsigned int i=0; i<matrix.n; ++i){
for(unsigned int j=matrix.rowstart[i]; j<matrix.rowstart[i+1]; ++j){
result[i]-=matrix.value[j]*x[matrix.colindex[j]];
}
}
}
#endif
| [
"mridul.aanjaneya@gmail.com"
] | mridul.aanjaneya@gmail.com |
3bdf7a105c0968b5773f9a70e3ad911d0568a6b5 | d5b52fdf512f8cbe24e50ae294f83bf079908d49 | /Homework/Assignment 1/Savitch_9thEd_Ch1_PracProg_PeaPodsDivision/main.cpp | 2055cd1b03162f7cb28ee121246122a47e751e1d | [] | no_license | kimann-schmid/SchmidKimberly_CIS5_Fall2017 | eab98c3759100c56cbc4302791cccb54ef4dae1b | 84e7d5c517a79e9a370452945b81359b3972e51f | refs/heads/master | 2021-08-29T10:20:50.049388 | 2017-12-13T17:12:26 | 2017-12-13T17:12:26 | 106,312,896 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 899 | cpp |
/*
* File: main.cpp
* Author: Kimberly Schmid
*
* Created on September 16, 2017, 10:34 PM
* Purpose: Homework Savitch Ch.1 Practice
*/
#include <iostream>
using namespace std;
/*
*
*/
int main( )
{
int number_of_pods, peas_per_pod, total_peas;
cout<< "Hello \n";
cout << "Press return after entering a number. \n";
cout << "Enter the number of pods: \n";
cin>> number_of_pods;
cout << "Enter the number of peas in a pod: \n";
cin >> peas_per_pod;
total_peas=number_of_pods / peas_per_pod;
cout << "If you have ";
cout << number_of_pods;
cout << " pea pods \n";
cout << "and ";
cout << peas_per_pod;
cout << " peas in each pod, then\n";
cout << "you have ";
cout << total_peas;
cout << " peas in all the pods.\n";
cout << "Goodbye \n";
return 0;
}
| [
"kschmid@student.rccd.edu"
] | kschmid@student.rccd.edu |
c2eb45cb56d1a4f31c7ec183b071cc642b9c533d | 57b96c6b71e76fb7b45f9cc66a64638c31c29c5e | /2_example/example21_talk/example21_talk.ino | 019782541d13367ea7cfc5cd327a954a4047a549 | [
"MIT"
] | permissive | kghrlabo/esp | 04d3b945b8964c8ad40e0d6b94f92055508e2897 | 64c3f92c90198de3171a2a394231598b9f35f078 | refs/heads/master | 2020-04-03T11:43:34.139559 | 2018-10-08T07:49:16 | 2018-10-08T07:49:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,021 | ino | /*******************************************************************************
Example 21: AquosTalkを使った音声出力器(HTTP版)
Copyright (c) 2016 Wataru KUNINO
*******************************************************************************/
#include <ESP8266WiFi.h> // Wi-Fi機能を利用するために必要
extern "C" {
#include "user_interface.h" // ESP8266用の拡張IFライブラリ
}
#include <WiFiUdp.h> // UDP通信を行うライブラリ
#define TIMEOUT 20000 // タイムアウト 20秒
#define SSID "1234ABCD" // 無線LANアクセスポイントのSSID
#define PASS "password" // パスワード
#define PORT 1024 // 受信ポート番号
WiFiUDP udp; // UDP通信用のインスタンスを定義
WiFiServer server(80); // Wi-Fiサーバ(ポート80=HTTP)定義
void setup(){ // 起動時に一度だけ実行する関数
Serial.begin(9600); // AquesTalkとの通信ポート
Serial.print("\r$"); // ブレークコマンドを出力する
delay(100); // 待ち時間処理
Serial.print("$?kon'nnichi/wa.\r"); // 音声「こんにちわ」を出力する
wifi_set_sleep_type(LIGHT_SLEEP_T); // 省電力モード設定
WiFi.mode(WIFI_STA); // 無線LANをSTAモードに設定
WiFi.begin(SSID,PASS); // 無線LANアクセスポイントへ接続
while(WiFi.status() != WL_CONNECTED){ // 接続に成功するまで待つ
delay(500); // 待ち時間処理
}
server.begin(); // サーバを起動する
udp.begin(PORT); // UDP通信御開始
Serial.print("<NUM VAL="); // 数字読み上げ用タグ出力
Serial.print(WiFi.localIP()); // IPアドレスを読み上げる
Serial.print(">.\r"); // タグの終了を出力する
}
void loop(){ // 繰り返し実行する関数
WiFiClient client; // Wi-Fiクライアントの定義
char c; // 文字変数cを定義
char s[65]; // 文字列変数を定義 65バイト64文字
char talk[65]=""; // 音声出力用の文字列変数を定義
int len=0; // 文字列長を示す整数型変数を定義
int t=0; // 待ち受け時間のカウント用の変数
int postF=0; // POSTフラグ(0:未 1:POST 2:BODY)
int postL=64; // POSTデータ長
client = server.available(); // 接続されたTCPクライアントを生成
if(client==0){ // TCPクライアントが無かった場合
len = udp.parsePacket(); // UDP受信パケット長を変数lenに代入
if(len==0)return; // TCPとUDPが未受信時にloop()先頭へ
memset(s, 0, 49); // 文字列変数sの初期化(49バイト)
udp.read(s, 48); // UDP受信データを文字列変数sへ代入
Serial.print(s); // AquesTalkへ出力する
Serial.print("\r"); // 改行コード(CR)を出力する
return; // loop()の先頭に戻る
}
while(client.connected()){ // 当該クライアントの接続状態を確認
if(client.available()){ // クライアントからのデータを確認
t=0; // 待ち時間変数をリセット
c=client.read(); // データを文字変数cに代入
if(c=='\n'){ // 改行を検出した時
if(postF==0){ // ヘッダ処理
if(len>11 && strncmp(s,"GET /?TEXT=",11)==0){
strncpy(talk,&s[11],64); // 受信文字列をtalkへコピー
break; // 解析処理の終了
}else if (len>5 && strncmp(s,"GET /",5)==0){
strcpy(talk,"de'-ta-o'nyu-ryo_kushiteku'dasai.");
break; // 解析処理の終了
}else if(len>6 && strncmp(s,"POST /",6)==0){
postF=1; // POSTのBODY待ち状態へ
}
}else if(postF==1){
if(len>16 && strncmp(s,"Content-Length: ",16)==0){
postL=atoi(&s[16]); // 変数postLにデータ値を代入
}
}
if( len==0 ) postF++; // ヘッダの終了
len=0; // 文字列長を0に
}else if(c!='\r' && c!='\0'){
s[len]=c; // 文字列変数に文字cを追加
len++; // 変数lenに1を加算
s[len]='\0'; // 文字列を終端
if(len>=64) len=63; // 文字列変数の上限
}
if(postF>=2){ // POSTのBODY処理
if(postL<=0){ // 受信完了時
if(len>5 && strncmp(s,"TEXT=",5)==0){
strncpy(talk,&s[5],64); // 受信文字列をtalkへコピー
}
break; // 解析処理の終了
}
postL--; // 受信済POSTデータ長の減算
}
}
t++; // 変数tの値を1だけ増加させる
if(t>TIMEOUT) break; else delay(1); // TIMEOUTに到達したらwhileを抜ける
}
delay(1); // クライアント側の応答待ち時間
if(talk[0]){ // 文字列が代入されていた場合、
trUri2txt(talk); // URLエンコードの変換処理
Serial.print(talk); // 受信文字データを音声出力
Serial.print("\r"); // 改行コード(CR)を出力する
}
if(client.connected()){ // 当該クライアントの接続状態を確認
html(client,talk,WiFi.localIP()); // HTMLコンテンツを出力する
}
// client.stop(); // クライアントの切断
}
| [
"xbee@dream.jp"
] | xbee@dream.jp |
e75f285986683e054590a8c69cecdcaca12349d6 | eab2ea8f23a1c7d88a69f973e9f32b16ce103259 | /equation of a line.cpp | 48ae9da7588befd9b80e17dd7e8a1e596142a768 | [] | no_license | apaarkamal/miscellaneous-codes | 73a973a0f66973c15262b0a0dae2e8776ac3b0ae | df822d1dc06b7cb5426bbb04256179c5b5b04641 | refs/heads/master | 2020-06-12T19:50:16.772416 | 2019-12-02T05:59:03 | 2019-12-02T05:59:03 | 194,406,672 | 6 | 10 | null | null | null | null | UTF-8 | C++ | false | false | 2,143 | cpp | #include<bits/stdc++.h>
using namespace std;
#define int long long int
#define ld long double
#define F first
#define S second
#define P pair<int,int>
#define V vector
#define pb push_back
#define db(...) __f(#__VA_ARGS__, __VA_ARGS__)
template <typename Arg1>
void __f(const char* name, Arg1&& arg1) { cerr << name << " : " << arg1 << '\n'; }
template <typename Arg1, typename... Args>
void __f(const char* names, Arg1&& arg1, Args&&... args) {
const char* comma = strchr(names + 1, ',');
cerr.write(names, comma - names) << " : " << arg1 << " | "; __f(comma + 1, args...);
}
const int N = 100005;
int32_t main()
{
ios_base:: sync_with_stdio(false);
cin.tie(NULL); cout.tie(NULL);
#ifndef ONLINE_JUDGE
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
freopen("debug.txt", "w", stderr);
#endif
// int t;cin>>t;while(t--)
{
int i, j, k, n, m, ans = 0, cnt = 0, sum = 0;
cin >> n;
V<P> v(n);
for (i = 0; i < n; i++) {
cin >> v[i].F >> v[i].S;
}
V<V<int>> vv;
for (i = 0; i < n; i++) {
for (j = i + 1; j < n; j++) {
// construct a line passing through (x1, y1) and (x2, y2)
// line is expressed as equation ax - by = c with constant a, b, c
int num = v[j].S - v[i].S;
int den = v[j].F - v[i].F;
int g = __gcd(num, den);
num /= g; den /= g;
if (den < 0 || (den == 0 && num < 0)) {
den = abs(den);
num = -num;
//making num positive
}
vv.pb({num, den, num*v[i].F - den*v[i].S});
}
}
sort(vv.begin(), vv.end());
vv.resize(unique(vv.begin(), vv.end()) - vv.begin());
n = vv.size();
j = 0; i = 0;
while (i < n) {
while (j < n && vv[j][0] == vv[i][0] && vv[i][1] == vv[j][1]) {
j++;
}
cnt = j - i;
ans += cnt * (n - cnt - i);
i = j;
}
cout << ans;
}
} | [
"apaarsaxena@gmail.com"
] | apaarsaxena@gmail.com |
db63a5de55386dfc18dc873daa6cab98dfd6fa1d | 4bf98ef4b80d7029eab3873cdf0b09e44d79abac | /include/api/segmenter/segmenter_cimg.hpp | eab354f7b492e86d37052fccef84e2e9f17f8e5a | [] | no_license | cy20lin/2018_fall_image_processing_final_api_segmenter | 8899bea3779f5cd4bb52ea2eabd4d988102f2be4 | 7e727a45d123ba908ad7b42feb1c201dbda6d823 | refs/heads/master | 2020-04-12T20:52:12.228571 | 2018-12-27T08:02:43 | 2018-12-27T08:03:13 | 162,749,064 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,950 | hpp | #ifndef FINAL_MODULE_SEGMENTER_INCLUDE_API_SEGMENTER_SEGMENTER_CIMG_HPP_INCLUDED
#define FINAL_MODULE_SEGMENTER_INCLUDE_API_SEGMENTER_SEGMENTER_CIMG_HPP_INCLUDED
#include "core.hpp"
#include <exception>
// #include "cv_cimg_bridge.hpp"
// #include "cv_bridge.hpp"
#include "cimg_bridge.hpp"
// #include <opencv/cv.h>
namespace api {
namespace segmenter {
class segmenter_cimg {
public:
segmenter_cimg() = default;
segmenter_cimg(segmenter_cimg const &) = default;
segmenter_cimg(segmenter_cimg &&) = default;
~segmenter_cimg() = default;
std_image_type segment(const std_image_type & source, std_keypoints_type keypoints) {
using namespace ::cimg_library;
if (std::get<0>(source).first <= 0 || std::get<0>(source).second <=0) {
throw std::invalid_argument("invalid source-image size");
}
const CImg<std::uint8_t> image(std_image_to_cimg(source));
// const CImg<std::uint8_t> image(std_image_to_cv_mat(source));
// const CImg<std::uint8_t> image(cv::imread("../dataset/4.jpeg"));
// cv::imshow("image", image.get_MAT());
// cv::Mat label_mask = cv::imread("../dataset/kp4.png");
// cv::Mat label(cv::Size(label_mask.col, label_mask.row));
// Load input label image.
CImg<std::uint8_t> labels(image.width(),image.height(),1,1,0);
int xn = image.width();
int yn = image.height();
int x;
int y;
int label = 0;
for (const auto & layer : keypoints) {
++label;
for (const auto & pt : layer) {
x = pt.first;
y = pt.second;
if (x < 0 || x >= xn || y < 0 || y >= yn) {
throw std::invalid_argument(std::string("keypoint (") + std::to_string(x) + "," + std::to_string(y) + ") out of range size=(" + std::to_string(xn) + ","
+ std::to_string(yn) + ")");
}
labels(x,y,0) = label;
// labels(x,y,1) = label;
// labels(x,y,2) = label;
}
}
labels.resize(image.width(),image.height(),1,1,0); // Be sure labels has the correct size.
// labels.resize(image.width(),image.height(),1,1,0); // Be sure labels has the correct size.
// Compute gradients.
const float sigma = 0.002f * std::max(image.width(),image.height());
const CImg<std::uint8_t> blurred = image.get_blur(sigma);
CImgList<std::uint8_t> gradient = blurred.get_gradient("xy");
// gradient[0] and gradient[1] are two CImg<std::uint8_t> images which contain
// respectively the X and Y derivatives of the blurred RGB image.
// Compute the potential map P.
CImg<float> P(labels);
cimg_forXY(P,x,y){
P(x,y) = 1./(1. +
cimg::sqr(gradient(0,x,y,0)) + // Rx^2
cimg::sqr(gradient(0,x,y,1)) + // Gx^2
cimg::sqr(gradient(0,x,y,2)) + // Bx^2
cimg::sqr(gradient(1,x,y,0)) + // Ry^2
cimg::sqr(gradient(1,x,y,1)) + // Gy^2
cimg::sqr(gradient(1,x,y,2))); // By^2
}
// Run the label propagation algorithm.
labels.watershed(P, true);
cimg_forXY(labels,x,y){
auto label = labels(x,y);
enum { foreground = 1};
labels(x,y) = (label != 2) ? 255 : 0;
}
// CImg<std::uint8_t> P2(P);
// cimg_forXY(P,x,y){
// P2(x,y) = P(x,y)*255;
// }
// cv::imshow("p", P2.get_MAT());
// cv::imshow("gx", gradient.at(0).get_MAT());
// cv::imshow("gy", gradient.at(1).get_MAT());
return cimg_to_std_image(labels);
}
};
} // namespace segmenter
} // namespace api
#endif // FINAL_MODULE_SEGMENTER_INCLUDE_API_SEGMENTER_SEGMENTER_CIMG_HPP_INCLUDED
| [
"cy20lin@gmail.com"
] | cy20lin@gmail.com |
7dd405f94de1491bbfcf3131eca527d4d7972a1e | 42b38ab2e841846d9b63d6dacf1a4227be117308 | /Krkr/XP3Viewer-121113/krkr2/tjs2/tjs.tab.h | 13ec86cdb4460b29ce3b7bc0aabded71e8bcc585 | [] | no_license | Inori/FuckGalEngine | 0905a9a2ad17db186a445dd7c938c4730b76fc2c | c966c2bf82975d078beb3b9c0b53f7390d3618d9 | refs/heads/master | 2023-07-29T00:33:53.672955 | 2022-02-06T01:52:40 | 2022-02-06T01:52:40 | 17,017,253 | 706 | 186 | null | 2022-02-06T01:52:41 | 2014-02-20T10:49:38 | C | UTF-8 | C++ | false | false | 7,997 | h | namespace TJS {
/* A Bison parser, made by GNU Bison 2.3. */
/* Skeleton interface for Bison's Yacc-like parsers in C
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
Free Software Foundation, Inc.
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, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
/* As a special exception, you may create a larger work that contains
part or all of the Bison parser skeleton and distribute that work
under terms of your choice, so long as that work isn't itself a
parser generator using the skeleton or a modified version thereof
as a parser skeleton. Alternatively, if you modify or redistribute
the parser skeleton itself, you may (at your option) remove this
special exception, which will cause the skeleton and the resulting
Bison output files to be licensed under the GNU General Public
License without this special exception.
This special exception was added by the Free Software Foundation in
version 2.2 of Bison. */
/* Tokens. */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
/* Put the tokens into the symbol table, so that GDB and other debuggers
know about them. */
enum yytokentype {
T_COMMA = 258,
T_EQUAL = 259,
T_AMPERSANDEQUAL = 260,
T_VERTLINEEQUAL = 261,
T_CHEVRONEQUAL = 262,
T_MINUSEQUAL = 263,
T_PLUSEQUAL = 264,
T_PERCENTEQUAL = 265,
T_SLASHEQUAL = 266,
T_BACKSLASHEQUAL = 267,
T_ASTERISKEQUAL = 268,
T_LOGICALOREQUAL = 269,
T_LOGICALANDEQUAL = 270,
T_RARITHSHIFTEQUAL = 271,
T_LARITHSHIFTEQUAL = 272,
T_RBITSHIFTEQUAL = 273,
T_QUESTION = 274,
T_LOGICALOR = 275,
T_LOGICALAND = 276,
T_VERTLINE = 277,
T_CHEVRON = 278,
T_AMPERSAND = 279,
T_NOTEQUAL = 280,
T_EQUALEQUAL = 281,
T_DISCNOTEQUAL = 282,
T_DISCEQUAL = 283,
T_SWAP = 284,
T_LT = 285,
T_GT = 286,
T_LTOREQUAL = 287,
T_GTOREQUAL = 288,
T_RARITHSHIFT = 289,
T_LARITHSHIFT = 290,
T_RBITSHIFT = 291,
T_PERCENT = 292,
T_SLASH = 293,
T_BACKSLASH = 294,
T_ASTERISK = 295,
T_EXCRAMATION = 296,
T_TILDE = 297,
T_DECREMENT = 298,
T_INCREMENT = 299,
T_NEW = 300,
T_DELETE = 301,
T_TYPEOF = 302,
T_PLUS = 303,
T_MINUS = 304,
T_SHARP = 305,
T_DOLLAR = 306,
T_ISVALID = 307,
T_INVALIDATE = 308,
T_INSTANCEOF = 309,
T_LPARENTHESIS = 310,
T_DOT = 311,
T_LBRACKET = 312,
T_THIS = 313,
T_SUPER = 314,
T_GLOBAL = 315,
T_RBRACKET = 316,
T_CLASS = 317,
T_RPARENTHESIS = 318,
T_COLON = 319,
T_SEMICOLON = 320,
T_LBRACE = 321,
T_RBRACE = 322,
T_CONTINUE = 323,
T_FUNCTION = 324,
T_DEBUGGER = 325,
T_DEFAULT = 326,
T_CASE = 327,
T_EXTENDS = 328,
T_FINALLY = 329,
T_PROPERTY = 330,
T_PRIVATE = 331,
T_PUBLIC = 332,
T_PROTECTED = 333,
T_STATIC = 334,
T_RETURN = 335,
T_BREAK = 336,
T_EXPORT = 337,
T_IMPORT = 338,
T_SWITCH = 339,
T_IN = 340,
T_INCONTEXTOF = 341,
T_FOR = 342,
T_WHILE = 343,
T_DO = 344,
T_IF = 345,
T_VAR = 346,
T_CONST = 347,
T_ENUM = 348,
T_GOTO = 349,
T_THROW = 350,
T_TRY = 351,
T_SETTER = 352,
T_GETTER = 353,
T_ELSE = 354,
T_CATCH = 355,
T_OMIT = 356,
T_SYNCHRONIZED = 357,
T_WITH = 358,
T_INT = 359,
T_REAL = 360,
T_STRING = 361,
T_OCTET = 362,
T_FALSE = 363,
T_NULL = 364,
T_TRUE = 365,
T_VOID = 366,
T_NAN = 367,
T_INFINITY = 368,
T_UPLUS = 369,
T_UMINUS = 370,
T_EVAL = 371,
T_POSTDECREMENT = 372,
T_POSTINCREMENT = 373,
T_IGNOREPROP = 374,
T_PROPACCESS = 375,
T_ARG = 376,
T_EXPANDARG = 377,
T_INLINEARRAY = 378,
T_ARRAYARG = 379,
T_INLINEDIC = 380,
T_DICELM = 381,
T_WITHDOT = 382,
T_THIS_PROXY = 383,
T_WITHDOT_PROXY = 384,
T_CONSTVAL = 385,
T_SYMBOL = 386,
T_REGEXP = 387
};
#endif
/* Tokens. */
#define T_COMMA 258
#define T_EQUAL 259
#define T_AMPERSANDEQUAL 260
#define T_VERTLINEEQUAL 261
#define T_CHEVRONEQUAL 262
#define T_MINUSEQUAL 263
#define T_PLUSEQUAL 264
#define T_PERCENTEQUAL 265
#define T_SLASHEQUAL 266
#define T_BACKSLASHEQUAL 267
#define T_ASTERISKEQUAL 268
#define T_LOGICALOREQUAL 269
#define T_LOGICALANDEQUAL 270
#define T_RARITHSHIFTEQUAL 271
#define T_LARITHSHIFTEQUAL 272
#define T_RBITSHIFTEQUAL 273
#define T_QUESTION 274
#define T_LOGICALOR 275
#define T_LOGICALAND 276
#define T_VERTLINE 277
#define T_CHEVRON 278
#define T_AMPERSAND 279
#define T_NOTEQUAL 280
#define T_EQUALEQUAL 281
#define T_DISCNOTEQUAL 282
#define T_DISCEQUAL 283
#define T_SWAP 284
#define T_LT 285
#define T_GT 286
#define T_LTOREQUAL 287
#define T_GTOREQUAL 288
#define T_RARITHSHIFT 289
#define T_LARITHSHIFT 290
#define T_RBITSHIFT 291
#define T_PERCENT 292
#define T_SLASH 293
#define T_BACKSLASH 294
#define T_ASTERISK 295
#define T_EXCRAMATION 296
#define T_TILDE 297
#define T_DECREMENT 298
#define T_INCREMENT 299
#define T_NEW 300
#define T_DELETE 301
#define T_TYPEOF 302
#define T_PLUS 303
#define T_MINUS 304
#define T_SHARP 305
#define T_DOLLAR 306
#define T_ISVALID 307
#define T_INVALIDATE 308
#define T_INSTANCEOF 309
#define T_LPARENTHESIS 310
#define T_DOT 311
#define T_LBRACKET 312
#define T_THIS 313
#define T_SUPER 314
#define T_GLOBAL 315
#define T_RBRACKET 316
#define T_CLASS 317
#define T_RPARENTHESIS 318
#define T_COLON 319
#define T_SEMICOLON 320
#define T_LBRACE 321
#define T_RBRACE 322
#define T_CONTINUE 323
#define T_FUNCTION 324
#define T_DEBUGGER 325
#define T_DEFAULT 326
#define T_CASE 327
#define T_EXTENDS 328
#define T_FINALLY 329
#define T_PROPERTY 330
#define T_PRIVATE 331
#define T_PUBLIC 332
#define T_PROTECTED 333
#define T_STATIC 334
#define T_RETURN 335
#define T_BREAK 336
#define T_EXPORT 337
#define T_IMPORT 338
#define T_SWITCH 339
#define T_IN 340
#define T_INCONTEXTOF 341
#define T_FOR 342
#define T_WHILE 343
#define T_DO 344
#define T_IF 345
#define T_VAR 346
#define T_CONST 347
#define T_ENUM 348
#define T_GOTO 349
#define T_THROW 350
#define T_TRY 351
#define T_SETTER 352
#define T_GETTER 353
#define T_ELSE 354
#define T_CATCH 355
#define T_OMIT 356
#define T_SYNCHRONIZED 357
#define T_WITH 358
#define T_INT 359
#define T_REAL 360
#define T_STRING 361
#define T_OCTET 362
#define T_FALSE 363
#define T_NULL 364
#define T_TRUE 365
#define T_VOID 366
#define T_NAN 367
#define T_INFINITY 368
#define T_UPLUS 369
#define T_UMINUS 370
#define T_EVAL 371
#define T_POSTDECREMENT 372
#define T_POSTINCREMENT 373
#define T_IGNOREPROP 374
#define T_PROPACCESS 375
#define T_ARG 376
#define T_EXPANDARG 377
#define T_INLINEARRAY 378
#define T_ARRAYARG 379
#define T_INLINEDIC 380
#define T_DICELM 381
#define T_WITHDOT 382
#define T_THIS_PROXY 383
#define T_WITHDOT_PROXY 384
#define T_CONSTVAL 385
#define T_SYMBOL 386
#define T_REGEXP 387
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE
#line 60 "tjs.y"
{
tjs_int num;
tTJSExprNode * np;
}
/* Line 1489 of yacc.c. */
#line 318 "tjs.tab.h"
YYSTYPE;
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
# define YYSTYPE_IS_TRIVIAL 1
#endif
}
| [
"811197881@qq.com"
] | 811197881@qq.com |
23c963fe0be9322bb3edee7faa012f773163756b | 07074962be026c67519a0ccfb3d48bd95ede38ed | /Forms/c5saledoc.h | 06685ae163cca1ebba2977147efb552467d77df7 | [] | no_license | End1-1/Cafe5 | 2fa65c62f395c186e2204f3fb941a2f93fd3a653 | ba2b695c627cf59260a3ac1134927198c004fe53 | refs/heads/master | 2023-08-17T02:39:29.224396 | 2023-08-14T06:37:55 | 2023-08-14T06:37:55 | 151,380,276 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,543 | h | #ifndef C5SALEDOC_H
#define C5SALEDOC_H
#include "c5widget.h"
#include "cpartners.h"
#include "odraftsale.h"
#include "odraftsalebody.h"
#include <QJsonObject>
namespace Ui {
class C5SaleDoc;
}
static const int PRICEMODE_RETAIL = 1;
static const int PRICEMODE_WHOSALE = 2;
#define REPORT_HANDLER_SALE_DOC_OPEN_DRAFT "39617ca7-8fa4-11ed-8ad3-1078d2d2b808"
class C5SaleDoc : public C5Widget
{
Q_OBJECT
public:
explicit C5SaleDoc(const QStringList &dbParams, QWidget *parent = nullptr);
~C5SaleDoc();
void setMode(int mode);
virtual bool reportHandler(const QString &handleId, const QVariant &data);
virtual QToolBar *toolBar() override;
bool openDoc(const QString &uuid);
private slots:
void amountDoubleClicked();
void printSale();
void fiscale();
void createInvoiceAS();
void createRetailAS();
void makeStoreOutput();
void exportToExcel();
void messageResult(QJsonObject jo);
void saveDataChanges();
void saveAsDraft();
void saveCopy();
void removeDoc();
void uuidDoubleClicked();
void on_PriceTextChanged(const QString &arg1);
void on_QtyTextChanged(const QString &arg1);
void on_discountValueChanged(const QString &arg1);
void on_leCmd_returnPressed();
void on_btnAddGoods_clicked();
void on_btnRemoveGoods_clicked();
void on_btnEditGoods_clicked();
void on_btnNewGoods_clicked();
void on_cbHall_currentIndexChanged(int index);
void on_btnSearchTaxpayer_clicked();
void on_btnRemoveDelivery_clicked();
void on_btnDelivery_clicked();
void on_btnEditPartner_clicked();
void on_btnEditAccounts_clicked();
void on_leCash_textChanged(const QString &arg1);
void on_btnDeliveryMan_clicked();
private:
Ui::C5SaleDoc *ui;
CPartners fPartner;
ODraftSale fDraftSale;
ODraftSaleBody fDraftSaleBody;
int fMode;
QAction *fActionSave;
QAction *fActionDraft;
QAction *fActionCopy;
QAction *fRemoveAction;
QAction *fPrintTax;
int addGoods(int goodsId, C5Database &db);
int addGoods(int store, int goodsId, const QString &barcode, const QString &name, const QString &unitname, double qty, double price, double discount, int isService);
void countGrandTotal();
bool openDraft(const QString &id);
void setPartner();
void setPartner(const CPartners &p);
void setDeliveryMan();
void exportToAs(int doctype);
bool fOpenedFromDraft;
QMap<int, QString> fListOfStorages;
QMap<int, double> fSpecialPrices;
};
#endif // C5SALEDOC_H
| [
"end1_1@yahoo.com"
] | end1_1@yahoo.com |
9321de9ca49afe7fa691ee61406a58ed7c4d329e | ab0dcab89f39d12746ad2b3506e1c2c34d8f1bf4 | /POJ/1947/9310297_AC_16ms_752kB.cpp | 8b260d53f1a854dfa7fd2339aa1b92b52b878e72 | [] | no_license | lum7na/ACM | f672583ff3022bc916d9cd3d721f0a464b287042 | fa667f4105450ec48e9b1d1b062f1444b6f0da32 | refs/heads/main | 2023-05-06T21:23:13.069269 | 2021-06-01T11:56:16 | 2021-06-01T11:56:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,132 | cpp | #include<cstdio>
#include<algorithm>
#include<cstdlib>
#include<iostream>
#include<cstring>
#include<cmath>
using namespace std;
const int maxn=150;
int root;
struct edge
{
int to,nxt;
}
edges[maxn+5];
int n,fa[maxn+5],p;
int tot,head[maxn+5];
int f[maxn+5][maxn+5];
inline void add_edge(int from,int to)
{
edges[++tot].to=to;
edges[tot].nxt=head[from];
head[from]=tot;
return;
}
void dfs(int u)
{
int ud=0;
for (int i=head[u];i;i=edges[i].nxt) {
if (edges[i].to!=fa[u]) {
ud++;
}
}
f[u][1]=ud+1;
for (int i=2;i<=p;++i) {
f[u][i]=maxn<<1;
}
for (int i=head[u];i;i=edges[i].nxt) {
int v=edges[i].to;
dfs(v);
for (int j=p;j>1;--j) {
for (int k=1;k<j;++k) {
f[u][j]=min(f[u][j],f[v][k]+f[u][j-k]-2);
}
}
}
return;
}
int main()
{
scanf("%d%d",&n,&p);
int fr,t;
for (int i=1;i<=n-1;++i) {
scanf("%d%d",&fr,&t);
fa[t]=fr;
add_edge(fr,t);
}
root=1;
while (fa[root]) {
root=fa[root];
}
dfs(root);
int ans=maxn;
f[root][p]--;
for (int i=1;i<=n;++i) {
ans=min(ans,f[i][p]);
}
printf("%d\n",ans);
return 0;
} | [
"aster2632@gmail.com"
] | aster2632@gmail.com |
2328ffd6676b8dc4c55c782f3de9930307146b05 | a1135c0745cf2210d547af55a9bb732818cd4216 | /src/cpp/omicron/api/context/__context.hpp | c78a939eeb95c89d40859a6b0118a30a1ecb8371 | [] | no_license | DavidSaxon/Omicron | bb8138ed55af8769a757c2493d66174dbd7e80b7 | 88adf810740f6728deb02ebeeb3808bb4a5f1ed2 | refs/heads/master | 2020-04-05T22:58:10.105260 | 2018-01-17T09:57:20 | 2018-01-17T09:57:20 | 68,196,461 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 368 | hpp | /*!
* \file
* \brief Documents the omi::context namespace.
* \author David Saxon
*/
#ifndef OMICRON_API_CONTEXT_HPP_
#define OMICRON_API_CONTEXT_HPP_
namespace omi
{
/*!
* \brief Module for providing and managing the context in which Omicron is
* running.
*/
namespace context
{
} // namespace context
} // namespace omi
#endif
| [
"davidesaxon@gmail.com"
] | davidesaxon@gmail.com |
d4e3eb0742a8c144eea7cae9c4f894fa18c32639 | 24e95324f159c58077637c6deaae8073e8052837 | /share_tuning/shared_tools/clientMsg&structAnalysis/Analysis/CRange.h | a5bcb591c86632b3a85c5776882028878de09bb0 | [] | no_license | jgyh1987/eagle_server | 21ff627ef5c9bc0b961f16114c4c0dfce92c9c57 | 341ea9649b6ddac82fe6ab89a5cb4df044df7443 | refs/heads/master | 2022-10-07T11:35:18.559726 | 2020-06-08T11:06:59 | 2020-06-08T11:06:59 | 270,552,049 | 1 | 2 | null | null | null | null | GB18030 | C++ | false | false | 45,682 | h | // 从类型库向导中用“添加类”创建的计算机生成的 IDispatch 包装类
//#import "D:\\Office\\Office14\\EXCEL.EXE" no_namespace
// CRange 包装类
class CRange : public COleDispatchDriver
{
public:
CRange(){} // 调用 COleDispatchDriver 默认构造函数
CRange(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
CRange(const CRange& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// 特性
public:
// 操作
public:
// Range 方法
public:
LPDISPATCH get_Application()
{
LPDISPATCH result;
InvokeHelper(0x94, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
long get_Creator()
{
long result;
InvokeHelper(0x95, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
LPDISPATCH get_Parent()
{
LPDISPATCH result;
InvokeHelper(0x96, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
VARIANT Activate()
{
VARIANT result;
InvokeHelper(0x130, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
return result;
}
VARIANT get_AddIndent()
{
VARIANT result;
InvokeHelper(0x427, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
return result;
}
void put_AddIndent(VARIANT& newValue)
{
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0x427, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, &newValue);
}
CString get_Address(VARIANT& RowAbsolute, VARIANT& ColumnAbsolute, long ReferenceStyle, VARIANT& External, VARIANT& RelativeTo)
{
CString result;
static BYTE parms[] = VTS_VARIANT VTS_VARIANT VTS_I4 VTS_VARIANT VTS_VARIANT ;
InvokeHelper(0xec, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms, &RowAbsolute, &ColumnAbsolute, ReferenceStyle, &External, &RelativeTo);
return result;
}
CString get_AddressLocal(VARIANT& RowAbsolute, VARIANT& ColumnAbsolute, long ReferenceStyle, VARIANT& External, VARIANT& RelativeTo)
{
CString result;
static BYTE parms[] = VTS_VARIANT VTS_VARIANT VTS_I4 VTS_VARIANT VTS_VARIANT ;
InvokeHelper(0x1b5, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms, &RowAbsolute, &ColumnAbsolute, ReferenceStyle, &External, &RelativeTo);
return result;
}
VARIANT AdvancedFilter(long Action, VARIANT& CriteriaRange, VARIANT& CopyToRange, VARIANT& Unique)
{
VARIANT result;
static BYTE parms[] = VTS_I4 VTS_VARIANT VTS_VARIANT VTS_VARIANT ;
InvokeHelper(0x36c, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, Action, &CriteriaRange, &CopyToRange, &Unique);
return result;
}
VARIANT ApplyNames(VARIANT& Names, VARIANT& IgnoreRelativeAbsolute, VARIANT& UseRowColumnNames, VARIANT& OmitColumn, VARIANT& OmitRow, long Order, VARIANT& AppendLast)
{
VARIANT result;
static BYTE parms[] = VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_I4 VTS_VARIANT ;
InvokeHelper(0x1b9, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, &Names, &IgnoreRelativeAbsolute, &UseRowColumnNames, &OmitColumn, &OmitRow, Order, &AppendLast);
return result;
}
VARIANT ApplyOutlineStyles()
{
VARIANT result;
InvokeHelper(0x1c0, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
return result;
}
LPDISPATCH get_Areas()
{
LPDISPATCH result;
InvokeHelper(0x238, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
CString AutoComplete(LPCTSTR String)
{
CString result;
static BYTE parms[] = VTS_BSTR ;
InvokeHelper(0x4a1, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms, String);
return result;
}
VARIANT AutoFill(LPDISPATCH Destination, long Type)
{
VARIANT result;
static BYTE parms[] = VTS_DISPATCH VTS_I4 ;
InvokeHelper(0x1c1, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, Destination, Type);
return result;
}
VARIANT AutoFilter(VARIANT& Field, VARIANT& Criteria1, long Operator, VARIANT& Criteria2, VARIANT& VisibleDropDown)
{
VARIANT result;
static BYTE parms[] = VTS_VARIANT VTS_VARIANT VTS_I4 VTS_VARIANT VTS_VARIANT ;
InvokeHelper(0x319, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, &Field, &Criteria1, Operator, &Criteria2, &VisibleDropDown);
return result;
}
VARIANT AutoFit()
{
VARIANT result;
InvokeHelper(0xed, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
return result;
}
VARIANT AutoFormat(long Format, VARIANT& Number, VARIANT& Font, VARIANT& Alignment, VARIANT& Border, VARIANT& Pattern, VARIANT& Width)
{
VARIANT result;
static BYTE parms[] = VTS_I4 VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT ;
InvokeHelper(0x72, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, Format, &Number, &Font, &Alignment, &Border, &Pattern, &Width);
return result;
}
VARIANT AutoOutline()
{
VARIANT result;
InvokeHelper(0x40c, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
return result;
}
VARIANT _BorderAround(VARIANT& LineStyle, long Weight, long ColorIndex, VARIANT& Color)
{
VARIANT result;
static BYTE parms[] = VTS_VARIANT VTS_I4 VTS_I4 VTS_VARIANT ;
InvokeHelper(0x42b, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, &LineStyle, Weight, ColorIndex, &Color);
return result;
}
LPDISPATCH get_Borders()
{
LPDISPATCH result;
InvokeHelper(0x1b3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
VARIANT Calculate()
{
VARIANT result;
InvokeHelper(0x117, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
return result;
}
LPDISPATCH get_Cells()
{
LPDISPATCH result;
InvokeHelper(0xee, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
LPDISPATCH get_Characters(VARIANT& Start, VARIANT& Length)
{
LPDISPATCH result;
static BYTE parms[] = VTS_VARIANT VTS_VARIANT ;
InvokeHelper(0x25b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms, &Start, &Length);
return result;
}
VARIANT CheckSpelling(VARIANT& CustomDictionary, VARIANT& IgnoreUppercase, VARIANT& AlwaysSuggest, VARIANT& SpellLang)
{
VARIANT result;
static BYTE parms[] = VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT ;
InvokeHelper(0x1f9, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, &CustomDictionary, &IgnoreUppercase, &AlwaysSuggest, &SpellLang);
return result;
}
VARIANT Clear()
{
VARIANT result;
InvokeHelper(0x6f, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
return result;
}
VARIANT ClearContents()
{
VARIANT result;
InvokeHelper(0x71, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
return result;
}
VARIANT ClearFormats()
{
VARIANT result;
InvokeHelper(0x70, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
return result;
}
VARIANT ClearNotes()
{
VARIANT result;
InvokeHelper(0xef, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
return result;
}
VARIANT ClearOutline()
{
VARIANT result;
InvokeHelper(0x40d, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
return result;
}
long get_Column()
{
long result;
InvokeHelper(0xf0, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
LPDISPATCH ColumnDifferences(VARIANT& Comparison)
{
LPDISPATCH result;
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0x1fe, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, &Comparison);
return result;
}
LPDISPATCH get_Columns()
{
LPDISPATCH result;
InvokeHelper(0xf1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
VARIANT get_ColumnWidth()
{
VARIANT result;
InvokeHelper(0xf2, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
return result;
}
void put_ColumnWidth(VARIANT& newValue)
{
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0xf2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, &newValue);
}
VARIANT Consolidate(VARIANT& Sources, VARIANT& Function, VARIANT& TopRow, VARIANT& LeftColumn, VARIANT& CreateLinks)
{
VARIANT result;
static BYTE parms[] = VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT ;
InvokeHelper(0x1e2, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, &Sources, &Function, &TopRow, &LeftColumn, &CreateLinks);
return result;
}
VARIANT Copy(VARIANT& Destination)
{
VARIANT result;
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0x227, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, &Destination);
return result;
}
long CopyFromRecordset(LPUNKNOWN Data, VARIANT& MaxRows, VARIANT& MaxColumns)
{
long result;
static BYTE parms[] = VTS_UNKNOWN VTS_VARIANT VTS_VARIANT ;
InvokeHelper(0x480, DISPATCH_METHOD, VT_I4, (void*)&result, parms, Data, &MaxRows, &MaxColumns);
return result;
}
VARIANT CopyPicture(long Appearance, long Format)
{
VARIANT result;
static BYTE parms[] = VTS_I4 VTS_I4 ;
InvokeHelper(0xd5, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, Appearance, Format);
return result;
}
long get_Count()
{
long result;
InvokeHelper(0x76, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
VARIANT CreateNames(VARIANT& Top, VARIANT& Left, VARIANT& Bottom, VARIANT& Right)
{
VARIANT result;
static BYTE parms[] = VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT ;
InvokeHelper(0x1c9, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, &Top, &Left, &Bottom, &Right);
return result;
}
VARIANT CreatePublisher(VARIANT& Edition, long Appearance, VARIANT& ContainsPICT, VARIANT& ContainsBIFF, VARIANT& ContainsRTF, VARIANT& ContainsVALU)
{
VARIANT result;
static BYTE parms[] = VTS_VARIANT VTS_I4 VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT ;
InvokeHelper(0x1ca, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, &Edition, Appearance, &ContainsPICT, &ContainsBIFF, &ContainsRTF, &ContainsVALU);
return result;
}
LPDISPATCH get_CurrentArray()
{
LPDISPATCH result;
InvokeHelper(0x1f5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
LPDISPATCH get_CurrentRegion()
{
LPDISPATCH result;
InvokeHelper(0xf3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
VARIANT Cut(VARIANT& Destination)
{
VARIANT result;
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0x235, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, &Destination);
return result;
}
VARIANT DataSeries(VARIANT& Rowcol, long Type, long Date, VARIANT& Step, VARIANT& Stop, VARIANT& Trend)
{
VARIANT result;
static BYTE parms[] = VTS_VARIANT VTS_I4 VTS_I4 VTS_VARIANT VTS_VARIANT VTS_VARIANT ;
InvokeHelper(0x1d0, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, &Rowcol, Type, Date, &Step, &Stop, &Trend);
return result;
}
VARIANT get__Default(VARIANT& RowIndex, VARIANT& ColumnIndex)
{
VARIANT result;
static BYTE parms[] = VTS_VARIANT VTS_VARIANT ;
InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms, &RowIndex, &ColumnIndex);
return result;
}
void put__Default(VARIANT& RowIndex, VARIANT& ColumnIndex, VARIANT& newValue)
{
static BYTE parms[] = VTS_VARIANT VTS_VARIANT VTS_VARIANT ;
InvokeHelper(0x0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, &RowIndex, &ColumnIndex, &newValue);
}
VARIANT Delete(VARIANT& Shift)
{
VARIANT result;
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0x75, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, &Shift);
return result;
}
LPDISPATCH get_Dependents()
{
LPDISPATCH result;
InvokeHelper(0x21f, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
VARIANT _DialogBox()
{
VARIANT result;
InvokeHelper(0xf5, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
return result;
}
LPDISPATCH get_DirectDependents()
{
LPDISPATCH result;
InvokeHelper(0x221, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
LPDISPATCH get_DirectPrecedents()
{
LPDISPATCH result;
InvokeHelper(0x222, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
VARIANT EditionOptions(long Type, long Option, VARIANT& Name, VARIANT& Reference, long Appearance, long ChartSize, VARIANT& Format)
{
VARIANT result;
static BYTE parms[] = VTS_I4 VTS_I4 VTS_VARIANT VTS_VARIANT VTS_I4 VTS_I4 VTS_VARIANT ;
InvokeHelper(0x46b, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, Type, Option, &Name, &Reference, Appearance, ChartSize, &Format);
return result;
}
LPDISPATCH get_End(long Direction)
{
LPDISPATCH result;
static BYTE parms[] = VTS_I4 ;
InvokeHelper(0x1f4, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms, Direction);
return result;
}
LPDISPATCH get_EntireColumn()
{
LPDISPATCH result;
InvokeHelper(0xf6, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
LPDISPATCH get_EntireRow()
{
LPDISPATCH result;
InvokeHelper(0xf7, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
VARIANT FillDown()
{
VARIANT result;
InvokeHelper(0xf8, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
return result;
}
VARIANT FillLeft()
{
VARIANT result;
InvokeHelper(0xf9, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
return result;
}
VARIANT FillRight()
{
VARIANT result;
InvokeHelper(0xfa, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
return result;
}
VARIANT FillUp()
{
VARIANT result;
InvokeHelper(0xfb, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
return result;
}
LPDISPATCH Find(VARIANT& What, VARIANT& After, VARIANT& LookIn, VARIANT& LookAt, VARIANT& SearchOrder, long SearchDirection, VARIANT& MatchCase, VARIANT& MatchByte, VARIANT& SearchFormat)
{
LPDISPATCH result;
static BYTE parms[] = VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_I4 VTS_VARIANT VTS_VARIANT VTS_VARIANT ;
InvokeHelper(0x18e, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, &What, &After, &LookIn, &LookAt, &SearchOrder, SearchDirection, &MatchCase, &MatchByte, &SearchFormat);
return result;
}
LPDISPATCH FindNext(VARIANT& After)
{
LPDISPATCH result;
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0x18f, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, &After);
return result;
}
LPDISPATCH FindPrevious(VARIANT& After)
{
LPDISPATCH result;
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0x190, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, &After);
return result;
}
LPDISPATCH get_Font()
{
LPDISPATCH result;
InvokeHelper(0x92, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
VARIANT get_Formula()
{
VARIANT result;
InvokeHelper(0x105, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
return result;
}
void put_Formula(VARIANT& newValue)
{
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0x105, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, &newValue);
}
VARIANT get_FormulaArray()
{
VARIANT result;
InvokeHelper(0x24a, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
return result;
}
void put_FormulaArray(VARIANT& newValue)
{
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0x24a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, &newValue);
}
long get_FormulaLabel()
{
long result;
InvokeHelper(0x564, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
void put_FormulaLabel(long newValue)
{
static BYTE parms[] = VTS_I4 ;
InvokeHelper(0x564, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
}
VARIANT get_FormulaHidden()
{
VARIANT result;
InvokeHelper(0x106, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
return result;
}
void put_FormulaHidden(VARIANT& newValue)
{
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0x106, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, &newValue);
}
VARIANT get_FormulaLocal()
{
VARIANT result;
InvokeHelper(0x107, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
return result;
}
void put_FormulaLocal(VARIANT& newValue)
{
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0x107, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, &newValue);
}
VARIANT get_FormulaR1C1()
{
VARIANT result;
InvokeHelper(0x108, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
return result;
}
void put_FormulaR1C1(VARIANT& newValue)
{
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0x108, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, &newValue);
}
VARIANT get_FormulaR1C1Local()
{
VARIANT result;
InvokeHelper(0x109, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
return result;
}
void put_FormulaR1C1Local(VARIANT& newValue)
{
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0x109, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, &newValue);
}
VARIANT FunctionWizard()
{
VARIANT result;
InvokeHelper(0x23b, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
return result;
}
BOOL GoalSeek(VARIANT& Goal, LPDISPATCH ChangingCell)
{
BOOL result;
static BYTE parms[] = VTS_VARIANT VTS_DISPATCH ;
InvokeHelper(0x1d8, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms, &Goal, ChangingCell);
return result;
}
VARIANT Group(VARIANT& Start, VARIANT& End, VARIANT& By, VARIANT& Periods)
{
VARIANT result;
static BYTE parms[] = VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT ;
InvokeHelper(0x2e, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, &Start, &End, &By, &Periods);
return result;
}
VARIANT get_HasArray()
{
VARIANT result;
InvokeHelper(0x10a, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
return result;
}
VARIANT get_HasFormula()
{
VARIANT result;
InvokeHelper(0x10b, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
return result;
}
VARIANT get_Height()
{
VARIANT result;
InvokeHelper(0x7b, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
return result;
}
VARIANT get_Hidden()
{
VARIANT result;
InvokeHelper(0x10c, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
return result;
}
void put_Hidden(VARIANT& newValue)
{
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0x10c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, &newValue);
}
VARIANT get_HorizontalAlignment()
{
VARIANT result;
InvokeHelper(0x88, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
return result;
}
void put_HorizontalAlignment(VARIANT& newValue)
{
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0x88, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, &newValue);
}
VARIANT get_IndentLevel()
{
VARIANT result;
InvokeHelper(0xc9, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
return result;
}
void put_IndentLevel(VARIANT& newValue)
{
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0xc9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, &newValue);
}
void InsertIndent(long InsertAmount)
{
static BYTE parms[] = VTS_I4 ;
InvokeHelper(0x565, DISPATCH_METHOD, VT_EMPTY, NULL, parms, InsertAmount);
}
VARIANT Insert(VARIANT& Shift, VARIANT& CopyOrigin)
{
VARIANT result;
static BYTE parms[] = VTS_VARIANT VTS_VARIANT ;
InvokeHelper(0xfc, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, &Shift, &CopyOrigin);
return result;
}
LPDISPATCH get_Interior()
{
LPDISPATCH result;
InvokeHelper(0x81, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
VARIANT get_Item(VARIANT& RowIndex, VARIANT& ColumnIndex)
{
VARIANT result;
static BYTE parms[] = VTS_VARIANT VTS_VARIANT ;
InvokeHelper(0xaa, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms, &RowIndex, &ColumnIndex);
return result;
}
void put_Item(VARIANT& RowIndex, VARIANT& ColumnIndex, VARIANT& newValue)
{
static BYTE parms[] = VTS_VARIANT VTS_VARIANT VTS_VARIANT ;
InvokeHelper(0xaa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, &RowIndex, &ColumnIndex, &newValue);
}
VARIANT Justify()
{
VARIANT result;
InvokeHelper(0x1ef, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
return result;
}
VARIANT get_Left()
{
VARIANT result;
InvokeHelper(0x7f, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
return result;
}
long get_ListHeaderRows()
{
long result;
InvokeHelper(0x4a3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
VARIANT ListNames()
{
VARIANT result;
InvokeHelper(0xfd, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
return result;
}
long get_LocationInTable()
{
long result;
InvokeHelper(0x2b3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
VARIANT get_Locked()
{
VARIANT result;
InvokeHelper(0x10d, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
return result;
}
void put_Locked(VARIANT& newValue)
{
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0x10d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, &newValue);
}
void Merge(VARIANT& Across)
{
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0x234, DISPATCH_METHOD, VT_EMPTY, NULL, parms, &Across);
}
void UnMerge()
{
InvokeHelper(0x568, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
LPDISPATCH get_MergeArea()
{
LPDISPATCH result;
InvokeHelper(0x569, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
VARIANT get_MergeCells()
{
VARIANT result;
InvokeHelper(0xd0, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
return result;
}
void put_MergeCells(VARIANT& newValue)
{
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0xd0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, &newValue);
}
VARIANT get_Name()
{
VARIANT result;
InvokeHelper(0x6e, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
return result;
}
void put_Name(VARIANT& newValue)
{
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0x6e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, &newValue);
}
VARIANT NavigateArrow(VARIANT& TowardPrecedent, VARIANT& ArrowNumber, VARIANT& LinkNumber)
{
VARIANT result;
static BYTE parms[] = VTS_VARIANT VTS_VARIANT VTS_VARIANT ;
InvokeHelper(0x408, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, &TowardPrecedent, &ArrowNumber, &LinkNumber);
return result;
}
LPUNKNOWN get__NewEnum()
{
LPUNKNOWN result;
InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
return result;
}
LPDISPATCH get_Next()
{
LPDISPATCH result;
InvokeHelper(0x1f6, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
CString NoteText(VARIANT& Text, VARIANT& Start, VARIANT& Length)
{
CString result;
static BYTE parms[] = VTS_VARIANT VTS_VARIANT VTS_VARIANT ;
InvokeHelper(0x467, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms, &Text, &Start, &Length);
return result;
}
VARIANT get_NumberFormat()
{
VARIANT result;
InvokeHelper(0xc1, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
return result;
}
void put_NumberFormat(VARIANT& newValue)
{
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0xc1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, &newValue);
}
VARIANT get_NumberFormatLocal()
{
VARIANT result;
InvokeHelper(0x449, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
return result;
}
void put_NumberFormatLocal(VARIANT& newValue)
{
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0x449, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, &newValue);
}
LPDISPATCH get_Offset(VARIANT& RowOffset, VARIANT& ColumnOffset)
{
LPDISPATCH result;
static BYTE parms[] = VTS_VARIANT VTS_VARIANT ;
InvokeHelper(0xfe, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms, &RowOffset, &ColumnOffset);
return result;
}
VARIANT get_Orientation()
{
VARIANT result;
InvokeHelper(0x86, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
return result;
}
void put_Orientation(VARIANT& newValue)
{
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0x86, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, &newValue);
}
VARIANT get_OutlineLevel()
{
VARIANT result;
InvokeHelper(0x10f, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
return result;
}
void put_OutlineLevel(VARIANT& newValue)
{
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0x10f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, &newValue);
}
long get_PageBreak()
{
long result;
InvokeHelper(0xff, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
void put_PageBreak(long newValue)
{
static BYTE parms[] = VTS_I4 ;
InvokeHelper(0xff, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
}
VARIANT Parse(VARIANT& ParseLine, VARIANT& Destination)
{
VARIANT result;
static BYTE parms[] = VTS_VARIANT VTS_VARIANT ;
InvokeHelper(0x1dd, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, &ParseLine, &Destination);
return result;
}
VARIANT _PasteSpecial(long Paste, long Operation, VARIANT& SkipBlanks, VARIANT& Transpose)
{
VARIANT result;
static BYTE parms[] = VTS_I4 VTS_I4 VTS_VARIANT VTS_VARIANT ;
InvokeHelper(0x403, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, Paste, Operation, &SkipBlanks, &Transpose);
return result;
}
LPDISPATCH get_PivotField()
{
LPDISPATCH result;
InvokeHelper(0x2db, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
LPDISPATCH get_PivotItem()
{
LPDISPATCH result;
InvokeHelper(0x2e4, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
LPDISPATCH get_PivotTable()
{
LPDISPATCH result;
InvokeHelper(0x2cc, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
LPDISPATCH get_Precedents()
{
LPDISPATCH result;
InvokeHelper(0x220, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
VARIANT get_PrefixCharacter()
{
VARIANT result;
InvokeHelper(0x1f8, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
return result;
}
LPDISPATCH get_Previous()
{
LPDISPATCH result;
InvokeHelper(0x1f7, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
VARIANT __PrintOut(VARIANT& From, VARIANT& To, VARIANT& Copies, VARIANT& Preview, VARIANT& ActivePrinter, VARIANT& PrintToFile, VARIANT& Collate)
{
VARIANT result;
static BYTE parms[] = VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT ;
InvokeHelper(0x389, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, &From, &To, &Copies, &Preview, &ActivePrinter, &PrintToFile, &Collate);
return result;
}
VARIANT PrintPreview(VARIANT& EnableChanges)
{
VARIANT result;
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0x119, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, &EnableChanges);
return result;
}
LPDISPATCH get_QueryTable()
{
LPDISPATCH result;
InvokeHelper(0x56a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
LPDISPATCH get_Range(VARIANT& Cell1, VARIANT& Cell2)
{
LPDISPATCH result;
static BYTE parms[] = VTS_VARIANT VTS_VARIANT ;
InvokeHelper(0xc5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms, &Cell1, &Cell2);
return result;
}
VARIANT RemoveSubtotal()
{
VARIANT result;
InvokeHelper(0x373, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
return result;
}
BOOL Replace(VARIANT& What, VARIANT& Replacement, VARIANT& LookAt, VARIANT& SearchOrder, VARIANT& MatchCase, VARIANT& MatchByte, VARIANT& SearchFormat, VARIANT& ReplaceFormat)
{
BOOL result;
static BYTE parms[] = VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT ;
InvokeHelper(0xe2, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms, &What, &Replacement, &LookAt, &SearchOrder, &MatchCase, &MatchByte, &SearchFormat, &ReplaceFormat);
return result;
}
LPDISPATCH get_Resize(VARIANT& RowSize, VARIANT& ColumnSize)
{
LPDISPATCH result;
static BYTE parms[] = VTS_VARIANT VTS_VARIANT ;
InvokeHelper(0x100, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms, &RowSize, &ColumnSize);
return result;
}
long get_Row()
{
long result;
InvokeHelper(0x101, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
LPDISPATCH RowDifferences(VARIANT& Comparison)
{
LPDISPATCH result;
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0x1ff, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, &Comparison);
return result;
}
VARIANT get_RowHeight()
{
VARIANT result;
InvokeHelper(0x110, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
return result;
}
void put_RowHeight(VARIANT& newValue)
{
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0x110, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, &newValue);
}
LPDISPATCH get_Rows()
{
LPDISPATCH result;
InvokeHelper(0x102, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
VARIANT Run(VARIANT& Arg1, VARIANT& Arg2, VARIANT& Arg3, VARIANT& Arg4, VARIANT& Arg5, VARIANT& Arg6, VARIANT& Arg7, VARIANT& Arg8, VARIANT& Arg9, VARIANT& Arg10, VARIANT& Arg11, VARIANT& Arg12, VARIANT& Arg13, VARIANT& Arg14, VARIANT& Arg15, VARIANT& Arg16, VARIANT& Arg17, VARIANT& Arg18, VARIANT& Arg19, VARIANT& Arg20, VARIANT& Arg21, VARIANT& Arg22, VARIANT& Arg23, VARIANT& Arg24, VARIANT& Arg25, VARIANT& Arg26, VARIANT& Arg27, VARIANT& Arg28, VARIANT& Arg29, VARIANT& Arg30)
{
VARIANT result;
static BYTE parms[] = VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT ;
InvokeHelper(0x103, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, &Arg1, &Arg2, &Arg3, &Arg4, &Arg5, &Arg6, &Arg7, &Arg8, &Arg9, &Arg10, &Arg11, &Arg12, &Arg13, &Arg14, &Arg15, &Arg16, &Arg17, &Arg18, &Arg19, &Arg20, &Arg21, &Arg22, &Arg23, &Arg24, &Arg25, &Arg26, &Arg27, &Arg28, &Arg29, &Arg30);
return result;
}
VARIANT Select()
{
VARIANT result;
InvokeHelper(0xeb, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
return result;
}
VARIANT Show()
{
VARIANT result;
InvokeHelper(0x1f0, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
return result;
}
VARIANT ShowDependents(VARIANT& Remove)
{
VARIANT result;
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0x36d, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, &Remove);
return result;
}
VARIANT get_ShowDetail()
{
VARIANT result;
InvokeHelper(0x249, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
return result;
}
void put_ShowDetail(VARIANT& newValue)
{
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0x249, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, &newValue);
}
VARIANT ShowErrors()
{
VARIANT result;
InvokeHelper(0x36e, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
return result;
}
VARIANT ShowPrecedents(VARIANT& Remove)
{
VARIANT result;
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0x36f, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, &Remove);
return result;
}
VARIANT get_ShrinkToFit()
{
VARIANT result;
InvokeHelper(0xd1, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
return result;
}
void put_ShrinkToFit(VARIANT& newValue)
{
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0xd1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, &newValue);
}
VARIANT Sort(VARIANT& Key1, long Order1, VARIANT& Key2, VARIANT& Type, long Order2, VARIANT& Key3, long Order3, long Header, VARIANT& OrderCustom, VARIANT& MatchCase, long Orientation, long SortMethod, long DataOption1, long DataOption2, long DataOption3)
{
VARIANT result;
static BYTE parms[] = VTS_VARIANT VTS_I4 VTS_VARIANT VTS_VARIANT VTS_I4 VTS_VARIANT VTS_I4 VTS_I4 VTS_VARIANT VTS_VARIANT VTS_I4 VTS_I4 VTS_I4 VTS_I4 VTS_I4 ;
InvokeHelper(0x370, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, &Key1, Order1, &Key2, &Type, Order2, &Key3, Order3, Header, &OrderCustom, &MatchCase, Orientation, SortMethod, DataOption1, DataOption2, DataOption3);
return result;
}
VARIANT SortSpecial(long SortMethod, VARIANT& Key1, long Order1, VARIANT& Type, VARIANT& Key2, long Order2, VARIANT& Key3, long Order3, long Header, VARIANT& OrderCustom, VARIANT& MatchCase, long Orientation, long DataOption1, long DataOption2, long DataOption3)
{
VARIANT result;
static BYTE parms[] = VTS_I4 VTS_VARIANT VTS_I4 VTS_VARIANT VTS_VARIANT VTS_I4 VTS_VARIANT VTS_I4 VTS_I4 VTS_VARIANT VTS_VARIANT VTS_I4 VTS_I4 VTS_I4 VTS_I4 ;
InvokeHelper(0x371, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, SortMethod, &Key1, Order1, &Type, &Key2, Order2, &Key3, Order3, Header, &OrderCustom, &MatchCase, Orientation, DataOption1, DataOption2, DataOption3);
return result;
}
LPDISPATCH get_SoundNote()
{
LPDISPATCH result;
InvokeHelper(0x394, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
LPDISPATCH SpecialCells(long Type, VARIANT& Value)
{
LPDISPATCH result;
static BYTE parms[] = VTS_I4 VTS_VARIANT ;
InvokeHelper(0x19a, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, Type, &Value);
return result;
}
VARIANT get_Style()
{
VARIANT result;
InvokeHelper(0x104, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
return result;
}
void put_Style(VARIANT& newValue)
{
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0x104, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, &newValue);
}
VARIANT SubscribeTo(LPCTSTR Edition, long Format)
{
VARIANT result;
static BYTE parms[] = VTS_BSTR VTS_I4 ;
InvokeHelper(0x1e1, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, Edition, Format);
return result;
}
VARIANT Subtotal(long GroupBy, long Function, VARIANT& TotalList, VARIANT& Replace, VARIANT& PageBreaks, long SummaryBelowData)
{
VARIANT result;
static BYTE parms[] = VTS_I4 VTS_I4 VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_I4 ;
InvokeHelper(0x372, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, GroupBy, Function, &TotalList, &Replace, &PageBreaks, SummaryBelowData);
return result;
}
VARIANT get_Summary()
{
VARIANT result;
InvokeHelper(0x111, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
return result;
}
VARIANT Table(VARIANT& RowInput, VARIANT& ColumnInput)
{
VARIANT result;
static BYTE parms[] = VTS_VARIANT VTS_VARIANT ;
InvokeHelper(0x1f1, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, &RowInput, &ColumnInput);
return result;
}
VARIANT get_Text()
{
VARIANT result;
InvokeHelper(0x8a, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
return result;
}
VARIANT TextToColumns(VARIANT& Destination, long DataType, long TextQualifier, VARIANT& ConsecutiveDelimiter, VARIANT& Tab, VARIANT& Semicolon, VARIANT& Comma, VARIANT& Space, VARIANT& Other, VARIANT& OtherChar, VARIANT& FieldInfo, VARIANT& DecimalSeparator, VARIANT& ThousandsSeparator, VARIANT& TrailingMinusNumbers)
{
VARIANT result;
static BYTE parms[] = VTS_VARIANT VTS_I4 VTS_I4 VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT ;
InvokeHelper(0x410, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, &Destination, DataType, TextQualifier, &ConsecutiveDelimiter, &Tab, &Semicolon, &Comma, &Space, &Other, &OtherChar, &FieldInfo, &DecimalSeparator, &ThousandsSeparator, &TrailingMinusNumbers);
return result;
}
VARIANT get_Top()
{
VARIANT result;
InvokeHelper(0x7e, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
return result;
}
VARIANT Ungroup()
{
VARIANT result;
InvokeHelper(0xf4, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
return result;
}
VARIANT get_UseStandardHeight()
{
VARIANT result;
InvokeHelper(0x112, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
return result;
}
void put_UseStandardHeight(VARIANT& newValue)
{
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0x112, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, &newValue);
}
VARIANT get_UseStandardWidth()
{
VARIANT result;
InvokeHelper(0x113, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
return result;
}
void put_UseStandardWidth(VARIANT& newValue)
{
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0x113, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, &newValue);
}
LPDISPATCH get_Validation()
{
LPDISPATCH result;
InvokeHelper(0x56b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
VARIANT get_Value(VARIANT& RangeValueDataType)
{
VARIANT result;
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms, &RangeValueDataType);
return result;
}
void put_Value(VARIANT& RangeValueDataType, VARIANT& newValue)
{
static BYTE parms[] = VTS_VARIANT VTS_VARIANT ;
InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, &RangeValueDataType, &newValue);
}
VARIANT get_Value2()
{
VARIANT result;
InvokeHelper(0x56c, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
return result;
}
void put_Value2(VARIANT& newValue)
{
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0x56c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, &newValue);
}
VARIANT get_VerticalAlignment()
{
VARIANT result;
InvokeHelper(0x89, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
return result;
}
void put_VerticalAlignment(VARIANT& newValue)
{
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0x89, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, &newValue);
}
VARIANT get_Width()
{
VARIANT result;
InvokeHelper(0x7a, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
return result;
}
LPDISPATCH get_Worksheet()
{
LPDISPATCH result;
InvokeHelper(0x15c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
VARIANT get_WrapText()
{
VARIANT result;
InvokeHelper(0x114, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
return result;
}
void put_WrapText(VARIANT& newValue)
{
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0x114, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, &newValue);
}
LPDISPATCH AddComment(VARIANT& Text)
{
LPDISPATCH result;
static BYTE parms[] = VTS_VARIANT ;
InvokeHelper(0x56d, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, &Text);
return result;
}
LPDISPATCH get_Comment()
{
LPDISPATCH result;
InvokeHelper(0x38e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
void ClearComments()
{
InvokeHelper(0x56e, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
LPDISPATCH get_Phonetic()
{
LPDISPATCH result;
InvokeHelper(0x56f, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
LPDISPATCH get_FormatConditions()
{
LPDISPATCH result;
InvokeHelper(0x570, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
long get_ReadingOrder()
{
long result;
InvokeHelper(0x3cf, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
void put_ReadingOrder(long newValue)
{
static BYTE parms[] = VTS_I4 ;
InvokeHelper(0x3cf, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
}
LPDISPATCH get_Hyperlinks()
{
LPDISPATCH result;
InvokeHelper(0x571, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
LPDISPATCH get_Phonetics()
{
LPDISPATCH result;
InvokeHelper(0x713, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
void SetPhonetic()
{
InvokeHelper(0x714, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
CString get_ID()
{
CString result;
InvokeHelper(0x715, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
return result;
}
void put_ID(LPCTSTR newValue)
{
static BYTE parms[] = VTS_BSTR ;
InvokeHelper(0x715, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
}
VARIANT _PrintOut(VARIANT& From, VARIANT& To, VARIANT& Copies, VARIANT& Preview, VARIANT& ActivePrinter, VARIANT& PrintToFile, VARIANT& Collate, VARIANT& PrToFileName)
{
VARIANT result;
static BYTE parms[] = VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT ;
InvokeHelper(0x6ec, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, &From, &To, &Copies, &Preview, &ActivePrinter, &PrintToFile, &Collate, &PrToFileName);
return result;
}
LPDISPATCH get_PivotCell()
{
LPDISPATCH result;
InvokeHelper(0x7dd, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
void Dirty()
{
InvokeHelper(0x7de, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
LPDISPATCH get_Errors()
{
LPDISPATCH result;
InvokeHelper(0x7df, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
LPDISPATCH get_SmartTags()
{
LPDISPATCH result;
InvokeHelper(0x7e0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
void Speak(VARIANT& SpeakDirection, VARIANT& SpeakFormulas)
{
static BYTE parms[] = VTS_VARIANT VTS_VARIANT ;
InvokeHelper(0x7e1, DISPATCH_METHOD, VT_EMPTY, NULL, parms, &SpeakDirection, &SpeakFormulas);
}
VARIANT PasteSpecial(long Paste, long Operation, VARIANT& SkipBlanks, VARIANT& Transpose)
{
VARIANT result;
static BYTE parms[] = VTS_I4 VTS_I4 VTS_VARIANT VTS_VARIANT ;
InvokeHelper(0x788, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, Paste, Operation, &SkipBlanks, &Transpose);
return result;
}
BOOL get_AllowEdit()
{
BOOL result;
InvokeHelper(0x7e4, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
return result;
}
LPDISPATCH get_ListObject()
{
LPDISPATCH result;
InvokeHelper(0x8d1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
LPDISPATCH get_XPath()
{
LPDISPATCH result;
InvokeHelper(0x8d2, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
LPDISPATCH get_ServerActions()
{
LPDISPATCH result;
InvokeHelper(0x9bb, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
void RemoveDuplicates(VARIANT& Columns, long Header)
{
static BYTE parms[] = VTS_VARIANT VTS_I4 ;
InvokeHelper(0x9bc, DISPATCH_METHOD, VT_EMPTY, NULL, parms, &Columns, Header);
}
VARIANT PrintOut(VARIANT& From, VARIANT& To, VARIANT& Copies, VARIANT& Preview, VARIANT& ActivePrinter, VARIANT& PrintToFile, VARIANT& Collate, VARIANT& PrToFileName)
{
VARIANT result;
static BYTE parms[] = VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT ;
InvokeHelper(0x939, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, &From, &To, &Copies, &Preview, &ActivePrinter, &PrintToFile, &Collate, &PrToFileName);
return result;
}
CString get_MDX()
{
CString result;
InvokeHelper(0x84b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
return result;
}
void ExportAsFixedFormat(long Type, VARIANT& Filename, VARIANT& Quality, VARIANT& IncludeDocProperties, VARIANT& IgnorePrintAreas, VARIANT& From, VARIANT& To, VARIANT& OpenAfterPublish, VARIANT& FixedFormatExtClassPtr)
{
static BYTE parms[] = VTS_I4 VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT ;
InvokeHelper(0x9bd, DISPATCH_METHOD, VT_EMPTY, NULL, parms, Type, &Filename, &Quality, &IncludeDocProperties, &IgnorePrintAreas, &From, &To, &OpenAfterPublish, &FixedFormatExtClassPtr);
}
VARIANT get_CountLarge()
{
VARIANT result;
InvokeHelper(0x9c3, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
return result;
}
VARIANT CalculateRowMajorOrder()
{
VARIANT result;
InvokeHelper(0x93c, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
return result;
}
LPDISPATCH get_SparklineGroups()
{
LPDISPATCH result;
InvokeHelper(0xb25, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
void ClearHyperlinks()
{
InvokeHelper(0xb26, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
LPDISPATCH get_DisplayFormat()
{
LPDISPATCH result;
InvokeHelper(0x29a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
VARIANT BorderAround(VARIANT& LineStyle, long Weight, long ColorIndex, VARIANT& Color, VARIANT& ThemeColor)
{
VARIANT result;
static BYTE parms[] = VTS_VARIANT VTS_I4 VTS_I4 VTS_VARIANT VTS_VARIANT ;
InvokeHelper(0xad3, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, &LineStyle, Weight, ColorIndex, &Color, &ThemeColor);
return result;
}
void AllocateChanges()
{
InvokeHelper(0xb27, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
void DiscardChanges()
{
InvokeHelper(0xb28, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
// Range 属性
public:
};
| [
"jgyh1987@outlook.com"
] | jgyh1987@outlook.com |
5aa8bbba79560d47179236f07f49a0da2235e85a | 382d8ac9f617cc2030df89bbe09a98fefaeeb84b | /Temp/StagingArea/Data/il2cppOutput/Generics6.cpp | f8131ff0cc111d20ab79b5da87e44f773dff6eec | [] | no_license | MoTalhaK/Spellsword | c863710e01e5b35be83c456de198e6492e3dddf4 | b6d1d40abb3c9c0e006e0b6d3b01816de986b2a8 | refs/heads/master | 2022-12-06T19:21:22.023621 | 2020-09-01T01:34:47 | 2020-09-01T01:34:47 | 291,847,763 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,362,903 | 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, typename T1, typename T2>
struct VirtFuncInvoker2
{
typedef R (*Func)(void*, T1, T2, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
return ((Func)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
}
};
template <typename R>
struct InterfaceFuncInvoker0
{
typedef R (*Func)(void*, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
return ((Func)invokeData.methodPtr)(obj, invokeData.method);
}
};
template <typename T1, typename T2>
struct InterfaceActionInvoker2
{
typedef void (*Action)(void*, T1, T2, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1, T2 p2)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
((Action)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
}
};
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);
}
};
// System.AsyncCallback
struct AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4;
// System.Char[]
struct CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2;
// System.Collections.Generic.EqualityComparer`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>
struct EqualityComparer_1_t41502C277E18047AC2005F5FB63267CB4C010B77;
// System.Collections.Generic.EqualityComparer`1<System.Int32>
struct EqualityComparer_1_tD28B3D4DAAA1A752CBFAD1CB2EFA5ED1CB8C3B20;
// System.Collections.Generic.EqualityComparer`1<System.Int32Enum>
struct EqualityComparer_1_tD1E45FFD2812F3A647E425E6427770FF0DA20DD4;
// System.Collections.Generic.EqualityComparer`1<System.Object>
struct EqualityComparer_1_t54972BA287ED38B066E4BE7A3B21F49803B62EBA;
// System.Collections.Generic.EqualityComparer`1<System.Single>
struct EqualityComparer_1_t628A7CE59BA6CF00FD8DD4E64C6B270228072BAA;
// System.Collections.Generic.EqualityComparer`1<System.UInt32>
struct EqualityComparer_1_tDDD15C1EE67655D8910B42D856F52279F5E62114;
// System.Collections.Generic.EqualityComparer`1<TMPro.SpriteAssetUtilities.TexturePacker/SpriteData>
struct EqualityComparer_1_t5AE428F5422000B69378E01CDEC66C25A5CCDC3C;
// System.Collections.Generic.EqualityComparer`1<UnityEngine.BeforeRenderHelper/OrderBlock>
struct EqualityComparer_1_t0D8A0D07F0A489FDE0EF7548F8FB0525D28F70F7;
// System.Collections.Generic.EqualityComparer`1<UnityEngine.Color32>
struct EqualityComparer_1_t64516AE22515640CA46E6ACDBB51EB38AE8BA243;
// System.Collections.Generic.EqualityComparer`1<UnityEngine.EventSystems.RaycastResult>
struct EqualityComparer_1_t4814B5237F2155B9F52EA643AB3CCEBDC093964A;
// System.Collections.Generic.EqualityComparer`1<UnityEngine.TextCore.GlyphRect>
struct EqualityComparer_1_tCDF71D565EF681A3FA07FEA641ACF98768CDF0D2;
// System.Collections.Generic.EqualityComparer`1<UnityEngine.UICharInfo>
struct EqualityComparer_1_tC9FE6AC7127ED7A22F717A9EF3208401E3C1D28D;
// System.Collections.Generic.EqualityComparer`1<UnityEngine.UILineInfo>
struct EqualityComparer_1_tF33A333C3CC9DCBB0DA73EBB7975182A3CA3FDB6;
// System.Collections.Generic.IComparer`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>
struct IComparer_1_t64E60BCD08EF6D401324D467E53CA76F07D37499;
// System.Collections.Generic.IComparer`1<System.Int32>
struct IComparer_1_t5D09F75F75FD32CDCD24671DFD58441DFA9F5C14;
// System.Collections.Generic.IComparer`1<System.Int32Enum>
struct IComparer_1_tDE193EEAAC2A0DCE9E6E86125B3C7C924691FA1F;
// System.Collections.Generic.IComparer`1<System.Object>
struct IComparer_1_tFF77EB203CF12E843446A71A6581145AB929D681;
// System.Collections.Generic.IComparer`1<System.Single>
struct IComparer_1_t1B55C9BD9F311FD9C4D74FD1B53D03B0ED13FFA2;
// System.Collections.Generic.IComparer`1<System.UInt32>
struct IComparer_1_tEB35069A836D01D7A23FAC5AFD86DFE89E95706C;
// System.Collections.Generic.IComparer`1<TMPro.SpriteAssetUtilities.TexturePacker/SpriteData>
struct IComparer_1_t339EE346010F5E8932BC996D6926D835088EC4A7;
// System.Collections.Generic.IComparer`1<UnityEngine.BeforeRenderHelper/OrderBlock>
struct IComparer_1_t8F80D4DF6FBA578DDD5B6EAAF84A1FCDEB0828A1;
// System.Collections.Generic.IComparer`1<UnityEngine.Color32>
struct IComparer_1_t780B89F9CF3647217CE365F865F1BF99288ACC7E;
// System.Collections.Generic.IComparer`1<UnityEngine.EventSystems.RaycastResult>
struct IComparer_1_tD56AD87538FE4FF764203A24496ABA560CFC19EB;
// System.Collections.Generic.IComparer`1<UnityEngine.TextCore.GlyphRect>
struct IComparer_1_t323D9953C3D9320138D36EFF6E3B93523E9A3180;
// System.Collections.Generic.IComparer`1<UnityEngine.UICharInfo>
struct IComparer_1_t4AA347BDFF17F581F6D385BE12618F732D939221;
// System.Collections.Generic.IComparer`1<UnityEngine.UILineInfo>
struct IComparer_1_t10820B7180200CFAD1A5C5B1CCFD9C75E9E48130;
// System.Collections.Generic.IEnumerable`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>
struct IEnumerable_1_t7EA8738DF24761DD1EFDB765E90724F080D40DFD;
// System.Collections.Generic.IEnumerable`1<System.Int32>
struct IEnumerable_1_tC8E2D23A5937714ABB338DF7C65563ABED65CF05;
// System.Collections.Generic.IEnumerable`1<System.Int32Enum>
struct IEnumerable_1_tADB64B0DE6EDBF8E9A8B2DFA59DAF94491BBEE93;
// System.Collections.Generic.IEnumerable`1<System.Object>
struct IEnumerable_1_t2F75FCBEC68AFE08982DA43985F9D04056E2BE73;
// System.Collections.Generic.IEnumerable`1<System.Single>
struct IEnumerable_1_t694AB0BB5090818473AA9742BF34524DF94A1752;
// System.Collections.Generic.IEnumerable`1<System.UInt32>
struct IEnumerable_1_t7AAAA2CA521EC8E3F0262DD36D4768030BC0183D;
// System.Collections.Generic.IEnumerable`1<TMPro.SpriteAssetUtilities.TexturePacker/SpriteData>
struct IEnumerable_1_tA0C4DC026D2F2FE99604B3398FB298D9604EA4BA;
// System.Collections.Generic.IEnumerable`1<UnityEngine.BeforeRenderHelper/OrderBlock>
struct IEnumerable_1_tDB8BA212085C1ED49E795142E69DB8DA05A560B5;
// System.Collections.Generic.IEnumerable`1<UnityEngine.Color32>
struct IEnumerable_1_tC34308B97624C2209462D5474C109D5DE8BD4766;
// System.Collections.Generic.IEnumerable`1<UnityEngine.EventSystems.RaycastResult>
struct IEnumerable_1_tFB007337D2A4FE4CE50A845FDC374E3577C17594;
// System.Collections.Generic.IEnumerable`1<UnityEngine.TextCore.GlyphRect>
struct IEnumerable_1_t9FD88762C43E7044BC696581DBD4A2BCB82C12EB;
// System.Collections.Generic.IEnumerable`1<UnityEngine.UICharInfo>
struct IEnumerable_1_t928C66016C0ED082A2E7A656A4F966332BB8C67F;
// System.Collections.Generic.IEnumerable`1<UnityEngine.UILineInfo>
struct IEnumerable_1_t9F041148D6D1EA41048C85AF437254D75D89661D;
// System.Collections.Generic.IEnumerator`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>
struct IEnumerator_1_t02CDE13F75AA835D240C4E98BC35C5BC1C75C771;
// System.Collections.Generic.IEnumerator`1<System.Int32>
struct IEnumerator_1_t7348E69CA57FC75395C9BBB4A9FBB33953F29F27;
// System.Collections.Generic.IEnumerator`1<System.Int32Enum>
struct IEnumerator_1_tBB5C38D596DD71B1D803D2D1704C3875810E562D;
// System.Collections.Generic.IEnumerator`1<System.Object>
struct IEnumerator_1_tDDB69E91697CCB64C7993B651487CEEC287DB7E8;
// System.Collections.Generic.IEnumerator`1<System.Single>
struct IEnumerator_1_t5BBF33C66D868C3B9C722A703D57C2AD3F18EE30;
// System.Collections.Generic.IEnumerator`1<System.UInt32>
struct IEnumerator_1_t6AEF21B80E2C499BFFB48F8148C3026FBBA3FD72;
// System.Collections.Generic.IEnumerator`1<TMPro.SpriteAssetUtilities.TexturePacker/SpriteData>
struct IEnumerator_1_t8AB68640B6526C7B8B84203E43E892F2CEB0FA7D;
// System.Collections.Generic.IEnumerator`1<UnityEngine.BeforeRenderHelper/OrderBlock>
struct IEnumerator_1_tE2F8D4A421684600068EBB3AF066CA5F08047FD0;
// System.Collections.Generic.IEnumerator`1<UnityEngine.Color32>
struct IEnumerator_1_t89E84748B8A8ECCBFDC1B8AF282F39C1B0470BFB;
// System.Collections.Generic.IEnumerator`1<UnityEngine.EventSystems.RaycastResult>
struct IEnumerator_1_t047EAC24C3224F85251F58ED4F44DFD1CAA99ED5;
// System.Collections.Generic.IEnumerator`1<UnityEngine.TextCore.GlyphRect>
struct IEnumerator_1_t605EC216AD9E1D76B14541F47208F354CB258576;
// System.Collections.Generic.IEnumerator`1<UnityEngine.UICharInfo>
struct IEnumerator_1_t8BACD0A5653C9EF3F3B73A16CE7D8422ED8FFE26;
// System.Collections.Generic.IEnumerator`1<UnityEngine.UILineInfo>
struct IEnumerator_1_t4711B822D8694A476CDD5392E3E136838267D179;
// System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>[]
struct KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F;
// System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>
struct List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1;
// System.Collections.Generic.List`1<System.Int32>
struct List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226;
// System.Collections.Generic.List`1<System.Int32Enum>
struct List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5;
// System.Collections.Generic.List`1<System.Object>
struct List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D;
// System.Collections.Generic.List`1<System.Single>
struct List_1_t026D7A8C4D989218772DB3E051A624F753A60859;
// System.Collections.Generic.List`1<System.UInt32>
struct List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E;
// System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker/SpriteData>
struct List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3;
// System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper/OrderBlock>
struct List_1_t53AD896B2509A4686D143641030CF022753D3B04;
// System.Collections.Generic.List`1<UnityEngine.Color32>
struct List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5;
// System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>
struct List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098;
// System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>
struct List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65;
// System.Collections.Generic.List`1<UnityEngine.UICharInfo>
struct List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E;
// System.Collections.Generic.List`1<UnityEngine.UILineInfo>
struct List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0;
// System.Collections.IDictionary
struct IDictionary_t1BD5C1546718A374EA8122FBD6C6EE45331E8CE7;
// System.Collections.IEnumerator
struct IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A;
// System.Comparison`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>
struct Comparison_1_t37A6472C2FF8868034B64731ED0ABC8109B82134;
// System.Comparison`1<System.Int32>
struct Comparison_1_t898FB92966481D1802656B2BB8522C0043F7E46C;
// System.Comparison`1<System.Int32Enum>
struct Comparison_1_tE0BDB3162C07BB79AF4389BA623470A0DB3C7C85;
// System.Comparison`1<System.Object>
struct Comparison_1_tD9DBDF7B2E4774B4D35E113A76D75828A24641F4;
// System.Comparison`1<System.Single>
struct Comparison_1_t0F2F1560FCF2F77447EC134DA71446B45D2EAE93;
// System.Comparison`1<System.UInt32>
struct Comparison_1_t98CC2F214ACDF8A5B494DC5FE8F950970933D162;
// System.Comparison`1<TMPro.SpriteAssetUtilities.TexturePacker/SpriteData>
struct Comparison_1_t215BCD9BAE6C7B68EE39E3AE59DDF6DCB98CEDE2;
// System.Comparison`1<UnityEngine.BeforeRenderHelper/OrderBlock>
struct Comparison_1_t2750BC60B871C841F4E818A35A01BE474BFD2C35;
// System.Comparison`1<UnityEngine.Color32>
struct Comparison_1_t54C69F0A1CCDDEC074608AA299DD5E8D7A326BF8;
// System.Comparison`1<UnityEngine.EventSystems.RaycastResult>
struct Comparison_1_t80059259E2DC99461F7DF9B43BA93054613AE703;
// System.Comparison`1<UnityEngine.TextCore.GlyphRect>
struct Comparison_1_tA112B99450F000327B9D39D349B33EF8CCB7AAB5;
// System.Comparison`1<UnityEngine.UICharInfo>
struct Comparison_1_t466148B80A0CDD1A10C47BE09DBF7E4CBA31073F;
// System.Comparison`1<UnityEngine.UILineInfo>
struct Comparison_1_t75D7367587B69E92B30A0339100A798843A58F18;
// System.DelegateData
struct DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE;
// System.Delegate[]
struct DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86;
// System.Diagnostics.StackTrace[]
struct StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196;
// System.IAsyncResult
struct IAsyncResult_t8E194308510B375B42432981AE5E7488C458D598;
// System.Int32Enum[]
struct Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A;
// System.Int32[]
struct Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83;
// System.IntPtr[]
struct IntPtrU5BU5D_t4DC01DCB9A6DF6C9792A6513595D7A11E637DCDD;
// System.Object[]
struct ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A;
// System.Predicate`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>
struct Predicate_1_t0CED81C3FC8E7102A1E55F8156E33915BDC8EB2C;
// System.Predicate`1<System.Int32>
struct Predicate_1_t2E795623C97B4C5B38406E9201D0720C5C15895F;
// System.Predicate`1<System.Int32Enum>
struct Predicate_1_t04D23B98D3C2827AAD9018CEB5C22E4F69AE649A;
// System.Predicate`1<System.Object>
struct Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979;
// System.Predicate`1<System.Single>
struct Predicate_1_t841FDBD98DB0D653BF54D71E3481608E51DD4F38;
// System.Predicate`1<System.UInt32>
struct Predicate_1_t3583426FF9E6498ABD95E96A9738B5B9E127CD81;
// System.Predicate`1<TMPro.SpriteAssetUtilities.TexturePacker/SpriteData>
struct Predicate_1_t25A885269834E5D06A3E1557474B708E3430EB8B;
// System.Predicate`1<UnityEngine.BeforeRenderHelper/OrderBlock>
struct Predicate_1_t6021C753A4C8761482AE2125268A1F20CC5302F9;
// System.Predicate`1<UnityEngine.Color32>
struct Predicate_1_tA8093CB95EF5DA7B543ABA099527806A0FE5BD4E;
// System.Predicate`1<UnityEngine.EventSystems.RaycastResult>
struct Predicate_1_t3BE7E6936879AAE7D83581BB6DBEB5AB7966797B;
// System.Predicate`1<UnityEngine.TextCore.GlyphRect>
struct Predicate_1_tB0A5EFEBC66C6A7540167D26FA783AFDCCB2DDD1;
// System.Predicate`1<UnityEngine.UICharInfo>
struct Predicate_1_tBE52451BEC74D597DE894237BB32DFC9015F9697;
// System.Predicate`1<UnityEngine.UILineInfo>
struct Predicate_1_t10822666A90A56FEFE6380CDD491BDEAC56F650D;
// 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.Single[]
struct SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5;
// System.String
struct String_t;
// System.Type
struct Type_t;
// System.Type[]
struct TypeU5BU5D_t7FE623A666B49176DE123306221193E888A12F5F;
// System.UInt32[]
struct UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB;
// System.Void
struct Void_t22962CB4C05B1D89B55A6E1139F0E87A90987017;
// TMPro.SpriteAssetUtilities.TexturePacker/SpriteData[]
struct SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41;
// UnityEngine.BeforeRenderHelper/OrderBlock[]
struct OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101;
// UnityEngine.Color32[]
struct Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983;
// UnityEngine.EventSystems.BaseRaycaster
struct BaseRaycaster_tC7F6105A89F54A38FBFC2659901855FDBB0E3966;
// UnityEngine.EventSystems.RaycastResult[]
struct RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65;
// UnityEngine.Events.UnityAction
struct UnityAction_tD19B26F1B2C048E38FD5801A33573BE01064CAF4;
// UnityEngine.GameObject
struct GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F;
// UnityEngine.TextCore.GlyphRect[]
struct GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2;
// UnityEngine.UICharInfo[]
struct UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482;
// UnityEngine.UILineInfo[]
struct UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC;
IL2CPP_EXTERN_C RuntimeClass* ArrayTypeMismatchException_tE34C1032B089C37399200997F079C640D23D9499_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Type_t_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C const uint32_t List_1_InsertRange_m2030630CB679E659C6CFBA2043144419885154AD_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_InsertRange_m2B1424A6147949362D2003934643C923ECBD1971_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_InsertRange_m31BC754FAF67E8E3FA6A872F5DA284C649E14BA5_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_InsertRange_m57B84B7D021363C84815C88EE6FF9758E7EAA367_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_InsertRange_m592A7DD49332ECA5BFF6854B26C76D5937A4F3F0_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_InsertRange_m927294C11C96B7DC02B417757BE9BEFD83A0D600_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_InsertRange_m93343D24C499ACC090B9B8D01B6487D2A9213CCF_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_InsertRange_m98FACA57F48DE8361B220EAAE8B3C6703F0F864E_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_InsertRange_m9B11750E70D4AC910182F5F184D2C2314D3E0C27_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_InsertRange_mA25DE1C394166BB47F6EAC751FF74E42E1BB5DF2_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_InsertRange_mC6754E7428DC53129213B9ACC713F352544FD6B2_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_InsertRange_mDA924C58C91C39405E803FB5762C56C7167168E6_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_InsertRange_mFBEE52F4E68D54D546671D185BA11ED5D1E20B45_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_ICollection_CopyTo_m4DA4BEF3F2AAB97913CACA9D89431B818BC51728_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_ICollection_CopyTo_m63935B99EB1E849148A0F4A59720E115CE51CBC2_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_ICollection_CopyTo_m64F92858DB2292B81BBDE94E2937E406C04DD3FA_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_ICollection_CopyTo_m6770D1C1CCD56B4EF848AAF42310A3D1B5307753_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_ICollection_CopyTo_m80F44F38C31B29D71B2817C5AF94F6DD762F7A6A_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_ICollection_CopyTo_m8F7D6ABC3DAB079837B362D8DC371CF54785E5AF_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_ICollection_CopyTo_mC5572577110A8F31A8A0FF1F5E8C7A24B8F925D8_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_ICollection_CopyTo_mC5A748367EE915BE0D8240D5C980A8940F3632DD_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_ICollection_CopyTo_mD5B60824294C0616508944EBF432EC4E335C2126_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_ICollection_CopyTo_mD6884FF06AA46F5745166F2DA909012831A61ED4_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_ICollection_CopyTo_mE3FB0FB9FE7E488428B32DC81AE14E2EE2F17055_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_ICollection_CopyTo_mE86E0E4BF71BAEB78929515CDC55D73ED5AC5813_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_ICollection_CopyTo_mEFF4F7888331EA820A0FBC296C7DDD816950112F_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_IList_Add_m01F101E4774EF45005DD661F84D7BB884AEFA4BD_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_IList_Add_m056DAC59995E8EBBA0FD17D6499BA22FC9C726D4_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_IList_Add_m3A29ECD0301EFE2F398E4C44DF940F41DECB873C_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_IList_Add_m3DAAAC6197CED965C70489DB86D6274BAC5BE380_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_IList_Add_m5ACBFCDD463F6E1F759ADCF313B71FA5DB58DC6E_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_IList_Add_m5D52824BF3E8C9AF4206621223F0391148538394_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_IList_Add_m75F800B544214D4F85467017A920E59492512E9D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_IList_Add_m9A9FD9DE848C8BE62B488692CEB5C41CC9187356_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_IList_Add_mA5D5A28AE6BF70C26476D989EC915D050E05F130_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_IList_Add_mA91DB67A7AA58EF2538DC77CDC509FF14B94D375_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_IList_Add_mBFC71BB05E308470008CC2F9E919CC6630B934DA_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_IList_Add_mEC4AC45B55841C74F73A55802A6C3B8E87565D69_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_IList_Add_mEE2918A4B22BD70DE568B2E5347D12182B7CFEE3_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_IList_Insert_m01196B2E5FA166E6DF7F59CBFB20D97811496678_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_IList_Insert_m01ECF0EED9BCAB969C7A9FC58874B336926F3265_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_IList_Insert_m4B03331FA389A41FAB552FDD96BE7893D6BB7A2A_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_IList_Insert_m5FB8BE2EDB34F6053B49AD256D596EF5431D182A_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_IList_Insert_m6EF1D74BCE846799488D162BC6A9CD2F68C01239_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_IList_Insert_m78681DE36BF20BD2AF97F042479507CC159A3260_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_IList_Insert_m83DF13DE42CE00E05C2333B3993323FE449A6773_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_IList_Insert_m9EACBC6EF2A0510E0659A6C8979145451784A23D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_IList_Insert_mAE424C005387B679A05955AAECE7D8E652D8FE2F_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_IList_Insert_mD298B9139FF1078C8D91C33DA09A07075ED4354D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_IList_Insert_mDCD387BFE603E723DB952AC49A1EC6D8D6619E64_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_IList_Insert_mEBFCF7C676A57B847289C6E4F3D12BF453F14152_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_IList_Insert_mF682D1A38C59640934EDAE9CEAC38DC0DFB3D33F_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_IList_set_Item_m20C3743823A2EE6390E9F5D822D7B4AFC6708726_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_IList_set_Item_m3727A55B4B94E6361ACE4C89EC229B5C743BBB48_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_IList_set_Item_m3D6F6CBD14D2BADE96D8CE6D8337A63A71326EA2_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_IList_set_Item_m46624381E5B404D6881066249F7CFD81D99D3956_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_IList_set_Item_m74B625E0B5E6670F3CDE0D738706EF7C332BC8E1_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_IList_set_Item_m7984F35CFB7EAB95D46C223BA08751B091D369DB_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_IList_set_Item_m84BCC5CC727F8FB4F9992F4CF9FE0761E1DA93F6_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_IList_set_Item_m94CD719EF6C15EE5F73E29F5C7D8DB455C27668D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_IList_set_Item_m96374F870346394FF4EB5A69478FEB765DC04795_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_IList_set_Item_mA3BCD1A27AD64AA5EFAED8DB55D5F9ADFBBA0B33_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_IList_set_Item_mBCDC84AD2BDA6EBC5BEBE553039DB3849B03DD6F_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_IList_set_Item_mCA7671A0355D1C006E1A8ED6ED8C21EAC4B40DE4_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1_System_Collections_IList_set_Item_mD4BC420054F913FB21058C11F081BC5F292324C0_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1__ctor_m1BE1F8FC94F8C15E7687168681E4B0A8A1D4A410_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1__ctor_m262B3A833A8A33F720DDF70DABD4C455423A6797_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1__ctor_m54126B56CBD3263172CE7BA63F22A993BE38A774_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1__ctor_m65976823F0D2B843C449B9BCD67218A136D76702_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1__ctor_m6E336459937EBBC514F001464CC3771240EEBB87_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1__ctor_m8EF66A0997160C31C3B91F7F85AABDCE4E8ACB97_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1__ctor_m9D2BDD56C0C5B80580C9980E0EFFAAD14C325E8F_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1__ctor_mA319E338F467BEF0C1FEACB02E0E2B6A0E7B5DD6_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1__ctor_mA3C6566919372E769889B985ED50555533DEA2DF_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1__ctor_mA818A46D4C5A5B6CE1C8765A99AB5D6302567A1B_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1__ctor_mDE5946DE707198389795421A70495D6BBADA8591_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1__ctor_mE1B192A974B35828D394E557FFFB599B5D382268_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t List_1__ctor_mF1F53B294EE3F407C673EE3DDDB7FDB5F81AEF92_MetadataUsageId;
struct Delegate_t_marshaled_com;
struct Delegate_t_marshaled_pinvoke;
struct Exception_t_marshaled_com;
struct Exception_t_marshaled_pinvoke;
struct KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F;
struct Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A;
struct Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83;
struct ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A;
struct SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5;
struct UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB;
struct SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41;
struct OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101;
struct Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983;
struct RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65;
struct GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2;
struct UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482;
struct UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC;
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
// System.Object
struct Il2CppArrayBounds;
// System.Array
// System.Collections.Generic.EqualityComparer`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>
struct EqualityComparer_1_t41502C277E18047AC2005F5FB63267CB4C010B77 : public RuntimeObject
{
public:
public:
};
struct EqualityComparer_1_t41502C277E18047AC2005F5FB63267CB4C010B77_StaticFields
{
public:
// System.Collections.Generic.EqualityComparer`1<T> modreq(System.Runtime.CompilerServices.IsVolatile) System.Collections.Generic.EqualityComparer`1::defaultComparer
EqualityComparer_1_t41502C277E18047AC2005F5FB63267CB4C010B77 * ___defaultComparer_0;
public:
inline static int32_t get_offset_of_defaultComparer_0() { return static_cast<int32_t>(offsetof(EqualityComparer_1_t41502C277E18047AC2005F5FB63267CB4C010B77_StaticFields, ___defaultComparer_0)); }
inline EqualityComparer_1_t41502C277E18047AC2005F5FB63267CB4C010B77 * get_defaultComparer_0() const { return ___defaultComparer_0; }
inline EqualityComparer_1_t41502C277E18047AC2005F5FB63267CB4C010B77 ** get_address_of_defaultComparer_0() { return &___defaultComparer_0; }
inline void set_defaultComparer_0(EqualityComparer_1_t41502C277E18047AC2005F5FB63267CB4C010B77 * value)
{
___defaultComparer_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___defaultComparer_0), (void*)value);
}
};
// System.Collections.Generic.EqualityComparer`1<System.Int32>
struct EqualityComparer_1_tD28B3D4DAAA1A752CBFAD1CB2EFA5ED1CB8C3B20 : public RuntimeObject
{
public:
public:
};
struct EqualityComparer_1_tD28B3D4DAAA1A752CBFAD1CB2EFA5ED1CB8C3B20_StaticFields
{
public:
// System.Collections.Generic.EqualityComparer`1<T> modreq(System.Runtime.CompilerServices.IsVolatile) System.Collections.Generic.EqualityComparer`1::defaultComparer
EqualityComparer_1_tD28B3D4DAAA1A752CBFAD1CB2EFA5ED1CB8C3B20 * ___defaultComparer_0;
public:
inline static int32_t get_offset_of_defaultComparer_0() { return static_cast<int32_t>(offsetof(EqualityComparer_1_tD28B3D4DAAA1A752CBFAD1CB2EFA5ED1CB8C3B20_StaticFields, ___defaultComparer_0)); }
inline EqualityComparer_1_tD28B3D4DAAA1A752CBFAD1CB2EFA5ED1CB8C3B20 * get_defaultComparer_0() const { return ___defaultComparer_0; }
inline EqualityComparer_1_tD28B3D4DAAA1A752CBFAD1CB2EFA5ED1CB8C3B20 ** get_address_of_defaultComparer_0() { return &___defaultComparer_0; }
inline void set_defaultComparer_0(EqualityComparer_1_tD28B3D4DAAA1A752CBFAD1CB2EFA5ED1CB8C3B20 * value)
{
___defaultComparer_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___defaultComparer_0), (void*)value);
}
};
// System.Collections.Generic.EqualityComparer`1<System.Int32Enum>
struct EqualityComparer_1_tD1E45FFD2812F3A647E425E6427770FF0DA20DD4 : public RuntimeObject
{
public:
public:
};
struct EqualityComparer_1_tD1E45FFD2812F3A647E425E6427770FF0DA20DD4_StaticFields
{
public:
// System.Collections.Generic.EqualityComparer`1<T> modreq(System.Runtime.CompilerServices.IsVolatile) System.Collections.Generic.EqualityComparer`1::defaultComparer
EqualityComparer_1_tD1E45FFD2812F3A647E425E6427770FF0DA20DD4 * ___defaultComparer_0;
public:
inline static int32_t get_offset_of_defaultComparer_0() { return static_cast<int32_t>(offsetof(EqualityComparer_1_tD1E45FFD2812F3A647E425E6427770FF0DA20DD4_StaticFields, ___defaultComparer_0)); }
inline EqualityComparer_1_tD1E45FFD2812F3A647E425E6427770FF0DA20DD4 * get_defaultComparer_0() const { return ___defaultComparer_0; }
inline EqualityComparer_1_tD1E45FFD2812F3A647E425E6427770FF0DA20DD4 ** get_address_of_defaultComparer_0() { return &___defaultComparer_0; }
inline void set_defaultComparer_0(EqualityComparer_1_tD1E45FFD2812F3A647E425E6427770FF0DA20DD4 * value)
{
___defaultComparer_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___defaultComparer_0), (void*)value);
}
};
// System.Collections.Generic.EqualityComparer`1<System.Object>
struct EqualityComparer_1_t54972BA287ED38B066E4BE7A3B21F49803B62EBA : public RuntimeObject
{
public:
public:
};
struct EqualityComparer_1_t54972BA287ED38B066E4BE7A3B21F49803B62EBA_StaticFields
{
public:
// System.Collections.Generic.EqualityComparer`1<T> modreq(System.Runtime.CompilerServices.IsVolatile) System.Collections.Generic.EqualityComparer`1::defaultComparer
EqualityComparer_1_t54972BA287ED38B066E4BE7A3B21F49803B62EBA * ___defaultComparer_0;
public:
inline static int32_t get_offset_of_defaultComparer_0() { return static_cast<int32_t>(offsetof(EqualityComparer_1_t54972BA287ED38B066E4BE7A3B21F49803B62EBA_StaticFields, ___defaultComparer_0)); }
inline EqualityComparer_1_t54972BA287ED38B066E4BE7A3B21F49803B62EBA * get_defaultComparer_0() const { return ___defaultComparer_0; }
inline EqualityComparer_1_t54972BA287ED38B066E4BE7A3B21F49803B62EBA ** get_address_of_defaultComparer_0() { return &___defaultComparer_0; }
inline void set_defaultComparer_0(EqualityComparer_1_t54972BA287ED38B066E4BE7A3B21F49803B62EBA * value)
{
___defaultComparer_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___defaultComparer_0), (void*)value);
}
};
// System.Collections.Generic.EqualityComparer`1<System.Single>
struct EqualityComparer_1_t628A7CE59BA6CF00FD8DD4E64C6B270228072BAA : public RuntimeObject
{
public:
public:
};
struct EqualityComparer_1_t628A7CE59BA6CF00FD8DD4E64C6B270228072BAA_StaticFields
{
public:
// System.Collections.Generic.EqualityComparer`1<T> modreq(System.Runtime.CompilerServices.IsVolatile) System.Collections.Generic.EqualityComparer`1::defaultComparer
EqualityComparer_1_t628A7CE59BA6CF00FD8DD4E64C6B270228072BAA * ___defaultComparer_0;
public:
inline static int32_t get_offset_of_defaultComparer_0() { return static_cast<int32_t>(offsetof(EqualityComparer_1_t628A7CE59BA6CF00FD8DD4E64C6B270228072BAA_StaticFields, ___defaultComparer_0)); }
inline EqualityComparer_1_t628A7CE59BA6CF00FD8DD4E64C6B270228072BAA * get_defaultComparer_0() const { return ___defaultComparer_0; }
inline EqualityComparer_1_t628A7CE59BA6CF00FD8DD4E64C6B270228072BAA ** get_address_of_defaultComparer_0() { return &___defaultComparer_0; }
inline void set_defaultComparer_0(EqualityComparer_1_t628A7CE59BA6CF00FD8DD4E64C6B270228072BAA * value)
{
___defaultComparer_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___defaultComparer_0), (void*)value);
}
};
// System.Collections.Generic.EqualityComparer`1<System.UInt32>
struct EqualityComparer_1_tDDD15C1EE67655D8910B42D856F52279F5E62114 : public RuntimeObject
{
public:
public:
};
struct EqualityComparer_1_tDDD15C1EE67655D8910B42D856F52279F5E62114_StaticFields
{
public:
// System.Collections.Generic.EqualityComparer`1<T> modreq(System.Runtime.CompilerServices.IsVolatile) System.Collections.Generic.EqualityComparer`1::defaultComparer
EqualityComparer_1_tDDD15C1EE67655D8910B42D856F52279F5E62114 * ___defaultComparer_0;
public:
inline static int32_t get_offset_of_defaultComparer_0() { return static_cast<int32_t>(offsetof(EqualityComparer_1_tDDD15C1EE67655D8910B42D856F52279F5E62114_StaticFields, ___defaultComparer_0)); }
inline EqualityComparer_1_tDDD15C1EE67655D8910B42D856F52279F5E62114 * get_defaultComparer_0() const { return ___defaultComparer_0; }
inline EqualityComparer_1_tDDD15C1EE67655D8910B42D856F52279F5E62114 ** get_address_of_defaultComparer_0() { return &___defaultComparer_0; }
inline void set_defaultComparer_0(EqualityComparer_1_tDDD15C1EE67655D8910B42D856F52279F5E62114 * value)
{
___defaultComparer_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___defaultComparer_0), (void*)value);
}
};
// System.Collections.Generic.EqualityComparer`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>
struct EqualityComparer_1_t5AE428F5422000B69378E01CDEC66C25A5CCDC3C : public RuntimeObject
{
public:
public:
};
struct EqualityComparer_1_t5AE428F5422000B69378E01CDEC66C25A5CCDC3C_StaticFields
{
public:
// System.Collections.Generic.EqualityComparer`1<T> modreq(System.Runtime.CompilerServices.IsVolatile) System.Collections.Generic.EqualityComparer`1::defaultComparer
EqualityComparer_1_t5AE428F5422000B69378E01CDEC66C25A5CCDC3C * ___defaultComparer_0;
public:
inline static int32_t get_offset_of_defaultComparer_0() { return static_cast<int32_t>(offsetof(EqualityComparer_1_t5AE428F5422000B69378E01CDEC66C25A5CCDC3C_StaticFields, ___defaultComparer_0)); }
inline EqualityComparer_1_t5AE428F5422000B69378E01CDEC66C25A5CCDC3C * get_defaultComparer_0() const { return ___defaultComparer_0; }
inline EqualityComparer_1_t5AE428F5422000B69378E01CDEC66C25A5CCDC3C ** get_address_of_defaultComparer_0() { return &___defaultComparer_0; }
inline void set_defaultComparer_0(EqualityComparer_1_t5AE428F5422000B69378E01CDEC66C25A5CCDC3C * value)
{
___defaultComparer_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___defaultComparer_0), (void*)value);
}
};
// System.Collections.Generic.EqualityComparer`1<UnityEngine.BeforeRenderHelper_OrderBlock>
struct EqualityComparer_1_t0D8A0D07F0A489FDE0EF7548F8FB0525D28F70F7 : public RuntimeObject
{
public:
public:
};
struct EqualityComparer_1_t0D8A0D07F0A489FDE0EF7548F8FB0525D28F70F7_StaticFields
{
public:
// System.Collections.Generic.EqualityComparer`1<T> modreq(System.Runtime.CompilerServices.IsVolatile) System.Collections.Generic.EqualityComparer`1::defaultComparer
EqualityComparer_1_t0D8A0D07F0A489FDE0EF7548F8FB0525D28F70F7 * ___defaultComparer_0;
public:
inline static int32_t get_offset_of_defaultComparer_0() { return static_cast<int32_t>(offsetof(EqualityComparer_1_t0D8A0D07F0A489FDE0EF7548F8FB0525D28F70F7_StaticFields, ___defaultComparer_0)); }
inline EqualityComparer_1_t0D8A0D07F0A489FDE0EF7548F8FB0525D28F70F7 * get_defaultComparer_0() const { return ___defaultComparer_0; }
inline EqualityComparer_1_t0D8A0D07F0A489FDE0EF7548F8FB0525D28F70F7 ** get_address_of_defaultComparer_0() { return &___defaultComparer_0; }
inline void set_defaultComparer_0(EqualityComparer_1_t0D8A0D07F0A489FDE0EF7548F8FB0525D28F70F7 * value)
{
___defaultComparer_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___defaultComparer_0), (void*)value);
}
};
// System.Collections.Generic.EqualityComparer`1<UnityEngine.Color32>
struct EqualityComparer_1_t64516AE22515640CA46E6ACDBB51EB38AE8BA243 : public RuntimeObject
{
public:
public:
};
struct EqualityComparer_1_t64516AE22515640CA46E6ACDBB51EB38AE8BA243_StaticFields
{
public:
// System.Collections.Generic.EqualityComparer`1<T> modreq(System.Runtime.CompilerServices.IsVolatile) System.Collections.Generic.EqualityComparer`1::defaultComparer
EqualityComparer_1_t64516AE22515640CA46E6ACDBB51EB38AE8BA243 * ___defaultComparer_0;
public:
inline static int32_t get_offset_of_defaultComparer_0() { return static_cast<int32_t>(offsetof(EqualityComparer_1_t64516AE22515640CA46E6ACDBB51EB38AE8BA243_StaticFields, ___defaultComparer_0)); }
inline EqualityComparer_1_t64516AE22515640CA46E6ACDBB51EB38AE8BA243 * get_defaultComparer_0() const { return ___defaultComparer_0; }
inline EqualityComparer_1_t64516AE22515640CA46E6ACDBB51EB38AE8BA243 ** get_address_of_defaultComparer_0() { return &___defaultComparer_0; }
inline void set_defaultComparer_0(EqualityComparer_1_t64516AE22515640CA46E6ACDBB51EB38AE8BA243 * value)
{
___defaultComparer_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___defaultComparer_0), (void*)value);
}
};
// System.Collections.Generic.EqualityComparer`1<UnityEngine.EventSystems.RaycastResult>
struct EqualityComparer_1_t4814B5237F2155B9F52EA643AB3CCEBDC093964A : public RuntimeObject
{
public:
public:
};
struct EqualityComparer_1_t4814B5237F2155B9F52EA643AB3CCEBDC093964A_StaticFields
{
public:
// System.Collections.Generic.EqualityComparer`1<T> modreq(System.Runtime.CompilerServices.IsVolatile) System.Collections.Generic.EqualityComparer`1::defaultComparer
EqualityComparer_1_t4814B5237F2155B9F52EA643AB3CCEBDC093964A * ___defaultComparer_0;
public:
inline static int32_t get_offset_of_defaultComparer_0() { return static_cast<int32_t>(offsetof(EqualityComparer_1_t4814B5237F2155B9F52EA643AB3CCEBDC093964A_StaticFields, ___defaultComparer_0)); }
inline EqualityComparer_1_t4814B5237F2155B9F52EA643AB3CCEBDC093964A * get_defaultComparer_0() const { return ___defaultComparer_0; }
inline EqualityComparer_1_t4814B5237F2155B9F52EA643AB3CCEBDC093964A ** get_address_of_defaultComparer_0() { return &___defaultComparer_0; }
inline void set_defaultComparer_0(EqualityComparer_1_t4814B5237F2155B9F52EA643AB3CCEBDC093964A * value)
{
___defaultComparer_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___defaultComparer_0), (void*)value);
}
};
// System.Collections.Generic.EqualityComparer`1<UnityEngine.TextCore.GlyphRect>
struct EqualityComparer_1_tCDF71D565EF681A3FA07FEA641ACF98768CDF0D2 : public RuntimeObject
{
public:
public:
};
struct EqualityComparer_1_tCDF71D565EF681A3FA07FEA641ACF98768CDF0D2_StaticFields
{
public:
// System.Collections.Generic.EqualityComparer`1<T> modreq(System.Runtime.CompilerServices.IsVolatile) System.Collections.Generic.EqualityComparer`1::defaultComparer
EqualityComparer_1_tCDF71D565EF681A3FA07FEA641ACF98768CDF0D2 * ___defaultComparer_0;
public:
inline static int32_t get_offset_of_defaultComparer_0() { return static_cast<int32_t>(offsetof(EqualityComparer_1_tCDF71D565EF681A3FA07FEA641ACF98768CDF0D2_StaticFields, ___defaultComparer_0)); }
inline EqualityComparer_1_tCDF71D565EF681A3FA07FEA641ACF98768CDF0D2 * get_defaultComparer_0() const { return ___defaultComparer_0; }
inline EqualityComparer_1_tCDF71D565EF681A3FA07FEA641ACF98768CDF0D2 ** get_address_of_defaultComparer_0() { return &___defaultComparer_0; }
inline void set_defaultComparer_0(EqualityComparer_1_tCDF71D565EF681A3FA07FEA641ACF98768CDF0D2 * value)
{
___defaultComparer_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___defaultComparer_0), (void*)value);
}
};
// System.Collections.Generic.EqualityComparer`1<UnityEngine.UICharInfo>
struct EqualityComparer_1_tC9FE6AC7127ED7A22F717A9EF3208401E3C1D28D : public RuntimeObject
{
public:
public:
};
struct EqualityComparer_1_tC9FE6AC7127ED7A22F717A9EF3208401E3C1D28D_StaticFields
{
public:
// System.Collections.Generic.EqualityComparer`1<T> modreq(System.Runtime.CompilerServices.IsVolatile) System.Collections.Generic.EqualityComparer`1::defaultComparer
EqualityComparer_1_tC9FE6AC7127ED7A22F717A9EF3208401E3C1D28D * ___defaultComparer_0;
public:
inline static int32_t get_offset_of_defaultComparer_0() { return static_cast<int32_t>(offsetof(EqualityComparer_1_tC9FE6AC7127ED7A22F717A9EF3208401E3C1D28D_StaticFields, ___defaultComparer_0)); }
inline EqualityComparer_1_tC9FE6AC7127ED7A22F717A9EF3208401E3C1D28D * get_defaultComparer_0() const { return ___defaultComparer_0; }
inline EqualityComparer_1_tC9FE6AC7127ED7A22F717A9EF3208401E3C1D28D ** get_address_of_defaultComparer_0() { return &___defaultComparer_0; }
inline void set_defaultComparer_0(EqualityComparer_1_tC9FE6AC7127ED7A22F717A9EF3208401E3C1D28D * value)
{
___defaultComparer_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___defaultComparer_0), (void*)value);
}
};
// System.Collections.Generic.EqualityComparer`1<UnityEngine.UILineInfo>
struct EqualityComparer_1_tF33A333C3CC9DCBB0DA73EBB7975182A3CA3FDB6 : public RuntimeObject
{
public:
public:
};
struct EqualityComparer_1_tF33A333C3CC9DCBB0DA73EBB7975182A3CA3FDB6_StaticFields
{
public:
// System.Collections.Generic.EqualityComparer`1<T> modreq(System.Runtime.CompilerServices.IsVolatile) System.Collections.Generic.EqualityComparer`1::defaultComparer
EqualityComparer_1_tF33A333C3CC9DCBB0DA73EBB7975182A3CA3FDB6 * ___defaultComparer_0;
public:
inline static int32_t get_offset_of_defaultComparer_0() { return static_cast<int32_t>(offsetof(EqualityComparer_1_tF33A333C3CC9DCBB0DA73EBB7975182A3CA3FDB6_StaticFields, ___defaultComparer_0)); }
inline EqualityComparer_1_tF33A333C3CC9DCBB0DA73EBB7975182A3CA3FDB6 * get_defaultComparer_0() const { return ___defaultComparer_0; }
inline EqualityComparer_1_tF33A333C3CC9DCBB0DA73EBB7975182A3CA3FDB6 ** get_address_of_defaultComparer_0() { return &___defaultComparer_0; }
inline void set_defaultComparer_0(EqualityComparer_1_tF33A333C3CC9DCBB0DA73EBB7975182A3CA3FDB6 * value)
{
___defaultComparer_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___defaultComparer_0), (void*)value);
}
};
// System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>
struct List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* ____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_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1, ____items_1)); }
inline KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* get__items_1() const { return ____items_1; }
inline KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* 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_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1, ____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_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1, ____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_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1, ____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_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1_StaticFields, ____emptyArray_5)); }
inline KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* get__emptyArray_5() const { return ____emptyArray_5; }
inline KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Collections.Generic.List`1<System.Int32>
struct List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* ____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_tE1526161A558A17A39A8B69D8EEF3801393B6226, ____items_1)); }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* get__items_1() const { return ____items_1; }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* 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_tE1526161A558A17A39A8B69D8EEF3801393B6226, ____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_tE1526161A558A17A39A8B69D8EEF3801393B6226, ____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_tE1526161A558A17A39A8B69D8EEF3801393B6226, ____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_tE1526161A558A17A39A8B69D8EEF3801393B6226_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226_StaticFields, ____emptyArray_5)); }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* get__emptyArray_5() const { return ____emptyArray_5; }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Collections.Generic.List`1<System.Int32Enum>
struct List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* ____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_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5, ____items_1)); }
inline Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* get__items_1() const { return ____items_1; }
inline Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* 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_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5, ____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_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5, ____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_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5, ____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_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5_StaticFields, ____emptyArray_5)); }
inline Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* get__emptyArray_5() const { return ____emptyArray_5; }
inline Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (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<System.Single>
struct List_1_t026D7A8C4D989218772DB3E051A624F753A60859 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* ____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_t026D7A8C4D989218772DB3E051A624F753A60859, ____items_1)); }
inline SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* get__items_1() const { return ____items_1; }
inline SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* 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_t026D7A8C4D989218772DB3E051A624F753A60859, ____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_t026D7A8C4D989218772DB3E051A624F753A60859, ____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_t026D7A8C4D989218772DB3E051A624F753A60859, ____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_t026D7A8C4D989218772DB3E051A624F753A60859_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t026D7A8C4D989218772DB3E051A624F753A60859_StaticFields, ____emptyArray_5)); }
inline SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* get__emptyArray_5() const { return ____emptyArray_5; }
inline SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Collections.Generic.List`1<System.UInt32>
struct List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* ____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_t49B315A213A231954A3718D77EE3A2AFF443C38E, ____items_1)); }
inline UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* get__items_1() const { return ____items_1; }
inline UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* 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_t49B315A213A231954A3718D77EE3A2AFF443C38E, ____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_t49B315A213A231954A3718D77EE3A2AFF443C38E, ____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_t49B315A213A231954A3718D77EE3A2AFF443C38E, ____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_t49B315A213A231954A3718D77EE3A2AFF443C38E_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E_StaticFields, ____emptyArray_5)); }
inline UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* get__emptyArray_5() const { return ____emptyArray_5; }
inline UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>
struct List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* ____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_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3, ____items_1)); }
inline SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* get__items_1() const { return ____items_1; }
inline SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* 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_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3, ____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_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3, ____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_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3, ____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_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3_StaticFields, ____emptyArray_5)); }
inline SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* get__emptyArray_5() const { return ____emptyArray_5; }
inline SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>
struct List_1_t53AD896B2509A4686D143641030CF022753D3B04 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* ____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_t53AD896B2509A4686D143641030CF022753D3B04, ____items_1)); }
inline OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* get__items_1() const { return ____items_1; }
inline OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* 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_t53AD896B2509A4686D143641030CF022753D3B04, ____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_t53AD896B2509A4686D143641030CF022753D3B04, ____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_t53AD896B2509A4686D143641030CF022753D3B04, ____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_t53AD896B2509A4686D143641030CF022753D3B04_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t53AD896B2509A4686D143641030CF022753D3B04_StaticFields, ____emptyArray_5)); }
inline OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* get__emptyArray_5() const { return ____emptyArray_5; }
inline OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Collections.Generic.List`1<UnityEngine.Color32>
struct List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* ____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_t749ADA5233D9B421293A000DCB83608A24C3D5D5, ____items_1)); }
inline Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* get__items_1() const { return ____items_1; }
inline Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* 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_t749ADA5233D9B421293A000DCB83608A24C3D5D5, ____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_t749ADA5233D9B421293A000DCB83608A24C3D5D5, ____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_t749ADA5233D9B421293A000DCB83608A24C3D5D5, ____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_t749ADA5233D9B421293A000DCB83608A24C3D5D5_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5_StaticFields, ____emptyArray_5)); }
inline Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* get__emptyArray_5() const { return ____emptyArray_5; }
inline Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>
struct List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* ____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_t9B42195BBE4C4201734D1B55FB0B9EC97F597098, ____items_1)); }
inline RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* get__items_1() const { return ____items_1; }
inline RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* 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_t9B42195BBE4C4201734D1B55FB0B9EC97F597098, ____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_t9B42195BBE4C4201734D1B55FB0B9EC97F597098, ____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_t9B42195BBE4C4201734D1B55FB0B9EC97F597098, ____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_t9B42195BBE4C4201734D1B55FB0B9EC97F597098_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098_StaticFields, ____emptyArray_5)); }
inline RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* get__emptyArray_5() const { return ____emptyArray_5; }
inline RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>
struct List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* ____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_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65, ____items_1)); }
inline GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* get__items_1() const { return ____items_1; }
inline GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* 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_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65, ____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_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65, ____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_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65, ____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_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65_StaticFields, ____emptyArray_5)); }
inline GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* get__emptyArray_5() const { return ____emptyArray_5; }
inline GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Collections.Generic.List`1<UnityEngine.UICharInfo>
struct List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* ____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_tD850FBA632A52824016AAA9B3748BA38F51E087E, ____items_1)); }
inline UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* get__items_1() const { return ____items_1; }
inline UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* 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_tD850FBA632A52824016AAA9B3748BA38F51E087E, ____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_tD850FBA632A52824016AAA9B3748BA38F51E087E, ____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_tD850FBA632A52824016AAA9B3748BA38F51E087E, ____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_tD850FBA632A52824016AAA9B3748BA38F51E087E_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E_StaticFields, ____emptyArray_5)); }
inline UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* get__emptyArray_5() const { return ____emptyArray_5; }
inline UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Collections.Generic.List`1<UnityEngine.UILineInfo>
struct List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* ____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_t7687D8368357F4437252DC75BFCE9DE76F3143A0, ____items_1)); }
inline UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* get__items_1() const { return ____items_1; }
inline UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* 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_t7687D8368357F4437252DC75BFCE9DE76F3143A0, ____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_t7687D8368357F4437252DC75BFCE9DE76F3143A0, ____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_t7687D8368357F4437252DC75BFCE9DE76F3143A0, ____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_t7687D8368357F4437252DC75BFCE9DE76F3143A0_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0_StaticFields, ____emptyArray_5)); }
inline UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* get__emptyArray_5() const { return ____emptyArray_5; }
inline UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Reflection.MemberInfo
struct MemberInfo_t : public RuntimeObject
{
public:
public:
};
// 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
{
};
// 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.Collections.Generic.List`1_Enumerator<System.Int32>
struct Enumerator_t1A13F370EC7EA46EA20204D8881CCE685A3C348C
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1_Enumerator::list
List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * ___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
int32_t ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_t1A13F370EC7EA46EA20204D8881CCE685A3C348C, ___list_0)); }
inline List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * get_list_0() const { return ___list_0; }
inline List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * 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_t1A13F370EC7EA46EA20204D8881CCE685A3C348C, ___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_t1A13F370EC7EA46EA20204D8881CCE685A3C348C, ___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_t1A13F370EC7EA46EA20204D8881CCE685A3C348C, ___current_3)); }
inline int32_t get_current_3() const { return ___current_3; }
inline int32_t* get_address_of_current_3() { return &___current_3; }
inline void set_current_3(int32_t value)
{
___current_3 = 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<System.Single>
struct Enumerator_tFAFBEAFCC7B8C7F0A58F04A243A8773B576C4EFD
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1_Enumerator::list
List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * ___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
float ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_tFAFBEAFCC7B8C7F0A58F04A243A8773B576C4EFD, ___list_0)); }
inline List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * get_list_0() const { return ___list_0; }
inline List_1_t026D7A8C4D989218772DB3E051A624F753A60859 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * 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_tFAFBEAFCC7B8C7F0A58F04A243A8773B576C4EFD, ___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_tFAFBEAFCC7B8C7F0A58F04A243A8773B576C4EFD, ___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_tFAFBEAFCC7B8C7F0A58F04A243A8773B576C4EFD, ___current_3)); }
inline float get_current_3() const { return ___current_3; }
inline float* get_address_of_current_3() { return &___current_3; }
inline void set_current_3(float value)
{
___current_3 = value;
}
};
// System.Collections.Generic.List`1_Enumerator<System.UInt32>
struct Enumerator_t6C6061565EA2787387759C1CA5549E561A4FABBC
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1_Enumerator::list
List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * ___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
uint32_t ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_t6C6061565EA2787387759C1CA5549E561A4FABBC, ___list_0)); }
inline List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * get_list_0() const { return ___list_0; }
inline List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * 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_t6C6061565EA2787387759C1CA5549E561A4FABBC, ___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_t6C6061565EA2787387759C1CA5549E561A4FABBC, ___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_t6C6061565EA2787387759C1CA5549E561A4FABBC, ___current_3)); }
inline uint32_t get_current_3() const { return ___current_3; }
inline uint32_t* get_address_of_current_3() { return &___current_3; }
inline void set_current_3(uint32_t value)
{
___current_3 = 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.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.UInt32
struct UInt32_t4980FA09003AFAAB5A6E361BA2748EA9A005709B
{
public:
// System.UInt32 System.UInt32::m_value
uint32_t ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(UInt32_t4980FA09003AFAAB5A6E361BA2748EA9A005709B, ___m_value_0)); }
inline uint32_t get_m_value_0() const { return ___m_value_0; }
inline uint32_t* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(uint32_t value)
{
___m_value_0 = value;
}
};
// System.Void
struct Void_t22962CB4C05B1D89B55A6E1139F0E87A90987017
{
public:
union
{
struct
{
};
uint8_t Void_t22962CB4C05B1D89B55A6E1139F0E87A90987017__padding[1];
};
public:
};
// TMPro.SpriteAssetUtilities.TexturePacker_SpriteFrame
struct SpriteFrame_tDB681A7461FA0C10DA42E9A984BDDD0199AB2C04
{
public:
// System.Single TMPro.SpriteAssetUtilities.TexturePacker_SpriteFrame::x
float ___x_0;
// System.Single TMPro.SpriteAssetUtilities.TexturePacker_SpriteFrame::y
float ___y_1;
// System.Single TMPro.SpriteAssetUtilities.TexturePacker_SpriteFrame::w
float ___w_2;
// System.Single TMPro.SpriteAssetUtilities.TexturePacker_SpriteFrame::h
float ___h_3;
public:
inline static int32_t get_offset_of_x_0() { return static_cast<int32_t>(offsetof(SpriteFrame_tDB681A7461FA0C10DA42E9A984BDDD0199AB2C04, ___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(SpriteFrame_tDB681A7461FA0C10DA42E9A984BDDD0199AB2C04, ___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;
}
inline static int32_t get_offset_of_w_2() { return static_cast<int32_t>(offsetof(SpriteFrame_tDB681A7461FA0C10DA42E9A984BDDD0199AB2C04, ___w_2)); }
inline float get_w_2() const { return ___w_2; }
inline float* get_address_of_w_2() { return &___w_2; }
inline void set_w_2(float value)
{
___w_2 = value;
}
inline static int32_t get_offset_of_h_3() { return static_cast<int32_t>(offsetof(SpriteFrame_tDB681A7461FA0C10DA42E9A984BDDD0199AB2C04, ___h_3)); }
inline float get_h_3() const { return ___h_3; }
inline float* get_address_of_h_3() { return &___h_3; }
inline void set_h_3(float value)
{
___h_3 = value;
}
};
// TMPro.SpriteAssetUtilities.TexturePacker_SpriteSize
struct SpriteSize_t143F23923B1D48E84CB38DCDD532F408936AB67E
{
public:
// System.Single TMPro.SpriteAssetUtilities.TexturePacker_SpriteSize::w
float ___w_0;
// System.Single TMPro.SpriteAssetUtilities.TexturePacker_SpriteSize::h
float ___h_1;
public:
inline static int32_t get_offset_of_w_0() { return static_cast<int32_t>(offsetof(SpriteSize_t143F23923B1D48E84CB38DCDD532F408936AB67E, ___w_0)); }
inline float get_w_0() const { return ___w_0; }
inline float* get_address_of_w_0() { return &___w_0; }
inline void set_w_0(float value)
{
___w_0 = value;
}
inline static int32_t get_offset_of_h_1() { return static_cast<int32_t>(offsetof(SpriteSize_t143F23923B1D48E84CB38DCDD532F408936AB67E, ___h_1)); }
inline float get_h_1() const { return ___h_1; }
inline float* get_address_of_h_1() { return &___h_1; }
inline void set_h_1(float value)
{
___h_1 = value;
}
};
// UnityEngine.BeforeRenderHelper_OrderBlock
struct OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727
{
public:
// System.Int32 UnityEngine.BeforeRenderHelper_OrderBlock::order
int32_t ___order_0;
// UnityEngine.Events.UnityAction UnityEngine.BeforeRenderHelper_OrderBlock::callback
UnityAction_tD19B26F1B2C048E38FD5801A33573BE01064CAF4 * ___callback_1;
public:
inline static int32_t get_offset_of_order_0() { return static_cast<int32_t>(offsetof(OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727, ___order_0)); }
inline int32_t get_order_0() const { return ___order_0; }
inline int32_t* get_address_of_order_0() { return &___order_0; }
inline void set_order_0(int32_t value)
{
___order_0 = value;
}
inline static int32_t get_offset_of_callback_1() { return static_cast<int32_t>(offsetof(OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727, ___callback_1)); }
inline UnityAction_tD19B26F1B2C048E38FD5801A33573BE01064CAF4 * get_callback_1() const { return ___callback_1; }
inline UnityAction_tD19B26F1B2C048E38FD5801A33573BE01064CAF4 ** get_address_of_callback_1() { return &___callback_1; }
inline void set_callback_1(UnityAction_tD19B26F1B2C048E38FD5801A33573BE01064CAF4 * value)
{
___callback_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___callback_1), (void*)value);
}
};
// Native definition for P/Invoke marshalling of UnityEngine.BeforeRenderHelper/OrderBlock
struct OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727_marshaled_pinvoke
{
int32_t ___order_0;
Il2CppMethodPointer ___callback_1;
};
// Native definition for COM marshalling of UnityEngine.BeforeRenderHelper/OrderBlock
struct OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727_marshaled_com
{
int32_t ___order_0;
Il2CppMethodPointer ___callback_1;
};
// UnityEngine.Color32
struct Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23
{
public:
union
{
#pragma pack(push, tp, 1)
struct
{
// System.Int32 UnityEngine.Color32::rgba
int32_t ___rgba_0;
};
#pragma pack(pop, tp)
struct
{
int32_t ___rgba_0_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
// System.Byte UnityEngine.Color32::r
uint8_t ___r_1;
};
#pragma pack(pop, tp)
struct
{
uint8_t ___r_1_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
char ___g_2_OffsetPadding[1];
// System.Byte UnityEngine.Color32::g
uint8_t ___g_2;
};
#pragma pack(pop, tp)
struct
{
char ___g_2_OffsetPadding_forAlignmentOnly[1];
uint8_t ___g_2_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
char ___b_3_OffsetPadding[2];
// System.Byte UnityEngine.Color32::b
uint8_t ___b_3;
};
#pragma pack(pop, tp)
struct
{
char ___b_3_OffsetPadding_forAlignmentOnly[2];
uint8_t ___b_3_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
char ___a_4_OffsetPadding[3];
// System.Byte UnityEngine.Color32::a
uint8_t ___a_4;
};
#pragma pack(pop, tp)
struct
{
char ___a_4_OffsetPadding_forAlignmentOnly[3];
uint8_t ___a_4_forAlignmentOnly;
};
};
public:
inline static int32_t get_offset_of_rgba_0() { return static_cast<int32_t>(offsetof(Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23, ___rgba_0)); }
inline int32_t get_rgba_0() const { return ___rgba_0; }
inline int32_t* get_address_of_rgba_0() { return &___rgba_0; }
inline void set_rgba_0(int32_t value)
{
___rgba_0 = value;
}
inline static int32_t get_offset_of_r_1() { return static_cast<int32_t>(offsetof(Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23, ___r_1)); }
inline uint8_t get_r_1() const { return ___r_1; }
inline uint8_t* get_address_of_r_1() { return &___r_1; }
inline void set_r_1(uint8_t value)
{
___r_1 = value;
}
inline static int32_t get_offset_of_g_2() { return static_cast<int32_t>(offsetof(Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23, ___g_2)); }
inline uint8_t get_g_2() const { return ___g_2; }
inline uint8_t* get_address_of_g_2() { return &___g_2; }
inline void set_g_2(uint8_t value)
{
___g_2 = value;
}
inline static int32_t get_offset_of_b_3() { return static_cast<int32_t>(offsetof(Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23, ___b_3)); }
inline uint8_t get_b_3() const { return ___b_3; }
inline uint8_t* get_address_of_b_3() { return &___b_3; }
inline void set_b_3(uint8_t value)
{
___b_3 = value;
}
inline static int32_t get_offset_of_a_4() { return static_cast<int32_t>(offsetof(Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23, ___a_4)); }
inline uint8_t get_a_4() const { return ___a_4; }
inline uint8_t* get_address_of_a_4() { return &___a_4; }
inline void set_a_4(uint8_t value)
{
___a_4 = value;
}
};
// UnityEngine.TextCore.GlyphRect
struct GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C
{
public:
// System.Int32 UnityEngine.TextCore.GlyphRect::m_X
int32_t ___m_X_0;
// System.Int32 UnityEngine.TextCore.GlyphRect::m_Y
int32_t ___m_Y_1;
// System.Int32 UnityEngine.TextCore.GlyphRect::m_Width
int32_t ___m_Width_2;
// System.Int32 UnityEngine.TextCore.GlyphRect::m_Height
int32_t ___m_Height_3;
public:
inline static int32_t get_offset_of_m_X_0() { return static_cast<int32_t>(offsetof(GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C, ___m_X_0)); }
inline int32_t get_m_X_0() const { return ___m_X_0; }
inline int32_t* get_address_of_m_X_0() { return &___m_X_0; }
inline void set_m_X_0(int32_t value)
{
___m_X_0 = value;
}
inline static int32_t get_offset_of_m_Y_1() { return static_cast<int32_t>(offsetof(GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C, ___m_Y_1)); }
inline int32_t get_m_Y_1() const { return ___m_Y_1; }
inline int32_t* get_address_of_m_Y_1() { return &___m_Y_1; }
inline void set_m_Y_1(int32_t value)
{
___m_Y_1 = value;
}
inline static int32_t get_offset_of_m_Width_2() { return static_cast<int32_t>(offsetof(GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C, ___m_Width_2)); }
inline int32_t get_m_Width_2() const { return ___m_Width_2; }
inline int32_t* get_address_of_m_Width_2() { return &___m_Width_2; }
inline void set_m_Width_2(int32_t value)
{
___m_Width_2 = value;
}
inline static int32_t get_offset_of_m_Height_3() { return static_cast<int32_t>(offsetof(GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C, ___m_Height_3)); }
inline int32_t get_m_Height_3() const { return ___m_Height_3; }
inline int32_t* get_address_of_m_Height_3() { return &___m_Height_3; }
inline void set_m_Height_3(int32_t value)
{
___m_Height_3 = value;
}
};
struct GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C_StaticFields
{
public:
// UnityEngine.TextCore.GlyphRect UnityEngine.TextCore.GlyphRect::s_ZeroGlyphRect
GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C ___s_ZeroGlyphRect_4;
public:
inline static int32_t get_offset_of_s_ZeroGlyphRect_4() { return static_cast<int32_t>(offsetof(GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C_StaticFields, ___s_ZeroGlyphRect_4)); }
inline GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C get_s_ZeroGlyphRect_4() const { return ___s_ZeroGlyphRect_4; }
inline GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C * get_address_of_s_ZeroGlyphRect_4() { return &___s_ZeroGlyphRect_4; }
inline void set_s_ZeroGlyphRect_4(GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C value)
{
___s_ZeroGlyphRect_4 = value;
}
};
// UnityEngine.UILineInfo
struct UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6
{
public:
// System.Int32 UnityEngine.UILineInfo::startCharIdx
int32_t ___startCharIdx_0;
// System.Int32 UnityEngine.UILineInfo::height
int32_t ___height_1;
// System.Single UnityEngine.UILineInfo::topY
float ___topY_2;
// System.Single UnityEngine.UILineInfo::leading
float ___leading_3;
public:
inline static int32_t get_offset_of_startCharIdx_0() { return static_cast<int32_t>(offsetof(UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6, ___startCharIdx_0)); }
inline int32_t get_startCharIdx_0() const { return ___startCharIdx_0; }
inline int32_t* get_address_of_startCharIdx_0() { return &___startCharIdx_0; }
inline void set_startCharIdx_0(int32_t value)
{
___startCharIdx_0 = value;
}
inline static int32_t get_offset_of_height_1() { return static_cast<int32_t>(offsetof(UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6, ___height_1)); }
inline int32_t get_height_1() const { return ___height_1; }
inline int32_t* get_address_of_height_1() { return &___height_1; }
inline void set_height_1(int32_t value)
{
___height_1 = value;
}
inline static int32_t get_offset_of_topY_2() { return static_cast<int32_t>(offsetof(UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6, ___topY_2)); }
inline float get_topY_2() const { return ___topY_2; }
inline float* get_address_of_topY_2() { return &___topY_2; }
inline void set_topY_2(float value)
{
___topY_2 = value;
}
inline static int32_t get_offset_of_leading_3() { return static_cast<int32_t>(offsetof(UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6, ___leading_3)); }
inline float get_leading_3() const { return ___leading_3; }
inline float* get_address_of_leading_3() { return &___leading_3; }
inline void set_leading_3(float value)
{
___leading_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;
}
};
// UnityEngine.Vector3
struct Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720
{
public:
// System.Single UnityEngine.Vector3::x
float ___x_2;
// System.Single UnityEngine.Vector3::y
float ___y_3;
// System.Single UnityEngine.Vector3::z
float ___z_4;
public:
inline static int32_t get_offset_of_x_2() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720, ___x_2)); }
inline float get_x_2() const { return ___x_2; }
inline float* get_address_of_x_2() { return &___x_2; }
inline void set_x_2(float value)
{
___x_2 = value;
}
inline static int32_t get_offset_of_y_3() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720, ___y_3)); }
inline float get_y_3() const { return ___y_3; }
inline float* get_address_of_y_3() { return &___y_3; }
inline void set_y_3(float value)
{
___y_3 = value;
}
inline static int32_t get_offset_of_z_4() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720, ___z_4)); }
inline float get_z_4() const { return ___z_4; }
inline float* get_address_of_z_4() { return &___z_4; }
inline void set_z_4(float value)
{
___z_4 = value;
}
};
struct Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields
{
public:
// UnityEngine.Vector3 UnityEngine.Vector3::zeroVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___zeroVector_5;
// UnityEngine.Vector3 UnityEngine.Vector3::oneVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___oneVector_6;
// UnityEngine.Vector3 UnityEngine.Vector3::upVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___upVector_7;
// UnityEngine.Vector3 UnityEngine.Vector3::downVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___downVector_8;
// UnityEngine.Vector3 UnityEngine.Vector3::leftVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___leftVector_9;
// UnityEngine.Vector3 UnityEngine.Vector3::rightVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___rightVector_10;
// UnityEngine.Vector3 UnityEngine.Vector3::forwardVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___forwardVector_11;
// UnityEngine.Vector3 UnityEngine.Vector3::backVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___backVector_12;
// UnityEngine.Vector3 UnityEngine.Vector3::positiveInfinityVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___positiveInfinityVector_13;
// UnityEngine.Vector3 UnityEngine.Vector3::negativeInfinityVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___negativeInfinityVector_14;
public:
inline static int32_t get_offset_of_zeroVector_5() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___zeroVector_5)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_zeroVector_5() const { return ___zeroVector_5; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_zeroVector_5() { return &___zeroVector_5; }
inline void set_zeroVector_5(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___zeroVector_5 = value;
}
inline static int32_t get_offset_of_oneVector_6() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___oneVector_6)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_oneVector_6() const { return ___oneVector_6; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_oneVector_6() { return &___oneVector_6; }
inline void set_oneVector_6(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___oneVector_6 = value;
}
inline static int32_t get_offset_of_upVector_7() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___upVector_7)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_upVector_7() const { return ___upVector_7; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_upVector_7() { return &___upVector_7; }
inline void set_upVector_7(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___upVector_7 = value;
}
inline static int32_t get_offset_of_downVector_8() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___downVector_8)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_downVector_8() const { return ___downVector_8; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_downVector_8() { return &___downVector_8; }
inline void set_downVector_8(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___downVector_8 = value;
}
inline static int32_t get_offset_of_leftVector_9() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___leftVector_9)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_leftVector_9() const { return ___leftVector_9; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_leftVector_9() { return &___leftVector_9; }
inline void set_leftVector_9(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___leftVector_9 = value;
}
inline static int32_t get_offset_of_rightVector_10() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___rightVector_10)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_rightVector_10() const { return ___rightVector_10; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_rightVector_10() { return &___rightVector_10; }
inline void set_rightVector_10(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___rightVector_10 = value;
}
inline static int32_t get_offset_of_forwardVector_11() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___forwardVector_11)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_forwardVector_11() const { return ___forwardVector_11; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_forwardVector_11() { return &___forwardVector_11; }
inline void set_forwardVector_11(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___forwardVector_11 = value;
}
inline static int32_t get_offset_of_backVector_12() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___backVector_12)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_backVector_12() const { return ___backVector_12; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_backVector_12() { return &___backVector_12; }
inline void set_backVector_12(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___backVector_12 = value;
}
inline static int32_t get_offset_of_positiveInfinityVector_13() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___positiveInfinityVector_13)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_positiveInfinityVector_13() const { return ___positiveInfinityVector_13; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_positiveInfinityVector_13() { return &___positiveInfinityVector_13; }
inline void set_positiveInfinityVector_13(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___positiveInfinityVector_13 = value;
}
inline static int32_t get_offset_of_negativeInfinityVector_14() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___negativeInfinityVector_14)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_negativeInfinityVector_14() const { return ___negativeInfinityVector_14; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_negativeInfinityVector_14() { return &___negativeInfinityVector_14; }
inline void set_negativeInfinityVector_14(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___negativeInfinityVector_14 = value;
}
};
// System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>
struct KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B
{
public:
// TKey System.Collections.Generic.KeyValuePair`2::key
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___key_0;
// TValue System.Collections.Generic.KeyValuePair`2::value
RuntimeObject * ___value_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B, ___key_0)); }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 get_key_0() const { return ___key_0; }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * get_address_of_key_0() { return &___key_0; }
inline void set_key_0(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 value)
{
___key_0 = value;
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B, ___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);
}
};
// System.Collections.Generic.List`1_Enumerator<UnityEngine.BeforeRenderHelper_OrderBlock>
struct Enumerator_tEB4831BF749196828927D05E6467255EFEE20323
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1_Enumerator::list
List_1_t53AD896B2509A4686D143641030CF022753D3B04 * ___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
OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_tEB4831BF749196828927D05E6467255EFEE20323, ___list_0)); }
inline List_1_t53AD896B2509A4686D143641030CF022753D3B04 * get_list_0() const { return ___list_0; }
inline List_1_t53AD896B2509A4686D143641030CF022753D3B04 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t53AD896B2509A4686D143641030CF022753D3B04 * 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_tEB4831BF749196828927D05E6467255EFEE20323, ___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_tEB4831BF749196828927D05E6467255EFEE20323, ___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_tEB4831BF749196828927D05E6467255EFEE20323, ___current_3)); }
inline OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 get_current_3() const { return ___current_3; }
inline OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 * get_address_of_current_3() { return &___current_3; }
inline void set_current_3(OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 value)
{
___current_3 = value;
Il2CppCodeGenWriteBarrier((void**)&(((&___current_3))->___callback_1), (void*)NULL);
}
};
// System.Collections.Generic.List`1_Enumerator<UnityEngine.Color32>
struct Enumerator_t76470F82B2EDDF9F880C98421781A48D36D3382A
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1_Enumerator::list
List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * ___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
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_t76470F82B2EDDF9F880C98421781A48D36D3382A, ___list_0)); }
inline List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * get_list_0() const { return ___list_0; }
inline List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * 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_t76470F82B2EDDF9F880C98421781A48D36D3382A, ___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_t76470F82B2EDDF9F880C98421781A48D36D3382A, ___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_t76470F82B2EDDF9F880C98421781A48D36D3382A, ___current_3)); }
inline Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 get_current_3() const { return ___current_3; }
inline Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 * get_address_of_current_3() { return &___current_3; }
inline void set_current_3(Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 value)
{
___current_3 = value;
}
};
// System.Collections.Generic.List`1_Enumerator<UnityEngine.TextCore.GlyphRect>
struct Enumerator_tC98BCACC12E1DFB3B149B73715A0FBE3C8B049C3
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1_Enumerator::list
List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * ___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
GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_tC98BCACC12E1DFB3B149B73715A0FBE3C8B049C3, ___list_0)); }
inline List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * get_list_0() const { return ___list_0; }
inline List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * 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_tC98BCACC12E1DFB3B149B73715A0FBE3C8B049C3, ___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_tC98BCACC12E1DFB3B149B73715A0FBE3C8B049C3, ___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_tC98BCACC12E1DFB3B149B73715A0FBE3C8B049C3, ___current_3)); }
inline GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C get_current_3() const { return ___current_3; }
inline GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C * get_address_of_current_3() { return &___current_3; }
inline void set_current_3(GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C value)
{
___current_3 = value;
}
};
// System.Collections.Generic.List`1_Enumerator<UnityEngine.UILineInfo>
struct Enumerator_tD8CA6910C75C5AD8FF6B3018C967A8E2431038AA
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1_Enumerator::list
List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * ___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
UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_tD8CA6910C75C5AD8FF6B3018C967A8E2431038AA, ___list_0)); }
inline List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * get_list_0() const { return ___list_0; }
inline List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * 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_tD8CA6910C75C5AD8FF6B3018C967A8E2431038AA, ___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_tD8CA6910C75C5AD8FF6B3018C967A8E2431038AA, ___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_tD8CA6910C75C5AD8FF6B3018C967A8E2431038AA, ___current_3)); }
inline UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 get_current_3() const { return ___current_3; }
inline UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 * get_address_of_current_3() { return &___current_3; }
inline void set_current_3(UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 value)
{
___current_3 = value;
}
};
// System.Delegate
struct Delegate_t : public RuntimeObject
{
public:
// System.IntPtr System.Delegate::method_ptr
Il2CppMethodPointer ___method_ptr_0;
// System.IntPtr System.Delegate::invoke_impl
intptr_t ___invoke_impl_1;
// System.Object System.Delegate::m_target
RuntimeObject * ___m_target_2;
// System.IntPtr System.Delegate::method
intptr_t ___method_3;
// System.IntPtr System.Delegate::delegate_trampoline
intptr_t ___delegate_trampoline_4;
// System.IntPtr System.Delegate::extra_arg
intptr_t ___extra_arg_5;
// System.IntPtr System.Delegate::method_code
intptr_t ___method_code_6;
// System.Reflection.MethodInfo System.Delegate::method_info
MethodInfo_t * ___method_info_7;
// System.Reflection.MethodInfo System.Delegate::original_method_info
MethodInfo_t * ___original_method_info_8;
// System.DelegateData System.Delegate::data
DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * ___data_9;
// System.Boolean System.Delegate::method_is_virtual
bool ___method_is_virtual_10;
public:
inline static int32_t get_offset_of_method_ptr_0() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_ptr_0)); }
inline Il2CppMethodPointer get_method_ptr_0() const { return ___method_ptr_0; }
inline Il2CppMethodPointer* get_address_of_method_ptr_0() { return &___method_ptr_0; }
inline void set_method_ptr_0(Il2CppMethodPointer value)
{
___method_ptr_0 = value;
}
inline static int32_t get_offset_of_invoke_impl_1() { return static_cast<int32_t>(offsetof(Delegate_t, ___invoke_impl_1)); }
inline intptr_t get_invoke_impl_1() const { return ___invoke_impl_1; }
inline intptr_t* get_address_of_invoke_impl_1() { return &___invoke_impl_1; }
inline void set_invoke_impl_1(intptr_t value)
{
___invoke_impl_1 = value;
}
inline static int32_t get_offset_of_m_target_2() { return static_cast<int32_t>(offsetof(Delegate_t, ___m_target_2)); }
inline RuntimeObject * get_m_target_2() const { return ___m_target_2; }
inline RuntimeObject ** get_address_of_m_target_2() { return &___m_target_2; }
inline void set_m_target_2(RuntimeObject * value)
{
___m_target_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_target_2), (void*)value);
}
inline static int32_t get_offset_of_method_3() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_3)); }
inline intptr_t get_method_3() const { return ___method_3; }
inline intptr_t* get_address_of_method_3() { return &___method_3; }
inline void set_method_3(intptr_t value)
{
___method_3 = value;
}
inline static int32_t get_offset_of_delegate_trampoline_4() { return static_cast<int32_t>(offsetof(Delegate_t, ___delegate_trampoline_4)); }
inline intptr_t get_delegate_trampoline_4() const { return ___delegate_trampoline_4; }
inline intptr_t* get_address_of_delegate_trampoline_4() { return &___delegate_trampoline_4; }
inline void set_delegate_trampoline_4(intptr_t value)
{
___delegate_trampoline_4 = value;
}
inline static int32_t get_offset_of_extra_arg_5() { return static_cast<int32_t>(offsetof(Delegate_t, ___extra_arg_5)); }
inline intptr_t get_extra_arg_5() const { return ___extra_arg_5; }
inline intptr_t* get_address_of_extra_arg_5() { return &___extra_arg_5; }
inline void set_extra_arg_5(intptr_t value)
{
___extra_arg_5 = value;
}
inline static int32_t get_offset_of_method_code_6() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_code_6)); }
inline intptr_t get_method_code_6() const { return ___method_code_6; }
inline intptr_t* get_address_of_method_code_6() { return &___method_code_6; }
inline void set_method_code_6(intptr_t value)
{
___method_code_6 = value;
}
inline static int32_t get_offset_of_method_info_7() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_info_7)); }
inline MethodInfo_t * get_method_info_7() const { return ___method_info_7; }
inline MethodInfo_t ** get_address_of_method_info_7() { return &___method_info_7; }
inline void set_method_info_7(MethodInfo_t * value)
{
___method_info_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___method_info_7), (void*)value);
}
inline static int32_t get_offset_of_original_method_info_8() { return static_cast<int32_t>(offsetof(Delegate_t, ___original_method_info_8)); }
inline MethodInfo_t * get_original_method_info_8() const { return ___original_method_info_8; }
inline MethodInfo_t ** get_address_of_original_method_info_8() { return &___original_method_info_8; }
inline void set_original_method_info_8(MethodInfo_t * value)
{
___original_method_info_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___original_method_info_8), (void*)value);
}
inline static int32_t get_offset_of_data_9() { return static_cast<int32_t>(offsetof(Delegate_t, ___data_9)); }
inline DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * get_data_9() const { return ___data_9; }
inline DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE ** get_address_of_data_9() { return &___data_9; }
inline void set_data_9(DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * value)
{
___data_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&___data_9), (void*)value);
}
inline static int32_t get_offset_of_method_is_virtual_10() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_is_virtual_10)); }
inline bool get_method_is_virtual_10() const { return ___method_is_virtual_10; }
inline bool* get_address_of_method_is_virtual_10() { return &___method_is_virtual_10; }
inline void set_method_is_virtual_10(bool value)
{
___method_is_virtual_10 = value;
}
};
// Native definition for P/Invoke marshalling of System.Delegate
struct Delegate_t_marshaled_pinvoke
{
intptr_t ___method_ptr_0;
intptr_t ___invoke_impl_1;
Il2CppIUnknown* ___m_target_2;
intptr_t ___method_3;
intptr_t ___delegate_trampoline_4;
intptr_t ___extra_arg_5;
intptr_t ___method_code_6;
MethodInfo_t * ___method_info_7;
MethodInfo_t * ___original_method_info_8;
DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * ___data_9;
int32_t ___method_is_virtual_10;
};
// Native definition for COM marshalling of System.Delegate
struct Delegate_t_marshaled_com
{
intptr_t ___method_ptr_0;
intptr_t ___invoke_impl_1;
Il2CppIUnknown* ___m_target_2;
intptr_t ___method_3;
intptr_t ___delegate_trampoline_4;
intptr_t ___extra_arg_5;
intptr_t ___method_code_6;
MethodInfo_t * ___method_info_7;
MethodInfo_t * ___original_method_info_8;
DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * ___data_9;
int32_t ___method_is_virtual_10;
};
// System.Exception
struct Exception_t : public RuntimeObject
{
public:
// System.String System.Exception::_className
String_t* ____className_1;
// System.String System.Exception::_message
String_t* ____message_2;
// System.Collections.IDictionary System.Exception::_data
RuntimeObject* ____data_3;
// System.Exception System.Exception::_innerException
Exception_t * ____innerException_4;
// System.String System.Exception::_helpURL
String_t* ____helpURL_5;
// System.Object System.Exception::_stackTrace
RuntimeObject * ____stackTrace_6;
// System.String System.Exception::_stackTraceString
String_t* ____stackTraceString_7;
// System.String System.Exception::_remoteStackTraceString
String_t* ____remoteStackTraceString_8;
// System.Int32 System.Exception::_remoteStackIndex
int32_t ____remoteStackIndex_9;
// System.Object System.Exception::_dynamicMethods
RuntimeObject * ____dynamicMethods_10;
// System.Int32 System.Exception::_HResult
int32_t ____HResult_11;
// System.String System.Exception::_source
String_t* ____source_12;
// System.Runtime.Serialization.SafeSerializationManager System.Exception::_safeSerializationManager
SafeSerializationManager_t4A754D86B0F784B18CBC36C073BA564BED109770 * ____safeSerializationManager_13;
// System.Diagnostics.StackTrace[] System.Exception::captured_traces
StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196* ___captured_traces_14;
// System.IntPtr[] System.Exception::native_trace_ips
IntPtrU5BU5D_t4DC01DCB9A6DF6C9792A6513595D7A11E637DCDD* ___native_trace_ips_15;
public:
inline static int32_t get_offset_of__className_1() { return static_cast<int32_t>(offsetof(Exception_t, ____className_1)); }
inline String_t* get__className_1() const { return ____className_1; }
inline String_t** get_address_of__className_1() { return &____className_1; }
inline void set__className_1(String_t* value)
{
____className_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____className_1), (void*)value);
}
inline static int32_t get_offset_of__message_2() { return static_cast<int32_t>(offsetof(Exception_t, ____message_2)); }
inline String_t* get__message_2() const { return ____message_2; }
inline String_t** get_address_of__message_2() { return &____message_2; }
inline void set__message_2(String_t* value)
{
____message_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&____message_2), (void*)value);
}
inline static int32_t get_offset_of__data_3() { return static_cast<int32_t>(offsetof(Exception_t, ____data_3)); }
inline RuntimeObject* get__data_3() const { return ____data_3; }
inline RuntimeObject** get_address_of__data_3() { return &____data_3; }
inline void set__data_3(RuntimeObject* value)
{
____data_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&____data_3), (void*)value);
}
inline static int32_t get_offset_of__innerException_4() { return static_cast<int32_t>(offsetof(Exception_t, ____innerException_4)); }
inline Exception_t * get__innerException_4() const { return ____innerException_4; }
inline Exception_t ** get_address_of__innerException_4() { return &____innerException_4; }
inline void set__innerException_4(Exception_t * value)
{
____innerException_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____innerException_4), (void*)value);
}
inline static int32_t get_offset_of__helpURL_5() { return static_cast<int32_t>(offsetof(Exception_t, ____helpURL_5)); }
inline String_t* get__helpURL_5() const { return ____helpURL_5; }
inline String_t** get_address_of__helpURL_5() { return &____helpURL_5; }
inline void set__helpURL_5(String_t* value)
{
____helpURL_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____helpURL_5), (void*)value);
}
inline static int32_t get_offset_of__stackTrace_6() { return static_cast<int32_t>(offsetof(Exception_t, ____stackTrace_6)); }
inline RuntimeObject * get__stackTrace_6() const { return ____stackTrace_6; }
inline RuntimeObject ** get_address_of__stackTrace_6() { return &____stackTrace_6; }
inline void set__stackTrace_6(RuntimeObject * value)
{
____stackTrace_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&____stackTrace_6), (void*)value);
}
inline static int32_t get_offset_of__stackTraceString_7() { return static_cast<int32_t>(offsetof(Exception_t, ____stackTraceString_7)); }
inline String_t* get__stackTraceString_7() const { return ____stackTraceString_7; }
inline String_t** get_address_of__stackTraceString_7() { return &____stackTraceString_7; }
inline void set__stackTraceString_7(String_t* value)
{
____stackTraceString_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&____stackTraceString_7), (void*)value);
}
inline static int32_t get_offset_of__remoteStackTraceString_8() { return static_cast<int32_t>(offsetof(Exception_t, ____remoteStackTraceString_8)); }
inline String_t* get__remoteStackTraceString_8() const { return ____remoteStackTraceString_8; }
inline String_t** get_address_of__remoteStackTraceString_8() { return &____remoteStackTraceString_8; }
inline void set__remoteStackTraceString_8(String_t* value)
{
____remoteStackTraceString_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&____remoteStackTraceString_8), (void*)value);
}
inline static int32_t get_offset_of__remoteStackIndex_9() { return static_cast<int32_t>(offsetof(Exception_t, ____remoteStackIndex_9)); }
inline int32_t get__remoteStackIndex_9() const { return ____remoteStackIndex_9; }
inline int32_t* get_address_of__remoteStackIndex_9() { return &____remoteStackIndex_9; }
inline void set__remoteStackIndex_9(int32_t value)
{
____remoteStackIndex_9 = value;
}
inline static int32_t get_offset_of__dynamicMethods_10() { return static_cast<int32_t>(offsetof(Exception_t, ____dynamicMethods_10)); }
inline RuntimeObject * get__dynamicMethods_10() const { return ____dynamicMethods_10; }
inline RuntimeObject ** get_address_of__dynamicMethods_10() { return &____dynamicMethods_10; }
inline void set__dynamicMethods_10(RuntimeObject * value)
{
____dynamicMethods_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&____dynamicMethods_10), (void*)value);
}
inline static int32_t get_offset_of__HResult_11() { return static_cast<int32_t>(offsetof(Exception_t, ____HResult_11)); }
inline int32_t get__HResult_11() const { return ____HResult_11; }
inline int32_t* get_address_of__HResult_11() { return &____HResult_11; }
inline void set__HResult_11(int32_t value)
{
____HResult_11 = value;
}
inline static int32_t get_offset_of__source_12() { return static_cast<int32_t>(offsetof(Exception_t, ____source_12)); }
inline String_t* get__source_12() const { return ____source_12; }
inline String_t** get_address_of__source_12() { return &____source_12; }
inline void set__source_12(String_t* value)
{
____source_12 = value;
Il2CppCodeGenWriteBarrier((void**)(&____source_12), (void*)value);
}
inline static int32_t get_offset_of__safeSerializationManager_13() { return static_cast<int32_t>(offsetof(Exception_t, ____safeSerializationManager_13)); }
inline SafeSerializationManager_t4A754D86B0F784B18CBC36C073BA564BED109770 * get__safeSerializationManager_13() const { return ____safeSerializationManager_13; }
inline SafeSerializationManager_t4A754D86B0F784B18CBC36C073BA564BED109770 ** get_address_of__safeSerializationManager_13() { return &____safeSerializationManager_13; }
inline void set__safeSerializationManager_13(SafeSerializationManager_t4A754D86B0F784B18CBC36C073BA564BED109770 * value)
{
____safeSerializationManager_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&____safeSerializationManager_13), (void*)value);
}
inline static int32_t get_offset_of_captured_traces_14() { return static_cast<int32_t>(offsetof(Exception_t, ___captured_traces_14)); }
inline StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196* get_captured_traces_14() const { return ___captured_traces_14; }
inline StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196** get_address_of_captured_traces_14() { return &___captured_traces_14; }
inline void set_captured_traces_14(StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196* value)
{
___captured_traces_14 = value;
Il2CppCodeGenWriteBarrier((void**)(&___captured_traces_14), (void*)value);
}
inline static int32_t get_offset_of_native_trace_ips_15() { return static_cast<int32_t>(offsetof(Exception_t, ___native_trace_ips_15)); }
inline IntPtrU5BU5D_t4DC01DCB9A6DF6C9792A6513595D7A11E637DCDD* get_native_trace_ips_15() const { return ___native_trace_ips_15; }
inline IntPtrU5BU5D_t4DC01DCB9A6DF6C9792A6513595D7A11E637DCDD** get_address_of_native_trace_ips_15() { return &___native_trace_ips_15; }
inline void set_native_trace_ips_15(IntPtrU5BU5D_t4DC01DCB9A6DF6C9792A6513595D7A11E637DCDD* value)
{
___native_trace_ips_15 = value;
Il2CppCodeGenWriteBarrier((void**)(&___native_trace_ips_15), (void*)value);
}
};
struct Exception_t_StaticFields
{
public:
// System.Object System.Exception::s_EDILock
RuntimeObject * ___s_EDILock_0;
public:
inline static int32_t get_offset_of_s_EDILock_0() { return static_cast<int32_t>(offsetof(Exception_t_StaticFields, ___s_EDILock_0)); }
inline RuntimeObject * get_s_EDILock_0() const { return ___s_EDILock_0; }
inline RuntimeObject ** get_address_of_s_EDILock_0() { return &___s_EDILock_0; }
inline void set_s_EDILock_0(RuntimeObject * value)
{
___s_EDILock_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_EDILock_0), (void*)value);
}
};
// Native definition for P/Invoke marshalling of System.Exception
struct Exception_t_marshaled_pinvoke
{
char* ____className_1;
char* ____message_2;
RuntimeObject* ____data_3;
Exception_t_marshaled_pinvoke* ____innerException_4;
char* ____helpURL_5;
Il2CppIUnknown* ____stackTrace_6;
char* ____stackTraceString_7;
char* ____remoteStackTraceString_8;
int32_t ____remoteStackIndex_9;
Il2CppIUnknown* ____dynamicMethods_10;
int32_t ____HResult_11;
char* ____source_12;
SafeSerializationManager_t4A754D86B0F784B18CBC36C073BA564BED109770 * ____safeSerializationManager_13;
StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196* ___captured_traces_14;
Il2CppSafeArray/*NONE*/* ___native_trace_ips_15;
};
// Native definition for COM marshalling of System.Exception
struct Exception_t_marshaled_com
{
Il2CppChar* ____className_1;
Il2CppChar* ____message_2;
RuntimeObject* ____data_3;
Exception_t_marshaled_com* ____innerException_4;
Il2CppChar* ____helpURL_5;
Il2CppIUnknown* ____stackTrace_6;
Il2CppChar* ____stackTraceString_7;
Il2CppChar* ____remoteStackTraceString_8;
int32_t ____remoteStackIndex_9;
Il2CppIUnknown* ____dynamicMethods_10;
int32_t ____HResult_11;
Il2CppChar* ____source_12;
SafeSerializationManager_t4A754D86B0F784B18CBC36C073BA564BED109770 * ____safeSerializationManager_13;
StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196* ___captured_traces_14;
Il2CppSafeArray/*NONE*/* ___native_trace_ips_15;
};
// System.ExceptionArgument
struct ExceptionArgument_tE4C1E083DC891ECF9688A8A0C62D7F7841057B14
{
public:
// System.Int32 System.ExceptionArgument::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(ExceptionArgument_tE4C1E083DC891ECF9688A8A0C62D7F7841057B14, ___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.ExceptionResource
struct ExceptionResource_t897ACCB868BF3CAAC00AB0C00D57D7A2B6C7586A
{
public:
// System.Int32 System.ExceptionResource::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(ExceptionResource_t897ACCB868BF3CAAC00AB0C00D57D7A2B6C7586A, ___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.Int32Enum
struct Int32Enum_t6312CE4586C17FE2E2E513D2E7655B574F10FDCD
{
public:
// System.Int32 System.Int32Enum::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(Int32Enum_t6312CE4586C17FE2E2E513D2E7655B574F10FDCD, ___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.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.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;
}
};
// TMPro.SpriteAssetUtilities.TexturePacker_SpriteData
struct SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728
{
public:
// System.String TMPro.SpriteAssetUtilities.TexturePacker_SpriteData::filename
String_t* ___filename_0;
// TMPro.SpriteAssetUtilities.TexturePacker_SpriteFrame TMPro.SpriteAssetUtilities.TexturePacker_SpriteData::frame
SpriteFrame_tDB681A7461FA0C10DA42E9A984BDDD0199AB2C04 ___frame_1;
// System.Boolean TMPro.SpriteAssetUtilities.TexturePacker_SpriteData::rotated
bool ___rotated_2;
// System.Boolean TMPro.SpriteAssetUtilities.TexturePacker_SpriteData::trimmed
bool ___trimmed_3;
// TMPro.SpriteAssetUtilities.TexturePacker_SpriteFrame TMPro.SpriteAssetUtilities.TexturePacker_SpriteData::spriteSourceSize
SpriteFrame_tDB681A7461FA0C10DA42E9A984BDDD0199AB2C04 ___spriteSourceSize_4;
// TMPro.SpriteAssetUtilities.TexturePacker_SpriteSize TMPro.SpriteAssetUtilities.TexturePacker_SpriteData::sourceSize
SpriteSize_t143F23923B1D48E84CB38DCDD532F408936AB67E ___sourceSize_5;
// UnityEngine.Vector2 TMPro.SpriteAssetUtilities.TexturePacker_SpriteData::pivot
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___pivot_6;
public:
inline static int32_t get_offset_of_filename_0() { return static_cast<int32_t>(offsetof(SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728, ___filename_0)); }
inline String_t* get_filename_0() const { return ___filename_0; }
inline String_t** get_address_of_filename_0() { return &___filename_0; }
inline void set_filename_0(String_t* value)
{
___filename_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___filename_0), (void*)value);
}
inline static int32_t get_offset_of_frame_1() { return static_cast<int32_t>(offsetof(SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728, ___frame_1)); }
inline SpriteFrame_tDB681A7461FA0C10DA42E9A984BDDD0199AB2C04 get_frame_1() const { return ___frame_1; }
inline SpriteFrame_tDB681A7461FA0C10DA42E9A984BDDD0199AB2C04 * get_address_of_frame_1() { return &___frame_1; }
inline void set_frame_1(SpriteFrame_tDB681A7461FA0C10DA42E9A984BDDD0199AB2C04 value)
{
___frame_1 = value;
}
inline static int32_t get_offset_of_rotated_2() { return static_cast<int32_t>(offsetof(SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728, ___rotated_2)); }
inline bool get_rotated_2() const { return ___rotated_2; }
inline bool* get_address_of_rotated_2() { return &___rotated_2; }
inline void set_rotated_2(bool value)
{
___rotated_2 = value;
}
inline static int32_t get_offset_of_trimmed_3() { return static_cast<int32_t>(offsetof(SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728, ___trimmed_3)); }
inline bool get_trimmed_3() const { return ___trimmed_3; }
inline bool* get_address_of_trimmed_3() { return &___trimmed_3; }
inline void set_trimmed_3(bool value)
{
___trimmed_3 = value;
}
inline static int32_t get_offset_of_spriteSourceSize_4() { return static_cast<int32_t>(offsetof(SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728, ___spriteSourceSize_4)); }
inline SpriteFrame_tDB681A7461FA0C10DA42E9A984BDDD0199AB2C04 get_spriteSourceSize_4() const { return ___spriteSourceSize_4; }
inline SpriteFrame_tDB681A7461FA0C10DA42E9A984BDDD0199AB2C04 * get_address_of_spriteSourceSize_4() { return &___spriteSourceSize_4; }
inline void set_spriteSourceSize_4(SpriteFrame_tDB681A7461FA0C10DA42E9A984BDDD0199AB2C04 value)
{
___spriteSourceSize_4 = value;
}
inline static int32_t get_offset_of_sourceSize_5() { return static_cast<int32_t>(offsetof(SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728, ___sourceSize_5)); }
inline SpriteSize_t143F23923B1D48E84CB38DCDD532F408936AB67E get_sourceSize_5() const { return ___sourceSize_5; }
inline SpriteSize_t143F23923B1D48E84CB38DCDD532F408936AB67E * get_address_of_sourceSize_5() { return &___sourceSize_5; }
inline void set_sourceSize_5(SpriteSize_t143F23923B1D48E84CB38DCDD532F408936AB67E value)
{
___sourceSize_5 = value;
}
inline static int32_t get_offset_of_pivot_6() { return static_cast<int32_t>(offsetof(SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728, ___pivot_6)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_pivot_6() const { return ___pivot_6; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_pivot_6() { return &___pivot_6; }
inline void set_pivot_6(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___pivot_6 = value;
}
};
// Native definition for P/Invoke marshalling of TMPro.SpriteAssetUtilities.TexturePacker/SpriteData
struct SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728_marshaled_pinvoke
{
char* ___filename_0;
SpriteFrame_tDB681A7461FA0C10DA42E9A984BDDD0199AB2C04 ___frame_1;
int32_t ___rotated_2;
int32_t ___trimmed_3;
SpriteFrame_tDB681A7461FA0C10DA42E9A984BDDD0199AB2C04 ___spriteSourceSize_4;
SpriteSize_t143F23923B1D48E84CB38DCDD532F408936AB67E ___sourceSize_5;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___pivot_6;
};
// Native definition for COM marshalling of TMPro.SpriteAssetUtilities.TexturePacker/SpriteData
struct SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728_marshaled_com
{
Il2CppChar* ___filename_0;
SpriteFrame_tDB681A7461FA0C10DA42E9A984BDDD0199AB2C04 ___frame_1;
int32_t ___rotated_2;
int32_t ___trimmed_3;
SpriteFrame_tDB681A7461FA0C10DA42E9A984BDDD0199AB2C04 ___spriteSourceSize_4;
SpriteSize_t143F23923B1D48E84CB38DCDD532F408936AB67E ___sourceSize_5;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___pivot_6;
};
// UnityEngine.EventSystems.RaycastResult
struct RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91
{
public:
// UnityEngine.GameObject UnityEngine.EventSystems.RaycastResult::m_GameObject
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * ___m_GameObject_0;
// UnityEngine.EventSystems.BaseRaycaster UnityEngine.EventSystems.RaycastResult::module
BaseRaycaster_tC7F6105A89F54A38FBFC2659901855FDBB0E3966 * ___module_1;
// System.Single UnityEngine.EventSystems.RaycastResult::distance
float ___distance_2;
// System.Single UnityEngine.EventSystems.RaycastResult::index
float ___index_3;
// System.Int32 UnityEngine.EventSystems.RaycastResult::depth
int32_t ___depth_4;
// System.Int32 UnityEngine.EventSystems.RaycastResult::sortingLayer
int32_t ___sortingLayer_5;
// System.Int32 UnityEngine.EventSystems.RaycastResult::sortingOrder
int32_t ___sortingOrder_6;
// UnityEngine.Vector3 UnityEngine.EventSystems.RaycastResult::worldPosition
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___worldPosition_7;
// UnityEngine.Vector3 UnityEngine.EventSystems.RaycastResult::worldNormal
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___worldNormal_8;
// UnityEngine.Vector2 UnityEngine.EventSystems.RaycastResult::screenPosition
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___screenPosition_9;
// System.Int32 UnityEngine.EventSystems.RaycastResult::displayIndex
int32_t ___displayIndex_10;
public:
inline static int32_t get_offset_of_m_GameObject_0() { return static_cast<int32_t>(offsetof(RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91, ___m_GameObject_0)); }
inline GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * get_m_GameObject_0() const { return ___m_GameObject_0; }
inline GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F ** get_address_of_m_GameObject_0() { return &___m_GameObject_0; }
inline void set_m_GameObject_0(GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * value)
{
___m_GameObject_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_GameObject_0), (void*)value);
}
inline static int32_t get_offset_of_module_1() { return static_cast<int32_t>(offsetof(RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91, ___module_1)); }
inline BaseRaycaster_tC7F6105A89F54A38FBFC2659901855FDBB0E3966 * get_module_1() const { return ___module_1; }
inline BaseRaycaster_tC7F6105A89F54A38FBFC2659901855FDBB0E3966 ** get_address_of_module_1() { return &___module_1; }
inline void set_module_1(BaseRaycaster_tC7F6105A89F54A38FBFC2659901855FDBB0E3966 * value)
{
___module_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___module_1), (void*)value);
}
inline static int32_t get_offset_of_distance_2() { return static_cast<int32_t>(offsetof(RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91, ___distance_2)); }
inline float get_distance_2() const { return ___distance_2; }
inline float* get_address_of_distance_2() { return &___distance_2; }
inline void set_distance_2(float value)
{
___distance_2 = value;
}
inline static int32_t get_offset_of_index_3() { return static_cast<int32_t>(offsetof(RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91, ___index_3)); }
inline float get_index_3() const { return ___index_3; }
inline float* get_address_of_index_3() { return &___index_3; }
inline void set_index_3(float value)
{
___index_3 = value;
}
inline static int32_t get_offset_of_depth_4() { return static_cast<int32_t>(offsetof(RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91, ___depth_4)); }
inline int32_t get_depth_4() const { return ___depth_4; }
inline int32_t* get_address_of_depth_4() { return &___depth_4; }
inline void set_depth_4(int32_t value)
{
___depth_4 = value;
}
inline static int32_t get_offset_of_sortingLayer_5() { return static_cast<int32_t>(offsetof(RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91, ___sortingLayer_5)); }
inline int32_t get_sortingLayer_5() const { return ___sortingLayer_5; }
inline int32_t* get_address_of_sortingLayer_5() { return &___sortingLayer_5; }
inline void set_sortingLayer_5(int32_t value)
{
___sortingLayer_5 = value;
}
inline static int32_t get_offset_of_sortingOrder_6() { return static_cast<int32_t>(offsetof(RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91, ___sortingOrder_6)); }
inline int32_t get_sortingOrder_6() const { return ___sortingOrder_6; }
inline int32_t* get_address_of_sortingOrder_6() { return &___sortingOrder_6; }
inline void set_sortingOrder_6(int32_t value)
{
___sortingOrder_6 = value;
}
inline static int32_t get_offset_of_worldPosition_7() { return static_cast<int32_t>(offsetof(RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91, ___worldPosition_7)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_worldPosition_7() const { return ___worldPosition_7; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_worldPosition_7() { return &___worldPosition_7; }
inline void set_worldPosition_7(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___worldPosition_7 = value;
}
inline static int32_t get_offset_of_worldNormal_8() { return static_cast<int32_t>(offsetof(RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91, ___worldNormal_8)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_worldNormal_8() const { return ___worldNormal_8; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_worldNormal_8() { return &___worldNormal_8; }
inline void set_worldNormal_8(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___worldNormal_8 = value;
}
inline static int32_t get_offset_of_screenPosition_9() { return static_cast<int32_t>(offsetof(RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91, ___screenPosition_9)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_screenPosition_9() const { return ___screenPosition_9; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_screenPosition_9() { return &___screenPosition_9; }
inline void set_screenPosition_9(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___screenPosition_9 = value;
}
inline static int32_t get_offset_of_displayIndex_10() { return static_cast<int32_t>(offsetof(RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91, ___displayIndex_10)); }
inline int32_t get_displayIndex_10() const { return ___displayIndex_10; }
inline int32_t* get_address_of_displayIndex_10() { return &___displayIndex_10; }
inline void set_displayIndex_10(int32_t value)
{
___displayIndex_10 = value;
}
};
// Native definition for P/Invoke marshalling of UnityEngine.EventSystems.RaycastResult
struct RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91_marshaled_pinvoke
{
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * ___m_GameObject_0;
BaseRaycaster_tC7F6105A89F54A38FBFC2659901855FDBB0E3966 * ___module_1;
float ___distance_2;
float ___index_3;
int32_t ___depth_4;
int32_t ___sortingLayer_5;
int32_t ___sortingOrder_6;
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___worldPosition_7;
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___worldNormal_8;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___screenPosition_9;
int32_t ___displayIndex_10;
};
// Native definition for COM marshalling of UnityEngine.EventSystems.RaycastResult
struct RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91_marshaled_com
{
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * ___m_GameObject_0;
BaseRaycaster_tC7F6105A89F54A38FBFC2659901855FDBB0E3966 * ___module_1;
float ___distance_2;
float ___index_3;
int32_t ___depth_4;
int32_t ___sortingLayer_5;
int32_t ___sortingOrder_6;
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___worldPosition_7;
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___worldNormal_8;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___screenPosition_9;
int32_t ___displayIndex_10;
};
// UnityEngine.UICharInfo
struct UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A
{
public:
// UnityEngine.Vector2 UnityEngine.UICharInfo::cursorPos
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___cursorPos_0;
// System.Single UnityEngine.UICharInfo::charWidth
float ___charWidth_1;
public:
inline static int32_t get_offset_of_cursorPos_0() { return static_cast<int32_t>(offsetof(UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A, ___cursorPos_0)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_cursorPos_0() const { return ___cursorPos_0; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_cursorPos_0() { return &___cursorPos_0; }
inline void set_cursorPos_0(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___cursorPos_0 = value;
}
inline static int32_t get_offset_of_charWidth_1() { return static_cast<int32_t>(offsetof(UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A, ___charWidth_1)); }
inline float get_charWidth_1() const { return ___charWidth_1; }
inline float* get_address_of_charWidth_1() { return &___charWidth_1; }
inline void set_charWidth_1(float value)
{
___charWidth_1 = value;
}
};
// System.Collections.Generic.List`1_Enumerator<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>
struct Enumerator_tC2AA66EAA1C0E0866F7FF4C03B9B46ED328C259B
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1_Enumerator::list
List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * ___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
KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_tC2AA66EAA1C0E0866F7FF4C03B9B46ED328C259B, ___list_0)); }
inline List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * get_list_0() const { return ___list_0; }
inline List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * 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_tC2AA66EAA1C0E0866F7FF4C03B9B46ED328C259B, ___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_tC2AA66EAA1C0E0866F7FF4C03B9B46ED328C259B, ___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_tC2AA66EAA1C0E0866F7FF4C03B9B46ED328C259B, ___current_3)); }
inline KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B get_current_3() const { return ___current_3; }
inline KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B * get_address_of_current_3() { return &___current_3; }
inline void set_current_3(KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B value)
{
___current_3 = value;
Il2CppCodeGenWriteBarrier((void**)&(((&___current_3))->___value_1), (void*)NULL);
}
};
// System.Collections.Generic.List`1_Enumerator<System.Int32Enum>
struct Enumerator_t466722FA3B0808834F81142CF36A155FB30BA42D
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1_Enumerator::list
List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * ___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
int32_t ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_t466722FA3B0808834F81142CF36A155FB30BA42D, ___list_0)); }
inline List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * get_list_0() const { return ___list_0; }
inline List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * 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_t466722FA3B0808834F81142CF36A155FB30BA42D, ___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_t466722FA3B0808834F81142CF36A155FB30BA42D, ___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_t466722FA3B0808834F81142CF36A155FB30BA42D, ___current_3)); }
inline int32_t get_current_3() const { return ___current_3; }
inline int32_t* get_address_of_current_3() { return &___current_3; }
inline void set_current_3(int32_t value)
{
___current_3 = value;
}
};
// System.Collections.Generic.List`1_Enumerator<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>
struct Enumerator_tB05134B77E5624086A3F85161AA2EE725C93D9EA
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1_Enumerator::list
List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * ___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
SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_tB05134B77E5624086A3F85161AA2EE725C93D9EA, ___list_0)); }
inline List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * get_list_0() const { return ___list_0; }
inline List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * 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_tB05134B77E5624086A3F85161AA2EE725C93D9EA, ___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_tB05134B77E5624086A3F85161AA2EE725C93D9EA, ___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_tB05134B77E5624086A3F85161AA2EE725C93D9EA, ___current_3)); }
inline SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 get_current_3() const { return ___current_3; }
inline SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 * get_address_of_current_3() { return &___current_3; }
inline void set_current_3(SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 value)
{
___current_3 = value;
Il2CppCodeGenWriteBarrier((void**)&(((&___current_3))->___filename_0), (void*)NULL);
}
};
// System.Collections.Generic.List`1_Enumerator<UnityEngine.EventSystems.RaycastResult>
struct Enumerator_tA27E2343069402A698ECAD46C2DC47ACD7786618
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1_Enumerator::list
List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * ___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
RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_tA27E2343069402A698ECAD46C2DC47ACD7786618, ___list_0)); }
inline List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * get_list_0() const { return ___list_0; }
inline List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * 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_tA27E2343069402A698ECAD46C2DC47ACD7786618, ___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_tA27E2343069402A698ECAD46C2DC47ACD7786618, ___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_tA27E2343069402A698ECAD46C2DC47ACD7786618, ___current_3)); }
inline RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 get_current_3() const { return ___current_3; }
inline RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 * get_address_of_current_3() { return &___current_3; }
inline void set_current_3(RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 value)
{
___current_3 = value;
Il2CppCodeGenWriteBarrier((void**)&(((&___current_3))->___m_GameObject_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&___current_3))->___module_1), (void*)NULL);
#endif
}
};
// System.Collections.Generic.List`1_Enumerator<UnityEngine.UICharInfo>
struct Enumerator_tC74B83EBD6E429004D77BE34197889A60AE87C4F
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1_Enumerator::list
List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * ___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
UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_tC74B83EBD6E429004D77BE34197889A60AE87C4F, ___list_0)); }
inline List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * get_list_0() const { return ___list_0; }
inline List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * 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_tC74B83EBD6E429004D77BE34197889A60AE87C4F, ___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_tC74B83EBD6E429004D77BE34197889A60AE87C4F, ___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_tC74B83EBD6E429004D77BE34197889A60AE87C4F, ___current_3)); }
inline UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A get_current_3() const { return ___current_3; }
inline UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A * get_address_of_current_3() { return &___current_3; }
inline void set_current_3(UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A value)
{
___current_3 = value;
}
};
// System.MulticastDelegate
struct MulticastDelegate_t : public Delegate_t
{
public:
// System.Delegate[] System.MulticastDelegate::delegates
DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86* ___delegates_11;
public:
inline static int32_t get_offset_of_delegates_11() { return static_cast<int32_t>(offsetof(MulticastDelegate_t, ___delegates_11)); }
inline DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86* get_delegates_11() const { return ___delegates_11; }
inline DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86** get_address_of_delegates_11() { return &___delegates_11; }
inline void set_delegates_11(DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86* value)
{
___delegates_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___delegates_11), (void*)value);
}
};
// Native definition for P/Invoke marshalling of System.MulticastDelegate
struct MulticastDelegate_t_marshaled_pinvoke : public Delegate_t_marshaled_pinvoke
{
Delegate_t_marshaled_pinvoke** ___delegates_11;
};
// Native definition for COM marshalling of System.MulticastDelegate
struct MulticastDelegate_t_marshaled_com : public Delegate_t_marshaled_com
{
Delegate_t_marshaled_com** ___delegates_11;
};
// System.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);
}
};
// System.ArrayTypeMismatchException
struct ArrayTypeMismatchException_tE34C1032B089C37399200997F079C640D23D9499 : public SystemException_t5380468142AA850BE4A341D7AF3EAB9C78746782
{
public:
public:
};
// System.Comparison`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>
struct Comparison_1_t37A6472C2FF8868034B64731ED0ABC8109B82134 : public MulticastDelegate_t
{
public:
public:
};
// System.Comparison`1<System.Int32>
struct Comparison_1_t898FB92966481D1802656B2BB8522C0043F7E46C : public MulticastDelegate_t
{
public:
public:
};
// System.Comparison`1<System.Int32Enum>
struct Comparison_1_tE0BDB3162C07BB79AF4389BA623470A0DB3C7C85 : public MulticastDelegate_t
{
public:
public:
};
// System.Comparison`1<System.Object>
struct Comparison_1_tD9DBDF7B2E4774B4D35E113A76D75828A24641F4 : public MulticastDelegate_t
{
public:
public:
};
// System.Comparison`1<System.Single>
struct Comparison_1_t0F2F1560FCF2F77447EC134DA71446B45D2EAE93 : public MulticastDelegate_t
{
public:
public:
};
// System.Comparison`1<System.UInt32>
struct Comparison_1_t98CC2F214ACDF8A5B494DC5FE8F950970933D162 : public MulticastDelegate_t
{
public:
public:
};
// System.Comparison`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>
struct Comparison_1_t215BCD9BAE6C7B68EE39E3AE59DDF6DCB98CEDE2 : public MulticastDelegate_t
{
public:
public:
};
// System.Comparison`1<UnityEngine.BeforeRenderHelper_OrderBlock>
struct Comparison_1_t2750BC60B871C841F4E818A35A01BE474BFD2C35 : public MulticastDelegate_t
{
public:
public:
};
// System.Comparison`1<UnityEngine.Color32>
struct Comparison_1_t54C69F0A1CCDDEC074608AA299DD5E8D7A326BF8 : public MulticastDelegate_t
{
public:
public:
};
// System.Comparison`1<UnityEngine.EventSystems.RaycastResult>
struct Comparison_1_t80059259E2DC99461F7DF9B43BA93054613AE703 : public MulticastDelegate_t
{
public:
public:
};
// System.Comparison`1<UnityEngine.TextCore.GlyphRect>
struct Comparison_1_tA112B99450F000327B9D39D349B33EF8CCB7AAB5 : public MulticastDelegate_t
{
public:
public:
};
// System.Comparison`1<UnityEngine.UICharInfo>
struct Comparison_1_t466148B80A0CDD1A10C47BE09DBF7E4CBA31073F : public MulticastDelegate_t
{
public:
public:
};
// System.Comparison`1<UnityEngine.UILineInfo>
struct Comparison_1_t75D7367587B69E92B30A0339100A798843A58F18 : public MulticastDelegate_t
{
public:
public:
};
// System.InvalidCastException
struct InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA : public SystemException_t5380468142AA850BE4A341D7AF3EAB9C78746782
{
public:
public:
};
// System.Predicate`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>
struct Predicate_1_t0CED81C3FC8E7102A1E55F8156E33915BDC8EB2C : public MulticastDelegate_t
{
public:
public:
};
// System.Predicate`1<System.Int32>
struct Predicate_1_t2E795623C97B4C5B38406E9201D0720C5C15895F : public MulticastDelegate_t
{
public:
public:
};
// System.Predicate`1<System.Int32Enum>
struct Predicate_1_t04D23B98D3C2827AAD9018CEB5C22E4F69AE649A : public MulticastDelegate_t
{
public:
public:
};
// System.Predicate`1<System.Object>
struct Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979 : public MulticastDelegate_t
{
public:
public:
};
// System.Predicate`1<System.Single>
struct Predicate_1_t841FDBD98DB0D653BF54D71E3481608E51DD4F38 : public MulticastDelegate_t
{
public:
public:
};
// System.Predicate`1<System.UInt32>
struct Predicate_1_t3583426FF9E6498ABD95E96A9738B5B9E127CD81 : public MulticastDelegate_t
{
public:
public:
};
// System.Predicate`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>
struct Predicate_1_t25A885269834E5D06A3E1557474B708E3430EB8B : public MulticastDelegate_t
{
public:
public:
};
// System.Predicate`1<UnityEngine.BeforeRenderHelper_OrderBlock>
struct Predicate_1_t6021C753A4C8761482AE2125268A1F20CC5302F9 : public MulticastDelegate_t
{
public:
public:
};
// System.Predicate`1<UnityEngine.Color32>
struct Predicate_1_tA8093CB95EF5DA7B543ABA099527806A0FE5BD4E : public MulticastDelegate_t
{
public:
public:
};
// System.Predicate`1<UnityEngine.EventSystems.RaycastResult>
struct Predicate_1_t3BE7E6936879AAE7D83581BB6DBEB5AB7966797B : public MulticastDelegate_t
{
public:
public:
};
// System.Predicate`1<UnityEngine.TextCore.GlyphRect>
struct Predicate_1_tB0A5EFEBC66C6A7540167D26FA783AFDCCB2DDD1 : public MulticastDelegate_t
{
public:
public:
};
// System.Predicate`1<UnityEngine.UICharInfo>
struct Predicate_1_tBE52451BEC74D597DE894237BB32DFC9015F9697 : public MulticastDelegate_t
{
public:
public:
};
// System.Predicate`1<UnityEngine.UILineInfo>
struct Predicate_1_t10822666A90A56FEFE6380CDD491BDEAC56F650D : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>[]
struct KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F : public RuntimeArray
{
public:
ALIGN_FIELD (8) KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B m_Items[1];
public:
inline KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B * 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, KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
}
inline KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
}
};
// System.Int32[]
struct Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83 : public RuntimeArray
{
public:
ALIGN_FIELD (8) int32_t m_Items[1];
public:
inline int32_t GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline int32_t* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, int32_t value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline int32_t GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline int32_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, int32_t value)
{
m_Items[index] = value;
}
};
// System.Int32Enum[]
struct Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A : public RuntimeArray
{
public:
ALIGN_FIELD (8) int32_t m_Items[1];
public:
inline int32_t GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline int32_t* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, int32_t value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline int32_t GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline int32_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, int32_t value)
{
m_Items[index] = value;
}
};
// System.Object[]
struct ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A : public RuntimeArray
{
public:
ALIGN_FIELD (8) RuntimeObject * m_Items[1];
public:
inline RuntimeObject * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline RuntimeObject ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, RuntimeObject * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline RuntimeObject * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline RuntimeObject ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, RuntimeObject * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Single[]
struct SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5 : public RuntimeArray
{
public:
ALIGN_FIELD (8) float m_Items[1];
public:
inline float GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline float* 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, float value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline float GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline float* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, float value)
{
m_Items[index] = value;
}
};
// System.UInt32[]
struct UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB : public RuntimeArray
{
public:
ALIGN_FIELD (8) uint32_t m_Items[1];
public:
inline uint32_t GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline uint32_t* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, uint32_t value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline uint32_t GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline uint32_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, uint32_t value)
{
m_Items[index] = value;
}
};
// TMPro.SpriteAssetUtilities.TexturePacker_SpriteData[]
struct SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41 : public RuntimeArray
{
public:
ALIGN_FIELD (8) SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 m_Items[1];
public:
inline SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 * 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, SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___filename_0), (void*)NULL);
}
inline SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___filename_0), (void*)NULL);
}
};
// UnityEngine.BeforeRenderHelper_OrderBlock[]
struct OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101 : public RuntimeArray
{
public:
ALIGN_FIELD (8) OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 m_Items[1];
public:
inline OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 * 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, OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___callback_1), (void*)NULL);
}
inline OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___callback_1), (void*)NULL);
}
};
// UnityEngine.Color32[]
struct Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 m_Items[1];
public:
inline Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 value)
{
m_Items[index] = value;
}
};
// UnityEngine.EventSystems.RaycastResult[]
struct RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65 : public RuntimeArray
{
public:
ALIGN_FIELD (8) RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 m_Items[1];
public:
inline RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 * 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, RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___m_GameObject_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___module_1), (void*)NULL);
#endif
}
inline RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___m_GameObject_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___module_1), (void*)NULL);
#endif
}
};
// UnityEngine.TextCore.GlyphRect[]
struct GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2 : public RuntimeArray
{
public:
ALIGN_FIELD (8) GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C m_Items[1];
public:
inline GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C * 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, GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C value)
{
m_Items[index] = value;
}
};
// UnityEngine.UICharInfo[]
struct UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482 : public RuntimeArray
{
public:
ALIGN_FIELD (8) UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A m_Items[1];
public:
inline UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A * 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, UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A value)
{
m_Items[index] = value;
}
};
// UnityEngine.UILineInfo[]
struct UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC : public RuntimeArray
{
public:
ALIGN_FIELD (8) UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 m_Items[1];
public:
inline UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 * 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, UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 value)
{
m_Items[index] = value;
}
};
// System.Void System.Collections.Generic.List`1/Enumerator<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::.ctor(System.Collections.Generic.List`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Enumerator__ctor_m4ECC15B64DDC7B2DED2DFF4505043FF7FB76E9D5_gshared (Enumerator_tC2AA66EAA1C0E0866F7FF4C03B9B46ED328C259B * __this, List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * ___list0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<System.Int32>::.ctor(System.Collections.Generic.List`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Enumerator__ctor_mDB92E430A5D05B75AB5F1A399935FE31B5C9CEF8_gshared (Enumerator_t1A13F370EC7EA46EA20204D8881CCE685A3C348C * __this, List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * ___list0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<System.Int32Enum>::.ctor(System.Collections.Generic.List`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Enumerator__ctor_mAE704F6EBF7CC0DDA29CD07384D8C6D335576166_gshared (Enumerator_t466722FA3B0808834F81142CF36A155FB30BA42D * __this, List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * ___list0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<System.Object>::.ctor(System.Collections.Generic.List`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Enumerator__ctor_m39C8C3D04576F8D63AF941CC77EE5871393388F0_gshared (Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD * __this, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___list0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<System.Single>::.ctor(System.Collections.Generic.List`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Enumerator__ctor_mC098660DDC562C49A98F1196A350625289869D18_gshared (Enumerator_tFAFBEAFCC7B8C7F0A58F04A243A8773B576C4EFD * __this, List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * ___list0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<System.UInt32>::.ctor(System.Collections.Generic.List`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Enumerator__ctor_m92014838C3F5A4883E57027C11D089033AA4F1E3_gshared (Enumerator_t6C6061565EA2787387759C1CA5549E561A4FABBC * __this, List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * ___list0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<TMPro.SpriteAssetUtilities.TexturePacker/SpriteData>::.ctor(System.Collections.Generic.List`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Enumerator__ctor_m4F05B03A01D96C5C75B95F48880C15C5AF5986F4_gshared (Enumerator_tB05134B77E5624086A3F85161AA2EE725C93D9EA * __this, List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * ___list0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.BeforeRenderHelper/OrderBlock>::.ctor(System.Collections.Generic.List`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Enumerator__ctor_mE662CA8F3FD9295CFDA36D6B1D465FA86D939D66_gshared (Enumerator_tEB4831BF749196828927D05E6467255EFEE20323 * __this, List_1_t53AD896B2509A4686D143641030CF022753D3B04 * ___list0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Color32>::.ctor(System.Collections.Generic.List`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Enumerator__ctor_m70142101C8067D2910AB738F5CA4A3A31D88654D_gshared (Enumerator_t76470F82B2EDDF9F880C98421781A48D36D3382A * __this, List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * ___list0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.EventSystems.RaycastResult>::.ctor(System.Collections.Generic.List`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Enumerator__ctor_m7B6DEA1307339A5CA3176F11511C12D8B8D34685_gshared (Enumerator_tA27E2343069402A698ECAD46C2DC47ACD7786618 * __this, List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * ___list0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.TextCore.GlyphRect>::.ctor(System.Collections.Generic.List`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Enumerator__ctor_m1AD818C266B9FFEF9990B29BE1330D7326F08990_gshared (Enumerator_tC98BCACC12E1DFB3B149B73715A0FBE3C8B049C3 * __this, List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * ___list0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.UICharInfo>::.ctor(System.Collections.Generic.List`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Enumerator__ctor_mB5B0B5CEA64685EABCA326923B24750730B1C409_gshared (Enumerator_tC74B83EBD6E429004D77BE34197889A60AE87C4F * __this, List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * ___list0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.UILineInfo>::.ctor(System.Collections.Generic.List`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Enumerator__ctor_mBEFBD73844C725D01E11FA7FCC6BCB3CBA9F16B7_gshared (Enumerator_tD8CA6910C75C5AD8FF6B3018C967A8E2431038AA * __this, List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * ___list0, const RuntimeMethod* method);
// System.Void System.Object::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0 (RuntimeObject * __this, const RuntimeMethod* method);
// System.Void System.ThrowHelper::ThrowArgumentOutOfRangeException(System.ExceptionArgument,System.ExceptionResource)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51 (int32_t ___argument0, int32_t ___resource1, const RuntimeMethod* method);
// System.Void System.ThrowHelper::ThrowArgumentNullException(System.ExceptionArgument)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E (int32_t ___argument0, const RuntimeMethod* method);
// System.Void System.Array::Copy(System.Array,System.Int32,System.Array,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6 (RuntimeArray * ___sourceArray0, int32_t ___sourceIndex1, RuntimeArray * ___destinationArray2, int32_t ___destinationIndex3, int32_t ___length4, const RuntimeMethod* method);
// System.Void System.ThrowHelper::ThrowArgumentOutOfRangeException()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThrowHelper_ThrowArgumentOutOfRangeException_mBA2AF20A35144E0C43CD721A22EAC9FCA15D6550 (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);
// System.Void System.ThrowHelper::ThrowWrongValueTypeArgumentException(System.Object,System.Type)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F (RuntimeObject * ___value0, Type_t * ___targetType1, const RuntimeMethod* method);
// System.Void System.Array::Clear(System.Array,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E (RuntimeArray * ___array0, int32_t ___index1, int32_t ___length2, const RuntimeMethod* method);
// System.Int32 System.Array::get_Rank()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Array_get_Rank_m38145B59D67D75F9896A3F8CDA9B966641AE99E1 (RuntimeArray * __this, const RuntimeMethod* method);
// System.Void System.ThrowHelper::ThrowArgumentException(System.ExceptionResource)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84 (int32_t ___resource0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::.ctor(System.Collections.Generic.List`1<T>)
inline void Enumerator__ctor_m4ECC15B64DDC7B2DED2DFF4505043FF7FB76E9D5 (Enumerator_tC2AA66EAA1C0E0866F7FF4C03B9B46ED328C259B * __this, List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * ___list0, const RuntimeMethod* method)
{
(( void (*) (Enumerator_tC2AA66EAA1C0E0866F7FF4C03B9B46ED328C259B *, List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *, const RuntimeMethod*))Enumerator__ctor_m4ECC15B64DDC7B2DED2DFF4505043FF7FB76E9D5_gshared)(__this, ___list0, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<System.Int32>::.ctor(System.Collections.Generic.List`1<T>)
inline void Enumerator__ctor_mDB92E430A5D05B75AB5F1A399935FE31B5C9CEF8 (Enumerator_t1A13F370EC7EA46EA20204D8881CCE685A3C348C * __this, List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * ___list0, const RuntimeMethod* method)
{
(( void (*) (Enumerator_t1A13F370EC7EA46EA20204D8881CCE685A3C348C *, List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *, const RuntimeMethod*))Enumerator__ctor_mDB92E430A5D05B75AB5F1A399935FE31B5C9CEF8_gshared)(__this, ___list0, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<System.Int32Enum>::.ctor(System.Collections.Generic.List`1<T>)
inline void Enumerator__ctor_mAE704F6EBF7CC0DDA29CD07384D8C6D335576166 (Enumerator_t466722FA3B0808834F81142CF36A155FB30BA42D * __this, List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * ___list0, const RuntimeMethod* method)
{
(( void (*) (Enumerator_t466722FA3B0808834F81142CF36A155FB30BA42D *, List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *, const RuntimeMethod*))Enumerator__ctor_mAE704F6EBF7CC0DDA29CD07384D8C6D335576166_gshared)(__this, ___list0, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<System.Object>::.ctor(System.Collections.Generic.List`1<T>)
inline void Enumerator__ctor_m39C8C3D04576F8D63AF941CC77EE5871393388F0 (Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD * __this, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___list0, const RuntimeMethod* method)
{
(( void (*) (Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD *, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))Enumerator__ctor_m39C8C3D04576F8D63AF941CC77EE5871393388F0_gshared)(__this, ___list0, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<System.Single>::.ctor(System.Collections.Generic.List`1<T>)
inline void Enumerator__ctor_mC098660DDC562C49A98F1196A350625289869D18 (Enumerator_tFAFBEAFCC7B8C7F0A58F04A243A8773B576C4EFD * __this, List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * ___list0, const RuntimeMethod* method)
{
(( void (*) (Enumerator_tFAFBEAFCC7B8C7F0A58F04A243A8773B576C4EFD *, List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *, const RuntimeMethod*))Enumerator__ctor_mC098660DDC562C49A98F1196A350625289869D18_gshared)(__this, ___list0, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<System.UInt32>::.ctor(System.Collections.Generic.List`1<T>)
inline void Enumerator__ctor_m92014838C3F5A4883E57027C11D089033AA4F1E3 (Enumerator_t6C6061565EA2787387759C1CA5549E561A4FABBC * __this, List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * ___list0, const RuntimeMethod* method)
{
(( void (*) (Enumerator_t6C6061565EA2787387759C1CA5549E561A4FABBC *, List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *, const RuntimeMethod*))Enumerator__ctor_m92014838C3F5A4883E57027C11D089033AA4F1E3_gshared)(__this, ___list0, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<TMPro.SpriteAssetUtilities.TexturePacker/SpriteData>::.ctor(System.Collections.Generic.List`1<T>)
inline void Enumerator__ctor_m4F05B03A01D96C5C75B95F48880C15C5AF5986F4 (Enumerator_tB05134B77E5624086A3F85161AA2EE725C93D9EA * __this, List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * ___list0, const RuntimeMethod* method)
{
(( void (*) (Enumerator_tB05134B77E5624086A3F85161AA2EE725C93D9EA *, List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *, const RuntimeMethod*))Enumerator__ctor_m4F05B03A01D96C5C75B95F48880C15C5AF5986F4_gshared)(__this, ___list0, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.BeforeRenderHelper/OrderBlock>::.ctor(System.Collections.Generic.List`1<T>)
inline void Enumerator__ctor_mE662CA8F3FD9295CFDA36D6B1D465FA86D939D66 (Enumerator_tEB4831BF749196828927D05E6467255EFEE20323 * __this, List_1_t53AD896B2509A4686D143641030CF022753D3B04 * ___list0, const RuntimeMethod* method)
{
(( void (*) (Enumerator_tEB4831BF749196828927D05E6467255EFEE20323 *, List_1_t53AD896B2509A4686D143641030CF022753D3B04 *, const RuntimeMethod*))Enumerator__ctor_mE662CA8F3FD9295CFDA36D6B1D465FA86D939D66_gshared)(__this, ___list0, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Color32>::.ctor(System.Collections.Generic.List`1<T>)
inline void Enumerator__ctor_m70142101C8067D2910AB738F5CA4A3A31D88654D (Enumerator_t76470F82B2EDDF9F880C98421781A48D36D3382A * __this, List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * ___list0, const RuntimeMethod* method)
{
(( void (*) (Enumerator_t76470F82B2EDDF9F880C98421781A48D36D3382A *, List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *, const RuntimeMethod*))Enumerator__ctor_m70142101C8067D2910AB738F5CA4A3A31D88654D_gshared)(__this, ___list0, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.EventSystems.RaycastResult>::.ctor(System.Collections.Generic.List`1<T>)
inline void Enumerator__ctor_m7B6DEA1307339A5CA3176F11511C12D8B8D34685 (Enumerator_tA27E2343069402A698ECAD46C2DC47ACD7786618 * __this, List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * ___list0, const RuntimeMethod* method)
{
(( void (*) (Enumerator_tA27E2343069402A698ECAD46C2DC47ACD7786618 *, List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *, const RuntimeMethod*))Enumerator__ctor_m7B6DEA1307339A5CA3176F11511C12D8B8D34685_gshared)(__this, ___list0, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.TextCore.GlyphRect>::.ctor(System.Collections.Generic.List`1<T>)
inline void Enumerator__ctor_m1AD818C266B9FFEF9990B29BE1330D7326F08990 (Enumerator_tC98BCACC12E1DFB3B149B73715A0FBE3C8B049C3 * __this, List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * ___list0, const RuntimeMethod* method)
{
(( void (*) (Enumerator_tC98BCACC12E1DFB3B149B73715A0FBE3C8B049C3 *, List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *, const RuntimeMethod*))Enumerator__ctor_m1AD818C266B9FFEF9990B29BE1330D7326F08990_gshared)(__this, ___list0, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.UICharInfo>::.ctor(System.Collections.Generic.List`1<T>)
inline void Enumerator__ctor_mB5B0B5CEA64685EABCA326923B24750730B1C409 (Enumerator_tC74B83EBD6E429004D77BE34197889A60AE87C4F * __this, List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * ___list0, const RuntimeMethod* method)
{
(( void (*) (Enumerator_tC74B83EBD6E429004D77BE34197889A60AE87C4F *, List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *, const RuntimeMethod*))Enumerator__ctor_mB5B0B5CEA64685EABCA326923B24750730B1C409_gshared)(__this, ___list0, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.UILineInfo>::.ctor(System.Collections.Generic.List`1<T>)
inline void Enumerator__ctor_mBEFBD73844C725D01E11FA7FCC6BCB3CBA9F16B7 (Enumerator_tD8CA6910C75C5AD8FF6B3018C967A8E2431038AA * __this, List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * ___list0, const RuntimeMethod* method)
{
(( void (*) (Enumerator_tD8CA6910C75C5AD8FF6B3018C967A8E2431038AA *, List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *, const RuntimeMethod*))Enumerator__ctor_mBEFBD73844C725D01E11FA7FCC6BCB3CBA9F16B7_gshared)(__this, ___list0, method);
}
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m3600137CBF5A611AE1B43AE99623EC4392DEC254_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0((RuntimeObject *)__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_0 = ((List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_0);
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_mE0334FEEB0DA08C563C9A3EBC9841C917C6E8E2E_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, int32_t ___capacity0, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0((RuntimeObject *)__this, /*hidden argument*/NULL);
int32_t L_0 = ___capacity0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)12), (int32_t)4, /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_1 = ___capacity0;
if (L_1)
{
goto IL_0021;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_2 = ((List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_2);
return;
}
IL_0021:
{
int32_t L_3 = ___capacity0;
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_4 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)(KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_3);
__this->set__items_1(L_4);
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::.ctor(System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m9D2BDD56C0C5B80580C9980E0EFFAAD14C325E8F_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1__ctor_m9D2BDD56C0C5B80580C9980E0EFFAAD14C325E8F_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
RuntimeObject* V_2 = 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);
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0((RuntimeObject *)__this, /*hidden argument*/NULL);
RuntimeObject* L_0 = ___collection0;
if (L_0)
{
goto IL_000f;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)6, /*hidden argument*/NULL);
}
IL_000f:
{
RuntimeObject* L_1 = ___collection0;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_2 = V_0;
if (!L_2)
{
goto IL_0050;
}
}
{
RuntimeObject* L_3 = V_0;
int32_t L_4 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_3);
V_1 = (int32_t)L_4;
int32_t L_5 = V_1;
if (L_5)
{
goto IL_002f;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_6 = ((List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_6);
return;
}
IL_002f:
{
int32_t L_7 = V_1;
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_8 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)(KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_7);
__this->set__items_1(L_8);
RuntimeObject* L_9 = V_0;
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_10 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
InterfaceActionInvoker2< KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_9, (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)L_10, (int32_t)0);
int32_t L_11 = V_1;
__this->set__size_2(L_11);
return;
}
IL_0050:
{
__this->set__size_2(0);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_12 = ((List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_12);
RuntimeObject* L_13 = ___collection0;
RuntimeObject* L_14 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_13);
V_2 = (RuntimeObject*)L_14;
}
IL_0069:
try
{ // begin try (depth: 1)
{
goto IL_0077;
}
IL_006b:
{
RuntimeObject* L_15 = V_2;
KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B L_16 = InterfaceFuncInvoker0< KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_15);
(( void (*) (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *, KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *)__this, (KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B )L_16, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
}
IL_0077:
{
RuntimeObject* L_17 = V_2;
bool L_18 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, (RuntimeObject*)L_17);
if (L_18)
{
goto IL_006b;
}
}
IL_007f:
{
IL2CPP_LEAVE(0x8B, FINALLY_0081);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0081;
}
FINALLY_0081:
{ // begin finally (depth: 1)
{
RuntimeObject* L_19 = V_2;
if (!L_19)
{
goto IL_008a;
}
}
IL_0084:
{
RuntimeObject* L_20 = V_2;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, (RuntimeObject*)L_20);
}
IL_008a:
{
IL2CPP_END_FINALLY(129)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(129)
{
IL2CPP_JUMP_TBL(0x8B, IL_008b)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_008b:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::get_Capacity()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_get_Capacity_m6F73D42F129DCA003F8314E0255A39C078D34226_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, const RuntimeMethod* method)
{
{
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_0 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
return (((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length))));
}
}
// System.Void System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::set_Capacity(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Capacity_m59C4BCAA285D08078129484C45F817D9D1043310_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, int32_t ___value0, const RuntimeMethod* method)
{
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* V_0 = NULL;
{
int32_t L_0 = ___value0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) >= ((int32_t)L_1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)15), (int32_t)((int32_t)21), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___value0;
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_3 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
if ((((int32_t)L_2) == ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length)))))))
{
goto IL_0058;
}
}
{
int32_t L_4 = ___value0;
if ((((int32_t)L_4) <= ((int32_t)0)))
{
goto IL_004d;
}
}
{
int32_t L_5 = ___value0;
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_6 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)(KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_5);
V_0 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)L_6;
int32_t L_7 = (int32_t)__this->get__size_2();
if ((((int32_t)L_7) <= ((int32_t)0)))
{
goto IL_0045;
}
}
{
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_8 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_9 = V_0;
int32_t L_10 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_8, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_9, (int32_t)0, (int32_t)L_10, /*hidden argument*/NULL);
}
IL_0045:
{
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_11 = V_0;
__this->set__items_1(L_11);
return;
}
IL_004d:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_12 = ((List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_12);
}
IL_0058:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::get_Count()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_get_Count_mB556AE5EB3416A032123DE8D7E96B5FFD8CC8242_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
return L_0;
}
}
// System.Boolean System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::System.Collections.Generic.ICollection<T>.get_IsReadOnly()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_System_Collections_Generic_ICollectionU3CTU3E_get_IsReadOnly_mB3A08CA41F50BC9E72C5C6EFBC4935C5E3695797_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::System.Collections.IList.get_IsReadOnly()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_System_Collections_IList_get_IsReadOnly_mC45AF4D49969CC6614C2C971D65F06CB077F0687_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// T System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::get_Item(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B List_1_get_Item_mA3E868C42E65CB3DC3966732D238AF05D6338EF7_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __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:
{
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_2 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
int32_t L_3 = ___index0;
KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B L_4 = IL2CPP_ARRAY_UNSAFE_LOAD((KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)L_2, (int32_t)L_3);
return L_4;
}
}
// System.Void System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::set_Item(System.Int32,T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Item_mD6C4B248AF62C014CC1432A567EABFCECAFD3C28_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, int32_t ___index0, KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B ___value1, 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:
{
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_2 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
int32_t L_3 = ___index0;
KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B L_4 = ___value1;
(L_2)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_3), (KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B )L_4);
int32_t L_5 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::IsCompatibleObject(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_IsCompatibleObject_m58EC8C799D8C4FF651914D81454A7027EA19643C_gshared (RuntimeObject * ___value0, const RuntimeMethod* method)
{
KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B V_0;
memset((&V_0), 0, sizeof(V_0));
{
RuntimeObject * L_0 = ___value0;
if (((RuntimeObject *)IsInst((RuntimeObject*)L_0, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7))))
{
goto IL_001f;
}
}
{
RuntimeObject * L_1 = ___value0;
if (L_1)
{
goto IL_001d;
}
}
{
il2cpp_codegen_initobj((&V_0), sizeof(KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B ));
KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B L_2 = V_0;
KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B L_3 = L_2;
RuntimeObject * L_4 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7), &L_3);
return (bool)((((RuntimeObject*)(RuntimeObject *)L_4) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
}
IL_001d:
{
return (bool)0;
}
IL_001f:
{
return (bool)1;
}
}
// System.Object System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::System.Collections.IList.get_Item(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * List_1_System_Collections_IList_get_Item_m9DA78155E3E7734347B5987D66BF9F885F5AF548_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B L_1 = (( KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B (*) (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8)->methodPointer)((List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *)__this, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B L_2 = L_1;
RuntimeObject * L_3 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7), &L_2);
return L_3;
}
}
// System.Void System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::System.Collections.IList.set_Item(System.Int32,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_IList_set_Item_m7984F35CFB7EAB95D46C223BA08751B091D369DB_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, int32_t ___index0, RuntimeObject * ___value1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_set_Item_m7984F35CFB7EAB95D46C223BA08751B091D369DB_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeObject * L_0 = ___value1;
(( void (*) (RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((RuntimeObject *)L_0, (int32_t)((int32_t)15), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___value1;
(( void (*) (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *, int32_t, KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10)->methodPointer)((List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *)__this, (int32_t)L_1, (KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B )((*(KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B *)((KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___value1;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6((RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F((RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::Add(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Add_mA7FDE3694EEBB4C98536E78A885B8ADBDD00CE1D_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = (int32_t)__this->get__size_2();
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_1 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
if ((!(((uint32_t)L_0) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length))))))))
{
goto IL_001e;
}
}
{
int32_t L_2 = (int32_t)__this->get__size_2();
(( void (*) (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_2, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_001e:
{
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_3 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
int32_t L_4 = (int32_t)__this->get__size_2();
V_0 = (int32_t)L_4;
int32_t L_5 = V_0;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
int32_t L_6 = V_0;
KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B L_7 = ___item0;
(L_3)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_6), (KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B )L_7);
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::System.Collections.IList.Add(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_System_Collections_IList_Add_m3DAAAC6197CED965C70489DB86D6274BAC5BE380_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Add_m3DAAAC6197CED965C70489DB86D6274BAC5BE380_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeObject * L_0 = ___item0;
(( void (*) (RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
RuntimeObject * L_1 = ___item0;
(( void (*) (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *, KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *)__this, (KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B )((*(KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B *)((KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B *)UnBox(L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
goto IL_0029;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0016;
throw e;
}
CATCH_0016:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_2 = ___item0;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_3 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_4 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6((RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D )L_3, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F((RuntimeObject *)L_2, (Type_t *)L_4, /*hidden argument*/NULL);
goto IL_0029;
} // end catch (depth: 1)
IL_0029:
{
int32_t L_5 = (( int32_t (*) (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_5, (int32_t)1));
}
}
// System.Void System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::AddRange(System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_AddRange_m3080C4FB26B956AE32B1DC0AB3CF2BC8E61AB6C1_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
RuntimeObject* L_1 = ___collection0;
(( void (*) (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14)->methodPointer)((List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *)__this, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::Clear()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Clear_m7C9A347A3DFCB9F69A179D85558F1B23D876EC12_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) <= ((int32_t)0)))
{
goto IL_0022;
}
}
{
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_1 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
int32_t L_2 = (int32_t)__this->get__size_2();
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/NULL);
__this->set__size_2(0);
}
IL_0022:
{
int32_t L_3 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::Contains(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_Contains_m1DCA5926D661793CE9F1F527CB35E01530AC8577_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
EqualityComparer_1_t41502C277E18047AC2005F5FB63267CB4C010B77 * V_1 = NULL;
int32_t V_2 = 0;
{
goto IL_0030;
}
{
V_0 = (int32_t)0;
goto IL_0025;
}
IL_000c:
{
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_1 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
int32_t L_2 = V_0;
int32_t L_3 = L_2;
KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B L_4 = (KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B )(L_1)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_3));
goto IL_0021;
}
{
return (bool)1;
}
IL_0021:
{
int32_t L_5 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1));
}
IL_0025:
{
int32_t L_6 = V_0;
int32_t L_7 = (int32_t)__this->get__size_2();
if ((((int32_t)L_6) < ((int32_t)L_7)))
{
goto IL_000c;
}
}
{
return (bool)0;
}
IL_0030:
{
EqualityComparer_1_t41502C277E18047AC2005F5FB63267CB4C010B77 * L_8 = (( EqualityComparer_1_t41502C277E18047AC2005F5FB63267CB4C010B77 * (*) (const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)(/*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
V_1 = (EqualityComparer_1_t41502C277E18047AC2005F5FB63267CB4C010B77 *)L_8;
V_2 = (int32_t)0;
goto IL_0055;
}
IL_003a:
{
EqualityComparer_1_t41502C277E18047AC2005F5FB63267CB4C010B77 * L_9 = V_1;
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_10 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
int32_t L_11 = V_2;
int32_t L_12 = L_11;
KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B L_13 = (KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B )(L_10)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_12));
KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B L_14 = ___item0;
bool L_15 = VirtFuncInvoker2< bool, KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B , KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B >::Invoke(8 /* System.Boolean System.Collections.Generic.EqualityComparer`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::Equals(T,T) */, (EqualityComparer_1_t41502C277E18047AC2005F5FB63267CB4C010B77 *)L_9, (KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B )L_13, (KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B )L_14);
if (!L_15)
{
goto IL_0051;
}
}
{
return (bool)1;
}
IL_0051:
{
int32_t L_16 = V_2;
V_2 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1));
}
IL_0055:
{
int32_t L_17 = V_2;
int32_t L_18 = (int32_t)__this->get__size_2();
if ((((int32_t)L_17) < ((int32_t)L_18)))
{
goto IL_003a;
}
}
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::System.Collections.IList.Contains(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_System_Collections_IList_Contains_m488B56C6E28A92B7676A19A2B10A2CC34ADA65B1_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
bool L_3 = (( bool (*) (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *, KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *)__this, (KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B )((*(KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B *)((KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
return L_3;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::CopyTo(T[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_CopyTo_m93C0D92B25C16069B871D2415342DB33F047C81A_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* ___array0, const RuntimeMethod* method)
{
{
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_0 = ___array0;
(( void (*) (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *, KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20)->methodPointer)((List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *)__this, (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)L_0, (int32_t)0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::System.Collections.ICollection.CopyTo(System.Array,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_ICollection_CopyTo_m63935B99EB1E849148A0F4A59720E115CE51CBC2_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, RuntimeArray * ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_ICollection_CopyTo_m63935B99EB1E849148A0F4A59720E115CE51CBC2_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeArray * L_0 = ___array0;
if (!L_0)
{
goto IL_0012;
}
}
{
RuntimeArray * L_1 = ___array0;
int32_t L_2 = Array_get_Rank_m38145B59D67D75F9896A3F8CDA9B966641AE99E1((RuntimeArray *)L_1, /*hidden argument*/NULL);
if ((((int32_t)L_2) == ((int32_t)1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)7, /*hidden argument*/NULL);
}
IL_0012:
{
}
IL_0013:
try
{ // begin try (depth: 1)
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_3 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
RuntimeArray * L_4 = ___array0;
int32_t L_5 = ___arrayIndex1;
int32_t L_6 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_3, (int32_t)0, (RuntimeArray *)L_4, (int32_t)L_5, (int32_t)L_6, /*hidden argument*/NULL);
goto IL_0033;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (ArrayTypeMismatchException_tE34C1032B089C37399200997F079C640D23D9499_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0029;
throw e;
}
CATCH_0029:
{ // begin catch(System.ArrayTypeMismatchException)
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)18), /*hidden argument*/NULL);
goto IL_0033;
} // end catch (depth: 1)
IL_0033:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::CopyTo(System.Int32,T[],System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_CopyTo_mB85A0BEA1CEA04EFD2D3C09A5CC81B5420EC6F06_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, int32_t ___index0, KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* ___array1, int32_t ___arrayIndex2, int32_t ___count3, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
int32_t L_1 = ___index0;
int32_t L_2 = ___count3;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_0, (int32_t)L_1))) >= ((int32_t)L_2)))
{
goto IL_0013;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_0013:
{
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_3 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
int32_t L_4 = ___index0;
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_5 = ___array1;
int32_t L_6 = ___arrayIndex2;
int32_t L_7 = ___count3;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_3, (int32_t)L_4, (RuntimeArray *)(RuntimeArray *)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::CopyTo(T[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_CopyTo_m10FC91687EE4F88338A4DA8DDABFA8D60313A1DF_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
{
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_0 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_1 = ___array0;
int32_t L_2 = ___arrayIndex1;
int32_t L_3 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_0, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)L_2, (int32_t)L_3, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::EnsureCapacity(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_EnsureCapacity_mB6821BA3B0A77535ADD46F5FD13A1D85083197D5_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, int32_t ___min0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t G_B4_0 = 0;
{
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_0 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
int32_t L_1 = ___min0;
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length))))) >= ((int32_t)L_1)))
{
goto IL_003d;
}
}
{
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_2 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
if (!(((RuntimeArray*)L_2)->max_length))
{
goto IL_0020;
}
}
{
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_3 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
G_B4_0 = ((int32_t)il2cpp_codegen_multiply((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length)))), (int32_t)2));
goto IL_0021;
}
IL_0020:
{
G_B4_0 = 4;
}
IL_0021:
{
V_0 = (int32_t)G_B4_0;
int32_t L_4 = V_0;
if ((!(((uint32_t)L_4) > ((uint32_t)((int32_t)2146435071)))))
{
goto IL_0030;
}
}
{
V_0 = (int32_t)((int32_t)2146435071);
}
IL_0030:
{
int32_t L_5 = V_0;
int32_t L_6 = ___min0;
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0036;
}
}
{
int32_t L_7 = ___min0;
V_0 = (int32_t)L_7;
}
IL_0036:
{
int32_t L_8 = V_0;
(( void (*) (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 21)->methodPointer)((List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *)__this, (int32_t)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 21));
}
IL_003d:
{
return;
}
}
// T System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::Find(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B List_1_Find_mC6F86C810773F249388E7368FDA142C4D091133D_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, Predicate_1_t0CED81C3FC8E7102A1E55F8156E33915BDC8EB2C * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B V_1;
memset((&V_1), 0, sizeof(V_1));
{
Predicate_1_t0CED81C3FC8E7102A1E55F8156E33915BDC8EB2C * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0032;
}
IL_000d:
{
Predicate_1_t0CED81C3FC8E7102A1E55F8156E33915BDC8EB2C * L_1 = ___match0;
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_2 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
int32_t L_3 = V_0;
int32_t L_4 = L_3;
KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B L_5 = (KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B )(L_2)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_4));
bool L_6 = (( bool (*) (Predicate_1_t0CED81C3FC8E7102A1E55F8156E33915BDC8EB2C *, KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t0CED81C3FC8E7102A1E55F8156E33915BDC8EB2C *)L_1, (KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B )L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_6)
{
goto IL_002e;
}
}
{
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_7 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
int32_t L_8 = V_0;
int32_t L_9 = L_8;
KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B L_10 = (KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B )(L_7)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_9));
return L_10;
}
IL_002e:
{
int32_t L_11 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)1));
}
IL_0032:
{
int32_t L_12 = V_0;
int32_t L_13 = (int32_t)__this->get__size_2();
if ((((int32_t)L_12) < ((int32_t)L_13)))
{
goto IL_000d;
}
}
{
il2cpp_codegen_initobj((&V_1), sizeof(KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B ));
KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B L_14 = V_1;
return L_14;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::FindIndex(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_FindIndex_mE8C4178735A5C5A9F93924931C323B17873554AD_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, Predicate_1_t0CED81C3FC8E7102A1E55F8156E33915BDC8EB2C * ___match0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
Predicate_1_t0CED81C3FC8E7102A1E55F8156E33915BDC8EB2C * L_1 = ___match0;
int32_t L_2 = (( int32_t (*) (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *, int32_t, int32_t, Predicate_1_t0CED81C3FC8E7102A1E55F8156E33915BDC8EB2C *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23)->methodPointer)((List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *)__this, (int32_t)0, (int32_t)L_0, (Predicate_1_t0CED81C3FC8E7102A1E55F8156E33915BDC8EB2C *)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23));
return L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::FindIndex(System.Int32,System.Int32,System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_FindIndex_mD26742B93CE9D379EF9AE12C426D4DCE5365625B_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, int32_t ___startIndex0, int32_t ___count1, Predicate_1_t0CED81C3FC8E7102A1E55F8156E33915BDC8EB2C * ___match2, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
int32_t L_0 = ___startIndex0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) > ((uint32_t)L_1))))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)14), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___count1;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0021;
}
}
{
int32_t L_3 = ___startIndex0;
int32_t L_4 = (int32_t)__this->get__size_2();
int32_t L_5 = ___count1;
if ((((int32_t)L_3) <= ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_4, (int32_t)L_5)))))
{
goto IL_002a;
}
}
IL_0021:
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)((int32_t)25), /*hidden argument*/NULL);
}
IL_002a:
{
Predicate_1_t0CED81C3FC8E7102A1E55F8156E33915BDC8EB2C * L_6 = ___match2;
if (L_6)
{
goto IL_0033;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0033:
{
int32_t L_7 = ___startIndex0;
int32_t L_8 = ___count1;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_7, (int32_t)L_8));
int32_t L_9 = ___startIndex0;
V_1 = (int32_t)L_9;
goto IL_0055;
}
IL_003b:
{
Predicate_1_t0CED81C3FC8E7102A1E55F8156E33915BDC8EB2C * L_10 = ___match2;
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_11 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
int32_t L_12 = V_1;
int32_t L_13 = L_12;
KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B L_14 = (KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B )(L_11)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_13));
bool L_15 = (( bool (*) (Predicate_1_t0CED81C3FC8E7102A1E55F8156E33915BDC8EB2C *, KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t0CED81C3FC8E7102A1E55F8156E33915BDC8EB2C *)L_10, (KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B )L_14, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_15)
{
goto IL_0051;
}
}
{
int32_t L_16 = V_1;
return L_16;
}
IL_0051:
{
int32_t L_17 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1));
}
IL_0055:
{
int32_t L_18 = V_1;
int32_t L_19 = V_0;
if ((((int32_t)L_18) < ((int32_t)L_19)))
{
goto IL_003b;
}
}
{
return (-1);
}
}
// System.Collections.Generic.List`1_Enumerator<T> System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Enumerator_tC2AA66EAA1C0E0866F7FF4C03B9B46ED328C259B List_1_GetEnumerator_mDA99ED5CEE4E4FF5FFAADEAF8E0E85D21880ED24_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, const RuntimeMethod* method)
{
{
Enumerator_tC2AA66EAA1C0E0866F7FF4C03B9B46ED328C259B L_0;
memset((&L_0), 0, sizeof(L_0));
Enumerator__ctor_m4ECC15B64DDC7B2DED2DFF4505043FF7FB76E9D5((&L_0), (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
return L_0;
}
}
// System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::System.Collections.Generic.IEnumerable<T>.GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* List_1_System_Collections_Generic_IEnumerableU3CTU3E_GetEnumerator_m5E6B16DFDD6876113FA7FA9761C88E61213F317D_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, const RuntimeMethod* method)
{
{
Enumerator_tC2AA66EAA1C0E0866F7FF4C03B9B46ED328C259B L_0;
memset((&L_0), 0, sizeof(L_0));
Enumerator__ctor_m4ECC15B64DDC7B2DED2DFF4505043FF7FB76E9D5((&L_0), (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
Enumerator_tC2AA66EAA1C0E0866F7FF4C03B9B46ED328C259B L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 24), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Collections.IEnumerator System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::System.Collections.IEnumerable.GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* List_1_System_Collections_IEnumerable_GetEnumerator_mAAF1BF63F7B5E6109C14CE8A43DF5FA2AAEB093E_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, const RuntimeMethod* method)
{
{
Enumerator_tC2AA66EAA1C0E0866F7FF4C03B9B46ED328C259B L_0;
memset((&L_0), 0, sizeof(L_0));
Enumerator__ctor_m4ECC15B64DDC7B2DED2DFF4505043FF7FB76E9D5((&L_0), (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
Enumerator_tC2AA66EAA1C0E0866F7FF4C03B9B46ED328C259B L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 24), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::IndexOf(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_IndexOf_m7F4853D173758609A67A8535BCAD96435014FD18_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B ___item0, const RuntimeMethod* method)
{
{
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_0 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B L_1 = ___item0;
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = (( int32_t (*) (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*, KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B , int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)L_0, (KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B )L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
return L_3;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::System.Collections.IList.IndexOf(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_System_Collections_IList_IndexOf_m44BDA449166EA3F6FC9696395A1015929896AFA4_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
int32_t L_3 = (( int32_t (*) (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *, KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *)__this, (KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B )((*(KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B *)((KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
return L_3;
}
IL_0015:
{
return (-1);
}
}
// System.Void System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::Insert(System.Int32,T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Insert_m05733E85DD87F000F85D6BA642A821FC219D9A12_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, int32_t ___index0, KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B ___item1, 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_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)((int32_t)27), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = (int32_t)__this->get__size_2();
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_3 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
if ((!(((uint32_t)L_2) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length))))))))
{
goto IL_0030;
}
}
{
int32_t L_4 = (int32_t)__this->get__size_2();
(( void (*) (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_0030:
{
int32_t L_5 = ___index0;
int32_t L_6 = (int32_t)__this->get__size_2();
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0056;
}
}
{
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_7 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
int32_t L_8 = ___index0;
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_9 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
int32_t L_12 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (RuntimeArray *)(RuntimeArray *)L_9, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_11, (int32_t)L_12)), /*hidden argument*/NULL);
}
IL_0056:
{
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_13 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
int32_t L_14 = ___index0;
KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B L_15 = ___item1;
(L_13)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_14), (KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B )L_15);
int32_t L_16 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1)));
int32_t L_17 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::System.Collections.IList.Insert(System.Int32,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_IList_Insert_m6EF1D74BCE846799488D162BC6A9CD2F68C01239_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, int32_t ___index0, RuntimeObject * ___item1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Insert_m6EF1D74BCE846799488D162BC6A9CD2F68C01239_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeObject * L_0 = ___item1;
(( void (*) (RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___item1;
(( void (*) (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *, int32_t, KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *)__this, (int32_t)L_1, (KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B )((*(KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B *)((KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___item1;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6((RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F((RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::InsertRange(System.Int32,System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_InsertRange_m57B84B7D021363C84815C88EE6FF9758E7EAA367_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, int32_t ___index0, RuntimeObject* ___collection1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_InsertRange_m57B84B7D021363C84815C88EE6FF9758E7EAA367_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
RuntimeObject* V_2 = 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);
{
RuntimeObject* L_0 = ___collection1;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)6, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = ___index0;
int32_t L_2 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_1) > ((uint32_t)L_2))))
{
goto IL_001b;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_001b:
{
RuntimeObject* L_3 = ___collection1;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_3, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_4 = V_0;
if (!L_4)
{
goto IL_00c0;
}
}
{
RuntimeObject* L_5 = V_0;
int32_t L_6 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_5);
V_1 = (int32_t)L_6;
int32_t L_7 = V_1;
if ((((int32_t)L_7) <= ((int32_t)0)))
{
goto IL_00ef;
}
}
{
int32_t L_8 = (int32_t)__this->get__size_2();
int32_t L_9 = V_1;
(( void (*) (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)L_9)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) >= ((int32_t)L_11)))
{
goto IL_006a;
}
}
{
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_12 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
int32_t L_13 = ___index0;
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_14 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
int32_t L_15 = ___index0;
int32_t L_16 = V_1;
int32_t L_17 = (int32_t)__this->get__size_2();
int32_t L_18 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_12, (int32_t)L_13, (RuntimeArray *)(RuntimeArray *)L_14, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_15, (int32_t)L_16)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_17, (int32_t)L_18)), /*hidden argument*/NULL);
}
IL_006a:
{
RuntimeObject* L_19 = V_0;
if ((!(((RuntimeObject*)(List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *)__this) == ((RuntimeObject*)(RuntimeObject*)L_19))))
{
goto IL_00a3;
}
}
{
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_20 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_21 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
int32_t L_22 = ___index0;
int32_t L_23 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_20, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_21, (int32_t)L_22, (int32_t)L_23, /*hidden argument*/NULL);
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_24 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
int32_t L_25 = ___index0;
int32_t L_26 = V_1;
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_27 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
int32_t L_28 = ___index0;
int32_t L_29 = (int32_t)__this->get__size_2();
int32_t L_30 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_24, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_25, (int32_t)L_26)), (RuntimeArray *)(RuntimeArray *)L_27, (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_28, (int32_t)2)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_29, (int32_t)L_30)), /*hidden argument*/NULL);
goto IL_00b0;
}
IL_00a3:
{
RuntimeObject* L_31 = V_0;
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_32 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
int32_t L_33 = ___index0;
InterfaceActionInvoker2< KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_31, (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)L_32, (int32_t)L_33);
}
IL_00b0:
{
int32_t L_34 = (int32_t)__this->get__size_2();
int32_t L_35 = V_1;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_34, (int32_t)L_35)));
goto IL_00ef;
}
IL_00c0:
{
RuntimeObject* L_36 = ___collection1;
RuntimeObject* L_37 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_36);
V_2 = (RuntimeObject*)L_37;
}
IL_00c7:
try
{ // begin try (depth: 1)
{
goto IL_00db;
}
IL_00c9:
{
int32_t L_38 = ___index0;
int32_t L_39 = (int32_t)L_38;
___index0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_39, (int32_t)1));
RuntimeObject* L_40 = V_2;
KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B L_41 = InterfaceFuncInvoker0< KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_40);
(( void (*) (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *, int32_t, KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *)__this, (int32_t)L_39, (KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B )L_41, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_00db:
{
RuntimeObject* L_42 = V_2;
bool L_43 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, (RuntimeObject*)L_42);
if (L_43)
{
goto IL_00c9;
}
}
IL_00e3:
{
IL2CPP_LEAVE(0xEF, FINALLY_00e5);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00e5;
}
FINALLY_00e5:
{ // begin finally (depth: 1)
{
RuntimeObject* L_44 = V_2;
if (!L_44)
{
goto IL_00ee;
}
}
IL_00e8:
{
RuntimeObject* L_45 = V_2;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, (RuntimeObject*)L_45);
}
IL_00ee:
{
IL2CPP_END_FINALLY(229)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(229)
{
IL2CPP_JUMP_TBL(0xEF, IL_00ef)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00ef:
{
int32_t L_46 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_46, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::Remove(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_Remove_m3596DCD951F78D356BCE18AC1AD04D1379E8E7B7_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B L_0 = ___item0;
int32_t L_1 = (( int32_t (*) (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *, KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *)__this, (KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
V_0 = (int32_t)L_1;
int32_t L_2 = V_0;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0015;
}
}
{
int32_t L_3 = V_0;
(( void (*) (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29)->methodPointer)((List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *)__this, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29));
return (bool)1;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::System.Collections.IList.Remove(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_IList_Remove_mC1C8F26822C8AB2F67DFC6D96061D106A377C86D_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
(( bool (*) (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *, KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30)->methodPointer)((List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *)__this, (KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B )((*(KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B *)((KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
}
IL_0015:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::RemoveAll(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_RemoveAll_mBC3DA8EBBED79C6EB0D6FBFDC35B64DC713335C5_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, Predicate_1_t0CED81C3FC8E7102A1E55F8156E33915BDC8EB2C * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
Predicate_1_t0CED81C3FC8E7102A1E55F8156E33915BDC8EB2C * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0011;
}
IL_000d:
{
int32_t L_1 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_1, (int32_t)1));
}
IL_0011:
{
int32_t L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__size_2();
if ((((int32_t)L_2) >= ((int32_t)L_3)))
{
goto IL_002e;
}
}
{
Predicate_1_t0CED81C3FC8E7102A1E55F8156E33915BDC8EB2C * L_4 = ___match0;
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_5 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
int32_t L_6 = V_0;
int32_t L_7 = L_6;
KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B L_8 = (KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B )(L_5)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_7));
bool L_9 = (( bool (*) (Predicate_1_t0CED81C3FC8E7102A1E55F8156E33915BDC8EB2C *, KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t0CED81C3FC8E7102A1E55F8156E33915BDC8EB2C *)L_4, (KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B )L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_9)
{
goto IL_000d;
}
}
IL_002e:
{
int32_t L_10 = V_0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) < ((int32_t)L_11)))
{
goto IL_0039;
}
}
{
return 0;
}
IL_0039:
{
int32_t L_12 = V_0;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1));
goto IL_0089;
}
IL_003f:
{
int32_t L_13 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_13, (int32_t)1));
}
IL_0043:
{
int32_t L_14 = V_1;
int32_t L_15 = (int32_t)__this->get__size_2();
if ((((int32_t)L_14) >= ((int32_t)L_15)))
{
goto IL_0060;
}
}
{
Predicate_1_t0CED81C3FC8E7102A1E55F8156E33915BDC8EB2C * L_16 = ___match0;
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_17 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
int32_t L_18 = V_1;
int32_t L_19 = L_18;
KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B L_20 = (KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B )(L_17)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_19));
bool L_21 = (( bool (*) (Predicate_1_t0CED81C3FC8E7102A1E55F8156E33915BDC8EB2C *, KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t0CED81C3FC8E7102A1E55F8156E33915BDC8EB2C *)L_16, (KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B )L_20, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (L_21)
{
goto IL_003f;
}
}
IL_0060:
{
int32_t L_22 = V_1;
int32_t L_23 = (int32_t)__this->get__size_2();
if ((((int32_t)L_22) >= ((int32_t)L_23)))
{
goto IL_0089;
}
}
{
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_24 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
int32_t L_25 = V_0;
int32_t L_26 = (int32_t)L_25;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_26, (int32_t)1));
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_27 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
int32_t L_28 = V_1;
int32_t L_29 = (int32_t)L_28;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_29, (int32_t)1));
int32_t L_30 = L_29;
KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B L_31 = (KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B )(L_27)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_30));
(L_24)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_26), (KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B )L_31);
}
IL_0089:
{
int32_t L_32 = V_1;
int32_t L_33 = (int32_t)__this->get__size_2();
if ((((int32_t)L_32) < ((int32_t)L_33)))
{
goto IL_0043;
}
}
{
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_34 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
int32_t L_35 = V_0;
int32_t L_36 = (int32_t)__this->get__size_2();
int32_t L_37 = V_0;
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_34, (int32_t)L_35, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_36, (int32_t)L_37)), /*hidden argument*/NULL);
int32_t L_38 = (int32_t)__this->get__size_2();
int32_t L_39 = V_0;
int32_t L_40 = V_0;
__this->set__size_2(L_40);
int32_t L_41 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_41, (int32_t)1)));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_38, (int32_t)L_39));
}
}
// System.Void System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::RemoveAt(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_RemoveAt_m5C592A6A64AAAE4825B38C88F52900532526CC43_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, int32_t ___index0, const RuntimeMethod* method)
{
KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B V_0;
memset((&V_0), 0, sizeof(V_0));
{
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:
{
int32_t L_2 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)1)));
int32_t L_3 = ___index0;
int32_t L_4 = (int32_t)__this->get__size_2();
if ((((int32_t)L_3) >= ((int32_t)L_4)))
{
goto IL_0042;
}
}
{
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_5 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
int32_t L_6 = ___index0;
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_7 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
int32_t L_10 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_5, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)1)), (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)L_10)), /*hidden argument*/NULL);
}
IL_0042:
{
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_11 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
int32_t L_12 = (int32_t)__this->get__size_2();
il2cpp_codegen_initobj((&V_0), sizeof(KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B ));
KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B L_13 = V_0;
(L_11)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_12), (KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B )L_13);
int32_t L_14 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_14, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::RemoveRange(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_RemoveRange_m4A97F880811EC74A49B15220FF088FA74B117CCC_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
int32_t L_5 = ___count1;
if ((((int32_t)L_5) <= ((int32_t)0)))
{
goto IL_0082;
}
}
{
int32_t L_6 = (int32_t)__this->get__size_2();
int32_t L_7 = ___count1;
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)L_7)));
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
if ((((int32_t)L_8) >= ((int32_t)L_9)))
{
goto IL_0062;
}
}
{
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_10 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
int32_t L_11 = ___index0;
int32_t L_12 = ___count1;
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_13 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
int32_t L_14 = ___index0;
int32_t L_15 = (int32_t)__this->get__size_2();
int32_t L_16 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_10, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)L_12)), (RuntimeArray *)(RuntimeArray *)L_13, (int32_t)L_14, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_15, (int32_t)L_16)), /*hidden argument*/NULL);
}
IL_0062:
{
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_17 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
int32_t L_18 = (int32_t)__this->get__size_2();
int32_t L_19 = ___count1;
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_17, (int32_t)L_18, (int32_t)L_19, /*hidden argument*/NULL);
int32_t L_20 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_20, (int32_t)1)));
}
IL_0082:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::Reverse()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Reverse_mFA4EBF4334626BD30A51D36CA0983934B3B861D8_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (( int32_t (*) (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
(( void (*) (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31)->methodPointer)((List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *)__this, (int32_t)0, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::Reverse(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Reverse_m31F086F76FC1290EFF4D8CF596029B89FD6DEE7A_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_5 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
(( void (*) (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32)->methodPointer)((KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::Sort(System.Collections.Generic.IComparer`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_mEA7D93B0D6C69A2124CC2116958A531FB9B360BD_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, RuntimeObject* ___comparer0, const RuntimeMethod* method)
{
{
int32_t L_0 = (( int32_t (*) (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
RuntimeObject* L_1 = ___comparer0;
(( void (*) (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 *)__this, (int32_t)0, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_m97ACB0124FA781CAA8F149BBBBE4072CE0EA49D3_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, int32_t ___index0, int32_t ___count1, RuntimeObject* ___comparer2, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_5 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
RuntimeObject* L_8 = ___comparer2;
(( void (*) (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)L_5, (int32_t)L_6, (int32_t)L_7, (RuntimeObject*)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
int32_t L_9 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::Sort(System.Comparison`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_mCAAA80CFBF9582CB03E92B88E6D7498C42CBC29B_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, Comparison_1_t37A6472C2FF8868034B64731ED0ABC8109B82134 * ___comparison0, const RuntimeMethod* method)
{
{
Comparison_1_t37A6472C2FF8868034B64731ED0ABC8109B82134 * L_0 = ___comparison0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_1) <= ((int32_t)0)))
{
goto IL_0025;
}
}
{
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_2 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
int32_t L_3 = (int32_t)__this->get__size_2();
Comparison_1_t37A6472C2FF8868034B64731ED0ABC8109B82134 * L_4 = ___comparison0;
(( void (*) (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*, int32_t, int32_t, Comparison_1_t37A6472C2FF8868034B64731ED0ABC8109B82134 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35)->methodPointer)((KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)L_2, (int32_t)0, (int32_t)L_3, (Comparison_1_t37A6472C2FF8868034B64731ED0ABC8109B82134 *)L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35));
}
IL_0025:
{
return;
}
}
// T[] System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::ToArray()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* List_1_ToArray_m02E30C3DAD140DFBD6AD3D41D912C37E65FE29CE_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, const RuntimeMethod* method)
{
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* V_0 = NULL;
{
int32_t L_0 = (int32_t)__this->get__size_2();
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_1 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)(KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_0);
V_0 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)L_1;
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_2 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_3 = V_0;
int32_t L_4 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_2, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_3, (int32_t)0, (int32_t)L_4, /*hidden argument*/NULL);
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_5 = V_0;
return L_5;
}
}
// System.Void System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__cctor_mC8720485BF9FAEFA66DB7C7418A40EF1403FE88F_gshared (const RuntimeMethod* method)
{
{
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_0 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)(KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)SZArrayNew(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 1), (uint32_t)0);
((List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set__emptyArray_5(L_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.Void System.Collections.Generic.List`1<System.Int32>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_mA7F9F92F641CEECFD9D8CFDC667568A05FFD27B4_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0((RuntimeObject *)__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_0 = ((List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_0);
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32>::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m020F9255F34CF1C83F40396FACCAB453009967BC_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, int32_t ___capacity0, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0((RuntimeObject *)__this, /*hidden argument*/NULL);
int32_t L_0 = ___capacity0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)12), (int32_t)4, /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_1 = ___capacity0;
if (L_1)
{
goto IL_0021;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_2 = ((List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_2);
return;
}
IL_0021:
{
int32_t L_3 = ___capacity0;
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_4 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)(Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_3);
__this->set__items_1(L_4);
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32>::.ctor(System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m262B3A833A8A33F720DDF70DABD4C455423A6797_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1__ctor_m262B3A833A8A33F720DDF70DABD4C455423A6797_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
RuntimeObject* V_2 = 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);
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0((RuntimeObject *)__this, /*hidden argument*/NULL);
RuntimeObject* L_0 = ___collection0;
if (L_0)
{
goto IL_000f;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)6, /*hidden argument*/NULL);
}
IL_000f:
{
RuntimeObject* L_1 = ___collection0;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_2 = V_0;
if (!L_2)
{
goto IL_0050;
}
}
{
RuntimeObject* L_3 = V_0;
int32_t L_4 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<System.Int32>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_3);
V_1 = (int32_t)L_4;
int32_t L_5 = V_1;
if (L_5)
{
goto IL_002f;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_6 = ((List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_6);
return;
}
IL_002f:
{
int32_t L_7 = V_1;
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_8 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)(Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_7);
__this->set__items_1(L_8);
RuntimeObject* L_9 = V_0;
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_10 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
InterfaceActionInvoker2< Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<System.Int32>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_9, (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)L_10, (int32_t)0);
int32_t L_11 = V_1;
__this->set__size_2(L_11);
return;
}
IL_0050:
{
__this->set__size_2(0);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_12 = ((List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_12);
RuntimeObject* L_13 = ___collection0;
RuntimeObject* L_14 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<System.Int32>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_13);
V_2 = (RuntimeObject*)L_14;
}
IL_0069:
try
{ // begin try (depth: 1)
{
goto IL_0077;
}
IL_006b:
{
RuntimeObject* L_15 = V_2;
int32_t L_16 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<System.Int32>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_15);
(( void (*) (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *)__this, (int32_t)L_16, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
}
IL_0077:
{
RuntimeObject* L_17 = V_2;
bool L_18 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, (RuntimeObject*)L_17);
if (L_18)
{
goto IL_006b;
}
}
IL_007f:
{
IL2CPP_LEAVE(0x8B, FINALLY_0081);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0081;
}
FINALLY_0081:
{ // begin finally (depth: 1)
{
RuntimeObject* L_19 = V_2;
if (!L_19)
{
goto IL_008a;
}
}
IL_0084:
{
RuntimeObject* L_20 = V_2;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, (RuntimeObject*)L_20);
}
IL_008a:
{
IL2CPP_END_FINALLY(129)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(129)
{
IL2CPP_JUMP_TBL(0x8B, IL_008b)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_008b:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Int32>::get_Capacity()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_get_Capacity_m5C4B27DD7F217FD6A19B1CE0DFBD7C5506C242C1_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, const RuntimeMethod* method)
{
{
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_0 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
return (((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length))));
}
}
// System.Void System.Collections.Generic.List`1<System.Int32>::set_Capacity(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Capacity_mD604412C66F05B164F0AE39B0F1A3DB526CA8821_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, int32_t ___value0, const RuntimeMethod* method)
{
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* V_0 = NULL;
{
int32_t L_0 = ___value0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) >= ((int32_t)L_1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)15), (int32_t)((int32_t)21), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___value0;
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_3 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
if ((((int32_t)L_2) == ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length)))))))
{
goto IL_0058;
}
}
{
int32_t L_4 = ___value0;
if ((((int32_t)L_4) <= ((int32_t)0)))
{
goto IL_004d;
}
}
{
int32_t L_5 = ___value0;
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_6 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)(Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_5);
V_0 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)L_6;
int32_t L_7 = (int32_t)__this->get__size_2();
if ((((int32_t)L_7) <= ((int32_t)0)))
{
goto IL_0045;
}
}
{
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_8 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_9 = V_0;
int32_t L_10 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_8, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_9, (int32_t)0, (int32_t)L_10, /*hidden argument*/NULL);
}
IL_0045:
{
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_11 = V_0;
__this->set__items_1(L_11);
return;
}
IL_004d:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_12 = ((List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_12);
}
IL_0058:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Int32>::get_Count()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m52793036D5E41E8E25DCC5C033380C44D7596903_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
return L_0;
}
}
// System.Boolean System.Collections.Generic.List`1<System.Int32>::System.Collections.Generic.ICollection<T>.get_IsReadOnly()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_System_Collections_Generic_ICollectionU3CTU3E_get_IsReadOnly_m14C1A086EA32268205EAF51EAAC83B6D1C1D3AB9_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<System.Int32>::System.Collections.IList.get_IsReadOnly()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_System_Collections_IList_get_IsReadOnly_mB9C59272538BA056C3F38ADED2C0D70660A92E28_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// T System.Collections.Generic.List`1<System.Int32>::get_Item(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_get_Item_mDF3F52C7C1985C572A07CD15F1486A0035D288D5_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __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:
{
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_2 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
int32_t L_3 = ___index0;
int32_t L_4 = IL2CPP_ARRAY_UNSAFE_LOAD((Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)L_2, (int32_t)L_3);
return L_4;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32>::set_Item(System.Int32,T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Item_mF0E545D2205064E7EA7A31558198AE763AE44292_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, int32_t ___index0, int32_t ___value1, 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:
{
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_2 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
int32_t L_3 = ___index0;
int32_t L_4 = ___value1;
(L_2)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_3), (int32_t)L_4);
int32_t L_5 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<System.Int32>::IsCompatibleObject(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_IsCompatibleObject_m01009CFEC41A8745FB44370B42CF678E08A46BB9_gshared (RuntimeObject * ___value0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
RuntimeObject * L_0 = ___value0;
if (((RuntimeObject *)IsInst((RuntimeObject*)L_0, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7))))
{
goto IL_001f;
}
}
{
RuntimeObject * L_1 = ___value0;
if (L_1)
{
goto IL_001d;
}
}
{
il2cpp_codegen_initobj((&V_0), sizeof(int32_t));
int32_t L_2 = V_0;
int32_t L_3 = L_2;
RuntimeObject * L_4 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7), &L_3);
return (bool)((((RuntimeObject*)(RuntimeObject *)L_4) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
}
IL_001d:
{
return (bool)0;
}
IL_001f:
{
return (bool)1;
}
}
// System.Object System.Collections.Generic.List`1<System.Int32>::System.Collections.IList.get_Item(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * List_1_System_Collections_IList_get_Item_m4E46305057221456D1FFDA33C3E6D05B9836E6FE_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (( int32_t (*) (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8)->methodPointer)((List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *)__this, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
int32_t L_2 = L_1;
RuntimeObject * L_3 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7), &L_2);
return L_3;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32>::System.Collections.IList.set_Item(System.Int32,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_IList_set_Item_m94CD719EF6C15EE5F73E29F5C7D8DB455C27668D_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, int32_t ___index0, RuntimeObject * ___value1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_set_Item_m94CD719EF6C15EE5F73E29F5C7D8DB455C27668D_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeObject * L_0 = ___value1;
(( void (*) (RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((RuntimeObject *)L_0, (int32_t)((int32_t)15), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___value1;
(( void (*) (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10)->methodPointer)((List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *)__this, (int32_t)L_1, (int32_t)((*(int32_t*)((int32_t*)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___value1;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6((RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F((RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32>::Add(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Add_m50C0D1F69B2EF31137658E2F052EBBAC7BF82771_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, int32_t ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = (int32_t)__this->get__size_2();
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_1 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
if ((!(((uint32_t)L_0) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length))))))))
{
goto IL_001e;
}
}
{
int32_t L_2 = (int32_t)__this->get__size_2();
(( void (*) (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_2, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_001e:
{
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_3 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
int32_t L_4 = (int32_t)__this->get__size_2();
V_0 = (int32_t)L_4;
int32_t L_5 = V_0;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
int32_t L_6 = V_0;
int32_t L_7 = ___item0;
(L_3)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_6), (int32_t)L_7);
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Int32>::System.Collections.IList.Add(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_System_Collections_IList_Add_mA5D5A28AE6BF70C26476D989EC915D050E05F130_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Add_mA5D5A28AE6BF70C26476D989EC915D050E05F130_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeObject * L_0 = ___item0;
(( void (*) (RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
RuntimeObject * L_1 = ___item0;
(( void (*) (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *)__this, (int32_t)((*(int32_t*)((int32_t*)UnBox(L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
goto IL_0029;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0016;
throw e;
}
CATCH_0016:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_2 = ___item0;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_3 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_4 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6((RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D )L_3, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F((RuntimeObject *)L_2, (Type_t *)L_4, /*hidden argument*/NULL);
goto IL_0029;
} // end catch (depth: 1)
IL_0029:
{
int32_t L_5 = (( int32_t (*) (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_5, (int32_t)1));
}
}
// System.Void System.Collections.Generic.List`1<System.Int32>::AddRange(System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_AddRange_m8E8C31B166410489C0AB8B0DADAC49BE7B8C1F95_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
RuntimeObject* L_1 = ___collection0;
(( void (*) (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14)->methodPointer)((List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *)__this, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32>::Clear()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Clear_m33B9E3FC1A7C9DF40DF154F08DF7D71F69FDCBD6_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) <= ((int32_t)0)))
{
goto IL_0022;
}
}
{
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_1 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
int32_t L_2 = (int32_t)__this->get__size_2();
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/NULL);
__this->set__size_2(0);
}
IL_0022:
{
int32_t L_3 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<System.Int32>::Contains(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_Contains_m275CA0DC5737E7EF9DBEAC629F8DE280CFFA96D6_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, int32_t ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
EqualityComparer_1_tD28B3D4DAAA1A752CBFAD1CB2EFA5ED1CB8C3B20 * V_1 = NULL;
int32_t V_2 = 0;
{
goto IL_0030;
}
{
V_0 = (int32_t)0;
goto IL_0025;
}
IL_000c:
{
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_1 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
int32_t L_2 = V_0;
int32_t L_3 = L_2;
int32_t L_4 = (L_1)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_3));
goto IL_0021;
}
{
return (bool)1;
}
IL_0021:
{
int32_t L_5 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1));
}
IL_0025:
{
int32_t L_6 = V_0;
int32_t L_7 = (int32_t)__this->get__size_2();
if ((((int32_t)L_6) < ((int32_t)L_7)))
{
goto IL_000c;
}
}
{
return (bool)0;
}
IL_0030:
{
EqualityComparer_1_tD28B3D4DAAA1A752CBFAD1CB2EFA5ED1CB8C3B20 * L_8 = (( EqualityComparer_1_tD28B3D4DAAA1A752CBFAD1CB2EFA5ED1CB8C3B20 * (*) (const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)(/*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
V_1 = (EqualityComparer_1_tD28B3D4DAAA1A752CBFAD1CB2EFA5ED1CB8C3B20 *)L_8;
V_2 = (int32_t)0;
goto IL_0055;
}
IL_003a:
{
EqualityComparer_1_tD28B3D4DAAA1A752CBFAD1CB2EFA5ED1CB8C3B20 * L_9 = V_1;
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_10 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
int32_t L_11 = V_2;
int32_t L_12 = L_11;
int32_t L_13 = (L_10)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_12));
int32_t L_14 = ___item0;
bool L_15 = VirtFuncInvoker2< bool, int32_t, int32_t >::Invoke(8 /* System.Boolean System.Collections.Generic.EqualityComparer`1<System.Int32>::Equals(T,T) */, (EqualityComparer_1_tD28B3D4DAAA1A752CBFAD1CB2EFA5ED1CB8C3B20 *)L_9, (int32_t)L_13, (int32_t)L_14);
if (!L_15)
{
goto IL_0051;
}
}
{
return (bool)1;
}
IL_0051:
{
int32_t L_16 = V_2;
V_2 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1));
}
IL_0055:
{
int32_t L_17 = V_2;
int32_t L_18 = (int32_t)__this->get__size_2();
if ((((int32_t)L_17) < ((int32_t)L_18)))
{
goto IL_003a;
}
}
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<System.Int32>::System.Collections.IList.Contains(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_System_Collections_IList_Contains_m51EFEF78144CAD454691E6A7632F267CF76C5C80_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
bool L_3 = (( bool (*) (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *)__this, (int32_t)((*(int32_t*)((int32_t*)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
return L_3;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32>::CopyTo(T[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_CopyTo_m35C419ABDF468088E2C6BC8940037F1CA81028A4_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* ___array0, const RuntimeMethod* method)
{
{
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_0 = ___array0;
(( void (*) (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *, Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20)->methodPointer)((List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *)__this, (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)L_0, (int32_t)0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32>::System.Collections.ICollection.CopyTo(System.Array,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_ICollection_CopyTo_mD5B60824294C0616508944EBF432EC4E335C2126_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, RuntimeArray * ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_ICollection_CopyTo_mD5B60824294C0616508944EBF432EC4E335C2126_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeArray * L_0 = ___array0;
if (!L_0)
{
goto IL_0012;
}
}
{
RuntimeArray * L_1 = ___array0;
int32_t L_2 = Array_get_Rank_m38145B59D67D75F9896A3F8CDA9B966641AE99E1((RuntimeArray *)L_1, /*hidden argument*/NULL);
if ((((int32_t)L_2) == ((int32_t)1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)7, /*hidden argument*/NULL);
}
IL_0012:
{
}
IL_0013:
try
{ // begin try (depth: 1)
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_3 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
RuntimeArray * L_4 = ___array0;
int32_t L_5 = ___arrayIndex1;
int32_t L_6 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_3, (int32_t)0, (RuntimeArray *)L_4, (int32_t)L_5, (int32_t)L_6, /*hidden argument*/NULL);
goto IL_0033;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (ArrayTypeMismatchException_tE34C1032B089C37399200997F079C640D23D9499_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0029;
throw e;
}
CATCH_0029:
{ // begin catch(System.ArrayTypeMismatchException)
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)18), /*hidden argument*/NULL);
goto IL_0033;
} // end catch (depth: 1)
IL_0033:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32>::CopyTo(System.Int32,T[],System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_CopyTo_m0E8862C810168B64802F95156CD87D4060F29DC2_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, int32_t ___index0, Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* ___array1, int32_t ___arrayIndex2, int32_t ___count3, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
int32_t L_1 = ___index0;
int32_t L_2 = ___count3;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_0, (int32_t)L_1))) >= ((int32_t)L_2)))
{
goto IL_0013;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_0013:
{
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_3 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
int32_t L_4 = ___index0;
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_5 = ___array1;
int32_t L_6 = ___arrayIndex2;
int32_t L_7 = ___count3;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_3, (int32_t)L_4, (RuntimeArray *)(RuntimeArray *)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32>::CopyTo(T[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_CopyTo_m1BC8927C1656FD62644DF4C369B21A7A9BCD37E5_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
{
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_0 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_1 = ___array0;
int32_t L_2 = ___arrayIndex1;
int32_t L_3 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_0, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)L_2, (int32_t)L_3, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32>::EnsureCapacity(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_EnsureCapacity_mC736BE51C590ACE41285E36E3371C2D7EFCD1E7C_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, int32_t ___min0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t G_B4_0 = 0;
{
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_0 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
int32_t L_1 = ___min0;
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length))))) >= ((int32_t)L_1)))
{
goto IL_003d;
}
}
{
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_2 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
if (!(((RuntimeArray*)L_2)->max_length))
{
goto IL_0020;
}
}
{
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_3 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
G_B4_0 = ((int32_t)il2cpp_codegen_multiply((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length)))), (int32_t)2));
goto IL_0021;
}
IL_0020:
{
G_B4_0 = 4;
}
IL_0021:
{
V_0 = (int32_t)G_B4_0;
int32_t L_4 = V_0;
if ((!(((uint32_t)L_4) > ((uint32_t)((int32_t)2146435071)))))
{
goto IL_0030;
}
}
{
V_0 = (int32_t)((int32_t)2146435071);
}
IL_0030:
{
int32_t L_5 = V_0;
int32_t L_6 = ___min0;
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0036;
}
}
{
int32_t L_7 = ___min0;
V_0 = (int32_t)L_7;
}
IL_0036:
{
int32_t L_8 = V_0;
(( void (*) (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 21)->methodPointer)((List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *)__this, (int32_t)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 21));
}
IL_003d:
{
return;
}
}
// T System.Collections.Generic.List`1<System.Int32>::Find(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_Find_mB8B41889722BF4D17435522B322A152EB09E6FF2_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, Predicate_1_t2E795623C97B4C5B38406E9201D0720C5C15895F * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
Predicate_1_t2E795623C97B4C5B38406E9201D0720C5C15895F * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0032;
}
IL_000d:
{
Predicate_1_t2E795623C97B4C5B38406E9201D0720C5C15895F * L_1 = ___match0;
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_2 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
int32_t L_3 = V_0;
int32_t L_4 = L_3;
int32_t L_5 = (L_2)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_4));
bool L_6 = (( bool (*) (Predicate_1_t2E795623C97B4C5B38406E9201D0720C5C15895F *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t2E795623C97B4C5B38406E9201D0720C5C15895F *)L_1, (int32_t)L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_6)
{
goto IL_002e;
}
}
{
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_7 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
int32_t L_8 = V_0;
int32_t L_9 = L_8;
int32_t L_10 = (L_7)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_9));
return L_10;
}
IL_002e:
{
int32_t L_11 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)1));
}
IL_0032:
{
int32_t L_12 = V_0;
int32_t L_13 = (int32_t)__this->get__size_2();
if ((((int32_t)L_12) < ((int32_t)L_13)))
{
goto IL_000d;
}
}
{
il2cpp_codegen_initobj((&V_1), sizeof(int32_t));
int32_t L_14 = V_1;
return L_14;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Int32>::FindIndex(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_FindIndex_m18019FC9252F33DFA200FCEDBA32CDA535F34994_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, Predicate_1_t2E795623C97B4C5B38406E9201D0720C5C15895F * ___match0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
Predicate_1_t2E795623C97B4C5B38406E9201D0720C5C15895F * L_1 = ___match0;
int32_t L_2 = (( int32_t (*) (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *, int32_t, int32_t, Predicate_1_t2E795623C97B4C5B38406E9201D0720C5C15895F *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23)->methodPointer)((List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *)__this, (int32_t)0, (int32_t)L_0, (Predicate_1_t2E795623C97B4C5B38406E9201D0720C5C15895F *)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23));
return L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Int32>::FindIndex(System.Int32,System.Int32,System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_FindIndex_m48E8EBDF47842266136B702B33069AFD2888C307_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, int32_t ___startIndex0, int32_t ___count1, Predicate_1_t2E795623C97B4C5B38406E9201D0720C5C15895F * ___match2, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
int32_t L_0 = ___startIndex0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) > ((uint32_t)L_1))))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)14), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___count1;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0021;
}
}
{
int32_t L_3 = ___startIndex0;
int32_t L_4 = (int32_t)__this->get__size_2();
int32_t L_5 = ___count1;
if ((((int32_t)L_3) <= ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_4, (int32_t)L_5)))))
{
goto IL_002a;
}
}
IL_0021:
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)((int32_t)25), /*hidden argument*/NULL);
}
IL_002a:
{
Predicate_1_t2E795623C97B4C5B38406E9201D0720C5C15895F * L_6 = ___match2;
if (L_6)
{
goto IL_0033;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0033:
{
int32_t L_7 = ___startIndex0;
int32_t L_8 = ___count1;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_7, (int32_t)L_8));
int32_t L_9 = ___startIndex0;
V_1 = (int32_t)L_9;
goto IL_0055;
}
IL_003b:
{
Predicate_1_t2E795623C97B4C5B38406E9201D0720C5C15895F * L_10 = ___match2;
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_11 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
int32_t L_12 = V_1;
int32_t L_13 = L_12;
int32_t L_14 = (L_11)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_13));
bool L_15 = (( bool (*) (Predicate_1_t2E795623C97B4C5B38406E9201D0720C5C15895F *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t2E795623C97B4C5B38406E9201D0720C5C15895F *)L_10, (int32_t)L_14, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_15)
{
goto IL_0051;
}
}
{
int32_t L_16 = V_1;
return L_16;
}
IL_0051:
{
int32_t L_17 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1));
}
IL_0055:
{
int32_t L_18 = V_1;
int32_t L_19 = V_0;
if ((((int32_t)L_18) < ((int32_t)L_19)))
{
goto IL_003b;
}
}
{
return (-1);
}
}
// System.Collections.Generic.List`1_Enumerator<T> System.Collections.Generic.List`1<System.Int32>::GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Enumerator_t1A13F370EC7EA46EA20204D8881CCE685A3C348C List_1_GetEnumerator_m83178F038A7D4A7E9B0731B7D3078EDCF6FFD0EC_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, const RuntimeMethod* method)
{
{
Enumerator_t1A13F370EC7EA46EA20204D8881CCE685A3C348C L_0;
memset((&L_0), 0, sizeof(L_0));
Enumerator__ctor_mDB92E430A5D05B75AB5F1A399935FE31B5C9CEF8((&L_0), (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
return L_0;
}
}
// System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.List`1<System.Int32>::System.Collections.Generic.IEnumerable<T>.GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* List_1_System_Collections_Generic_IEnumerableU3CTU3E_GetEnumerator_mD213D4052CAD2E24E9EBCF2B48DF58BD335CD71A_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, const RuntimeMethod* method)
{
{
Enumerator_t1A13F370EC7EA46EA20204D8881CCE685A3C348C L_0;
memset((&L_0), 0, sizeof(L_0));
Enumerator__ctor_mDB92E430A5D05B75AB5F1A399935FE31B5C9CEF8((&L_0), (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
Enumerator_t1A13F370EC7EA46EA20204D8881CCE685A3C348C L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 24), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Collections.IEnumerator System.Collections.Generic.List`1<System.Int32>::System.Collections.IEnumerable.GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* List_1_System_Collections_IEnumerable_GetEnumerator_mB1306B52544A1EB9D6DE3599787F1D670E8A8307_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, const RuntimeMethod* method)
{
{
Enumerator_t1A13F370EC7EA46EA20204D8881CCE685A3C348C L_0;
memset((&L_0), 0, sizeof(L_0));
Enumerator__ctor_mDB92E430A5D05B75AB5F1A399935FE31B5C9CEF8((&L_0), (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
Enumerator_t1A13F370EC7EA46EA20204D8881CCE685A3C348C L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 24), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Int32>::IndexOf(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_IndexOf_m855AFF45C1DAF1F434F722F08A15786070AEB74C_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, int32_t ___item0, const RuntimeMethod* method)
{
{
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_0 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
int32_t L_1 = ___item0;
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = (( int32_t (*) (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*, int32_t, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)L_0, (int32_t)L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
return L_3;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Int32>::System.Collections.IList.IndexOf(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_System_Collections_IList_IndexOf_mF4277F3B34D889F94C58C5F35C4CB325C9BF3A4D_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
int32_t L_3 = (( int32_t (*) (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *)__this, (int32_t)((*(int32_t*)((int32_t*)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
return L_3;
}
IL_0015:
{
return (-1);
}
}
// System.Void System.Collections.Generic.List`1<System.Int32>::Insert(System.Int32,T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Insert_mBCF63DFC1F701DA908D79EAF0A92AF51F51BDD12_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, int32_t ___index0, int32_t ___item1, 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_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)((int32_t)27), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = (int32_t)__this->get__size_2();
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_3 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
if ((!(((uint32_t)L_2) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length))))))))
{
goto IL_0030;
}
}
{
int32_t L_4 = (int32_t)__this->get__size_2();
(( void (*) (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_0030:
{
int32_t L_5 = ___index0;
int32_t L_6 = (int32_t)__this->get__size_2();
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0056;
}
}
{
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_7 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
int32_t L_8 = ___index0;
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_9 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
int32_t L_12 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (RuntimeArray *)(RuntimeArray *)L_9, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_11, (int32_t)L_12)), /*hidden argument*/NULL);
}
IL_0056:
{
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_13 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
int32_t L_14 = ___index0;
int32_t L_15 = ___item1;
(L_13)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_14), (int32_t)L_15);
int32_t L_16 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1)));
int32_t L_17 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32>::System.Collections.IList.Insert(System.Int32,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_IList_Insert_mF682D1A38C59640934EDAE9CEAC38DC0DFB3D33F_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, int32_t ___index0, RuntimeObject * ___item1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Insert_mF682D1A38C59640934EDAE9CEAC38DC0DFB3D33F_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeObject * L_0 = ___item1;
(( void (*) (RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___item1;
(( void (*) (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *)__this, (int32_t)L_1, (int32_t)((*(int32_t*)((int32_t*)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___item1;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6((RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F((RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32>::InsertRange(System.Int32,System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_InsertRange_m93343D24C499ACC090B9B8D01B6487D2A9213CCF_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, int32_t ___index0, RuntimeObject* ___collection1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_InsertRange_m93343D24C499ACC090B9B8D01B6487D2A9213CCF_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
RuntimeObject* V_2 = 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);
{
RuntimeObject* L_0 = ___collection1;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)6, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = ___index0;
int32_t L_2 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_1) > ((uint32_t)L_2))))
{
goto IL_001b;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_001b:
{
RuntimeObject* L_3 = ___collection1;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_3, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_4 = V_0;
if (!L_4)
{
goto IL_00c0;
}
}
{
RuntimeObject* L_5 = V_0;
int32_t L_6 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<System.Int32>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_5);
V_1 = (int32_t)L_6;
int32_t L_7 = V_1;
if ((((int32_t)L_7) <= ((int32_t)0)))
{
goto IL_00ef;
}
}
{
int32_t L_8 = (int32_t)__this->get__size_2();
int32_t L_9 = V_1;
(( void (*) (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)L_9)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) >= ((int32_t)L_11)))
{
goto IL_006a;
}
}
{
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_12 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
int32_t L_13 = ___index0;
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_14 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
int32_t L_15 = ___index0;
int32_t L_16 = V_1;
int32_t L_17 = (int32_t)__this->get__size_2();
int32_t L_18 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_12, (int32_t)L_13, (RuntimeArray *)(RuntimeArray *)L_14, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_15, (int32_t)L_16)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_17, (int32_t)L_18)), /*hidden argument*/NULL);
}
IL_006a:
{
RuntimeObject* L_19 = V_0;
if ((!(((RuntimeObject*)(List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *)__this) == ((RuntimeObject*)(RuntimeObject*)L_19))))
{
goto IL_00a3;
}
}
{
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_20 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_21 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
int32_t L_22 = ___index0;
int32_t L_23 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_20, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_21, (int32_t)L_22, (int32_t)L_23, /*hidden argument*/NULL);
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_24 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
int32_t L_25 = ___index0;
int32_t L_26 = V_1;
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_27 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
int32_t L_28 = ___index0;
int32_t L_29 = (int32_t)__this->get__size_2();
int32_t L_30 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_24, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_25, (int32_t)L_26)), (RuntimeArray *)(RuntimeArray *)L_27, (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_28, (int32_t)2)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_29, (int32_t)L_30)), /*hidden argument*/NULL);
goto IL_00b0;
}
IL_00a3:
{
RuntimeObject* L_31 = V_0;
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_32 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
int32_t L_33 = ___index0;
InterfaceActionInvoker2< Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<System.Int32>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_31, (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)L_32, (int32_t)L_33);
}
IL_00b0:
{
int32_t L_34 = (int32_t)__this->get__size_2();
int32_t L_35 = V_1;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_34, (int32_t)L_35)));
goto IL_00ef;
}
IL_00c0:
{
RuntimeObject* L_36 = ___collection1;
RuntimeObject* L_37 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<System.Int32>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_36);
V_2 = (RuntimeObject*)L_37;
}
IL_00c7:
try
{ // begin try (depth: 1)
{
goto IL_00db;
}
IL_00c9:
{
int32_t L_38 = ___index0;
int32_t L_39 = (int32_t)L_38;
___index0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_39, (int32_t)1));
RuntimeObject* L_40 = V_2;
int32_t L_41 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<System.Int32>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_40);
(( void (*) (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *)__this, (int32_t)L_39, (int32_t)L_41, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_00db:
{
RuntimeObject* L_42 = V_2;
bool L_43 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, (RuntimeObject*)L_42);
if (L_43)
{
goto IL_00c9;
}
}
IL_00e3:
{
IL2CPP_LEAVE(0xEF, FINALLY_00e5);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00e5;
}
FINALLY_00e5:
{ // begin finally (depth: 1)
{
RuntimeObject* L_44 = V_2;
if (!L_44)
{
goto IL_00ee;
}
}
IL_00e8:
{
RuntimeObject* L_45 = V_2;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, (RuntimeObject*)L_45);
}
IL_00ee:
{
IL2CPP_END_FINALLY(229)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(229)
{
IL2CPP_JUMP_TBL(0xEF, IL_00ef)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00ef:
{
int32_t L_46 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_46, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<System.Int32>::Remove(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_Remove_m369DBFFEBB963F77D8DDA5D86E524581A20B0889_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, int32_t ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = ___item0;
int32_t L_1 = (( int32_t (*) (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *)__this, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
V_0 = (int32_t)L_1;
int32_t L_2 = V_0;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0015;
}
}
{
int32_t L_3 = V_0;
(( void (*) (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29)->methodPointer)((List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *)__this, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29));
return (bool)1;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32>::System.Collections.IList.Remove(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_IList_Remove_m9C4C8DA70D6231906272A83C511273E9FC72C840_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
(( bool (*) (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30)->methodPointer)((List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *)__this, (int32_t)((*(int32_t*)((int32_t*)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
}
IL_0015:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Int32>::RemoveAll(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_RemoveAll_m7B9224A8CCDCE2F8D6EF07EFCCAAB2F62F64E4D7_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, Predicate_1_t2E795623C97B4C5B38406E9201D0720C5C15895F * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
Predicate_1_t2E795623C97B4C5B38406E9201D0720C5C15895F * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0011;
}
IL_000d:
{
int32_t L_1 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_1, (int32_t)1));
}
IL_0011:
{
int32_t L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__size_2();
if ((((int32_t)L_2) >= ((int32_t)L_3)))
{
goto IL_002e;
}
}
{
Predicate_1_t2E795623C97B4C5B38406E9201D0720C5C15895F * L_4 = ___match0;
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_5 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
int32_t L_6 = V_0;
int32_t L_7 = L_6;
int32_t L_8 = (L_5)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_7));
bool L_9 = (( bool (*) (Predicate_1_t2E795623C97B4C5B38406E9201D0720C5C15895F *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t2E795623C97B4C5B38406E9201D0720C5C15895F *)L_4, (int32_t)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_9)
{
goto IL_000d;
}
}
IL_002e:
{
int32_t L_10 = V_0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) < ((int32_t)L_11)))
{
goto IL_0039;
}
}
{
return 0;
}
IL_0039:
{
int32_t L_12 = V_0;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1));
goto IL_0089;
}
IL_003f:
{
int32_t L_13 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_13, (int32_t)1));
}
IL_0043:
{
int32_t L_14 = V_1;
int32_t L_15 = (int32_t)__this->get__size_2();
if ((((int32_t)L_14) >= ((int32_t)L_15)))
{
goto IL_0060;
}
}
{
Predicate_1_t2E795623C97B4C5B38406E9201D0720C5C15895F * L_16 = ___match0;
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_17 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
int32_t L_18 = V_1;
int32_t L_19 = L_18;
int32_t L_20 = (L_17)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_19));
bool L_21 = (( bool (*) (Predicate_1_t2E795623C97B4C5B38406E9201D0720C5C15895F *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t2E795623C97B4C5B38406E9201D0720C5C15895F *)L_16, (int32_t)L_20, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (L_21)
{
goto IL_003f;
}
}
IL_0060:
{
int32_t L_22 = V_1;
int32_t L_23 = (int32_t)__this->get__size_2();
if ((((int32_t)L_22) >= ((int32_t)L_23)))
{
goto IL_0089;
}
}
{
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_24 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
int32_t L_25 = V_0;
int32_t L_26 = (int32_t)L_25;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_26, (int32_t)1));
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_27 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
int32_t L_28 = V_1;
int32_t L_29 = (int32_t)L_28;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_29, (int32_t)1));
int32_t L_30 = L_29;
int32_t L_31 = (L_27)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_30));
(L_24)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_26), (int32_t)L_31);
}
IL_0089:
{
int32_t L_32 = V_1;
int32_t L_33 = (int32_t)__this->get__size_2();
if ((((int32_t)L_32) < ((int32_t)L_33)))
{
goto IL_0043;
}
}
{
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_34 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
int32_t L_35 = V_0;
int32_t L_36 = (int32_t)__this->get__size_2();
int32_t L_37 = V_0;
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_34, (int32_t)L_35, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_36, (int32_t)L_37)), /*hidden argument*/NULL);
int32_t L_38 = (int32_t)__this->get__size_2();
int32_t L_39 = V_0;
int32_t L_40 = V_0;
__this->set__size_2(L_40);
int32_t L_41 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_41, (int32_t)1)));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_38, (int32_t)L_39));
}
}
// System.Void System.Collections.Generic.List`1<System.Int32>::RemoveAt(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_RemoveAt_m5B08A4DE42AAE55BA195FDB57D707A8F25498841_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, int32_t ___index0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
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:
{
int32_t L_2 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)1)));
int32_t L_3 = ___index0;
int32_t L_4 = (int32_t)__this->get__size_2();
if ((((int32_t)L_3) >= ((int32_t)L_4)))
{
goto IL_0042;
}
}
{
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_5 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
int32_t L_6 = ___index0;
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_7 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
int32_t L_10 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_5, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)1)), (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)L_10)), /*hidden argument*/NULL);
}
IL_0042:
{
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_11 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
int32_t L_12 = (int32_t)__this->get__size_2();
il2cpp_codegen_initobj((&V_0), sizeof(int32_t));
int32_t L_13 = V_0;
(L_11)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_12), (int32_t)L_13);
int32_t L_14 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_14, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32>::RemoveRange(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_RemoveRange_mDA7D497034BD86AB43D9807B11B1C167EA8825EB_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
int32_t L_5 = ___count1;
if ((((int32_t)L_5) <= ((int32_t)0)))
{
goto IL_0082;
}
}
{
int32_t L_6 = (int32_t)__this->get__size_2();
int32_t L_7 = ___count1;
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)L_7)));
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
if ((((int32_t)L_8) >= ((int32_t)L_9)))
{
goto IL_0062;
}
}
{
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_10 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
int32_t L_11 = ___index0;
int32_t L_12 = ___count1;
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_13 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
int32_t L_14 = ___index0;
int32_t L_15 = (int32_t)__this->get__size_2();
int32_t L_16 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_10, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)L_12)), (RuntimeArray *)(RuntimeArray *)L_13, (int32_t)L_14, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_15, (int32_t)L_16)), /*hidden argument*/NULL);
}
IL_0062:
{
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_17 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
int32_t L_18 = (int32_t)__this->get__size_2();
int32_t L_19 = ___count1;
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_17, (int32_t)L_18, (int32_t)L_19, /*hidden argument*/NULL);
int32_t L_20 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_20, (int32_t)1)));
}
IL_0082:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32>::Reverse()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Reverse_m48BB5B60B2A146707B01DFC2419559AA887A70C9_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (( int32_t (*) (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
(( void (*) (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31)->methodPointer)((List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *)__this, (int32_t)0, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32>::Reverse(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Reverse_m1237F6E1E87E2090809284779CFD89E20A32E3EF_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_5 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
(( void (*) (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32)->methodPointer)((Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32>::Sort(System.Collections.Generic.IComparer`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_m8502106523D9DD993E2776BFE4B15A9AF638103F_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, RuntimeObject* ___comparer0, const RuntimeMethod* method)
{
{
int32_t L_0 = (( int32_t (*) (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
RuntimeObject* L_1 = ___comparer0;
(( void (*) (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *)__this, (int32_t)0, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32>::Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_m8F848989FA5F84DA8CF3E04F285EFE66228888AE_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, int32_t ___index0, int32_t ___count1, RuntimeObject* ___comparer2, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_5 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
RuntimeObject* L_8 = ___comparer2;
(( void (*) (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)L_5, (int32_t)L_6, (int32_t)L_7, (RuntimeObject*)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
int32_t L_9 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32>::Sort(System.Comparison`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_m1B9C1092E425D9821CE8FF2FC649FB1ACEA431AE_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, Comparison_1_t898FB92966481D1802656B2BB8522C0043F7E46C * ___comparison0, const RuntimeMethod* method)
{
{
Comparison_1_t898FB92966481D1802656B2BB8522C0043F7E46C * L_0 = ___comparison0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_1) <= ((int32_t)0)))
{
goto IL_0025;
}
}
{
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_2 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
int32_t L_3 = (int32_t)__this->get__size_2();
Comparison_1_t898FB92966481D1802656B2BB8522C0043F7E46C * L_4 = ___comparison0;
(( void (*) (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*, int32_t, int32_t, Comparison_1_t898FB92966481D1802656B2BB8522C0043F7E46C *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35)->methodPointer)((Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)L_2, (int32_t)0, (int32_t)L_3, (Comparison_1_t898FB92966481D1802656B2BB8522C0043F7E46C *)L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35));
}
IL_0025:
{
return;
}
}
// T[] System.Collections.Generic.List`1<System.Int32>::ToArray()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* List_1_ToArray_mFEF088E03E18EF79C06317909C301876B3037D98_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, const RuntimeMethod* method)
{
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* V_0 = NULL;
{
int32_t L_0 = (int32_t)__this->get__size_2();
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_1 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)(Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_0);
V_0 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)L_1;
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_2 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)__this->get__items_1();
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_3 = V_0;
int32_t L_4 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_2, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_3, (int32_t)0, (int32_t)L_4, /*hidden argument*/NULL);
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_5 = V_0;
return L_5;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32>::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__cctor_mF1F052AAD7BCDD52F9DAA6DEF203184882C73588_gshared (const RuntimeMethod* method)
{
{
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_0 = (Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)(Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83*)SZArrayNew(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 1), (uint32_t)0);
((List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set__emptyArray_5(L_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.Void System.Collections.Generic.List`1<System.Int32Enum>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_mDA58E61666905CF6A675FFC4ECC2D3E5261C47ED_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0((RuntimeObject *)__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_0 = ((List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_0);
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32Enum>::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_mF234BA328D1E1697EFA8D2458F5F7B69B3AE928C_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, int32_t ___capacity0, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0((RuntimeObject *)__this, /*hidden argument*/NULL);
int32_t L_0 = ___capacity0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)12), (int32_t)4, /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_1 = ___capacity0;
if (L_1)
{
goto IL_0021;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_2 = ((List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_2);
return;
}
IL_0021:
{
int32_t L_3 = ___capacity0;
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_4 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)(Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_3);
__this->set__items_1(L_4);
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32Enum>::.ctor(System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_mA319E338F467BEF0C1FEACB02E0E2B6A0E7B5DD6_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1__ctor_mA319E338F467BEF0C1FEACB02E0E2B6A0E7B5DD6_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
RuntimeObject* V_2 = 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);
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0((RuntimeObject *)__this, /*hidden argument*/NULL);
RuntimeObject* L_0 = ___collection0;
if (L_0)
{
goto IL_000f;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)6, /*hidden argument*/NULL);
}
IL_000f:
{
RuntimeObject* L_1 = ___collection0;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_2 = V_0;
if (!L_2)
{
goto IL_0050;
}
}
{
RuntimeObject* L_3 = V_0;
int32_t L_4 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<System.Int32Enum>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_3);
V_1 = (int32_t)L_4;
int32_t L_5 = V_1;
if (L_5)
{
goto IL_002f;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_6 = ((List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_6);
return;
}
IL_002f:
{
int32_t L_7 = V_1;
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_8 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)(Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_7);
__this->set__items_1(L_8);
RuntimeObject* L_9 = V_0;
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_10 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
InterfaceActionInvoker2< Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<System.Int32Enum>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_9, (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)L_10, (int32_t)0);
int32_t L_11 = V_1;
__this->set__size_2(L_11);
return;
}
IL_0050:
{
__this->set__size_2(0);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_12 = ((List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_12);
RuntimeObject* L_13 = ___collection0;
RuntimeObject* L_14 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<System.Int32Enum>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_13);
V_2 = (RuntimeObject*)L_14;
}
IL_0069:
try
{ // begin try (depth: 1)
{
goto IL_0077;
}
IL_006b:
{
RuntimeObject* L_15 = V_2;
int32_t L_16 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<System.Int32Enum>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_15);
(( void (*) (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *)__this, (int32_t)L_16, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
}
IL_0077:
{
RuntimeObject* L_17 = V_2;
bool L_18 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, (RuntimeObject*)L_17);
if (L_18)
{
goto IL_006b;
}
}
IL_007f:
{
IL2CPP_LEAVE(0x8B, FINALLY_0081);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0081;
}
FINALLY_0081:
{ // begin finally (depth: 1)
{
RuntimeObject* L_19 = V_2;
if (!L_19)
{
goto IL_008a;
}
}
IL_0084:
{
RuntimeObject* L_20 = V_2;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, (RuntimeObject*)L_20);
}
IL_008a:
{
IL2CPP_END_FINALLY(129)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(129)
{
IL2CPP_JUMP_TBL(0x8B, IL_008b)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_008b:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Int32Enum>::get_Capacity()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_get_Capacity_m211C9BDCED25406D1763DBB3F44AD76F2D532E8F_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, const RuntimeMethod* method)
{
{
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_0 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
return (((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length))));
}
}
// System.Void System.Collections.Generic.List`1<System.Int32Enum>::set_Capacity(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Capacity_m5B1D6AD7ABED223DF24FE93A795D0D9FF43EEAFA_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, int32_t ___value0, const RuntimeMethod* method)
{
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* V_0 = NULL;
{
int32_t L_0 = ___value0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) >= ((int32_t)L_1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)15), (int32_t)((int32_t)21), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___value0;
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_3 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
if ((((int32_t)L_2) == ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length)))))))
{
goto IL_0058;
}
}
{
int32_t L_4 = ___value0;
if ((((int32_t)L_4) <= ((int32_t)0)))
{
goto IL_004d;
}
}
{
int32_t L_5 = ___value0;
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_6 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)(Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_5);
V_0 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)L_6;
int32_t L_7 = (int32_t)__this->get__size_2();
if ((((int32_t)L_7) <= ((int32_t)0)))
{
goto IL_0045;
}
}
{
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_8 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_9 = V_0;
int32_t L_10 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_8, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_9, (int32_t)0, (int32_t)L_10, /*hidden argument*/NULL);
}
IL_0045:
{
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_11 = V_0;
__this->set__items_1(L_11);
return;
}
IL_004d:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_12 = ((List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_12);
}
IL_0058:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Int32Enum>::get_Count()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m6CF108FE58A5B62BAD55E3D1972B735084A7A587_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
return L_0;
}
}
// System.Boolean System.Collections.Generic.List`1<System.Int32Enum>::System.Collections.Generic.ICollection<T>.get_IsReadOnly()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_System_Collections_Generic_ICollectionU3CTU3E_get_IsReadOnly_m59E86B1AF4345E9BEBDD0332C119786F2FD6B538_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<System.Int32Enum>::System.Collections.IList.get_IsReadOnly()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_System_Collections_IList_get_IsReadOnly_mEE2BF569945A04BFCFC5A68987794C1AC83BC8A7_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// T System.Collections.Generic.List`1<System.Int32Enum>::get_Item(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_get_Item_mCFD41F6E4658708CB4B57EC8A9F35DACFAED19DB_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __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:
{
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_2 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
int32_t L_3 = ___index0;
int32_t L_4 = IL2CPP_ARRAY_UNSAFE_LOAD((Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)L_2, (int32_t)L_3);
return L_4;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32Enum>::set_Item(System.Int32,T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Item_m78BCAB3A67AF9AA43C92E86A2115E1FF91EF6F99_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, int32_t ___index0, int32_t ___value1, 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:
{
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_2 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
int32_t L_3 = ___index0;
int32_t L_4 = ___value1;
(L_2)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_3), (int32_t)L_4);
int32_t L_5 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<System.Int32Enum>::IsCompatibleObject(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_IsCompatibleObject_mFCB556A2DCAD5E6E0B323A70C22457211F233982_gshared (RuntimeObject * ___value0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
RuntimeObject * L_0 = ___value0;
if (((RuntimeObject *)IsInst((RuntimeObject*)L_0, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7))))
{
goto IL_001f;
}
}
{
RuntimeObject * L_1 = ___value0;
if (L_1)
{
goto IL_001d;
}
}
{
il2cpp_codegen_initobj((&V_0), sizeof(int32_t));
int32_t L_2 = V_0;
int32_t L_3 = L_2;
RuntimeObject * L_4 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7), &L_3);
return (bool)((((RuntimeObject*)(RuntimeObject *)L_4) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
}
IL_001d:
{
return (bool)0;
}
IL_001f:
{
return (bool)1;
}
}
// System.Object System.Collections.Generic.List`1<System.Int32Enum>::System.Collections.IList.get_Item(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * List_1_System_Collections_IList_get_Item_m19F96111B2FFE24A51C5DE1A464930BCD3F10D56_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (( int32_t (*) (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8)->methodPointer)((List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *)__this, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
int32_t L_2 = L_1;
RuntimeObject * L_3 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7), &L_2);
return L_3;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32Enum>::System.Collections.IList.set_Item(System.Int32,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_IList_set_Item_m20C3743823A2EE6390E9F5D822D7B4AFC6708726_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, int32_t ___index0, RuntimeObject * ___value1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_set_Item_m20C3743823A2EE6390E9F5D822D7B4AFC6708726_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeObject * L_0 = ___value1;
(( void (*) (RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((RuntimeObject *)L_0, (int32_t)((int32_t)15), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___value1;
(( void (*) (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10)->methodPointer)((List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *)__this, (int32_t)L_1, (int32_t)((*(int32_t*)((int32_t*)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___value1;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6((RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F((RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32Enum>::Add(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Add_m848B0A68E1AF949EA5CDDB579E8F69CE5DFB4631_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, int32_t ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = (int32_t)__this->get__size_2();
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_1 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
if ((!(((uint32_t)L_0) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length))))))))
{
goto IL_001e;
}
}
{
int32_t L_2 = (int32_t)__this->get__size_2();
(( void (*) (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_2, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_001e:
{
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_3 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
int32_t L_4 = (int32_t)__this->get__size_2();
V_0 = (int32_t)L_4;
int32_t L_5 = V_0;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
int32_t L_6 = V_0;
int32_t L_7 = ___item0;
(L_3)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_6), (int32_t)L_7);
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Int32Enum>::System.Collections.IList.Add(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_System_Collections_IList_Add_m75F800B544214D4F85467017A920E59492512E9D_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Add_m75F800B544214D4F85467017A920E59492512E9D_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeObject * L_0 = ___item0;
(( void (*) (RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
RuntimeObject * L_1 = ___item0;
(( void (*) (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *)__this, (int32_t)((*(int32_t*)((int32_t*)UnBox(L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
goto IL_0029;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0016;
throw e;
}
CATCH_0016:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_2 = ___item0;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_3 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_4 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6((RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D )L_3, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F((RuntimeObject *)L_2, (Type_t *)L_4, /*hidden argument*/NULL);
goto IL_0029;
} // end catch (depth: 1)
IL_0029:
{
int32_t L_5 = (( int32_t (*) (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_5, (int32_t)1));
}
}
// System.Void System.Collections.Generic.List`1<System.Int32Enum>::AddRange(System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_AddRange_m5D1922269AAA72AC9DA29326AC00CB7AA91065CD_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
RuntimeObject* L_1 = ___collection0;
(( void (*) (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14)->methodPointer)((List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *)__this, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32Enum>::Clear()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Clear_mF4D9BAA87A0FEAB41D73D725CEB5E374E303BD32_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) <= ((int32_t)0)))
{
goto IL_0022;
}
}
{
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_1 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
int32_t L_2 = (int32_t)__this->get__size_2();
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/NULL);
__this->set__size_2(0);
}
IL_0022:
{
int32_t L_3 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<System.Int32Enum>::Contains(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_Contains_mE2A7F22C7E564358E4414F731FC7B57F432442F4_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, int32_t ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
EqualityComparer_1_tD1E45FFD2812F3A647E425E6427770FF0DA20DD4 * V_1 = NULL;
int32_t V_2 = 0;
{
goto IL_0030;
}
{
V_0 = (int32_t)0;
goto IL_0025;
}
IL_000c:
{
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_1 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
int32_t L_2 = V_0;
int32_t L_3 = L_2;
int32_t L_4 = (L_1)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_3));
goto IL_0021;
}
{
return (bool)1;
}
IL_0021:
{
int32_t L_5 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1));
}
IL_0025:
{
int32_t L_6 = V_0;
int32_t L_7 = (int32_t)__this->get__size_2();
if ((((int32_t)L_6) < ((int32_t)L_7)))
{
goto IL_000c;
}
}
{
return (bool)0;
}
IL_0030:
{
EqualityComparer_1_tD1E45FFD2812F3A647E425E6427770FF0DA20DD4 * L_8 = (( EqualityComparer_1_tD1E45FFD2812F3A647E425E6427770FF0DA20DD4 * (*) (const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)(/*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
V_1 = (EqualityComparer_1_tD1E45FFD2812F3A647E425E6427770FF0DA20DD4 *)L_8;
V_2 = (int32_t)0;
goto IL_0055;
}
IL_003a:
{
EqualityComparer_1_tD1E45FFD2812F3A647E425E6427770FF0DA20DD4 * L_9 = V_1;
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_10 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
int32_t L_11 = V_2;
int32_t L_12 = L_11;
int32_t L_13 = (L_10)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_12));
int32_t L_14 = ___item0;
bool L_15 = VirtFuncInvoker2< bool, int32_t, int32_t >::Invoke(8 /* System.Boolean System.Collections.Generic.EqualityComparer`1<System.Int32Enum>::Equals(T,T) */, (EqualityComparer_1_tD1E45FFD2812F3A647E425E6427770FF0DA20DD4 *)L_9, (int32_t)L_13, (int32_t)L_14);
if (!L_15)
{
goto IL_0051;
}
}
{
return (bool)1;
}
IL_0051:
{
int32_t L_16 = V_2;
V_2 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1));
}
IL_0055:
{
int32_t L_17 = V_2;
int32_t L_18 = (int32_t)__this->get__size_2();
if ((((int32_t)L_17) < ((int32_t)L_18)))
{
goto IL_003a;
}
}
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<System.Int32Enum>::System.Collections.IList.Contains(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_System_Collections_IList_Contains_m4470D8F7E8259427E557AD9B3D7A29FDA8F1A839_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
bool L_3 = (( bool (*) (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *)__this, (int32_t)((*(int32_t*)((int32_t*)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
return L_3;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32Enum>::CopyTo(T[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_CopyTo_mACE2309395F94204CE25E7614B98CFFC9F9F5C41_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* ___array0, const RuntimeMethod* method)
{
{
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_0 = ___array0;
(( void (*) (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *, Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20)->methodPointer)((List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *)__this, (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)L_0, (int32_t)0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32Enum>::System.Collections.ICollection.CopyTo(System.Array,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_ICollection_CopyTo_m80F44F38C31B29D71B2817C5AF94F6DD762F7A6A_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, RuntimeArray * ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_ICollection_CopyTo_m80F44F38C31B29D71B2817C5AF94F6DD762F7A6A_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeArray * L_0 = ___array0;
if (!L_0)
{
goto IL_0012;
}
}
{
RuntimeArray * L_1 = ___array0;
int32_t L_2 = Array_get_Rank_m38145B59D67D75F9896A3F8CDA9B966641AE99E1((RuntimeArray *)L_1, /*hidden argument*/NULL);
if ((((int32_t)L_2) == ((int32_t)1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)7, /*hidden argument*/NULL);
}
IL_0012:
{
}
IL_0013:
try
{ // begin try (depth: 1)
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_3 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
RuntimeArray * L_4 = ___array0;
int32_t L_5 = ___arrayIndex1;
int32_t L_6 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_3, (int32_t)0, (RuntimeArray *)L_4, (int32_t)L_5, (int32_t)L_6, /*hidden argument*/NULL);
goto IL_0033;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (ArrayTypeMismatchException_tE34C1032B089C37399200997F079C640D23D9499_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0029;
throw e;
}
CATCH_0029:
{ // begin catch(System.ArrayTypeMismatchException)
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)18), /*hidden argument*/NULL);
goto IL_0033;
} // end catch (depth: 1)
IL_0033:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32Enum>::CopyTo(System.Int32,T[],System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_CopyTo_m9F91EA4E99E33B7A3D30D48FED61704E2233D961_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, int32_t ___index0, Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* ___array1, int32_t ___arrayIndex2, int32_t ___count3, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
int32_t L_1 = ___index0;
int32_t L_2 = ___count3;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_0, (int32_t)L_1))) >= ((int32_t)L_2)))
{
goto IL_0013;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_0013:
{
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_3 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
int32_t L_4 = ___index0;
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_5 = ___array1;
int32_t L_6 = ___arrayIndex2;
int32_t L_7 = ___count3;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_3, (int32_t)L_4, (RuntimeArray *)(RuntimeArray *)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32Enum>::CopyTo(T[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_CopyTo_mED4FCE096DDE76F141A9C2548950BB365266CF8E_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
{
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_0 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_1 = ___array0;
int32_t L_2 = ___arrayIndex1;
int32_t L_3 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_0, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)L_2, (int32_t)L_3, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32Enum>::EnsureCapacity(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_EnsureCapacity_mB3F1FD4884A5A1C5950F9AD0F6D586DB30067F20_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, int32_t ___min0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t G_B4_0 = 0;
{
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_0 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
int32_t L_1 = ___min0;
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length))))) >= ((int32_t)L_1)))
{
goto IL_003d;
}
}
{
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_2 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
if (!(((RuntimeArray*)L_2)->max_length))
{
goto IL_0020;
}
}
{
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_3 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
G_B4_0 = ((int32_t)il2cpp_codegen_multiply((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length)))), (int32_t)2));
goto IL_0021;
}
IL_0020:
{
G_B4_0 = 4;
}
IL_0021:
{
V_0 = (int32_t)G_B4_0;
int32_t L_4 = V_0;
if ((!(((uint32_t)L_4) > ((uint32_t)((int32_t)2146435071)))))
{
goto IL_0030;
}
}
{
V_0 = (int32_t)((int32_t)2146435071);
}
IL_0030:
{
int32_t L_5 = V_0;
int32_t L_6 = ___min0;
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0036;
}
}
{
int32_t L_7 = ___min0;
V_0 = (int32_t)L_7;
}
IL_0036:
{
int32_t L_8 = V_0;
(( void (*) (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 21)->methodPointer)((List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *)__this, (int32_t)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 21));
}
IL_003d:
{
return;
}
}
// T System.Collections.Generic.List`1<System.Int32Enum>::Find(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_Find_mEF5ACAC84D49F6E0CD2284DF19036EEF79092ECF_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, Predicate_1_t04D23B98D3C2827AAD9018CEB5C22E4F69AE649A * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
Predicate_1_t04D23B98D3C2827AAD9018CEB5C22E4F69AE649A * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0032;
}
IL_000d:
{
Predicate_1_t04D23B98D3C2827AAD9018CEB5C22E4F69AE649A * L_1 = ___match0;
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_2 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
int32_t L_3 = V_0;
int32_t L_4 = L_3;
int32_t L_5 = (L_2)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_4));
bool L_6 = (( bool (*) (Predicate_1_t04D23B98D3C2827AAD9018CEB5C22E4F69AE649A *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t04D23B98D3C2827AAD9018CEB5C22E4F69AE649A *)L_1, (int32_t)L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_6)
{
goto IL_002e;
}
}
{
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_7 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
int32_t L_8 = V_0;
int32_t L_9 = L_8;
int32_t L_10 = (L_7)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_9));
return L_10;
}
IL_002e:
{
int32_t L_11 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)1));
}
IL_0032:
{
int32_t L_12 = V_0;
int32_t L_13 = (int32_t)__this->get__size_2();
if ((((int32_t)L_12) < ((int32_t)L_13)))
{
goto IL_000d;
}
}
{
il2cpp_codegen_initobj((&V_1), sizeof(int32_t));
int32_t L_14 = V_1;
return L_14;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Int32Enum>::FindIndex(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_FindIndex_m21E8C6150BF4FDAE5EDF0122499CEA02ECEE5028_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, Predicate_1_t04D23B98D3C2827AAD9018CEB5C22E4F69AE649A * ___match0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
Predicate_1_t04D23B98D3C2827AAD9018CEB5C22E4F69AE649A * L_1 = ___match0;
int32_t L_2 = (( int32_t (*) (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *, int32_t, int32_t, Predicate_1_t04D23B98D3C2827AAD9018CEB5C22E4F69AE649A *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23)->methodPointer)((List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *)__this, (int32_t)0, (int32_t)L_0, (Predicate_1_t04D23B98D3C2827AAD9018CEB5C22E4F69AE649A *)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23));
return L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Int32Enum>::FindIndex(System.Int32,System.Int32,System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_FindIndex_m719B900D6AAB13855ECAF9FA1DB218B08C68F63B_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, int32_t ___startIndex0, int32_t ___count1, Predicate_1_t04D23B98D3C2827AAD9018CEB5C22E4F69AE649A * ___match2, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
int32_t L_0 = ___startIndex0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) > ((uint32_t)L_1))))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)14), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___count1;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0021;
}
}
{
int32_t L_3 = ___startIndex0;
int32_t L_4 = (int32_t)__this->get__size_2();
int32_t L_5 = ___count1;
if ((((int32_t)L_3) <= ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_4, (int32_t)L_5)))))
{
goto IL_002a;
}
}
IL_0021:
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)((int32_t)25), /*hidden argument*/NULL);
}
IL_002a:
{
Predicate_1_t04D23B98D3C2827AAD9018CEB5C22E4F69AE649A * L_6 = ___match2;
if (L_6)
{
goto IL_0033;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0033:
{
int32_t L_7 = ___startIndex0;
int32_t L_8 = ___count1;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_7, (int32_t)L_8));
int32_t L_9 = ___startIndex0;
V_1 = (int32_t)L_9;
goto IL_0055;
}
IL_003b:
{
Predicate_1_t04D23B98D3C2827AAD9018CEB5C22E4F69AE649A * L_10 = ___match2;
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_11 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
int32_t L_12 = V_1;
int32_t L_13 = L_12;
int32_t L_14 = (L_11)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_13));
bool L_15 = (( bool (*) (Predicate_1_t04D23B98D3C2827AAD9018CEB5C22E4F69AE649A *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t04D23B98D3C2827AAD9018CEB5C22E4F69AE649A *)L_10, (int32_t)L_14, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_15)
{
goto IL_0051;
}
}
{
int32_t L_16 = V_1;
return L_16;
}
IL_0051:
{
int32_t L_17 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1));
}
IL_0055:
{
int32_t L_18 = V_1;
int32_t L_19 = V_0;
if ((((int32_t)L_18) < ((int32_t)L_19)))
{
goto IL_003b;
}
}
{
return (-1);
}
}
// System.Collections.Generic.List`1_Enumerator<T> System.Collections.Generic.List`1<System.Int32Enum>::GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Enumerator_t466722FA3B0808834F81142CF36A155FB30BA42D List_1_GetEnumerator_m936F9F637091D3D38FB316B5450E73976CC2E08D_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, const RuntimeMethod* method)
{
{
Enumerator_t466722FA3B0808834F81142CF36A155FB30BA42D L_0;
memset((&L_0), 0, sizeof(L_0));
Enumerator__ctor_mAE704F6EBF7CC0DDA29CD07384D8C6D335576166((&L_0), (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
return L_0;
}
}
// System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.List`1<System.Int32Enum>::System.Collections.Generic.IEnumerable<T>.GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* List_1_System_Collections_Generic_IEnumerableU3CTU3E_GetEnumerator_m3514E0BCC43669720F50DCFE0B54F02A1CCEAB87_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, const RuntimeMethod* method)
{
{
Enumerator_t466722FA3B0808834F81142CF36A155FB30BA42D L_0;
memset((&L_0), 0, sizeof(L_0));
Enumerator__ctor_mAE704F6EBF7CC0DDA29CD07384D8C6D335576166((&L_0), (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
Enumerator_t466722FA3B0808834F81142CF36A155FB30BA42D L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 24), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Collections.IEnumerator System.Collections.Generic.List`1<System.Int32Enum>::System.Collections.IEnumerable.GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* List_1_System_Collections_IEnumerable_GetEnumerator_m20E788136CA8D41779FE81C794FAF13063B306A4_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, const RuntimeMethod* method)
{
{
Enumerator_t466722FA3B0808834F81142CF36A155FB30BA42D L_0;
memset((&L_0), 0, sizeof(L_0));
Enumerator__ctor_mAE704F6EBF7CC0DDA29CD07384D8C6D335576166((&L_0), (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
Enumerator_t466722FA3B0808834F81142CF36A155FB30BA42D L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 24), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Int32Enum>::IndexOf(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_IndexOf_mFCCDD6C5A7EC1CB5B476BDD46F3B91EDFF423ABF_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, int32_t ___item0, const RuntimeMethod* method)
{
{
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_0 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
int32_t L_1 = ___item0;
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = (( int32_t (*) (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*, int32_t, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)L_0, (int32_t)L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
return L_3;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Int32Enum>::System.Collections.IList.IndexOf(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_System_Collections_IList_IndexOf_m3864310539B02DB91B411BD8E0F9F9428478C5CC_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
int32_t L_3 = (( int32_t (*) (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *)__this, (int32_t)((*(int32_t*)((int32_t*)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
return L_3;
}
IL_0015:
{
return (-1);
}
}
// System.Void System.Collections.Generic.List`1<System.Int32Enum>::Insert(System.Int32,T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Insert_m7100350EBD10B523CF51B9016B83E5F375474940_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, int32_t ___index0, int32_t ___item1, 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_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)((int32_t)27), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = (int32_t)__this->get__size_2();
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_3 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
if ((!(((uint32_t)L_2) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length))))))))
{
goto IL_0030;
}
}
{
int32_t L_4 = (int32_t)__this->get__size_2();
(( void (*) (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_0030:
{
int32_t L_5 = ___index0;
int32_t L_6 = (int32_t)__this->get__size_2();
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0056;
}
}
{
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_7 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
int32_t L_8 = ___index0;
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_9 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
int32_t L_12 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (RuntimeArray *)(RuntimeArray *)L_9, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_11, (int32_t)L_12)), /*hidden argument*/NULL);
}
IL_0056:
{
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_13 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
int32_t L_14 = ___index0;
int32_t L_15 = ___item1;
(L_13)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_14), (int32_t)L_15);
int32_t L_16 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1)));
int32_t L_17 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32Enum>::System.Collections.IList.Insert(System.Int32,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_IList_Insert_mD298B9139FF1078C8D91C33DA09A07075ED4354D_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, int32_t ___index0, RuntimeObject * ___item1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Insert_mD298B9139FF1078C8D91C33DA09A07075ED4354D_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeObject * L_0 = ___item1;
(( void (*) (RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___item1;
(( void (*) (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *)__this, (int32_t)L_1, (int32_t)((*(int32_t*)((int32_t*)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___item1;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6((RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F((RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32Enum>::InsertRange(System.Int32,System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_InsertRange_mDA924C58C91C39405E803FB5762C56C7167168E6_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, int32_t ___index0, RuntimeObject* ___collection1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_InsertRange_mDA924C58C91C39405E803FB5762C56C7167168E6_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
RuntimeObject* V_2 = 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);
{
RuntimeObject* L_0 = ___collection1;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)6, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = ___index0;
int32_t L_2 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_1) > ((uint32_t)L_2))))
{
goto IL_001b;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_001b:
{
RuntimeObject* L_3 = ___collection1;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_3, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_4 = V_0;
if (!L_4)
{
goto IL_00c0;
}
}
{
RuntimeObject* L_5 = V_0;
int32_t L_6 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<System.Int32Enum>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_5);
V_1 = (int32_t)L_6;
int32_t L_7 = V_1;
if ((((int32_t)L_7) <= ((int32_t)0)))
{
goto IL_00ef;
}
}
{
int32_t L_8 = (int32_t)__this->get__size_2();
int32_t L_9 = V_1;
(( void (*) (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)L_9)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) >= ((int32_t)L_11)))
{
goto IL_006a;
}
}
{
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_12 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
int32_t L_13 = ___index0;
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_14 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
int32_t L_15 = ___index0;
int32_t L_16 = V_1;
int32_t L_17 = (int32_t)__this->get__size_2();
int32_t L_18 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_12, (int32_t)L_13, (RuntimeArray *)(RuntimeArray *)L_14, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_15, (int32_t)L_16)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_17, (int32_t)L_18)), /*hidden argument*/NULL);
}
IL_006a:
{
RuntimeObject* L_19 = V_0;
if ((!(((RuntimeObject*)(List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *)__this) == ((RuntimeObject*)(RuntimeObject*)L_19))))
{
goto IL_00a3;
}
}
{
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_20 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_21 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
int32_t L_22 = ___index0;
int32_t L_23 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_20, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_21, (int32_t)L_22, (int32_t)L_23, /*hidden argument*/NULL);
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_24 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
int32_t L_25 = ___index0;
int32_t L_26 = V_1;
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_27 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
int32_t L_28 = ___index0;
int32_t L_29 = (int32_t)__this->get__size_2();
int32_t L_30 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_24, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_25, (int32_t)L_26)), (RuntimeArray *)(RuntimeArray *)L_27, (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_28, (int32_t)2)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_29, (int32_t)L_30)), /*hidden argument*/NULL);
goto IL_00b0;
}
IL_00a3:
{
RuntimeObject* L_31 = V_0;
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_32 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
int32_t L_33 = ___index0;
InterfaceActionInvoker2< Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<System.Int32Enum>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_31, (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)L_32, (int32_t)L_33);
}
IL_00b0:
{
int32_t L_34 = (int32_t)__this->get__size_2();
int32_t L_35 = V_1;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_34, (int32_t)L_35)));
goto IL_00ef;
}
IL_00c0:
{
RuntimeObject* L_36 = ___collection1;
RuntimeObject* L_37 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<System.Int32Enum>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_36);
V_2 = (RuntimeObject*)L_37;
}
IL_00c7:
try
{ // begin try (depth: 1)
{
goto IL_00db;
}
IL_00c9:
{
int32_t L_38 = ___index0;
int32_t L_39 = (int32_t)L_38;
___index0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_39, (int32_t)1));
RuntimeObject* L_40 = V_2;
int32_t L_41 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<System.Int32Enum>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_40);
(( void (*) (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *)__this, (int32_t)L_39, (int32_t)L_41, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_00db:
{
RuntimeObject* L_42 = V_2;
bool L_43 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, (RuntimeObject*)L_42);
if (L_43)
{
goto IL_00c9;
}
}
IL_00e3:
{
IL2CPP_LEAVE(0xEF, FINALLY_00e5);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00e5;
}
FINALLY_00e5:
{ // begin finally (depth: 1)
{
RuntimeObject* L_44 = V_2;
if (!L_44)
{
goto IL_00ee;
}
}
IL_00e8:
{
RuntimeObject* L_45 = V_2;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, (RuntimeObject*)L_45);
}
IL_00ee:
{
IL2CPP_END_FINALLY(229)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(229)
{
IL2CPP_JUMP_TBL(0xEF, IL_00ef)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00ef:
{
int32_t L_46 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_46, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<System.Int32Enum>::Remove(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_Remove_m223B6917BABD5C9EBF681E0CD76E219F569C576D_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, int32_t ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = ___item0;
int32_t L_1 = (( int32_t (*) (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *)__this, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
V_0 = (int32_t)L_1;
int32_t L_2 = V_0;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0015;
}
}
{
int32_t L_3 = V_0;
(( void (*) (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29)->methodPointer)((List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *)__this, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29));
return (bool)1;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32Enum>::System.Collections.IList.Remove(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_IList_Remove_m07FE4091A6AC541F0BAFBE32015F6E79D38B4BCB_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
(( bool (*) (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30)->methodPointer)((List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *)__this, (int32_t)((*(int32_t*)((int32_t*)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
}
IL_0015:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Int32Enum>::RemoveAll(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_RemoveAll_m520AE47684C5F107D3646C284D05EB15493803CA_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, Predicate_1_t04D23B98D3C2827AAD9018CEB5C22E4F69AE649A * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
Predicate_1_t04D23B98D3C2827AAD9018CEB5C22E4F69AE649A * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0011;
}
IL_000d:
{
int32_t L_1 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_1, (int32_t)1));
}
IL_0011:
{
int32_t L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__size_2();
if ((((int32_t)L_2) >= ((int32_t)L_3)))
{
goto IL_002e;
}
}
{
Predicate_1_t04D23B98D3C2827AAD9018CEB5C22E4F69AE649A * L_4 = ___match0;
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_5 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
int32_t L_6 = V_0;
int32_t L_7 = L_6;
int32_t L_8 = (L_5)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_7));
bool L_9 = (( bool (*) (Predicate_1_t04D23B98D3C2827AAD9018CEB5C22E4F69AE649A *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t04D23B98D3C2827AAD9018CEB5C22E4F69AE649A *)L_4, (int32_t)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_9)
{
goto IL_000d;
}
}
IL_002e:
{
int32_t L_10 = V_0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) < ((int32_t)L_11)))
{
goto IL_0039;
}
}
{
return 0;
}
IL_0039:
{
int32_t L_12 = V_0;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1));
goto IL_0089;
}
IL_003f:
{
int32_t L_13 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_13, (int32_t)1));
}
IL_0043:
{
int32_t L_14 = V_1;
int32_t L_15 = (int32_t)__this->get__size_2();
if ((((int32_t)L_14) >= ((int32_t)L_15)))
{
goto IL_0060;
}
}
{
Predicate_1_t04D23B98D3C2827AAD9018CEB5C22E4F69AE649A * L_16 = ___match0;
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_17 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
int32_t L_18 = V_1;
int32_t L_19 = L_18;
int32_t L_20 = (L_17)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_19));
bool L_21 = (( bool (*) (Predicate_1_t04D23B98D3C2827AAD9018CEB5C22E4F69AE649A *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t04D23B98D3C2827AAD9018CEB5C22E4F69AE649A *)L_16, (int32_t)L_20, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (L_21)
{
goto IL_003f;
}
}
IL_0060:
{
int32_t L_22 = V_1;
int32_t L_23 = (int32_t)__this->get__size_2();
if ((((int32_t)L_22) >= ((int32_t)L_23)))
{
goto IL_0089;
}
}
{
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_24 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
int32_t L_25 = V_0;
int32_t L_26 = (int32_t)L_25;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_26, (int32_t)1));
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_27 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
int32_t L_28 = V_1;
int32_t L_29 = (int32_t)L_28;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_29, (int32_t)1));
int32_t L_30 = L_29;
int32_t L_31 = (L_27)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_30));
(L_24)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_26), (int32_t)L_31);
}
IL_0089:
{
int32_t L_32 = V_1;
int32_t L_33 = (int32_t)__this->get__size_2();
if ((((int32_t)L_32) < ((int32_t)L_33)))
{
goto IL_0043;
}
}
{
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_34 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
int32_t L_35 = V_0;
int32_t L_36 = (int32_t)__this->get__size_2();
int32_t L_37 = V_0;
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_34, (int32_t)L_35, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_36, (int32_t)L_37)), /*hidden argument*/NULL);
int32_t L_38 = (int32_t)__this->get__size_2();
int32_t L_39 = V_0;
int32_t L_40 = V_0;
__this->set__size_2(L_40);
int32_t L_41 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_41, (int32_t)1)));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_38, (int32_t)L_39));
}
}
// System.Void System.Collections.Generic.List`1<System.Int32Enum>::RemoveAt(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_RemoveAt_m92F67C4A27C7188ADB74AD04745ED043A11AB636_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, int32_t ___index0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
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:
{
int32_t L_2 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)1)));
int32_t L_3 = ___index0;
int32_t L_4 = (int32_t)__this->get__size_2();
if ((((int32_t)L_3) >= ((int32_t)L_4)))
{
goto IL_0042;
}
}
{
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_5 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
int32_t L_6 = ___index0;
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_7 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
int32_t L_10 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_5, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)1)), (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)L_10)), /*hidden argument*/NULL);
}
IL_0042:
{
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_11 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
int32_t L_12 = (int32_t)__this->get__size_2();
il2cpp_codegen_initobj((&V_0), sizeof(int32_t));
int32_t L_13 = V_0;
(L_11)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_12), (int32_t)L_13);
int32_t L_14 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_14, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32Enum>::RemoveRange(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_RemoveRange_m9A412FC2EE95F694D765EF0BB50580E32B769C92_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
int32_t L_5 = ___count1;
if ((((int32_t)L_5) <= ((int32_t)0)))
{
goto IL_0082;
}
}
{
int32_t L_6 = (int32_t)__this->get__size_2();
int32_t L_7 = ___count1;
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)L_7)));
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
if ((((int32_t)L_8) >= ((int32_t)L_9)))
{
goto IL_0062;
}
}
{
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_10 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
int32_t L_11 = ___index0;
int32_t L_12 = ___count1;
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_13 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
int32_t L_14 = ___index0;
int32_t L_15 = (int32_t)__this->get__size_2();
int32_t L_16 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_10, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)L_12)), (RuntimeArray *)(RuntimeArray *)L_13, (int32_t)L_14, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_15, (int32_t)L_16)), /*hidden argument*/NULL);
}
IL_0062:
{
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_17 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
int32_t L_18 = (int32_t)__this->get__size_2();
int32_t L_19 = ___count1;
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_17, (int32_t)L_18, (int32_t)L_19, /*hidden argument*/NULL);
int32_t L_20 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_20, (int32_t)1)));
}
IL_0082:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32Enum>::Reverse()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Reverse_m6A7871F394FE435FD05C6C917FE7634F43DD7655_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (( int32_t (*) (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
(( void (*) (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31)->methodPointer)((List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *)__this, (int32_t)0, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32Enum>::Reverse(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Reverse_m5E512E0AB213016A54945603737D2358AE86679A_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_5 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
(( void (*) (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32)->methodPointer)((Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32Enum>::Sort(System.Collections.Generic.IComparer`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_m0C2B9C6C4871BBF4DA044AC952161A867363A85E_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, RuntimeObject* ___comparer0, const RuntimeMethod* method)
{
{
int32_t L_0 = (( int32_t (*) (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
RuntimeObject* L_1 = ___comparer0;
(( void (*) (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 *)__this, (int32_t)0, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32Enum>::Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_mE5332A708440EA125D4AFA41D36C92735D38BE24_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, int32_t ___index0, int32_t ___count1, RuntimeObject* ___comparer2, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_5 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
RuntimeObject* L_8 = ___comparer2;
(( void (*) (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)L_5, (int32_t)L_6, (int32_t)L_7, (RuntimeObject*)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
int32_t L_9 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32Enum>::Sort(System.Comparison`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_m025286D28B63FB481F25C2301A4D29BD0B10FB3F_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, Comparison_1_tE0BDB3162C07BB79AF4389BA623470A0DB3C7C85 * ___comparison0, const RuntimeMethod* method)
{
{
Comparison_1_tE0BDB3162C07BB79AF4389BA623470A0DB3C7C85 * L_0 = ___comparison0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_1) <= ((int32_t)0)))
{
goto IL_0025;
}
}
{
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_2 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
int32_t L_3 = (int32_t)__this->get__size_2();
Comparison_1_tE0BDB3162C07BB79AF4389BA623470A0DB3C7C85 * L_4 = ___comparison0;
(( void (*) (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*, int32_t, int32_t, Comparison_1_tE0BDB3162C07BB79AF4389BA623470A0DB3C7C85 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35)->methodPointer)((Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)L_2, (int32_t)0, (int32_t)L_3, (Comparison_1_tE0BDB3162C07BB79AF4389BA623470A0DB3C7C85 *)L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35));
}
IL_0025:
{
return;
}
}
// T[] System.Collections.Generic.List`1<System.Int32Enum>::ToArray()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* List_1_ToArray_mA29F38E1ACC477B2AF576A818374C1D486185EE5_gshared (List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5 * __this, const RuntimeMethod* method)
{
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* V_0 = NULL;
{
int32_t L_0 = (int32_t)__this->get__size_2();
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_1 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)(Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_0);
V_0 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)L_1;
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_2 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)__this->get__items_1();
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_3 = V_0;
int32_t L_4 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_2, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_3, (int32_t)0, (int32_t)L_4, /*hidden argument*/NULL);
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_5 = V_0;
return L_5;
}
}
// System.Void System.Collections.Generic.List`1<System.Int32Enum>::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__cctor_m3596C71B446C41035D1BBF1661EB69C972266B95_gshared (const RuntimeMethod* method)
{
{
Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A* L_0 = (Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)(Int32EnumU5BU5D_t0A5530B4D0EA3796F661E767F9F7D7005A62CE4A*)SZArrayNew(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 1), (uint32_t)0);
((List_1_t116A3B8CE581BED3D4552A7F22FE553557ADC4C5_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set__emptyArray_5(L_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.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)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0((RuntimeObject *)__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_0 = ((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_0);
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Object>::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_mEE468B81D8E7C140F567D10FF7F5894A50EEEA57_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, int32_t ___capacity0, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0((RuntimeObject *)__this, /*hidden argument*/NULL);
int32_t L_0 = ___capacity0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)12), (int32_t)4, /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_1 = ___capacity0;
if (L_1)
{
goto IL_0021;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_2 = ((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_2);
return;
}
IL_0021:
{
int32_t L_3 = ___capacity0;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_4 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_3);
__this->set__items_1(L_4);
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Object>::.ctor(System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m6E336459937EBBC514F001464CC3771240EEBB87_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1__ctor_m6E336459937EBBC514F001464CC3771240EEBB87_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
RuntimeObject* V_2 = 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);
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0((RuntimeObject *)__this, /*hidden argument*/NULL);
RuntimeObject* L_0 = ___collection0;
if (L_0)
{
goto IL_000f;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)6, /*hidden argument*/NULL);
}
IL_000f:
{
RuntimeObject* L_1 = ___collection0;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_2 = V_0;
if (!L_2)
{
goto IL_0050;
}
}
{
RuntimeObject* L_3 = V_0;
int32_t L_4 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<System.Object>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_3);
V_1 = (int32_t)L_4;
int32_t L_5 = V_1;
if (L_5)
{
goto IL_002f;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_6 = ((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_6);
return;
}
IL_002f:
{
int32_t L_7 = V_1;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_8 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_7);
__this->set__items_1(L_8);
RuntimeObject* L_9 = V_0;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_10 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
InterfaceActionInvoker2< ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<System.Object>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_9, (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)L_10, (int32_t)0);
int32_t L_11 = V_1;
__this->set__size_2(L_11);
return;
}
IL_0050:
{
__this->set__size_2(0);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_12 = ((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_12);
RuntimeObject* L_13 = ___collection0;
RuntimeObject* L_14 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<System.Object>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_13);
V_2 = (RuntimeObject*)L_14;
}
IL_0069:
try
{ // begin try (depth: 1)
{
goto IL_0077;
}
IL_006b:
{
RuntimeObject* L_15 = V_2;
RuntimeObject * L_16 = InterfaceFuncInvoker0< RuntimeObject * >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<System.Object>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_15);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)__this, (RuntimeObject *)L_16, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
}
IL_0077:
{
RuntimeObject* L_17 = V_2;
bool L_18 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, (RuntimeObject*)L_17);
if (L_18)
{
goto IL_006b;
}
}
IL_007f:
{
IL2CPP_LEAVE(0x8B, FINALLY_0081);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0081;
}
FINALLY_0081:
{ // begin finally (depth: 1)
{
RuntimeObject* L_19 = V_2;
if (!L_19)
{
goto IL_008a;
}
}
IL_0084:
{
RuntimeObject* L_20 = V_2;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, (RuntimeObject*)L_20);
}
IL_008a:
{
IL2CPP_END_FINALLY(129)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(129)
{
IL2CPP_JUMP_TBL(0x8B, IL_008b)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_008b:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Object>::get_Capacity()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_get_Capacity_mB976106DA11B4155CBC654A4FEAF355280834D8B_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, const RuntimeMethod* method)
{
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_0 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
return (((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length))));
}
}
// System.Void System.Collections.Generic.List`1<System.Object>::set_Capacity(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Capacity_m5E67DE1CEC89ADB8A82937E2D0CB48A78F962FA3_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, int32_t ___value0, const RuntimeMethod* method)
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* V_0 = NULL;
{
int32_t L_0 = ___value0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) >= ((int32_t)L_1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)15), (int32_t)((int32_t)21), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___value0;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_3 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
if ((((int32_t)L_2) == ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length)))))))
{
goto IL_0058;
}
}
{
int32_t L_4 = ___value0;
if ((((int32_t)L_4) <= ((int32_t)0)))
{
goto IL_004d;
}
}
{
int32_t L_5 = ___value0;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_6 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_5);
V_0 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)L_6;
int32_t L_7 = (int32_t)__this->get__size_2();
if ((((int32_t)L_7) <= ((int32_t)0)))
{
goto IL_0045;
}
}
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_8 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_9 = V_0;
int32_t L_10 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_8, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_9, (int32_t)0, (int32_t)L_10, /*hidden argument*/NULL);
}
IL_0045:
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_11 = V_0;
__this->set__items_1(L_11);
return;
}
IL_004d:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_12 = ((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_12);
}
IL_0058:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Object>::get_Count()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m507C9149FF7F83AAC72C29091E745D557DA47D22_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
return L_0;
}
}
// System.Boolean System.Collections.Generic.List`1<System.Object>::System.Collections.Generic.ICollection<T>.get_IsReadOnly()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_System_Collections_Generic_ICollectionU3CTU3E_get_IsReadOnly_m2A207669A8057978F54381BBD6DB2C6A33AC0919_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<System.Object>::System.Collections.IList.get_IsReadOnly()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_System_Collections_IList_get_IsReadOnly_m8E37048AFB98B25348842DAA1E2851D3697A62CE_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// T System.Collections.Generic.List`1<System.Object>::get_Item(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * List_1_get_Item_mFDB8AD680C600072736579BBF5F38F7416396588_gshared (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;
}
}
// System.Void System.Collections.Generic.List`1<System.Object>::set_Item(System.Int32,T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Item_m451452782977192583A6374A799099FCCD9BD83E_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, int32_t ___index0, RuntimeObject * ___value1, 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 = ___value1;
(L_2)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_3), (RuntimeObject *)L_4);
int32_t L_5 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<System.Object>::IsCompatibleObject(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_IsCompatibleObject_m2CCD95B549FD520C3A7A270B561C0C9C2E470E52_gshared (RuntimeObject * ___value0, const RuntimeMethod* method)
{
RuntimeObject * V_0 = NULL;
{
RuntimeObject * L_0 = ___value0;
if (((RuntimeObject *)IsInst((RuntimeObject*)L_0, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7))))
{
goto IL_001f;
}
}
{
RuntimeObject * L_1 = ___value0;
if (L_1)
{
goto IL_001d;
}
}
{
il2cpp_codegen_initobj((&V_0), sizeof(RuntimeObject *));
RuntimeObject * L_2 = V_0;
return (bool)((((RuntimeObject*)(RuntimeObject *)L_2) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
}
IL_001d:
{
return (bool)0;
}
IL_001f:
{
return (bool)1;
}
}
// System.Object System.Collections.Generic.List`1<System.Object>::System.Collections.IList.get_Item(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * List_1_System_Collections_IList_get_Item_mAC966C5AD5F73D722F7BF48EF700D9A17ED4FA4B_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
RuntimeObject * L_1 = (( RuntimeObject * (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)__this, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
return L_1;
}
}
// System.Void System.Collections.Generic.List`1<System.Object>::System.Collections.IList.set_Item(System.Int32,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_IList_set_Item_m3727A55B4B94E6361ACE4C89EC229B5C743BBB48_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, int32_t ___index0, RuntimeObject * ___value1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_set_Item_m3727A55B4B94E6361ACE4C89EC229B5C743BBB48_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeObject * L_0 = ___value1;
(( void (*) (RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((RuntimeObject *)L_0, (int32_t)((int32_t)15), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___value1;
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)__this, (int32_t)L_1, (RuntimeObject *)((RuntimeObject *)Castclass((RuntimeObject*)L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___value1;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6((RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F((RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Object>::Add(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Add_m6930161974C7504C80F52EC379EF012387D43138_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = (int32_t)__this->get__size_2();
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_1 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
if ((!(((uint32_t)L_0) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length))))))))
{
goto IL_001e;
}
}
{
int32_t L_2 = (int32_t)__this->get__size_2();
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_2, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_001e:
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_3 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
int32_t L_4 = (int32_t)__this->get__size_2();
V_0 = (int32_t)L_4;
int32_t L_5 = V_0;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
int32_t L_6 = V_0;
RuntimeObject * L_7 = ___item0;
(L_3)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_6), (RuntimeObject *)L_7);
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Object>::System.Collections.IList.Add(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_System_Collections_IList_Add_mA91DB67A7AA58EF2538DC77CDC509FF14B94D375_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Add_mA91DB67A7AA58EF2538DC77CDC509FF14B94D375_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeObject * L_0 = ___item0;
(( void (*) (RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
RuntimeObject * L_1 = ___item0;
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)__this, (RuntimeObject *)((RuntimeObject *)Castclass((RuntimeObject*)L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
goto IL_0029;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0016;
throw e;
}
CATCH_0016:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_2 = ___item0;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_3 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_4 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6((RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D )L_3, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F((RuntimeObject *)L_2, (Type_t *)L_4, /*hidden argument*/NULL);
goto IL_0029;
} // end catch (depth: 1)
IL_0029:
{
int32_t L_5 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_5, (int32_t)1));
}
}
// System.Void System.Collections.Generic.List`1<System.Object>::AddRange(System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_AddRange_m629B40CD4286736C328FA496AAFC388F697CF984_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
RuntimeObject* L_1 = ___collection0;
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)__this, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Object>::Clear()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Clear_mC5CFC6C9F3007FC24FE020198265D4B5B0659FFC_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) <= ((int32_t)0)))
{
goto IL_0022;
}
}
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_1 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
int32_t L_2 = (int32_t)__this->get__size_2();
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/NULL);
__this->set__size_2(0);
}
IL_0022:
{
int32_t L_3 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<System.Object>::Contains(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_Contains_mE08D561E86879A26245096C572A8593279383FDB_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
EqualityComparer_1_t54972BA287ED38B066E4BE7A3B21F49803B62EBA * V_1 = NULL;
int32_t V_2 = 0;
{
RuntimeObject * L_0 = ___item0;
if (L_0)
{
goto IL_0030;
}
}
{
V_0 = (int32_t)0;
goto IL_0025;
}
IL_000c:
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_1 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
int32_t L_2 = V_0;
int32_t L_3 = L_2;
RuntimeObject * L_4 = (L_1)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_3));
if (L_4)
{
goto IL_0021;
}
}
{
return (bool)1;
}
IL_0021:
{
int32_t L_5 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1));
}
IL_0025:
{
int32_t L_6 = V_0;
int32_t L_7 = (int32_t)__this->get__size_2();
if ((((int32_t)L_6) < ((int32_t)L_7)))
{
goto IL_000c;
}
}
{
return (bool)0;
}
IL_0030:
{
EqualityComparer_1_t54972BA287ED38B066E4BE7A3B21F49803B62EBA * L_8 = (( EqualityComparer_1_t54972BA287ED38B066E4BE7A3B21F49803B62EBA * (*) (const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)(/*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
V_1 = (EqualityComparer_1_t54972BA287ED38B066E4BE7A3B21F49803B62EBA *)L_8;
V_2 = (int32_t)0;
goto IL_0055;
}
IL_003a:
{
EqualityComparer_1_t54972BA287ED38B066E4BE7A3B21F49803B62EBA * L_9 = V_1;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_10 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
int32_t L_11 = V_2;
int32_t L_12 = L_11;
RuntimeObject * L_13 = (L_10)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_12));
RuntimeObject * L_14 = ___item0;
bool L_15 = VirtFuncInvoker2< bool, RuntimeObject *, RuntimeObject * >::Invoke(8 /* System.Boolean System.Collections.Generic.EqualityComparer`1<System.Object>::Equals(T,T) */, (EqualityComparer_1_t54972BA287ED38B066E4BE7A3B21F49803B62EBA *)L_9, (RuntimeObject *)L_13, (RuntimeObject *)L_14);
if (!L_15)
{
goto IL_0051;
}
}
{
return (bool)1;
}
IL_0051:
{
int32_t L_16 = V_2;
V_2 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1));
}
IL_0055:
{
int32_t L_17 = V_2;
int32_t L_18 = (int32_t)__this->get__size_2();
if ((((int32_t)L_17) < ((int32_t)L_18)))
{
goto IL_003a;
}
}
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<System.Object>::System.Collections.IList.Contains(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_System_Collections_IList_Contains_mCCBD7EE69874D6D28F3407D6807E43FD51244277_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
bool L_3 = (( bool (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)__this, (RuntimeObject *)((RuntimeObject *)Castclass((RuntimeObject*)L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
return L_3;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<System.Object>::CopyTo(T[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_CopyTo_m54E18E9C1ECE23383EF0EA1E98330235DEAD7B39_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ___array0, const RuntimeMethod* method)
{
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_0 = ___array0;
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)__this, (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)L_0, (int32_t)0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Object>::System.Collections.ICollection.CopyTo(System.Array,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_ICollection_CopyTo_m4DA4BEF3F2AAB97913CACA9D89431B818BC51728_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, RuntimeArray * ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_ICollection_CopyTo_m4DA4BEF3F2AAB97913CACA9D89431B818BC51728_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeArray * L_0 = ___array0;
if (!L_0)
{
goto IL_0012;
}
}
{
RuntimeArray * L_1 = ___array0;
int32_t L_2 = Array_get_Rank_m38145B59D67D75F9896A3F8CDA9B966641AE99E1((RuntimeArray *)L_1, /*hidden argument*/NULL);
if ((((int32_t)L_2) == ((int32_t)1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)7, /*hidden argument*/NULL);
}
IL_0012:
{
}
IL_0013:
try
{ // begin try (depth: 1)
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_3 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
RuntimeArray * L_4 = ___array0;
int32_t L_5 = ___arrayIndex1;
int32_t L_6 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_3, (int32_t)0, (RuntimeArray *)L_4, (int32_t)L_5, (int32_t)L_6, /*hidden argument*/NULL);
goto IL_0033;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (ArrayTypeMismatchException_tE34C1032B089C37399200997F079C640D23D9499_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0029;
throw e;
}
CATCH_0029:
{ // begin catch(System.ArrayTypeMismatchException)
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)18), /*hidden argument*/NULL);
goto IL_0033;
} // end catch (depth: 1)
IL_0033:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Object>::CopyTo(System.Int32,T[],System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_CopyTo_mA7D2111ACEFF8252F3F4A59BFF3FB6B978DE73A9_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, int32_t ___index0, ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ___array1, int32_t ___arrayIndex2, int32_t ___count3, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
int32_t L_1 = ___index0;
int32_t L_2 = ___count3;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_0, (int32_t)L_1))) >= ((int32_t)L_2)))
{
goto IL_0013;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_0013:
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_3 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
int32_t L_4 = ___index0;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_5 = ___array1;
int32_t L_6 = ___arrayIndex2;
int32_t L_7 = ___count3;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_3, (int32_t)L_4, (RuntimeArray *)(RuntimeArray *)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Object>::CopyTo(T[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_CopyTo_mBC8DEE264FD7E346D098E28FB1D5096B0F9132FB_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_0 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_1 = ___array0;
int32_t L_2 = ___arrayIndex1;
int32_t L_3 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_0, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)L_2, (int32_t)L_3, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Object>::EnsureCapacity(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_EnsureCapacity_mA6C1B6803B1FEB555EDFFCFD906EB51C1DFE7030_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, int32_t ___min0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t G_B4_0 = 0;
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_0 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
int32_t L_1 = ___min0;
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length))))) >= ((int32_t)L_1)))
{
goto IL_003d;
}
}
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_2 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
if (!(((RuntimeArray*)L_2)->max_length))
{
goto IL_0020;
}
}
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_3 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
G_B4_0 = ((int32_t)il2cpp_codegen_multiply((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length)))), (int32_t)2));
goto IL_0021;
}
IL_0020:
{
G_B4_0 = 4;
}
IL_0021:
{
V_0 = (int32_t)G_B4_0;
int32_t L_4 = V_0;
if ((!(((uint32_t)L_4) > ((uint32_t)((int32_t)2146435071)))))
{
goto IL_0030;
}
}
{
V_0 = (int32_t)((int32_t)2146435071);
}
IL_0030:
{
int32_t L_5 = V_0;
int32_t L_6 = ___min0;
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0036;
}
}
{
int32_t L_7 = ___min0;
V_0 = (int32_t)L_7;
}
IL_0036:
{
int32_t L_8 = V_0;
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 21)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)__this, (int32_t)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 21));
}
IL_003d:
{
return;
}
}
// T System.Collections.Generic.List`1<System.Object>::Find(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * List_1_Find_mE8369D83F30EA40E093D333C773A071A705A9C94_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979 * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
RuntimeObject * V_1 = NULL;
{
Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979 * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0032;
}
IL_000d:
{
Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979 * L_1 = ___match0;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_2 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
int32_t L_3 = V_0;
int32_t L_4 = L_3;
RuntimeObject * L_5 = (L_2)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_4));
bool L_6 = (( bool (*) (Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979 *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979 *)L_1, (RuntimeObject *)L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_6)
{
goto IL_002e;
}
}
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_7 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
int32_t L_8 = V_0;
int32_t L_9 = L_8;
RuntimeObject * L_10 = (L_7)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_9));
return L_10;
}
IL_002e:
{
int32_t L_11 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)1));
}
IL_0032:
{
int32_t L_12 = V_0;
int32_t L_13 = (int32_t)__this->get__size_2();
if ((((int32_t)L_12) < ((int32_t)L_13)))
{
goto IL_000d;
}
}
{
il2cpp_codegen_initobj((&V_1), sizeof(RuntimeObject *));
RuntimeObject * L_14 = V_1;
return L_14;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Object>::FindIndex(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_FindIndex_m5563A282B0A2678F604F7BAA8FEDE23E946F1287_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979 * ___match0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979 * L_1 = ___match0;
int32_t L_2 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, int32_t, Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)__this, (int32_t)0, (int32_t)L_0, (Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979 *)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23));
return L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Object>::FindIndex(System.Int32,System.Int32,System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_FindIndex_m8370FF55D4C4A797937E6B23E976A504B9903B8E_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, int32_t ___startIndex0, int32_t ___count1, Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979 * ___match2, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
int32_t L_0 = ___startIndex0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) > ((uint32_t)L_1))))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)14), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___count1;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0021;
}
}
{
int32_t L_3 = ___startIndex0;
int32_t L_4 = (int32_t)__this->get__size_2();
int32_t L_5 = ___count1;
if ((((int32_t)L_3) <= ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_4, (int32_t)L_5)))))
{
goto IL_002a;
}
}
IL_0021:
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)((int32_t)25), /*hidden argument*/NULL);
}
IL_002a:
{
Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979 * L_6 = ___match2;
if (L_6)
{
goto IL_0033;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0033:
{
int32_t L_7 = ___startIndex0;
int32_t L_8 = ___count1;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_7, (int32_t)L_8));
int32_t L_9 = ___startIndex0;
V_1 = (int32_t)L_9;
goto IL_0055;
}
IL_003b:
{
Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979 * L_10 = ___match2;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_11 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
int32_t L_12 = V_1;
int32_t L_13 = L_12;
RuntimeObject * L_14 = (L_11)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_13));
bool L_15 = (( bool (*) (Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979 *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979 *)L_10, (RuntimeObject *)L_14, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_15)
{
goto IL_0051;
}
}
{
int32_t L_16 = V_1;
return L_16;
}
IL_0051:
{
int32_t L_17 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1));
}
IL_0055:
{
int32_t L_18 = V_1;
int32_t L_19 = V_0;
if ((((int32_t)L_18) < ((int32_t)L_19)))
{
goto IL_003b;
}
}
{
return (-1);
}
}
// System.Collections.Generic.List`1_Enumerator<T> 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)
{
{
Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD L_0;
memset((&L_0), 0, sizeof(L_0));
Enumerator__ctor_m39C8C3D04576F8D63AF941CC77EE5871393388F0((&L_0), (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
return L_0;
}
}
// System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.List`1<System.Object>::System.Collections.Generic.IEnumerable<T>.GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* List_1_System_Collections_Generic_IEnumerableU3CTU3E_GetEnumerator_m28FCE1A4BEDBF8DC4147F9ADB085B0CD18BFDAF1_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, const RuntimeMethod* method)
{
{
Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD L_0;
memset((&L_0), 0, sizeof(L_0));
Enumerator__ctor_m39C8C3D04576F8D63AF941CC77EE5871393388F0((&L_0), (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 24), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Collections.IEnumerator System.Collections.Generic.List`1<System.Object>::System.Collections.IEnumerable.GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* List_1_System_Collections_IEnumerable_GetEnumerator_m038EFBE159B5C8A2BE50D9A6CBCDE2B7B1003371_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, const RuntimeMethod* method)
{
{
Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD L_0;
memset((&L_0), 0, sizeof(L_0));
Enumerator__ctor_m39C8C3D04576F8D63AF941CC77EE5871393388F0((&L_0), (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 24), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Object>::IndexOf(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_IndexOf_m98E4245F46A6D90AE3E96EFF3880D50ED6E2C728_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_0 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
RuntimeObject * L_1 = ___item0;
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = (( int32_t (*) (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*, RuntimeObject *, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)L_0, (RuntimeObject *)L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
return L_3;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Object>::System.Collections.IList.IndexOf(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_System_Collections_IList_IndexOf_mF202DEC2ED9110C5E7C07F4A8A68B22CDA6A2635_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
int32_t L_3 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)__this, (RuntimeObject *)((RuntimeObject *)Castclass((RuntimeObject*)L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
return L_3;
}
IL_0015:
{
return (-1);
}
}
// System.Void System.Collections.Generic.List`1<System.Object>::Insert(System.Int32,T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Insert_m327E513FB78F72441BBF2756AFCC788F89A4FA52_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, int32_t ___index0, RuntimeObject * ___item1, 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_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)((int32_t)27), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = (int32_t)__this->get__size_2();
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_3 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
if ((!(((uint32_t)L_2) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length))))))))
{
goto IL_0030;
}
}
{
int32_t L_4 = (int32_t)__this->get__size_2();
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_0030:
{
int32_t L_5 = ___index0;
int32_t L_6 = (int32_t)__this->get__size_2();
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0056;
}
}
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_7 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
int32_t L_8 = ___index0;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_9 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
int32_t L_12 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (RuntimeArray *)(RuntimeArray *)L_9, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_11, (int32_t)L_12)), /*hidden argument*/NULL);
}
IL_0056:
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_13 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
int32_t L_14 = ___index0;
RuntimeObject * L_15 = ___item1;
(L_13)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_14), (RuntimeObject *)L_15);
int32_t L_16 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1)));
int32_t L_17 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Object>::System.Collections.IList.Insert(System.Int32,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_IList_Insert_m01196B2E5FA166E6DF7F59CBFB20D97811496678_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, int32_t ___index0, RuntimeObject * ___item1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Insert_m01196B2E5FA166E6DF7F59CBFB20D97811496678_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeObject * L_0 = ___item1;
(( void (*) (RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___item1;
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)__this, (int32_t)L_1, (RuntimeObject *)((RuntimeObject *)Castclass((RuntimeObject*)L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___item1;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6((RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F((RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Object>::InsertRange(System.Int32,System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_InsertRange_mFBEE52F4E68D54D546671D185BA11ED5D1E20B45_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, int32_t ___index0, RuntimeObject* ___collection1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_InsertRange_mFBEE52F4E68D54D546671D185BA11ED5D1E20B45_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
RuntimeObject* V_2 = 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);
{
RuntimeObject* L_0 = ___collection1;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)6, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = ___index0;
int32_t L_2 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_1) > ((uint32_t)L_2))))
{
goto IL_001b;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_001b:
{
RuntimeObject* L_3 = ___collection1;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_3, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_4 = V_0;
if (!L_4)
{
goto IL_00c0;
}
}
{
RuntimeObject* L_5 = V_0;
int32_t L_6 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<System.Object>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_5);
V_1 = (int32_t)L_6;
int32_t L_7 = V_1;
if ((((int32_t)L_7) <= ((int32_t)0)))
{
goto IL_00ef;
}
}
{
int32_t L_8 = (int32_t)__this->get__size_2();
int32_t L_9 = V_1;
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)L_9)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) >= ((int32_t)L_11)))
{
goto IL_006a;
}
}
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_12 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
int32_t L_13 = ___index0;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_14 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
int32_t L_15 = ___index0;
int32_t L_16 = V_1;
int32_t L_17 = (int32_t)__this->get__size_2();
int32_t L_18 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_12, (int32_t)L_13, (RuntimeArray *)(RuntimeArray *)L_14, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_15, (int32_t)L_16)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_17, (int32_t)L_18)), /*hidden argument*/NULL);
}
IL_006a:
{
RuntimeObject* L_19 = V_0;
if ((!(((RuntimeObject*)(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)__this) == ((RuntimeObject*)(RuntimeObject*)L_19))))
{
goto IL_00a3;
}
}
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_20 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_21 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
int32_t L_22 = ___index0;
int32_t L_23 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_20, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_21, (int32_t)L_22, (int32_t)L_23, /*hidden argument*/NULL);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_24 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
int32_t L_25 = ___index0;
int32_t L_26 = V_1;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_27 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
int32_t L_28 = ___index0;
int32_t L_29 = (int32_t)__this->get__size_2();
int32_t L_30 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_24, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_25, (int32_t)L_26)), (RuntimeArray *)(RuntimeArray *)L_27, (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_28, (int32_t)2)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_29, (int32_t)L_30)), /*hidden argument*/NULL);
goto IL_00b0;
}
IL_00a3:
{
RuntimeObject* L_31 = V_0;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_32 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
int32_t L_33 = ___index0;
InterfaceActionInvoker2< ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<System.Object>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_31, (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)L_32, (int32_t)L_33);
}
IL_00b0:
{
int32_t L_34 = (int32_t)__this->get__size_2();
int32_t L_35 = V_1;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_34, (int32_t)L_35)));
goto IL_00ef;
}
IL_00c0:
{
RuntimeObject* L_36 = ___collection1;
RuntimeObject* L_37 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<System.Object>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_36);
V_2 = (RuntimeObject*)L_37;
}
IL_00c7:
try
{ // begin try (depth: 1)
{
goto IL_00db;
}
IL_00c9:
{
int32_t L_38 = ___index0;
int32_t L_39 = (int32_t)L_38;
___index0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_39, (int32_t)1));
RuntimeObject* L_40 = V_2;
RuntimeObject * L_41 = InterfaceFuncInvoker0< RuntimeObject * >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<System.Object>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_40);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)__this, (int32_t)L_39, (RuntimeObject *)L_41, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_00db:
{
RuntimeObject* L_42 = V_2;
bool L_43 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, (RuntimeObject*)L_42);
if (L_43)
{
goto IL_00c9;
}
}
IL_00e3:
{
IL2CPP_LEAVE(0xEF, FINALLY_00e5);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00e5;
}
FINALLY_00e5:
{ // begin finally (depth: 1)
{
RuntimeObject* L_44 = V_2;
if (!L_44)
{
goto IL_00ee;
}
}
IL_00e8:
{
RuntimeObject* L_45 = V_2;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, (RuntimeObject*)L_45);
}
IL_00ee:
{
IL2CPP_END_FINALLY(229)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(229)
{
IL2CPP_JUMP_TBL(0xEF, IL_00ef)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00ef:
{
int32_t L_46 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_46, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<System.Object>::Remove(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_Remove_m908B647BB9F807676DACE34E3E73475C3C3751D4_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
RuntimeObject * L_0 = ___item0;
int32_t L_1 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)__this, (RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
V_0 = (int32_t)L_1;
int32_t L_2 = V_0;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0015;
}
}
{
int32_t L_3 = V_0;
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)__this, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29));
return (bool)1;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<System.Object>::System.Collections.IList.Remove(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_IList_Remove_m0075D78105106BAE6CCC0C37324870D8D67BE9E4_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
(( bool (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)__this, (RuntimeObject *)((RuntimeObject *)Castclass((RuntimeObject*)L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
}
IL_0015:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Object>::RemoveAll(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_RemoveAll_m568E7007C316A2B83B0D08A324AA8A9C8D2796DF_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979 * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979 * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0011;
}
IL_000d:
{
int32_t L_1 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_1, (int32_t)1));
}
IL_0011:
{
int32_t L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__size_2();
if ((((int32_t)L_2) >= ((int32_t)L_3)))
{
goto IL_002e;
}
}
{
Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979 * L_4 = ___match0;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_5 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
int32_t L_6 = V_0;
int32_t L_7 = L_6;
RuntimeObject * L_8 = (L_5)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_7));
bool L_9 = (( bool (*) (Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979 *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979 *)L_4, (RuntimeObject *)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_9)
{
goto IL_000d;
}
}
IL_002e:
{
int32_t L_10 = V_0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) < ((int32_t)L_11)))
{
goto IL_0039;
}
}
{
return 0;
}
IL_0039:
{
int32_t L_12 = V_0;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1));
goto IL_0089;
}
IL_003f:
{
int32_t L_13 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_13, (int32_t)1));
}
IL_0043:
{
int32_t L_14 = V_1;
int32_t L_15 = (int32_t)__this->get__size_2();
if ((((int32_t)L_14) >= ((int32_t)L_15)))
{
goto IL_0060;
}
}
{
Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979 * L_16 = ___match0;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_17 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
int32_t L_18 = V_1;
int32_t L_19 = L_18;
RuntimeObject * L_20 = (L_17)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_19));
bool L_21 = (( bool (*) (Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979 *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979 *)L_16, (RuntimeObject *)L_20, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (L_21)
{
goto IL_003f;
}
}
IL_0060:
{
int32_t L_22 = V_1;
int32_t L_23 = (int32_t)__this->get__size_2();
if ((((int32_t)L_22) >= ((int32_t)L_23)))
{
goto IL_0089;
}
}
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_24 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
int32_t L_25 = V_0;
int32_t L_26 = (int32_t)L_25;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_26, (int32_t)1));
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_27 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
int32_t L_28 = V_1;
int32_t L_29 = (int32_t)L_28;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_29, (int32_t)1));
int32_t L_30 = L_29;
RuntimeObject * L_31 = (L_27)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_30));
(L_24)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_26), (RuntimeObject *)L_31);
}
IL_0089:
{
int32_t L_32 = V_1;
int32_t L_33 = (int32_t)__this->get__size_2();
if ((((int32_t)L_32) < ((int32_t)L_33)))
{
goto IL_0043;
}
}
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_34 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
int32_t L_35 = V_0;
int32_t L_36 = (int32_t)__this->get__size_2();
int32_t L_37 = V_0;
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_34, (int32_t)L_35, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_36, (int32_t)L_37)), /*hidden argument*/NULL);
int32_t L_38 = (int32_t)__this->get__size_2();
int32_t L_39 = V_0;
int32_t L_40 = V_0;
__this->set__size_2(L_40);
int32_t L_41 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_41, (int32_t)1)));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_38, (int32_t)L_39));
}
}
// System.Void System.Collections.Generic.List`1<System.Object>::RemoveAt(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_RemoveAt_m50D861A91F15E3169935F47FB656C3ED5486E74E_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, int32_t ___index0, const RuntimeMethod* method)
{
RuntimeObject * V_0 = NULL;
{
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:
{
int32_t L_2 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)1)));
int32_t L_3 = ___index0;
int32_t L_4 = (int32_t)__this->get__size_2();
if ((((int32_t)L_3) >= ((int32_t)L_4)))
{
goto IL_0042;
}
}
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_5 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
int32_t L_6 = ___index0;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_7 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
int32_t L_10 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_5, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)1)), (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)L_10)), /*hidden argument*/NULL);
}
IL_0042:
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_11 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
int32_t L_12 = (int32_t)__this->get__size_2();
il2cpp_codegen_initobj((&V_0), sizeof(RuntimeObject *));
RuntimeObject * L_13 = V_0;
(L_11)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_12), (RuntimeObject *)L_13);
int32_t L_14 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_14, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Object>::RemoveRange(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_RemoveRange_m89425146ABCF46BE030B6C4B3C85A8559550F983_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
int32_t L_5 = ___count1;
if ((((int32_t)L_5) <= ((int32_t)0)))
{
goto IL_0082;
}
}
{
int32_t L_6 = (int32_t)__this->get__size_2();
int32_t L_7 = ___count1;
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)L_7)));
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
if ((((int32_t)L_8) >= ((int32_t)L_9)))
{
goto IL_0062;
}
}
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_10 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
int32_t L_11 = ___index0;
int32_t L_12 = ___count1;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_13 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
int32_t L_14 = ___index0;
int32_t L_15 = (int32_t)__this->get__size_2();
int32_t L_16 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_10, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)L_12)), (RuntimeArray *)(RuntimeArray *)L_13, (int32_t)L_14, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_15, (int32_t)L_16)), /*hidden argument*/NULL);
}
IL_0062:
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_17 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
int32_t L_18 = (int32_t)__this->get__size_2();
int32_t L_19 = ___count1;
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_17, (int32_t)L_18, (int32_t)L_19, /*hidden argument*/NULL);
int32_t L_20 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_20, (int32_t)1)));
}
IL_0082:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Object>::Reverse()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Reverse_m72D0A68F3695A2828EFA0CD851D1A88BEA4827A4_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)__this, (int32_t)0, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Object>::Reverse(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Reverse_m786E192E2E5C29CA1950F47DDD592AEB666FBEA0_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_5 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
(( void (*) (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32)->methodPointer)((ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Object>::Sort(System.Collections.Generic.IComparer`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_m451B69C90D32CACBC53CEFBD0D499AF2747CBC46_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, RuntimeObject* ___comparer0, const RuntimeMethod* method)
{
{
int32_t L_0 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
RuntimeObject* L_1 = ___comparer0;
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)__this, (int32_t)0, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Object>::Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_m3D412DD870392519AE3A609E78D34344C575329D_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, int32_t ___index0, int32_t ___count1, RuntimeObject* ___comparer2, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_5 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
RuntimeObject* L_8 = ___comparer2;
(( void (*) (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)L_5, (int32_t)L_6, (int32_t)L_7, (RuntimeObject*)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
int32_t L_9 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Object>::Sort(System.Comparison`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_mA3939603201EC0E13489EDA5975A07790CEDB483_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, Comparison_1_tD9DBDF7B2E4774B4D35E113A76D75828A24641F4 * ___comparison0, const RuntimeMethod* method)
{
{
Comparison_1_tD9DBDF7B2E4774B4D35E113A76D75828A24641F4 * L_0 = ___comparison0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_1) <= ((int32_t)0)))
{
goto IL_0025;
}
}
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_2 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
int32_t L_3 = (int32_t)__this->get__size_2();
Comparison_1_tD9DBDF7B2E4774B4D35E113A76D75828A24641F4 * L_4 = ___comparison0;
(( void (*) (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*, int32_t, int32_t, Comparison_1_tD9DBDF7B2E4774B4D35E113A76D75828A24641F4 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35)->methodPointer)((ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)L_2, (int32_t)0, (int32_t)L_3, (Comparison_1_tD9DBDF7B2E4774B4D35E113A76D75828A24641F4 *)L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35));
}
IL_0025:
{
return;
}
}
// T[] System.Collections.Generic.List`1<System.Object>::ToArray()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* List_1_ToArray_m801D4DEF3587F60F463F04EEABE5CBE711FE5612_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, const RuntimeMethod* method)
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* V_0 = NULL;
{
int32_t L_0 = (int32_t)__this->get__size_2();
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_1 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_0);
V_0 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)L_1;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_2 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_3 = V_0;
int32_t L_4 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_2, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_3, (int32_t)0, (int32_t)L_4, /*hidden argument*/NULL);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_5 = V_0;
return L_5;
}
}
// System.Void System.Collections.Generic.List`1<System.Object>::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__cctor_m791EC07BC801B284C5A2404656FF65D10F6C7AC7_gshared (const RuntimeMethod* method)
{
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_0 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)SZArrayNew(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 1), (uint32_t)0);
((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set__emptyArray_5(L_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.Void System.Collections.Generic.List`1<System.Single>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_mF7512150F9E80DE41D3655070FC926A3685C414E_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0((RuntimeObject *)__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_0 = ((List_1_t026D7A8C4D989218772DB3E051A624F753A60859_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_0);
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Single>::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m79CF943D432EDFAFE672E3DFFC07579F74C70BA7_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, int32_t ___capacity0, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0((RuntimeObject *)__this, /*hidden argument*/NULL);
int32_t L_0 = ___capacity0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)12), (int32_t)4, /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_1 = ___capacity0;
if (L_1)
{
goto IL_0021;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_2 = ((List_1_t026D7A8C4D989218772DB3E051A624F753A60859_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_2);
return;
}
IL_0021:
{
int32_t L_3 = ___capacity0;
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_4 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)(SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_3);
__this->set__items_1(L_4);
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Single>::.ctor(System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m65976823F0D2B843C449B9BCD67218A136D76702_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1__ctor_m65976823F0D2B843C449B9BCD67218A136D76702_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
RuntimeObject* V_2 = 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);
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0((RuntimeObject *)__this, /*hidden argument*/NULL);
RuntimeObject* L_0 = ___collection0;
if (L_0)
{
goto IL_000f;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)6, /*hidden argument*/NULL);
}
IL_000f:
{
RuntimeObject* L_1 = ___collection0;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_2 = V_0;
if (!L_2)
{
goto IL_0050;
}
}
{
RuntimeObject* L_3 = V_0;
int32_t L_4 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<System.Single>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_3);
V_1 = (int32_t)L_4;
int32_t L_5 = V_1;
if (L_5)
{
goto IL_002f;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_6 = ((List_1_t026D7A8C4D989218772DB3E051A624F753A60859_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_6);
return;
}
IL_002f:
{
int32_t L_7 = V_1;
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_8 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)(SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_7);
__this->set__items_1(L_8);
RuntimeObject* L_9 = V_0;
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_10 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
InterfaceActionInvoker2< SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<System.Single>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_9, (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)L_10, (int32_t)0);
int32_t L_11 = V_1;
__this->set__size_2(L_11);
return;
}
IL_0050:
{
__this->set__size_2(0);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_12 = ((List_1_t026D7A8C4D989218772DB3E051A624F753A60859_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_12);
RuntimeObject* L_13 = ___collection0;
RuntimeObject* L_14 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<System.Single>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_13);
V_2 = (RuntimeObject*)L_14;
}
IL_0069:
try
{ // begin try (depth: 1)
{
goto IL_0077;
}
IL_006b:
{
RuntimeObject* L_15 = V_2;
float L_16 = InterfaceFuncInvoker0< float >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<System.Single>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_15);
(( void (*) (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *, float, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *)__this, (float)L_16, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
}
IL_0077:
{
RuntimeObject* L_17 = V_2;
bool L_18 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, (RuntimeObject*)L_17);
if (L_18)
{
goto IL_006b;
}
}
IL_007f:
{
IL2CPP_LEAVE(0x8B, FINALLY_0081);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0081;
}
FINALLY_0081:
{ // begin finally (depth: 1)
{
RuntimeObject* L_19 = V_2;
if (!L_19)
{
goto IL_008a;
}
}
IL_0084:
{
RuntimeObject* L_20 = V_2;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, (RuntimeObject*)L_20);
}
IL_008a:
{
IL2CPP_END_FINALLY(129)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(129)
{
IL2CPP_JUMP_TBL(0x8B, IL_008b)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_008b:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Single>::get_Capacity()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_get_Capacity_m7936FE276DBC65D5BF12C3A62939F11E51B800DE_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, const RuntimeMethod* method)
{
{
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_0 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
return (((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length))));
}
}
// System.Void System.Collections.Generic.List`1<System.Single>::set_Capacity(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Capacity_m3E951C8BA86685ED6806AA2851A006F14AA34A26_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, int32_t ___value0, const RuntimeMethod* method)
{
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* V_0 = NULL;
{
int32_t L_0 = ___value0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) >= ((int32_t)L_1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)15), (int32_t)((int32_t)21), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___value0;
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_3 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
if ((((int32_t)L_2) == ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length)))))))
{
goto IL_0058;
}
}
{
int32_t L_4 = ___value0;
if ((((int32_t)L_4) <= ((int32_t)0)))
{
goto IL_004d;
}
}
{
int32_t L_5 = ___value0;
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_6 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)(SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_5);
V_0 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)L_6;
int32_t L_7 = (int32_t)__this->get__size_2();
if ((((int32_t)L_7) <= ((int32_t)0)))
{
goto IL_0045;
}
}
{
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_8 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_9 = V_0;
int32_t L_10 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_8, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_9, (int32_t)0, (int32_t)L_10, /*hidden argument*/NULL);
}
IL_0045:
{
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_11 = V_0;
__this->set__items_1(L_11);
return;
}
IL_004d:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_12 = ((List_1_t026D7A8C4D989218772DB3E051A624F753A60859_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_12);
}
IL_0058:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Single>::get_Count()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_get_Count_mDAB34C54D65756F28FBAEBC5592934DCBE4DD49F_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
return L_0;
}
}
// System.Boolean System.Collections.Generic.List`1<System.Single>::System.Collections.Generic.ICollection<T>.get_IsReadOnly()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_System_Collections_Generic_ICollectionU3CTU3E_get_IsReadOnly_mADB345821DB4AC7665245BDC66B7762EC4DA1EB4_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<System.Single>::System.Collections.IList.get_IsReadOnly()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_System_Collections_IList_get_IsReadOnly_mAB63A70FD05BD7DAE404DC54FF08B56DB3ACF7D9_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// T System.Collections.Generic.List`1<System.Single>::get_Item(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float List_1_get_Item_m945381775F991C32D6AF582D5AA611F0763D5080_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __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:
{
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_2 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
int32_t L_3 = ___index0;
float L_4 = IL2CPP_ARRAY_UNSAFE_LOAD((SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)L_2, (int32_t)L_3);
return L_4;
}
}
// System.Void System.Collections.Generic.List`1<System.Single>::set_Item(System.Int32,T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Item_mB8E0413E04D28B31052584553AFC9010FB9B080E_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, int32_t ___index0, float ___value1, 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:
{
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_2 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
int32_t L_3 = ___index0;
float L_4 = ___value1;
(L_2)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_3), (float)L_4);
int32_t L_5 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<System.Single>::IsCompatibleObject(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_IsCompatibleObject_mB12EF9CA74564C4E460E40D44ED031E022BA4CBC_gshared (RuntimeObject * ___value0, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
RuntimeObject * L_0 = ___value0;
if (((RuntimeObject *)IsInst((RuntimeObject*)L_0, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7))))
{
goto IL_001f;
}
}
{
RuntimeObject * L_1 = ___value0;
if (L_1)
{
goto IL_001d;
}
}
{
il2cpp_codegen_initobj((&V_0), sizeof(float));
float L_2 = V_0;
float L_3 = L_2;
RuntimeObject * L_4 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7), &L_3);
return (bool)((((RuntimeObject*)(RuntimeObject *)L_4) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
}
IL_001d:
{
return (bool)0;
}
IL_001f:
{
return (bool)1;
}
}
// System.Object System.Collections.Generic.List`1<System.Single>::System.Collections.IList.get_Item(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * List_1_System_Collections_IList_get_Item_m405AE2B5A3653C70F33D7261B6C21983E573D2CB_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
float L_1 = (( float (*) (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8)->methodPointer)((List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *)__this, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
float L_2 = L_1;
RuntimeObject * L_3 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7), &L_2);
return L_3;
}
}
// System.Void System.Collections.Generic.List`1<System.Single>::System.Collections.IList.set_Item(System.Int32,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_IList_set_Item_m3D6F6CBD14D2BADE96D8CE6D8337A63A71326EA2_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, int32_t ___index0, RuntimeObject * ___value1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_set_Item_m3D6F6CBD14D2BADE96D8CE6D8337A63A71326EA2_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeObject * L_0 = ___value1;
(( void (*) (RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((RuntimeObject *)L_0, (int32_t)((int32_t)15), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___value1;
(( void (*) (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *, int32_t, float, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10)->methodPointer)((List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *)__this, (int32_t)L_1, (float)((*(float*)((float*)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___value1;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6((RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F((RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Single>::Add(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Add_mA57D25369B82E3B6A1A12D0872C1A80A8CA0B4D3_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, float ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = (int32_t)__this->get__size_2();
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_1 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
if ((!(((uint32_t)L_0) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length))))))))
{
goto IL_001e;
}
}
{
int32_t L_2 = (int32_t)__this->get__size_2();
(( void (*) (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_2, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_001e:
{
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_3 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
int32_t L_4 = (int32_t)__this->get__size_2();
V_0 = (int32_t)L_4;
int32_t L_5 = V_0;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
int32_t L_6 = V_0;
float L_7 = ___item0;
(L_3)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_6), (float)L_7);
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Single>::System.Collections.IList.Add(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_System_Collections_IList_Add_m056DAC59995E8EBBA0FD17D6499BA22FC9C726D4_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Add_m056DAC59995E8EBBA0FD17D6499BA22FC9C726D4_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeObject * L_0 = ___item0;
(( void (*) (RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
RuntimeObject * L_1 = ___item0;
(( void (*) (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *, float, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *)__this, (float)((*(float*)((float*)UnBox(L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
goto IL_0029;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0016;
throw e;
}
CATCH_0016:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_2 = ___item0;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_3 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_4 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6((RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D )L_3, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F((RuntimeObject *)L_2, (Type_t *)L_4, /*hidden argument*/NULL);
goto IL_0029;
} // end catch (depth: 1)
IL_0029:
{
int32_t L_5 = (( int32_t (*) (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_5, (int32_t)1));
}
}
// System.Void System.Collections.Generic.List`1<System.Single>::AddRange(System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_AddRange_m52F8C64DA7FA41DDD89C9591A283D1D6D248C1D0_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
RuntimeObject* L_1 = ___collection0;
(( void (*) (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14)->methodPointer)((List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *)__this, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Single>::Clear()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Clear_m9B1C2D6517DBE1A4AC1943DE600534CDF7013912_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) <= ((int32_t)0)))
{
goto IL_0022;
}
}
{
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_1 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
int32_t L_2 = (int32_t)__this->get__size_2();
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/NULL);
__this->set__size_2(0);
}
IL_0022:
{
int32_t L_3 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<System.Single>::Contains(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_Contains_mA209E934942A2DB89B66AA8333004D4D734B19E7_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, float ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
EqualityComparer_1_t628A7CE59BA6CF00FD8DD4E64C6B270228072BAA * V_1 = NULL;
int32_t V_2 = 0;
{
goto IL_0030;
}
{
V_0 = (int32_t)0;
goto IL_0025;
}
IL_000c:
{
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_1 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
int32_t L_2 = V_0;
int32_t L_3 = L_2;
float L_4 = (L_1)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_3));
goto IL_0021;
}
{
return (bool)1;
}
IL_0021:
{
int32_t L_5 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1));
}
IL_0025:
{
int32_t L_6 = V_0;
int32_t L_7 = (int32_t)__this->get__size_2();
if ((((int32_t)L_6) < ((int32_t)L_7)))
{
goto IL_000c;
}
}
{
return (bool)0;
}
IL_0030:
{
EqualityComparer_1_t628A7CE59BA6CF00FD8DD4E64C6B270228072BAA * L_8 = (( EqualityComparer_1_t628A7CE59BA6CF00FD8DD4E64C6B270228072BAA * (*) (const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)(/*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
V_1 = (EqualityComparer_1_t628A7CE59BA6CF00FD8DD4E64C6B270228072BAA *)L_8;
V_2 = (int32_t)0;
goto IL_0055;
}
IL_003a:
{
EqualityComparer_1_t628A7CE59BA6CF00FD8DD4E64C6B270228072BAA * L_9 = V_1;
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_10 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
int32_t L_11 = V_2;
int32_t L_12 = L_11;
float L_13 = (L_10)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_12));
float L_14 = ___item0;
bool L_15 = VirtFuncInvoker2< bool, float, float >::Invoke(8 /* System.Boolean System.Collections.Generic.EqualityComparer`1<System.Single>::Equals(T,T) */, (EqualityComparer_1_t628A7CE59BA6CF00FD8DD4E64C6B270228072BAA *)L_9, (float)L_13, (float)L_14);
if (!L_15)
{
goto IL_0051;
}
}
{
return (bool)1;
}
IL_0051:
{
int32_t L_16 = V_2;
V_2 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1));
}
IL_0055:
{
int32_t L_17 = V_2;
int32_t L_18 = (int32_t)__this->get__size_2();
if ((((int32_t)L_17) < ((int32_t)L_18)))
{
goto IL_003a;
}
}
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<System.Single>::System.Collections.IList.Contains(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_System_Collections_IList_Contains_mDB4E9A7DE392734E2A7968C322F44D07FD2C59ED_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
bool L_3 = (( bool (*) (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *, float, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *)__this, (float)((*(float*)((float*)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
return L_3;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<System.Single>::CopyTo(T[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_CopyTo_m01066F3F2D1C036FA305EDFAE640EDCA32AFFABE_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* ___array0, const RuntimeMethod* method)
{
{
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_0 = ___array0;
(( void (*) (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *, SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20)->methodPointer)((List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *)__this, (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)L_0, (int32_t)0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Single>::System.Collections.ICollection.CopyTo(System.Array,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_ICollection_CopyTo_mE86E0E4BF71BAEB78929515CDC55D73ED5AC5813_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, RuntimeArray * ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_ICollection_CopyTo_mE86E0E4BF71BAEB78929515CDC55D73ED5AC5813_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeArray * L_0 = ___array0;
if (!L_0)
{
goto IL_0012;
}
}
{
RuntimeArray * L_1 = ___array0;
int32_t L_2 = Array_get_Rank_m38145B59D67D75F9896A3F8CDA9B966641AE99E1((RuntimeArray *)L_1, /*hidden argument*/NULL);
if ((((int32_t)L_2) == ((int32_t)1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)7, /*hidden argument*/NULL);
}
IL_0012:
{
}
IL_0013:
try
{ // begin try (depth: 1)
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_3 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
RuntimeArray * L_4 = ___array0;
int32_t L_5 = ___arrayIndex1;
int32_t L_6 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_3, (int32_t)0, (RuntimeArray *)L_4, (int32_t)L_5, (int32_t)L_6, /*hidden argument*/NULL);
goto IL_0033;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (ArrayTypeMismatchException_tE34C1032B089C37399200997F079C640D23D9499_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0029;
throw e;
}
CATCH_0029:
{ // begin catch(System.ArrayTypeMismatchException)
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)18), /*hidden argument*/NULL);
goto IL_0033;
} // end catch (depth: 1)
IL_0033:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Single>::CopyTo(System.Int32,T[],System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_CopyTo_mDC153734A12E09152970FC2B475CA9576D906BD0_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, int32_t ___index0, SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* ___array1, int32_t ___arrayIndex2, int32_t ___count3, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
int32_t L_1 = ___index0;
int32_t L_2 = ___count3;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_0, (int32_t)L_1))) >= ((int32_t)L_2)))
{
goto IL_0013;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_0013:
{
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_3 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
int32_t L_4 = ___index0;
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_5 = ___array1;
int32_t L_6 = ___arrayIndex2;
int32_t L_7 = ___count3;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_3, (int32_t)L_4, (RuntimeArray *)(RuntimeArray *)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Single>::CopyTo(T[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_CopyTo_m394072C11E06335B62CF411E434494DF75F4D992_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
{
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_0 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_1 = ___array0;
int32_t L_2 = ___arrayIndex1;
int32_t L_3 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_0, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)L_2, (int32_t)L_3, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Single>::EnsureCapacity(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_EnsureCapacity_m165B7952FB4CA602B44C8788C3ABB7E64882D22B_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, int32_t ___min0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t G_B4_0 = 0;
{
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_0 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
int32_t L_1 = ___min0;
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length))))) >= ((int32_t)L_1)))
{
goto IL_003d;
}
}
{
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_2 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
if (!(((RuntimeArray*)L_2)->max_length))
{
goto IL_0020;
}
}
{
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_3 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
G_B4_0 = ((int32_t)il2cpp_codegen_multiply((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length)))), (int32_t)2));
goto IL_0021;
}
IL_0020:
{
G_B4_0 = 4;
}
IL_0021:
{
V_0 = (int32_t)G_B4_0;
int32_t L_4 = V_0;
if ((!(((uint32_t)L_4) > ((uint32_t)((int32_t)2146435071)))))
{
goto IL_0030;
}
}
{
V_0 = (int32_t)((int32_t)2146435071);
}
IL_0030:
{
int32_t L_5 = V_0;
int32_t L_6 = ___min0;
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0036;
}
}
{
int32_t L_7 = ___min0;
V_0 = (int32_t)L_7;
}
IL_0036:
{
int32_t L_8 = V_0;
(( void (*) (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 21)->methodPointer)((List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *)__this, (int32_t)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 21));
}
IL_003d:
{
return;
}
}
// T System.Collections.Generic.List`1<System.Single>::Find(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float List_1_Find_m8318EB78C670A7F9B81EF17171F65D328968CDD3_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, Predicate_1_t841FDBD98DB0D653BF54D71E3481608E51DD4F38 * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
float V_1 = 0.0f;
{
Predicate_1_t841FDBD98DB0D653BF54D71E3481608E51DD4F38 * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0032;
}
IL_000d:
{
Predicate_1_t841FDBD98DB0D653BF54D71E3481608E51DD4F38 * L_1 = ___match0;
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_2 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
int32_t L_3 = V_0;
int32_t L_4 = L_3;
float L_5 = (L_2)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_4));
bool L_6 = (( bool (*) (Predicate_1_t841FDBD98DB0D653BF54D71E3481608E51DD4F38 *, float, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t841FDBD98DB0D653BF54D71E3481608E51DD4F38 *)L_1, (float)L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_6)
{
goto IL_002e;
}
}
{
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_7 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
int32_t L_8 = V_0;
int32_t L_9 = L_8;
float L_10 = (L_7)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_9));
return L_10;
}
IL_002e:
{
int32_t L_11 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)1));
}
IL_0032:
{
int32_t L_12 = V_0;
int32_t L_13 = (int32_t)__this->get__size_2();
if ((((int32_t)L_12) < ((int32_t)L_13)))
{
goto IL_000d;
}
}
{
il2cpp_codegen_initobj((&V_1), sizeof(float));
float L_14 = V_1;
return L_14;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Single>::FindIndex(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_FindIndex_mB4AC99B472E659D14E73B8224EBE7DABBA0113C2_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, Predicate_1_t841FDBD98DB0D653BF54D71E3481608E51DD4F38 * ___match0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
Predicate_1_t841FDBD98DB0D653BF54D71E3481608E51DD4F38 * L_1 = ___match0;
int32_t L_2 = (( int32_t (*) (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *, int32_t, int32_t, Predicate_1_t841FDBD98DB0D653BF54D71E3481608E51DD4F38 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23)->methodPointer)((List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *)__this, (int32_t)0, (int32_t)L_0, (Predicate_1_t841FDBD98DB0D653BF54D71E3481608E51DD4F38 *)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23));
return L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Single>::FindIndex(System.Int32,System.Int32,System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_FindIndex_m7FCC2F639877A82C774E03A7D44C080E9DFFD720_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, int32_t ___startIndex0, int32_t ___count1, Predicate_1_t841FDBD98DB0D653BF54D71E3481608E51DD4F38 * ___match2, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
int32_t L_0 = ___startIndex0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) > ((uint32_t)L_1))))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)14), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___count1;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0021;
}
}
{
int32_t L_3 = ___startIndex0;
int32_t L_4 = (int32_t)__this->get__size_2();
int32_t L_5 = ___count1;
if ((((int32_t)L_3) <= ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_4, (int32_t)L_5)))))
{
goto IL_002a;
}
}
IL_0021:
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)((int32_t)25), /*hidden argument*/NULL);
}
IL_002a:
{
Predicate_1_t841FDBD98DB0D653BF54D71E3481608E51DD4F38 * L_6 = ___match2;
if (L_6)
{
goto IL_0033;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0033:
{
int32_t L_7 = ___startIndex0;
int32_t L_8 = ___count1;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_7, (int32_t)L_8));
int32_t L_9 = ___startIndex0;
V_1 = (int32_t)L_9;
goto IL_0055;
}
IL_003b:
{
Predicate_1_t841FDBD98DB0D653BF54D71E3481608E51DD4F38 * L_10 = ___match2;
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_11 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
int32_t L_12 = V_1;
int32_t L_13 = L_12;
float L_14 = (L_11)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_13));
bool L_15 = (( bool (*) (Predicate_1_t841FDBD98DB0D653BF54D71E3481608E51DD4F38 *, float, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t841FDBD98DB0D653BF54D71E3481608E51DD4F38 *)L_10, (float)L_14, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_15)
{
goto IL_0051;
}
}
{
int32_t L_16 = V_1;
return L_16;
}
IL_0051:
{
int32_t L_17 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1));
}
IL_0055:
{
int32_t L_18 = V_1;
int32_t L_19 = V_0;
if ((((int32_t)L_18) < ((int32_t)L_19)))
{
goto IL_003b;
}
}
{
return (-1);
}
}
// System.Collections.Generic.List`1_Enumerator<T> System.Collections.Generic.List`1<System.Single>::GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Enumerator_tFAFBEAFCC7B8C7F0A58F04A243A8773B576C4EFD List_1_GetEnumerator_mCB1E3A327712558489035A6736141F13E429FE8D_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, const RuntimeMethod* method)
{
{
Enumerator_tFAFBEAFCC7B8C7F0A58F04A243A8773B576C4EFD L_0;
memset((&L_0), 0, sizeof(L_0));
Enumerator__ctor_mC098660DDC562C49A98F1196A350625289869D18((&L_0), (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
return L_0;
}
}
// System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.List`1<System.Single>::System.Collections.Generic.IEnumerable<T>.GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* List_1_System_Collections_Generic_IEnumerableU3CTU3E_GetEnumerator_m5929DFAA409AB1D877462450376C2231EB0C5EB0_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, const RuntimeMethod* method)
{
{
Enumerator_tFAFBEAFCC7B8C7F0A58F04A243A8773B576C4EFD L_0;
memset((&L_0), 0, sizeof(L_0));
Enumerator__ctor_mC098660DDC562C49A98F1196A350625289869D18((&L_0), (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
Enumerator_tFAFBEAFCC7B8C7F0A58F04A243A8773B576C4EFD L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 24), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Collections.IEnumerator System.Collections.Generic.List`1<System.Single>::System.Collections.IEnumerable.GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* List_1_System_Collections_IEnumerable_GetEnumerator_m4D699A7263D2964138ED2F7FE873988FAA7F837F_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, const RuntimeMethod* method)
{
{
Enumerator_tFAFBEAFCC7B8C7F0A58F04A243A8773B576C4EFD L_0;
memset((&L_0), 0, sizeof(L_0));
Enumerator__ctor_mC098660DDC562C49A98F1196A350625289869D18((&L_0), (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
Enumerator_tFAFBEAFCC7B8C7F0A58F04A243A8773B576C4EFD L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 24), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Single>::IndexOf(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_IndexOf_m1CE998001B31339EEFA973794778160980ED7C51_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, float ___item0, const RuntimeMethod* method)
{
{
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_0 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
float L_1 = ___item0;
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = (( int32_t (*) (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*, float, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)L_0, (float)L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
return L_3;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Single>::System.Collections.IList.IndexOf(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_System_Collections_IList_IndexOf_m1634B59DB0B7FF040F9E86104258F42F1B8E5F65_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
int32_t L_3 = (( int32_t (*) (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *, float, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *)__this, (float)((*(float*)((float*)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
return L_3;
}
IL_0015:
{
return (-1);
}
}
// System.Void System.Collections.Generic.List`1<System.Single>::Insert(System.Int32,T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Insert_mD143FE193967DD9F1B12D9C13C5F6DBC7AAA4452_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, int32_t ___index0, float ___item1, 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_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)((int32_t)27), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = (int32_t)__this->get__size_2();
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_3 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
if ((!(((uint32_t)L_2) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length))))))))
{
goto IL_0030;
}
}
{
int32_t L_4 = (int32_t)__this->get__size_2();
(( void (*) (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_0030:
{
int32_t L_5 = ___index0;
int32_t L_6 = (int32_t)__this->get__size_2();
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0056;
}
}
{
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_7 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
int32_t L_8 = ___index0;
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_9 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
int32_t L_12 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (RuntimeArray *)(RuntimeArray *)L_9, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_11, (int32_t)L_12)), /*hidden argument*/NULL);
}
IL_0056:
{
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_13 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
int32_t L_14 = ___index0;
float L_15 = ___item1;
(L_13)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_14), (float)L_15);
int32_t L_16 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1)));
int32_t L_17 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Single>::System.Collections.IList.Insert(System.Int32,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_IList_Insert_m01ECF0EED9BCAB969C7A9FC58874B336926F3265_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, int32_t ___index0, RuntimeObject * ___item1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Insert_m01ECF0EED9BCAB969C7A9FC58874B336926F3265_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeObject * L_0 = ___item1;
(( void (*) (RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___item1;
(( void (*) (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *, int32_t, float, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *)__this, (int32_t)L_1, (float)((*(float*)((float*)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___item1;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6((RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F((RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Single>::InsertRange(System.Int32,System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_InsertRange_m2030630CB679E659C6CFBA2043144419885154AD_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, int32_t ___index0, RuntimeObject* ___collection1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_InsertRange_m2030630CB679E659C6CFBA2043144419885154AD_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
RuntimeObject* V_2 = 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);
{
RuntimeObject* L_0 = ___collection1;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)6, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = ___index0;
int32_t L_2 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_1) > ((uint32_t)L_2))))
{
goto IL_001b;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_001b:
{
RuntimeObject* L_3 = ___collection1;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_3, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_4 = V_0;
if (!L_4)
{
goto IL_00c0;
}
}
{
RuntimeObject* L_5 = V_0;
int32_t L_6 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<System.Single>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_5);
V_1 = (int32_t)L_6;
int32_t L_7 = V_1;
if ((((int32_t)L_7) <= ((int32_t)0)))
{
goto IL_00ef;
}
}
{
int32_t L_8 = (int32_t)__this->get__size_2();
int32_t L_9 = V_1;
(( void (*) (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)L_9)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) >= ((int32_t)L_11)))
{
goto IL_006a;
}
}
{
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_12 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
int32_t L_13 = ___index0;
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_14 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
int32_t L_15 = ___index0;
int32_t L_16 = V_1;
int32_t L_17 = (int32_t)__this->get__size_2();
int32_t L_18 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_12, (int32_t)L_13, (RuntimeArray *)(RuntimeArray *)L_14, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_15, (int32_t)L_16)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_17, (int32_t)L_18)), /*hidden argument*/NULL);
}
IL_006a:
{
RuntimeObject* L_19 = V_0;
if ((!(((RuntimeObject*)(List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *)__this) == ((RuntimeObject*)(RuntimeObject*)L_19))))
{
goto IL_00a3;
}
}
{
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_20 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_21 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
int32_t L_22 = ___index0;
int32_t L_23 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_20, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_21, (int32_t)L_22, (int32_t)L_23, /*hidden argument*/NULL);
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_24 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
int32_t L_25 = ___index0;
int32_t L_26 = V_1;
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_27 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
int32_t L_28 = ___index0;
int32_t L_29 = (int32_t)__this->get__size_2();
int32_t L_30 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_24, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_25, (int32_t)L_26)), (RuntimeArray *)(RuntimeArray *)L_27, (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_28, (int32_t)2)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_29, (int32_t)L_30)), /*hidden argument*/NULL);
goto IL_00b0;
}
IL_00a3:
{
RuntimeObject* L_31 = V_0;
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_32 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
int32_t L_33 = ___index0;
InterfaceActionInvoker2< SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<System.Single>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_31, (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)L_32, (int32_t)L_33);
}
IL_00b0:
{
int32_t L_34 = (int32_t)__this->get__size_2();
int32_t L_35 = V_1;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_34, (int32_t)L_35)));
goto IL_00ef;
}
IL_00c0:
{
RuntimeObject* L_36 = ___collection1;
RuntimeObject* L_37 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<System.Single>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_36);
V_2 = (RuntimeObject*)L_37;
}
IL_00c7:
try
{ // begin try (depth: 1)
{
goto IL_00db;
}
IL_00c9:
{
int32_t L_38 = ___index0;
int32_t L_39 = (int32_t)L_38;
___index0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_39, (int32_t)1));
RuntimeObject* L_40 = V_2;
float L_41 = InterfaceFuncInvoker0< float >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<System.Single>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_40);
(( void (*) (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *, int32_t, float, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *)__this, (int32_t)L_39, (float)L_41, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_00db:
{
RuntimeObject* L_42 = V_2;
bool L_43 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, (RuntimeObject*)L_42);
if (L_43)
{
goto IL_00c9;
}
}
IL_00e3:
{
IL2CPP_LEAVE(0xEF, FINALLY_00e5);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00e5;
}
FINALLY_00e5:
{ // begin finally (depth: 1)
{
RuntimeObject* L_44 = V_2;
if (!L_44)
{
goto IL_00ee;
}
}
IL_00e8:
{
RuntimeObject* L_45 = V_2;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, (RuntimeObject*)L_45);
}
IL_00ee:
{
IL2CPP_END_FINALLY(229)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(229)
{
IL2CPP_JUMP_TBL(0xEF, IL_00ef)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00ef:
{
int32_t L_46 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_46, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<System.Single>::Remove(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_Remove_mAEAC1E8B90ED424E9114D58F613CAE178AFF4818_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, float ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
float L_0 = ___item0;
int32_t L_1 = (( int32_t (*) (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *, float, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *)__this, (float)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
V_0 = (int32_t)L_1;
int32_t L_2 = V_0;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0015;
}
}
{
int32_t L_3 = V_0;
(( void (*) (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29)->methodPointer)((List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *)__this, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29));
return (bool)1;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<System.Single>::System.Collections.IList.Remove(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_IList_Remove_m8B77D4F923A3D6FF16CFBA2B0AD5D9292206D91A_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
(( bool (*) (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *, float, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30)->methodPointer)((List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *)__this, (float)((*(float*)((float*)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
}
IL_0015:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<System.Single>::RemoveAll(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_RemoveAll_m2F6AEB3AC3F8831EB59168033B42F27B5EA8376F_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, Predicate_1_t841FDBD98DB0D653BF54D71E3481608E51DD4F38 * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
Predicate_1_t841FDBD98DB0D653BF54D71E3481608E51DD4F38 * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0011;
}
IL_000d:
{
int32_t L_1 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_1, (int32_t)1));
}
IL_0011:
{
int32_t L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__size_2();
if ((((int32_t)L_2) >= ((int32_t)L_3)))
{
goto IL_002e;
}
}
{
Predicate_1_t841FDBD98DB0D653BF54D71E3481608E51DD4F38 * L_4 = ___match0;
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_5 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
int32_t L_6 = V_0;
int32_t L_7 = L_6;
float L_8 = (L_5)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_7));
bool L_9 = (( bool (*) (Predicate_1_t841FDBD98DB0D653BF54D71E3481608E51DD4F38 *, float, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t841FDBD98DB0D653BF54D71E3481608E51DD4F38 *)L_4, (float)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_9)
{
goto IL_000d;
}
}
IL_002e:
{
int32_t L_10 = V_0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) < ((int32_t)L_11)))
{
goto IL_0039;
}
}
{
return 0;
}
IL_0039:
{
int32_t L_12 = V_0;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1));
goto IL_0089;
}
IL_003f:
{
int32_t L_13 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_13, (int32_t)1));
}
IL_0043:
{
int32_t L_14 = V_1;
int32_t L_15 = (int32_t)__this->get__size_2();
if ((((int32_t)L_14) >= ((int32_t)L_15)))
{
goto IL_0060;
}
}
{
Predicate_1_t841FDBD98DB0D653BF54D71E3481608E51DD4F38 * L_16 = ___match0;
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_17 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
int32_t L_18 = V_1;
int32_t L_19 = L_18;
float L_20 = (L_17)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_19));
bool L_21 = (( bool (*) (Predicate_1_t841FDBD98DB0D653BF54D71E3481608E51DD4F38 *, float, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t841FDBD98DB0D653BF54D71E3481608E51DD4F38 *)L_16, (float)L_20, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (L_21)
{
goto IL_003f;
}
}
IL_0060:
{
int32_t L_22 = V_1;
int32_t L_23 = (int32_t)__this->get__size_2();
if ((((int32_t)L_22) >= ((int32_t)L_23)))
{
goto IL_0089;
}
}
{
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_24 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
int32_t L_25 = V_0;
int32_t L_26 = (int32_t)L_25;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_26, (int32_t)1));
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_27 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
int32_t L_28 = V_1;
int32_t L_29 = (int32_t)L_28;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_29, (int32_t)1));
int32_t L_30 = L_29;
float L_31 = (L_27)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_30));
(L_24)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_26), (float)L_31);
}
IL_0089:
{
int32_t L_32 = V_1;
int32_t L_33 = (int32_t)__this->get__size_2();
if ((((int32_t)L_32) < ((int32_t)L_33)))
{
goto IL_0043;
}
}
{
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_34 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
int32_t L_35 = V_0;
int32_t L_36 = (int32_t)__this->get__size_2();
int32_t L_37 = V_0;
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_34, (int32_t)L_35, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_36, (int32_t)L_37)), /*hidden argument*/NULL);
int32_t L_38 = (int32_t)__this->get__size_2();
int32_t L_39 = V_0;
int32_t L_40 = V_0;
__this->set__size_2(L_40);
int32_t L_41 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_41, (int32_t)1)));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_38, (int32_t)L_39));
}
}
// System.Void System.Collections.Generic.List`1<System.Single>::RemoveAt(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_RemoveAt_m2595A9B158F65031DF902DD784ED4A61D15BB44A_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, int32_t ___index0, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
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:
{
int32_t L_2 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)1)));
int32_t L_3 = ___index0;
int32_t L_4 = (int32_t)__this->get__size_2();
if ((((int32_t)L_3) >= ((int32_t)L_4)))
{
goto IL_0042;
}
}
{
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_5 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
int32_t L_6 = ___index0;
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_7 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
int32_t L_10 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_5, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)1)), (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)L_10)), /*hidden argument*/NULL);
}
IL_0042:
{
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_11 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
int32_t L_12 = (int32_t)__this->get__size_2();
il2cpp_codegen_initobj((&V_0), sizeof(float));
float L_13 = V_0;
(L_11)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_12), (float)L_13);
int32_t L_14 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_14, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Single>::RemoveRange(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_RemoveRange_m62CDE3B67F2BBDBB95E6D77C9861CD1F9DE3FF67_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
int32_t L_5 = ___count1;
if ((((int32_t)L_5) <= ((int32_t)0)))
{
goto IL_0082;
}
}
{
int32_t L_6 = (int32_t)__this->get__size_2();
int32_t L_7 = ___count1;
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)L_7)));
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
if ((((int32_t)L_8) >= ((int32_t)L_9)))
{
goto IL_0062;
}
}
{
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_10 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
int32_t L_11 = ___index0;
int32_t L_12 = ___count1;
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_13 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
int32_t L_14 = ___index0;
int32_t L_15 = (int32_t)__this->get__size_2();
int32_t L_16 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_10, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)L_12)), (RuntimeArray *)(RuntimeArray *)L_13, (int32_t)L_14, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_15, (int32_t)L_16)), /*hidden argument*/NULL);
}
IL_0062:
{
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_17 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
int32_t L_18 = (int32_t)__this->get__size_2();
int32_t L_19 = ___count1;
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_17, (int32_t)L_18, (int32_t)L_19, /*hidden argument*/NULL);
int32_t L_20 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_20, (int32_t)1)));
}
IL_0082:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Single>::Reverse()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Reverse_m894635D6A3D75777779246306D706341F88E9071_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (( int32_t (*) (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
(( void (*) (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31)->methodPointer)((List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *)__this, (int32_t)0, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Single>::Reverse(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Reverse_m88E32FC79CCAF07A850062D556A4563BCDBBBB2D_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_5 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
(( void (*) (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32)->methodPointer)((SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Single>::Sort(System.Collections.Generic.IComparer`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_m58662C85943F75DB8B435A8798FD6D60D3CBAEF8_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, RuntimeObject* ___comparer0, const RuntimeMethod* method)
{
{
int32_t L_0 = (( int32_t (*) (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
RuntimeObject* L_1 = ___comparer0;
(( void (*) (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((List_1_t026D7A8C4D989218772DB3E051A624F753A60859 *)__this, (int32_t)0, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Single>::Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_m811C960AD083A1BF32D679D22D55B0A9372CEA63_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, int32_t ___index0, int32_t ___count1, RuntimeObject* ___comparer2, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_5 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
RuntimeObject* L_8 = ___comparer2;
(( void (*) (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)L_5, (int32_t)L_6, (int32_t)L_7, (RuntimeObject*)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
int32_t L_9 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.Single>::Sort(System.Comparison`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_m26F8E2EE94657F48AF0EFD5526E6C3A397B5175B_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, Comparison_1_t0F2F1560FCF2F77447EC134DA71446B45D2EAE93 * ___comparison0, const RuntimeMethod* method)
{
{
Comparison_1_t0F2F1560FCF2F77447EC134DA71446B45D2EAE93 * L_0 = ___comparison0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_1) <= ((int32_t)0)))
{
goto IL_0025;
}
}
{
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_2 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
int32_t L_3 = (int32_t)__this->get__size_2();
Comparison_1_t0F2F1560FCF2F77447EC134DA71446B45D2EAE93 * L_4 = ___comparison0;
(( void (*) (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*, int32_t, int32_t, Comparison_1_t0F2F1560FCF2F77447EC134DA71446B45D2EAE93 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35)->methodPointer)((SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)L_2, (int32_t)0, (int32_t)L_3, (Comparison_1_t0F2F1560FCF2F77447EC134DA71446B45D2EAE93 *)L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35));
}
IL_0025:
{
return;
}
}
// T[] System.Collections.Generic.List`1<System.Single>::ToArray()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* List_1_ToArray_mD9F60F4ED59E11B364B610E02C9BF28533962FD8_gshared (List_1_t026D7A8C4D989218772DB3E051A624F753A60859 * __this, const RuntimeMethod* method)
{
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* V_0 = NULL;
{
int32_t L_0 = (int32_t)__this->get__size_2();
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_1 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)(SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_0);
V_0 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)L_1;
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_2 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)__this->get__items_1();
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_3 = V_0;
int32_t L_4 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_2, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_3, (int32_t)0, (int32_t)L_4, /*hidden argument*/NULL);
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_5 = V_0;
return L_5;
}
}
// System.Void System.Collections.Generic.List`1<System.Single>::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__cctor_m83A867D1E546AA7F39F7B8531B37918C20A9C796_gshared (const RuntimeMethod* method)
{
{
SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5* L_0 = (SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)(SingleU5BU5D_tA7139B7CAA40EAEF9178E2C386C8A5993754FDD5*)SZArrayNew(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 1), (uint32_t)0);
((List_1_t026D7A8C4D989218772DB3E051A624F753A60859_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set__emptyArray_5(L_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.Void System.Collections.Generic.List`1<System.UInt32>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_mC20B67EBF1DA8D0E9010E3DF5734377C5FD810DD_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0((RuntimeObject *)__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_0 = ((List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_0);
return;
}
}
// System.Void System.Collections.Generic.List`1<System.UInt32>::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_mDA4DBB02B104196E6FD03ACDB2FACA70CBD37A2E_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, int32_t ___capacity0, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0((RuntimeObject *)__this, /*hidden argument*/NULL);
int32_t L_0 = ___capacity0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)12), (int32_t)4, /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_1 = ___capacity0;
if (L_1)
{
goto IL_0021;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_2 = ((List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_2);
return;
}
IL_0021:
{
int32_t L_3 = ___capacity0;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_4 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)(UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_3);
__this->set__items_1(L_4);
return;
}
}
// System.Void System.Collections.Generic.List`1<System.UInt32>::.ctor(System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m1BE1F8FC94F8C15E7687168681E4B0A8A1D4A410_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1__ctor_m1BE1F8FC94F8C15E7687168681E4B0A8A1D4A410_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
RuntimeObject* V_2 = 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);
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0((RuntimeObject *)__this, /*hidden argument*/NULL);
RuntimeObject* L_0 = ___collection0;
if (L_0)
{
goto IL_000f;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)6, /*hidden argument*/NULL);
}
IL_000f:
{
RuntimeObject* L_1 = ___collection0;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_2 = V_0;
if (!L_2)
{
goto IL_0050;
}
}
{
RuntimeObject* L_3 = V_0;
int32_t L_4 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<System.UInt32>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_3);
V_1 = (int32_t)L_4;
int32_t L_5 = V_1;
if (L_5)
{
goto IL_002f;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_6 = ((List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_6);
return;
}
IL_002f:
{
int32_t L_7 = V_1;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_8 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)(UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_7);
__this->set__items_1(L_8);
RuntimeObject* L_9 = V_0;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_10 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
InterfaceActionInvoker2< UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<System.UInt32>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_9, (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)L_10, (int32_t)0);
int32_t L_11 = V_1;
__this->set__size_2(L_11);
return;
}
IL_0050:
{
__this->set__size_2(0);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_12 = ((List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_12);
RuntimeObject* L_13 = ___collection0;
RuntimeObject* L_14 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<System.UInt32>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_13);
V_2 = (RuntimeObject*)L_14;
}
IL_0069:
try
{ // begin try (depth: 1)
{
goto IL_0077;
}
IL_006b:
{
RuntimeObject* L_15 = V_2;
uint32_t L_16 = InterfaceFuncInvoker0< uint32_t >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<System.UInt32>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_15);
(( void (*) (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *, uint32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *)__this, (uint32_t)L_16, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
}
IL_0077:
{
RuntimeObject* L_17 = V_2;
bool L_18 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, (RuntimeObject*)L_17);
if (L_18)
{
goto IL_006b;
}
}
IL_007f:
{
IL2CPP_LEAVE(0x8B, FINALLY_0081);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0081;
}
FINALLY_0081:
{ // begin finally (depth: 1)
{
RuntimeObject* L_19 = V_2;
if (!L_19)
{
goto IL_008a;
}
}
IL_0084:
{
RuntimeObject* L_20 = V_2;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, (RuntimeObject*)L_20);
}
IL_008a:
{
IL2CPP_END_FINALLY(129)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(129)
{
IL2CPP_JUMP_TBL(0x8B, IL_008b)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_008b:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<System.UInt32>::get_Capacity()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_get_Capacity_m0FE04903525E879EB1DBAEF1F30CDE5B094814DB_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, const RuntimeMethod* method)
{
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_0 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
return (((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length))));
}
}
// System.Void System.Collections.Generic.List`1<System.UInt32>::set_Capacity(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Capacity_m6C576CDCDC0DCBBF5F269C097190ECD90FED88E0_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, int32_t ___value0, const RuntimeMethod* method)
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* V_0 = NULL;
{
int32_t L_0 = ___value0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) >= ((int32_t)L_1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)15), (int32_t)((int32_t)21), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___value0;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_3 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
if ((((int32_t)L_2) == ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length)))))))
{
goto IL_0058;
}
}
{
int32_t L_4 = ___value0;
if ((((int32_t)L_4) <= ((int32_t)0)))
{
goto IL_004d;
}
}
{
int32_t L_5 = ___value0;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_6 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)(UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_5);
V_0 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)L_6;
int32_t L_7 = (int32_t)__this->get__size_2();
if ((((int32_t)L_7) <= ((int32_t)0)))
{
goto IL_0045;
}
}
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_8 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_9 = V_0;
int32_t L_10 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_8, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_9, (int32_t)0, (int32_t)L_10, /*hidden argument*/NULL);
}
IL_0045:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_11 = V_0;
__this->set__items_1(L_11);
return;
}
IL_004d:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_12 = ((List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_12);
}
IL_0058:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<System.UInt32>::get_Count()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m3E3E6FA980D3D675E1A5DF9D9C95657717425563_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
return L_0;
}
}
// System.Boolean System.Collections.Generic.List`1<System.UInt32>::System.Collections.Generic.ICollection<T>.get_IsReadOnly()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_System_Collections_Generic_ICollectionU3CTU3E_get_IsReadOnly_m98F732D37C713DF985AEBB11171D4EF19D51457A_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<System.UInt32>::System.Collections.IList.get_IsReadOnly()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_System_Collections_IList_get_IsReadOnly_mDE1C204A127AD7B2310145FF9B5789FC91F6BBC1_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// T System.Collections.Generic.List`1<System.UInt32>::get_Item(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t List_1_get_Item_m88EE8C94499F26CC0CD73495FE013C1C903DB702_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __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:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_2 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
int32_t L_3 = ___index0;
uint32_t L_4 = IL2CPP_ARRAY_UNSAFE_LOAD((UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)L_2, (int32_t)L_3);
return L_4;
}
}
// System.Void System.Collections.Generic.List`1<System.UInt32>::set_Item(System.Int32,T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Item_m913BD8438D5B684401703612AF8740860900FD29_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, int32_t ___index0, uint32_t ___value1, 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:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_2 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
int32_t L_3 = ___index0;
uint32_t L_4 = ___value1;
(L_2)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_3), (uint32_t)L_4);
int32_t L_5 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<System.UInt32>::IsCompatibleObject(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_IsCompatibleObject_m9E4571DCA09536C92DF181914D8E6992BB58CA7A_gshared (RuntimeObject * ___value0, const RuntimeMethod* method)
{
uint32_t V_0 = 0;
{
RuntimeObject * L_0 = ___value0;
if (((RuntimeObject *)IsInst((RuntimeObject*)L_0, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7))))
{
goto IL_001f;
}
}
{
RuntimeObject * L_1 = ___value0;
if (L_1)
{
goto IL_001d;
}
}
{
il2cpp_codegen_initobj((&V_0), sizeof(uint32_t));
uint32_t L_2 = V_0;
uint32_t L_3 = L_2;
RuntimeObject * L_4 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7), &L_3);
return (bool)((((RuntimeObject*)(RuntimeObject *)L_4) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
}
IL_001d:
{
return (bool)0;
}
IL_001f:
{
return (bool)1;
}
}
// System.Object System.Collections.Generic.List`1<System.UInt32>::System.Collections.IList.get_Item(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * List_1_System_Collections_IList_get_Item_m7C87C3F8B582FCA1F22EE394DC8BAC2514AE2B39_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
uint32_t L_1 = (( uint32_t (*) (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8)->methodPointer)((List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *)__this, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
uint32_t L_2 = L_1;
RuntimeObject * L_3 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7), &L_2);
return L_3;
}
}
// System.Void System.Collections.Generic.List`1<System.UInt32>::System.Collections.IList.set_Item(System.Int32,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_IList_set_Item_m74B625E0B5E6670F3CDE0D738706EF7C332BC8E1_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, int32_t ___index0, RuntimeObject * ___value1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_set_Item_m74B625E0B5E6670F3CDE0D738706EF7C332BC8E1_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeObject * L_0 = ___value1;
(( void (*) (RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((RuntimeObject *)L_0, (int32_t)((int32_t)15), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___value1;
(( void (*) (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *, int32_t, uint32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10)->methodPointer)((List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *)__this, (int32_t)L_1, (uint32_t)((*(uint32_t*)((uint32_t*)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___value1;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6((RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F((RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<System.UInt32>::Add(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Add_m3317853274EB2F0B8DAA1DF97B9B8D27B8FD6DD2_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, uint32_t ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = (int32_t)__this->get__size_2();
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_1 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
if ((!(((uint32_t)L_0) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length))))))))
{
goto IL_001e;
}
}
{
int32_t L_2 = (int32_t)__this->get__size_2();
(( void (*) (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_2, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_001e:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_3 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
int32_t L_4 = (int32_t)__this->get__size_2();
V_0 = (int32_t)L_4;
int32_t L_5 = V_0;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
int32_t L_6 = V_0;
uint32_t L_7 = ___item0;
(L_3)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_6), (uint32_t)L_7);
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Int32 System.Collections.Generic.List`1<System.UInt32>::System.Collections.IList.Add(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_System_Collections_IList_Add_m01F101E4774EF45005DD661F84D7BB884AEFA4BD_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Add_m01F101E4774EF45005DD661F84D7BB884AEFA4BD_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeObject * L_0 = ___item0;
(( void (*) (RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
RuntimeObject * L_1 = ___item0;
(( void (*) (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *, uint32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *)__this, (uint32_t)((*(uint32_t*)((uint32_t*)UnBox(L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
goto IL_0029;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0016;
throw e;
}
CATCH_0016:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_2 = ___item0;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_3 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_4 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6((RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D )L_3, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F((RuntimeObject *)L_2, (Type_t *)L_4, /*hidden argument*/NULL);
goto IL_0029;
} // end catch (depth: 1)
IL_0029:
{
int32_t L_5 = (( int32_t (*) (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_5, (int32_t)1));
}
}
// System.Void System.Collections.Generic.List`1<System.UInt32>::AddRange(System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_AddRange_m089D3A13A1DB166B5DD07FB4166C0481E48E4768_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
RuntimeObject* L_1 = ___collection0;
(( void (*) (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14)->methodPointer)((List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *)__this, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.UInt32>::Clear()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Clear_mD76F662511265583B63BBF30BEFF0FBE73FC1AB7_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) <= ((int32_t)0)))
{
goto IL_0022;
}
}
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_1 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
int32_t L_2 = (int32_t)__this->get__size_2();
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/NULL);
__this->set__size_2(0);
}
IL_0022:
{
int32_t L_3 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<System.UInt32>::Contains(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_Contains_m2597E901AF8F8B5D3BC9F29A6BDF3765066AE07C_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, uint32_t ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
EqualityComparer_1_tDDD15C1EE67655D8910B42D856F52279F5E62114 * V_1 = NULL;
int32_t V_2 = 0;
{
goto IL_0030;
}
{
V_0 = (int32_t)0;
goto IL_0025;
}
IL_000c:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_1 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
int32_t L_2 = V_0;
int32_t L_3 = L_2;
uint32_t L_4 = (L_1)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_3));
goto IL_0021;
}
{
return (bool)1;
}
IL_0021:
{
int32_t L_5 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1));
}
IL_0025:
{
int32_t L_6 = V_0;
int32_t L_7 = (int32_t)__this->get__size_2();
if ((((int32_t)L_6) < ((int32_t)L_7)))
{
goto IL_000c;
}
}
{
return (bool)0;
}
IL_0030:
{
EqualityComparer_1_tDDD15C1EE67655D8910B42D856F52279F5E62114 * L_8 = (( EqualityComparer_1_tDDD15C1EE67655D8910B42D856F52279F5E62114 * (*) (const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)(/*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
V_1 = (EqualityComparer_1_tDDD15C1EE67655D8910B42D856F52279F5E62114 *)L_8;
V_2 = (int32_t)0;
goto IL_0055;
}
IL_003a:
{
EqualityComparer_1_tDDD15C1EE67655D8910B42D856F52279F5E62114 * L_9 = V_1;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_10 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
int32_t L_11 = V_2;
int32_t L_12 = L_11;
uint32_t L_13 = (L_10)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_12));
uint32_t L_14 = ___item0;
bool L_15 = VirtFuncInvoker2< bool, uint32_t, uint32_t >::Invoke(8 /* System.Boolean System.Collections.Generic.EqualityComparer`1<System.UInt32>::Equals(T,T) */, (EqualityComparer_1_tDDD15C1EE67655D8910B42D856F52279F5E62114 *)L_9, (uint32_t)L_13, (uint32_t)L_14);
if (!L_15)
{
goto IL_0051;
}
}
{
return (bool)1;
}
IL_0051:
{
int32_t L_16 = V_2;
V_2 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1));
}
IL_0055:
{
int32_t L_17 = V_2;
int32_t L_18 = (int32_t)__this->get__size_2();
if ((((int32_t)L_17) < ((int32_t)L_18)))
{
goto IL_003a;
}
}
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<System.UInt32>::System.Collections.IList.Contains(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_System_Collections_IList_Contains_m13FB712B691F95052D734C2E36B55AA4963EF948_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
bool L_3 = (( bool (*) (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *, uint32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *)__this, (uint32_t)((*(uint32_t*)((uint32_t*)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
return L_3;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<System.UInt32>::CopyTo(T[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_CopyTo_m46E5C577838EB4A95B493F6EF11D59A8AF34E26D_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* ___array0, const RuntimeMethod* method)
{
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_0 = ___array0;
(( void (*) (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *, UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20)->methodPointer)((List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *)__this, (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)L_0, (int32_t)0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.UInt32>::System.Collections.ICollection.CopyTo(System.Array,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_ICollection_CopyTo_m8F7D6ABC3DAB079837B362D8DC371CF54785E5AF_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, RuntimeArray * ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_ICollection_CopyTo_m8F7D6ABC3DAB079837B362D8DC371CF54785E5AF_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeArray * L_0 = ___array0;
if (!L_0)
{
goto IL_0012;
}
}
{
RuntimeArray * L_1 = ___array0;
int32_t L_2 = Array_get_Rank_m38145B59D67D75F9896A3F8CDA9B966641AE99E1((RuntimeArray *)L_1, /*hidden argument*/NULL);
if ((((int32_t)L_2) == ((int32_t)1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)7, /*hidden argument*/NULL);
}
IL_0012:
{
}
IL_0013:
try
{ // begin try (depth: 1)
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_3 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
RuntimeArray * L_4 = ___array0;
int32_t L_5 = ___arrayIndex1;
int32_t L_6 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_3, (int32_t)0, (RuntimeArray *)L_4, (int32_t)L_5, (int32_t)L_6, /*hidden argument*/NULL);
goto IL_0033;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (ArrayTypeMismatchException_tE34C1032B089C37399200997F079C640D23D9499_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0029;
throw e;
}
CATCH_0029:
{ // begin catch(System.ArrayTypeMismatchException)
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)18), /*hidden argument*/NULL);
goto IL_0033;
} // end catch (depth: 1)
IL_0033:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<System.UInt32>::CopyTo(System.Int32,T[],System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_CopyTo_m4095EDA3FE999F98892B5919BD893FC986A41584_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, int32_t ___index0, UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* ___array1, int32_t ___arrayIndex2, int32_t ___count3, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
int32_t L_1 = ___index0;
int32_t L_2 = ___count3;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_0, (int32_t)L_1))) >= ((int32_t)L_2)))
{
goto IL_0013;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_0013:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_3 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
int32_t L_4 = ___index0;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_5 = ___array1;
int32_t L_6 = ___arrayIndex2;
int32_t L_7 = ___count3;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_3, (int32_t)L_4, (RuntimeArray *)(RuntimeArray *)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<System.UInt32>::CopyTo(T[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_CopyTo_mE16508FD7FF5F0FC3E9720BC6DF8529E481036FA_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_0 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_1 = ___array0;
int32_t L_2 = ___arrayIndex1;
int32_t L_3 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_0, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)L_2, (int32_t)L_3, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<System.UInt32>::EnsureCapacity(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_EnsureCapacity_m8F372720EC274C52B8409CC12DDEE2ECE25E8096_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, int32_t ___min0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t G_B4_0 = 0;
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_0 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
int32_t L_1 = ___min0;
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length))))) >= ((int32_t)L_1)))
{
goto IL_003d;
}
}
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_2 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
if (!(((RuntimeArray*)L_2)->max_length))
{
goto IL_0020;
}
}
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_3 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
G_B4_0 = ((int32_t)il2cpp_codegen_multiply((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length)))), (int32_t)2));
goto IL_0021;
}
IL_0020:
{
G_B4_0 = 4;
}
IL_0021:
{
V_0 = (int32_t)G_B4_0;
int32_t L_4 = V_0;
if ((!(((uint32_t)L_4) > ((uint32_t)((int32_t)2146435071)))))
{
goto IL_0030;
}
}
{
V_0 = (int32_t)((int32_t)2146435071);
}
IL_0030:
{
int32_t L_5 = V_0;
int32_t L_6 = ___min0;
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0036;
}
}
{
int32_t L_7 = ___min0;
V_0 = (int32_t)L_7;
}
IL_0036:
{
int32_t L_8 = V_0;
(( void (*) (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 21)->methodPointer)((List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *)__this, (int32_t)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 21));
}
IL_003d:
{
return;
}
}
// T System.Collections.Generic.List`1<System.UInt32>::Find(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t List_1_Find_mD1CEBE10A4F1072BD723525841BCAAD13DF7F07D_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, Predicate_1_t3583426FF9E6498ABD95E96A9738B5B9E127CD81 * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
uint32_t V_1 = 0;
{
Predicate_1_t3583426FF9E6498ABD95E96A9738B5B9E127CD81 * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0032;
}
IL_000d:
{
Predicate_1_t3583426FF9E6498ABD95E96A9738B5B9E127CD81 * L_1 = ___match0;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_2 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
int32_t L_3 = V_0;
int32_t L_4 = L_3;
uint32_t L_5 = (L_2)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_4));
bool L_6 = (( bool (*) (Predicate_1_t3583426FF9E6498ABD95E96A9738B5B9E127CD81 *, uint32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t3583426FF9E6498ABD95E96A9738B5B9E127CD81 *)L_1, (uint32_t)L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_6)
{
goto IL_002e;
}
}
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_7 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
int32_t L_8 = V_0;
int32_t L_9 = L_8;
uint32_t L_10 = (L_7)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_9));
return L_10;
}
IL_002e:
{
int32_t L_11 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)1));
}
IL_0032:
{
int32_t L_12 = V_0;
int32_t L_13 = (int32_t)__this->get__size_2();
if ((((int32_t)L_12) < ((int32_t)L_13)))
{
goto IL_000d;
}
}
{
il2cpp_codegen_initobj((&V_1), sizeof(uint32_t));
uint32_t L_14 = V_1;
return L_14;
}
}
// System.Int32 System.Collections.Generic.List`1<System.UInt32>::FindIndex(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_FindIndex_m24C51C06AF91318D31BD06EB22CD79E7B6615038_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, Predicate_1_t3583426FF9E6498ABD95E96A9738B5B9E127CD81 * ___match0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
Predicate_1_t3583426FF9E6498ABD95E96A9738B5B9E127CD81 * L_1 = ___match0;
int32_t L_2 = (( int32_t (*) (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *, int32_t, int32_t, Predicate_1_t3583426FF9E6498ABD95E96A9738B5B9E127CD81 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23)->methodPointer)((List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *)__this, (int32_t)0, (int32_t)L_0, (Predicate_1_t3583426FF9E6498ABD95E96A9738B5B9E127CD81 *)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23));
return L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<System.UInt32>::FindIndex(System.Int32,System.Int32,System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_FindIndex_m3432E382F6BC07736992586915BC0140832D4599_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, int32_t ___startIndex0, int32_t ___count1, Predicate_1_t3583426FF9E6498ABD95E96A9738B5B9E127CD81 * ___match2, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
int32_t L_0 = ___startIndex0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) > ((uint32_t)L_1))))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)14), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___count1;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0021;
}
}
{
int32_t L_3 = ___startIndex0;
int32_t L_4 = (int32_t)__this->get__size_2();
int32_t L_5 = ___count1;
if ((((int32_t)L_3) <= ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_4, (int32_t)L_5)))))
{
goto IL_002a;
}
}
IL_0021:
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)((int32_t)25), /*hidden argument*/NULL);
}
IL_002a:
{
Predicate_1_t3583426FF9E6498ABD95E96A9738B5B9E127CD81 * L_6 = ___match2;
if (L_6)
{
goto IL_0033;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0033:
{
int32_t L_7 = ___startIndex0;
int32_t L_8 = ___count1;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_7, (int32_t)L_8));
int32_t L_9 = ___startIndex0;
V_1 = (int32_t)L_9;
goto IL_0055;
}
IL_003b:
{
Predicate_1_t3583426FF9E6498ABD95E96A9738B5B9E127CD81 * L_10 = ___match2;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_11 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
int32_t L_12 = V_1;
int32_t L_13 = L_12;
uint32_t L_14 = (L_11)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_13));
bool L_15 = (( bool (*) (Predicate_1_t3583426FF9E6498ABD95E96A9738B5B9E127CD81 *, uint32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t3583426FF9E6498ABD95E96A9738B5B9E127CD81 *)L_10, (uint32_t)L_14, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_15)
{
goto IL_0051;
}
}
{
int32_t L_16 = V_1;
return L_16;
}
IL_0051:
{
int32_t L_17 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1));
}
IL_0055:
{
int32_t L_18 = V_1;
int32_t L_19 = V_0;
if ((((int32_t)L_18) < ((int32_t)L_19)))
{
goto IL_003b;
}
}
{
return (-1);
}
}
// System.Collections.Generic.List`1_Enumerator<T> System.Collections.Generic.List`1<System.UInt32>::GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Enumerator_t6C6061565EA2787387759C1CA5549E561A4FABBC List_1_GetEnumerator_mF1046A929880CD843749AD69C53C87C6D4F0A892_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, const RuntimeMethod* method)
{
{
Enumerator_t6C6061565EA2787387759C1CA5549E561A4FABBC L_0;
memset((&L_0), 0, sizeof(L_0));
Enumerator__ctor_m92014838C3F5A4883E57027C11D089033AA4F1E3((&L_0), (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
return L_0;
}
}
// System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.List`1<System.UInt32>::System.Collections.Generic.IEnumerable<T>.GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* List_1_System_Collections_Generic_IEnumerableU3CTU3E_GetEnumerator_m6D49EEC0E0DA0C315273872FEE82BEC310AFB258_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, const RuntimeMethod* method)
{
{
Enumerator_t6C6061565EA2787387759C1CA5549E561A4FABBC L_0;
memset((&L_0), 0, sizeof(L_0));
Enumerator__ctor_m92014838C3F5A4883E57027C11D089033AA4F1E3((&L_0), (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
Enumerator_t6C6061565EA2787387759C1CA5549E561A4FABBC L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 24), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Collections.IEnumerator System.Collections.Generic.List`1<System.UInt32>::System.Collections.IEnumerable.GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* List_1_System_Collections_IEnumerable_GetEnumerator_m3E7AE3A63A9CEBCEEFDC51E9FEB64E588ADDF5EA_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, const RuntimeMethod* method)
{
{
Enumerator_t6C6061565EA2787387759C1CA5549E561A4FABBC L_0;
memset((&L_0), 0, sizeof(L_0));
Enumerator__ctor_m92014838C3F5A4883E57027C11D089033AA4F1E3((&L_0), (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
Enumerator_t6C6061565EA2787387759C1CA5549E561A4FABBC L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 24), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<System.UInt32>::IndexOf(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_IndexOf_m2FDFA355551B58201B79FBAB5FADBF3440019AE5_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, uint32_t ___item0, const RuntimeMethod* method)
{
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_0 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
uint32_t L_1 = ___item0;
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = (( int32_t (*) (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*, uint32_t, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)L_0, (uint32_t)L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
return L_3;
}
}
// System.Int32 System.Collections.Generic.List`1<System.UInt32>::System.Collections.IList.IndexOf(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_System_Collections_IList_IndexOf_mCE1ED43D84E0A9259D4A2300D3B4F40AAD04FB68_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
int32_t L_3 = (( int32_t (*) (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *, uint32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *)__this, (uint32_t)((*(uint32_t*)((uint32_t*)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
return L_3;
}
IL_0015:
{
return (-1);
}
}
// System.Void System.Collections.Generic.List`1<System.UInt32>::Insert(System.Int32,T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Insert_m9C899417FA831F5AA5281BF62DCC3E81864828C5_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, int32_t ___index0, uint32_t ___item1, 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_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)((int32_t)27), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = (int32_t)__this->get__size_2();
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_3 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
if ((!(((uint32_t)L_2) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length))))))))
{
goto IL_0030;
}
}
{
int32_t L_4 = (int32_t)__this->get__size_2();
(( void (*) (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_0030:
{
int32_t L_5 = ___index0;
int32_t L_6 = (int32_t)__this->get__size_2();
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0056;
}
}
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_7 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
int32_t L_8 = ___index0;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_9 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
int32_t L_12 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (RuntimeArray *)(RuntimeArray *)L_9, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_11, (int32_t)L_12)), /*hidden argument*/NULL);
}
IL_0056:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_13 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
int32_t L_14 = ___index0;
uint32_t L_15 = ___item1;
(L_13)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_14), (uint32_t)L_15);
int32_t L_16 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1)));
int32_t L_17 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.UInt32>::System.Collections.IList.Insert(System.Int32,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_IList_Insert_mAE424C005387B679A05955AAECE7D8E652D8FE2F_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, int32_t ___index0, RuntimeObject * ___item1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Insert_mAE424C005387B679A05955AAECE7D8E652D8FE2F_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeObject * L_0 = ___item1;
(( void (*) (RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___item1;
(( void (*) (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *, int32_t, uint32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *)__this, (int32_t)L_1, (uint32_t)((*(uint32_t*)((uint32_t*)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___item1;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6((RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F((RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<System.UInt32>::InsertRange(System.Int32,System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_InsertRange_m9B11750E70D4AC910182F5F184D2C2314D3E0C27_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, int32_t ___index0, RuntimeObject* ___collection1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_InsertRange_m9B11750E70D4AC910182F5F184D2C2314D3E0C27_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
RuntimeObject* V_2 = 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);
{
RuntimeObject* L_0 = ___collection1;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)6, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = ___index0;
int32_t L_2 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_1) > ((uint32_t)L_2))))
{
goto IL_001b;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_001b:
{
RuntimeObject* L_3 = ___collection1;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_3, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_4 = V_0;
if (!L_4)
{
goto IL_00c0;
}
}
{
RuntimeObject* L_5 = V_0;
int32_t L_6 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<System.UInt32>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_5);
V_1 = (int32_t)L_6;
int32_t L_7 = V_1;
if ((((int32_t)L_7) <= ((int32_t)0)))
{
goto IL_00ef;
}
}
{
int32_t L_8 = (int32_t)__this->get__size_2();
int32_t L_9 = V_1;
(( void (*) (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)L_9)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) >= ((int32_t)L_11)))
{
goto IL_006a;
}
}
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_12 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
int32_t L_13 = ___index0;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_14 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
int32_t L_15 = ___index0;
int32_t L_16 = V_1;
int32_t L_17 = (int32_t)__this->get__size_2();
int32_t L_18 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_12, (int32_t)L_13, (RuntimeArray *)(RuntimeArray *)L_14, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_15, (int32_t)L_16)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_17, (int32_t)L_18)), /*hidden argument*/NULL);
}
IL_006a:
{
RuntimeObject* L_19 = V_0;
if ((!(((RuntimeObject*)(List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *)__this) == ((RuntimeObject*)(RuntimeObject*)L_19))))
{
goto IL_00a3;
}
}
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_20 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_21 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
int32_t L_22 = ___index0;
int32_t L_23 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_20, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_21, (int32_t)L_22, (int32_t)L_23, /*hidden argument*/NULL);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_24 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
int32_t L_25 = ___index0;
int32_t L_26 = V_1;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_27 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
int32_t L_28 = ___index0;
int32_t L_29 = (int32_t)__this->get__size_2();
int32_t L_30 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_24, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_25, (int32_t)L_26)), (RuntimeArray *)(RuntimeArray *)L_27, (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_28, (int32_t)2)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_29, (int32_t)L_30)), /*hidden argument*/NULL);
goto IL_00b0;
}
IL_00a3:
{
RuntimeObject* L_31 = V_0;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_32 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
int32_t L_33 = ___index0;
InterfaceActionInvoker2< UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<System.UInt32>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_31, (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)L_32, (int32_t)L_33);
}
IL_00b0:
{
int32_t L_34 = (int32_t)__this->get__size_2();
int32_t L_35 = V_1;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_34, (int32_t)L_35)));
goto IL_00ef;
}
IL_00c0:
{
RuntimeObject* L_36 = ___collection1;
RuntimeObject* L_37 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<System.UInt32>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_36);
V_2 = (RuntimeObject*)L_37;
}
IL_00c7:
try
{ // begin try (depth: 1)
{
goto IL_00db;
}
IL_00c9:
{
int32_t L_38 = ___index0;
int32_t L_39 = (int32_t)L_38;
___index0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_39, (int32_t)1));
RuntimeObject* L_40 = V_2;
uint32_t L_41 = InterfaceFuncInvoker0< uint32_t >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<System.UInt32>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_40);
(( void (*) (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *, int32_t, uint32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *)__this, (int32_t)L_39, (uint32_t)L_41, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_00db:
{
RuntimeObject* L_42 = V_2;
bool L_43 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, (RuntimeObject*)L_42);
if (L_43)
{
goto IL_00c9;
}
}
IL_00e3:
{
IL2CPP_LEAVE(0xEF, FINALLY_00e5);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00e5;
}
FINALLY_00e5:
{ // begin finally (depth: 1)
{
RuntimeObject* L_44 = V_2;
if (!L_44)
{
goto IL_00ee;
}
}
IL_00e8:
{
RuntimeObject* L_45 = V_2;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, (RuntimeObject*)L_45);
}
IL_00ee:
{
IL2CPP_END_FINALLY(229)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(229)
{
IL2CPP_JUMP_TBL(0xEF, IL_00ef)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00ef:
{
int32_t L_46 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_46, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<System.UInt32>::Remove(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_Remove_mBF6ECC0BA31E447300222D7C995F3C8831F29294_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, uint32_t ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
uint32_t L_0 = ___item0;
int32_t L_1 = (( int32_t (*) (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *, uint32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *)__this, (uint32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
V_0 = (int32_t)L_1;
int32_t L_2 = V_0;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0015;
}
}
{
int32_t L_3 = V_0;
(( void (*) (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29)->methodPointer)((List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *)__this, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29));
return (bool)1;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<System.UInt32>::System.Collections.IList.Remove(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_IList_Remove_m3B7B4AD80A1B6BA74BA3D04C49E3262DACC7CEF5_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
(( bool (*) (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *, uint32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30)->methodPointer)((List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *)__this, (uint32_t)((*(uint32_t*)((uint32_t*)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
}
IL_0015:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<System.UInt32>::RemoveAll(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_RemoveAll_m69808234680A5291213084210DC58BDAC2F63E9E_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, Predicate_1_t3583426FF9E6498ABD95E96A9738B5B9E127CD81 * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
Predicate_1_t3583426FF9E6498ABD95E96A9738B5B9E127CD81 * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0011;
}
IL_000d:
{
int32_t L_1 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_1, (int32_t)1));
}
IL_0011:
{
int32_t L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__size_2();
if ((((int32_t)L_2) >= ((int32_t)L_3)))
{
goto IL_002e;
}
}
{
Predicate_1_t3583426FF9E6498ABD95E96A9738B5B9E127CD81 * L_4 = ___match0;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_5 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
int32_t L_6 = V_0;
int32_t L_7 = L_6;
uint32_t L_8 = (L_5)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_7));
bool L_9 = (( bool (*) (Predicate_1_t3583426FF9E6498ABD95E96A9738B5B9E127CD81 *, uint32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t3583426FF9E6498ABD95E96A9738B5B9E127CD81 *)L_4, (uint32_t)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_9)
{
goto IL_000d;
}
}
IL_002e:
{
int32_t L_10 = V_0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) < ((int32_t)L_11)))
{
goto IL_0039;
}
}
{
return 0;
}
IL_0039:
{
int32_t L_12 = V_0;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1));
goto IL_0089;
}
IL_003f:
{
int32_t L_13 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_13, (int32_t)1));
}
IL_0043:
{
int32_t L_14 = V_1;
int32_t L_15 = (int32_t)__this->get__size_2();
if ((((int32_t)L_14) >= ((int32_t)L_15)))
{
goto IL_0060;
}
}
{
Predicate_1_t3583426FF9E6498ABD95E96A9738B5B9E127CD81 * L_16 = ___match0;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_17 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
int32_t L_18 = V_1;
int32_t L_19 = L_18;
uint32_t L_20 = (L_17)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_19));
bool L_21 = (( bool (*) (Predicate_1_t3583426FF9E6498ABD95E96A9738B5B9E127CD81 *, uint32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t3583426FF9E6498ABD95E96A9738B5B9E127CD81 *)L_16, (uint32_t)L_20, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (L_21)
{
goto IL_003f;
}
}
IL_0060:
{
int32_t L_22 = V_1;
int32_t L_23 = (int32_t)__this->get__size_2();
if ((((int32_t)L_22) >= ((int32_t)L_23)))
{
goto IL_0089;
}
}
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_24 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
int32_t L_25 = V_0;
int32_t L_26 = (int32_t)L_25;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_26, (int32_t)1));
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_27 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
int32_t L_28 = V_1;
int32_t L_29 = (int32_t)L_28;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_29, (int32_t)1));
int32_t L_30 = L_29;
uint32_t L_31 = (L_27)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_30));
(L_24)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_26), (uint32_t)L_31);
}
IL_0089:
{
int32_t L_32 = V_1;
int32_t L_33 = (int32_t)__this->get__size_2();
if ((((int32_t)L_32) < ((int32_t)L_33)))
{
goto IL_0043;
}
}
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_34 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
int32_t L_35 = V_0;
int32_t L_36 = (int32_t)__this->get__size_2();
int32_t L_37 = V_0;
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_34, (int32_t)L_35, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_36, (int32_t)L_37)), /*hidden argument*/NULL);
int32_t L_38 = (int32_t)__this->get__size_2();
int32_t L_39 = V_0;
int32_t L_40 = V_0;
__this->set__size_2(L_40);
int32_t L_41 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_41, (int32_t)1)));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_38, (int32_t)L_39));
}
}
// System.Void System.Collections.Generic.List`1<System.UInt32>::RemoveAt(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_RemoveAt_m8369A640D8A94C4855076EA09B71FB03E3E2CB7D_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, int32_t ___index0, const RuntimeMethod* method)
{
uint32_t V_0 = 0;
{
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:
{
int32_t L_2 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)1)));
int32_t L_3 = ___index0;
int32_t L_4 = (int32_t)__this->get__size_2();
if ((((int32_t)L_3) >= ((int32_t)L_4)))
{
goto IL_0042;
}
}
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_5 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
int32_t L_6 = ___index0;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_7 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
int32_t L_10 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_5, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)1)), (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)L_10)), /*hidden argument*/NULL);
}
IL_0042:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_11 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
int32_t L_12 = (int32_t)__this->get__size_2();
il2cpp_codegen_initobj((&V_0), sizeof(uint32_t));
uint32_t L_13 = V_0;
(L_11)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_12), (uint32_t)L_13);
int32_t L_14 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_14, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.UInt32>::RemoveRange(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_RemoveRange_m6C1FFBEA8EFD7CE8B866DFEF9B0EF09AD11BB6AA_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
int32_t L_5 = ___count1;
if ((((int32_t)L_5) <= ((int32_t)0)))
{
goto IL_0082;
}
}
{
int32_t L_6 = (int32_t)__this->get__size_2();
int32_t L_7 = ___count1;
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)L_7)));
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
if ((((int32_t)L_8) >= ((int32_t)L_9)))
{
goto IL_0062;
}
}
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_10 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
int32_t L_11 = ___index0;
int32_t L_12 = ___count1;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_13 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
int32_t L_14 = ___index0;
int32_t L_15 = (int32_t)__this->get__size_2();
int32_t L_16 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_10, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)L_12)), (RuntimeArray *)(RuntimeArray *)L_13, (int32_t)L_14, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_15, (int32_t)L_16)), /*hidden argument*/NULL);
}
IL_0062:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_17 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
int32_t L_18 = (int32_t)__this->get__size_2();
int32_t L_19 = ___count1;
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_17, (int32_t)L_18, (int32_t)L_19, /*hidden argument*/NULL);
int32_t L_20 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_20, (int32_t)1)));
}
IL_0082:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<System.UInt32>::Reverse()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Reverse_m7C291BEACE235E68234227C5B83167252F768811_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (( int32_t (*) (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
(( void (*) (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31)->methodPointer)((List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *)__this, (int32_t)0, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.UInt32>::Reverse(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Reverse_m8B44DDDBAA519499B14A32BAB5B0F2419C06A9EB_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_5 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
(( void (*) (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32)->methodPointer)((UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.UInt32>::Sort(System.Collections.Generic.IComparer`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_mC3DBECCFAA1D259E56146292BE04AC830A7CBD66_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, RuntimeObject* ___comparer0, const RuntimeMethod* method)
{
{
int32_t L_0 = (( int32_t (*) (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
RuntimeObject* L_1 = ___comparer0;
(( void (*) (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E *)__this, (int32_t)0, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.UInt32>::Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_mE2C77DC348DF920ABC29B22AA63C02066F889A98_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, int32_t ___index0, int32_t ___count1, RuntimeObject* ___comparer2, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_5 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
RuntimeObject* L_8 = ___comparer2;
(( void (*) (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)L_5, (int32_t)L_6, (int32_t)L_7, (RuntimeObject*)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
int32_t L_9 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<System.UInt32>::Sort(System.Comparison`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_m9688F6861B49C56E21C1A40F32E50968F67F83B0_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, Comparison_1_t98CC2F214ACDF8A5B494DC5FE8F950970933D162 * ___comparison0, const RuntimeMethod* method)
{
{
Comparison_1_t98CC2F214ACDF8A5B494DC5FE8F950970933D162 * L_0 = ___comparison0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_1) <= ((int32_t)0)))
{
goto IL_0025;
}
}
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_2 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
int32_t L_3 = (int32_t)__this->get__size_2();
Comparison_1_t98CC2F214ACDF8A5B494DC5FE8F950970933D162 * L_4 = ___comparison0;
(( void (*) (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*, int32_t, int32_t, Comparison_1_t98CC2F214ACDF8A5B494DC5FE8F950970933D162 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35)->methodPointer)((UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)L_2, (int32_t)0, (int32_t)L_3, (Comparison_1_t98CC2F214ACDF8A5B494DC5FE8F950970933D162 *)L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35));
}
IL_0025:
{
return;
}
}
// T[] System.Collections.Generic.List`1<System.UInt32>::ToArray()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* List_1_ToArray_m01E09A4C0788DB3AA76E8FAB23A9804E99BCE8D4_gshared (List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E * __this, const RuntimeMethod* method)
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* V_0 = NULL;
{
int32_t L_0 = (int32_t)__this->get__size_2();
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_1 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)(UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_0);
V_0 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)L_1;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_2 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)__this->get__items_1();
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_3 = V_0;
int32_t L_4 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_2, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_3, (int32_t)0, (int32_t)L_4, /*hidden argument*/NULL);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_5 = V_0;
return L_5;
}
}
// System.Void System.Collections.Generic.List`1<System.UInt32>::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__cctor_m5BF8D90BF290A474A6F69B927C0FA79ECD3925E0_gshared (const RuntimeMethod* method)
{
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_0 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)(UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)SZArrayNew(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 1), (uint32_t)0);
((List_1_t49B315A213A231954A3718D77EE3A2AFF443C38E_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set__emptyArray_5(L_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.Void System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_mFF630C2626054490BF02EDF22EE076C1596CC4AC_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0((RuntimeObject *)__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_0 = ((List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_0);
return;
}
}
// System.Void System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m78308C1B7D5298DAAAD575ED661C1F9DEA676A49_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, int32_t ___capacity0, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0((RuntimeObject *)__this, /*hidden argument*/NULL);
int32_t L_0 = ___capacity0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)12), (int32_t)4, /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_1 = ___capacity0;
if (L_1)
{
goto IL_0021;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_2 = ((List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_2);
return;
}
IL_0021:
{
int32_t L_3 = ___capacity0;
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_4 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)(SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_3);
__this->set__items_1(L_4);
return;
}
}
// System.Void System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::.ctor(System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_mA3C6566919372E769889B985ED50555533DEA2DF_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1__ctor_mA3C6566919372E769889B985ED50555533DEA2DF_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
RuntimeObject* V_2 = 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);
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0((RuntimeObject *)__this, /*hidden argument*/NULL);
RuntimeObject* L_0 = ___collection0;
if (L_0)
{
goto IL_000f;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)6, /*hidden argument*/NULL);
}
IL_000f:
{
RuntimeObject* L_1 = ___collection0;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_2 = V_0;
if (!L_2)
{
goto IL_0050;
}
}
{
RuntimeObject* L_3 = V_0;
int32_t L_4 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<TMPro.SpriteAssetUtilities.TexturePacker/SpriteData>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_3);
V_1 = (int32_t)L_4;
int32_t L_5 = V_1;
if (L_5)
{
goto IL_002f;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_6 = ((List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_6);
return;
}
IL_002f:
{
int32_t L_7 = V_1;
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_8 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)(SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_7);
__this->set__items_1(L_8);
RuntimeObject* L_9 = V_0;
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_10 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
InterfaceActionInvoker2< SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<TMPro.SpriteAssetUtilities.TexturePacker/SpriteData>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_9, (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)L_10, (int32_t)0);
int32_t L_11 = V_1;
__this->set__size_2(L_11);
return;
}
IL_0050:
{
__this->set__size_2(0);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_12 = ((List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_12);
RuntimeObject* L_13 = ___collection0;
RuntimeObject* L_14 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<TMPro.SpriteAssetUtilities.TexturePacker/SpriteData>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_13);
V_2 = (RuntimeObject*)L_14;
}
IL_0069:
try
{ // begin try (depth: 1)
{
goto IL_0077;
}
IL_006b:
{
RuntimeObject* L_15 = V_2;
SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 L_16 = InterfaceFuncInvoker0< SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<TMPro.SpriteAssetUtilities.TexturePacker/SpriteData>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_15);
(( void (*) (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *, SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *)__this, (SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 )L_16, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
}
IL_0077:
{
RuntimeObject* L_17 = V_2;
bool L_18 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, (RuntimeObject*)L_17);
if (L_18)
{
goto IL_006b;
}
}
IL_007f:
{
IL2CPP_LEAVE(0x8B, FINALLY_0081);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0081;
}
FINALLY_0081:
{ // begin finally (depth: 1)
{
RuntimeObject* L_19 = V_2;
if (!L_19)
{
goto IL_008a;
}
}
IL_0084:
{
RuntimeObject* L_20 = V_2;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, (RuntimeObject*)L_20);
}
IL_008a:
{
IL2CPP_END_FINALLY(129)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(129)
{
IL2CPP_JUMP_TBL(0x8B, IL_008b)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_008b:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::get_Capacity()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_get_Capacity_m7B2A4479A1A96CF55D9734B8F0FDE39580F1D85B_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, const RuntimeMethod* method)
{
{
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_0 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
return (((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length))));
}
}
// System.Void System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::set_Capacity(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Capacity_m760C33CF380CA10B79ED1B55EF1FE37D2D8D4BFA_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, int32_t ___value0, const RuntimeMethod* method)
{
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* V_0 = NULL;
{
int32_t L_0 = ___value0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) >= ((int32_t)L_1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)15), (int32_t)((int32_t)21), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___value0;
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_3 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
if ((((int32_t)L_2) == ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length)))))))
{
goto IL_0058;
}
}
{
int32_t L_4 = ___value0;
if ((((int32_t)L_4) <= ((int32_t)0)))
{
goto IL_004d;
}
}
{
int32_t L_5 = ___value0;
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_6 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)(SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_5);
V_0 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)L_6;
int32_t L_7 = (int32_t)__this->get__size_2();
if ((((int32_t)L_7) <= ((int32_t)0)))
{
goto IL_0045;
}
}
{
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_8 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_9 = V_0;
int32_t L_10 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_8, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_9, (int32_t)0, (int32_t)L_10, /*hidden argument*/NULL);
}
IL_0045:
{
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_11 = V_0;
__this->set__items_1(L_11);
return;
}
IL_004d:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_12 = ((List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_12);
}
IL_0058:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::get_Count()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m0ACFF18B58DC5E910BA3B60BFDBD56FD9001A1C6_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
return L_0;
}
}
// System.Boolean System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::System.Collections.Generic.ICollection<T>.get_IsReadOnly()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_System_Collections_Generic_ICollectionU3CTU3E_get_IsReadOnly_m36841E21BD4BBA3356D452B5A8395A1AEFFE6361_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::System.Collections.IList.get_IsReadOnly()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_System_Collections_IList_get_IsReadOnly_m7D9721F57406C5331D01ABB33391671C0F70075B_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// T System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::get_Item(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 List_1_get_Item_m7F7C0D5459285932697CD1BD6592E81EABD4D1B8_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __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:
{
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_2 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
int32_t L_3 = ___index0;
SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 L_4 = IL2CPP_ARRAY_UNSAFE_LOAD((SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)L_2, (int32_t)L_3);
return L_4;
}
}
// System.Void System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::set_Item(System.Int32,T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Item_m7FB3D48C2CCF3CFD8AF12B7EA66D5AE3B9F7AA26_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, int32_t ___index0, SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 ___value1, 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:
{
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_2 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
int32_t L_3 = ___index0;
SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 L_4 = ___value1;
(L_2)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_3), (SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 )L_4);
int32_t L_5 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::IsCompatibleObject(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_IsCompatibleObject_m3527C9FF4C453F55C89C2F094085B63020DC5573_gshared (RuntimeObject * ___value0, const RuntimeMethod* method)
{
SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 V_0;
memset((&V_0), 0, sizeof(V_0));
{
RuntimeObject * L_0 = ___value0;
if (((RuntimeObject *)IsInst((RuntimeObject*)L_0, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7))))
{
goto IL_001f;
}
}
{
RuntimeObject * L_1 = ___value0;
if (L_1)
{
goto IL_001d;
}
}
{
il2cpp_codegen_initobj((&V_0), sizeof(SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 ));
SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 L_2 = V_0;
SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 L_3 = L_2;
RuntimeObject * L_4 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7), &L_3);
return (bool)((((RuntimeObject*)(RuntimeObject *)L_4) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
}
IL_001d:
{
return (bool)0;
}
IL_001f:
{
return (bool)1;
}
}
// System.Object System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::System.Collections.IList.get_Item(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * List_1_System_Collections_IList_get_Item_mC8D5623576A82D6F14C2AF0EB298EB14B2265BC9_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 L_1 = (( SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 (*) (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8)->methodPointer)((List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *)__this, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 L_2 = L_1;
RuntimeObject * L_3 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7), &L_2);
return L_3;
}
}
// System.Void System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::System.Collections.IList.set_Item(System.Int32,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_IList_set_Item_mD4BC420054F913FB21058C11F081BC5F292324C0_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, int32_t ___index0, RuntimeObject * ___value1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_set_Item_mD4BC420054F913FB21058C11F081BC5F292324C0_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeObject * L_0 = ___value1;
(( void (*) (RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((RuntimeObject *)L_0, (int32_t)((int32_t)15), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___value1;
(( void (*) (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *, int32_t, SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10)->methodPointer)((List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *)__this, (int32_t)L_1, (SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 )((*(SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 *)((SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___value1;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6((RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F((RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::Add(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Add_m14EF9181005A71C5AA12B987B57488B3BCECF373_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = (int32_t)__this->get__size_2();
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_1 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
if ((!(((uint32_t)L_0) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length))))))))
{
goto IL_001e;
}
}
{
int32_t L_2 = (int32_t)__this->get__size_2();
(( void (*) (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_2, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_001e:
{
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_3 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
int32_t L_4 = (int32_t)__this->get__size_2();
V_0 = (int32_t)L_4;
int32_t L_5 = V_0;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
int32_t L_6 = V_0;
SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 L_7 = ___item0;
(L_3)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_6), (SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 )L_7);
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Int32 System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::System.Collections.IList.Add(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_System_Collections_IList_Add_m3A29ECD0301EFE2F398E4C44DF940F41DECB873C_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Add_m3A29ECD0301EFE2F398E4C44DF940F41DECB873C_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeObject * L_0 = ___item0;
(( void (*) (RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
RuntimeObject * L_1 = ___item0;
(( void (*) (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *, SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *)__this, (SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 )((*(SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 *)((SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 *)UnBox(L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
goto IL_0029;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0016;
throw e;
}
CATCH_0016:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_2 = ___item0;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_3 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_4 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6((RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D )L_3, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F((RuntimeObject *)L_2, (Type_t *)L_4, /*hidden argument*/NULL);
goto IL_0029;
} // end catch (depth: 1)
IL_0029:
{
int32_t L_5 = (( int32_t (*) (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_5, (int32_t)1));
}
}
// System.Void System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::AddRange(System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_AddRange_mCC11D84AF6B5F9E9086EA84EF82BFE6E654D09BC_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
RuntimeObject* L_1 = ___collection0;
(( void (*) (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14)->methodPointer)((List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *)__this, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14));
return;
}
}
// System.Void System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::Clear()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Clear_m11C1821094FA236E0BA73EC249F5973C09B0756E_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) <= ((int32_t)0)))
{
goto IL_0022;
}
}
{
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_1 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
int32_t L_2 = (int32_t)__this->get__size_2();
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/NULL);
__this->set__size_2(0);
}
IL_0022:
{
int32_t L_3 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::Contains(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_Contains_m51FDBD24605CEEA45D3C7899AD43D987E190AF06_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
EqualityComparer_1_t5AE428F5422000B69378E01CDEC66C25A5CCDC3C * V_1 = NULL;
int32_t V_2 = 0;
{
goto IL_0030;
}
{
V_0 = (int32_t)0;
goto IL_0025;
}
IL_000c:
{
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_1 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
int32_t L_2 = V_0;
int32_t L_3 = L_2;
SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 L_4 = (L_1)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_3));
goto IL_0021;
}
{
return (bool)1;
}
IL_0021:
{
int32_t L_5 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1));
}
IL_0025:
{
int32_t L_6 = V_0;
int32_t L_7 = (int32_t)__this->get__size_2();
if ((((int32_t)L_6) < ((int32_t)L_7)))
{
goto IL_000c;
}
}
{
return (bool)0;
}
IL_0030:
{
EqualityComparer_1_t5AE428F5422000B69378E01CDEC66C25A5CCDC3C * L_8 = (( EqualityComparer_1_t5AE428F5422000B69378E01CDEC66C25A5CCDC3C * (*) (const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)(/*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
V_1 = (EqualityComparer_1_t5AE428F5422000B69378E01CDEC66C25A5CCDC3C *)L_8;
V_2 = (int32_t)0;
goto IL_0055;
}
IL_003a:
{
EqualityComparer_1_t5AE428F5422000B69378E01CDEC66C25A5CCDC3C * L_9 = V_1;
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_10 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
int32_t L_11 = V_2;
int32_t L_12 = L_11;
SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 L_13 = (L_10)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_12));
SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 L_14 = ___item0;
bool L_15 = VirtFuncInvoker2< bool, SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 , SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 >::Invoke(8 /* System.Boolean System.Collections.Generic.EqualityComparer`1<TMPro.SpriteAssetUtilities.TexturePacker/SpriteData>::Equals(T,T) */, (EqualityComparer_1_t5AE428F5422000B69378E01CDEC66C25A5CCDC3C *)L_9, (SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 )L_13, (SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 )L_14);
if (!L_15)
{
goto IL_0051;
}
}
{
return (bool)1;
}
IL_0051:
{
int32_t L_16 = V_2;
V_2 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1));
}
IL_0055:
{
int32_t L_17 = V_2;
int32_t L_18 = (int32_t)__this->get__size_2();
if ((((int32_t)L_17) < ((int32_t)L_18)))
{
goto IL_003a;
}
}
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::System.Collections.IList.Contains(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_System_Collections_IList_Contains_mC69A7363F45CB519DFDDF741EDE6674DD534F573_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
bool L_3 = (( bool (*) (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *, SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *)__this, (SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 )((*(SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 *)((SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
return L_3;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::CopyTo(T[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_CopyTo_mC2786BF15EB583821DD04A047BDFAFC146B5ED3E_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* ___array0, const RuntimeMethod* method)
{
{
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_0 = ___array0;
(( void (*) (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *, SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20)->methodPointer)((List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *)__this, (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)L_0, (int32_t)0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20));
return;
}
}
// System.Void System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::System.Collections.ICollection.CopyTo(System.Array,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_ICollection_CopyTo_mD6884FF06AA46F5745166F2DA909012831A61ED4_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, RuntimeArray * ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_ICollection_CopyTo_mD6884FF06AA46F5745166F2DA909012831A61ED4_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeArray * L_0 = ___array0;
if (!L_0)
{
goto IL_0012;
}
}
{
RuntimeArray * L_1 = ___array0;
int32_t L_2 = Array_get_Rank_m38145B59D67D75F9896A3F8CDA9B966641AE99E1((RuntimeArray *)L_1, /*hidden argument*/NULL);
if ((((int32_t)L_2) == ((int32_t)1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)7, /*hidden argument*/NULL);
}
IL_0012:
{
}
IL_0013:
try
{ // begin try (depth: 1)
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_3 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
RuntimeArray * L_4 = ___array0;
int32_t L_5 = ___arrayIndex1;
int32_t L_6 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_3, (int32_t)0, (RuntimeArray *)L_4, (int32_t)L_5, (int32_t)L_6, /*hidden argument*/NULL);
goto IL_0033;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (ArrayTypeMismatchException_tE34C1032B089C37399200997F079C640D23D9499_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0029;
throw e;
}
CATCH_0029:
{ // begin catch(System.ArrayTypeMismatchException)
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)18), /*hidden argument*/NULL);
goto IL_0033;
} // end catch (depth: 1)
IL_0033:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::CopyTo(System.Int32,T[],System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_CopyTo_mD665448C3EEB9DD70D776990448C61BF56B17FDF_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, int32_t ___index0, SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* ___array1, int32_t ___arrayIndex2, int32_t ___count3, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
int32_t L_1 = ___index0;
int32_t L_2 = ___count3;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_0, (int32_t)L_1))) >= ((int32_t)L_2)))
{
goto IL_0013;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_0013:
{
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_3 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
int32_t L_4 = ___index0;
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_5 = ___array1;
int32_t L_6 = ___arrayIndex2;
int32_t L_7 = ___count3;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_3, (int32_t)L_4, (RuntimeArray *)(RuntimeArray *)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::CopyTo(T[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_CopyTo_mF301909586C22EA828CA42F208127E0B2F2435D7_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
{
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_0 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_1 = ___array0;
int32_t L_2 = ___arrayIndex1;
int32_t L_3 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_0, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)L_2, (int32_t)L_3, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::EnsureCapacity(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_EnsureCapacity_m28DF4DF00EA2500F6E519162713741E5015EA4F9_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, int32_t ___min0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t G_B4_0 = 0;
{
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_0 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
int32_t L_1 = ___min0;
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length))))) >= ((int32_t)L_1)))
{
goto IL_003d;
}
}
{
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_2 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
if (!(((RuntimeArray*)L_2)->max_length))
{
goto IL_0020;
}
}
{
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_3 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
G_B4_0 = ((int32_t)il2cpp_codegen_multiply((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length)))), (int32_t)2));
goto IL_0021;
}
IL_0020:
{
G_B4_0 = 4;
}
IL_0021:
{
V_0 = (int32_t)G_B4_0;
int32_t L_4 = V_0;
if ((!(((uint32_t)L_4) > ((uint32_t)((int32_t)2146435071)))))
{
goto IL_0030;
}
}
{
V_0 = (int32_t)((int32_t)2146435071);
}
IL_0030:
{
int32_t L_5 = V_0;
int32_t L_6 = ___min0;
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0036;
}
}
{
int32_t L_7 = ___min0;
V_0 = (int32_t)L_7;
}
IL_0036:
{
int32_t L_8 = V_0;
(( void (*) (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 21)->methodPointer)((List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *)__this, (int32_t)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 21));
}
IL_003d:
{
return;
}
}
// T System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::Find(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 List_1_Find_mA36CBEE69B9F7CB9BF0D065D876B74D3BB66A02F_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, Predicate_1_t25A885269834E5D06A3E1557474B708E3430EB8B * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 V_1;
memset((&V_1), 0, sizeof(V_1));
{
Predicate_1_t25A885269834E5D06A3E1557474B708E3430EB8B * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0032;
}
IL_000d:
{
Predicate_1_t25A885269834E5D06A3E1557474B708E3430EB8B * L_1 = ___match0;
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_2 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
int32_t L_3 = V_0;
int32_t L_4 = L_3;
SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 L_5 = (L_2)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_4));
bool L_6 = (( bool (*) (Predicate_1_t25A885269834E5D06A3E1557474B708E3430EB8B *, SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t25A885269834E5D06A3E1557474B708E3430EB8B *)L_1, (SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 )L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_6)
{
goto IL_002e;
}
}
{
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_7 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
int32_t L_8 = V_0;
int32_t L_9 = L_8;
SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 L_10 = (L_7)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_9));
return L_10;
}
IL_002e:
{
int32_t L_11 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)1));
}
IL_0032:
{
int32_t L_12 = V_0;
int32_t L_13 = (int32_t)__this->get__size_2();
if ((((int32_t)L_12) < ((int32_t)L_13)))
{
goto IL_000d;
}
}
{
il2cpp_codegen_initobj((&V_1), sizeof(SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 ));
SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 L_14 = V_1;
return L_14;
}
}
// System.Int32 System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::FindIndex(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_FindIndex_mCB21C8B1E21D48885F15A446F97FC1F67DFF57F8_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, Predicate_1_t25A885269834E5D06A3E1557474B708E3430EB8B * ___match0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
Predicate_1_t25A885269834E5D06A3E1557474B708E3430EB8B * L_1 = ___match0;
int32_t L_2 = (( int32_t (*) (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *, int32_t, int32_t, Predicate_1_t25A885269834E5D06A3E1557474B708E3430EB8B *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23)->methodPointer)((List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *)__this, (int32_t)0, (int32_t)L_0, (Predicate_1_t25A885269834E5D06A3E1557474B708E3430EB8B *)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23));
return L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::FindIndex(System.Int32,System.Int32,System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_FindIndex_m28CCE6E7B95FD5FADC37955D22D99506BEB616F5_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, int32_t ___startIndex0, int32_t ___count1, Predicate_1_t25A885269834E5D06A3E1557474B708E3430EB8B * ___match2, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
int32_t L_0 = ___startIndex0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) > ((uint32_t)L_1))))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)14), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___count1;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0021;
}
}
{
int32_t L_3 = ___startIndex0;
int32_t L_4 = (int32_t)__this->get__size_2();
int32_t L_5 = ___count1;
if ((((int32_t)L_3) <= ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_4, (int32_t)L_5)))))
{
goto IL_002a;
}
}
IL_0021:
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)((int32_t)25), /*hidden argument*/NULL);
}
IL_002a:
{
Predicate_1_t25A885269834E5D06A3E1557474B708E3430EB8B * L_6 = ___match2;
if (L_6)
{
goto IL_0033;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0033:
{
int32_t L_7 = ___startIndex0;
int32_t L_8 = ___count1;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_7, (int32_t)L_8));
int32_t L_9 = ___startIndex0;
V_1 = (int32_t)L_9;
goto IL_0055;
}
IL_003b:
{
Predicate_1_t25A885269834E5D06A3E1557474B708E3430EB8B * L_10 = ___match2;
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_11 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
int32_t L_12 = V_1;
int32_t L_13 = L_12;
SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 L_14 = (L_11)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_13));
bool L_15 = (( bool (*) (Predicate_1_t25A885269834E5D06A3E1557474B708E3430EB8B *, SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t25A885269834E5D06A3E1557474B708E3430EB8B *)L_10, (SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 )L_14, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_15)
{
goto IL_0051;
}
}
{
int32_t L_16 = V_1;
return L_16;
}
IL_0051:
{
int32_t L_17 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1));
}
IL_0055:
{
int32_t L_18 = V_1;
int32_t L_19 = V_0;
if ((((int32_t)L_18) < ((int32_t)L_19)))
{
goto IL_003b;
}
}
{
return (-1);
}
}
// System.Collections.Generic.List`1_Enumerator<T> System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Enumerator_tB05134B77E5624086A3F85161AA2EE725C93D9EA List_1_GetEnumerator_m6A10AC112761A91724103EDDDD98159E4B21D3BF_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, const RuntimeMethod* method)
{
{
Enumerator_tB05134B77E5624086A3F85161AA2EE725C93D9EA L_0;
memset((&L_0), 0, sizeof(L_0));
Enumerator__ctor_m4F05B03A01D96C5C75B95F48880C15C5AF5986F4((&L_0), (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
return L_0;
}
}
// System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::System.Collections.Generic.IEnumerable<T>.GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* List_1_System_Collections_Generic_IEnumerableU3CTU3E_GetEnumerator_m61FDA73E7475B508124F6E98C911F93108B28346_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, const RuntimeMethod* method)
{
{
Enumerator_tB05134B77E5624086A3F85161AA2EE725C93D9EA L_0;
memset((&L_0), 0, sizeof(L_0));
Enumerator__ctor_m4F05B03A01D96C5C75B95F48880C15C5AF5986F4((&L_0), (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
Enumerator_tB05134B77E5624086A3F85161AA2EE725C93D9EA L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 24), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Collections.IEnumerator System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::System.Collections.IEnumerable.GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* List_1_System_Collections_IEnumerable_GetEnumerator_m2D2B34B1EFACE061F1C4BA4D599A07C598EA4D56_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, const RuntimeMethod* method)
{
{
Enumerator_tB05134B77E5624086A3F85161AA2EE725C93D9EA L_0;
memset((&L_0), 0, sizeof(L_0));
Enumerator__ctor_m4F05B03A01D96C5C75B95F48880C15C5AF5986F4((&L_0), (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
Enumerator_tB05134B77E5624086A3F85161AA2EE725C93D9EA L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 24), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::IndexOf(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_IndexOf_m9F797A6A3D9FF11BB414CA27105E3FA9D4D06B18_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 ___item0, const RuntimeMethod* method)
{
{
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_0 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 L_1 = ___item0;
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = (( int32_t (*) (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*, SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 , int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)L_0, (SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 )L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
return L_3;
}
}
// System.Int32 System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::System.Collections.IList.IndexOf(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_System_Collections_IList_IndexOf_m1AF45585A44616F61F3B4F6B36D7A16DE83A7175_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
int32_t L_3 = (( int32_t (*) (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *, SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *)__this, (SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 )((*(SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 *)((SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
return L_3;
}
IL_0015:
{
return (-1);
}
}
// System.Void System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::Insert(System.Int32,T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Insert_m3E0C544B0191EC94E708D09F4E984B77B0B319B6_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, int32_t ___index0, SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 ___item1, 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_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)((int32_t)27), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = (int32_t)__this->get__size_2();
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_3 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
if ((!(((uint32_t)L_2) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length))))))))
{
goto IL_0030;
}
}
{
int32_t L_4 = (int32_t)__this->get__size_2();
(( void (*) (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_0030:
{
int32_t L_5 = ___index0;
int32_t L_6 = (int32_t)__this->get__size_2();
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0056;
}
}
{
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_7 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
int32_t L_8 = ___index0;
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_9 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
int32_t L_12 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (RuntimeArray *)(RuntimeArray *)L_9, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_11, (int32_t)L_12)), /*hidden argument*/NULL);
}
IL_0056:
{
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_13 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
int32_t L_14 = ___index0;
SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 L_15 = ___item1;
(L_13)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_14), (SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 )L_15);
int32_t L_16 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1)));
int32_t L_17 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::System.Collections.IList.Insert(System.Int32,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_IList_Insert_mEBFCF7C676A57B847289C6E4F3D12BF453F14152_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, int32_t ___index0, RuntimeObject * ___item1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Insert_mEBFCF7C676A57B847289C6E4F3D12BF453F14152_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeObject * L_0 = ___item1;
(( void (*) (RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___item1;
(( void (*) (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *, int32_t, SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *)__this, (int32_t)L_1, (SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 )((*(SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 *)((SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___item1;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6((RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F((RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::InsertRange(System.Int32,System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_InsertRange_m2B1424A6147949362D2003934643C923ECBD1971_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, int32_t ___index0, RuntimeObject* ___collection1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_InsertRange_m2B1424A6147949362D2003934643C923ECBD1971_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
RuntimeObject* V_2 = 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);
{
RuntimeObject* L_0 = ___collection1;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)6, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = ___index0;
int32_t L_2 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_1) > ((uint32_t)L_2))))
{
goto IL_001b;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_001b:
{
RuntimeObject* L_3 = ___collection1;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_3, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_4 = V_0;
if (!L_4)
{
goto IL_00c0;
}
}
{
RuntimeObject* L_5 = V_0;
int32_t L_6 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<TMPro.SpriteAssetUtilities.TexturePacker/SpriteData>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_5);
V_1 = (int32_t)L_6;
int32_t L_7 = V_1;
if ((((int32_t)L_7) <= ((int32_t)0)))
{
goto IL_00ef;
}
}
{
int32_t L_8 = (int32_t)__this->get__size_2();
int32_t L_9 = V_1;
(( void (*) (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)L_9)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) >= ((int32_t)L_11)))
{
goto IL_006a;
}
}
{
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_12 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
int32_t L_13 = ___index0;
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_14 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
int32_t L_15 = ___index0;
int32_t L_16 = V_1;
int32_t L_17 = (int32_t)__this->get__size_2();
int32_t L_18 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_12, (int32_t)L_13, (RuntimeArray *)(RuntimeArray *)L_14, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_15, (int32_t)L_16)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_17, (int32_t)L_18)), /*hidden argument*/NULL);
}
IL_006a:
{
RuntimeObject* L_19 = V_0;
if ((!(((RuntimeObject*)(List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *)__this) == ((RuntimeObject*)(RuntimeObject*)L_19))))
{
goto IL_00a3;
}
}
{
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_20 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_21 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
int32_t L_22 = ___index0;
int32_t L_23 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_20, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_21, (int32_t)L_22, (int32_t)L_23, /*hidden argument*/NULL);
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_24 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
int32_t L_25 = ___index0;
int32_t L_26 = V_1;
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_27 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
int32_t L_28 = ___index0;
int32_t L_29 = (int32_t)__this->get__size_2();
int32_t L_30 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_24, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_25, (int32_t)L_26)), (RuntimeArray *)(RuntimeArray *)L_27, (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_28, (int32_t)2)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_29, (int32_t)L_30)), /*hidden argument*/NULL);
goto IL_00b0;
}
IL_00a3:
{
RuntimeObject* L_31 = V_0;
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_32 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
int32_t L_33 = ___index0;
InterfaceActionInvoker2< SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<TMPro.SpriteAssetUtilities.TexturePacker/SpriteData>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_31, (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)L_32, (int32_t)L_33);
}
IL_00b0:
{
int32_t L_34 = (int32_t)__this->get__size_2();
int32_t L_35 = V_1;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_34, (int32_t)L_35)));
goto IL_00ef;
}
IL_00c0:
{
RuntimeObject* L_36 = ___collection1;
RuntimeObject* L_37 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<TMPro.SpriteAssetUtilities.TexturePacker/SpriteData>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_36);
V_2 = (RuntimeObject*)L_37;
}
IL_00c7:
try
{ // begin try (depth: 1)
{
goto IL_00db;
}
IL_00c9:
{
int32_t L_38 = ___index0;
int32_t L_39 = (int32_t)L_38;
___index0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_39, (int32_t)1));
RuntimeObject* L_40 = V_2;
SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 L_41 = InterfaceFuncInvoker0< SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<TMPro.SpriteAssetUtilities.TexturePacker/SpriteData>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_40);
(( void (*) (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *, int32_t, SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *)__this, (int32_t)L_39, (SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 )L_41, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_00db:
{
RuntimeObject* L_42 = V_2;
bool L_43 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, (RuntimeObject*)L_42);
if (L_43)
{
goto IL_00c9;
}
}
IL_00e3:
{
IL2CPP_LEAVE(0xEF, FINALLY_00e5);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00e5;
}
FINALLY_00e5:
{ // begin finally (depth: 1)
{
RuntimeObject* L_44 = V_2;
if (!L_44)
{
goto IL_00ee;
}
}
IL_00e8:
{
RuntimeObject* L_45 = V_2;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, (RuntimeObject*)L_45);
}
IL_00ee:
{
IL2CPP_END_FINALLY(229)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(229)
{
IL2CPP_JUMP_TBL(0xEF, IL_00ef)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00ef:
{
int32_t L_46 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_46, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::Remove(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_Remove_mEB82E984D4DD59CD978019D3F015A26EFE455196_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 L_0 = ___item0;
int32_t L_1 = (( int32_t (*) (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *, SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *)__this, (SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
V_0 = (int32_t)L_1;
int32_t L_2 = V_0;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0015;
}
}
{
int32_t L_3 = V_0;
(( void (*) (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29)->methodPointer)((List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *)__this, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29));
return (bool)1;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::System.Collections.IList.Remove(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_IList_Remove_m09C8780C793ACA3F060084327DFE2D07530A35C5_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
(( bool (*) (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *, SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30)->methodPointer)((List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *)__this, (SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 )((*(SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 *)((SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
}
IL_0015:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::RemoveAll(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_RemoveAll_mB2F47BA71130890288F0B41451F3F627DB08A044_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, Predicate_1_t25A885269834E5D06A3E1557474B708E3430EB8B * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
Predicate_1_t25A885269834E5D06A3E1557474B708E3430EB8B * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0011;
}
IL_000d:
{
int32_t L_1 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_1, (int32_t)1));
}
IL_0011:
{
int32_t L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__size_2();
if ((((int32_t)L_2) >= ((int32_t)L_3)))
{
goto IL_002e;
}
}
{
Predicate_1_t25A885269834E5D06A3E1557474B708E3430EB8B * L_4 = ___match0;
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_5 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
int32_t L_6 = V_0;
int32_t L_7 = L_6;
SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 L_8 = (L_5)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_7));
bool L_9 = (( bool (*) (Predicate_1_t25A885269834E5D06A3E1557474B708E3430EB8B *, SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t25A885269834E5D06A3E1557474B708E3430EB8B *)L_4, (SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 )L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_9)
{
goto IL_000d;
}
}
IL_002e:
{
int32_t L_10 = V_0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) < ((int32_t)L_11)))
{
goto IL_0039;
}
}
{
return 0;
}
IL_0039:
{
int32_t L_12 = V_0;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1));
goto IL_0089;
}
IL_003f:
{
int32_t L_13 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_13, (int32_t)1));
}
IL_0043:
{
int32_t L_14 = V_1;
int32_t L_15 = (int32_t)__this->get__size_2();
if ((((int32_t)L_14) >= ((int32_t)L_15)))
{
goto IL_0060;
}
}
{
Predicate_1_t25A885269834E5D06A3E1557474B708E3430EB8B * L_16 = ___match0;
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_17 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
int32_t L_18 = V_1;
int32_t L_19 = L_18;
SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 L_20 = (L_17)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_19));
bool L_21 = (( bool (*) (Predicate_1_t25A885269834E5D06A3E1557474B708E3430EB8B *, SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t25A885269834E5D06A3E1557474B708E3430EB8B *)L_16, (SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 )L_20, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (L_21)
{
goto IL_003f;
}
}
IL_0060:
{
int32_t L_22 = V_1;
int32_t L_23 = (int32_t)__this->get__size_2();
if ((((int32_t)L_22) >= ((int32_t)L_23)))
{
goto IL_0089;
}
}
{
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_24 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
int32_t L_25 = V_0;
int32_t L_26 = (int32_t)L_25;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_26, (int32_t)1));
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_27 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
int32_t L_28 = V_1;
int32_t L_29 = (int32_t)L_28;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_29, (int32_t)1));
int32_t L_30 = L_29;
SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 L_31 = (L_27)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_30));
(L_24)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_26), (SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 )L_31);
}
IL_0089:
{
int32_t L_32 = V_1;
int32_t L_33 = (int32_t)__this->get__size_2();
if ((((int32_t)L_32) < ((int32_t)L_33)))
{
goto IL_0043;
}
}
{
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_34 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
int32_t L_35 = V_0;
int32_t L_36 = (int32_t)__this->get__size_2();
int32_t L_37 = V_0;
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_34, (int32_t)L_35, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_36, (int32_t)L_37)), /*hidden argument*/NULL);
int32_t L_38 = (int32_t)__this->get__size_2();
int32_t L_39 = V_0;
int32_t L_40 = V_0;
__this->set__size_2(L_40);
int32_t L_41 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_41, (int32_t)1)));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_38, (int32_t)L_39));
}
}
// System.Void System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::RemoveAt(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_RemoveAt_m99A007A945F6F1222752EE8A2D3962BCB72C9875_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, int32_t ___index0, const RuntimeMethod* method)
{
SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 V_0;
memset((&V_0), 0, sizeof(V_0));
{
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:
{
int32_t L_2 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)1)));
int32_t L_3 = ___index0;
int32_t L_4 = (int32_t)__this->get__size_2();
if ((((int32_t)L_3) >= ((int32_t)L_4)))
{
goto IL_0042;
}
}
{
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_5 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
int32_t L_6 = ___index0;
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_7 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
int32_t L_10 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_5, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)1)), (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)L_10)), /*hidden argument*/NULL);
}
IL_0042:
{
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_11 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
int32_t L_12 = (int32_t)__this->get__size_2();
il2cpp_codegen_initobj((&V_0), sizeof(SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 ));
SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 L_13 = V_0;
(L_11)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_12), (SpriteData_t8ADAD39500AF244CC913ED9B1F964DF04B4E5728 )L_13);
int32_t L_14 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_14, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::RemoveRange(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_RemoveRange_mC829AFB5B3C77E888111F909B2736BD6700E04E9_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
int32_t L_5 = ___count1;
if ((((int32_t)L_5) <= ((int32_t)0)))
{
goto IL_0082;
}
}
{
int32_t L_6 = (int32_t)__this->get__size_2();
int32_t L_7 = ___count1;
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)L_7)));
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
if ((((int32_t)L_8) >= ((int32_t)L_9)))
{
goto IL_0062;
}
}
{
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_10 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
int32_t L_11 = ___index0;
int32_t L_12 = ___count1;
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_13 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
int32_t L_14 = ___index0;
int32_t L_15 = (int32_t)__this->get__size_2();
int32_t L_16 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_10, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)L_12)), (RuntimeArray *)(RuntimeArray *)L_13, (int32_t)L_14, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_15, (int32_t)L_16)), /*hidden argument*/NULL);
}
IL_0062:
{
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_17 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
int32_t L_18 = (int32_t)__this->get__size_2();
int32_t L_19 = ___count1;
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_17, (int32_t)L_18, (int32_t)L_19, /*hidden argument*/NULL);
int32_t L_20 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_20, (int32_t)1)));
}
IL_0082:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::Reverse()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Reverse_m0962602701BB2C6395D247A91B8E34CB6CFF0E40_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (( int32_t (*) (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
(( void (*) (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31)->methodPointer)((List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *)__this, (int32_t)0, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
return;
}
}
// System.Void System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::Reverse(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Reverse_m20FDE701760B9E66031F31191B8ECA24DC1E2B1B_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_5 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
(( void (*) (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32)->methodPointer)((SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::Sort(System.Collections.Generic.IComparer`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_mDAD14A4ABF860964E3825220D36E8D3E56402180_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, RuntimeObject* ___comparer0, const RuntimeMethod* method)
{
{
int32_t L_0 = (( int32_t (*) (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
RuntimeObject* L_1 = ___comparer0;
(( void (*) (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 *)__this, (int32_t)0, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
return;
}
}
// System.Void System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_m7BB90FE12AF798A495BC66EFA7114CD7B61B2C34_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, int32_t ___index0, int32_t ___count1, RuntimeObject* ___comparer2, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_5 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
RuntimeObject* L_8 = ___comparer2;
(( void (*) (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)L_5, (int32_t)L_6, (int32_t)L_7, (RuntimeObject*)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
int32_t L_9 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::Sort(System.Comparison`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_m75CD93EAA78222F8AC028DD2476BCEC7FE03DB48_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, Comparison_1_t215BCD9BAE6C7B68EE39E3AE59DDF6DCB98CEDE2 * ___comparison0, const RuntimeMethod* method)
{
{
Comparison_1_t215BCD9BAE6C7B68EE39E3AE59DDF6DCB98CEDE2 * L_0 = ___comparison0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_1) <= ((int32_t)0)))
{
goto IL_0025;
}
}
{
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_2 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
int32_t L_3 = (int32_t)__this->get__size_2();
Comparison_1_t215BCD9BAE6C7B68EE39E3AE59DDF6DCB98CEDE2 * L_4 = ___comparison0;
(( void (*) (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*, int32_t, int32_t, Comparison_1_t215BCD9BAE6C7B68EE39E3AE59DDF6DCB98CEDE2 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35)->methodPointer)((SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)L_2, (int32_t)0, (int32_t)L_3, (Comparison_1_t215BCD9BAE6C7B68EE39E3AE59DDF6DCB98CEDE2 *)L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35));
}
IL_0025:
{
return;
}
}
// T[] System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::ToArray()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* List_1_ToArray_m86493827354B1E04D1994D85362FC56001B710C1_gshared (List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3 * __this, const RuntimeMethod* method)
{
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* V_0 = NULL;
{
int32_t L_0 = (int32_t)__this->get__size_2();
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_1 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)(SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_0);
V_0 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)L_1;
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_2 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)__this->get__items_1();
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_3 = V_0;
int32_t L_4 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_2, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_3, (int32_t)0, (int32_t)L_4, /*hidden argument*/NULL);
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_5 = V_0;
return L_5;
}
}
// System.Void System.Collections.Generic.List`1<TMPro.SpriteAssetUtilities.TexturePacker_SpriteData>::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__cctor_m753D56A53EB2E583C1CBA3447FCC892EBF0CD066_gshared (const RuntimeMethod* method)
{
{
SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41* L_0 = (SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)(SpriteDataU5BU5D_t2729489A91C1279AAA0EAFA62921F18A1143BB41*)SZArrayNew(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 1), (uint32_t)0);
((List_1_t5FAD5AAF16F630BF50EF436E06D812B87B3CC0F3_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set__emptyArray_5(L_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.Void System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_mEE1A1CA738D3FB658F0B985315A8D9CF7015DDA0_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0((RuntimeObject *)__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_0 = ((List_1_t53AD896B2509A4686D143641030CF022753D3B04_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_0);
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_mDF503A328459CBE1E221C814DD18AD015477BC1F_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, int32_t ___capacity0, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0((RuntimeObject *)__this, /*hidden argument*/NULL);
int32_t L_0 = ___capacity0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)12), (int32_t)4, /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_1 = ___capacity0;
if (L_1)
{
goto IL_0021;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_2 = ((List_1_t53AD896B2509A4686D143641030CF022753D3B04_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_2);
return;
}
IL_0021:
{
int32_t L_3 = ___capacity0;
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_4 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)(OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_3);
__this->set__items_1(L_4);
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::.ctor(System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_mE1B192A974B35828D394E557FFFB599B5D382268_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1__ctor_mE1B192A974B35828D394E557FFFB599B5D382268_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
RuntimeObject* V_2 = 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);
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0((RuntimeObject *)__this, /*hidden argument*/NULL);
RuntimeObject* L_0 = ___collection0;
if (L_0)
{
goto IL_000f;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)6, /*hidden argument*/NULL);
}
IL_000f:
{
RuntimeObject* L_1 = ___collection0;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_2 = V_0;
if (!L_2)
{
goto IL_0050;
}
}
{
RuntimeObject* L_3 = V_0;
int32_t L_4 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<UnityEngine.BeforeRenderHelper/OrderBlock>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_3);
V_1 = (int32_t)L_4;
int32_t L_5 = V_1;
if (L_5)
{
goto IL_002f;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_6 = ((List_1_t53AD896B2509A4686D143641030CF022753D3B04_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_6);
return;
}
IL_002f:
{
int32_t L_7 = V_1;
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_8 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)(OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_7);
__this->set__items_1(L_8);
RuntimeObject* L_9 = V_0;
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_10 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
InterfaceActionInvoker2< OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<UnityEngine.BeforeRenderHelper/OrderBlock>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_9, (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)L_10, (int32_t)0);
int32_t L_11 = V_1;
__this->set__size_2(L_11);
return;
}
IL_0050:
{
__this->set__size_2(0);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_12 = ((List_1_t53AD896B2509A4686D143641030CF022753D3B04_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_12);
RuntimeObject* L_13 = ___collection0;
RuntimeObject* L_14 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<UnityEngine.BeforeRenderHelper/OrderBlock>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_13);
V_2 = (RuntimeObject*)L_14;
}
IL_0069:
try
{ // begin try (depth: 1)
{
goto IL_0077;
}
IL_006b:
{
RuntimeObject* L_15 = V_2;
OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 L_16 = InterfaceFuncInvoker0< OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<UnityEngine.BeforeRenderHelper/OrderBlock>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_15);
(( void (*) (List_1_t53AD896B2509A4686D143641030CF022753D3B04 *, OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t53AD896B2509A4686D143641030CF022753D3B04 *)__this, (OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 )L_16, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
}
IL_0077:
{
RuntimeObject* L_17 = V_2;
bool L_18 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, (RuntimeObject*)L_17);
if (L_18)
{
goto IL_006b;
}
}
IL_007f:
{
IL2CPP_LEAVE(0x8B, FINALLY_0081);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0081;
}
FINALLY_0081:
{ // begin finally (depth: 1)
{
RuntimeObject* L_19 = V_2;
if (!L_19)
{
goto IL_008a;
}
}
IL_0084:
{
RuntimeObject* L_20 = V_2;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, (RuntimeObject*)L_20);
}
IL_008a:
{
IL2CPP_END_FINALLY(129)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(129)
{
IL2CPP_JUMP_TBL(0x8B, IL_008b)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_008b:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::get_Capacity()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_get_Capacity_mB68A1AFD26344F9DA815BF3DB2A6C33C54C0629D_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, const RuntimeMethod* method)
{
{
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_0 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
return (((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length))));
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::set_Capacity(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Capacity_m77DF986BE0734F0729261D976063E68BF6221CC2_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, int32_t ___value0, const RuntimeMethod* method)
{
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* V_0 = NULL;
{
int32_t L_0 = ___value0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) >= ((int32_t)L_1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)15), (int32_t)((int32_t)21), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___value0;
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_3 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
if ((((int32_t)L_2) == ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length)))))))
{
goto IL_0058;
}
}
{
int32_t L_4 = ___value0;
if ((((int32_t)L_4) <= ((int32_t)0)))
{
goto IL_004d;
}
}
{
int32_t L_5 = ___value0;
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_6 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)(OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_5);
V_0 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)L_6;
int32_t L_7 = (int32_t)__this->get__size_2();
if ((((int32_t)L_7) <= ((int32_t)0)))
{
goto IL_0045;
}
}
{
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_8 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_9 = V_0;
int32_t L_10 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_8, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_9, (int32_t)0, (int32_t)L_10, /*hidden argument*/NULL);
}
IL_0045:
{
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_11 = V_0;
__this->set__items_1(L_11);
return;
}
IL_004d:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_12 = ((List_1_t53AD896B2509A4686D143641030CF022753D3B04_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_12);
}
IL_0058:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::get_Count()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_get_Count_mDC7DA39F5282E6349415C0E7E139B6D5D978E1F2_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
return L_0;
}
}
// System.Boolean System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::System.Collections.Generic.ICollection<T>.get_IsReadOnly()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_System_Collections_Generic_ICollectionU3CTU3E_get_IsReadOnly_mFDFFD6B6D2773D46B794DDB9AECD989FC737CBC0_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::System.Collections.IList.get_IsReadOnly()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_System_Collections_IList_get_IsReadOnly_m2E7B9D30363F4B1E05DA92ABBE330279C1636C77_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// T System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::get_Item(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 List_1_get_Item_mC9C969F6B1B053F533CE85611D11D76DD9F9C386_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __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:
{
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_2 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
int32_t L_3 = ___index0;
OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 L_4 = IL2CPP_ARRAY_UNSAFE_LOAD((OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)L_2, (int32_t)L_3);
return L_4;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::set_Item(System.Int32,T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Item_m4A1670E85237581FB721325EE6953E224DA529DD_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, int32_t ___index0, OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 ___value1, 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:
{
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_2 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
int32_t L_3 = ___index0;
OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 L_4 = ___value1;
(L_2)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_3), (OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 )L_4);
int32_t L_5 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::IsCompatibleObject(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_IsCompatibleObject_m2622A645E2E4A5FE926DF207983C31C3135A69FA_gshared (RuntimeObject * ___value0, const RuntimeMethod* method)
{
OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 V_0;
memset((&V_0), 0, sizeof(V_0));
{
RuntimeObject * L_0 = ___value0;
if (((RuntimeObject *)IsInst((RuntimeObject*)L_0, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7))))
{
goto IL_001f;
}
}
{
RuntimeObject * L_1 = ___value0;
if (L_1)
{
goto IL_001d;
}
}
{
il2cpp_codegen_initobj((&V_0), sizeof(OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 ));
OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 L_2 = V_0;
OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 L_3 = L_2;
RuntimeObject * L_4 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7), &L_3);
return (bool)((((RuntimeObject*)(RuntimeObject *)L_4) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
}
IL_001d:
{
return (bool)0;
}
IL_001f:
{
return (bool)1;
}
}
// System.Object System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::System.Collections.IList.get_Item(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * List_1_System_Collections_IList_get_Item_m596D3C20C8DEC274A45F23C7849FD598C982E558_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 L_1 = (( OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 (*) (List_1_t53AD896B2509A4686D143641030CF022753D3B04 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8)->methodPointer)((List_1_t53AD896B2509A4686D143641030CF022753D3B04 *)__this, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 L_2 = L_1;
RuntimeObject * L_3 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7), &L_2);
return L_3;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::System.Collections.IList.set_Item(System.Int32,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_IList_set_Item_mA3BCD1A27AD64AA5EFAED8DB55D5F9ADFBBA0B33_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, int32_t ___index0, RuntimeObject * ___value1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_set_Item_mA3BCD1A27AD64AA5EFAED8DB55D5F9ADFBBA0B33_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeObject * L_0 = ___value1;
(( void (*) (RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((RuntimeObject *)L_0, (int32_t)((int32_t)15), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___value1;
(( void (*) (List_1_t53AD896B2509A4686D143641030CF022753D3B04 *, int32_t, OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10)->methodPointer)((List_1_t53AD896B2509A4686D143641030CF022753D3B04 *)__this, (int32_t)L_1, (OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 )((*(OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 *)((OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___value1;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6((RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F((RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::Add(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Add_m9CE27756FD9C02AB251CDC18FABB5BDB16A35150_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = (int32_t)__this->get__size_2();
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_1 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
if ((!(((uint32_t)L_0) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length))))))))
{
goto IL_001e;
}
}
{
int32_t L_2 = (int32_t)__this->get__size_2();
(( void (*) (List_1_t53AD896B2509A4686D143641030CF022753D3B04 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t53AD896B2509A4686D143641030CF022753D3B04 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_2, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_001e:
{
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_3 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
int32_t L_4 = (int32_t)__this->get__size_2();
V_0 = (int32_t)L_4;
int32_t L_5 = V_0;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
int32_t L_6 = V_0;
OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 L_7 = ___item0;
(L_3)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_6), (OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 )L_7);
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::System.Collections.IList.Add(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_System_Collections_IList_Add_mEE2918A4B22BD70DE568B2E5347D12182B7CFEE3_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Add_mEE2918A4B22BD70DE568B2E5347D12182B7CFEE3_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeObject * L_0 = ___item0;
(( void (*) (RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
RuntimeObject * L_1 = ___item0;
(( void (*) (List_1_t53AD896B2509A4686D143641030CF022753D3B04 *, OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t53AD896B2509A4686D143641030CF022753D3B04 *)__this, (OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 )((*(OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 *)((OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 *)UnBox(L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
goto IL_0029;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0016;
throw e;
}
CATCH_0016:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_2 = ___item0;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_3 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_4 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6((RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D )L_3, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F((RuntimeObject *)L_2, (Type_t *)L_4, /*hidden argument*/NULL);
goto IL_0029;
} // end catch (depth: 1)
IL_0029:
{
int32_t L_5 = (( int32_t (*) (List_1_t53AD896B2509A4686D143641030CF022753D3B04 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t53AD896B2509A4686D143641030CF022753D3B04 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_5, (int32_t)1));
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::AddRange(System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_AddRange_mE28281D0067183C9598CF462B371AE152DD886F3_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
RuntimeObject* L_1 = ___collection0;
(( void (*) (List_1_t53AD896B2509A4686D143641030CF022753D3B04 *, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14)->methodPointer)((List_1_t53AD896B2509A4686D143641030CF022753D3B04 *)__this, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::Clear()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Clear_mF1F041A505A0F64067453A8790416DA10458173A_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) <= ((int32_t)0)))
{
goto IL_0022;
}
}
{
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_1 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
int32_t L_2 = (int32_t)__this->get__size_2();
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/NULL);
__this->set__size_2(0);
}
IL_0022:
{
int32_t L_3 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::Contains(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_Contains_mB0ED66F0701788BF127AAC1E7F0483953BCE95A9_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
EqualityComparer_1_t0D8A0D07F0A489FDE0EF7548F8FB0525D28F70F7 * V_1 = NULL;
int32_t V_2 = 0;
{
goto IL_0030;
}
{
V_0 = (int32_t)0;
goto IL_0025;
}
IL_000c:
{
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_1 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
int32_t L_2 = V_0;
int32_t L_3 = L_2;
OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 L_4 = (L_1)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_3));
goto IL_0021;
}
{
return (bool)1;
}
IL_0021:
{
int32_t L_5 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1));
}
IL_0025:
{
int32_t L_6 = V_0;
int32_t L_7 = (int32_t)__this->get__size_2();
if ((((int32_t)L_6) < ((int32_t)L_7)))
{
goto IL_000c;
}
}
{
return (bool)0;
}
IL_0030:
{
EqualityComparer_1_t0D8A0D07F0A489FDE0EF7548F8FB0525D28F70F7 * L_8 = (( EqualityComparer_1_t0D8A0D07F0A489FDE0EF7548F8FB0525D28F70F7 * (*) (const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)(/*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
V_1 = (EqualityComparer_1_t0D8A0D07F0A489FDE0EF7548F8FB0525D28F70F7 *)L_8;
V_2 = (int32_t)0;
goto IL_0055;
}
IL_003a:
{
EqualityComparer_1_t0D8A0D07F0A489FDE0EF7548F8FB0525D28F70F7 * L_9 = V_1;
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_10 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
int32_t L_11 = V_2;
int32_t L_12 = L_11;
OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 L_13 = (L_10)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_12));
OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 L_14 = ___item0;
bool L_15 = VirtFuncInvoker2< bool, OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 , OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 >::Invoke(8 /* System.Boolean System.Collections.Generic.EqualityComparer`1<UnityEngine.BeforeRenderHelper/OrderBlock>::Equals(T,T) */, (EqualityComparer_1_t0D8A0D07F0A489FDE0EF7548F8FB0525D28F70F7 *)L_9, (OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 )L_13, (OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 )L_14);
if (!L_15)
{
goto IL_0051;
}
}
{
return (bool)1;
}
IL_0051:
{
int32_t L_16 = V_2;
V_2 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1));
}
IL_0055:
{
int32_t L_17 = V_2;
int32_t L_18 = (int32_t)__this->get__size_2();
if ((((int32_t)L_17) < ((int32_t)L_18)))
{
goto IL_003a;
}
}
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::System.Collections.IList.Contains(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_System_Collections_IList_Contains_m2FD818DDB23CEC4BF7554E54FCC98438B34E678C_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
bool L_3 = (( bool (*) (List_1_t53AD896B2509A4686D143641030CF022753D3B04 *, OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((List_1_t53AD896B2509A4686D143641030CF022753D3B04 *)__this, (OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 )((*(OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 *)((OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
return L_3;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::CopyTo(T[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_CopyTo_mD0A61AA93DC08845A0C6BCB62EDACB4F0A59AB99_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* ___array0, const RuntimeMethod* method)
{
{
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_0 = ___array0;
(( void (*) (List_1_t53AD896B2509A4686D143641030CF022753D3B04 *, OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20)->methodPointer)((List_1_t53AD896B2509A4686D143641030CF022753D3B04 *)__this, (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)L_0, (int32_t)0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::System.Collections.ICollection.CopyTo(System.Array,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_ICollection_CopyTo_mC5572577110A8F31A8A0FF1F5E8C7A24B8F925D8_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, RuntimeArray * ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_ICollection_CopyTo_mC5572577110A8F31A8A0FF1F5E8C7A24B8F925D8_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeArray * L_0 = ___array0;
if (!L_0)
{
goto IL_0012;
}
}
{
RuntimeArray * L_1 = ___array0;
int32_t L_2 = Array_get_Rank_m38145B59D67D75F9896A3F8CDA9B966641AE99E1((RuntimeArray *)L_1, /*hidden argument*/NULL);
if ((((int32_t)L_2) == ((int32_t)1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)7, /*hidden argument*/NULL);
}
IL_0012:
{
}
IL_0013:
try
{ // begin try (depth: 1)
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_3 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
RuntimeArray * L_4 = ___array0;
int32_t L_5 = ___arrayIndex1;
int32_t L_6 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_3, (int32_t)0, (RuntimeArray *)L_4, (int32_t)L_5, (int32_t)L_6, /*hidden argument*/NULL);
goto IL_0033;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (ArrayTypeMismatchException_tE34C1032B089C37399200997F079C640D23D9499_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0029;
throw e;
}
CATCH_0029:
{ // begin catch(System.ArrayTypeMismatchException)
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)18), /*hidden argument*/NULL);
goto IL_0033;
} // end catch (depth: 1)
IL_0033:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::CopyTo(System.Int32,T[],System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_CopyTo_mF67E8416CF58CC0FE78B82FA2B2A832CDA6F7E92_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, int32_t ___index0, OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* ___array1, int32_t ___arrayIndex2, int32_t ___count3, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
int32_t L_1 = ___index0;
int32_t L_2 = ___count3;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_0, (int32_t)L_1))) >= ((int32_t)L_2)))
{
goto IL_0013;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_0013:
{
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_3 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
int32_t L_4 = ___index0;
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_5 = ___array1;
int32_t L_6 = ___arrayIndex2;
int32_t L_7 = ___count3;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_3, (int32_t)L_4, (RuntimeArray *)(RuntimeArray *)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::CopyTo(T[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_CopyTo_mB05833CD92994118F86EBE9D5AB97C64ED5B5CEB_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
{
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_0 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_1 = ___array0;
int32_t L_2 = ___arrayIndex1;
int32_t L_3 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_0, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)L_2, (int32_t)L_3, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::EnsureCapacity(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_EnsureCapacity_mCC4F139CF18462575093B6C7913DD2CB2F1C6795_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, int32_t ___min0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t G_B4_0 = 0;
{
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_0 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
int32_t L_1 = ___min0;
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length))))) >= ((int32_t)L_1)))
{
goto IL_003d;
}
}
{
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_2 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
if (!(((RuntimeArray*)L_2)->max_length))
{
goto IL_0020;
}
}
{
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_3 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
G_B4_0 = ((int32_t)il2cpp_codegen_multiply((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length)))), (int32_t)2));
goto IL_0021;
}
IL_0020:
{
G_B4_0 = 4;
}
IL_0021:
{
V_0 = (int32_t)G_B4_0;
int32_t L_4 = V_0;
if ((!(((uint32_t)L_4) > ((uint32_t)((int32_t)2146435071)))))
{
goto IL_0030;
}
}
{
V_0 = (int32_t)((int32_t)2146435071);
}
IL_0030:
{
int32_t L_5 = V_0;
int32_t L_6 = ___min0;
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0036;
}
}
{
int32_t L_7 = ___min0;
V_0 = (int32_t)L_7;
}
IL_0036:
{
int32_t L_8 = V_0;
(( void (*) (List_1_t53AD896B2509A4686D143641030CF022753D3B04 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 21)->methodPointer)((List_1_t53AD896B2509A4686D143641030CF022753D3B04 *)__this, (int32_t)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 21));
}
IL_003d:
{
return;
}
}
// T System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::Find(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 List_1_Find_mC3000ACB7F171B3555DA9D79457AEA6283DE754F_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, Predicate_1_t6021C753A4C8761482AE2125268A1F20CC5302F9 * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 V_1;
memset((&V_1), 0, sizeof(V_1));
{
Predicate_1_t6021C753A4C8761482AE2125268A1F20CC5302F9 * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0032;
}
IL_000d:
{
Predicate_1_t6021C753A4C8761482AE2125268A1F20CC5302F9 * L_1 = ___match0;
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_2 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
int32_t L_3 = V_0;
int32_t L_4 = L_3;
OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 L_5 = (L_2)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_4));
bool L_6 = (( bool (*) (Predicate_1_t6021C753A4C8761482AE2125268A1F20CC5302F9 *, OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t6021C753A4C8761482AE2125268A1F20CC5302F9 *)L_1, (OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 )L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_6)
{
goto IL_002e;
}
}
{
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_7 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
int32_t L_8 = V_0;
int32_t L_9 = L_8;
OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 L_10 = (L_7)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_9));
return L_10;
}
IL_002e:
{
int32_t L_11 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)1));
}
IL_0032:
{
int32_t L_12 = V_0;
int32_t L_13 = (int32_t)__this->get__size_2();
if ((((int32_t)L_12) < ((int32_t)L_13)))
{
goto IL_000d;
}
}
{
il2cpp_codegen_initobj((&V_1), sizeof(OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 ));
OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 L_14 = V_1;
return L_14;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::FindIndex(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_FindIndex_m95DAEE6AEB98A4B110F3C8C11B688A19163ACCB7_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, Predicate_1_t6021C753A4C8761482AE2125268A1F20CC5302F9 * ___match0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
Predicate_1_t6021C753A4C8761482AE2125268A1F20CC5302F9 * L_1 = ___match0;
int32_t L_2 = (( int32_t (*) (List_1_t53AD896B2509A4686D143641030CF022753D3B04 *, int32_t, int32_t, Predicate_1_t6021C753A4C8761482AE2125268A1F20CC5302F9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23)->methodPointer)((List_1_t53AD896B2509A4686D143641030CF022753D3B04 *)__this, (int32_t)0, (int32_t)L_0, (Predicate_1_t6021C753A4C8761482AE2125268A1F20CC5302F9 *)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23));
return L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::FindIndex(System.Int32,System.Int32,System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_FindIndex_m76F1F3A875AF4BD10E28849D0FEC840961EAE9D3_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, int32_t ___startIndex0, int32_t ___count1, Predicate_1_t6021C753A4C8761482AE2125268A1F20CC5302F9 * ___match2, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
int32_t L_0 = ___startIndex0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) > ((uint32_t)L_1))))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)14), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___count1;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0021;
}
}
{
int32_t L_3 = ___startIndex0;
int32_t L_4 = (int32_t)__this->get__size_2();
int32_t L_5 = ___count1;
if ((((int32_t)L_3) <= ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_4, (int32_t)L_5)))))
{
goto IL_002a;
}
}
IL_0021:
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)((int32_t)25), /*hidden argument*/NULL);
}
IL_002a:
{
Predicate_1_t6021C753A4C8761482AE2125268A1F20CC5302F9 * L_6 = ___match2;
if (L_6)
{
goto IL_0033;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0033:
{
int32_t L_7 = ___startIndex0;
int32_t L_8 = ___count1;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_7, (int32_t)L_8));
int32_t L_9 = ___startIndex0;
V_1 = (int32_t)L_9;
goto IL_0055;
}
IL_003b:
{
Predicate_1_t6021C753A4C8761482AE2125268A1F20CC5302F9 * L_10 = ___match2;
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_11 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
int32_t L_12 = V_1;
int32_t L_13 = L_12;
OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 L_14 = (L_11)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_13));
bool L_15 = (( bool (*) (Predicate_1_t6021C753A4C8761482AE2125268A1F20CC5302F9 *, OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t6021C753A4C8761482AE2125268A1F20CC5302F9 *)L_10, (OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 )L_14, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_15)
{
goto IL_0051;
}
}
{
int32_t L_16 = V_1;
return L_16;
}
IL_0051:
{
int32_t L_17 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1));
}
IL_0055:
{
int32_t L_18 = V_1;
int32_t L_19 = V_0;
if ((((int32_t)L_18) < ((int32_t)L_19)))
{
goto IL_003b;
}
}
{
return (-1);
}
}
// System.Collections.Generic.List`1_Enumerator<T> System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Enumerator_tEB4831BF749196828927D05E6467255EFEE20323 List_1_GetEnumerator_m16E14E70EDCAC65999E5D34DA728DA768217C434_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, const RuntimeMethod* method)
{
{
Enumerator_tEB4831BF749196828927D05E6467255EFEE20323 L_0;
memset((&L_0), 0, sizeof(L_0));
Enumerator__ctor_mE662CA8F3FD9295CFDA36D6B1D465FA86D939D66((&L_0), (List_1_t53AD896B2509A4686D143641030CF022753D3B04 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
return L_0;
}
}
// System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::System.Collections.Generic.IEnumerable<T>.GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* List_1_System_Collections_Generic_IEnumerableU3CTU3E_GetEnumerator_mE9C6D33555A6A58A7FB4A2B149FD0EDA89DC3161_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, const RuntimeMethod* method)
{
{
Enumerator_tEB4831BF749196828927D05E6467255EFEE20323 L_0;
memset((&L_0), 0, sizeof(L_0));
Enumerator__ctor_mE662CA8F3FD9295CFDA36D6B1D465FA86D939D66((&L_0), (List_1_t53AD896B2509A4686D143641030CF022753D3B04 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
Enumerator_tEB4831BF749196828927D05E6467255EFEE20323 L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 24), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Collections.IEnumerator System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::System.Collections.IEnumerable.GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* List_1_System_Collections_IEnumerable_GetEnumerator_m1F63487D2AF27184935A5A33C2D742A50E5F0160_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, const RuntimeMethod* method)
{
{
Enumerator_tEB4831BF749196828927D05E6467255EFEE20323 L_0;
memset((&L_0), 0, sizeof(L_0));
Enumerator__ctor_mE662CA8F3FD9295CFDA36D6B1D465FA86D939D66((&L_0), (List_1_t53AD896B2509A4686D143641030CF022753D3B04 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
Enumerator_tEB4831BF749196828927D05E6467255EFEE20323 L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 24), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::IndexOf(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_IndexOf_m512AE265802ED8DD916C724E10E1588082AC9699_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 ___item0, const RuntimeMethod* method)
{
{
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_0 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 L_1 = ___item0;
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = (( int32_t (*) (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*, OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 , int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)L_0, (OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 )L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
return L_3;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::System.Collections.IList.IndexOf(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_System_Collections_IList_IndexOf_mE0C0BA82A2756EC6BC27A3E6183CD326AE903ADE_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
int32_t L_3 = (( int32_t (*) (List_1_t53AD896B2509A4686D143641030CF022753D3B04 *, OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((List_1_t53AD896B2509A4686D143641030CF022753D3B04 *)__this, (OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 )((*(OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 *)((OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
return L_3;
}
IL_0015:
{
return (-1);
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::Insert(System.Int32,T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Insert_m97F4FD6EBAFA33B77961311D2285967CF53C1E9F_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, int32_t ___index0, OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 ___item1, 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_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)((int32_t)27), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = (int32_t)__this->get__size_2();
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_3 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
if ((!(((uint32_t)L_2) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length))))))))
{
goto IL_0030;
}
}
{
int32_t L_4 = (int32_t)__this->get__size_2();
(( void (*) (List_1_t53AD896B2509A4686D143641030CF022753D3B04 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t53AD896B2509A4686D143641030CF022753D3B04 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_0030:
{
int32_t L_5 = ___index0;
int32_t L_6 = (int32_t)__this->get__size_2();
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0056;
}
}
{
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_7 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
int32_t L_8 = ___index0;
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_9 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
int32_t L_12 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (RuntimeArray *)(RuntimeArray *)L_9, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_11, (int32_t)L_12)), /*hidden argument*/NULL);
}
IL_0056:
{
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_13 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
int32_t L_14 = ___index0;
OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 L_15 = ___item1;
(L_13)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_14), (OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 )L_15);
int32_t L_16 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1)));
int32_t L_17 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::System.Collections.IList.Insert(System.Int32,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_IList_Insert_m78681DE36BF20BD2AF97F042479507CC159A3260_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, int32_t ___index0, RuntimeObject * ___item1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Insert_m78681DE36BF20BD2AF97F042479507CC159A3260_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeObject * L_0 = ___item1;
(( void (*) (RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___item1;
(( void (*) (List_1_t53AD896B2509A4686D143641030CF022753D3B04 *, int32_t, OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t53AD896B2509A4686D143641030CF022753D3B04 *)__this, (int32_t)L_1, (OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 )((*(OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 *)((OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___item1;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6((RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F((RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::InsertRange(System.Int32,System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_InsertRange_m927294C11C96B7DC02B417757BE9BEFD83A0D600_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, int32_t ___index0, RuntimeObject* ___collection1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_InsertRange_m927294C11C96B7DC02B417757BE9BEFD83A0D600_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
RuntimeObject* V_2 = 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);
{
RuntimeObject* L_0 = ___collection1;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)6, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = ___index0;
int32_t L_2 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_1) > ((uint32_t)L_2))))
{
goto IL_001b;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_001b:
{
RuntimeObject* L_3 = ___collection1;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_3, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_4 = V_0;
if (!L_4)
{
goto IL_00c0;
}
}
{
RuntimeObject* L_5 = V_0;
int32_t L_6 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<UnityEngine.BeforeRenderHelper/OrderBlock>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_5);
V_1 = (int32_t)L_6;
int32_t L_7 = V_1;
if ((((int32_t)L_7) <= ((int32_t)0)))
{
goto IL_00ef;
}
}
{
int32_t L_8 = (int32_t)__this->get__size_2();
int32_t L_9 = V_1;
(( void (*) (List_1_t53AD896B2509A4686D143641030CF022753D3B04 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t53AD896B2509A4686D143641030CF022753D3B04 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)L_9)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) >= ((int32_t)L_11)))
{
goto IL_006a;
}
}
{
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_12 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
int32_t L_13 = ___index0;
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_14 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
int32_t L_15 = ___index0;
int32_t L_16 = V_1;
int32_t L_17 = (int32_t)__this->get__size_2();
int32_t L_18 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_12, (int32_t)L_13, (RuntimeArray *)(RuntimeArray *)L_14, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_15, (int32_t)L_16)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_17, (int32_t)L_18)), /*hidden argument*/NULL);
}
IL_006a:
{
RuntimeObject* L_19 = V_0;
if ((!(((RuntimeObject*)(List_1_t53AD896B2509A4686D143641030CF022753D3B04 *)__this) == ((RuntimeObject*)(RuntimeObject*)L_19))))
{
goto IL_00a3;
}
}
{
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_20 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_21 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
int32_t L_22 = ___index0;
int32_t L_23 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_20, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_21, (int32_t)L_22, (int32_t)L_23, /*hidden argument*/NULL);
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_24 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
int32_t L_25 = ___index0;
int32_t L_26 = V_1;
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_27 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
int32_t L_28 = ___index0;
int32_t L_29 = (int32_t)__this->get__size_2();
int32_t L_30 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_24, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_25, (int32_t)L_26)), (RuntimeArray *)(RuntimeArray *)L_27, (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_28, (int32_t)2)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_29, (int32_t)L_30)), /*hidden argument*/NULL);
goto IL_00b0;
}
IL_00a3:
{
RuntimeObject* L_31 = V_0;
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_32 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
int32_t L_33 = ___index0;
InterfaceActionInvoker2< OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<UnityEngine.BeforeRenderHelper/OrderBlock>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_31, (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)L_32, (int32_t)L_33);
}
IL_00b0:
{
int32_t L_34 = (int32_t)__this->get__size_2();
int32_t L_35 = V_1;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_34, (int32_t)L_35)));
goto IL_00ef;
}
IL_00c0:
{
RuntimeObject* L_36 = ___collection1;
RuntimeObject* L_37 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<UnityEngine.BeforeRenderHelper/OrderBlock>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_36);
V_2 = (RuntimeObject*)L_37;
}
IL_00c7:
try
{ // begin try (depth: 1)
{
goto IL_00db;
}
IL_00c9:
{
int32_t L_38 = ___index0;
int32_t L_39 = (int32_t)L_38;
___index0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_39, (int32_t)1));
RuntimeObject* L_40 = V_2;
OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 L_41 = InterfaceFuncInvoker0< OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<UnityEngine.BeforeRenderHelper/OrderBlock>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_40);
(( void (*) (List_1_t53AD896B2509A4686D143641030CF022753D3B04 *, int32_t, OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t53AD896B2509A4686D143641030CF022753D3B04 *)__this, (int32_t)L_39, (OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 )L_41, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_00db:
{
RuntimeObject* L_42 = V_2;
bool L_43 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, (RuntimeObject*)L_42);
if (L_43)
{
goto IL_00c9;
}
}
IL_00e3:
{
IL2CPP_LEAVE(0xEF, FINALLY_00e5);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00e5;
}
FINALLY_00e5:
{ // begin finally (depth: 1)
{
RuntimeObject* L_44 = V_2;
if (!L_44)
{
goto IL_00ee;
}
}
IL_00e8:
{
RuntimeObject* L_45 = V_2;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, (RuntimeObject*)L_45);
}
IL_00ee:
{
IL2CPP_END_FINALLY(229)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(229)
{
IL2CPP_JUMP_TBL(0xEF, IL_00ef)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00ef:
{
int32_t L_46 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_46, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::Remove(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_Remove_mCDF98365633781643013F7FA575B333470227A9D_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 L_0 = ___item0;
int32_t L_1 = (( int32_t (*) (List_1_t53AD896B2509A4686D143641030CF022753D3B04 *, OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((List_1_t53AD896B2509A4686D143641030CF022753D3B04 *)__this, (OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
V_0 = (int32_t)L_1;
int32_t L_2 = V_0;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0015;
}
}
{
int32_t L_3 = V_0;
(( void (*) (List_1_t53AD896B2509A4686D143641030CF022753D3B04 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29)->methodPointer)((List_1_t53AD896B2509A4686D143641030CF022753D3B04 *)__this, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29));
return (bool)1;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::System.Collections.IList.Remove(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_IList_Remove_m8F58B110B2149A29926AE10FB1D07C23C79D614D_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
(( bool (*) (List_1_t53AD896B2509A4686D143641030CF022753D3B04 *, OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30)->methodPointer)((List_1_t53AD896B2509A4686D143641030CF022753D3B04 *)__this, (OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 )((*(OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 *)((OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
}
IL_0015:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::RemoveAll(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_RemoveAll_mA10041F307D9DF36DC47EA5388CE128C16BC8EC7_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, Predicate_1_t6021C753A4C8761482AE2125268A1F20CC5302F9 * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
Predicate_1_t6021C753A4C8761482AE2125268A1F20CC5302F9 * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0011;
}
IL_000d:
{
int32_t L_1 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_1, (int32_t)1));
}
IL_0011:
{
int32_t L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__size_2();
if ((((int32_t)L_2) >= ((int32_t)L_3)))
{
goto IL_002e;
}
}
{
Predicate_1_t6021C753A4C8761482AE2125268A1F20CC5302F9 * L_4 = ___match0;
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_5 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
int32_t L_6 = V_0;
int32_t L_7 = L_6;
OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 L_8 = (L_5)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_7));
bool L_9 = (( bool (*) (Predicate_1_t6021C753A4C8761482AE2125268A1F20CC5302F9 *, OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t6021C753A4C8761482AE2125268A1F20CC5302F9 *)L_4, (OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 )L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_9)
{
goto IL_000d;
}
}
IL_002e:
{
int32_t L_10 = V_0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) < ((int32_t)L_11)))
{
goto IL_0039;
}
}
{
return 0;
}
IL_0039:
{
int32_t L_12 = V_0;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1));
goto IL_0089;
}
IL_003f:
{
int32_t L_13 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_13, (int32_t)1));
}
IL_0043:
{
int32_t L_14 = V_1;
int32_t L_15 = (int32_t)__this->get__size_2();
if ((((int32_t)L_14) >= ((int32_t)L_15)))
{
goto IL_0060;
}
}
{
Predicate_1_t6021C753A4C8761482AE2125268A1F20CC5302F9 * L_16 = ___match0;
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_17 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
int32_t L_18 = V_1;
int32_t L_19 = L_18;
OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 L_20 = (L_17)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_19));
bool L_21 = (( bool (*) (Predicate_1_t6021C753A4C8761482AE2125268A1F20CC5302F9 *, OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t6021C753A4C8761482AE2125268A1F20CC5302F9 *)L_16, (OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 )L_20, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (L_21)
{
goto IL_003f;
}
}
IL_0060:
{
int32_t L_22 = V_1;
int32_t L_23 = (int32_t)__this->get__size_2();
if ((((int32_t)L_22) >= ((int32_t)L_23)))
{
goto IL_0089;
}
}
{
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_24 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
int32_t L_25 = V_0;
int32_t L_26 = (int32_t)L_25;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_26, (int32_t)1));
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_27 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
int32_t L_28 = V_1;
int32_t L_29 = (int32_t)L_28;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_29, (int32_t)1));
int32_t L_30 = L_29;
OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 L_31 = (L_27)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_30));
(L_24)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_26), (OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 )L_31);
}
IL_0089:
{
int32_t L_32 = V_1;
int32_t L_33 = (int32_t)__this->get__size_2();
if ((((int32_t)L_32) < ((int32_t)L_33)))
{
goto IL_0043;
}
}
{
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_34 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
int32_t L_35 = V_0;
int32_t L_36 = (int32_t)__this->get__size_2();
int32_t L_37 = V_0;
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_34, (int32_t)L_35, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_36, (int32_t)L_37)), /*hidden argument*/NULL);
int32_t L_38 = (int32_t)__this->get__size_2();
int32_t L_39 = V_0;
int32_t L_40 = V_0;
__this->set__size_2(L_40);
int32_t L_41 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_41, (int32_t)1)));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_38, (int32_t)L_39));
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::RemoveAt(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_RemoveAt_m22C1275448E1F8D2A15882995F70521157DC9D65_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, int32_t ___index0, const RuntimeMethod* method)
{
OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 V_0;
memset((&V_0), 0, sizeof(V_0));
{
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:
{
int32_t L_2 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)1)));
int32_t L_3 = ___index0;
int32_t L_4 = (int32_t)__this->get__size_2();
if ((((int32_t)L_3) >= ((int32_t)L_4)))
{
goto IL_0042;
}
}
{
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_5 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
int32_t L_6 = ___index0;
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_7 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
int32_t L_10 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_5, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)1)), (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)L_10)), /*hidden argument*/NULL);
}
IL_0042:
{
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_11 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
int32_t L_12 = (int32_t)__this->get__size_2();
il2cpp_codegen_initobj((&V_0), sizeof(OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 ));
OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 L_13 = V_0;
(L_11)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_12), (OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727 )L_13);
int32_t L_14 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_14, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::RemoveRange(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_RemoveRange_mC7D0666E6DD21611524F1C5127181419F3533859_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
int32_t L_5 = ___count1;
if ((((int32_t)L_5) <= ((int32_t)0)))
{
goto IL_0082;
}
}
{
int32_t L_6 = (int32_t)__this->get__size_2();
int32_t L_7 = ___count1;
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)L_7)));
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
if ((((int32_t)L_8) >= ((int32_t)L_9)))
{
goto IL_0062;
}
}
{
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_10 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
int32_t L_11 = ___index0;
int32_t L_12 = ___count1;
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_13 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
int32_t L_14 = ___index0;
int32_t L_15 = (int32_t)__this->get__size_2();
int32_t L_16 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_10, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)L_12)), (RuntimeArray *)(RuntimeArray *)L_13, (int32_t)L_14, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_15, (int32_t)L_16)), /*hidden argument*/NULL);
}
IL_0062:
{
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_17 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
int32_t L_18 = (int32_t)__this->get__size_2();
int32_t L_19 = ___count1;
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_17, (int32_t)L_18, (int32_t)L_19, /*hidden argument*/NULL);
int32_t L_20 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_20, (int32_t)1)));
}
IL_0082:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::Reverse()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Reverse_m0607368D167E9EED39E63FA79374A3BCABA4F9F6_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (( int32_t (*) (List_1_t53AD896B2509A4686D143641030CF022753D3B04 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t53AD896B2509A4686D143641030CF022753D3B04 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
(( void (*) (List_1_t53AD896B2509A4686D143641030CF022753D3B04 *, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31)->methodPointer)((List_1_t53AD896B2509A4686D143641030CF022753D3B04 *)__this, (int32_t)0, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::Reverse(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Reverse_m5CE655C0E224070A5A720A75CA8737572D5D5040_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_5 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
(( void (*) (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32)->methodPointer)((OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::Sort(System.Collections.Generic.IComparer`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_m813E3BE2FAD02B7E72120610B67898419BA6778C_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, RuntimeObject* ___comparer0, const RuntimeMethod* method)
{
{
int32_t L_0 = (( int32_t (*) (List_1_t53AD896B2509A4686D143641030CF022753D3B04 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t53AD896B2509A4686D143641030CF022753D3B04 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
RuntimeObject* L_1 = ___comparer0;
(( void (*) (List_1_t53AD896B2509A4686D143641030CF022753D3B04 *, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((List_1_t53AD896B2509A4686D143641030CF022753D3B04 *)__this, (int32_t)0, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_m75B9F008E6C3491FEC0F0D59645EF2D00924D699_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, int32_t ___index0, int32_t ___count1, RuntimeObject* ___comparer2, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_5 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
RuntimeObject* L_8 = ___comparer2;
(( void (*) (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)L_5, (int32_t)L_6, (int32_t)L_7, (RuntimeObject*)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
int32_t L_9 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::Sort(System.Comparison`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_m44B6AE73489E09A7E80A94B50E1F435B3DCD4F06_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, Comparison_1_t2750BC60B871C841F4E818A35A01BE474BFD2C35 * ___comparison0, const RuntimeMethod* method)
{
{
Comparison_1_t2750BC60B871C841F4E818A35A01BE474BFD2C35 * L_0 = ___comparison0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_1) <= ((int32_t)0)))
{
goto IL_0025;
}
}
{
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_2 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
int32_t L_3 = (int32_t)__this->get__size_2();
Comparison_1_t2750BC60B871C841F4E818A35A01BE474BFD2C35 * L_4 = ___comparison0;
(( void (*) (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*, int32_t, int32_t, Comparison_1_t2750BC60B871C841F4E818A35A01BE474BFD2C35 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35)->methodPointer)((OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)L_2, (int32_t)0, (int32_t)L_3, (Comparison_1_t2750BC60B871C841F4E818A35A01BE474BFD2C35 *)L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35));
}
IL_0025:
{
return;
}
}
// T[] System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::ToArray()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* List_1_ToArray_m91DB43D7F836B00279EE081FA647D1015AA8A5EA_gshared (List_1_t53AD896B2509A4686D143641030CF022753D3B04 * __this, const RuntimeMethod* method)
{
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* V_0 = NULL;
{
int32_t L_0 = (int32_t)__this->get__size_2();
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_1 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)(OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_0);
V_0 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)L_1;
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_2 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)__this->get__items_1();
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_3 = V_0;
int32_t L_4 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_2, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_3, (int32_t)0, (int32_t)L_4, /*hidden argument*/NULL);
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_5 = V_0;
return L_5;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock>::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__cctor_mE85844277E68F321377D4CC99C5A5DAC92B7D63C_gshared (const RuntimeMethod* method)
{
{
OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101* L_0 = (OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)(OrderBlockU5BU5D_t1C62FB945EC1F218FB6301A770FBF3C67B0AA101*)SZArrayNew(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 1), (uint32_t)0);
((List_1_t53AD896B2509A4686D143641030CF022753D3B04_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set__emptyArray_5(L_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.Void System.Collections.Generic.List`1<UnityEngine.Color32>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m0AA961F7D579F0A8B7BF5D6FBD3D54E6CAEACC6F_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0((RuntimeObject *)__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_0 = ((List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_0);
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m6A8B960A76F4A5C917CC72C5F96770E74DEFABBC_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, int32_t ___capacity0, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0((RuntimeObject *)__this, /*hidden argument*/NULL);
int32_t L_0 = ___capacity0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)12), (int32_t)4, /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_1 = ___capacity0;
if (L_1)
{
goto IL_0021;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_2 = ((List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_2);
return;
}
IL_0021:
{
int32_t L_3 = ___capacity0;
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_4 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)(Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_3);
__this->set__items_1(L_4);
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::.ctor(System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_mDE5946DE707198389795421A70495D6BBADA8591_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1__ctor_mDE5946DE707198389795421A70495D6BBADA8591_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
RuntimeObject* V_2 = 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);
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0((RuntimeObject *)__this, /*hidden argument*/NULL);
RuntimeObject* L_0 = ___collection0;
if (L_0)
{
goto IL_000f;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)6, /*hidden argument*/NULL);
}
IL_000f:
{
RuntimeObject* L_1 = ___collection0;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_2 = V_0;
if (!L_2)
{
goto IL_0050;
}
}
{
RuntimeObject* L_3 = V_0;
int32_t L_4 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<UnityEngine.Color32>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_3);
V_1 = (int32_t)L_4;
int32_t L_5 = V_1;
if (L_5)
{
goto IL_002f;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_6 = ((List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_6);
return;
}
IL_002f:
{
int32_t L_7 = V_1;
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_8 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)(Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_7);
__this->set__items_1(L_8);
RuntimeObject* L_9 = V_0;
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_10 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
InterfaceActionInvoker2< Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<UnityEngine.Color32>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_9, (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)L_10, (int32_t)0);
int32_t L_11 = V_1;
__this->set__size_2(L_11);
return;
}
IL_0050:
{
__this->set__size_2(0);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_12 = ((List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_12);
RuntimeObject* L_13 = ___collection0;
RuntimeObject* L_14 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<UnityEngine.Color32>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_13);
V_2 = (RuntimeObject*)L_14;
}
IL_0069:
try
{ // begin try (depth: 1)
{
goto IL_0077;
}
IL_006b:
{
RuntimeObject* L_15 = V_2;
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 L_16 = InterfaceFuncInvoker0< Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<UnityEngine.Color32>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_15);
(( void (*) (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *, Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *)__this, (Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 )L_16, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
}
IL_0077:
{
RuntimeObject* L_17 = V_2;
bool L_18 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, (RuntimeObject*)L_17);
if (L_18)
{
goto IL_006b;
}
}
IL_007f:
{
IL2CPP_LEAVE(0x8B, FINALLY_0081);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0081;
}
FINALLY_0081:
{ // begin finally (depth: 1)
{
RuntimeObject* L_19 = V_2;
if (!L_19)
{
goto IL_008a;
}
}
IL_0084:
{
RuntimeObject* L_20 = V_2;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, (RuntimeObject*)L_20);
}
IL_008a:
{
IL2CPP_END_FINALLY(129)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(129)
{
IL2CPP_JUMP_TBL(0x8B, IL_008b)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_008b:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.Color32>::get_Capacity()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_get_Capacity_m022071A2BAB09506220C8BD356CE78C0AB8D08B0_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, const RuntimeMethod* method)
{
{
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_0 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
return (((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length))));
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::set_Capacity(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Capacity_mDD907D72D2AC5E6AF4D65702DEC40606022FE0A8_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, int32_t ___value0, const RuntimeMethod* method)
{
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* V_0 = NULL;
{
int32_t L_0 = ___value0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) >= ((int32_t)L_1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)15), (int32_t)((int32_t)21), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___value0;
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_3 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
if ((((int32_t)L_2) == ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length)))))))
{
goto IL_0058;
}
}
{
int32_t L_4 = ___value0;
if ((((int32_t)L_4) <= ((int32_t)0)))
{
goto IL_004d;
}
}
{
int32_t L_5 = ___value0;
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_6 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)(Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_5);
V_0 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)L_6;
int32_t L_7 = (int32_t)__this->get__size_2();
if ((((int32_t)L_7) <= ((int32_t)0)))
{
goto IL_0045;
}
}
{
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_8 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_9 = V_0;
int32_t L_10 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_8, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_9, (int32_t)0, (int32_t)L_10, /*hidden argument*/NULL);
}
IL_0045:
{
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_11 = V_0;
__this->set__items_1(L_11);
return;
}
IL_004d:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_12 = ((List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_12);
}
IL_0058:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.Color32>::get_Count()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_get_Count_mAD05ECB22E3C0DDFB5D3C205E2F77CEBFC3DDCC0_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
return L_0;
}
}
// System.Boolean System.Collections.Generic.List`1<UnityEngine.Color32>::System.Collections.Generic.ICollection<T>.get_IsReadOnly()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_System_Collections_Generic_ICollectionU3CTU3E_get_IsReadOnly_mA053F23563288859D6FE641C811C6D4B40C2C8E4_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<UnityEngine.Color32>::System.Collections.IList.get_IsReadOnly()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_System_Collections_IList_get_IsReadOnly_mB64FD543ED4A96A3F300A353582714D35C7D7406_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// T System.Collections.Generic.List`1<UnityEngine.Color32>::get_Item(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 List_1_get_Item_m74602D5065A61E9CD06B9CE8D8E80277F673DC0B_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __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:
{
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_2 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
int32_t L_3 = ___index0;
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 L_4 = IL2CPP_ARRAY_UNSAFE_LOAD((Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)L_2, (int32_t)L_3);
return L_4;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::set_Item(System.Int32,T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Item_mB47747B97C6002C102CD51CCB6353C4BD6DE43C0_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, int32_t ___index0, Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 ___value1, 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:
{
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_2 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
int32_t L_3 = ___index0;
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 L_4 = ___value1;
(L_2)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_3), (Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 )L_4);
int32_t L_5 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<UnityEngine.Color32>::IsCompatibleObject(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_IsCompatibleObject_m6761E2CF6C915B7777D11EDCF908C91B76235883_gshared (RuntimeObject * ___value0, const RuntimeMethod* method)
{
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 V_0;
memset((&V_0), 0, sizeof(V_0));
{
RuntimeObject * L_0 = ___value0;
if (((RuntimeObject *)IsInst((RuntimeObject*)L_0, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7))))
{
goto IL_001f;
}
}
{
RuntimeObject * L_1 = ___value0;
if (L_1)
{
goto IL_001d;
}
}
{
il2cpp_codegen_initobj((&V_0), sizeof(Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 ));
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 L_2 = V_0;
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 L_3 = L_2;
RuntimeObject * L_4 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7), &L_3);
return (bool)((((RuntimeObject*)(RuntimeObject *)L_4) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
}
IL_001d:
{
return (bool)0;
}
IL_001f:
{
return (bool)1;
}
}
// System.Object System.Collections.Generic.List`1<UnityEngine.Color32>::System.Collections.IList.get_Item(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * List_1_System_Collections_IList_get_Item_m2D6DBBB5E727CC6D92FEE289C454309B63513450_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 L_1 = (( Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 (*) (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8)->methodPointer)((List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *)__this, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 L_2 = L_1;
RuntimeObject * L_3 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7), &L_2);
return L_3;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::System.Collections.IList.set_Item(System.Int32,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_IList_set_Item_m84BCC5CC727F8FB4F9992F4CF9FE0761E1DA93F6_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, int32_t ___index0, RuntimeObject * ___value1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_set_Item_m84BCC5CC727F8FB4F9992F4CF9FE0761E1DA93F6_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeObject * L_0 = ___value1;
(( void (*) (RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((RuntimeObject *)L_0, (int32_t)((int32_t)15), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___value1;
(( void (*) (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *, int32_t, Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10)->methodPointer)((List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *)__this, (int32_t)L_1, (Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 )((*(Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 *)((Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___value1;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6((RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F((RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::Add(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Add_mA3E5BD2EABC5234D88B4352494C7F062F7727C4A_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = (int32_t)__this->get__size_2();
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_1 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
if ((!(((uint32_t)L_0) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length))))))))
{
goto IL_001e;
}
}
{
int32_t L_2 = (int32_t)__this->get__size_2();
(( void (*) (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_2, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_001e:
{
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_3 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
int32_t L_4 = (int32_t)__this->get__size_2();
V_0 = (int32_t)L_4;
int32_t L_5 = V_0;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
int32_t L_6 = V_0;
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 L_7 = ___item0;
(L_3)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_6), (Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 )L_7);
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.Color32>::System.Collections.IList.Add(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_System_Collections_IList_Add_mEC4AC45B55841C74F73A55802A6C3B8E87565D69_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Add_mEC4AC45B55841C74F73A55802A6C3B8E87565D69_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeObject * L_0 = ___item0;
(( void (*) (RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
RuntimeObject * L_1 = ___item0;
(( void (*) (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *, Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *)__this, (Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 )((*(Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 *)((Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 *)UnBox(L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
goto IL_0029;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0016;
throw e;
}
CATCH_0016:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_2 = ___item0;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_3 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_4 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6((RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D )L_3, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F((RuntimeObject *)L_2, (Type_t *)L_4, /*hidden argument*/NULL);
goto IL_0029;
} // end catch (depth: 1)
IL_0029:
{
int32_t L_5 = (( int32_t (*) (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_5, (int32_t)1));
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::AddRange(System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_AddRange_m3F3F00B6F0C963D9DD6F3409EF67EEAB6C5EF379_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
RuntimeObject* L_1 = ___collection0;
(( void (*) (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14)->methodPointer)((List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *)__this, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::Clear()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Clear_m95E734F1CB5795A41174EF05E654FFBDC78ADA17_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) <= ((int32_t)0)))
{
goto IL_0022;
}
}
{
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_1 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
int32_t L_2 = (int32_t)__this->get__size_2();
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/NULL);
__this->set__size_2(0);
}
IL_0022:
{
int32_t L_3 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<UnityEngine.Color32>::Contains(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_Contains_m552DD648A70D915F4098C4B1E0284CE35FA1AF09_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
EqualityComparer_1_t64516AE22515640CA46E6ACDBB51EB38AE8BA243 * V_1 = NULL;
int32_t V_2 = 0;
{
goto IL_0030;
}
{
V_0 = (int32_t)0;
goto IL_0025;
}
IL_000c:
{
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_1 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
int32_t L_2 = V_0;
int32_t L_3 = L_2;
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 L_4 = (L_1)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_3));
goto IL_0021;
}
{
return (bool)1;
}
IL_0021:
{
int32_t L_5 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1));
}
IL_0025:
{
int32_t L_6 = V_0;
int32_t L_7 = (int32_t)__this->get__size_2();
if ((((int32_t)L_6) < ((int32_t)L_7)))
{
goto IL_000c;
}
}
{
return (bool)0;
}
IL_0030:
{
EqualityComparer_1_t64516AE22515640CA46E6ACDBB51EB38AE8BA243 * L_8 = (( EqualityComparer_1_t64516AE22515640CA46E6ACDBB51EB38AE8BA243 * (*) (const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)(/*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
V_1 = (EqualityComparer_1_t64516AE22515640CA46E6ACDBB51EB38AE8BA243 *)L_8;
V_2 = (int32_t)0;
goto IL_0055;
}
IL_003a:
{
EqualityComparer_1_t64516AE22515640CA46E6ACDBB51EB38AE8BA243 * L_9 = V_1;
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_10 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
int32_t L_11 = V_2;
int32_t L_12 = L_11;
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 L_13 = (L_10)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_12));
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 L_14 = ___item0;
bool L_15 = VirtFuncInvoker2< bool, Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 , Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 >::Invoke(8 /* System.Boolean System.Collections.Generic.EqualityComparer`1<UnityEngine.Color32>::Equals(T,T) */, (EqualityComparer_1_t64516AE22515640CA46E6ACDBB51EB38AE8BA243 *)L_9, (Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 )L_13, (Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 )L_14);
if (!L_15)
{
goto IL_0051;
}
}
{
return (bool)1;
}
IL_0051:
{
int32_t L_16 = V_2;
V_2 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1));
}
IL_0055:
{
int32_t L_17 = V_2;
int32_t L_18 = (int32_t)__this->get__size_2();
if ((((int32_t)L_17) < ((int32_t)L_18)))
{
goto IL_003a;
}
}
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<UnityEngine.Color32>::System.Collections.IList.Contains(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_System_Collections_IList_Contains_mBB7D129EB439258722BACFA4B68F855ED0E95A92_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
bool L_3 = (( bool (*) (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *, Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *)__this, (Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 )((*(Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 *)((Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
return L_3;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::CopyTo(T[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_CopyTo_mA541D2AF522257E3EE1E1FF8DD9932F151843C37_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* ___array0, const RuntimeMethod* method)
{
{
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_0 = ___array0;
(( void (*) (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *, Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20)->methodPointer)((List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *)__this, (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)L_0, (int32_t)0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::System.Collections.ICollection.CopyTo(System.Array,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_ICollection_CopyTo_m64F92858DB2292B81BBDE94E2937E406C04DD3FA_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, RuntimeArray * ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_ICollection_CopyTo_m64F92858DB2292B81BBDE94E2937E406C04DD3FA_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeArray * L_0 = ___array0;
if (!L_0)
{
goto IL_0012;
}
}
{
RuntimeArray * L_1 = ___array0;
int32_t L_2 = Array_get_Rank_m38145B59D67D75F9896A3F8CDA9B966641AE99E1((RuntimeArray *)L_1, /*hidden argument*/NULL);
if ((((int32_t)L_2) == ((int32_t)1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)7, /*hidden argument*/NULL);
}
IL_0012:
{
}
IL_0013:
try
{ // begin try (depth: 1)
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_3 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
RuntimeArray * L_4 = ___array0;
int32_t L_5 = ___arrayIndex1;
int32_t L_6 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_3, (int32_t)0, (RuntimeArray *)L_4, (int32_t)L_5, (int32_t)L_6, /*hidden argument*/NULL);
goto IL_0033;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (ArrayTypeMismatchException_tE34C1032B089C37399200997F079C640D23D9499_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0029;
throw e;
}
CATCH_0029:
{ // begin catch(System.ArrayTypeMismatchException)
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)18), /*hidden argument*/NULL);
goto IL_0033;
} // end catch (depth: 1)
IL_0033:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::CopyTo(System.Int32,T[],System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_CopyTo_m6078BEF933F4B4064148A564ABB48D16F6969D6D_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, int32_t ___index0, Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* ___array1, int32_t ___arrayIndex2, int32_t ___count3, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
int32_t L_1 = ___index0;
int32_t L_2 = ___count3;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_0, (int32_t)L_1))) >= ((int32_t)L_2)))
{
goto IL_0013;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_0013:
{
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_3 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
int32_t L_4 = ___index0;
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_5 = ___array1;
int32_t L_6 = ___arrayIndex2;
int32_t L_7 = ___count3;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_3, (int32_t)L_4, (RuntimeArray *)(RuntimeArray *)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::CopyTo(T[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_CopyTo_m60DA4B5130884D447483ACF84B9A624955A81C41_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
{
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_0 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_1 = ___array0;
int32_t L_2 = ___arrayIndex1;
int32_t L_3 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_0, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)L_2, (int32_t)L_3, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::EnsureCapacity(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_EnsureCapacity_mA01124A8203C9EF917F034F9847CFB3489E81E64_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, int32_t ___min0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t G_B4_0 = 0;
{
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_0 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
int32_t L_1 = ___min0;
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length))))) >= ((int32_t)L_1)))
{
goto IL_003d;
}
}
{
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_2 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
if (!(((RuntimeArray*)L_2)->max_length))
{
goto IL_0020;
}
}
{
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_3 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
G_B4_0 = ((int32_t)il2cpp_codegen_multiply((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length)))), (int32_t)2));
goto IL_0021;
}
IL_0020:
{
G_B4_0 = 4;
}
IL_0021:
{
V_0 = (int32_t)G_B4_0;
int32_t L_4 = V_0;
if ((!(((uint32_t)L_4) > ((uint32_t)((int32_t)2146435071)))))
{
goto IL_0030;
}
}
{
V_0 = (int32_t)((int32_t)2146435071);
}
IL_0030:
{
int32_t L_5 = V_0;
int32_t L_6 = ___min0;
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0036;
}
}
{
int32_t L_7 = ___min0;
V_0 = (int32_t)L_7;
}
IL_0036:
{
int32_t L_8 = V_0;
(( void (*) (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 21)->methodPointer)((List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *)__this, (int32_t)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 21));
}
IL_003d:
{
return;
}
}
// T System.Collections.Generic.List`1<UnityEngine.Color32>::Find(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 List_1_Find_mC09DEB8E43765AE1EB5B9455EFC514779BED1FA9_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, Predicate_1_tA8093CB95EF5DA7B543ABA099527806A0FE5BD4E * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 V_1;
memset((&V_1), 0, sizeof(V_1));
{
Predicate_1_tA8093CB95EF5DA7B543ABA099527806A0FE5BD4E * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0032;
}
IL_000d:
{
Predicate_1_tA8093CB95EF5DA7B543ABA099527806A0FE5BD4E * L_1 = ___match0;
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_2 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
int32_t L_3 = V_0;
int32_t L_4 = L_3;
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 L_5 = (L_2)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_4));
bool L_6 = (( bool (*) (Predicate_1_tA8093CB95EF5DA7B543ABA099527806A0FE5BD4E *, Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_tA8093CB95EF5DA7B543ABA099527806A0FE5BD4E *)L_1, (Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 )L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_6)
{
goto IL_002e;
}
}
{
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_7 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
int32_t L_8 = V_0;
int32_t L_9 = L_8;
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 L_10 = (L_7)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_9));
return L_10;
}
IL_002e:
{
int32_t L_11 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)1));
}
IL_0032:
{
int32_t L_12 = V_0;
int32_t L_13 = (int32_t)__this->get__size_2();
if ((((int32_t)L_12) < ((int32_t)L_13)))
{
goto IL_000d;
}
}
{
il2cpp_codegen_initobj((&V_1), sizeof(Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 ));
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 L_14 = V_1;
return L_14;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.Color32>::FindIndex(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_FindIndex_mA31B401951398B527E3BC544C0F480797DEBA665_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, Predicate_1_tA8093CB95EF5DA7B543ABA099527806A0FE5BD4E * ___match0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
Predicate_1_tA8093CB95EF5DA7B543ABA099527806A0FE5BD4E * L_1 = ___match0;
int32_t L_2 = (( int32_t (*) (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *, int32_t, int32_t, Predicate_1_tA8093CB95EF5DA7B543ABA099527806A0FE5BD4E *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23)->methodPointer)((List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *)__this, (int32_t)0, (int32_t)L_0, (Predicate_1_tA8093CB95EF5DA7B543ABA099527806A0FE5BD4E *)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23));
return L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.Color32>::FindIndex(System.Int32,System.Int32,System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_FindIndex_m1D507303FD16860D2DA84D3AB6D619C03514E2D4_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, int32_t ___startIndex0, int32_t ___count1, Predicate_1_tA8093CB95EF5DA7B543ABA099527806A0FE5BD4E * ___match2, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
int32_t L_0 = ___startIndex0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) > ((uint32_t)L_1))))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)14), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___count1;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0021;
}
}
{
int32_t L_3 = ___startIndex0;
int32_t L_4 = (int32_t)__this->get__size_2();
int32_t L_5 = ___count1;
if ((((int32_t)L_3) <= ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_4, (int32_t)L_5)))))
{
goto IL_002a;
}
}
IL_0021:
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)((int32_t)25), /*hidden argument*/NULL);
}
IL_002a:
{
Predicate_1_tA8093CB95EF5DA7B543ABA099527806A0FE5BD4E * L_6 = ___match2;
if (L_6)
{
goto IL_0033;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0033:
{
int32_t L_7 = ___startIndex0;
int32_t L_8 = ___count1;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_7, (int32_t)L_8));
int32_t L_9 = ___startIndex0;
V_1 = (int32_t)L_9;
goto IL_0055;
}
IL_003b:
{
Predicate_1_tA8093CB95EF5DA7B543ABA099527806A0FE5BD4E * L_10 = ___match2;
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_11 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
int32_t L_12 = V_1;
int32_t L_13 = L_12;
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 L_14 = (L_11)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_13));
bool L_15 = (( bool (*) (Predicate_1_tA8093CB95EF5DA7B543ABA099527806A0FE5BD4E *, Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_tA8093CB95EF5DA7B543ABA099527806A0FE5BD4E *)L_10, (Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 )L_14, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_15)
{
goto IL_0051;
}
}
{
int32_t L_16 = V_1;
return L_16;
}
IL_0051:
{
int32_t L_17 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1));
}
IL_0055:
{
int32_t L_18 = V_1;
int32_t L_19 = V_0;
if ((((int32_t)L_18) < ((int32_t)L_19)))
{
goto IL_003b;
}
}
{
return (-1);
}
}
// System.Collections.Generic.List`1_Enumerator<T> System.Collections.Generic.List`1<UnityEngine.Color32>::GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Enumerator_t76470F82B2EDDF9F880C98421781A48D36D3382A List_1_GetEnumerator_m71408931835CDCA7CCB894EA8ADD8FC14A31C8CF_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, const RuntimeMethod* method)
{
{
Enumerator_t76470F82B2EDDF9F880C98421781A48D36D3382A L_0;
memset((&L_0), 0, sizeof(L_0));
Enumerator__ctor_m70142101C8067D2910AB738F5CA4A3A31D88654D((&L_0), (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
return L_0;
}
}
// System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.List`1<UnityEngine.Color32>::System.Collections.Generic.IEnumerable<T>.GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* List_1_System_Collections_Generic_IEnumerableU3CTU3E_GetEnumerator_m313234F762663DF0A598E5A1EB1A6113A1F74C0D_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, const RuntimeMethod* method)
{
{
Enumerator_t76470F82B2EDDF9F880C98421781A48D36D3382A L_0;
memset((&L_0), 0, sizeof(L_0));
Enumerator__ctor_m70142101C8067D2910AB738F5CA4A3A31D88654D((&L_0), (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
Enumerator_t76470F82B2EDDF9F880C98421781A48D36D3382A L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 24), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Collections.IEnumerator System.Collections.Generic.List`1<UnityEngine.Color32>::System.Collections.IEnumerable.GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* List_1_System_Collections_IEnumerable_GetEnumerator_mB6A6EA36390428DB88DC2405144587B994CEA17E_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, const RuntimeMethod* method)
{
{
Enumerator_t76470F82B2EDDF9F880C98421781A48D36D3382A L_0;
memset((&L_0), 0, sizeof(L_0));
Enumerator__ctor_m70142101C8067D2910AB738F5CA4A3A31D88654D((&L_0), (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
Enumerator_t76470F82B2EDDF9F880C98421781A48D36D3382A L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 24), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.Color32>::IndexOf(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_IndexOf_m596198BEAD84213B006290AD7BFE829280293D1A_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 ___item0, const RuntimeMethod* method)
{
{
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_0 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 L_1 = ___item0;
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = (( int32_t (*) (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*, Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 , int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)L_0, (Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 )L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
return L_3;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.Color32>::System.Collections.IList.IndexOf(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_System_Collections_IList_IndexOf_m6C9CD88232C228485EF3DBB94AE59BE5F5C75C9B_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
int32_t L_3 = (( int32_t (*) (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *, Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *)__this, (Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 )((*(Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 *)((Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
return L_3;
}
IL_0015:
{
return (-1);
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::Insert(System.Int32,T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Insert_mACB9B10AB1F9D93008F3C9C9C9538ADFD14FBE54_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, int32_t ___index0, Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 ___item1, 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_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)((int32_t)27), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = (int32_t)__this->get__size_2();
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_3 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
if ((!(((uint32_t)L_2) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length))))))))
{
goto IL_0030;
}
}
{
int32_t L_4 = (int32_t)__this->get__size_2();
(( void (*) (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_0030:
{
int32_t L_5 = ___index0;
int32_t L_6 = (int32_t)__this->get__size_2();
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0056;
}
}
{
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_7 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
int32_t L_8 = ___index0;
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_9 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
int32_t L_12 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (RuntimeArray *)(RuntimeArray *)L_9, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_11, (int32_t)L_12)), /*hidden argument*/NULL);
}
IL_0056:
{
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_13 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
int32_t L_14 = ___index0;
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 L_15 = ___item1;
(L_13)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_14), (Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 )L_15);
int32_t L_16 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1)));
int32_t L_17 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::System.Collections.IList.Insert(System.Int32,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_IList_Insert_m83DF13DE42CE00E05C2333B3993323FE449A6773_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, int32_t ___index0, RuntimeObject * ___item1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Insert_m83DF13DE42CE00E05C2333B3993323FE449A6773_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeObject * L_0 = ___item1;
(( void (*) (RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___item1;
(( void (*) (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *, int32_t, Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *)__this, (int32_t)L_1, (Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 )((*(Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 *)((Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___item1;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6((RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F((RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::InsertRange(System.Int32,System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_InsertRange_m31BC754FAF67E8E3FA6A872F5DA284C649E14BA5_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, int32_t ___index0, RuntimeObject* ___collection1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_InsertRange_m31BC754FAF67E8E3FA6A872F5DA284C649E14BA5_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
RuntimeObject* V_2 = 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);
{
RuntimeObject* L_0 = ___collection1;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)6, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = ___index0;
int32_t L_2 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_1) > ((uint32_t)L_2))))
{
goto IL_001b;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_001b:
{
RuntimeObject* L_3 = ___collection1;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_3, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_4 = V_0;
if (!L_4)
{
goto IL_00c0;
}
}
{
RuntimeObject* L_5 = V_0;
int32_t L_6 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<UnityEngine.Color32>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_5);
V_1 = (int32_t)L_6;
int32_t L_7 = V_1;
if ((((int32_t)L_7) <= ((int32_t)0)))
{
goto IL_00ef;
}
}
{
int32_t L_8 = (int32_t)__this->get__size_2();
int32_t L_9 = V_1;
(( void (*) (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)L_9)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) >= ((int32_t)L_11)))
{
goto IL_006a;
}
}
{
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_12 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
int32_t L_13 = ___index0;
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_14 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
int32_t L_15 = ___index0;
int32_t L_16 = V_1;
int32_t L_17 = (int32_t)__this->get__size_2();
int32_t L_18 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_12, (int32_t)L_13, (RuntimeArray *)(RuntimeArray *)L_14, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_15, (int32_t)L_16)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_17, (int32_t)L_18)), /*hidden argument*/NULL);
}
IL_006a:
{
RuntimeObject* L_19 = V_0;
if ((!(((RuntimeObject*)(List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *)__this) == ((RuntimeObject*)(RuntimeObject*)L_19))))
{
goto IL_00a3;
}
}
{
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_20 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_21 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
int32_t L_22 = ___index0;
int32_t L_23 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_20, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_21, (int32_t)L_22, (int32_t)L_23, /*hidden argument*/NULL);
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_24 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
int32_t L_25 = ___index0;
int32_t L_26 = V_1;
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_27 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
int32_t L_28 = ___index0;
int32_t L_29 = (int32_t)__this->get__size_2();
int32_t L_30 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_24, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_25, (int32_t)L_26)), (RuntimeArray *)(RuntimeArray *)L_27, (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_28, (int32_t)2)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_29, (int32_t)L_30)), /*hidden argument*/NULL);
goto IL_00b0;
}
IL_00a3:
{
RuntimeObject* L_31 = V_0;
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_32 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
int32_t L_33 = ___index0;
InterfaceActionInvoker2< Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<UnityEngine.Color32>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_31, (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)L_32, (int32_t)L_33);
}
IL_00b0:
{
int32_t L_34 = (int32_t)__this->get__size_2();
int32_t L_35 = V_1;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_34, (int32_t)L_35)));
goto IL_00ef;
}
IL_00c0:
{
RuntimeObject* L_36 = ___collection1;
RuntimeObject* L_37 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<UnityEngine.Color32>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_36);
V_2 = (RuntimeObject*)L_37;
}
IL_00c7:
try
{ // begin try (depth: 1)
{
goto IL_00db;
}
IL_00c9:
{
int32_t L_38 = ___index0;
int32_t L_39 = (int32_t)L_38;
___index0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_39, (int32_t)1));
RuntimeObject* L_40 = V_2;
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 L_41 = InterfaceFuncInvoker0< Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<UnityEngine.Color32>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_40);
(( void (*) (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *, int32_t, Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *)__this, (int32_t)L_39, (Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 )L_41, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_00db:
{
RuntimeObject* L_42 = V_2;
bool L_43 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, (RuntimeObject*)L_42);
if (L_43)
{
goto IL_00c9;
}
}
IL_00e3:
{
IL2CPP_LEAVE(0xEF, FINALLY_00e5);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00e5;
}
FINALLY_00e5:
{ // begin finally (depth: 1)
{
RuntimeObject* L_44 = V_2;
if (!L_44)
{
goto IL_00ee;
}
}
IL_00e8:
{
RuntimeObject* L_45 = V_2;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, (RuntimeObject*)L_45);
}
IL_00ee:
{
IL2CPP_END_FINALLY(229)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(229)
{
IL2CPP_JUMP_TBL(0xEF, IL_00ef)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00ef:
{
int32_t L_46 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_46, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<UnityEngine.Color32>::Remove(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_Remove_m1990B503D3745E547659C891CE0FDA28C4F543ED_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 L_0 = ___item0;
int32_t L_1 = (( int32_t (*) (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *, Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *)__this, (Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
V_0 = (int32_t)L_1;
int32_t L_2 = V_0;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0015;
}
}
{
int32_t L_3 = V_0;
(( void (*) (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29)->methodPointer)((List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *)__this, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29));
return (bool)1;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::System.Collections.IList.Remove(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_IList_Remove_mF9F89967ACEED668ED42BCC126E0709F98259455_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
(( bool (*) (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *, Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30)->methodPointer)((List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *)__this, (Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 )((*(Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 *)((Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
}
IL_0015:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.Color32>::RemoveAll(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_RemoveAll_m9E7A655E452436880877CEC92DB4392869A4090C_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, Predicate_1_tA8093CB95EF5DA7B543ABA099527806A0FE5BD4E * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
Predicate_1_tA8093CB95EF5DA7B543ABA099527806A0FE5BD4E * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0011;
}
IL_000d:
{
int32_t L_1 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_1, (int32_t)1));
}
IL_0011:
{
int32_t L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__size_2();
if ((((int32_t)L_2) >= ((int32_t)L_3)))
{
goto IL_002e;
}
}
{
Predicate_1_tA8093CB95EF5DA7B543ABA099527806A0FE5BD4E * L_4 = ___match0;
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_5 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
int32_t L_6 = V_0;
int32_t L_7 = L_6;
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 L_8 = (L_5)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_7));
bool L_9 = (( bool (*) (Predicate_1_tA8093CB95EF5DA7B543ABA099527806A0FE5BD4E *, Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_tA8093CB95EF5DA7B543ABA099527806A0FE5BD4E *)L_4, (Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 )L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_9)
{
goto IL_000d;
}
}
IL_002e:
{
int32_t L_10 = V_0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) < ((int32_t)L_11)))
{
goto IL_0039;
}
}
{
return 0;
}
IL_0039:
{
int32_t L_12 = V_0;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1));
goto IL_0089;
}
IL_003f:
{
int32_t L_13 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_13, (int32_t)1));
}
IL_0043:
{
int32_t L_14 = V_1;
int32_t L_15 = (int32_t)__this->get__size_2();
if ((((int32_t)L_14) >= ((int32_t)L_15)))
{
goto IL_0060;
}
}
{
Predicate_1_tA8093CB95EF5DA7B543ABA099527806A0FE5BD4E * L_16 = ___match0;
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_17 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
int32_t L_18 = V_1;
int32_t L_19 = L_18;
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 L_20 = (L_17)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_19));
bool L_21 = (( bool (*) (Predicate_1_tA8093CB95EF5DA7B543ABA099527806A0FE5BD4E *, Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_tA8093CB95EF5DA7B543ABA099527806A0FE5BD4E *)L_16, (Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 )L_20, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (L_21)
{
goto IL_003f;
}
}
IL_0060:
{
int32_t L_22 = V_1;
int32_t L_23 = (int32_t)__this->get__size_2();
if ((((int32_t)L_22) >= ((int32_t)L_23)))
{
goto IL_0089;
}
}
{
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_24 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
int32_t L_25 = V_0;
int32_t L_26 = (int32_t)L_25;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_26, (int32_t)1));
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_27 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
int32_t L_28 = V_1;
int32_t L_29 = (int32_t)L_28;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_29, (int32_t)1));
int32_t L_30 = L_29;
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 L_31 = (L_27)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_30));
(L_24)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_26), (Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 )L_31);
}
IL_0089:
{
int32_t L_32 = V_1;
int32_t L_33 = (int32_t)__this->get__size_2();
if ((((int32_t)L_32) < ((int32_t)L_33)))
{
goto IL_0043;
}
}
{
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_34 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
int32_t L_35 = V_0;
int32_t L_36 = (int32_t)__this->get__size_2();
int32_t L_37 = V_0;
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_34, (int32_t)L_35, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_36, (int32_t)L_37)), /*hidden argument*/NULL);
int32_t L_38 = (int32_t)__this->get__size_2();
int32_t L_39 = V_0;
int32_t L_40 = V_0;
__this->set__size_2(L_40);
int32_t L_41 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_41, (int32_t)1)));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_38, (int32_t)L_39));
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::RemoveAt(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_RemoveAt_m32934CFF20D4EFC4E94BB2220847C23E1ABD2CC8_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, int32_t ___index0, const RuntimeMethod* method)
{
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 V_0;
memset((&V_0), 0, sizeof(V_0));
{
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:
{
int32_t L_2 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)1)));
int32_t L_3 = ___index0;
int32_t L_4 = (int32_t)__this->get__size_2();
if ((((int32_t)L_3) >= ((int32_t)L_4)))
{
goto IL_0042;
}
}
{
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_5 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
int32_t L_6 = ___index0;
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_7 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
int32_t L_10 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_5, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)1)), (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)L_10)), /*hidden argument*/NULL);
}
IL_0042:
{
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_11 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
int32_t L_12 = (int32_t)__this->get__size_2();
il2cpp_codegen_initobj((&V_0), sizeof(Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 ));
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 L_13 = V_0;
(L_11)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_12), (Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 )L_13);
int32_t L_14 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_14, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::RemoveRange(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_RemoveRange_m0D8A028E7C3198BA3FBA77B2142B030068B5DBF8_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
int32_t L_5 = ___count1;
if ((((int32_t)L_5) <= ((int32_t)0)))
{
goto IL_0082;
}
}
{
int32_t L_6 = (int32_t)__this->get__size_2();
int32_t L_7 = ___count1;
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)L_7)));
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
if ((((int32_t)L_8) >= ((int32_t)L_9)))
{
goto IL_0062;
}
}
{
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_10 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
int32_t L_11 = ___index0;
int32_t L_12 = ___count1;
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_13 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
int32_t L_14 = ___index0;
int32_t L_15 = (int32_t)__this->get__size_2();
int32_t L_16 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_10, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)L_12)), (RuntimeArray *)(RuntimeArray *)L_13, (int32_t)L_14, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_15, (int32_t)L_16)), /*hidden argument*/NULL);
}
IL_0062:
{
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_17 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
int32_t L_18 = (int32_t)__this->get__size_2();
int32_t L_19 = ___count1;
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_17, (int32_t)L_18, (int32_t)L_19, /*hidden argument*/NULL);
int32_t L_20 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_20, (int32_t)1)));
}
IL_0082:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::Reverse()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Reverse_mB43EF04A61DD9008FEF93B247142AEDE6810AC6E_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (( int32_t (*) (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
(( void (*) (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31)->methodPointer)((List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *)__this, (int32_t)0, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::Reverse(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Reverse_mBC69DD1AF99B44B2A92E2F738685E610E11F9EBB_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_5 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
(( void (*) (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32)->methodPointer)((Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::Sort(System.Collections.Generic.IComparer`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_m473F26A8DA3E526AABB4DF61322F0D35014D90A4_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, RuntimeObject* ___comparer0, const RuntimeMethod* method)
{
{
int32_t L_0 = (( int32_t (*) (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
RuntimeObject* L_1 = ___comparer0;
(( void (*) (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *)__this, (int32_t)0, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_mE5E87F5D346823531383C8C01F821089906940EC_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, int32_t ___index0, int32_t ___count1, RuntimeObject* ___comparer2, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_5 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
RuntimeObject* L_8 = ___comparer2;
(( void (*) (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)L_5, (int32_t)L_6, (int32_t)L_7, (RuntimeObject*)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
int32_t L_9 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::Sort(System.Comparison`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_mB7745F44AF0A843F93B7733649F100A2191C1DD8_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, Comparison_1_t54C69F0A1CCDDEC074608AA299DD5E8D7A326BF8 * ___comparison0, const RuntimeMethod* method)
{
{
Comparison_1_t54C69F0A1CCDDEC074608AA299DD5E8D7A326BF8 * L_0 = ___comparison0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_1) <= ((int32_t)0)))
{
goto IL_0025;
}
}
{
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_2 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
int32_t L_3 = (int32_t)__this->get__size_2();
Comparison_1_t54C69F0A1CCDDEC074608AA299DD5E8D7A326BF8 * L_4 = ___comparison0;
(( void (*) (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*, int32_t, int32_t, Comparison_1_t54C69F0A1CCDDEC074608AA299DD5E8D7A326BF8 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35)->methodPointer)((Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)L_2, (int32_t)0, (int32_t)L_3, (Comparison_1_t54C69F0A1CCDDEC074608AA299DD5E8D7A326BF8 *)L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35));
}
IL_0025:
{
return;
}
}
// T[] System.Collections.Generic.List`1<UnityEngine.Color32>::ToArray()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* List_1_ToArray_mD9FA9BB9B914301879468B4FA31B7EF6055809B9_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, const RuntimeMethod* method)
{
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* V_0 = NULL;
{
int32_t L_0 = (int32_t)__this->get__size_2();
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_1 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)(Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_0);
V_0 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)L_1;
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_2 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_3 = V_0;
int32_t L_4 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_2, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_3, (int32_t)0, (int32_t)L_4, /*hidden argument*/NULL);
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_5 = V_0;
return L_5;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__cctor_mE64AFF1BA1ABB7BB7DF3E672C55D5BE6824A39CF_gshared (const RuntimeMethod* method)
{
{
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_0 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)(Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)SZArrayNew(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 1), (uint32_t)0);
((List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set__emptyArray_5(L_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.Void System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m348AEDFD8CF39B720D58C70279BABA7CF0364A6C_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0((RuntimeObject *)__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_0 = ((List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_0);
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m68DE853EF0F7EB7BBC2340EE9E2D360D51867B4E_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, int32_t ___capacity0, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0((RuntimeObject *)__this, /*hidden argument*/NULL);
int32_t L_0 = ___capacity0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)12), (int32_t)4, /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_1 = ___capacity0;
if (L_1)
{
goto IL_0021;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_2 = ((List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_2);
return;
}
IL_0021:
{
int32_t L_3 = ___capacity0;
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_4 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)(RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_3);
__this->set__items_1(L_4);
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::.ctor(System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_mA818A46D4C5A5B6CE1C8765A99AB5D6302567A1B_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1__ctor_mA818A46D4C5A5B6CE1C8765A99AB5D6302567A1B_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
RuntimeObject* V_2 = 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);
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0((RuntimeObject *)__this, /*hidden argument*/NULL);
RuntimeObject* L_0 = ___collection0;
if (L_0)
{
goto IL_000f;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)6, /*hidden argument*/NULL);
}
IL_000f:
{
RuntimeObject* L_1 = ___collection0;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_2 = V_0;
if (!L_2)
{
goto IL_0050;
}
}
{
RuntimeObject* L_3 = V_0;
int32_t L_4 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<UnityEngine.EventSystems.RaycastResult>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_3);
V_1 = (int32_t)L_4;
int32_t L_5 = V_1;
if (L_5)
{
goto IL_002f;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_6 = ((List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_6);
return;
}
IL_002f:
{
int32_t L_7 = V_1;
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_8 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)(RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_7);
__this->set__items_1(L_8);
RuntimeObject* L_9 = V_0;
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_10 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
InterfaceActionInvoker2< RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<UnityEngine.EventSystems.RaycastResult>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_9, (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)L_10, (int32_t)0);
int32_t L_11 = V_1;
__this->set__size_2(L_11);
return;
}
IL_0050:
{
__this->set__size_2(0);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_12 = ((List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_12);
RuntimeObject* L_13 = ___collection0;
RuntimeObject* L_14 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<UnityEngine.EventSystems.RaycastResult>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_13);
V_2 = (RuntimeObject*)L_14;
}
IL_0069:
try
{ // begin try (depth: 1)
{
goto IL_0077;
}
IL_006b:
{
RuntimeObject* L_15 = V_2;
RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 L_16 = InterfaceFuncInvoker0< RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<UnityEngine.EventSystems.RaycastResult>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_15);
(( void (*) (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *, RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *)__this, (RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 )L_16, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
}
IL_0077:
{
RuntimeObject* L_17 = V_2;
bool L_18 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, (RuntimeObject*)L_17);
if (L_18)
{
goto IL_006b;
}
}
IL_007f:
{
IL2CPP_LEAVE(0x8B, FINALLY_0081);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0081;
}
FINALLY_0081:
{ // begin finally (depth: 1)
{
RuntimeObject* L_19 = V_2;
if (!L_19)
{
goto IL_008a;
}
}
IL_0084:
{
RuntimeObject* L_20 = V_2;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, (RuntimeObject*)L_20);
}
IL_008a:
{
IL2CPP_END_FINALLY(129)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(129)
{
IL2CPP_JUMP_TBL(0x8B, IL_008b)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_008b:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::get_Capacity()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_get_Capacity_m5EDA6F6107BBF1CD7BF0C6EE53EA18730FC192D7_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, const RuntimeMethod* method)
{
{
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_0 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
return (((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length))));
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::set_Capacity(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Capacity_m39937E8B496F9BE297B50704B6A20D29538C75CB_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, int32_t ___value0, const RuntimeMethod* method)
{
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* V_0 = NULL;
{
int32_t L_0 = ___value0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) >= ((int32_t)L_1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)15), (int32_t)((int32_t)21), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___value0;
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_3 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
if ((((int32_t)L_2) == ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length)))))))
{
goto IL_0058;
}
}
{
int32_t L_4 = ___value0;
if ((((int32_t)L_4) <= ((int32_t)0)))
{
goto IL_004d;
}
}
{
int32_t L_5 = ___value0;
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_6 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)(RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_5);
V_0 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)L_6;
int32_t L_7 = (int32_t)__this->get__size_2();
if ((((int32_t)L_7) <= ((int32_t)0)))
{
goto IL_0045;
}
}
{
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_8 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_9 = V_0;
int32_t L_10 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_8, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_9, (int32_t)0, (int32_t)L_10, /*hidden argument*/NULL);
}
IL_0045:
{
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_11 = V_0;
__this->set__items_1(L_11);
return;
}
IL_004d:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_12 = ((List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_12);
}
IL_0058:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::get_Count()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m3CE6A18703ABFF7312511F654475662716BF8F51_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
return L_0;
}
}
// System.Boolean System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::System.Collections.Generic.ICollection<T>.get_IsReadOnly()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_System_Collections_Generic_ICollectionU3CTU3E_get_IsReadOnly_m3C756DDA6B40874FDDA50EAD7CA4A8BDC819BE42_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::System.Collections.IList.get_IsReadOnly()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_System_Collections_IList_get_IsReadOnly_m74E57358B236D60B9787931A8B77B4892501D6F0_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// T System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::get_Item(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 List_1_get_Item_m2A56C2A02EB54A7A40292117D706176EB29A9CF6_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __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:
{
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_2 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
int32_t L_3 = ___index0;
RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 L_4 = IL2CPP_ARRAY_UNSAFE_LOAD((RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)L_2, (int32_t)L_3);
return L_4;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::set_Item(System.Int32,T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Item_m75FA2B2D989614311520B3102AB87577FE080213_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, int32_t ___index0, RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 ___value1, 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:
{
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_2 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
int32_t L_3 = ___index0;
RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 L_4 = ___value1;
(L_2)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_3), (RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 )L_4);
int32_t L_5 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::IsCompatibleObject(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_IsCompatibleObject_m96C0F06556DDEC75D535E1C3D169354ACD115482_gshared (RuntimeObject * ___value0, const RuntimeMethod* method)
{
RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 V_0;
memset((&V_0), 0, sizeof(V_0));
{
RuntimeObject * L_0 = ___value0;
if (((RuntimeObject *)IsInst((RuntimeObject*)L_0, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7))))
{
goto IL_001f;
}
}
{
RuntimeObject * L_1 = ___value0;
if (L_1)
{
goto IL_001d;
}
}
{
il2cpp_codegen_initobj((&V_0), sizeof(RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 ));
RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 L_2 = V_0;
RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 L_3 = L_2;
RuntimeObject * L_4 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7), &L_3);
return (bool)((((RuntimeObject*)(RuntimeObject *)L_4) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
}
IL_001d:
{
return (bool)0;
}
IL_001f:
{
return (bool)1;
}
}
// System.Object System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::System.Collections.IList.get_Item(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * List_1_System_Collections_IList_get_Item_m83A43037DCF2C1EBF956F7ABC8E049012B3385EB_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 L_1 = (( RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 (*) (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8)->methodPointer)((List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *)__this, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 L_2 = L_1;
RuntimeObject * L_3 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7), &L_2);
return L_3;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::System.Collections.IList.set_Item(System.Int32,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_IList_set_Item_mCA7671A0355D1C006E1A8ED6ED8C21EAC4B40DE4_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, int32_t ___index0, RuntimeObject * ___value1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_set_Item_mCA7671A0355D1C006E1A8ED6ED8C21EAC4B40DE4_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeObject * L_0 = ___value1;
(( void (*) (RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((RuntimeObject *)L_0, (int32_t)((int32_t)15), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___value1;
(( void (*) (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *, int32_t, RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10)->methodPointer)((List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *)__this, (int32_t)L_1, (RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 )((*(RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 *)((RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___value1;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6((RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F((RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::Add(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Add_m7DCB84D89B15944C08B73F13E91B780624023F37_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = (int32_t)__this->get__size_2();
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_1 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
if ((!(((uint32_t)L_0) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length))))))))
{
goto IL_001e;
}
}
{
int32_t L_2 = (int32_t)__this->get__size_2();
(( void (*) (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_2, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_001e:
{
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_3 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
int32_t L_4 = (int32_t)__this->get__size_2();
V_0 = (int32_t)L_4;
int32_t L_5 = V_0;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
int32_t L_6 = V_0;
RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 L_7 = ___item0;
(L_3)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_6), (RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 )L_7);
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::System.Collections.IList.Add(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_System_Collections_IList_Add_mBFC71BB05E308470008CC2F9E919CC6630B934DA_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Add_mBFC71BB05E308470008CC2F9E919CC6630B934DA_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeObject * L_0 = ___item0;
(( void (*) (RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
RuntimeObject * L_1 = ___item0;
(( void (*) (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *, RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *)__this, (RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 )((*(RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 *)((RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 *)UnBox(L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
goto IL_0029;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0016;
throw e;
}
CATCH_0016:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_2 = ___item0;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_3 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_4 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6((RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D )L_3, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F((RuntimeObject *)L_2, (Type_t *)L_4, /*hidden argument*/NULL);
goto IL_0029;
} // end catch (depth: 1)
IL_0029:
{
int32_t L_5 = (( int32_t (*) (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_5, (int32_t)1));
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::AddRange(System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_AddRange_mCD41BEE7C36E791D0A038D80C4245BCEE58A93A9_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
RuntimeObject* L_1 = ___collection0;
(( void (*) (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14)->methodPointer)((List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *)__this, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::Clear()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Clear_mD6A4F201FB5F0713480F9CAF35A9646F08B56CB2_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) <= ((int32_t)0)))
{
goto IL_0022;
}
}
{
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_1 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
int32_t L_2 = (int32_t)__this->get__size_2();
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/NULL);
__this->set__size_2(0);
}
IL_0022:
{
int32_t L_3 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::Contains(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_Contains_m1988173A2EAF7D7CA50A83C313E4548E7F184ABF_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
EqualityComparer_1_t4814B5237F2155B9F52EA643AB3CCEBDC093964A * V_1 = NULL;
int32_t V_2 = 0;
{
goto IL_0030;
}
{
V_0 = (int32_t)0;
goto IL_0025;
}
IL_000c:
{
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_1 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
int32_t L_2 = V_0;
int32_t L_3 = L_2;
RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 L_4 = (L_1)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_3));
goto IL_0021;
}
{
return (bool)1;
}
IL_0021:
{
int32_t L_5 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1));
}
IL_0025:
{
int32_t L_6 = V_0;
int32_t L_7 = (int32_t)__this->get__size_2();
if ((((int32_t)L_6) < ((int32_t)L_7)))
{
goto IL_000c;
}
}
{
return (bool)0;
}
IL_0030:
{
EqualityComparer_1_t4814B5237F2155B9F52EA643AB3CCEBDC093964A * L_8 = (( EqualityComparer_1_t4814B5237F2155B9F52EA643AB3CCEBDC093964A * (*) (const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)(/*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
V_1 = (EqualityComparer_1_t4814B5237F2155B9F52EA643AB3CCEBDC093964A *)L_8;
V_2 = (int32_t)0;
goto IL_0055;
}
IL_003a:
{
EqualityComparer_1_t4814B5237F2155B9F52EA643AB3CCEBDC093964A * L_9 = V_1;
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_10 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
int32_t L_11 = V_2;
int32_t L_12 = L_11;
RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 L_13 = (L_10)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_12));
RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 L_14 = ___item0;
bool L_15 = VirtFuncInvoker2< bool, RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 , RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 >::Invoke(8 /* System.Boolean System.Collections.Generic.EqualityComparer`1<UnityEngine.EventSystems.RaycastResult>::Equals(T,T) */, (EqualityComparer_1_t4814B5237F2155B9F52EA643AB3CCEBDC093964A *)L_9, (RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 )L_13, (RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 )L_14);
if (!L_15)
{
goto IL_0051;
}
}
{
return (bool)1;
}
IL_0051:
{
int32_t L_16 = V_2;
V_2 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1));
}
IL_0055:
{
int32_t L_17 = V_2;
int32_t L_18 = (int32_t)__this->get__size_2();
if ((((int32_t)L_17) < ((int32_t)L_18)))
{
goto IL_003a;
}
}
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::System.Collections.IList.Contains(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_System_Collections_IList_Contains_m9D8CA9A8E61430FB48AFD903AF6E753573211A0F_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
bool L_3 = (( bool (*) (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *, RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *)__this, (RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 )((*(RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 *)((RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
return L_3;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::CopyTo(T[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_CopyTo_m8734413C04AC138431EDBC0F68522F021961AB1C_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* ___array0, const RuntimeMethod* method)
{
{
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_0 = ___array0;
(( void (*) (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *, RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20)->methodPointer)((List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *)__this, (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)L_0, (int32_t)0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::System.Collections.ICollection.CopyTo(System.Array,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_ICollection_CopyTo_mC5A748367EE915BE0D8240D5C980A8940F3632DD_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, RuntimeArray * ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_ICollection_CopyTo_mC5A748367EE915BE0D8240D5C980A8940F3632DD_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeArray * L_0 = ___array0;
if (!L_0)
{
goto IL_0012;
}
}
{
RuntimeArray * L_1 = ___array0;
int32_t L_2 = Array_get_Rank_m38145B59D67D75F9896A3F8CDA9B966641AE99E1((RuntimeArray *)L_1, /*hidden argument*/NULL);
if ((((int32_t)L_2) == ((int32_t)1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)7, /*hidden argument*/NULL);
}
IL_0012:
{
}
IL_0013:
try
{ // begin try (depth: 1)
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_3 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
RuntimeArray * L_4 = ___array0;
int32_t L_5 = ___arrayIndex1;
int32_t L_6 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_3, (int32_t)0, (RuntimeArray *)L_4, (int32_t)L_5, (int32_t)L_6, /*hidden argument*/NULL);
goto IL_0033;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (ArrayTypeMismatchException_tE34C1032B089C37399200997F079C640D23D9499_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0029;
throw e;
}
CATCH_0029:
{ // begin catch(System.ArrayTypeMismatchException)
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)18), /*hidden argument*/NULL);
goto IL_0033;
} // end catch (depth: 1)
IL_0033:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::CopyTo(System.Int32,T[],System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_CopyTo_m78BB1D916684D124F0AB5A86D32112AB0036BAC9_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, int32_t ___index0, RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* ___array1, int32_t ___arrayIndex2, int32_t ___count3, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
int32_t L_1 = ___index0;
int32_t L_2 = ___count3;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_0, (int32_t)L_1))) >= ((int32_t)L_2)))
{
goto IL_0013;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_0013:
{
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_3 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
int32_t L_4 = ___index0;
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_5 = ___array1;
int32_t L_6 = ___arrayIndex2;
int32_t L_7 = ___count3;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_3, (int32_t)L_4, (RuntimeArray *)(RuntimeArray *)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::CopyTo(T[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_CopyTo_m4E507744C01B55545FBFE0FD249573C14738EC5B_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
{
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_0 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_1 = ___array0;
int32_t L_2 = ___arrayIndex1;
int32_t L_3 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_0, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)L_2, (int32_t)L_3, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::EnsureCapacity(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_EnsureCapacity_m506CA92343171A7F59EF9C8E2A566236CC54323D_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, int32_t ___min0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t G_B4_0 = 0;
{
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_0 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
int32_t L_1 = ___min0;
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length))))) >= ((int32_t)L_1)))
{
goto IL_003d;
}
}
{
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_2 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
if (!(((RuntimeArray*)L_2)->max_length))
{
goto IL_0020;
}
}
{
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_3 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
G_B4_0 = ((int32_t)il2cpp_codegen_multiply((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length)))), (int32_t)2));
goto IL_0021;
}
IL_0020:
{
G_B4_0 = 4;
}
IL_0021:
{
V_0 = (int32_t)G_B4_0;
int32_t L_4 = V_0;
if ((!(((uint32_t)L_4) > ((uint32_t)((int32_t)2146435071)))))
{
goto IL_0030;
}
}
{
V_0 = (int32_t)((int32_t)2146435071);
}
IL_0030:
{
int32_t L_5 = V_0;
int32_t L_6 = ___min0;
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0036;
}
}
{
int32_t L_7 = ___min0;
V_0 = (int32_t)L_7;
}
IL_0036:
{
int32_t L_8 = V_0;
(( void (*) (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 21)->methodPointer)((List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *)__this, (int32_t)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 21));
}
IL_003d:
{
return;
}
}
// T System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::Find(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 List_1_Find_m7C27FC75ED3F56E12EBCFD125A252D5AB2169A67_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, Predicate_1_t3BE7E6936879AAE7D83581BB6DBEB5AB7966797B * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 V_1;
memset((&V_1), 0, sizeof(V_1));
{
Predicate_1_t3BE7E6936879AAE7D83581BB6DBEB5AB7966797B * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0032;
}
IL_000d:
{
Predicate_1_t3BE7E6936879AAE7D83581BB6DBEB5AB7966797B * L_1 = ___match0;
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_2 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
int32_t L_3 = V_0;
int32_t L_4 = L_3;
RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 L_5 = (L_2)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_4));
bool L_6 = (( bool (*) (Predicate_1_t3BE7E6936879AAE7D83581BB6DBEB5AB7966797B *, RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t3BE7E6936879AAE7D83581BB6DBEB5AB7966797B *)L_1, (RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 )L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_6)
{
goto IL_002e;
}
}
{
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_7 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
int32_t L_8 = V_0;
int32_t L_9 = L_8;
RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 L_10 = (L_7)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_9));
return L_10;
}
IL_002e:
{
int32_t L_11 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)1));
}
IL_0032:
{
int32_t L_12 = V_0;
int32_t L_13 = (int32_t)__this->get__size_2();
if ((((int32_t)L_12) < ((int32_t)L_13)))
{
goto IL_000d;
}
}
{
il2cpp_codegen_initobj((&V_1), sizeof(RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 ));
RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 L_14 = V_1;
return L_14;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::FindIndex(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_FindIndex_m06AFAD430C91CF5F87F72DAF43CA27166623128D_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, Predicate_1_t3BE7E6936879AAE7D83581BB6DBEB5AB7966797B * ___match0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
Predicate_1_t3BE7E6936879AAE7D83581BB6DBEB5AB7966797B * L_1 = ___match0;
int32_t L_2 = (( int32_t (*) (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *, int32_t, int32_t, Predicate_1_t3BE7E6936879AAE7D83581BB6DBEB5AB7966797B *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23)->methodPointer)((List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *)__this, (int32_t)0, (int32_t)L_0, (Predicate_1_t3BE7E6936879AAE7D83581BB6DBEB5AB7966797B *)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23));
return L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::FindIndex(System.Int32,System.Int32,System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_FindIndex_mBB0B7630866CD9AD93EFBA0371615B81F9728609_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, int32_t ___startIndex0, int32_t ___count1, Predicate_1_t3BE7E6936879AAE7D83581BB6DBEB5AB7966797B * ___match2, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
int32_t L_0 = ___startIndex0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) > ((uint32_t)L_1))))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)14), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___count1;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0021;
}
}
{
int32_t L_3 = ___startIndex0;
int32_t L_4 = (int32_t)__this->get__size_2();
int32_t L_5 = ___count1;
if ((((int32_t)L_3) <= ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_4, (int32_t)L_5)))))
{
goto IL_002a;
}
}
IL_0021:
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)((int32_t)25), /*hidden argument*/NULL);
}
IL_002a:
{
Predicate_1_t3BE7E6936879AAE7D83581BB6DBEB5AB7966797B * L_6 = ___match2;
if (L_6)
{
goto IL_0033;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0033:
{
int32_t L_7 = ___startIndex0;
int32_t L_8 = ___count1;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_7, (int32_t)L_8));
int32_t L_9 = ___startIndex0;
V_1 = (int32_t)L_9;
goto IL_0055;
}
IL_003b:
{
Predicate_1_t3BE7E6936879AAE7D83581BB6DBEB5AB7966797B * L_10 = ___match2;
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_11 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
int32_t L_12 = V_1;
int32_t L_13 = L_12;
RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 L_14 = (L_11)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_13));
bool L_15 = (( bool (*) (Predicate_1_t3BE7E6936879AAE7D83581BB6DBEB5AB7966797B *, RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t3BE7E6936879AAE7D83581BB6DBEB5AB7966797B *)L_10, (RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 )L_14, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_15)
{
goto IL_0051;
}
}
{
int32_t L_16 = V_1;
return L_16;
}
IL_0051:
{
int32_t L_17 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1));
}
IL_0055:
{
int32_t L_18 = V_1;
int32_t L_19 = V_0;
if ((((int32_t)L_18) < ((int32_t)L_19)))
{
goto IL_003b;
}
}
{
return (-1);
}
}
// System.Collections.Generic.List`1_Enumerator<T> System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Enumerator_tA27E2343069402A698ECAD46C2DC47ACD7786618 List_1_GetEnumerator_m689B95EC04960C507E25F5842758B49FE45541EF_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, const RuntimeMethod* method)
{
{
Enumerator_tA27E2343069402A698ECAD46C2DC47ACD7786618 L_0;
memset((&L_0), 0, sizeof(L_0));
Enumerator__ctor_m7B6DEA1307339A5CA3176F11511C12D8B8D34685((&L_0), (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
return L_0;
}
}
// System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::System.Collections.Generic.IEnumerable<T>.GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* List_1_System_Collections_Generic_IEnumerableU3CTU3E_GetEnumerator_m0D5E75847BD11BA7197EC8812A54356E7F70A6CD_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, const RuntimeMethod* method)
{
{
Enumerator_tA27E2343069402A698ECAD46C2DC47ACD7786618 L_0;
memset((&L_0), 0, sizeof(L_0));
Enumerator__ctor_m7B6DEA1307339A5CA3176F11511C12D8B8D34685((&L_0), (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
Enumerator_tA27E2343069402A698ECAD46C2DC47ACD7786618 L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 24), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Collections.IEnumerator System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::System.Collections.IEnumerable.GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* List_1_System_Collections_IEnumerable_GetEnumerator_mDCEB175DB28E795DBF4B5F63E35A73716EAA7117_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, const RuntimeMethod* method)
{
{
Enumerator_tA27E2343069402A698ECAD46C2DC47ACD7786618 L_0;
memset((&L_0), 0, sizeof(L_0));
Enumerator__ctor_m7B6DEA1307339A5CA3176F11511C12D8B8D34685((&L_0), (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
Enumerator_tA27E2343069402A698ECAD46C2DC47ACD7786618 L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 24), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::IndexOf(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_IndexOf_mF92578FD5B8002FF6A05EAEBCF061E173D21A746_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 ___item0, const RuntimeMethod* method)
{
{
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_0 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 L_1 = ___item0;
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = (( int32_t (*) (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*, RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 , int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)L_0, (RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 )L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
return L_3;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::System.Collections.IList.IndexOf(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_System_Collections_IList_IndexOf_mA9AFC618015E7F9E7D11401ACAC70A0B326101B3_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
int32_t L_3 = (( int32_t (*) (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *, RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *)__this, (RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 )((*(RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 *)((RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
return L_3;
}
IL_0015:
{
return (-1);
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::Insert(System.Int32,T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Insert_m57E44A1C547F5D26C4A989521773088C16A74505_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, int32_t ___index0, RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 ___item1, 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_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)((int32_t)27), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = (int32_t)__this->get__size_2();
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_3 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
if ((!(((uint32_t)L_2) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length))))))))
{
goto IL_0030;
}
}
{
int32_t L_4 = (int32_t)__this->get__size_2();
(( void (*) (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_0030:
{
int32_t L_5 = ___index0;
int32_t L_6 = (int32_t)__this->get__size_2();
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0056;
}
}
{
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_7 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
int32_t L_8 = ___index0;
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_9 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
int32_t L_12 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (RuntimeArray *)(RuntimeArray *)L_9, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_11, (int32_t)L_12)), /*hidden argument*/NULL);
}
IL_0056:
{
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_13 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
int32_t L_14 = ___index0;
RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 L_15 = ___item1;
(L_13)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_14), (RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 )L_15);
int32_t L_16 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1)));
int32_t L_17 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::System.Collections.IList.Insert(System.Int32,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_IList_Insert_m9EACBC6EF2A0510E0659A6C8979145451784A23D_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, int32_t ___index0, RuntimeObject * ___item1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Insert_m9EACBC6EF2A0510E0659A6C8979145451784A23D_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeObject * L_0 = ___item1;
(( void (*) (RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___item1;
(( void (*) (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *, int32_t, RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *)__this, (int32_t)L_1, (RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 )((*(RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 *)((RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___item1;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6((RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F((RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::InsertRange(System.Int32,System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_InsertRange_mA25DE1C394166BB47F6EAC751FF74E42E1BB5DF2_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, int32_t ___index0, RuntimeObject* ___collection1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_InsertRange_mA25DE1C394166BB47F6EAC751FF74E42E1BB5DF2_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
RuntimeObject* V_2 = 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);
{
RuntimeObject* L_0 = ___collection1;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)6, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = ___index0;
int32_t L_2 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_1) > ((uint32_t)L_2))))
{
goto IL_001b;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_001b:
{
RuntimeObject* L_3 = ___collection1;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_3, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_4 = V_0;
if (!L_4)
{
goto IL_00c0;
}
}
{
RuntimeObject* L_5 = V_0;
int32_t L_6 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<UnityEngine.EventSystems.RaycastResult>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_5);
V_1 = (int32_t)L_6;
int32_t L_7 = V_1;
if ((((int32_t)L_7) <= ((int32_t)0)))
{
goto IL_00ef;
}
}
{
int32_t L_8 = (int32_t)__this->get__size_2();
int32_t L_9 = V_1;
(( void (*) (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)L_9)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) >= ((int32_t)L_11)))
{
goto IL_006a;
}
}
{
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_12 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
int32_t L_13 = ___index0;
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_14 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
int32_t L_15 = ___index0;
int32_t L_16 = V_1;
int32_t L_17 = (int32_t)__this->get__size_2();
int32_t L_18 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_12, (int32_t)L_13, (RuntimeArray *)(RuntimeArray *)L_14, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_15, (int32_t)L_16)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_17, (int32_t)L_18)), /*hidden argument*/NULL);
}
IL_006a:
{
RuntimeObject* L_19 = V_0;
if ((!(((RuntimeObject*)(List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *)__this) == ((RuntimeObject*)(RuntimeObject*)L_19))))
{
goto IL_00a3;
}
}
{
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_20 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_21 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
int32_t L_22 = ___index0;
int32_t L_23 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_20, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_21, (int32_t)L_22, (int32_t)L_23, /*hidden argument*/NULL);
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_24 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
int32_t L_25 = ___index0;
int32_t L_26 = V_1;
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_27 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
int32_t L_28 = ___index0;
int32_t L_29 = (int32_t)__this->get__size_2();
int32_t L_30 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_24, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_25, (int32_t)L_26)), (RuntimeArray *)(RuntimeArray *)L_27, (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_28, (int32_t)2)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_29, (int32_t)L_30)), /*hidden argument*/NULL);
goto IL_00b0;
}
IL_00a3:
{
RuntimeObject* L_31 = V_0;
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_32 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
int32_t L_33 = ___index0;
InterfaceActionInvoker2< RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<UnityEngine.EventSystems.RaycastResult>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_31, (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)L_32, (int32_t)L_33);
}
IL_00b0:
{
int32_t L_34 = (int32_t)__this->get__size_2();
int32_t L_35 = V_1;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_34, (int32_t)L_35)));
goto IL_00ef;
}
IL_00c0:
{
RuntimeObject* L_36 = ___collection1;
RuntimeObject* L_37 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<UnityEngine.EventSystems.RaycastResult>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_36);
V_2 = (RuntimeObject*)L_37;
}
IL_00c7:
try
{ // begin try (depth: 1)
{
goto IL_00db;
}
IL_00c9:
{
int32_t L_38 = ___index0;
int32_t L_39 = (int32_t)L_38;
___index0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_39, (int32_t)1));
RuntimeObject* L_40 = V_2;
RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 L_41 = InterfaceFuncInvoker0< RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<UnityEngine.EventSystems.RaycastResult>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_40);
(( void (*) (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *, int32_t, RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *)__this, (int32_t)L_39, (RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 )L_41, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_00db:
{
RuntimeObject* L_42 = V_2;
bool L_43 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, (RuntimeObject*)L_42);
if (L_43)
{
goto IL_00c9;
}
}
IL_00e3:
{
IL2CPP_LEAVE(0xEF, FINALLY_00e5);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00e5;
}
FINALLY_00e5:
{ // begin finally (depth: 1)
{
RuntimeObject* L_44 = V_2;
if (!L_44)
{
goto IL_00ee;
}
}
IL_00e8:
{
RuntimeObject* L_45 = V_2;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, (RuntimeObject*)L_45);
}
IL_00ee:
{
IL2CPP_END_FINALLY(229)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(229)
{
IL2CPP_JUMP_TBL(0xEF, IL_00ef)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00ef:
{
int32_t L_46 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_46, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::Remove(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_Remove_m09C9FBA6138A828F3892EAC13920BEDDCD07DE61_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 L_0 = ___item0;
int32_t L_1 = (( int32_t (*) (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *, RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *)__this, (RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
V_0 = (int32_t)L_1;
int32_t L_2 = V_0;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0015;
}
}
{
int32_t L_3 = V_0;
(( void (*) (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29)->methodPointer)((List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *)__this, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29));
return (bool)1;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::System.Collections.IList.Remove(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_IList_Remove_m48DF8D78A7E5845D029ACA507F3755FFD2183687_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
(( bool (*) (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *, RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30)->methodPointer)((List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *)__this, (RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 )((*(RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 *)((RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
}
IL_0015:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::RemoveAll(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_RemoveAll_mFE239467AD10FE4419334BE536478AAAD4F102C6_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, Predicate_1_t3BE7E6936879AAE7D83581BB6DBEB5AB7966797B * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
Predicate_1_t3BE7E6936879AAE7D83581BB6DBEB5AB7966797B * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0011;
}
IL_000d:
{
int32_t L_1 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_1, (int32_t)1));
}
IL_0011:
{
int32_t L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__size_2();
if ((((int32_t)L_2) >= ((int32_t)L_3)))
{
goto IL_002e;
}
}
{
Predicate_1_t3BE7E6936879AAE7D83581BB6DBEB5AB7966797B * L_4 = ___match0;
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_5 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
int32_t L_6 = V_0;
int32_t L_7 = L_6;
RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 L_8 = (L_5)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_7));
bool L_9 = (( bool (*) (Predicate_1_t3BE7E6936879AAE7D83581BB6DBEB5AB7966797B *, RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t3BE7E6936879AAE7D83581BB6DBEB5AB7966797B *)L_4, (RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 )L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_9)
{
goto IL_000d;
}
}
IL_002e:
{
int32_t L_10 = V_0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) < ((int32_t)L_11)))
{
goto IL_0039;
}
}
{
return 0;
}
IL_0039:
{
int32_t L_12 = V_0;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1));
goto IL_0089;
}
IL_003f:
{
int32_t L_13 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_13, (int32_t)1));
}
IL_0043:
{
int32_t L_14 = V_1;
int32_t L_15 = (int32_t)__this->get__size_2();
if ((((int32_t)L_14) >= ((int32_t)L_15)))
{
goto IL_0060;
}
}
{
Predicate_1_t3BE7E6936879AAE7D83581BB6DBEB5AB7966797B * L_16 = ___match0;
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_17 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
int32_t L_18 = V_1;
int32_t L_19 = L_18;
RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 L_20 = (L_17)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_19));
bool L_21 = (( bool (*) (Predicate_1_t3BE7E6936879AAE7D83581BB6DBEB5AB7966797B *, RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t3BE7E6936879AAE7D83581BB6DBEB5AB7966797B *)L_16, (RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 )L_20, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (L_21)
{
goto IL_003f;
}
}
IL_0060:
{
int32_t L_22 = V_1;
int32_t L_23 = (int32_t)__this->get__size_2();
if ((((int32_t)L_22) >= ((int32_t)L_23)))
{
goto IL_0089;
}
}
{
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_24 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
int32_t L_25 = V_0;
int32_t L_26 = (int32_t)L_25;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_26, (int32_t)1));
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_27 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
int32_t L_28 = V_1;
int32_t L_29 = (int32_t)L_28;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_29, (int32_t)1));
int32_t L_30 = L_29;
RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 L_31 = (L_27)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_30));
(L_24)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_26), (RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 )L_31);
}
IL_0089:
{
int32_t L_32 = V_1;
int32_t L_33 = (int32_t)__this->get__size_2();
if ((((int32_t)L_32) < ((int32_t)L_33)))
{
goto IL_0043;
}
}
{
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_34 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
int32_t L_35 = V_0;
int32_t L_36 = (int32_t)__this->get__size_2();
int32_t L_37 = V_0;
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_34, (int32_t)L_35, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_36, (int32_t)L_37)), /*hidden argument*/NULL);
int32_t L_38 = (int32_t)__this->get__size_2();
int32_t L_39 = V_0;
int32_t L_40 = V_0;
__this->set__size_2(L_40);
int32_t L_41 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_41, (int32_t)1)));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_38, (int32_t)L_39));
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::RemoveAt(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_RemoveAt_m798729F04CBF167D3D1EC2166A25A3DB525CF2B7_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, int32_t ___index0, const RuntimeMethod* method)
{
RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 V_0;
memset((&V_0), 0, sizeof(V_0));
{
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:
{
int32_t L_2 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)1)));
int32_t L_3 = ___index0;
int32_t L_4 = (int32_t)__this->get__size_2();
if ((((int32_t)L_3) >= ((int32_t)L_4)))
{
goto IL_0042;
}
}
{
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_5 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
int32_t L_6 = ___index0;
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_7 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
int32_t L_10 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_5, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)1)), (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)L_10)), /*hidden argument*/NULL);
}
IL_0042:
{
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_11 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
int32_t L_12 = (int32_t)__this->get__size_2();
il2cpp_codegen_initobj((&V_0), sizeof(RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 ));
RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 L_13 = V_0;
(L_11)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_12), (RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 )L_13);
int32_t L_14 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_14, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::RemoveRange(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_RemoveRange_mAD1D10CF766ADEE18333358E48822C4112F5D60B_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
int32_t L_5 = ___count1;
if ((((int32_t)L_5) <= ((int32_t)0)))
{
goto IL_0082;
}
}
{
int32_t L_6 = (int32_t)__this->get__size_2();
int32_t L_7 = ___count1;
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)L_7)));
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
if ((((int32_t)L_8) >= ((int32_t)L_9)))
{
goto IL_0062;
}
}
{
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_10 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
int32_t L_11 = ___index0;
int32_t L_12 = ___count1;
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_13 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
int32_t L_14 = ___index0;
int32_t L_15 = (int32_t)__this->get__size_2();
int32_t L_16 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_10, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)L_12)), (RuntimeArray *)(RuntimeArray *)L_13, (int32_t)L_14, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_15, (int32_t)L_16)), /*hidden argument*/NULL);
}
IL_0062:
{
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_17 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
int32_t L_18 = (int32_t)__this->get__size_2();
int32_t L_19 = ___count1;
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_17, (int32_t)L_18, (int32_t)L_19, /*hidden argument*/NULL);
int32_t L_20 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_20, (int32_t)1)));
}
IL_0082:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::Reverse()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Reverse_m0BE2871568FB2714EF5EEA4306A5B791E5B6C6EE_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (( int32_t (*) (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
(( void (*) (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31)->methodPointer)((List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *)__this, (int32_t)0, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::Reverse(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Reverse_m28C7068457669B0DD910635E1857F609E9B1E003_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_5 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
(( void (*) (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32)->methodPointer)((RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::Sort(System.Collections.Generic.IComparer`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_mF39B6541119C261F4BED9DEBA85D7E72B5B47AA2_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, RuntimeObject* ___comparer0, const RuntimeMethod* method)
{
{
int32_t L_0 = (( int32_t (*) (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
RuntimeObject* L_1 = ___comparer0;
(( void (*) (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 *)__this, (int32_t)0, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_mB6DF54D098828ED46B6701D8F218E8BD81572986_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, int32_t ___index0, int32_t ___count1, RuntimeObject* ___comparer2, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_5 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
RuntimeObject* L_8 = ___comparer2;
(( void (*) (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)L_5, (int32_t)L_6, (int32_t)L_7, (RuntimeObject*)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
int32_t L_9 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::Sort(System.Comparison`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_mB19A87C63B177C6E8357C56CC64779D069191737_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, Comparison_1_t80059259E2DC99461F7DF9B43BA93054613AE703 * ___comparison0, const RuntimeMethod* method)
{
{
Comparison_1_t80059259E2DC99461F7DF9B43BA93054613AE703 * L_0 = ___comparison0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_1) <= ((int32_t)0)))
{
goto IL_0025;
}
}
{
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_2 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
int32_t L_3 = (int32_t)__this->get__size_2();
Comparison_1_t80059259E2DC99461F7DF9B43BA93054613AE703 * L_4 = ___comparison0;
(( void (*) (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*, int32_t, int32_t, Comparison_1_t80059259E2DC99461F7DF9B43BA93054613AE703 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35)->methodPointer)((RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)L_2, (int32_t)0, (int32_t)L_3, (Comparison_1_t80059259E2DC99461F7DF9B43BA93054613AE703 *)L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35));
}
IL_0025:
{
return;
}
}
// T[] System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::ToArray()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* List_1_ToArray_mB52BBED41E25D51F625A09B7EC12D9099955627F_gshared (List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098 * __this, const RuntimeMethod* method)
{
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* V_0 = NULL;
{
int32_t L_0 = (int32_t)__this->get__size_2();
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_1 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)(RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_0);
V_0 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)L_1;
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_2 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)__this->get__items_1();
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_3 = V_0;
int32_t L_4 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_2, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_3, (int32_t)0, (int32_t)L_4, /*hidden argument*/NULL);
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_5 = V_0;
return L_5;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__cctor_m052E6A2E33323C1BF0D065C7BAACEC029C50ABEB_gshared (const RuntimeMethod* method)
{
{
RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65* L_0 = (RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)(RaycastResultU5BU5D_t9A7AEDFED07FDC6A5F4E1F1C064699FCC9745D65*)SZArrayNew(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 1), (uint32_t)0);
((List_1_t9B42195BBE4C4201734D1B55FB0B9EC97F597098_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set__emptyArray_5(L_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.Void System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m70B081C0EE9C8E936BEBB9CD7FEB133FA31DF18C_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0((RuntimeObject *)__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_0 = ((List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_0);
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m8096A249FA56EB72BDCCA0739D87FEB0CD79660F_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, int32_t ___capacity0, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0((RuntimeObject *)__this, /*hidden argument*/NULL);
int32_t L_0 = ___capacity0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)12), (int32_t)4, /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_1 = ___capacity0;
if (L_1)
{
goto IL_0021;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_2 = ((List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_2);
return;
}
IL_0021:
{
int32_t L_3 = ___capacity0;
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_4 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)(GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_3);
__this->set__items_1(L_4);
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::.ctor(System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_mF1F53B294EE3F407C673EE3DDDB7FDB5F81AEF92_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1__ctor_mF1F53B294EE3F407C673EE3DDDB7FDB5F81AEF92_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
RuntimeObject* V_2 = 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);
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0((RuntimeObject *)__this, /*hidden argument*/NULL);
RuntimeObject* L_0 = ___collection0;
if (L_0)
{
goto IL_000f;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)6, /*hidden argument*/NULL);
}
IL_000f:
{
RuntimeObject* L_1 = ___collection0;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_2 = V_0;
if (!L_2)
{
goto IL_0050;
}
}
{
RuntimeObject* L_3 = V_0;
int32_t L_4 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<UnityEngine.TextCore.GlyphRect>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_3);
V_1 = (int32_t)L_4;
int32_t L_5 = V_1;
if (L_5)
{
goto IL_002f;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_6 = ((List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_6);
return;
}
IL_002f:
{
int32_t L_7 = V_1;
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_8 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)(GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_7);
__this->set__items_1(L_8);
RuntimeObject* L_9 = V_0;
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_10 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
InterfaceActionInvoker2< GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<UnityEngine.TextCore.GlyphRect>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_9, (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)L_10, (int32_t)0);
int32_t L_11 = V_1;
__this->set__size_2(L_11);
return;
}
IL_0050:
{
__this->set__size_2(0);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_12 = ((List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_12);
RuntimeObject* L_13 = ___collection0;
RuntimeObject* L_14 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<UnityEngine.TextCore.GlyphRect>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_13);
V_2 = (RuntimeObject*)L_14;
}
IL_0069:
try
{ // begin try (depth: 1)
{
goto IL_0077;
}
IL_006b:
{
RuntimeObject* L_15 = V_2;
GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C L_16 = InterfaceFuncInvoker0< GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<UnityEngine.TextCore.GlyphRect>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_15);
(( void (*) (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *, GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *)__this, (GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C )L_16, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
}
IL_0077:
{
RuntimeObject* L_17 = V_2;
bool L_18 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, (RuntimeObject*)L_17);
if (L_18)
{
goto IL_006b;
}
}
IL_007f:
{
IL2CPP_LEAVE(0x8B, FINALLY_0081);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0081;
}
FINALLY_0081:
{ // begin finally (depth: 1)
{
RuntimeObject* L_19 = V_2;
if (!L_19)
{
goto IL_008a;
}
}
IL_0084:
{
RuntimeObject* L_20 = V_2;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, (RuntimeObject*)L_20);
}
IL_008a:
{
IL2CPP_END_FINALLY(129)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(129)
{
IL2CPP_JUMP_TBL(0x8B, IL_008b)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_008b:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::get_Capacity()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_get_Capacity_m3E3551E1A8006DC71F8143DAC5BB05E09312B3AA_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, const RuntimeMethod* method)
{
{
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_0 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
return (((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length))));
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::set_Capacity(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Capacity_m095388D9837E2354257B3F0CFE883D0BD0961A66_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, int32_t ___value0, const RuntimeMethod* method)
{
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* V_0 = NULL;
{
int32_t L_0 = ___value0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) >= ((int32_t)L_1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)15), (int32_t)((int32_t)21), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___value0;
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_3 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
if ((((int32_t)L_2) == ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length)))))))
{
goto IL_0058;
}
}
{
int32_t L_4 = ___value0;
if ((((int32_t)L_4) <= ((int32_t)0)))
{
goto IL_004d;
}
}
{
int32_t L_5 = ___value0;
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_6 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)(GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_5);
V_0 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)L_6;
int32_t L_7 = (int32_t)__this->get__size_2();
if ((((int32_t)L_7) <= ((int32_t)0)))
{
goto IL_0045;
}
}
{
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_8 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_9 = V_0;
int32_t L_10 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_8, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_9, (int32_t)0, (int32_t)L_10, /*hidden argument*/NULL);
}
IL_0045:
{
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_11 = V_0;
__this->set__items_1(L_11);
return;
}
IL_004d:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_12 = ((List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_12);
}
IL_0058:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::get_Count()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_get_Count_mECB6CD4548659C6AD4FE965FB3BA19CA3A80846F_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
return L_0;
}
}
// System.Boolean System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::System.Collections.Generic.ICollection<T>.get_IsReadOnly()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_System_Collections_Generic_ICollectionU3CTU3E_get_IsReadOnly_m1F2B58F31210B5332821CDC74F45D08FA064C478_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::System.Collections.IList.get_IsReadOnly()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_System_Collections_IList_get_IsReadOnly_mCCD7DFAFB503E26B877778D3F056E8FAFF56F90A_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// T System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::get_Item(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C List_1_get_Item_m6E99EC5DE0684C11227B9944968241CD1FCB9BE3_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __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:
{
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_2 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
int32_t L_3 = ___index0;
GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C L_4 = IL2CPP_ARRAY_UNSAFE_LOAD((GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)L_2, (int32_t)L_3);
return L_4;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::set_Item(System.Int32,T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Item_m7B3FBFECAC70DC085D53228F4DC0ED3E824BBEE5_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, int32_t ___index0, GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C ___value1, 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:
{
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_2 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
int32_t L_3 = ___index0;
GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C L_4 = ___value1;
(L_2)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_3), (GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C )L_4);
int32_t L_5 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::IsCompatibleObject(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_IsCompatibleObject_m347D5224DE5D95F170B4FBF1894FC02DD01C9D3E_gshared (RuntimeObject * ___value0, const RuntimeMethod* method)
{
GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C V_0;
memset((&V_0), 0, sizeof(V_0));
{
RuntimeObject * L_0 = ___value0;
if (((RuntimeObject *)IsInst((RuntimeObject*)L_0, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7))))
{
goto IL_001f;
}
}
{
RuntimeObject * L_1 = ___value0;
if (L_1)
{
goto IL_001d;
}
}
{
il2cpp_codegen_initobj((&V_0), sizeof(GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C ));
GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C L_2 = V_0;
GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C L_3 = L_2;
RuntimeObject * L_4 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7), &L_3);
return (bool)((((RuntimeObject*)(RuntimeObject *)L_4) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
}
IL_001d:
{
return (bool)0;
}
IL_001f:
{
return (bool)1;
}
}
// System.Object System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::System.Collections.IList.get_Item(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * List_1_System_Collections_IList_get_Item_m2AD3037790E374F6CE7A27D48182BF826915459C_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C L_1 = (( GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C (*) (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8)->methodPointer)((List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *)__this, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C L_2 = L_1;
RuntimeObject * L_3 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7), &L_2);
return L_3;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::System.Collections.IList.set_Item(System.Int32,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_IList_set_Item_m96374F870346394FF4EB5A69478FEB765DC04795_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, int32_t ___index0, RuntimeObject * ___value1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_set_Item_m96374F870346394FF4EB5A69478FEB765DC04795_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeObject * L_0 = ___value1;
(( void (*) (RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((RuntimeObject *)L_0, (int32_t)((int32_t)15), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___value1;
(( void (*) (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *, int32_t, GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10)->methodPointer)((List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *)__this, (int32_t)L_1, (GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C )((*(GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C *)((GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___value1;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6((RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F((RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::Add(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Add_mAADCA2409517EC55213834CB16F9AFC64228518C_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = (int32_t)__this->get__size_2();
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_1 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
if ((!(((uint32_t)L_0) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length))))))))
{
goto IL_001e;
}
}
{
int32_t L_2 = (int32_t)__this->get__size_2();
(( void (*) (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_2, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_001e:
{
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_3 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
int32_t L_4 = (int32_t)__this->get__size_2();
V_0 = (int32_t)L_4;
int32_t L_5 = V_0;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
int32_t L_6 = V_0;
GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C L_7 = ___item0;
(L_3)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_6), (GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C )L_7);
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::System.Collections.IList.Add(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_System_Collections_IList_Add_m9A9FD9DE848C8BE62B488692CEB5C41CC9187356_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Add_m9A9FD9DE848C8BE62B488692CEB5C41CC9187356_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeObject * L_0 = ___item0;
(( void (*) (RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
RuntimeObject * L_1 = ___item0;
(( void (*) (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *, GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *)__this, (GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C )((*(GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C *)((GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C *)UnBox(L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
goto IL_0029;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0016;
throw e;
}
CATCH_0016:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_2 = ___item0;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_3 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_4 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6((RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D )L_3, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F((RuntimeObject *)L_2, (Type_t *)L_4, /*hidden argument*/NULL);
goto IL_0029;
} // end catch (depth: 1)
IL_0029:
{
int32_t L_5 = (( int32_t (*) (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_5, (int32_t)1));
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::AddRange(System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_AddRange_mA4FA6AB7F320D685A3AC2C8CFE7A5017F5A86B8B_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
RuntimeObject* L_1 = ___collection0;
(( void (*) (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14)->methodPointer)((List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *)__this, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::Clear()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Clear_mEB5E44F925D8526A528E94FE1225FCDB2D595780_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) <= ((int32_t)0)))
{
goto IL_0022;
}
}
{
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_1 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
int32_t L_2 = (int32_t)__this->get__size_2();
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/NULL);
__this->set__size_2(0);
}
IL_0022:
{
int32_t L_3 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::Contains(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_Contains_m02F104599CA887608A99F18620B9F75D8C9E568E_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
EqualityComparer_1_tCDF71D565EF681A3FA07FEA641ACF98768CDF0D2 * V_1 = NULL;
int32_t V_2 = 0;
{
goto IL_0030;
}
{
V_0 = (int32_t)0;
goto IL_0025;
}
IL_000c:
{
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_1 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
int32_t L_2 = V_0;
int32_t L_3 = L_2;
GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C L_4 = (L_1)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_3));
goto IL_0021;
}
{
return (bool)1;
}
IL_0021:
{
int32_t L_5 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1));
}
IL_0025:
{
int32_t L_6 = V_0;
int32_t L_7 = (int32_t)__this->get__size_2();
if ((((int32_t)L_6) < ((int32_t)L_7)))
{
goto IL_000c;
}
}
{
return (bool)0;
}
IL_0030:
{
EqualityComparer_1_tCDF71D565EF681A3FA07FEA641ACF98768CDF0D2 * L_8 = (( EqualityComparer_1_tCDF71D565EF681A3FA07FEA641ACF98768CDF0D2 * (*) (const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)(/*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
V_1 = (EqualityComparer_1_tCDF71D565EF681A3FA07FEA641ACF98768CDF0D2 *)L_8;
V_2 = (int32_t)0;
goto IL_0055;
}
IL_003a:
{
EqualityComparer_1_tCDF71D565EF681A3FA07FEA641ACF98768CDF0D2 * L_9 = V_1;
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_10 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
int32_t L_11 = V_2;
int32_t L_12 = L_11;
GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C L_13 = (L_10)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_12));
GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C L_14 = ___item0;
bool L_15 = VirtFuncInvoker2< bool, GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C , GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C >::Invoke(8 /* System.Boolean System.Collections.Generic.EqualityComparer`1<UnityEngine.TextCore.GlyphRect>::Equals(T,T) */, (EqualityComparer_1_tCDF71D565EF681A3FA07FEA641ACF98768CDF0D2 *)L_9, (GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C )L_13, (GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C )L_14);
if (!L_15)
{
goto IL_0051;
}
}
{
return (bool)1;
}
IL_0051:
{
int32_t L_16 = V_2;
V_2 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1));
}
IL_0055:
{
int32_t L_17 = V_2;
int32_t L_18 = (int32_t)__this->get__size_2();
if ((((int32_t)L_17) < ((int32_t)L_18)))
{
goto IL_003a;
}
}
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::System.Collections.IList.Contains(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_System_Collections_IList_Contains_m3C74E803D58CD57A3DE349C28E77F2A0C4DE9A55_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
bool L_3 = (( bool (*) (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *, GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *)__this, (GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C )((*(GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C *)((GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
return L_3;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::CopyTo(T[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_CopyTo_m6C6CD9702EAB3D23573588E7342F67ED5A731F5F_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* ___array0, const RuntimeMethod* method)
{
{
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_0 = ___array0;
(( void (*) (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *, GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20)->methodPointer)((List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *)__this, (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)L_0, (int32_t)0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::System.Collections.ICollection.CopyTo(System.Array,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_ICollection_CopyTo_mEFF4F7888331EA820A0FBC296C7DDD816950112F_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, RuntimeArray * ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_ICollection_CopyTo_mEFF4F7888331EA820A0FBC296C7DDD816950112F_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeArray * L_0 = ___array0;
if (!L_0)
{
goto IL_0012;
}
}
{
RuntimeArray * L_1 = ___array0;
int32_t L_2 = Array_get_Rank_m38145B59D67D75F9896A3F8CDA9B966641AE99E1((RuntimeArray *)L_1, /*hidden argument*/NULL);
if ((((int32_t)L_2) == ((int32_t)1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)7, /*hidden argument*/NULL);
}
IL_0012:
{
}
IL_0013:
try
{ // begin try (depth: 1)
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_3 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
RuntimeArray * L_4 = ___array0;
int32_t L_5 = ___arrayIndex1;
int32_t L_6 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_3, (int32_t)0, (RuntimeArray *)L_4, (int32_t)L_5, (int32_t)L_6, /*hidden argument*/NULL);
goto IL_0033;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (ArrayTypeMismatchException_tE34C1032B089C37399200997F079C640D23D9499_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0029;
throw e;
}
CATCH_0029:
{ // begin catch(System.ArrayTypeMismatchException)
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)18), /*hidden argument*/NULL);
goto IL_0033;
} // end catch (depth: 1)
IL_0033:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::CopyTo(System.Int32,T[],System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_CopyTo_mB3B161B1C95D51EC06D370C0174AD4C9A4BE3FE9_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, int32_t ___index0, GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* ___array1, int32_t ___arrayIndex2, int32_t ___count3, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
int32_t L_1 = ___index0;
int32_t L_2 = ___count3;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_0, (int32_t)L_1))) >= ((int32_t)L_2)))
{
goto IL_0013;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_0013:
{
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_3 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
int32_t L_4 = ___index0;
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_5 = ___array1;
int32_t L_6 = ___arrayIndex2;
int32_t L_7 = ___count3;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_3, (int32_t)L_4, (RuntimeArray *)(RuntimeArray *)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::CopyTo(T[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_CopyTo_m30A049914F01FD72B58A17A1D281B65408C288F5_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
{
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_0 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_1 = ___array0;
int32_t L_2 = ___arrayIndex1;
int32_t L_3 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_0, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)L_2, (int32_t)L_3, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::EnsureCapacity(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_EnsureCapacity_m2071F0BB34A9F1071C9F9644E3324055FC0FC6AB_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, int32_t ___min0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t G_B4_0 = 0;
{
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_0 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
int32_t L_1 = ___min0;
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length))))) >= ((int32_t)L_1)))
{
goto IL_003d;
}
}
{
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_2 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
if (!(((RuntimeArray*)L_2)->max_length))
{
goto IL_0020;
}
}
{
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_3 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
G_B4_0 = ((int32_t)il2cpp_codegen_multiply((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length)))), (int32_t)2));
goto IL_0021;
}
IL_0020:
{
G_B4_0 = 4;
}
IL_0021:
{
V_0 = (int32_t)G_B4_0;
int32_t L_4 = V_0;
if ((!(((uint32_t)L_4) > ((uint32_t)((int32_t)2146435071)))))
{
goto IL_0030;
}
}
{
V_0 = (int32_t)((int32_t)2146435071);
}
IL_0030:
{
int32_t L_5 = V_0;
int32_t L_6 = ___min0;
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0036;
}
}
{
int32_t L_7 = ___min0;
V_0 = (int32_t)L_7;
}
IL_0036:
{
int32_t L_8 = V_0;
(( void (*) (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 21)->methodPointer)((List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *)__this, (int32_t)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 21));
}
IL_003d:
{
return;
}
}
// T System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::Find(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C List_1_Find_m5E08EE02DF0227B4730EAA0FE44B4FB83867DC2A_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, Predicate_1_tB0A5EFEBC66C6A7540167D26FA783AFDCCB2DDD1 * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C V_1;
memset((&V_1), 0, sizeof(V_1));
{
Predicate_1_tB0A5EFEBC66C6A7540167D26FA783AFDCCB2DDD1 * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0032;
}
IL_000d:
{
Predicate_1_tB0A5EFEBC66C6A7540167D26FA783AFDCCB2DDD1 * L_1 = ___match0;
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_2 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
int32_t L_3 = V_0;
int32_t L_4 = L_3;
GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C L_5 = (L_2)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_4));
bool L_6 = (( bool (*) (Predicate_1_tB0A5EFEBC66C6A7540167D26FA783AFDCCB2DDD1 *, GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_tB0A5EFEBC66C6A7540167D26FA783AFDCCB2DDD1 *)L_1, (GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C )L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_6)
{
goto IL_002e;
}
}
{
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_7 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
int32_t L_8 = V_0;
int32_t L_9 = L_8;
GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C L_10 = (L_7)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_9));
return L_10;
}
IL_002e:
{
int32_t L_11 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)1));
}
IL_0032:
{
int32_t L_12 = V_0;
int32_t L_13 = (int32_t)__this->get__size_2();
if ((((int32_t)L_12) < ((int32_t)L_13)))
{
goto IL_000d;
}
}
{
il2cpp_codegen_initobj((&V_1), sizeof(GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C ));
GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C L_14 = V_1;
return L_14;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::FindIndex(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_FindIndex_m95E390F3E3260A15F28BA28CF72EC261480B3372_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, Predicate_1_tB0A5EFEBC66C6A7540167D26FA783AFDCCB2DDD1 * ___match0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
Predicate_1_tB0A5EFEBC66C6A7540167D26FA783AFDCCB2DDD1 * L_1 = ___match0;
int32_t L_2 = (( int32_t (*) (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *, int32_t, int32_t, Predicate_1_tB0A5EFEBC66C6A7540167D26FA783AFDCCB2DDD1 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23)->methodPointer)((List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *)__this, (int32_t)0, (int32_t)L_0, (Predicate_1_tB0A5EFEBC66C6A7540167D26FA783AFDCCB2DDD1 *)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23));
return L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::FindIndex(System.Int32,System.Int32,System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_FindIndex_m341F2192BCC582622C940CD6EC51DDBDC7162158_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, int32_t ___startIndex0, int32_t ___count1, Predicate_1_tB0A5EFEBC66C6A7540167D26FA783AFDCCB2DDD1 * ___match2, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
int32_t L_0 = ___startIndex0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) > ((uint32_t)L_1))))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)14), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___count1;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0021;
}
}
{
int32_t L_3 = ___startIndex0;
int32_t L_4 = (int32_t)__this->get__size_2();
int32_t L_5 = ___count1;
if ((((int32_t)L_3) <= ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_4, (int32_t)L_5)))))
{
goto IL_002a;
}
}
IL_0021:
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)((int32_t)25), /*hidden argument*/NULL);
}
IL_002a:
{
Predicate_1_tB0A5EFEBC66C6A7540167D26FA783AFDCCB2DDD1 * L_6 = ___match2;
if (L_6)
{
goto IL_0033;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0033:
{
int32_t L_7 = ___startIndex0;
int32_t L_8 = ___count1;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_7, (int32_t)L_8));
int32_t L_9 = ___startIndex0;
V_1 = (int32_t)L_9;
goto IL_0055;
}
IL_003b:
{
Predicate_1_tB0A5EFEBC66C6A7540167D26FA783AFDCCB2DDD1 * L_10 = ___match2;
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_11 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
int32_t L_12 = V_1;
int32_t L_13 = L_12;
GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C L_14 = (L_11)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_13));
bool L_15 = (( bool (*) (Predicate_1_tB0A5EFEBC66C6A7540167D26FA783AFDCCB2DDD1 *, GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_tB0A5EFEBC66C6A7540167D26FA783AFDCCB2DDD1 *)L_10, (GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C )L_14, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_15)
{
goto IL_0051;
}
}
{
int32_t L_16 = V_1;
return L_16;
}
IL_0051:
{
int32_t L_17 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1));
}
IL_0055:
{
int32_t L_18 = V_1;
int32_t L_19 = V_0;
if ((((int32_t)L_18) < ((int32_t)L_19)))
{
goto IL_003b;
}
}
{
return (-1);
}
}
// System.Collections.Generic.List`1_Enumerator<T> System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Enumerator_tC98BCACC12E1DFB3B149B73715A0FBE3C8B049C3 List_1_GetEnumerator_m91F99A2354DC6C234F0F42935651E6592FA563F0_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, const RuntimeMethod* method)
{
{
Enumerator_tC98BCACC12E1DFB3B149B73715A0FBE3C8B049C3 L_0;
memset((&L_0), 0, sizeof(L_0));
Enumerator__ctor_m1AD818C266B9FFEF9990B29BE1330D7326F08990((&L_0), (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
return L_0;
}
}
// System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::System.Collections.Generic.IEnumerable<T>.GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* List_1_System_Collections_Generic_IEnumerableU3CTU3E_GetEnumerator_m60E8FFF9C876EE5FCAF24C6337E1C8CF647B2AF7_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, const RuntimeMethod* method)
{
{
Enumerator_tC98BCACC12E1DFB3B149B73715A0FBE3C8B049C3 L_0;
memset((&L_0), 0, sizeof(L_0));
Enumerator__ctor_m1AD818C266B9FFEF9990B29BE1330D7326F08990((&L_0), (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
Enumerator_tC98BCACC12E1DFB3B149B73715A0FBE3C8B049C3 L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 24), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Collections.IEnumerator System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::System.Collections.IEnumerable.GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* List_1_System_Collections_IEnumerable_GetEnumerator_mF33754CD6FBF8D162A1531A7286F1195D96AEA41_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, const RuntimeMethod* method)
{
{
Enumerator_tC98BCACC12E1DFB3B149B73715A0FBE3C8B049C3 L_0;
memset((&L_0), 0, sizeof(L_0));
Enumerator__ctor_m1AD818C266B9FFEF9990B29BE1330D7326F08990((&L_0), (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
Enumerator_tC98BCACC12E1DFB3B149B73715A0FBE3C8B049C3 L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 24), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::IndexOf(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_IndexOf_mF1F24C0B71C1D06625F8F681125558FBE4CD7780_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C ___item0, const RuntimeMethod* method)
{
{
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_0 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C L_1 = ___item0;
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = (( int32_t (*) (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*, GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C , int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)L_0, (GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C )L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
return L_3;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::System.Collections.IList.IndexOf(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_System_Collections_IList_IndexOf_mEC97081AF7348DBCDF087B4EF444C5F46FA6171F_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
int32_t L_3 = (( int32_t (*) (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *, GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *)__this, (GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C )((*(GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C *)((GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
return L_3;
}
IL_0015:
{
return (-1);
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::Insert(System.Int32,T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Insert_mC26F156079577A7D9024E475F7B2F4E7540F7EA8_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, int32_t ___index0, GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C ___item1, 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_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)((int32_t)27), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = (int32_t)__this->get__size_2();
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_3 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
if ((!(((uint32_t)L_2) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length))))))))
{
goto IL_0030;
}
}
{
int32_t L_4 = (int32_t)__this->get__size_2();
(( void (*) (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_0030:
{
int32_t L_5 = ___index0;
int32_t L_6 = (int32_t)__this->get__size_2();
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0056;
}
}
{
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_7 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
int32_t L_8 = ___index0;
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_9 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
int32_t L_12 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (RuntimeArray *)(RuntimeArray *)L_9, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_11, (int32_t)L_12)), /*hidden argument*/NULL);
}
IL_0056:
{
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_13 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
int32_t L_14 = ___index0;
GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C L_15 = ___item1;
(L_13)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_14), (GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C )L_15);
int32_t L_16 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1)));
int32_t L_17 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::System.Collections.IList.Insert(System.Int32,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_IList_Insert_m5FB8BE2EDB34F6053B49AD256D596EF5431D182A_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, int32_t ___index0, RuntimeObject * ___item1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Insert_m5FB8BE2EDB34F6053B49AD256D596EF5431D182A_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeObject * L_0 = ___item1;
(( void (*) (RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___item1;
(( void (*) (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *, int32_t, GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *)__this, (int32_t)L_1, (GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C )((*(GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C *)((GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___item1;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6((RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F((RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::InsertRange(System.Int32,System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_InsertRange_m592A7DD49332ECA5BFF6854B26C76D5937A4F3F0_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, int32_t ___index0, RuntimeObject* ___collection1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_InsertRange_m592A7DD49332ECA5BFF6854B26C76D5937A4F3F0_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
RuntimeObject* V_2 = 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);
{
RuntimeObject* L_0 = ___collection1;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)6, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = ___index0;
int32_t L_2 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_1) > ((uint32_t)L_2))))
{
goto IL_001b;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_001b:
{
RuntimeObject* L_3 = ___collection1;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_3, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_4 = V_0;
if (!L_4)
{
goto IL_00c0;
}
}
{
RuntimeObject* L_5 = V_0;
int32_t L_6 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<UnityEngine.TextCore.GlyphRect>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_5);
V_1 = (int32_t)L_6;
int32_t L_7 = V_1;
if ((((int32_t)L_7) <= ((int32_t)0)))
{
goto IL_00ef;
}
}
{
int32_t L_8 = (int32_t)__this->get__size_2();
int32_t L_9 = V_1;
(( void (*) (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)L_9)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) >= ((int32_t)L_11)))
{
goto IL_006a;
}
}
{
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_12 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
int32_t L_13 = ___index0;
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_14 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
int32_t L_15 = ___index0;
int32_t L_16 = V_1;
int32_t L_17 = (int32_t)__this->get__size_2();
int32_t L_18 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_12, (int32_t)L_13, (RuntimeArray *)(RuntimeArray *)L_14, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_15, (int32_t)L_16)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_17, (int32_t)L_18)), /*hidden argument*/NULL);
}
IL_006a:
{
RuntimeObject* L_19 = V_0;
if ((!(((RuntimeObject*)(List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *)__this) == ((RuntimeObject*)(RuntimeObject*)L_19))))
{
goto IL_00a3;
}
}
{
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_20 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_21 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
int32_t L_22 = ___index0;
int32_t L_23 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_20, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_21, (int32_t)L_22, (int32_t)L_23, /*hidden argument*/NULL);
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_24 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
int32_t L_25 = ___index0;
int32_t L_26 = V_1;
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_27 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
int32_t L_28 = ___index0;
int32_t L_29 = (int32_t)__this->get__size_2();
int32_t L_30 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_24, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_25, (int32_t)L_26)), (RuntimeArray *)(RuntimeArray *)L_27, (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_28, (int32_t)2)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_29, (int32_t)L_30)), /*hidden argument*/NULL);
goto IL_00b0;
}
IL_00a3:
{
RuntimeObject* L_31 = V_0;
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_32 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
int32_t L_33 = ___index0;
InterfaceActionInvoker2< GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<UnityEngine.TextCore.GlyphRect>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_31, (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)L_32, (int32_t)L_33);
}
IL_00b0:
{
int32_t L_34 = (int32_t)__this->get__size_2();
int32_t L_35 = V_1;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_34, (int32_t)L_35)));
goto IL_00ef;
}
IL_00c0:
{
RuntimeObject* L_36 = ___collection1;
RuntimeObject* L_37 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<UnityEngine.TextCore.GlyphRect>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_36);
V_2 = (RuntimeObject*)L_37;
}
IL_00c7:
try
{ // begin try (depth: 1)
{
goto IL_00db;
}
IL_00c9:
{
int32_t L_38 = ___index0;
int32_t L_39 = (int32_t)L_38;
___index0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_39, (int32_t)1));
RuntimeObject* L_40 = V_2;
GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C L_41 = InterfaceFuncInvoker0< GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<UnityEngine.TextCore.GlyphRect>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_40);
(( void (*) (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *, int32_t, GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *)__this, (int32_t)L_39, (GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C )L_41, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_00db:
{
RuntimeObject* L_42 = V_2;
bool L_43 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, (RuntimeObject*)L_42);
if (L_43)
{
goto IL_00c9;
}
}
IL_00e3:
{
IL2CPP_LEAVE(0xEF, FINALLY_00e5);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00e5;
}
FINALLY_00e5:
{ // begin finally (depth: 1)
{
RuntimeObject* L_44 = V_2;
if (!L_44)
{
goto IL_00ee;
}
}
IL_00e8:
{
RuntimeObject* L_45 = V_2;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, (RuntimeObject*)L_45);
}
IL_00ee:
{
IL2CPP_END_FINALLY(229)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(229)
{
IL2CPP_JUMP_TBL(0xEF, IL_00ef)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00ef:
{
int32_t L_46 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_46, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::Remove(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_Remove_m9CB74149E370538D60A80A116B2F741436F81735_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C L_0 = ___item0;
int32_t L_1 = (( int32_t (*) (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *, GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *)__this, (GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
V_0 = (int32_t)L_1;
int32_t L_2 = V_0;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0015;
}
}
{
int32_t L_3 = V_0;
(( void (*) (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29)->methodPointer)((List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *)__this, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29));
return (bool)1;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::System.Collections.IList.Remove(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_IList_Remove_mCE1896D7D0D876710B3ADCA3688CDB3BD4066222_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
(( bool (*) (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *, GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30)->methodPointer)((List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *)__this, (GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C )((*(GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C *)((GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
}
IL_0015:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::RemoveAll(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_RemoveAll_mAFBEA8012F793F7B08B90D8E8DCF8046F6217AB6_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, Predicate_1_tB0A5EFEBC66C6A7540167D26FA783AFDCCB2DDD1 * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
Predicate_1_tB0A5EFEBC66C6A7540167D26FA783AFDCCB2DDD1 * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0011;
}
IL_000d:
{
int32_t L_1 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_1, (int32_t)1));
}
IL_0011:
{
int32_t L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__size_2();
if ((((int32_t)L_2) >= ((int32_t)L_3)))
{
goto IL_002e;
}
}
{
Predicate_1_tB0A5EFEBC66C6A7540167D26FA783AFDCCB2DDD1 * L_4 = ___match0;
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_5 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
int32_t L_6 = V_0;
int32_t L_7 = L_6;
GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C L_8 = (L_5)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_7));
bool L_9 = (( bool (*) (Predicate_1_tB0A5EFEBC66C6A7540167D26FA783AFDCCB2DDD1 *, GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_tB0A5EFEBC66C6A7540167D26FA783AFDCCB2DDD1 *)L_4, (GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C )L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_9)
{
goto IL_000d;
}
}
IL_002e:
{
int32_t L_10 = V_0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) < ((int32_t)L_11)))
{
goto IL_0039;
}
}
{
return 0;
}
IL_0039:
{
int32_t L_12 = V_0;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1));
goto IL_0089;
}
IL_003f:
{
int32_t L_13 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_13, (int32_t)1));
}
IL_0043:
{
int32_t L_14 = V_1;
int32_t L_15 = (int32_t)__this->get__size_2();
if ((((int32_t)L_14) >= ((int32_t)L_15)))
{
goto IL_0060;
}
}
{
Predicate_1_tB0A5EFEBC66C6A7540167D26FA783AFDCCB2DDD1 * L_16 = ___match0;
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_17 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
int32_t L_18 = V_1;
int32_t L_19 = L_18;
GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C L_20 = (L_17)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_19));
bool L_21 = (( bool (*) (Predicate_1_tB0A5EFEBC66C6A7540167D26FA783AFDCCB2DDD1 *, GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_tB0A5EFEBC66C6A7540167D26FA783AFDCCB2DDD1 *)L_16, (GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C )L_20, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (L_21)
{
goto IL_003f;
}
}
IL_0060:
{
int32_t L_22 = V_1;
int32_t L_23 = (int32_t)__this->get__size_2();
if ((((int32_t)L_22) >= ((int32_t)L_23)))
{
goto IL_0089;
}
}
{
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_24 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
int32_t L_25 = V_0;
int32_t L_26 = (int32_t)L_25;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_26, (int32_t)1));
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_27 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
int32_t L_28 = V_1;
int32_t L_29 = (int32_t)L_28;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_29, (int32_t)1));
int32_t L_30 = L_29;
GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C L_31 = (L_27)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_30));
(L_24)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_26), (GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C )L_31);
}
IL_0089:
{
int32_t L_32 = V_1;
int32_t L_33 = (int32_t)__this->get__size_2();
if ((((int32_t)L_32) < ((int32_t)L_33)))
{
goto IL_0043;
}
}
{
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_34 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
int32_t L_35 = V_0;
int32_t L_36 = (int32_t)__this->get__size_2();
int32_t L_37 = V_0;
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_34, (int32_t)L_35, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_36, (int32_t)L_37)), /*hidden argument*/NULL);
int32_t L_38 = (int32_t)__this->get__size_2();
int32_t L_39 = V_0;
int32_t L_40 = V_0;
__this->set__size_2(L_40);
int32_t L_41 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_41, (int32_t)1)));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_38, (int32_t)L_39));
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::RemoveAt(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_RemoveAt_m3B1D6A2198BB446BCBA22D4299A7EF047AC75268_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, int32_t ___index0, const RuntimeMethod* method)
{
GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C V_0;
memset((&V_0), 0, sizeof(V_0));
{
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:
{
int32_t L_2 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)1)));
int32_t L_3 = ___index0;
int32_t L_4 = (int32_t)__this->get__size_2();
if ((((int32_t)L_3) >= ((int32_t)L_4)))
{
goto IL_0042;
}
}
{
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_5 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
int32_t L_6 = ___index0;
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_7 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
int32_t L_10 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_5, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)1)), (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)L_10)), /*hidden argument*/NULL);
}
IL_0042:
{
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_11 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
int32_t L_12 = (int32_t)__this->get__size_2();
il2cpp_codegen_initobj((&V_0), sizeof(GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C ));
GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C L_13 = V_0;
(L_11)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_12), (GlyphRect_t398045C795E0E1264236DFAA5712796CC23C3E7C )L_13);
int32_t L_14 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_14, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::RemoveRange(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_RemoveRange_mC8C8F8239C1CBE5BBF55D4C52E5CCEF49345F009_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
int32_t L_5 = ___count1;
if ((((int32_t)L_5) <= ((int32_t)0)))
{
goto IL_0082;
}
}
{
int32_t L_6 = (int32_t)__this->get__size_2();
int32_t L_7 = ___count1;
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)L_7)));
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
if ((((int32_t)L_8) >= ((int32_t)L_9)))
{
goto IL_0062;
}
}
{
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_10 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
int32_t L_11 = ___index0;
int32_t L_12 = ___count1;
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_13 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
int32_t L_14 = ___index0;
int32_t L_15 = (int32_t)__this->get__size_2();
int32_t L_16 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_10, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)L_12)), (RuntimeArray *)(RuntimeArray *)L_13, (int32_t)L_14, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_15, (int32_t)L_16)), /*hidden argument*/NULL);
}
IL_0062:
{
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_17 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
int32_t L_18 = (int32_t)__this->get__size_2();
int32_t L_19 = ___count1;
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_17, (int32_t)L_18, (int32_t)L_19, /*hidden argument*/NULL);
int32_t L_20 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_20, (int32_t)1)));
}
IL_0082:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::Reverse()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Reverse_mA49189BD0C48FA34B387679479F8A1AD1573F7EF_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (( int32_t (*) (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
(( void (*) (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31)->methodPointer)((List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *)__this, (int32_t)0, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::Reverse(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Reverse_m44B2DC30B23947D6248BA0BC26E38D9E77A3E64C_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_5 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
(( void (*) (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32)->methodPointer)((GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::Sort(System.Collections.Generic.IComparer`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_m2AC646E894DAA2A1F8EFE50D697EE35C27EB4009_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, RuntimeObject* ___comparer0, const RuntimeMethod* method)
{
{
int32_t L_0 = (( int32_t (*) (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
RuntimeObject* L_1 = ___comparer0;
(( void (*) (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 *)__this, (int32_t)0, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_mEEE9ED42BA290D30F049C78AD96BDD5346856EC7_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, int32_t ___index0, int32_t ___count1, RuntimeObject* ___comparer2, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_5 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
RuntimeObject* L_8 = ___comparer2;
(( void (*) (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)L_5, (int32_t)L_6, (int32_t)L_7, (RuntimeObject*)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
int32_t L_9 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::Sort(System.Comparison`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_m37DA1D8B56C772F7163E69969B0695E28599DFF5_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, Comparison_1_tA112B99450F000327B9D39D349B33EF8CCB7AAB5 * ___comparison0, const RuntimeMethod* method)
{
{
Comparison_1_tA112B99450F000327B9D39D349B33EF8CCB7AAB5 * L_0 = ___comparison0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_1) <= ((int32_t)0)))
{
goto IL_0025;
}
}
{
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_2 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
int32_t L_3 = (int32_t)__this->get__size_2();
Comparison_1_tA112B99450F000327B9D39D349B33EF8CCB7AAB5 * L_4 = ___comparison0;
(( void (*) (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*, int32_t, int32_t, Comparison_1_tA112B99450F000327B9D39D349B33EF8CCB7AAB5 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35)->methodPointer)((GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)L_2, (int32_t)0, (int32_t)L_3, (Comparison_1_tA112B99450F000327B9D39D349B33EF8CCB7AAB5 *)L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35));
}
IL_0025:
{
return;
}
}
// T[] System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::ToArray()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* List_1_ToArray_mDFD275E18FD95BE5D619C1F63895BEF7295B6CEA_gshared (List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65 * __this, const RuntimeMethod* method)
{
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* V_0 = NULL;
{
int32_t L_0 = (int32_t)__this->get__size_2();
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_1 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)(GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_0);
V_0 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)L_1;
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_2 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)__this->get__items_1();
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_3 = V_0;
int32_t L_4 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_2, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_3, (int32_t)0, (int32_t)L_4, /*hidden argument*/NULL);
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_5 = V_0;
return L_5;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__cctor_mE6CD0F4A0811578BD30D889A82D6EA37566892BC_gshared (const RuntimeMethod* method)
{
{
GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2* L_0 = (GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)(GlyphRectU5BU5D_t0C8059848359C24B032007E1B643D747C2BB2FB2*)SZArrayNew(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 1), (uint32_t)0);
((List_1_tD87292C3DA9A1BCF7BE7A6A63897ABF69A015D65_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set__emptyArray_5(L_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.Void System.Collections.Generic.List`1<UnityEngine.UICharInfo>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m2279D468D8C7784D3D7944C3496729F318FAB8F1_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0((RuntimeObject *)__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_0 = ((List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_0);
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UICharInfo>::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m31FA26D4722DE7042587E4FDA499FF5B35A5BE71_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, int32_t ___capacity0, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0((RuntimeObject *)__this, /*hidden argument*/NULL);
int32_t L_0 = ___capacity0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)12), (int32_t)4, /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_1 = ___capacity0;
if (L_1)
{
goto IL_0021;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_2 = ((List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_2);
return;
}
IL_0021:
{
int32_t L_3 = ___capacity0;
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_4 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)(UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_3);
__this->set__items_1(L_4);
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UICharInfo>::.ctor(System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m8EF66A0997160C31C3B91F7F85AABDCE4E8ACB97_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1__ctor_m8EF66A0997160C31C3B91F7F85AABDCE4E8ACB97_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
RuntimeObject* V_2 = 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);
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0((RuntimeObject *)__this, /*hidden argument*/NULL);
RuntimeObject* L_0 = ___collection0;
if (L_0)
{
goto IL_000f;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)6, /*hidden argument*/NULL);
}
IL_000f:
{
RuntimeObject* L_1 = ___collection0;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_2 = V_0;
if (!L_2)
{
goto IL_0050;
}
}
{
RuntimeObject* L_3 = V_0;
int32_t L_4 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<UnityEngine.UICharInfo>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_3);
V_1 = (int32_t)L_4;
int32_t L_5 = V_1;
if (L_5)
{
goto IL_002f;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_6 = ((List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_6);
return;
}
IL_002f:
{
int32_t L_7 = V_1;
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_8 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)(UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_7);
__this->set__items_1(L_8);
RuntimeObject* L_9 = V_0;
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_10 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
InterfaceActionInvoker2< UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<UnityEngine.UICharInfo>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_9, (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)L_10, (int32_t)0);
int32_t L_11 = V_1;
__this->set__size_2(L_11);
return;
}
IL_0050:
{
__this->set__size_2(0);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_12 = ((List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_12);
RuntimeObject* L_13 = ___collection0;
RuntimeObject* L_14 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<UnityEngine.UICharInfo>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_13);
V_2 = (RuntimeObject*)L_14;
}
IL_0069:
try
{ // begin try (depth: 1)
{
goto IL_0077;
}
IL_006b:
{
RuntimeObject* L_15 = V_2;
UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A L_16 = InterfaceFuncInvoker0< UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<UnityEngine.UICharInfo>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_15);
(( void (*) (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *, UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *)__this, (UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A )L_16, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
}
IL_0077:
{
RuntimeObject* L_17 = V_2;
bool L_18 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, (RuntimeObject*)L_17);
if (L_18)
{
goto IL_006b;
}
}
IL_007f:
{
IL2CPP_LEAVE(0x8B, FINALLY_0081);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0081;
}
FINALLY_0081:
{ // begin finally (depth: 1)
{
RuntimeObject* L_19 = V_2;
if (!L_19)
{
goto IL_008a;
}
}
IL_0084:
{
RuntimeObject* L_20 = V_2;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, (RuntimeObject*)L_20);
}
IL_008a:
{
IL2CPP_END_FINALLY(129)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(129)
{
IL2CPP_JUMP_TBL(0x8B, IL_008b)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_008b:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.UICharInfo>::get_Capacity()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_get_Capacity_m97BD6AEDB9EFE78A03DE9381CFD560016A50A1CC_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, const RuntimeMethod* method)
{
{
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_0 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
return (((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length))));
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UICharInfo>::set_Capacity(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Capacity_m7B8521809871041912BED8F8385B0BA1E4AD7C4C_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, int32_t ___value0, const RuntimeMethod* method)
{
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* V_0 = NULL;
{
int32_t L_0 = ___value0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) >= ((int32_t)L_1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)15), (int32_t)((int32_t)21), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___value0;
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_3 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
if ((((int32_t)L_2) == ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length)))))))
{
goto IL_0058;
}
}
{
int32_t L_4 = ___value0;
if ((((int32_t)L_4) <= ((int32_t)0)))
{
goto IL_004d;
}
}
{
int32_t L_5 = ___value0;
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_6 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)(UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_5);
V_0 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)L_6;
int32_t L_7 = (int32_t)__this->get__size_2();
if ((((int32_t)L_7) <= ((int32_t)0)))
{
goto IL_0045;
}
}
{
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_8 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_9 = V_0;
int32_t L_10 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_8, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_9, (int32_t)0, (int32_t)L_10, /*hidden argument*/NULL);
}
IL_0045:
{
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_11 = V_0;
__this->set__items_1(L_11);
return;
}
IL_004d:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_12 = ((List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_12);
}
IL_0058:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.UICharInfo>::get_Count()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m06F298F4ABA4BA3754874839F614CE72E2B9A208_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
return L_0;
}
}
// System.Boolean System.Collections.Generic.List`1<UnityEngine.UICharInfo>::System.Collections.Generic.ICollection<T>.get_IsReadOnly()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_System_Collections_Generic_ICollectionU3CTU3E_get_IsReadOnly_m41535C1DE3949DF41967FF0DF9063827F54D37CE_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<UnityEngine.UICharInfo>::System.Collections.IList.get_IsReadOnly()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_System_Collections_IList_get_IsReadOnly_m46710EA6891369998E4D6D08A4CC9DAD14998663_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// T System.Collections.Generic.List`1<UnityEngine.UICharInfo>::get_Item(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A List_1_get_Item_m819C8324744CA123E9ED034961C7BBE2C858BE20_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __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:
{
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_2 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
int32_t L_3 = ___index0;
UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A L_4 = IL2CPP_ARRAY_UNSAFE_LOAD((UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)L_2, (int32_t)L_3);
return L_4;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UICharInfo>::set_Item(System.Int32,T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Item_m93FA96BE95DEC06E05EA4E8553829F5AEEF6D7F1_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, int32_t ___index0, UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A ___value1, 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:
{
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_2 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
int32_t L_3 = ___index0;
UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A L_4 = ___value1;
(L_2)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_3), (UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A )L_4);
int32_t L_5 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<UnityEngine.UICharInfo>::IsCompatibleObject(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_IsCompatibleObject_m0A81D45BA7218101EE048D8D4AC4C50CF4788D7D_gshared (RuntimeObject * ___value0, const RuntimeMethod* method)
{
UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A V_0;
memset((&V_0), 0, sizeof(V_0));
{
RuntimeObject * L_0 = ___value0;
if (((RuntimeObject *)IsInst((RuntimeObject*)L_0, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7))))
{
goto IL_001f;
}
}
{
RuntimeObject * L_1 = ___value0;
if (L_1)
{
goto IL_001d;
}
}
{
il2cpp_codegen_initobj((&V_0), sizeof(UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A ));
UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A L_2 = V_0;
UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A L_3 = L_2;
RuntimeObject * L_4 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7), &L_3);
return (bool)((((RuntimeObject*)(RuntimeObject *)L_4) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
}
IL_001d:
{
return (bool)0;
}
IL_001f:
{
return (bool)1;
}
}
// System.Object System.Collections.Generic.List`1<UnityEngine.UICharInfo>::System.Collections.IList.get_Item(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * List_1_System_Collections_IList_get_Item_m1B104C7850F9345EE22A8BF071688FD300359DA6_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A L_1 = (( UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A (*) (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8)->methodPointer)((List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *)__this, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A L_2 = L_1;
RuntimeObject * L_3 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7), &L_2);
return L_3;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UICharInfo>::System.Collections.IList.set_Item(System.Int32,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_IList_set_Item_mBCDC84AD2BDA6EBC5BEBE553039DB3849B03DD6F_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, int32_t ___index0, RuntimeObject * ___value1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_set_Item_mBCDC84AD2BDA6EBC5BEBE553039DB3849B03DD6F_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeObject * L_0 = ___value1;
(( void (*) (RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((RuntimeObject *)L_0, (int32_t)((int32_t)15), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___value1;
(( void (*) (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *, int32_t, UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10)->methodPointer)((List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *)__this, (int32_t)L_1, (UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A )((*(UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A *)((UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___value1;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6((RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F((RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UICharInfo>::Add(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Add_m66738FDB599810087D3B280CF5DC923AB17A56F4_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = (int32_t)__this->get__size_2();
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_1 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
if ((!(((uint32_t)L_0) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length))))))))
{
goto IL_001e;
}
}
{
int32_t L_2 = (int32_t)__this->get__size_2();
(( void (*) (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_2, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_001e:
{
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_3 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
int32_t L_4 = (int32_t)__this->get__size_2();
V_0 = (int32_t)L_4;
int32_t L_5 = V_0;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
int32_t L_6 = V_0;
UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A L_7 = ___item0;
(L_3)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_6), (UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A )L_7);
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.UICharInfo>::System.Collections.IList.Add(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_System_Collections_IList_Add_m5D52824BF3E8C9AF4206621223F0391148538394_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Add_m5D52824BF3E8C9AF4206621223F0391148538394_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeObject * L_0 = ___item0;
(( void (*) (RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
RuntimeObject * L_1 = ___item0;
(( void (*) (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *, UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *)__this, (UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A )((*(UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A *)((UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A *)UnBox(L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
goto IL_0029;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0016;
throw e;
}
CATCH_0016:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_2 = ___item0;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_3 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_4 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6((RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D )L_3, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F((RuntimeObject *)L_2, (Type_t *)L_4, /*hidden argument*/NULL);
goto IL_0029;
} // end catch (depth: 1)
IL_0029:
{
int32_t L_5 = (( int32_t (*) (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_5, (int32_t)1));
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UICharInfo>::AddRange(System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_AddRange_m36D8FEA5C60B7E54B98D675A6449186150665691_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
RuntimeObject* L_1 = ___collection0;
(( void (*) (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14)->methodPointer)((List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *)__this, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UICharInfo>::Clear()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Clear_m08DFD65FC7DFA2BC721622622C3F2041FC7F5525_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) <= ((int32_t)0)))
{
goto IL_0022;
}
}
{
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_1 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
int32_t L_2 = (int32_t)__this->get__size_2();
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/NULL);
__this->set__size_2(0);
}
IL_0022:
{
int32_t L_3 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<UnityEngine.UICharInfo>::Contains(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_Contains_m18CDFEB6948CAB2EDC0A2A2B1D478833DA163A36_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
EqualityComparer_1_tC9FE6AC7127ED7A22F717A9EF3208401E3C1D28D * V_1 = NULL;
int32_t V_2 = 0;
{
goto IL_0030;
}
{
V_0 = (int32_t)0;
goto IL_0025;
}
IL_000c:
{
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_1 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
int32_t L_2 = V_0;
int32_t L_3 = L_2;
UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A L_4 = (L_1)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_3));
goto IL_0021;
}
{
return (bool)1;
}
IL_0021:
{
int32_t L_5 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1));
}
IL_0025:
{
int32_t L_6 = V_0;
int32_t L_7 = (int32_t)__this->get__size_2();
if ((((int32_t)L_6) < ((int32_t)L_7)))
{
goto IL_000c;
}
}
{
return (bool)0;
}
IL_0030:
{
EqualityComparer_1_tC9FE6AC7127ED7A22F717A9EF3208401E3C1D28D * L_8 = (( EqualityComparer_1_tC9FE6AC7127ED7A22F717A9EF3208401E3C1D28D * (*) (const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)(/*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
V_1 = (EqualityComparer_1_tC9FE6AC7127ED7A22F717A9EF3208401E3C1D28D *)L_8;
V_2 = (int32_t)0;
goto IL_0055;
}
IL_003a:
{
EqualityComparer_1_tC9FE6AC7127ED7A22F717A9EF3208401E3C1D28D * L_9 = V_1;
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_10 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
int32_t L_11 = V_2;
int32_t L_12 = L_11;
UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A L_13 = (L_10)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_12));
UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A L_14 = ___item0;
bool L_15 = VirtFuncInvoker2< bool, UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A , UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A >::Invoke(8 /* System.Boolean System.Collections.Generic.EqualityComparer`1<UnityEngine.UICharInfo>::Equals(T,T) */, (EqualityComparer_1_tC9FE6AC7127ED7A22F717A9EF3208401E3C1D28D *)L_9, (UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A )L_13, (UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A )L_14);
if (!L_15)
{
goto IL_0051;
}
}
{
return (bool)1;
}
IL_0051:
{
int32_t L_16 = V_2;
V_2 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1));
}
IL_0055:
{
int32_t L_17 = V_2;
int32_t L_18 = (int32_t)__this->get__size_2();
if ((((int32_t)L_17) < ((int32_t)L_18)))
{
goto IL_003a;
}
}
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<UnityEngine.UICharInfo>::System.Collections.IList.Contains(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_System_Collections_IList_Contains_m7BCE2D5E5C7C2E322CAB6808FF294DB32EBC78F7_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
bool L_3 = (( bool (*) (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *, UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *)__this, (UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A )((*(UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A *)((UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
return L_3;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UICharInfo>::CopyTo(T[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_CopyTo_mC1ABE2A26180E1A727B2332FACC2B720DE8DCEA0_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* ___array0, const RuntimeMethod* method)
{
{
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_0 = ___array0;
(( void (*) (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *, UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20)->methodPointer)((List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *)__this, (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)L_0, (int32_t)0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UICharInfo>::System.Collections.ICollection.CopyTo(System.Array,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_ICollection_CopyTo_m6770D1C1CCD56B4EF848AAF42310A3D1B5307753_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, RuntimeArray * ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_ICollection_CopyTo_m6770D1C1CCD56B4EF848AAF42310A3D1B5307753_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeArray * L_0 = ___array0;
if (!L_0)
{
goto IL_0012;
}
}
{
RuntimeArray * L_1 = ___array0;
int32_t L_2 = Array_get_Rank_m38145B59D67D75F9896A3F8CDA9B966641AE99E1((RuntimeArray *)L_1, /*hidden argument*/NULL);
if ((((int32_t)L_2) == ((int32_t)1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)7, /*hidden argument*/NULL);
}
IL_0012:
{
}
IL_0013:
try
{ // begin try (depth: 1)
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_3 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
RuntimeArray * L_4 = ___array0;
int32_t L_5 = ___arrayIndex1;
int32_t L_6 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_3, (int32_t)0, (RuntimeArray *)L_4, (int32_t)L_5, (int32_t)L_6, /*hidden argument*/NULL);
goto IL_0033;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (ArrayTypeMismatchException_tE34C1032B089C37399200997F079C640D23D9499_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0029;
throw e;
}
CATCH_0029:
{ // begin catch(System.ArrayTypeMismatchException)
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)18), /*hidden argument*/NULL);
goto IL_0033;
} // end catch (depth: 1)
IL_0033:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UICharInfo>::CopyTo(System.Int32,T[],System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_CopyTo_m5AA32C7C65118FA411A9B67FC157D909745F1047_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, int32_t ___index0, UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* ___array1, int32_t ___arrayIndex2, int32_t ___count3, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
int32_t L_1 = ___index0;
int32_t L_2 = ___count3;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_0, (int32_t)L_1))) >= ((int32_t)L_2)))
{
goto IL_0013;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_0013:
{
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_3 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
int32_t L_4 = ___index0;
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_5 = ___array1;
int32_t L_6 = ___arrayIndex2;
int32_t L_7 = ___count3;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_3, (int32_t)L_4, (RuntimeArray *)(RuntimeArray *)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UICharInfo>::CopyTo(T[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_CopyTo_m799F20E68C27037565EA0F3E41B8D6B4311DB414_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
{
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_0 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_1 = ___array0;
int32_t L_2 = ___arrayIndex1;
int32_t L_3 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_0, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)L_2, (int32_t)L_3, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UICharInfo>::EnsureCapacity(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_EnsureCapacity_m3AD4EA1E3A3AB5A70BF67754AE529B5335CAF17F_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, int32_t ___min0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t G_B4_0 = 0;
{
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_0 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
int32_t L_1 = ___min0;
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length))))) >= ((int32_t)L_1)))
{
goto IL_003d;
}
}
{
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_2 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
if (!(((RuntimeArray*)L_2)->max_length))
{
goto IL_0020;
}
}
{
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_3 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
G_B4_0 = ((int32_t)il2cpp_codegen_multiply((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length)))), (int32_t)2));
goto IL_0021;
}
IL_0020:
{
G_B4_0 = 4;
}
IL_0021:
{
V_0 = (int32_t)G_B4_0;
int32_t L_4 = V_0;
if ((!(((uint32_t)L_4) > ((uint32_t)((int32_t)2146435071)))))
{
goto IL_0030;
}
}
{
V_0 = (int32_t)((int32_t)2146435071);
}
IL_0030:
{
int32_t L_5 = V_0;
int32_t L_6 = ___min0;
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0036;
}
}
{
int32_t L_7 = ___min0;
V_0 = (int32_t)L_7;
}
IL_0036:
{
int32_t L_8 = V_0;
(( void (*) (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 21)->methodPointer)((List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *)__this, (int32_t)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 21));
}
IL_003d:
{
return;
}
}
// T System.Collections.Generic.List`1<UnityEngine.UICharInfo>::Find(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A List_1_Find_mE9B4668397164EE1A2527251E436D3E6A043CCDE_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, Predicate_1_tBE52451BEC74D597DE894237BB32DFC9015F9697 * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A V_1;
memset((&V_1), 0, sizeof(V_1));
{
Predicate_1_tBE52451BEC74D597DE894237BB32DFC9015F9697 * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0032;
}
IL_000d:
{
Predicate_1_tBE52451BEC74D597DE894237BB32DFC9015F9697 * L_1 = ___match0;
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_2 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
int32_t L_3 = V_0;
int32_t L_4 = L_3;
UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A L_5 = (L_2)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_4));
bool L_6 = (( bool (*) (Predicate_1_tBE52451BEC74D597DE894237BB32DFC9015F9697 *, UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_tBE52451BEC74D597DE894237BB32DFC9015F9697 *)L_1, (UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A )L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_6)
{
goto IL_002e;
}
}
{
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_7 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
int32_t L_8 = V_0;
int32_t L_9 = L_8;
UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A L_10 = (L_7)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_9));
return L_10;
}
IL_002e:
{
int32_t L_11 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)1));
}
IL_0032:
{
int32_t L_12 = V_0;
int32_t L_13 = (int32_t)__this->get__size_2();
if ((((int32_t)L_12) < ((int32_t)L_13)))
{
goto IL_000d;
}
}
{
il2cpp_codegen_initobj((&V_1), sizeof(UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A ));
UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A L_14 = V_1;
return L_14;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.UICharInfo>::FindIndex(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_FindIndex_mE5852DFC867D99CF8025B06C9C649727C45D2E71_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, Predicate_1_tBE52451BEC74D597DE894237BB32DFC9015F9697 * ___match0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
Predicate_1_tBE52451BEC74D597DE894237BB32DFC9015F9697 * L_1 = ___match0;
int32_t L_2 = (( int32_t (*) (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *, int32_t, int32_t, Predicate_1_tBE52451BEC74D597DE894237BB32DFC9015F9697 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23)->methodPointer)((List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *)__this, (int32_t)0, (int32_t)L_0, (Predicate_1_tBE52451BEC74D597DE894237BB32DFC9015F9697 *)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23));
return L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.UICharInfo>::FindIndex(System.Int32,System.Int32,System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_FindIndex_m136CCE2AAC1EFBB89AA2B619C52CC8A6D2E18553_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, int32_t ___startIndex0, int32_t ___count1, Predicate_1_tBE52451BEC74D597DE894237BB32DFC9015F9697 * ___match2, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
int32_t L_0 = ___startIndex0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) > ((uint32_t)L_1))))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)14), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___count1;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0021;
}
}
{
int32_t L_3 = ___startIndex0;
int32_t L_4 = (int32_t)__this->get__size_2();
int32_t L_5 = ___count1;
if ((((int32_t)L_3) <= ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_4, (int32_t)L_5)))))
{
goto IL_002a;
}
}
IL_0021:
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)((int32_t)25), /*hidden argument*/NULL);
}
IL_002a:
{
Predicate_1_tBE52451BEC74D597DE894237BB32DFC9015F9697 * L_6 = ___match2;
if (L_6)
{
goto IL_0033;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0033:
{
int32_t L_7 = ___startIndex0;
int32_t L_8 = ___count1;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_7, (int32_t)L_8));
int32_t L_9 = ___startIndex0;
V_1 = (int32_t)L_9;
goto IL_0055;
}
IL_003b:
{
Predicate_1_tBE52451BEC74D597DE894237BB32DFC9015F9697 * L_10 = ___match2;
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_11 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
int32_t L_12 = V_1;
int32_t L_13 = L_12;
UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A L_14 = (L_11)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_13));
bool L_15 = (( bool (*) (Predicate_1_tBE52451BEC74D597DE894237BB32DFC9015F9697 *, UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_tBE52451BEC74D597DE894237BB32DFC9015F9697 *)L_10, (UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A )L_14, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_15)
{
goto IL_0051;
}
}
{
int32_t L_16 = V_1;
return L_16;
}
IL_0051:
{
int32_t L_17 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1));
}
IL_0055:
{
int32_t L_18 = V_1;
int32_t L_19 = V_0;
if ((((int32_t)L_18) < ((int32_t)L_19)))
{
goto IL_003b;
}
}
{
return (-1);
}
}
// System.Collections.Generic.List`1_Enumerator<T> System.Collections.Generic.List`1<UnityEngine.UICharInfo>::GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Enumerator_tC74B83EBD6E429004D77BE34197889A60AE87C4F List_1_GetEnumerator_m9514E11D812081CF7264AA68F5A114F7245B4B7B_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, const RuntimeMethod* method)
{
{
Enumerator_tC74B83EBD6E429004D77BE34197889A60AE87C4F L_0;
memset((&L_0), 0, sizeof(L_0));
Enumerator__ctor_mB5B0B5CEA64685EABCA326923B24750730B1C409((&L_0), (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
return L_0;
}
}
// System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.List`1<UnityEngine.UICharInfo>::System.Collections.Generic.IEnumerable<T>.GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* List_1_System_Collections_Generic_IEnumerableU3CTU3E_GetEnumerator_m6EBC8A9FD699CD06E64C58D9F0380F931DBF9DA8_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, const RuntimeMethod* method)
{
{
Enumerator_tC74B83EBD6E429004D77BE34197889A60AE87C4F L_0;
memset((&L_0), 0, sizeof(L_0));
Enumerator__ctor_mB5B0B5CEA64685EABCA326923B24750730B1C409((&L_0), (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
Enumerator_tC74B83EBD6E429004D77BE34197889A60AE87C4F L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 24), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Collections.IEnumerator System.Collections.Generic.List`1<UnityEngine.UICharInfo>::System.Collections.IEnumerable.GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* List_1_System_Collections_IEnumerable_GetEnumerator_m8F0A756E3972FE5E18DFB193F2CCBDEC4FE2E8BA_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, const RuntimeMethod* method)
{
{
Enumerator_tC74B83EBD6E429004D77BE34197889A60AE87C4F L_0;
memset((&L_0), 0, sizeof(L_0));
Enumerator__ctor_mB5B0B5CEA64685EABCA326923B24750730B1C409((&L_0), (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
Enumerator_tC74B83EBD6E429004D77BE34197889A60AE87C4F L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 24), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.UICharInfo>::IndexOf(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_IndexOf_mA4F96E6BD28257189F4033455781D6EE9DEEF413_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A ___item0, const RuntimeMethod* method)
{
{
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_0 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A L_1 = ___item0;
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = (( int32_t (*) (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*, UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A , int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)L_0, (UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A )L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
return L_3;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.UICharInfo>::System.Collections.IList.IndexOf(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_System_Collections_IList_IndexOf_m1E94CA18CB615C2329285C2B333B2C59B33C085D_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
int32_t L_3 = (( int32_t (*) (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *, UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *)__this, (UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A )((*(UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A *)((UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
return L_3;
}
IL_0015:
{
return (-1);
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UICharInfo>::Insert(System.Int32,T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Insert_m214B901E71C2F68B78D75BDE9A20BD7A4059D078_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, int32_t ___index0, UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A ___item1, 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_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)((int32_t)27), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = (int32_t)__this->get__size_2();
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_3 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
if ((!(((uint32_t)L_2) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length))))))))
{
goto IL_0030;
}
}
{
int32_t L_4 = (int32_t)__this->get__size_2();
(( void (*) (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_0030:
{
int32_t L_5 = ___index0;
int32_t L_6 = (int32_t)__this->get__size_2();
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0056;
}
}
{
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_7 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
int32_t L_8 = ___index0;
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_9 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
int32_t L_12 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (RuntimeArray *)(RuntimeArray *)L_9, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_11, (int32_t)L_12)), /*hidden argument*/NULL);
}
IL_0056:
{
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_13 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
int32_t L_14 = ___index0;
UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A L_15 = ___item1;
(L_13)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_14), (UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A )L_15);
int32_t L_16 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1)));
int32_t L_17 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UICharInfo>::System.Collections.IList.Insert(System.Int32,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_IList_Insert_m4B03331FA389A41FAB552FDD96BE7893D6BB7A2A_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, int32_t ___index0, RuntimeObject * ___item1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Insert_m4B03331FA389A41FAB552FDD96BE7893D6BB7A2A_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeObject * L_0 = ___item1;
(( void (*) (RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___item1;
(( void (*) (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *, int32_t, UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *)__this, (int32_t)L_1, (UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A )((*(UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A *)((UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___item1;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6((RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F((RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UICharInfo>::InsertRange(System.Int32,System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_InsertRange_m98FACA57F48DE8361B220EAAE8B3C6703F0F864E_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, int32_t ___index0, RuntimeObject* ___collection1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_InsertRange_m98FACA57F48DE8361B220EAAE8B3C6703F0F864E_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
RuntimeObject* V_2 = 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);
{
RuntimeObject* L_0 = ___collection1;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)6, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = ___index0;
int32_t L_2 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_1) > ((uint32_t)L_2))))
{
goto IL_001b;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_001b:
{
RuntimeObject* L_3 = ___collection1;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_3, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_4 = V_0;
if (!L_4)
{
goto IL_00c0;
}
}
{
RuntimeObject* L_5 = V_0;
int32_t L_6 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<UnityEngine.UICharInfo>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_5);
V_1 = (int32_t)L_6;
int32_t L_7 = V_1;
if ((((int32_t)L_7) <= ((int32_t)0)))
{
goto IL_00ef;
}
}
{
int32_t L_8 = (int32_t)__this->get__size_2();
int32_t L_9 = V_1;
(( void (*) (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)L_9)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) >= ((int32_t)L_11)))
{
goto IL_006a;
}
}
{
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_12 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
int32_t L_13 = ___index0;
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_14 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
int32_t L_15 = ___index0;
int32_t L_16 = V_1;
int32_t L_17 = (int32_t)__this->get__size_2();
int32_t L_18 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_12, (int32_t)L_13, (RuntimeArray *)(RuntimeArray *)L_14, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_15, (int32_t)L_16)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_17, (int32_t)L_18)), /*hidden argument*/NULL);
}
IL_006a:
{
RuntimeObject* L_19 = V_0;
if ((!(((RuntimeObject*)(List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *)__this) == ((RuntimeObject*)(RuntimeObject*)L_19))))
{
goto IL_00a3;
}
}
{
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_20 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_21 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
int32_t L_22 = ___index0;
int32_t L_23 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_20, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_21, (int32_t)L_22, (int32_t)L_23, /*hidden argument*/NULL);
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_24 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
int32_t L_25 = ___index0;
int32_t L_26 = V_1;
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_27 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
int32_t L_28 = ___index0;
int32_t L_29 = (int32_t)__this->get__size_2();
int32_t L_30 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_24, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_25, (int32_t)L_26)), (RuntimeArray *)(RuntimeArray *)L_27, (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_28, (int32_t)2)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_29, (int32_t)L_30)), /*hidden argument*/NULL);
goto IL_00b0;
}
IL_00a3:
{
RuntimeObject* L_31 = V_0;
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_32 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
int32_t L_33 = ___index0;
InterfaceActionInvoker2< UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<UnityEngine.UICharInfo>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_31, (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)L_32, (int32_t)L_33);
}
IL_00b0:
{
int32_t L_34 = (int32_t)__this->get__size_2();
int32_t L_35 = V_1;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_34, (int32_t)L_35)));
goto IL_00ef;
}
IL_00c0:
{
RuntimeObject* L_36 = ___collection1;
RuntimeObject* L_37 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<UnityEngine.UICharInfo>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_36);
V_2 = (RuntimeObject*)L_37;
}
IL_00c7:
try
{ // begin try (depth: 1)
{
goto IL_00db;
}
IL_00c9:
{
int32_t L_38 = ___index0;
int32_t L_39 = (int32_t)L_38;
___index0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_39, (int32_t)1));
RuntimeObject* L_40 = V_2;
UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A L_41 = InterfaceFuncInvoker0< UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<UnityEngine.UICharInfo>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_40);
(( void (*) (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *, int32_t, UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *)__this, (int32_t)L_39, (UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A )L_41, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_00db:
{
RuntimeObject* L_42 = V_2;
bool L_43 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, (RuntimeObject*)L_42);
if (L_43)
{
goto IL_00c9;
}
}
IL_00e3:
{
IL2CPP_LEAVE(0xEF, FINALLY_00e5);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00e5;
}
FINALLY_00e5:
{ // begin finally (depth: 1)
{
RuntimeObject* L_44 = V_2;
if (!L_44)
{
goto IL_00ee;
}
}
IL_00e8:
{
RuntimeObject* L_45 = V_2;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, (RuntimeObject*)L_45);
}
IL_00ee:
{
IL2CPP_END_FINALLY(229)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(229)
{
IL2CPP_JUMP_TBL(0xEF, IL_00ef)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00ef:
{
int32_t L_46 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_46, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<UnityEngine.UICharInfo>::Remove(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_Remove_m03333E679FEB57DC42066BFDB5D40458E19BB66D_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A L_0 = ___item0;
int32_t L_1 = (( int32_t (*) (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *, UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *)__this, (UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
V_0 = (int32_t)L_1;
int32_t L_2 = V_0;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0015;
}
}
{
int32_t L_3 = V_0;
(( void (*) (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29)->methodPointer)((List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *)__this, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29));
return (bool)1;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UICharInfo>::System.Collections.IList.Remove(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_IList_Remove_mC75AC6F30E257FD191D5477342926941D5A4F08B_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
(( bool (*) (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *, UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30)->methodPointer)((List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *)__this, (UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A )((*(UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A *)((UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
}
IL_0015:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.UICharInfo>::RemoveAll(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_RemoveAll_mCF2DDB6496E1E89EA5DFAF2FD8170F8FC81CEBD0_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, Predicate_1_tBE52451BEC74D597DE894237BB32DFC9015F9697 * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
Predicate_1_tBE52451BEC74D597DE894237BB32DFC9015F9697 * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0011;
}
IL_000d:
{
int32_t L_1 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_1, (int32_t)1));
}
IL_0011:
{
int32_t L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__size_2();
if ((((int32_t)L_2) >= ((int32_t)L_3)))
{
goto IL_002e;
}
}
{
Predicate_1_tBE52451BEC74D597DE894237BB32DFC9015F9697 * L_4 = ___match0;
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_5 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
int32_t L_6 = V_0;
int32_t L_7 = L_6;
UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A L_8 = (L_5)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_7));
bool L_9 = (( bool (*) (Predicate_1_tBE52451BEC74D597DE894237BB32DFC9015F9697 *, UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_tBE52451BEC74D597DE894237BB32DFC9015F9697 *)L_4, (UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A )L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_9)
{
goto IL_000d;
}
}
IL_002e:
{
int32_t L_10 = V_0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) < ((int32_t)L_11)))
{
goto IL_0039;
}
}
{
return 0;
}
IL_0039:
{
int32_t L_12 = V_0;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1));
goto IL_0089;
}
IL_003f:
{
int32_t L_13 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_13, (int32_t)1));
}
IL_0043:
{
int32_t L_14 = V_1;
int32_t L_15 = (int32_t)__this->get__size_2();
if ((((int32_t)L_14) >= ((int32_t)L_15)))
{
goto IL_0060;
}
}
{
Predicate_1_tBE52451BEC74D597DE894237BB32DFC9015F9697 * L_16 = ___match0;
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_17 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
int32_t L_18 = V_1;
int32_t L_19 = L_18;
UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A L_20 = (L_17)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_19));
bool L_21 = (( bool (*) (Predicate_1_tBE52451BEC74D597DE894237BB32DFC9015F9697 *, UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_tBE52451BEC74D597DE894237BB32DFC9015F9697 *)L_16, (UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A )L_20, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (L_21)
{
goto IL_003f;
}
}
IL_0060:
{
int32_t L_22 = V_1;
int32_t L_23 = (int32_t)__this->get__size_2();
if ((((int32_t)L_22) >= ((int32_t)L_23)))
{
goto IL_0089;
}
}
{
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_24 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
int32_t L_25 = V_0;
int32_t L_26 = (int32_t)L_25;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_26, (int32_t)1));
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_27 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
int32_t L_28 = V_1;
int32_t L_29 = (int32_t)L_28;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_29, (int32_t)1));
int32_t L_30 = L_29;
UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A L_31 = (L_27)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_30));
(L_24)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_26), (UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A )L_31);
}
IL_0089:
{
int32_t L_32 = V_1;
int32_t L_33 = (int32_t)__this->get__size_2();
if ((((int32_t)L_32) < ((int32_t)L_33)))
{
goto IL_0043;
}
}
{
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_34 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
int32_t L_35 = V_0;
int32_t L_36 = (int32_t)__this->get__size_2();
int32_t L_37 = V_0;
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_34, (int32_t)L_35, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_36, (int32_t)L_37)), /*hidden argument*/NULL);
int32_t L_38 = (int32_t)__this->get__size_2();
int32_t L_39 = V_0;
int32_t L_40 = V_0;
__this->set__size_2(L_40);
int32_t L_41 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_41, (int32_t)1)));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_38, (int32_t)L_39));
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UICharInfo>::RemoveAt(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_RemoveAt_m430DC26CA0ABC9C2D11F3CFA126CE05B8C519DB2_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, int32_t ___index0, const RuntimeMethod* method)
{
UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A V_0;
memset((&V_0), 0, sizeof(V_0));
{
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:
{
int32_t L_2 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)1)));
int32_t L_3 = ___index0;
int32_t L_4 = (int32_t)__this->get__size_2();
if ((((int32_t)L_3) >= ((int32_t)L_4)))
{
goto IL_0042;
}
}
{
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_5 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
int32_t L_6 = ___index0;
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_7 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
int32_t L_10 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_5, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)1)), (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)L_10)), /*hidden argument*/NULL);
}
IL_0042:
{
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_11 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
int32_t L_12 = (int32_t)__this->get__size_2();
il2cpp_codegen_initobj((&V_0), sizeof(UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A ));
UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A L_13 = V_0;
(L_11)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_12), (UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A )L_13);
int32_t L_14 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_14, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UICharInfo>::RemoveRange(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_RemoveRange_mE8310F7128A4D9225119ADB3E544F7ABB8D2DB32_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
int32_t L_5 = ___count1;
if ((((int32_t)L_5) <= ((int32_t)0)))
{
goto IL_0082;
}
}
{
int32_t L_6 = (int32_t)__this->get__size_2();
int32_t L_7 = ___count1;
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)L_7)));
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
if ((((int32_t)L_8) >= ((int32_t)L_9)))
{
goto IL_0062;
}
}
{
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_10 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
int32_t L_11 = ___index0;
int32_t L_12 = ___count1;
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_13 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
int32_t L_14 = ___index0;
int32_t L_15 = (int32_t)__this->get__size_2();
int32_t L_16 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_10, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)L_12)), (RuntimeArray *)(RuntimeArray *)L_13, (int32_t)L_14, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_15, (int32_t)L_16)), /*hidden argument*/NULL);
}
IL_0062:
{
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_17 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
int32_t L_18 = (int32_t)__this->get__size_2();
int32_t L_19 = ___count1;
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_17, (int32_t)L_18, (int32_t)L_19, /*hidden argument*/NULL);
int32_t L_20 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_20, (int32_t)1)));
}
IL_0082:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UICharInfo>::Reverse()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Reverse_mE8017FEF2F6A698B46D022702E0324232C07BDE8_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (( int32_t (*) (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
(( void (*) (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31)->methodPointer)((List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *)__this, (int32_t)0, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UICharInfo>::Reverse(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Reverse_m6C518816E09A4711DA7A54125C280D1D2B063980_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_5 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
(( void (*) (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32)->methodPointer)((UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UICharInfo>::Sort(System.Collections.Generic.IComparer`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_m38892952A813B5BC15758B1A855E76E77F83D1FA_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, RuntimeObject* ___comparer0, const RuntimeMethod* method)
{
{
int32_t L_0 = (( int32_t (*) (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
RuntimeObject* L_1 = ___comparer0;
(( void (*) (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *)__this, (int32_t)0, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UICharInfo>::Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_mF1542A2F1BEEE636A1B5629249D610082AB414E4_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, int32_t ___index0, int32_t ___count1, RuntimeObject* ___comparer2, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_5 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
RuntimeObject* L_8 = ___comparer2;
(( void (*) (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)L_5, (int32_t)L_6, (int32_t)L_7, (RuntimeObject*)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
int32_t L_9 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UICharInfo>::Sort(System.Comparison`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_m5A295022F69552432D752F8BACD405764C2F05F4_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, Comparison_1_t466148B80A0CDD1A10C47BE09DBF7E4CBA31073F * ___comparison0, const RuntimeMethod* method)
{
{
Comparison_1_t466148B80A0CDD1A10C47BE09DBF7E4CBA31073F * L_0 = ___comparison0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_1) <= ((int32_t)0)))
{
goto IL_0025;
}
}
{
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_2 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
int32_t L_3 = (int32_t)__this->get__size_2();
Comparison_1_t466148B80A0CDD1A10C47BE09DBF7E4CBA31073F * L_4 = ___comparison0;
(( void (*) (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*, int32_t, int32_t, Comparison_1_t466148B80A0CDD1A10C47BE09DBF7E4CBA31073F *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35)->methodPointer)((UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)L_2, (int32_t)0, (int32_t)L_3, (Comparison_1_t466148B80A0CDD1A10C47BE09DBF7E4CBA31073F *)L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35));
}
IL_0025:
{
return;
}
}
// T[] System.Collections.Generic.List`1<UnityEngine.UICharInfo>::ToArray()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* List_1_ToArray_m739872958A60F687229E17F67BA59846E7E967E3_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, const RuntimeMethod* method)
{
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* V_0 = NULL;
{
int32_t L_0 = (int32_t)__this->get__size_2();
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_1 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)(UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_0);
V_0 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)L_1;
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_2 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)__this->get__items_1();
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_3 = V_0;
int32_t L_4 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_2, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_3, (int32_t)0, (int32_t)L_4, /*hidden argument*/NULL);
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_5 = V_0;
return L_5;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UICharInfo>::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__cctor_m3CCE9E68193DDF8B3DDBC873BC7419F3FBBD291F_gshared (const RuntimeMethod* method)
{
{
UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* L_0 = (UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)(UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482*)SZArrayNew(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 1), (uint32_t)0);
((List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set__emptyArray_5(L_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.Void System.Collections.Generic.List`1<UnityEngine.UILineInfo>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m8C0F866E6E749BD4EDF1A6160277ED2EB029D753_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0((RuntimeObject *)__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_0 = ((List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_0);
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UILineInfo>::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m9616B19521FA2ACBD7DAB484CA3DFA1283D8C9DD_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, int32_t ___capacity0, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0((RuntimeObject *)__this, /*hidden argument*/NULL);
int32_t L_0 = ___capacity0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)12), (int32_t)4, /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_1 = ___capacity0;
if (L_1)
{
goto IL_0021;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_2 = ((List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_2);
return;
}
IL_0021:
{
int32_t L_3 = ___capacity0;
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_4 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)(UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_3);
__this->set__items_1(L_4);
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UILineInfo>::.ctor(System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m54126B56CBD3263172CE7BA63F22A993BE38A774_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1__ctor_m54126B56CBD3263172CE7BA63F22A993BE38A774_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
RuntimeObject* V_2 = 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);
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0((RuntimeObject *)__this, /*hidden argument*/NULL);
RuntimeObject* L_0 = ___collection0;
if (L_0)
{
goto IL_000f;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)6, /*hidden argument*/NULL);
}
IL_000f:
{
RuntimeObject* L_1 = ___collection0;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_2 = V_0;
if (!L_2)
{
goto IL_0050;
}
}
{
RuntimeObject* L_3 = V_0;
int32_t L_4 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<UnityEngine.UILineInfo>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_3);
V_1 = (int32_t)L_4;
int32_t L_5 = V_1;
if (L_5)
{
goto IL_002f;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_6 = ((List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_6);
return;
}
IL_002f:
{
int32_t L_7 = V_1;
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_8 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)(UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_7);
__this->set__items_1(L_8);
RuntimeObject* L_9 = V_0;
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_10 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
InterfaceActionInvoker2< UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<UnityEngine.UILineInfo>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_9, (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)L_10, (int32_t)0);
int32_t L_11 = V_1;
__this->set__size_2(L_11);
return;
}
IL_0050:
{
__this->set__size_2(0);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_12 = ((List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_12);
RuntimeObject* L_13 = ___collection0;
RuntimeObject* L_14 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<UnityEngine.UILineInfo>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_13);
V_2 = (RuntimeObject*)L_14;
}
IL_0069:
try
{ // begin try (depth: 1)
{
goto IL_0077;
}
IL_006b:
{
RuntimeObject* L_15 = V_2;
UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 L_16 = InterfaceFuncInvoker0< UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<UnityEngine.UILineInfo>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_15);
(( void (*) (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *, UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *)__this, (UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 )L_16, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
}
IL_0077:
{
RuntimeObject* L_17 = V_2;
bool L_18 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, (RuntimeObject*)L_17);
if (L_18)
{
goto IL_006b;
}
}
IL_007f:
{
IL2CPP_LEAVE(0x8B, FINALLY_0081);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0081;
}
FINALLY_0081:
{ // begin finally (depth: 1)
{
RuntimeObject* L_19 = V_2;
if (!L_19)
{
goto IL_008a;
}
}
IL_0084:
{
RuntimeObject* L_20 = V_2;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, (RuntimeObject*)L_20);
}
IL_008a:
{
IL2CPP_END_FINALLY(129)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(129)
{
IL2CPP_JUMP_TBL(0x8B, IL_008b)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_008b:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.UILineInfo>::get_Capacity()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_get_Capacity_m675BCB845132B39FBA3402070F0F5200274F8869_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, const RuntimeMethod* method)
{
{
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_0 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
return (((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length))));
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UILineInfo>::set_Capacity(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Capacity_mD0EA00F0CEC092B3C7FA7566B205F531E13F5C75_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, int32_t ___value0, const RuntimeMethod* method)
{
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* V_0 = NULL;
{
int32_t L_0 = ___value0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) >= ((int32_t)L_1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)15), (int32_t)((int32_t)21), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___value0;
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_3 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
if ((((int32_t)L_2) == ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length)))))))
{
goto IL_0058;
}
}
{
int32_t L_4 = ___value0;
if ((((int32_t)L_4) <= ((int32_t)0)))
{
goto IL_004d;
}
}
{
int32_t L_5 = ___value0;
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_6 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)(UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_5);
V_0 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)L_6;
int32_t L_7 = (int32_t)__this->get__size_2();
if ((((int32_t)L_7) <= ((int32_t)0)))
{
goto IL_0045;
}
}
{
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_8 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_9 = V_0;
int32_t L_10 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_8, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_9, (int32_t)0, (int32_t)L_10, /*hidden argument*/NULL);
}
IL_0045:
{
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_11 = V_0;
__this->set__items_1(L_11);
return;
}
IL_004d:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_12 = ((List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_12);
}
IL_0058:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.UILineInfo>::get_Count()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m6B125734B767109FAD04B6F3F519B76AED57F181_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
return L_0;
}
}
// System.Boolean System.Collections.Generic.List`1<UnityEngine.UILineInfo>::System.Collections.Generic.ICollection<T>.get_IsReadOnly()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_System_Collections_Generic_ICollectionU3CTU3E_get_IsReadOnly_m4DB5553DBFD7FB376C173CEFDDB4DA08F6DAC224_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<UnityEngine.UILineInfo>::System.Collections.IList.get_IsReadOnly()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_System_Collections_IList_get_IsReadOnly_mEE137A7F75F2C6174EB1A08CE02006A7E45EE1A3_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// T System.Collections.Generic.List`1<UnityEngine.UILineInfo>::get_Item(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 List_1_get_Item_m18BAF97A178D52A77CC0890122A1BE37B8C076C8_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __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:
{
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_2 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
int32_t L_3 = ___index0;
UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 L_4 = IL2CPP_ARRAY_UNSAFE_LOAD((UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)L_2, (int32_t)L_3);
return L_4;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UILineInfo>::set_Item(System.Int32,T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Item_mC04E2866CDA6A452B5F41239E8D038D0FDABCB05_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, int32_t ___index0, UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 ___value1, 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:
{
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_2 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
int32_t L_3 = ___index0;
UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 L_4 = ___value1;
(L_2)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_3), (UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 )L_4);
int32_t L_5 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<UnityEngine.UILineInfo>::IsCompatibleObject(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_IsCompatibleObject_mF47E311DCA47B327BAF4177A71FBFEDD20BF970E_gshared (RuntimeObject * ___value0, const RuntimeMethod* method)
{
UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 V_0;
memset((&V_0), 0, sizeof(V_0));
{
RuntimeObject * L_0 = ___value0;
if (((RuntimeObject *)IsInst((RuntimeObject*)L_0, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7))))
{
goto IL_001f;
}
}
{
RuntimeObject * L_1 = ___value0;
if (L_1)
{
goto IL_001d;
}
}
{
il2cpp_codegen_initobj((&V_0), sizeof(UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 ));
UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 L_2 = V_0;
UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 L_3 = L_2;
RuntimeObject * L_4 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7), &L_3);
return (bool)((((RuntimeObject*)(RuntimeObject *)L_4) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
}
IL_001d:
{
return (bool)0;
}
IL_001f:
{
return (bool)1;
}
}
// System.Object System.Collections.Generic.List`1<UnityEngine.UILineInfo>::System.Collections.IList.get_Item(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * List_1_System_Collections_IList_get_Item_m9221B15CEEA390C4918F96FDB4816C5FE9505459_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 L_1 = (( UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 (*) (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8)->methodPointer)((List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *)__this, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 L_2 = L_1;
RuntimeObject * L_3 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7), &L_2);
return L_3;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UILineInfo>::System.Collections.IList.set_Item(System.Int32,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_IList_set_Item_m46624381E5B404D6881066249F7CFD81D99D3956_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, int32_t ___index0, RuntimeObject * ___value1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_set_Item_m46624381E5B404D6881066249F7CFD81D99D3956_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeObject * L_0 = ___value1;
(( void (*) (RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((RuntimeObject *)L_0, (int32_t)((int32_t)15), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___value1;
(( void (*) (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *, int32_t, UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10)->methodPointer)((List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *)__this, (int32_t)L_1, (UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 )((*(UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 *)((UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___value1;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6((RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F((RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UILineInfo>::Add(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Add_mD199A4343976E4A0620F2461885C080971B4C2EC_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = (int32_t)__this->get__size_2();
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_1 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
if ((!(((uint32_t)L_0) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length))))))))
{
goto IL_001e;
}
}
{
int32_t L_2 = (int32_t)__this->get__size_2();
(( void (*) (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_2, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_001e:
{
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_3 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
int32_t L_4 = (int32_t)__this->get__size_2();
V_0 = (int32_t)L_4;
int32_t L_5 = V_0;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
int32_t L_6 = V_0;
UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 L_7 = ___item0;
(L_3)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_6), (UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 )L_7);
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.UILineInfo>::System.Collections.IList.Add(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_System_Collections_IList_Add_m5ACBFCDD463F6E1F759ADCF313B71FA5DB58DC6E_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Add_m5ACBFCDD463F6E1F759ADCF313B71FA5DB58DC6E_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeObject * L_0 = ___item0;
(( void (*) (RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
RuntimeObject * L_1 = ___item0;
(( void (*) (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *, UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *)__this, (UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 )((*(UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 *)((UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 *)UnBox(L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
goto IL_0029;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0016;
throw e;
}
CATCH_0016:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_2 = ___item0;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_3 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_4 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6((RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D )L_3, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F((RuntimeObject *)L_2, (Type_t *)L_4, /*hidden argument*/NULL);
goto IL_0029;
} // end catch (depth: 1)
IL_0029:
{
int32_t L_5 = (( int32_t (*) (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_5, (int32_t)1));
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UILineInfo>::AddRange(System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_AddRange_mC98AD8716D82E5F7D98EBBFEE68DEA74D194B81B_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
RuntimeObject* L_1 = ___collection0;
(( void (*) (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14)->methodPointer)((List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *)__this, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UILineInfo>::Clear()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Clear_m07D4EFA23F2298DAE3C279EE4867E4232A7AC634_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) <= ((int32_t)0)))
{
goto IL_0022;
}
}
{
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_1 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
int32_t L_2 = (int32_t)__this->get__size_2();
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/NULL);
__this->set__size_2(0);
}
IL_0022:
{
int32_t L_3 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<UnityEngine.UILineInfo>::Contains(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_Contains_m7AD43C6B591B02A01B6DC1319F3E4193293E338E_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
EqualityComparer_1_tF33A333C3CC9DCBB0DA73EBB7975182A3CA3FDB6 * V_1 = NULL;
int32_t V_2 = 0;
{
goto IL_0030;
}
{
V_0 = (int32_t)0;
goto IL_0025;
}
IL_000c:
{
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_1 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
int32_t L_2 = V_0;
int32_t L_3 = L_2;
UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 L_4 = (L_1)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_3));
goto IL_0021;
}
{
return (bool)1;
}
IL_0021:
{
int32_t L_5 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1));
}
IL_0025:
{
int32_t L_6 = V_0;
int32_t L_7 = (int32_t)__this->get__size_2();
if ((((int32_t)L_6) < ((int32_t)L_7)))
{
goto IL_000c;
}
}
{
return (bool)0;
}
IL_0030:
{
EqualityComparer_1_tF33A333C3CC9DCBB0DA73EBB7975182A3CA3FDB6 * L_8 = (( EqualityComparer_1_tF33A333C3CC9DCBB0DA73EBB7975182A3CA3FDB6 * (*) (const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)(/*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
V_1 = (EqualityComparer_1_tF33A333C3CC9DCBB0DA73EBB7975182A3CA3FDB6 *)L_8;
V_2 = (int32_t)0;
goto IL_0055;
}
IL_003a:
{
EqualityComparer_1_tF33A333C3CC9DCBB0DA73EBB7975182A3CA3FDB6 * L_9 = V_1;
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_10 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
int32_t L_11 = V_2;
int32_t L_12 = L_11;
UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 L_13 = (L_10)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_12));
UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 L_14 = ___item0;
bool L_15 = VirtFuncInvoker2< bool, UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 , UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 >::Invoke(8 /* System.Boolean System.Collections.Generic.EqualityComparer`1<UnityEngine.UILineInfo>::Equals(T,T) */, (EqualityComparer_1_tF33A333C3CC9DCBB0DA73EBB7975182A3CA3FDB6 *)L_9, (UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 )L_13, (UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 )L_14);
if (!L_15)
{
goto IL_0051;
}
}
{
return (bool)1;
}
IL_0051:
{
int32_t L_16 = V_2;
V_2 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1));
}
IL_0055:
{
int32_t L_17 = V_2;
int32_t L_18 = (int32_t)__this->get__size_2();
if ((((int32_t)L_17) < ((int32_t)L_18)))
{
goto IL_003a;
}
}
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<UnityEngine.UILineInfo>::System.Collections.IList.Contains(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_System_Collections_IList_Contains_m1DB93C71103BED1E2E2A68E3605199CD0D1142C9_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
bool L_3 = (( bool (*) (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *, UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *)__this, (UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 )((*(UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 *)((UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
return L_3;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UILineInfo>::CopyTo(T[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_CopyTo_m640735A3CF1E4187EEAA47439AC9ECF5D4C2600E_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* ___array0, const RuntimeMethod* method)
{
{
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_0 = ___array0;
(( void (*) (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *, UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20)->methodPointer)((List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *)__this, (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)L_0, (int32_t)0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UILineInfo>::System.Collections.ICollection.CopyTo(System.Array,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_ICollection_CopyTo_mE3FB0FB9FE7E488428B32DC81AE14E2EE2F17055_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, RuntimeArray * ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_ICollection_CopyTo_mE3FB0FB9FE7E488428B32DC81AE14E2EE2F17055_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeArray * L_0 = ___array0;
if (!L_0)
{
goto IL_0012;
}
}
{
RuntimeArray * L_1 = ___array0;
int32_t L_2 = Array_get_Rank_m38145B59D67D75F9896A3F8CDA9B966641AE99E1((RuntimeArray *)L_1, /*hidden argument*/NULL);
if ((((int32_t)L_2) == ((int32_t)1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)7, /*hidden argument*/NULL);
}
IL_0012:
{
}
IL_0013:
try
{ // begin try (depth: 1)
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_3 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
RuntimeArray * L_4 = ___array0;
int32_t L_5 = ___arrayIndex1;
int32_t L_6 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_3, (int32_t)0, (RuntimeArray *)L_4, (int32_t)L_5, (int32_t)L_6, /*hidden argument*/NULL);
goto IL_0033;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (ArrayTypeMismatchException_tE34C1032B089C37399200997F079C640D23D9499_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0029;
throw e;
}
CATCH_0029:
{ // begin catch(System.ArrayTypeMismatchException)
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)18), /*hidden argument*/NULL);
goto IL_0033;
} // end catch (depth: 1)
IL_0033:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UILineInfo>::CopyTo(System.Int32,T[],System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_CopyTo_mEB3C01442B3562E33149193F100359253F016962_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, int32_t ___index0, UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* ___array1, int32_t ___arrayIndex2, int32_t ___count3, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
int32_t L_1 = ___index0;
int32_t L_2 = ___count3;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_0, (int32_t)L_1))) >= ((int32_t)L_2)))
{
goto IL_0013;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_0013:
{
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_3 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
int32_t L_4 = ___index0;
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_5 = ___array1;
int32_t L_6 = ___arrayIndex2;
int32_t L_7 = ___count3;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_3, (int32_t)L_4, (RuntimeArray *)(RuntimeArray *)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UILineInfo>::CopyTo(T[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_CopyTo_m9F1D210DDC2CBC68C8306786C3E492A7239B0788_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
{
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_0 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_1 = ___array0;
int32_t L_2 = ___arrayIndex1;
int32_t L_3 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_0, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)L_2, (int32_t)L_3, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UILineInfo>::EnsureCapacity(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_EnsureCapacity_m841EADF7C3B5BEFB6410C577200DB02BA638BFBF_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, int32_t ___min0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t G_B4_0 = 0;
{
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_0 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
int32_t L_1 = ___min0;
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length))))) >= ((int32_t)L_1)))
{
goto IL_003d;
}
}
{
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_2 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
if (!(((RuntimeArray*)L_2)->max_length))
{
goto IL_0020;
}
}
{
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_3 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
G_B4_0 = ((int32_t)il2cpp_codegen_multiply((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length)))), (int32_t)2));
goto IL_0021;
}
IL_0020:
{
G_B4_0 = 4;
}
IL_0021:
{
V_0 = (int32_t)G_B4_0;
int32_t L_4 = V_0;
if ((!(((uint32_t)L_4) > ((uint32_t)((int32_t)2146435071)))))
{
goto IL_0030;
}
}
{
V_0 = (int32_t)((int32_t)2146435071);
}
IL_0030:
{
int32_t L_5 = V_0;
int32_t L_6 = ___min0;
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0036;
}
}
{
int32_t L_7 = ___min0;
V_0 = (int32_t)L_7;
}
IL_0036:
{
int32_t L_8 = V_0;
(( void (*) (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 21)->methodPointer)((List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *)__this, (int32_t)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 21));
}
IL_003d:
{
return;
}
}
// T System.Collections.Generic.List`1<UnityEngine.UILineInfo>::Find(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 List_1_Find_mEB9E47B902706D565B5EE1FDC0B22FA757592BDE_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, Predicate_1_t10822666A90A56FEFE6380CDD491BDEAC56F650D * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 V_1;
memset((&V_1), 0, sizeof(V_1));
{
Predicate_1_t10822666A90A56FEFE6380CDD491BDEAC56F650D * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0032;
}
IL_000d:
{
Predicate_1_t10822666A90A56FEFE6380CDD491BDEAC56F650D * L_1 = ___match0;
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_2 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
int32_t L_3 = V_0;
int32_t L_4 = L_3;
UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 L_5 = (L_2)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_4));
bool L_6 = (( bool (*) (Predicate_1_t10822666A90A56FEFE6380CDD491BDEAC56F650D *, UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t10822666A90A56FEFE6380CDD491BDEAC56F650D *)L_1, (UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 )L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_6)
{
goto IL_002e;
}
}
{
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_7 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
int32_t L_8 = V_0;
int32_t L_9 = L_8;
UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 L_10 = (L_7)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_9));
return L_10;
}
IL_002e:
{
int32_t L_11 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)1));
}
IL_0032:
{
int32_t L_12 = V_0;
int32_t L_13 = (int32_t)__this->get__size_2();
if ((((int32_t)L_12) < ((int32_t)L_13)))
{
goto IL_000d;
}
}
{
il2cpp_codegen_initobj((&V_1), sizeof(UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 ));
UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 L_14 = V_1;
return L_14;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.UILineInfo>::FindIndex(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_FindIndex_mF77122CFBFDC333D66FBB2E1FB116955C2DCC8C2_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, Predicate_1_t10822666A90A56FEFE6380CDD491BDEAC56F650D * ___match0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
Predicate_1_t10822666A90A56FEFE6380CDD491BDEAC56F650D * L_1 = ___match0;
int32_t L_2 = (( int32_t (*) (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *, int32_t, int32_t, Predicate_1_t10822666A90A56FEFE6380CDD491BDEAC56F650D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23)->methodPointer)((List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *)__this, (int32_t)0, (int32_t)L_0, (Predicate_1_t10822666A90A56FEFE6380CDD491BDEAC56F650D *)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23));
return L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.UILineInfo>::FindIndex(System.Int32,System.Int32,System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_FindIndex_mC48F637E24AF529691E1CD5F851F1336524A2E27_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, int32_t ___startIndex0, int32_t ___count1, Predicate_1_t10822666A90A56FEFE6380CDD491BDEAC56F650D * ___match2, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
int32_t L_0 = ___startIndex0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) > ((uint32_t)L_1))))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)14), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___count1;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0021;
}
}
{
int32_t L_3 = ___startIndex0;
int32_t L_4 = (int32_t)__this->get__size_2();
int32_t L_5 = ___count1;
if ((((int32_t)L_3) <= ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_4, (int32_t)L_5)))))
{
goto IL_002a;
}
}
IL_0021:
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)((int32_t)25), /*hidden argument*/NULL);
}
IL_002a:
{
Predicate_1_t10822666A90A56FEFE6380CDD491BDEAC56F650D * L_6 = ___match2;
if (L_6)
{
goto IL_0033;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0033:
{
int32_t L_7 = ___startIndex0;
int32_t L_8 = ___count1;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_7, (int32_t)L_8));
int32_t L_9 = ___startIndex0;
V_1 = (int32_t)L_9;
goto IL_0055;
}
IL_003b:
{
Predicate_1_t10822666A90A56FEFE6380CDD491BDEAC56F650D * L_10 = ___match2;
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_11 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
int32_t L_12 = V_1;
int32_t L_13 = L_12;
UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 L_14 = (L_11)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_13));
bool L_15 = (( bool (*) (Predicate_1_t10822666A90A56FEFE6380CDD491BDEAC56F650D *, UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t10822666A90A56FEFE6380CDD491BDEAC56F650D *)L_10, (UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 )L_14, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_15)
{
goto IL_0051;
}
}
{
int32_t L_16 = V_1;
return L_16;
}
IL_0051:
{
int32_t L_17 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1));
}
IL_0055:
{
int32_t L_18 = V_1;
int32_t L_19 = V_0;
if ((((int32_t)L_18) < ((int32_t)L_19)))
{
goto IL_003b;
}
}
{
return (-1);
}
}
// System.Collections.Generic.List`1_Enumerator<T> System.Collections.Generic.List`1<UnityEngine.UILineInfo>::GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Enumerator_tD8CA6910C75C5AD8FF6B3018C967A8E2431038AA List_1_GetEnumerator_m4087846FAC55C6924FCA62A637883315D4284AF0_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, const RuntimeMethod* method)
{
{
Enumerator_tD8CA6910C75C5AD8FF6B3018C967A8E2431038AA L_0;
memset((&L_0), 0, sizeof(L_0));
Enumerator__ctor_mBEFBD73844C725D01E11FA7FCC6BCB3CBA9F16B7((&L_0), (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
return L_0;
}
}
// System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.List`1<UnityEngine.UILineInfo>::System.Collections.Generic.IEnumerable<T>.GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* List_1_System_Collections_Generic_IEnumerableU3CTU3E_GetEnumerator_m658180F6329C10747911C4029EC955BFC9C10C80_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, const RuntimeMethod* method)
{
{
Enumerator_tD8CA6910C75C5AD8FF6B3018C967A8E2431038AA L_0;
memset((&L_0), 0, sizeof(L_0));
Enumerator__ctor_mBEFBD73844C725D01E11FA7FCC6BCB3CBA9F16B7((&L_0), (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
Enumerator_tD8CA6910C75C5AD8FF6B3018C967A8E2431038AA L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 24), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Collections.IEnumerator System.Collections.Generic.List`1<UnityEngine.UILineInfo>::System.Collections.IEnumerable.GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* List_1_System_Collections_IEnumerable_GetEnumerator_mF429880912C155ABC8A5956014049AC98150EA11_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, const RuntimeMethod* method)
{
{
Enumerator_tD8CA6910C75C5AD8FF6B3018C967A8E2431038AA L_0;
memset((&L_0), 0, sizeof(L_0));
Enumerator__ctor_mBEFBD73844C725D01E11FA7FCC6BCB3CBA9F16B7((&L_0), (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
Enumerator_tD8CA6910C75C5AD8FF6B3018C967A8E2431038AA L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 24), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.UILineInfo>::IndexOf(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_IndexOf_m3E158F92EA8F77D738D2D9D3DF6A97F621734DCC_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 ___item0, const RuntimeMethod* method)
{
{
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_0 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 L_1 = ___item0;
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = (( int32_t (*) (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*, UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 , int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)L_0, (UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 )L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
return L_3;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.UILineInfo>::System.Collections.IList.IndexOf(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_System_Collections_IList_IndexOf_m7DBF07E756D00D225F3CDEC16F97779EC6A285E4_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
int32_t L_3 = (( int32_t (*) (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *, UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *)__this, (UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 )((*(UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 *)((UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
return L_3;
}
IL_0015:
{
return (-1);
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UILineInfo>::Insert(System.Int32,T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Insert_mD6E5EA4F639FB8A69209A04CC676203B757D9B56_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, int32_t ___index0, UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 ___item1, 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_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)((int32_t)27), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = (int32_t)__this->get__size_2();
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_3 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
if ((!(((uint32_t)L_2) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length))))))))
{
goto IL_0030;
}
}
{
int32_t L_4 = (int32_t)__this->get__size_2();
(( void (*) (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_0030:
{
int32_t L_5 = ___index0;
int32_t L_6 = (int32_t)__this->get__size_2();
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0056;
}
}
{
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_7 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
int32_t L_8 = ___index0;
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_9 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
int32_t L_12 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (RuntimeArray *)(RuntimeArray *)L_9, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_11, (int32_t)L_12)), /*hidden argument*/NULL);
}
IL_0056:
{
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_13 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
int32_t L_14 = ___index0;
UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 L_15 = ___item1;
(L_13)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_14), (UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 )L_15);
int32_t L_16 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1)));
int32_t L_17 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UILineInfo>::System.Collections.IList.Insert(System.Int32,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_IList_Insert_mDCD387BFE603E723DB952AC49A1EC6D8D6619E64_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, int32_t ___index0, RuntimeObject * ___item1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Insert_mDCD387BFE603E723DB952AC49A1EC6D8D6619E64_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
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);
{
RuntimeObject * L_0 = ___item1;
(( void (*) (RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___item1;
(( void (*) (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *, int32_t, UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *)__this, (int32_t)L_1, (UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 )((*(UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 *)((UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t91DF9E7D7FCCDA6C562CB4A9A18903E016680FDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___item1;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6((RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F((RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UILineInfo>::InsertRange(System.Int32,System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_InsertRange_mC6754E7428DC53129213B9ACC713F352544FD6B2_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, int32_t ___index0, RuntimeObject* ___collection1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_InsertRange_mC6754E7428DC53129213B9ACC713F352544FD6B2_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
RuntimeObject* V_2 = 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);
{
RuntimeObject* L_0 = ___collection1;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)6, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = ___index0;
int32_t L_2 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_1) > ((uint32_t)L_2))))
{
goto IL_001b;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_001b:
{
RuntimeObject* L_3 = ___collection1;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_3, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_4 = V_0;
if (!L_4)
{
goto IL_00c0;
}
}
{
RuntimeObject* L_5 = V_0;
int32_t L_6 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<UnityEngine.UILineInfo>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_5);
V_1 = (int32_t)L_6;
int32_t L_7 = V_1;
if ((((int32_t)L_7) <= ((int32_t)0)))
{
goto IL_00ef;
}
}
{
int32_t L_8 = (int32_t)__this->get__size_2();
int32_t L_9 = V_1;
(( void (*) (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)L_9)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) >= ((int32_t)L_11)))
{
goto IL_006a;
}
}
{
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_12 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
int32_t L_13 = ___index0;
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_14 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
int32_t L_15 = ___index0;
int32_t L_16 = V_1;
int32_t L_17 = (int32_t)__this->get__size_2();
int32_t L_18 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_12, (int32_t)L_13, (RuntimeArray *)(RuntimeArray *)L_14, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_15, (int32_t)L_16)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_17, (int32_t)L_18)), /*hidden argument*/NULL);
}
IL_006a:
{
RuntimeObject* L_19 = V_0;
if ((!(((RuntimeObject*)(List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *)__this) == ((RuntimeObject*)(RuntimeObject*)L_19))))
{
goto IL_00a3;
}
}
{
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_20 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_21 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
int32_t L_22 = ___index0;
int32_t L_23 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_20, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_21, (int32_t)L_22, (int32_t)L_23, /*hidden argument*/NULL);
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_24 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
int32_t L_25 = ___index0;
int32_t L_26 = V_1;
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_27 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
int32_t L_28 = ___index0;
int32_t L_29 = (int32_t)__this->get__size_2();
int32_t L_30 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_24, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_25, (int32_t)L_26)), (RuntimeArray *)(RuntimeArray *)L_27, (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_28, (int32_t)2)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_29, (int32_t)L_30)), /*hidden argument*/NULL);
goto IL_00b0;
}
IL_00a3:
{
RuntimeObject* L_31 = V_0;
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_32 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
int32_t L_33 = ___index0;
InterfaceActionInvoker2< UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<UnityEngine.UILineInfo>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_31, (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)L_32, (int32_t)L_33);
}
IL_00b0:
{
int32_t L_34 = (int32_t)__this->get__size_2();
int32_t L_35 = V_1;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_34, (int32_t)L_35)));
goto IL_00ef;
}
IL_00c0:
{
RuntimeObject* L_36 = ___collection1;
RuntimeObject* L_37 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<UnityEngine.UILineInfo>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_36);
V_2 = (RuntimeObject*)L_37;
}
IL_00c7:
try
{ // begin try (depth: 1)
{
goto IL_00db;
}
IL_00c9:
{
int32_t L_38 = ___index0;
int32_t L_39 = (int32_t)L_38;
___index0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_39, (int32_t)1));
RuntimeObject* L_40 = V_2;
UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 L_41 = InterfaceFuncInvoker0< UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<UnityEngine.UILineInfo>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_40);
(( void (*) (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *, int32_t, UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *)__this, (int32_t)L_39, (UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 )L_41, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_00db:
{
RuntimeObject* L_42 = V_2;
bool L_43 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, (RuntimeObject*)L_42);
if (L_43)
{
goto IL_00c9;
}
}
IL_00e3:
{
IL2CPP_LEAVE(0xEF, FINALLY_00e5);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00e5;
}
FINALLY_00e5:
{ // begin finally (depth: 1)
{
RuntimeObject* L_44 = V_2;
if (!L_44)
{
goto IL_00ee;
}
}
IL_00e8:
{
RuntimeObject* L_45 = V_2;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, (RuntimeObject*)L_45);
}
IL_00ee:
{
IL2CPP_END_FINALLY(229)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(229)
{
IL2CPP_JUMP_TBL(0xEF, IL_00ef)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00ef:
{
int32_t L_46 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_46, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<UnityEngine.UILineInfo>::Remove(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_Remove_m02DD2EED6657B47F7A2386C13BAE4F3689B6A8FF_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 L_0 = ___item0;
int32_t L_1 = (( int32_t (*) (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *, UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *)__this, (UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
V_0 = (int32_t)L_1;
int32_t L_2 = V_0;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0015;
}
}
{
int32_t L_3 = V_0;
(( void (*) (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29)->methodPointer)((List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *)__this, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29));
return (bool)1;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UILineInfo>::System.Collections.IList.Remove(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_System_Collections_IList_Remove_m402117E7031E35F3171134B19C5D62E21B492227_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
(( bool (*) (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *, UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30)->methodPointer)((List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *)__this, (UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 )((*(UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 *)((UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
}
IL_0015:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.UILineInfo>::RemoveAll(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_RemoveAll_mE74D300B1C132420A98F155EE6F59FE04974A900_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, Predicate_1_t10822666A90A56FEFE6380CDD491BDEAC56F650D * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
Predicate_1_t10822666A90A56FEFE6380CDD491BDEAC56F650D * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0011;
}
IL_000d:
{
int32_t L_1 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_1, (int32_t)1));
}
IL_0011:
{
int32_t L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__size_2();
if ((((int32_t)L_2) >= ((int32_t)L_3)))
{
goto IL_002e;
}
}
{
Predicate_1_t10822666A90A56FEFE6380CDD491BDEAC56F650D * L_4 = ___match0;
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_5 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
int32_t L_6 = V_0;
int32_t L_7 = L_6;
UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 L_8 = (L_5)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_7));
bool L_9 = (( bool (*) (Predicate_1_t10822666A90A56FEFE6380CDD491BDEAC56F650D *, UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t10822666A90A56FEFE6380CDD491BDEAC56F650D *)L_4, (UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 )L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_9)
{
goto IL_000d;
}
}
IL_002e:
{
int32_t L_10 = V_0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) < ((int32_t)L_11)))
{
goto IL_0039;
}
}
{
return 0;
}
IL_0039:
{
int32_t L_12 = V_0;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1));
goto IL_0089;
}
IL_003f:
{
int32_t L_13 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_13, (int32_t)1));
}
IL_0043:
{
int32_t L_14 = V_1;
int32_t L_15 = (int32_t)__this->get__size_2();
if ((((int32_t)L_14) >= ((int32_t)L_15)))
{
goto IL_0060;
}
}
{
Predicate_1_t10822666A90A56FEFE6380CDD491BDEAC56F650D * L_16 = ___match0;
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_17 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
int32_t L_18 = V_1;
int32_t L_19 = L_18;
UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 L_20 = (L_17)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_19));
bool L_21 = (( bool (*) (Predicate_1_t10822666A90A56FEFE6380CDD491BDEAC56F650D *, UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)((Predicate_1_t10822666A90A56FEFE6380CDD491BDEAC56F650D *)L_16, (UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 )L_20, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (L_21)
{
goto IL_003f;
}
}
IL_0060:
{
int32_t L_22 = V_1;
int32_t L_23 = (int32_t)__this->get__size_2();
if ((((int32_t)L_22) >= ((int32_t)L_23)))
{
goto IL_0089;
}
}
{
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_24 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
int32_t L_25 = V_0;
int32_t L_26 = (int32_t)L_25;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_26, (int32_t)1));
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_27 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
int32_t L_28 = V_1;
int32_t L_29 = (int32_t)L_28;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_29, (int32_t)1));
int32_t L_30 = L_29;
UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 L_31 = (L_27)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_30));
(L_24)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_26), (UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 )L_31);
}
IL_0089:
{
int32_t L_32 = V_1;
int32_t L_33 = (int32_t)__this->get__size_2();
if ((((int32_t)L_32) < ((int32_t)L_33)))
{
goto IL_0043;
}
}
{
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_34 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
int32_t L_35 = V_0;
int32_t L_36 = (int32_t)__this->get__size_2();
int32_t L_37 = V_0;
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_34, (int32_t)L_35, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_36, (int32_t)L_37)), /*hidden argument*/NULL);
int32_t L_38 = (int32_t)__this->get__size_2();
int32_t L_39 = V_0;
int32_t L_40 = V_0;
__this->set__size_2(L_40);
int32_t L_41 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_41, (int32_t)1)));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_38, (int32_t)L_39));
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UILineInfo>::RemoveAt(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_RemoveAt_mA3861F5896282D59185D66F46936F9BA51A2B06C_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, int32_t ___index0, const RuntimeMethod* method)
{
UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 V_0;
memset((&V_0), 0, sizeof(V_0));
{
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:
{
int32_t L_2 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)1)));
int32_t L_3 = ___index0;
int32_t L_4 = (int32_t)__this->get__size_2();
if ((((int32_t)L_3) >= ((int32_t)L_4)))
{
goto IL_0042;
}
}
{
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_5 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
int32_t L_6 = ___index0;
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_7 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
int32_t L_10 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_5, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)1)), (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)L_10)), /*hidden argument*/NULL);
}
IL_0042:
{
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_11 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
int32_t L_12 = (int32_t)__this->get__size_2();
il2cpp_codegen_initobj((&V_0), sizeof(UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 ));
UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 L_13 = V_0;
(L_11)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_12), (UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 )L_13);
int32_t L_14 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_14, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UILineInfo>::RemoveRange(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_RemoveRange_m295B4E23513B0EEB65B4D290D39B0B3CBEEC1232_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
int32_t L_5 = ___count1;
if ((((int32_t)L_5) <= ((int32_t)0)))
{
goto IL_0082;
}
}
{
int32_t L_6 = (int32_t)__this->get__size_2();
int32_t L_7 = ___count1;
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)L_7)));
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
if ((((int32_t)L_8) >= ((int32_t)L_9)))
{
goto IL_0062;
}
}
{
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_10 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
int32_t L_11 = ___index0;
int32_t L_12 = ___count1;
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_13 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
int32_t L_14 = ___index0;
int32_t L_15 = (int32_t)__this->get__size_2();
int32_t L_16 = ___index0;
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_10, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)L_12)), (RuntimeArray *)(RuntimeArray *)L_13, (int32_t)L_14, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_15, (int32_t)L_16)), /*hidden argument*/NULL);
}
IL_0062:
{
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_17 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
int32_t L_18 = (int32_t)__this->get__size_2();
int32_t L_19 = ___count1;
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_17, (int32_t)L_18, (int32_t)L_19, /*hidden argument*/NULL);
int32_t L_20 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_20, (int32_t)1)));
}
IL_0082:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UILineInfo>::Reverse()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Reverse_mFB4FCC5DE160D1D49E57C914E91561C3D43BBD74_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (( int32_t (*) (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
(( void (*) (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31)->methodPointer)((List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *)__this, (int32_t)0, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UILineInfo>::Reverse(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Reverse_m971B6B8B275C2F4C32240CB84443038B485C73F9_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_5 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
(( void (*) (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32)->methodPointer)((UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UILineInfo>::Sort(System.Collections.Generic.IComparer`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_mF257DFF3F216494AEEF1AA161232B9F430E07645_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, RuntimeObject* ___comparer0, const RuntimeMethod* method)
{
{
int32_t L_0 = (( int32_t (*) (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
RuntimeObject* L_1 = ___comparer0;
(( void (*) (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *)__this, (int32_t)0, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UILineInfo>::Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_mEF34C48BB790C4993C20AC63209CBC827F94413D_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, int32_t ___index0, int32_t ___count1, RuntimeObject* ___comparer2, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51((int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84((int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_5 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
RuntimeObject* L_8 = ___comparer2;
(( void (*) (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)L_5, (int32_t)L_6, (int32_t)L_7, (RuntimeObject*)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
int32_t L_9 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UILineInfo>::Sort(System.Comparison`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_mA4F986EC8E17E8A2AAD61A55AC6E139C139D84DA_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, Comparison_1_t75D7367587B69E92B30A0339100A798843A58F18 * ___comparison0, const RuntimeMethod* method)
{
{
Comparison_1_t75D7367587B69E92B30A0339100A798843A58F18 * L_0 = ___comparison0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E((int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_1) <= ((int32_t)0)))
{
goto IL_0025;
}
}
{
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_2 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
int32_t L_3 = (int32_t)__this->get__size_2();
Comparison_1_t75D7367587B69E92B30A0339100A798843A58F18 * L_4 = ___comparison0;
(( void (*) (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*, int32_t, int32_t, Comparison_1_t75D7367587B69E92B30A0339100A798843A58F18 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35)->methodPointer)((UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)L_2, (int32_t)0, (int32_t)L_3, (Comparison_1_t75D7367587B69E92B30A0339100A798843A58F18 *)L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35));
}
IL_0025:
{
return;
}
}
// T[] System.Collections.Generic.List`1<UnityEngine.UILineInfo>::ToArray()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* List_1_ToArray_m99BA8931C3F0A9A81EBAC9F4B30AA3D74BC23315_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, const RuntimeMethod* method)
{
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* V_0 = NULL;
{
int32_t L_0 = (int32_t)__this->get__size_2();
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_1 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)(UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_0);
V_0 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)L_1;
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_2 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)__this->get__items_1();
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_3 = V_0;
int32_t L_4 = (int32_t)__this->get__size_2();
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_2, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_3, (int32_t)0, (int32_t)L_4, /*hidden argument*/NULL);
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_5 = V_0;
return L_5;
}
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UILineInfo>::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__cctor_m4A302C1EE4500365EB1864992017404704BDC2C4_gshared (const RuntimeMethod* method)
{
{
UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* L_0 = (UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)(UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC*)SZArrayNew(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 1), (uint32_t)0);
((List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set__emptyArray_5(L_0);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
| [
"muhammad.t.k@hotmail.co.uk"
] | muhammad.t.k@hotmail.co.uk |
852e97c4d3ed73246ce22c3d1c4a0134b301d908 | d98404868eafa300b07fc90f98e14890bdf148a4 | /preMacro.cpp | a23b0464df793ff753751df7e8182637212fb5f7 | [] | no_license | eltroneur/newbeeCpp | 4f4974727b33fd9fa64fd334c46775c237943506 | d9a8f77b7c9d5e7b8eb2623315d7713ce28c4bea | refs/heads/master | 2022-02-10T22:10:37.758263 | 2022-01-27T09:58:18 | 2022-01-27T09:58:18 | 182,321,626 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 336 | cpp | // preMacro.cpp -- using pre-defined MACRO
#include <iostream>
int main()
{
std::cout << "Current line is " << __LINE__ << std::endl;
std::cout << "Current filename is " << __FILE__ << std::endl;
std::cout << "Current date is " << __DATE__ << std::endl;
std::cout << "Current time is " << __TIME__ << std::endl;
return 0;
}
| [
"cherishdevice@163.com"
] | cherishdevice@163.com |
08bdb373fdbf67aadfb6f8101385efbb65a38f14 | b5a9d42f7ea5e26cd82b3be2b26c324d5da79ba1 | /tensorflow/compiler/jit/clone_constants_for_better_clustering_test.cc | 7944d8ebd12be754cec6e0c3633ee55bceb1fe5b | [
"Apache-2.0"
] | permissive | uve/tensorflow | e48cb29f39ed24ee27e81afd1687960682e1fbef | e08079463bf43e5963acc41da1f57e95603f8080 | refs/heads/master | 2020-11-29T11:30:40.391232 | 2020-01-11T13:43:10 | 2020-01-11T13:43:10 | 230,088,347 | 0 | 0 | Apache-2.0 | 2019-12-25T10:49:15 | 2019-12-25T10:49:14 | null | UTF-8 | C++ | false | false | 6,717 | cc | /* Copyright 2019 The TensorFlow Authors. 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 "tensorflow/compiler/jit/clone_constants_for_better_clustering.h"
#include "tensorflow/cc/framework/ops.h"
#include "tensorflow/cc/ops/array_ops.h"
#include "tensorflow/cc/ops/const_op.h"
#include "tensorflow/compiler/jit/node_matchers.h"
#include "tensorflow/core/lib/core/status_test_util.h"
#include "tensorflow/core/platform/test.h"
#include "tensorflow/core/public/session_options.h"
namespace tensorflow {
namespace {
using ::tensorflow::testing::FindNodeByName;
Status CloneConstantsForBetterClustering(const Scope& s,
std::unique_ptr<Graph>* result) {
auto graph = absl::make_unique<Graph>(OpRegistry::Global());
SessionOptions session_options;
session_options.config.mutable_graph_options()
->mutable_optimizer_options()
->set_global_jit_level(OptimizerOptions::ON_2);
GraphOptimizationPassOptions options;
options.graph = &graph;
options.session_options = &session_options;
// Scope::ToGraph seems to drop assigned devices, probably because it goes
// through a GraphDef. So explicitly maintain the device assignment.
// std::unordered_map<string, string> assigned_device_names;
// for (Node* n : s.graph()->nodes()) {
// assigned_device_names[n->name()] = n->assigned_device_name();
// }
GraphConstructorOptions opts;
opts.expect_device_spec = true;
TF_RETURN_IF_ERROR(s.ToGraph(graph.get(), opts));
// for (Node* n : graph->nodes()) {
// n->set_assigned_device_name(assigned_device_names[n->name()]);
// }
CloneConstantsForBetterClusteringPass rewriter;
TF_RETURN_IF_ERROR(rewriter.Run(options));
*result = std::move(graph);
return Status::OK();
}
const char* kCPU = "/job:localhost/replica:0/task:0/device:CPU:0";
const char* kGPU = "/job:localhost/replica:0/task:0/device:GPU:0";
TEST(CloneConstantsForBetterClusteringTest, Basic) {
Scope root = Scope::NewRootScope().ExitOnError();
Scope on_gpu = root.WithAssignedDevice(kGPU).WithDevice(kGPU);
Scope on_cpu = root.WithAssignedDevice(kCPU).WithDevice(kCPU);
Output in0 = ops::Placeholder(on_gpu.WithOpName("in0"), DT_FLOAT);
Output in1 = ops::Placeholder(on_gpu.WithOpName("in1"), DT_FLOAT);
Output perm = ops::Const(on_cpu.WithOpName("perm"), {3, 1, 2, 0});
{
Output tr0 = ops::Transpose(on_gpu.WithOpName("tr0"), in0, perm);
Output tr1 = ops::Transpose(on_gpu.WithOpName("tr1"), in1, perm);
}
std::unique_ptr<Graph> result;
TF_ASSERT_OK(CloneConstantsForBetterClustering(root, &result));
OutputTensor tr0_perm;
TF_ASSERT_OK(FindNodeByName(result.get(), "tr0")->input_tensor(1, &tr0_perm));
OutputTensor tr1_perm;
TF_ASSERT_OK(FindNodeByName(result.get(), "tr1")->input_tensor(1, &tr1_perm));
EXPECT_NE(tr0_perm.node, tr1_perm.node);
}
TEST(CloneConstantsForBetterClusteringTest, DontCloneNonHostConstants) {
Scope root = Scope::NewRootScope().ExitOnError();
Scope on_gpu = root.WithAssignedDevice(kGPU).WithDevice(kGPU);
Output in0 = ops::Placeholder(on_gpu.WithOpName("in0"), DT_FLOAT);
Output in1 = ops::Placeholder(on_gpu.WithOpName("in1"), DT_FLOAT);
Output perm = ops::Const(on_gpu.WithOpName("perm"), {3, 1, 2, 0});
{
Output tr0 = ops::Transpose(on_gpu.WithOpName("tr0"), in0, perm);
Output tr1 = ops::Transpose(on_gpu.WithOpName("tr1"), in1, perm);
}
std::unique_ptr<Graph> result;
TF_ASSERT_OK(CloneConstantsForBetterClustering(root, &result));
OutputTensor tr0_perm;
TF_ASSERT_OK(FindNodeByName(result.get(), "tr0")->input_tensor(1, &tr0_perm));
OutputTensor tr1_perm;
TF_ASSERT_OK(FindNodeByName(result.get(), "tr1")->input_tensor(1, &tr1_perm));
EXPECT_EQ(tr0_perm.node, tr1_perm.node);
}
TEST(CloneConstantsForBetterClusteringTest, DontCloneLargeConstants) {
Scope root = Scope::NewRootScope().ExitOnError();
Scope on_gpu = root.WithAssignedDevice(kGPU).WithDevice(kGPU);
Scope on_cpu = root.WithAssignedDevice(kCPU).WithDevice(kCPU);
Output in0 = ops::Placeholder(on_gpu.WithOpName("in0"), DT_FLOAT);
Output in1 = ops::Placeholder(on_gpu.WithOpName("in1"), DT_FLOAT);
Output perm = ops::Const(
on_cpu.WithOpName("perm"),
{17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0});
{
Output tr0 = ops::Transpose(on_gpu.WithOpName("tr0"), in0, perm);
Output tr1 = ops::Transpose(on_gpu.WithOpName("tr1"), in1, perm);
}
std::unique_ptr<Graph> result;
TF_ASSERT_OK(CloneConstantsForBetterClustering(root, &result));
OutputTensor tr0_perm;
TF_ASSERT_OK(FindNodeByName(result.get(), "tr0")->input_tensor(1, &tr0_perm));
OutputTensor tr1_perm;
TF_ASSERT_OK(FindNodeByName(result.get(), "tr1")->input_tensor(1, &tr1_perm));
EXPECT_EQ(tr0_perm.node, tr1_perm.node);
}
TEST(CloneConstantsForBetterClusteringTest, InplaceOps) {
Scope root = Scope::NewRootScope().ExitOnError();
Scope on_gpu = root.WithAssignedDevice(kGPU).WithDevice(kGPU);
Scope on_cpu = root.WithAssignedDevice(kCPU).WithDevice(kCPU);
Output in0 = ops::Placeholder(on_gpu.WithOpName("in0"), DT_FLOAT);
Output in1 = ops::Placeholder(on_gpu.WithOpName("in1"), DT_FLOAT);
Output perm = ops::Const(on_cpu.WithOpName("perm"), {3, 1, 2, 0});
{
Output tr0 = ops::Transpose(on_gpu.WithOpName("tr0"), in0, perm);
Output tr1 = ops::Transpose(on_gpu.WithOpName("tr1"), in1, perm);
}
Output in_place_add =
ops::InplaceAdd(on_cpu.WithOpName("tr0"), perm,
ops::Placeholder(on_cpu.WithOpName("i"), DT_INT32), perm);
std::unique_ptr<Graph> result;
TF_ASSERT_OK(CloneConstantsForBetterClustering(root, &result));
OutputTensor tr0_perm;
TF_ASSERT_OK(FindNodeByName(result.get(), "tr0")->input_tensor(1, &tr0_perm));
OutputTensor tr1_perm;
TF_ASSERT_OK(FindNodeByName(result.get(), "tr1")->input_tensor(1, &tr1_perm));
EXPECT_EQ(tr0_perm.node, tr1_perm.node);
}
} // namespace
} // namespace tensorflow
| [
"v-grniki@microsoft.com"
] | v-grniki@microsoft.com |
6dd95251dfbc82633b1cba0a1130f72e4caca765 | f28f1ed1620edd7aceb2166b1003d7a492763bda | /algorithms_projects/ga15_pointrobotshortestpath.h | 464b5330e3947a0f2a598a9313ecdbd395205e0b | [] | no_license | Augus518/GeometryAlgorithms | 047bda393db6f3ae7c1a63084051db334bfdc266 | 6fae7adcb64803817641c9e43679b1c047c3f9d0 | refs/heads/master | 2023-03-18T06:36:45.703066 | 2019-01-14T03:16:08 | 2019-01-14T03:16:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,107 | h | /*
Autor: Matei Jon Stancu 1137/2015
Godina: 2018
Kratak opis problema: Dat je skup prepreka u ravni i dve tacke, potrebno je naci najkraci put izmedju datih tacaka,
takav da ne sece unutrasnjost datih prepreka.
*/
#ifndef GA15_POINTROBOTSHORTESTPATH_H
#define GA15_POINTROBOTSHORTESTPATH_H
#include "algorithmbase.h"
#include "ga15_datastructures.h"
#include <limits>
#include <set>
#include <queue>
///
/// \brief The PointRobotShortestPath class - klasa koja implementira algoritam najkraceg puta izmedju dve tacke za tackastog robota
///
class PointRobotShortestPath : public AlgorithmBase
{
public:
///
/// \brief PointRobotShortestPath - konstruktor za animaciju
/// \param pRender - prozor na kojem se iscrtava animacija
/// \param delayMs - osvezavanje animacije
/// \param fileName - putanja do ulazne datoteke
/// \param search - tip pretrage
/// \param start - pocetna tacka
/// \param end - odrediste
///
PointRobotShortestPath(QWidget *pRender, int delayMs, std::string fileName, searchType search, QPoint start, QPoint end);
///
/// \brief PointRobotShortestPath - konstruktor za testiranje
/// \param pRender - prozor na kojem se iscrtava animacija
/// \param delayMs - osvezavanje animacije
/// \param fileName - putanja do ulazne datoteke
/// \param search - tip prerage
/// \param size - dimenzija problema
///
PointRobotShortestPath(QWidget *pRender, int delayMs, std::string fileName, searchType search, int size);
///
/// \brief runAlgorithm - implementacija naprednog algoritma
///
void runAlgorithm();
///
/// \brief drawAlgorithm - iscrtavanje vizualizacije algoritma
/// \param painter - QPainter
///
void drawAlgorithm(QPainter &painter) const;
///
/// \brief runNaiveAlgorithm - implementacija naivnog algoritma
///
void runNaiveAlgorithm();
///
/// \brief pointInsidePolygon - provera da li tacka pripada unutrasnjosti poligona
/// \param p1 - tacka koja se ispituje
/// \return - tacno ako je tacka unutar poligona, netacno inace
///
bool pointInsidePolygon(QPointF p1);
///
/// \brief shortestPath - geter za najkraci put
/// \return - vector koji cuva najkraci put izmedju _pStart i _pEnd
///
std::vector<vertex *> shortestPath() const;
///
/// \brief shortestPathLength - geter za duzinu najkraceg puta
/// \return - duzina najkraceg puta
///
double shortestPathLength() const;
private:
///
/// \brief naiveVisibilityGraph - funkcija koja racuna graf vidljivosti naivnim pristupom
///
void naiveVisibilityGraph();
///
/// \brief naiveShortestPath - funkcija koja racuna najkraci put naivnim pristupom
///
void naiveShortestPath();
///
/// \brief improvedVisibilityGraph - funkcija koja racuna graf vidljivosti naprednim pristupom
///
void improvedVisibilityGraph();
///
/// \brief improvedShortestPath - funkcija koja racuna najkraci put naprednim pristupom
///
void improvedShortestPath();
///
/// \brief updateSweepLine - funkcija koja azurira polozaj brisuce prave
/// \param p1 - prva tacka koja definise brisucu pravu
/// \param p2 - druga tacka koja definise brisucu pravu
///
void updateSweepLine(const QPoint p1, const QPoint p2);
///
/// \brief initDataQueues - inicijalizacija strukutura podataka
/// \param w - cvor grafa u odnosu na kog se vrsi inicijalizacija
///
void initDataQueues(vertex *w);
///
/// \brief deleteFromStatus - funkcija koja brise duz iz statusa u linearnom vremenu
/// \param l - duz koja se brise
///
void deleteFromStatus(QLine l);
///
/// \brief deleteFromStatus - funkcija koja brise duz iz statusa u logaritamskom vremenu
/// \param l - duz koja se brise
///
void deleteFromStatus2(QLine l);
///
/// \brief updateStatusQueue - funkcija koja azurira status
/// \param v - cvor grafa u odnosu na kog se vrsi azuriranje
///
void updateStatusQueue(vertex *v);
///
/// \brief isVisible - funkcija koja ispituje vidljivost cvora
/// \param v - cvor iz kog se ispituje vidljivost
/// \param w - cvor do kog se ispituje vidljivost
/// \param prevVertex - prethodni cvor za kog je ispitano da li je vidljiv
/// \param prevVisible - vidljivost prethodnog cvora
/// \return - tacno ako je cvor w vidljiv iz v, netacno inace
///
bool isVisible(const vertex *v, const vertex *w, vertex *prevVertex, bool prevVisible);
///
/// \brief generateObstacleGrid - funkcija koja generise instance za testiranje
/// \param rows - broj redova matrice prepreka
/// \param cols - broj kolona matrice prepreka
/// \return - putanja do generisane datoteke
///
std::string generateObstacleGrid(unsigned rows, unsigned cols) const;
///
/// \brief _obstacles - skup prepreka u DCEL formatu
///
DCEL _obstacles;
///
/// \brief _visibilityGraph - graf vidljivosti
///
Graph _visibilityGraph;
///
/// \brief _pStart - tacka pocetnog polozaja
///
QPoint _pStart;
///
/// \brief _pEnd - tacka odredista
///
QPoint _pEnd;
///
/// \brief _sweepLine - brisuca prava
///
QLine _sweepLine;
///
/// \brief _shortestPath - najkraci put izmedju _pStart i _pEnd u _visibilityGraph
///
std::vector<vertex*> _shortestPath;
///
/// \brief _lineSegments - skup ivica prepreka
///
std::vector<QLineF> _lineSegments;
///
/// \brief _eventQueue - struktura red dogadjaja
///
std::set<EventQueueVertex, EventQueueAngleComp> _eventQueue;
///
/// \brief _statusQueue - struktura status preseka ivica prepreka sa brisucom pravom
///
std::multiset<QLineF, StatusQueueCompare> _statusQueue;
///
/// \brief _searchQueue - struktura red sa prioritetom za pretragu najkraceg puta
///
std::priority_queue<vertex*, std::vector<vertex*>, SearchQueueCompare> _searchQueue;
///
/// \brief _search - tip pretrage
///
searchType _search;
};
#endif // GA15_POINTROBOTSHORTESTPATH_H
| [
"mdfkprekid@gmail.com"
] | mdfkprekid@gmail.com |
00f0ca5d14ff88baae7c7655489c74e858810520 | 1fdfea493b09e075f4fceb5f9a1ae631a39bed0c | /botDriver/lib/Driving/Driving.cpp | f1c0c67f8e1b346f39e826305aa4e301f18d90da | [] | no_license | datduyng/unlRobotic2018 | c14f617250132320f285d3c12fbe5e09bb161cb2 | 1dd839a2546c2a0aa53823a9d4fc222800ec7470 | refs/heads/master | 2020-03-19T04:22:24.051655 | 2018-07-19T14:47:58 | 2018-07-19T14:47:58 | 135,820,788 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,168 | cpp | /*
Author: CheeTown Liew
Version of June 10, 2017
This algorithm is designed to drive the robot and run with precise displacement
using motor encoder, the algorithm includes simple proportion controller and
displacement-encoder count convertor, speed comparator and path tracking.
Micro-controller Board: Arduino Mega
Motor Driver: Sabertooth Motor Driver
*/
#include <Driving.h>
#include <math.h>
SabertoothSimplified motordriver(Serial3);
//declare global & local coordinates
float global_x = 0.0;
float global_y = 0.0;
float local_x = 0.0;
float local_y = 0.0;
int16_t global_orientation = 0;
//declare encoder counter
volatile int64_t ECL = 0; //encoder counter - LEFT
volatile int64_t ECLM = -1; //encoder counter - LEFT MEMORY
volatile int64_t ECR = 0; //encoder counter - RIGHT
volatile int64_t ECRM = -1; //encoder counter - RIGHT MEMORY
//declare variable
bool debug1 = false;
void debug ( bool toggle ){
debug1 = toggle;
}
//Default initiattion to assign I/O pins
void dinit (){
//For Channel A
attachInterrupt(digitalPinToInterrupt(ECLA), counter1, RISING); //LEFT encoder channel A trigger
attachInterrupt(digitalPinToInterrupt(ECRA), counter2, RISING); //RIGHT encoder channel A trigger
//For Channel B
pinMode(ECLB, INPUT); //LEFT encoder channel B as input
digitalWrite(ECLB, LOW); //Pull down LEFT channel B
pinMode(ECRB, INPUT); //RIGHT encoder channel B as input
digitalWrite(ECRB, LOW); //Pull down RIGHT channel B
//Encoder's Vcc
pinMode(24, OUTPUT);
pinMode(25, OUTPUT);
pinMode(26, OUTPUT);
pinMode(27, OUTPUT);
digitalWrite(24, HIGH);
digitalWrite(25, HIGH);
digitalWrite(26, LOW);
digitalWrite(27, LOW);
Serial3.begin(19200);
}
//Initiator with customize I/O pins, the argument must be pointer to an array with
//the format of { Left_Channel_A, Right_Channel_A, Left_Channel_B, Right_Channel_B };
/* void dinit ( uint8_t& pins ){
attachInterrupt( digitalPinToInterrupt( *pins ), counter1, RISING);
attachInterrupt( digitalPinToInterrupt( *(pins+1) ), counter2, RISING);
pinMode( *(pins+2), INPUT); //LEFT encoder channel B as input
digitalWrite(*(pins+2), LOW); //Pull down LEFT channel B
pinMode( *(pins+3), INPUT); //RIGHT encoder channel B as input
digitalWrite( *(pins+4), LOW); //Pull down RIGHT channel B
//Encoder's Vcc
pinMode(EPOWERL, OUTPUT);
digitalWrite(EPOWERL, HIGH);
pinMode(EPOWERR, OUTPUT);
digitalWrite(EPOWERR, HIGH);
} */
//Left Encoder Counter
void static counter1() {
ECLM = ECL;
if (digitalRead(ECLB) == HIGH) {ECL++;}
else {ECL--;}
}
//Right Encoder Counter
void static counter2() {
ECRM = ECR;
if (digitalRead(ECRB) == HIGH) {ECR++;}
else {ECR--;}
}
int64_t D2C ( float distance ) {
return ((double) distance * (double) INCH2C) ;
}
float C2D (int64_t EncoderCount ){
return ((double) EncoderCount * (double) COUNTER2INCHE);
}
int comparator( int64_t L, int64_t R ){
return ( ECL - L ) - ( ECR - R );
}
int16_t leftDrive = 0;
int16_t driving2 = 0;
int16_t na = 0;
int64_t R2C ( float angle ){
return D2C ( ( angle / 360.0 * WHEELDIA * 3.141592653589 ) );
}
int16_t C2R ( int64_t encoderCount ){
return C2D ( encoderCount ) / ( WHEELDIA * 3.141592653589 ) * 360;
}
void steer(float angle){
const int64_t left_targetcount = ECL + R2C(toAngle + 2);
const int64_t right_targetcount = ECR - R2C(toAngle + 2);
int ECLO = -1;
int ECRO = -1;
// Encoder count left/right increment
const int ECLI = ECL;
const int ECRI = ECR;
while ( true ) {
leftDrive = constrain( (double) K1 * (left_targetcount - ECL), -113, 112);
driving2 = constrain( (double) K2 * (right_targetcount - ECR), -127, 127);
/*
the comparison value of the encoder count difference per iteration
positive mean left motor is faster than the right motor and vise versa
*/
int16_t v = comparator( ECL, ECR );
if( (v*(float) V) > 30.0 ){} //Serial.println("Warning! There is a large speed differential.");
else v *= (float) V;
// adjust the increment of each wheel if one go faster than the other.
if(v > 0){// left counter is greater than R
}
}
void steer ( int16_t toAngle ){
const int64_t left_targetcount = ECL + R2C(toAngle + 2);
const int64_t right_targetcount = ECR - R2C(toAngle + 2);
/*
Serial.println((int32_t)R2C(toAngle));
Serial.println((int32_t)left_targetcount);
Serial.println((int32_t)right_targetcount);
*/
leftDrive = 0;
driving2 = 0;
na = 0;
int8_t pause = 0;
uint64_t timestamp = 0;
int ECLO = -1;
int ECRO = -1;
const int ECLI = ECL;
const int ECRI = ECR;
while ( true ) {
leftDrive = constrain( (double) K1 * (left_targetcount - ECL), -113, 112);
driving2 = constrain( (double) K2 * (right_targetcount - ECR), -127, 127);
/*
the comparison value of the encoder count difference per iteration
positive mean left motor is faster than the right motor and vise versa
*/
int16_t v = comparator( ECLO, ECRO );
if( (v*(float) V) > 30.0 ){} //Serial.println("Warning! There is a large speed differential.");
else v *= (float) V;
if(toAngle > 0 ){
if( v > 0 ){
if (leftDrive > 0){
leftDrive -= v* (float) V;
}else{
leftDrive += v* (float) V;
}
} else {
if (driving2 > 0){
driving2 -= v* (float) V;
}else{
leftDrive += v* (float) V;
}
}
}else {
if( v > 0 ){
if (leftDrive > 0){
leftDrive -= v* (float) V;
}else{
leftDrive += v* (float) V;
}
} else {
if (driving2 > 0){
driving2 -= v* (float) V;
}else{
leftDrive += v* (float) V;
}
}
}
int16_t integral = comparator( ECLI, ECRI );
// if( integral* (float) I > 20 ) Serial.println("Warning! There is a large integral difference");
// if(toAngle > 0 ){
// if( integral > 0 ){
// if (leftDrive > 0){
// leftDrive -= integral* (float) I;
// }else{
// driving2 += integral* (float) I;
// }
// } else {
// if (driving2 > 0){
// driving2 -= integral* (float) I;
// }else{
// leftDrive += integral* (float) I;
// }
// }
// }else {
// if( integral > 0 ){
// if (leftDrive < 0){
// leftDrive += integral* (float) I;
// }else{
// driving2 += integral* (float) I;
// }
// } else {
// if (driving2 < 0){
// driving2 -= integral* (float) I;
// }else{
// leftDrive -= integral* (float) I;
// }
// }
// }
if (toAngle> 0){
leftDrive = constrain( leftDrive, 0, 112);
driving2 = constrain( driving2, -127, 0);
}else{
leftDrive = constrain(leftDrive, -113, 0);
driving2 = constrain(driving2, 0, 127);
}
motordriver.motor(1, leftDrive);
motordriver.motor(2, driving2);
//if the motor(s) stall for 0.1s, quit the iteration
if ( ECL == ECLO || ECR == ECRO ) {
if ( pause == 0 ) {
timestamp = millis();
pause = 1;
} else {
if ( abs(millis() - timestamp) > 100 ) {
pause = 0;
break;
}
}
}
ECLO = ECL;
ECRO = ECR;
//if (debug == true)debugMode();
/*
Serial.print( (int32_t) ECL);
Serial.print("\t");
Serial.print( (int32_t) ECR);
Serial.print("\t");
Serial.print(v);
Serial.print("\t");
Serial.print(integral);
Serial.print("\t");
Serial.print(leftDrive);
Serial.print("\t");
Serial.print(driving2);
Serial.print("\n");
*/
}
motordriver.motor(1, 0);
motordriver.motor(2, 0);
global_orientation += ( ( C2R ( (int64_t) ECL - (int64_t) ECLI ) - C2R( ( int64_t) ECR - (int64_t) ECRI ))/2 );
//global_orientation += toAngle;
//global_orientation = constrain(global_orientation, -180, 180);
//Serial.println(global_orientation);
}
void driveto( float distance ) {
const int64_t left_targetcount = ECL+ D2C( distance + 0.15 );
const int64_t right_targetcount = ECR + D2C( distance + 0.15 );
leftDrive = 0;
driving2 = 0;
na = 0;
int8_t pause = 0;
uint64_t timestamp = 0;
int ECLO = -1;
int ECRO = -1;
const int ECLI = ECL;
const int ECRI = ECR;
while ( true ) {
leftDrive = constrain( (double) K1 * (left_targetcount - ECL), -113, 112);
driving2 = constrain( (double) K2 * (right_targetcount - ECR), -127, 127);
/*
the comparison value of the encoder count difference per iteration
positive value indicates left motor is faster than the right motor and vise versa
*/
int16_t v = comparator( ECLO, ECRO );
if( (v*(float) V) > 30.0 ){} //Serial.println("Warning! There is a large speed differential.");
else v *= (float) V;
if(distance > 0 ){
if( v > 0 ){
if (leftDrive > 0){
leftDrive -= v* (float) V;
}else{
leftDrive += v* (float) V;
}
} else {
if (driving2 > 0){
driving2 -= v* (float) V;
}else{
leftDrive += v* (float) V;
}
}
}else {
if( v > 0 ){
if (leftDrive > 0){
leftDrive -= v* (float) V;
}else{
leftDrive += v* (float) V;
}
} else {
if (driving2 > 0){
driving2 -= v* (float) V;
}else{
leftDrive += v* (float) V;
}
}
}
int16_t integral = comparator( ECLI, ECRI );
if( integral* (float) I > 20 ){} //Serial.println("Warning! There is a large integral differences.");
if(distance > 0 ){
if( integral > 0 ){
if (leftDrive > 0){
leftDrive -= integral* (float) I;
}else{
driving2 += integral* (float) I;
}
} else {
if (driving2 > 0){
driving2 -= integral* (float) I;
}else{
leftDrive += integral* (float) I;
}
}
}else {
if( integral > 0 ){
if (leftDrive < 0){
leftDrive -= integral* (float) I;
}else{
driving2 += integral* (float) I;
}
} else {
if (driving2 < 0){
driving2 += integral* (float) I;
}else{
leftDrive -= integral* (float) I;
}
}
}
if (distance > 0){
//forward motion
leftDrive = constrain( leftDrive, 0, 112);
driving2 = constrain( driving2, 0, 127);
}else{
//backward motion
leftDrive = constrain(leftDrive, -113, 0);
driving2 = constrain(driving2, -127, 0);
}
motordriver.motor(1, leftDrive);
motordriver.motor(2, driving2);
//if the motor(s) stall for 0.1s, quit the iteration
if ( ECL == ECLO || ECR == ECRO ) {
if ( pause == 0 ) {
timestamp = millis();
pause = 1;
} else {
if ( abs(millis() - timestamp) > 100 ) {
pause = 0;
break;
}
}
}
ECLO = ECL;
ECRO = ECR;
//if (debug == true)debugMode();
/*
Serial.print( (int32_t) ECL);
Serial.print("\t");
Serial.print( (int32_t) ECR);
Serial.print("\t");
Serial.print(v);
Serial.print("\t");
Serial.print(integral);
Serial.print("\t");
Serial.print(leftDrive);
Serial.print("\t");
Serial.print(driving2);
Serial.print("\n");
*/
}
motordriver.motor(1, 0);
motordriver.motor(2, 0);
global_x += ( C2D( ECL - ECLI) + C2D (ECR - ECRI) )/2 * cos(global_orientation);
global_y += ( C2D( ECL - ECLI) + C2D (ECR - ECRI) )/2 * sin(global_orientation);
//global_x = C2D (( ECL + ECR )/2) ;
}
void debugMode (){
Serial.begin(9600);
Serial.print(na);
Serial.print("\t");
Serial.print("ECL\t");
Serial.print( (int32_t) ECL);
Serial.print("\tECR\t");
Serial.print( (int32_t) ECR);
Serial.print("\tV1\t");
Serial.print(leftDrive);
Serial.print("\tV2\t");
Serial.println(driving2);
}
| [
"ctliew2@gmail.com"
] | ctliew2@gmail.com |
571f1a62584bad7d372c366ce30f5fe3955fa9a7 | 9b527d9e39ff2b33e2e86af842031bf27d4bebe4 | /C/C-DS/C-AVL/src/main.cpp | c9d602b73ec3b03c5e762a2cf7b2ae65cbab1b2d | [] | no_license | Brinews/jacky | c50cdc5471ef7a764c2a27313ebf848e41c4aee0 | e3f0f4bdf4253448f22306b353cb45560e882587 | refs/heads/master | 2021-01-17T08:32:11.034322 | 2017-12-03T08:28:17 | 2017-12-03T08:28:17 | 14,444,828 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,753 | cpp | #include <iostream>
#include <string>
#include <cassert>
#include <vector>
// local includes
#include "AVLTree.h"
#include "Data.h"
using namespace std;
void testDoubleData(){
// testing getData
DoubleData d1 {};
DoubleData d2 {5};
assert (d1.getData() == 0); // default value
assert (d2.getData() == 5); // testing 1-arg constructor
DoubleData d3 {d2};
assert (d3.getData() == 5); // testing copy constructor
DoubleData d4 {*(new DoubleData(3))};
assert (d4.getData() == 3); // testing move constructor
// testing setData
double y = 7.5;
d1.setData(y);
assert (d1.getData() == 7.5);
d1.setData(8.5);
assert (d1.getData() == 8.5);
// testing compare, should be a.compare(b) = a-b
assert (d1.compare(d2) == 3.5);
}
void testAVLTree(){
AVLTree<DoubleData> a {};
std::vector<DoubleData*> v {5, new DoubleData{}};
assert (a.getHeight() == 0 || a.getHeight() == -1);
double counter = 0;
std::cout << "testing insertion and single rotation cases: " << std::endl;
for (auto& x : v){
x = new DoubleData(counter);
a.insert(*x);
/* These test all the single rotations */
if (counter == 1) {assert(a.getHeight() == 1);}
if (counter == 2) {assert(a.getHeight() == 1);}
if (counter == 3) {assert(a.getHeight() == 2);}
if (counter == 4) {assert(a.getHeight() == 2);}
counter++;
}
std::cout << std::endl;
std::cout << "testing double rotation cases: " << std::endl;
a.insert(DoubleData(2.5));
assert(a.getHeight() == 2);
a.insert(DoubleData(3.5));
a.insert(DoubleData(1.5));
a.insert(DoubleData(1.2));
a.insert(DoubleData(1.7));
a.insert(DoubleData(-1));
a.insert(DoubleData(0.5));
a.insert(DoubleData(1.3));
a.insert(DoubleData(1.1));
a.insert(DoubleData(1.6));
a.insert(DoubleData(-2));
a.insert(DoubleData(1.05));
assert(a.getHeight() == 4);
std::cout << std::endl;
std::cout<<"testing traversals:"<<std::endl;
a.printPreorder();
a.printInorder();
a.printPostorder();
a.printLevelOrder();
std::cout << std::endl;
std::cout << "removing 2.5:" << std::endl;
a.remove(DoubleData(2.5));
a.printLevelOrder();
std::cout << std::endl;
std::cout << "removing 1.5:" << std::endl;
a.remove(DoubleData(1.5));
a.printPostorder();
std::cout << std::endl;
// // testing copy constructor
AVLTree<DoubleData> b {a};
cout << "should be same:" << endl;
a.printPostorder();
b.printPostorder();
std::cout << std::endl;
a.empty();
cout << "should be empty now:" << endl;
assert (a.getHeight() == -1 || // a null tree can have height -1 or 0,
a.getHeight() == 0); // which is subject to preference and usage
a.printPostorder();
std::cout << "end of test"<< std::endl;
}
int main (int argc, char* argv []){
testDoubleData();
testAVLTree();
std::cout << "end of main"<< std::endl;
}
| [
"brinewsor@gmail.com"
] | brinewsor@gmail.com |
b054b91fec32f20447d5f82b98b91b9d9f4edbcc | 653afab7f94dfb44c3cf857e845e82ca87214eeb | /src/CryptoFilter.h | 44dfdbc9d87179f9b31e2499313d478aa3896922 | [
"BSD-2-Clause"
] | permissive | Helios-vmg/zekvok | e98c4f5397e635553ad53c8ff1dba662b93ed799 | b90ec897af2bdb55764f9de00d5a1f38f80fe70f | refs/heads/master | 2021-01-21T04:33:02.594608 | 2015-10-31T23:37:29 | 2015-10-31T23:37:29 | 43,264,987 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,375 | h | /*
Copyright (c), Helios
All rights reserved.
Distributed under a permissive license. See COPYING.txt for details.
*/
#pragma once
#include "Filters.h"
enum class Algorithm{
Rijndael,
Twofish,
Serpent,
};
class CryptoOutputFilter : public OutputFilter{
protected:
bool flushed;
virtual std::uint8_t *get_buffer(size_t &size) = 0;
virtual CryptoPP::StreamTransformationFilter *get_filter() = 0;
CryptoOutputFilter(std::ostream &stream):
OutputFilter(stream),
flushed(false){}
bool internal_flush() override;
public:
virtual ~CryptoOutputFilter(){}
static std::shared_ptr<std::ostream> create(
Algorithm algo,
std::ostream &stream,
const CryptoPP::SecByteBlock *key,
const CryptoPP::SecByteBlock *iv
);
std::streamsize write(const char *s, std::streamsize n) override;
};
class CryptoInputFilter : public InputFilter{
bool done;
protected:
virtual std::uint8_t *get_buffer(size_t &size) = 0;
virtual CryptoPP::StreamTransformationFilter *get_filter() = 0;
CryptoInputFilter(std::istream &stream): InputFilter(stream), done(false){}
public:
virtual ~CryptoInputFilter(){}
static std::shared_ptr<std::istream> create(
Algorithm algo,
std::istream &stream,
const CryptoPP::SecByteBlock *key,
const CryptoPP::SecByteBlock *iv
);
std::streamsize read(char *s, std::streamsize n);
};
| [
"helios.vmg@gmail.com"
] | helios.vmg@gmail.com |
3dad10cdfdf0c06265557453e09bad8b9d417fdd | 71dae8653492a02c77f67d03a0824f920d5fd9ee | /Sparky-core/src/graphics/font_manager.cpp | 27d03f1f57b246ab960d2dc72119787cc6584004 | [
"Apache-2.0"
] | permissive | TheCherno/LD32 | 8ad6aeb6f1345ecb04a351e2632ac9cf343a595c | 9654d71c62d94f3c00de9029ea42e248438fc02a | refs/heads/master | 2016-09-06T06:35:55.806350 | 2015-04-21T05:01:45 | 2015-04-21T05:01:45 | 34,146,855 | 15 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 798 | cpp | #include "font_manager.h"
namespace sparky { namespace graphics {
std::vector<Font*> FontManager::m_Fonts;
void FontManager::add(Font* font)
{
m_Fonts.push_back(font);
}
Font* FontManager::get()
{
return m_Fonts[0];
}
Font* FontManager::get(const std::string& name)
{
for (Font* font : m_Fonts)
{
if (font->getName() == name)
return font;
}
// TODO: Maybe return a default font instead?
return nullptr;
}
Font* FontManager::get(const std::string& name, unsigned int size)
{
for (Font* font : m_Fonts)
{
if (font->getSize() == size && font->getName() == name)
return font;
}
// TODO: Maybe return a default font instead?
return nullptr;
}
void FontManager::clean()
{
for (int i = 0; i < m_Fonts.size(); i++)
delete m_Fonts[i];
}
} } | [
"cherno21@hotmail.com"
] | cherno21@hotmail.com |
eb3afd1aa517b5baadf8fda81b2dd795c77500f2 | 91b36a305a65a601f93fad94ef19b995db6e5d83 | /NativePlugin/Src/Runtime/GfxDevice/opengles/ApiGLES.cpp | e17459a42962abe7915baa7794c2a1995e558b3e | [] | no_license | maksym-pasichnyk/NativeParticleSystem | 0d79d093ef1144f60afb941d1928546005ebca62 | 35187e5d9a43e7db5264d1f953f4383873d3decf | refs/heads/master | 2021-12-14T15:41:24.820604 | 2017-05-10T16:42:23 | 2017-05-10T16:42:23 | 437,383,171 | 1 | 1 | null | 2021-12-11T20:34:42 | 2021-12-11T20:34:41 | null | UTF-8 | C++ | false | false | 46,262 | cpp | #include "PluginPrefix.h"
#include "ApiTranslateGLES.h"
#include "ApiGLES.h"
#include "ApiConstantsGLES.h"
#include "GfxContextGLES.h"
#include "DeviceStateGLES.h"
#include "Runtime/GfxDevice/opengles/AssertGLES.h"
#include "Runtime/Shaders/GraphicsCaps.h"
#include "Runtime/Utilities/ArrayUtility.h"
//#include "Runtime/Utilities/Argv.h"
#define GLES_DEBUG_CHECK_LOG 0
namespace
{
const GLenum GL_VENDOR = 0x1F00;
const GLenum GL_EXTENSIONS = 0x1F03;
const GLenum GL_NUM_EXTENSIONS = 0x821D;
// Debug
const GLenum GL_DEBUG_SOURCE_APPLICATION = 0x824A;
// Query enums
const GLenum GL_SAMPLES = 0x80A9;
const GLenum GL_READ_BUFFER = 0x0C02;
// Framebuffer enums
const GLenum GL_SCALED_RESOLVE_NICEST_EXT = 0x90BB;
const GLenum GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0;
const GLenum GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1;
// Polygon mode
const GLenum GL_LINE = 0x1B01;
const GLenum GL_FILL = 0x1B02;
const GLenum GL_TEXTURE = 0x1702;
const GLenum GL_PATCHES = 0x000E;
const GLenum GL_INFO_LOG_LENGTH = 0x8B84;
const GLenum GL_COMPILE_STATUS = 0x8B81;
const GLenum GL_SHADER_SOURCE_LENGTH = 0x8B88;
const GLenum GL_SHADER_TYPE = 0x8B4F;
const GLenum GL_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE;
const GLenum GL_TEXTURE_LOD_BIAS = 0x8501;
const GLenum GL_TEXTURE_BASE_LEVEL = 0x813C;
const GLenum GL_TEXTURE0 = 0x84C0;
const GLenum GL_TEXTURE_SWIZZLE_R = 0x8E42;
const GLenum GL_TEXTURE_SWIZZLE_G = 0x8E43;
const GLenum GL_TEXTURE_SWIZZLE_B = 0x8E44;
const GLenum GL_TEXTURE_SWIZZLE_A = 0x8E45;
const GLenum GL_TEXTURE_SWIZZLE_RGBA = 0x8E46;
const GLenum GL_FRONT_AND_BACK = 0x0408;
const GLenum GL_PATCH_VERTICES = 0x8E72;
const GLenum GL_UNPACK_ROW_LENGTH = 0x0CF2;
const GLenum GL_PACK_ALIGNMENT = 0x0D05;
const GLenum GL_UNPACK_ALIGNMENT = 0x0CF5;
const GLenum GL_RED_BITS = 0x0D52;
const GLenum GL_GREEN_BITS = 0x0D53;
const GLenum GL_BLUE_BITS = 0x0D54;
const GLenum GL_ALPHA_BITS = 0x0D55;
const GLenum GL_DEPTH_BITS = 0x0D56;
const GLenum GL_STENCIL_BITS = 0x0D57;
const GLenum GL_COVERAGE_BUFFERS_NV = 0x8ED3;
const GLenum GL_COVERAGE_SAMPLES_NV = 0x8ED4;
const GLenum GL_TEXTURE_SPARSE_ARB = 0x91A6;
const GLenum GL_NUM_SPARSE_LEVELS_ARB = 0x91AA;
const GLenum GL_VIRTUAL_PAGE_SIZE_X_ARB = 0x9195;
const GLenum GL_VIRTUAL_PAGE_SIZE_Y_ARB = 0x9196;
const GLenum GL_R32UI = 0x8236;
const GLenum GL_TEXTURE_SRGB_DECODE_EXT = 0x8A48;
const char* GetDebugFramebufferAttachmentType(GLint type)
{
switch (type)
{
case GL_RENDERBUFFER: return "GL_RENDERBUFFER";
case GL_TEXTURE: return "GL_TEXTURE";
default: return "GL_NONE";
}
}
}//namespace
namespace gles
{
void InitCaps(ApiGLES * api, GraphicsCaps* caps, GfxDeviceLevelGL &level);
void InitRenderTextureFormatSupport(ApiGLES * api, GraphicsCaps* caps);
}//namespace gles
namespace {
namespace BuggyBindElementArrayBufferWorkaround {
// Vivante GC1000 driver (Samsung Galaxy Tab 3 7.0 lite) sometimes(!) changes GL_ARRAY_BUFFER_BINDING when calling glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, buffer).
// To workaround this, we replace glBindBuffer with a wrapper that reverses this unwanted modification of GL_ARRAY_BUFFER_BINDING.
static GLuint s_ArrayBufferBinding;
static gl::BindBufferFunc s_OriginalBindBuffer;
void GLES_APIENTRY BindBufferWrapper(const GLenum target, const GLuint buffer)
{
s_OriginalBindBuffer(target, buffer);
if (target == GL_ELEMENT_ARRAY_BUFFER)
s_OriginalBindBuffer(GL_ARRAY_BUFFER, s_ArrayBufferBinding); // undo possible unexpected changes
else if (target == GL_ARRAY_BUFFER)
s_ArrayBufferBinding = buffer; // keep track of current GL_ARRAY_BUFFER
}
void ResetTrackedState()
{
if (s_OriginalBindBuffer)
{
s_ArrayBufferBinding = 0;
}
}
void InstallBindBufferWrapper(gl::BindBufferFunc& bindBuffer)
{
// install glBindBuffer shim
if (bindBuffer != s_OriginalBindBuffer)
{
s_OriginalBindBuffer = bindBuffer;
bindBuffer = &BindBufferWrapper;
}
ResetTrackedState();
}
} // namespace BuggyBindElementArrayBufferWorkaround
} // namespace
ApiGLES * gGL = NULL;
const GLuint ApiGLES::kInvalidValue = static_cast<GLuint>(-1);
ApiGLES::ApiGLES()
: ApiFuncGLES()
, m_Translate(new TranslateGLES)
, translate(*m_Translate)
, m_CurrentProgramBinding(0)
, m_CurrentProgramHasTessellation(false)
, m_CurrentVertexArrayBinding()
, m_DefaultVertexArrayName()
, m_CurrentDefaultVertexArrayEnabled(0)
, m_CurrentCullMode(kCullOff)
, m_CurrentPatchVertices(0)
, m_CurrentCapEnabled(0)
, m_CurrentPolygonModeWire(false)
, m_CurrentTextureUnit(0)
# if SUPPORT_THREADS
, m_Thread(Thread::GetCurrentThreadID())
# endif
, m_Caching(false)
{
this->m_CurrentSamplerBindings.fill(0);
this->m_CurrentFramebufferBindings.fill(gl::FramebufferHandle());
this->m_CurrentBufferBindings.fill(0);
this->m_CurrentUniformBufferBindings.fill(0);
this->m_CurrentTransformBufferBindings.fill(0);
this->m_CurrentStorageBufferBindings.fill(0);
this->m_CurrentAtomicCounterBufferBindings.fill(0);
}
ApiGLES::~ApiGLES()
{
delete m_Translate;
m_Translate = NULL;
}
void ApiGLES::Init(GfxDeviceLevelGL &deviceLevel)
{
// Set the current API
gGL = this;
// Caps are init by InitCaps but we need to initialize the featureLevel before calling Load which load OpenGL functions because it checks for extensions using the featureLevel
//Assert(GetGraphicsCaps().gles.featureLevel == kGfxLevelUninitialized);
GetGraphicsCaps().gles.featureLevel = deviceLevel;
// The order of these functions matters
// Load the OpenGL API pointers
this->Load(deviceLevel);
// Initialize the capabilities supported by the current platform
gles::InitCaps(this, &GetGraphicsCaps(), deviceLevel);
// Initialize the translation to OpenGL enums depending on the platform capability
this->m_Translate->Init(GetGraphicsCaps(), deviceLevel);
if (GetGraphicsCaps().gles.buggyBindElementArrayBuffer)
BuggyBindElementArrayBufferWorkaround::InstallBindBufferWrapper(this->glBindBuffer);
// Try to create framebuffer objects to figure out the effective support texture formats
gles::InitRenderTextureFormatSupport(this, &GetGraphicsCaps());
# if UNITY_ANDROID
UpdateTextureFormatSupportETC2(this, deviceLevel);
# endif
}
void ApiGLES::Dispatch(UInt32 threadGroupsX, UInt32 threadGroupsY, UInt32 threadGroupsZ)
{
//GLES_CHECK(this, -1);
GLES_CALL(this, glDispatchCompute, threadGroupsX, threadGroupsY, threadGroupsZ);
}
void ApiGLES::DispatchIndirect(UInt32 indirect)
{
//GLES_CHECK(this, -1);
GLES_CALL(this, glDispatchComputeIndirect, (GLintptr)indirect);
}
void ApiGLES::DrawArrays(GfxPrimitiveType topology, UInt32 firstVertex, UInt32 vertexCount, UInt32 instanceCount)
{
GLES_CHECK(this, -1);
GLES_ASSERT(this, topology >= kPrimitiveTypeFirst && topology <= kPrimitiveTypeLast, "Invalid 'topology' value");
GLES_ASSERT(this, (GetGraphicsCaps().hasInstancing && instanceCount > 1) || instanceCount <= 1, "Requested an instanced draw but instanced draws are not supported");
GLES_ASSERT(this, this->debug.ProgramStatus(), "The current state can't execute the bound GLSL program");
const GLenum translatedTopology = m_CurrentProgramHasTessellation ? GL_PATCHES : this->translate.Topology(topology);
if (GetGraphicsCaps().hasInstancing && instanceCount > 1)
GLES_CALL(this, glDrawArraysInstanced, translatedTopology, firstVertex, vertexCount, instanceCount);
else
GLES_CALL(this, glDrawArrays, translatedTopology, firstVertex, vertexCount);
}
void ApiGLES::DrawElements(GfxPrimitiveType topology, const void * indicesOrOffset, UInt32 indexCount, UInt32 baseVertex, UInt32 instanceCount)
{
GLES_CHECK(this, -1);
GLES_ASSERT(this, topology >= kPrimitiveTypeFirst && topology <= kPrimitiveTypeLast, "Invalid 'topology' value");
GLES_ASSERT(this, (GetGraphicsCaps().hasInstancing && instanceCount > 1) || instanceCount <= 1, "Requested an instanced draw but instanced draws are not supported");
GLES_ASSERT(this, (GetGraphicsCaps().gles.hasDrawBaseVertex && baseVertex > 0) || baseVertex <= 0, "Requested a base vertex draw but it is not supported");
GLES_ASSERT(this, this->debug.ProgramStatus(), "The current state can't execute the bound GLSL program");
const GLenum translatedTopology = m_CurrentProgramHasTessellation ? GL_PATCHES : this->translate.Topology(topology);
if (GetGraphicsCaps().gles.hasDrawBaseVertex && baseVertex > 0)
{
if (GetGraphicsCaps().hasInstancing && instanceCount > 1)
GLES_CALL(this, glDrawElementsInstancedBaseVertex, translatedTopology, indexCount, GL_UNSIGNED_SHORT, indicesOrOffset, instanceCount, baseVertex);
else
GLES_CALL(this, glDrawElementsBaseVertex, translatedTopology, indexCount, GL_UNSIGNED_SHORT, indicesOrOffset, baseVertex);
}
else if (GetGraphicsCaps().hasInstancing && instanceCount > 1)
GLES_CALL(this, glDrawElementsInstanced, translatedTopology, indexCount, GL_UNSIGNED_SHORT, indicesOrOffset, instanceCount);
else
GLES_CALL(this, glDrawElements, translatedTopology, indexCount, GL_UNSIGNED_SHORT, indicesOrOffset);
}
void ApiGLES::DrawCapture(GfxPrimitiveType topology, UInt32 VertexCount)
{
GLES_CHECK(this, -1);
GLES_ASSERT(this, topology >= kPrimitiveTypeFirst && topology <= kPrimitiveTypeLast, "Invalid 'topology' value");
GLES_ASSERT(this, this->debug.ProgramStatus(), "The current state can't execute the bound GLSL program");
GLES_CALL(this, glBeginTransformFeedback, this->translate.Topology(topology));
this->DrawArrays(topology, 0, VertexCount, 1);
GLES_CALL(this, glEndTransformFeedback);
}
void ApiGLES::DrawIndirect(GfxPrimitiveType topology, UInt32 bufferOffset)
{
GLES_CHECK(this, -1);
GLES_ASSERT(this, topology >= kPrimitiveTypeFirst && topology <= kPrimitiveTypeLast, "Invalid 'DrawParam' topology");
GLES_ASSERT(this, GetGraphicsCaps().gles.hasIndirectDraw, "Indirect draw is not supported");
GLES_ASSERT(this, this->debug.ProgramStatus(), "The current state can't execute the bound GLSL program");
GLES_CALL(this, glDrawArraysIndirect, this->translate.Topology(topology), (void*)(intptr_t)bufferOffset);
}
void ApiGLES::Clear(GLbitfield flags, const ColorRGBAf& color, bool onlyColorAlpha, float depth, int stencil)
{
GLES_CHECK(this, -1);
if (flags == 0)
return;
if (onlyColorAlpha)
GLES_CALL(this, glColorMask, false, false, false, true);
if (flags & GL_COLOR_BUFFER_BIT)
GLES_CALL(this, glClearColor, color.r, color.g, color.b, color.a);
if (flags & GL_DEPTH_BUFFER_BIT)
{
if (GetGraphicsCaps().gles.hasClearBufferFloat)
GLES_CALL(this, glClearDepthf, depth);
else
GLES_CALL(this, glClearDepth, depth);
}
if (flags & GL_STENCIL_BUFFER_BIT)
GLES_CALL(this, glClearStencil, stencil);
GLES_CALL(this, glClear, flags);
if (onlyColorAlpha)
GLES_CALL(this, glColorMask, true, true, true, true);
}
GLuint ApiGLES::CreateShader(gl::ShaderStage stage, const char* source)
{
GLES_CHECK(this, -1);
GLES_ASSERT(this, source, "'source' is null, pass a valid GLSL shader source");
GLuint shaderName = 0;
GLES_CALL_RET(this, shaderName, glCreateShader, this->translate.GetShaderStage(stage));
GLES_ASSERT(this, shaderName, "Shader object failed to be created");
GLES_CALL(this, glShaderSource, shaderName, 1, &source, NULL);
// We compile but we don't wait to the return allowing the drivers to thread the compilation
GLES_CALL(this, glCompileShader, shaderName);
GLES_CHECK(this, shaderName);
return shaderName;
}
void ApiGLES::LinkProgram(GLuint programName)
{
GLES_CHECK(this, programName);
GLES_ASSERT(this, programName > 0, "'programName' is not a valid program object");
GLES_CALL(this, glLinkProgram, programName);
}
bool ApiGLES::CheckProgram(GLuint & programName)
{
GLES_CHECK(this, programName);
GLES_ASSERT(this, programName > 0, "'program' is not a valid program object");
GLint status = 0;
GLES_CALL(this, glGetProgramiv, programName, GL_LINK_STATUS, &status);
if (status == GL_TRUE)
return true; // Success!
// An compilation error happened
GLint infoLogLength = 0;
GLES_CALL(this, glGetProgramiv, programName, GL_INFO_LOG_LENGTH, &infoLogLength);
if (infoLogLength)
{
std::vector<char> infoLogBuffer(infoLogLength);
GLES_CALL(this, glGetProgramInfoLog, programName, infoLogLength, NULL, &infoLogBuffer[0]);
}
this->DeleteProgram(programName);
return false; // Link error
}
GLuint ApiGLES::CreateProgram()
{
GLES_CHECK(this, -1);
GLuint programName = 0;
GLES_CALL_RET(this, programName, glCreateProgram);
GLES_CHECK(this, programName);
return programName;
}
GLuint ApiGLES::CreateGraphicsProgram(GLuint vertexShader, GLuint controlShader, GLuint evaluationShader, GLuint geometryShader, GLuint fragmentShader)
{
GLES_CHECK(this, -1);
GLuint programName = 0;
GLES_CALL_RET(this, programName, glCreateProgram);
if (g_GraphicsCapsGLES->hasBinaryShaderRetrievableHint)
GLES_CALL(this, glProgramParameteri, programName, GL_PROGRAM_BINARY_RETRIEVABLE_HINT, GL_TRUE);
if (vertexShader)
GLES_CALL(this, glAttachShader, programName, vertexShader);
if (controlShader)
GLES_CALL(this, glAttachShader, programName, controlShader);
if (evaluationShader)
GLES_CALL(this, glAttachShader, programName, evaluationShader);
if (geometryShader)
GLES_CALL(this, glAttachShader, programName, geometryShader);
if (fragmentShader)
GLES_CALL(this, glAttachShader, programName, fragmentShader);
GLES_CHECK(this, programName);
return programName;
}
GLuint ApiGLES::CreateComputeProgram(GLuint shaderName)
{
GLES_CHECK(this, -1);
GLuint programName = 0;
GLES_CALL_RET(this, programName, glCreateProgram);
GLES_CALL(this, glAttachShader, programName, shaderName);
this->LinkProgram(programName);
GLES_CHECK(this, programName);
return programName;
}
void ApiGLES::DeleteProgram(GLuint & programName)
{
GLES_CHECK(this, programName);
// GLES_ASSERT(this, programName, "Trying to delete an invalid program object");
if (!programName || programName == kInvalidValue)
return;
if (this->m_CurrentProgramBinding == programName)
this->BindProgram(0);
GLES_CALL(this, glDeleteProgram, programName);
programName = kInvalidValue;
}
GLenum ApiGLES::BindMemoryBuffer(GLuint bufferName, gl::BufferTarget _target)
{
GLES_CHECK(this, bufferName);
GLES_ASSERT(this, bufferName, "'buffer' object hasn't being created already");
// On WebGL and Mali, we need to always use the buffer target used when creating the buffer object.
gl::BufferTarget target = GetGraphicsCaps().gles.useActualBufferTargetForUploads ? _target : GetGraphicsCaps().gles.memoryBufferTargetConst;
const GLenum translatedTarget = this->translate.GetBufferTarget(target);
if (m_Caching && this->m_CurrentBufferBindings[target] == bufferName)
return translatedTarget;
this->m_CurrentBufferBindings[target] = bufferName;
GLES_CALL(this, glBindBuffer, translatedTarget, bufferName);
return translatedTarget;
}
void ApiGLES::UnbindMemoryBuffer(gl::BufferTarget _target)
{
GLES_CHECK(this, 0);
GLES_ASSERT(this, GetGraphicsCaps().gles.buggyBindBuffer, "This function is just a wordaround code for drivers (iOS) and should not be called otherwise.");
// On WebGL and Mali, we need to always use the buffer target used when creating the buffer object.
gl::BufferTarget target = GetGraphicsCaps().gles.useActualBufferTargetForUploads ? _target : GetGraphicsCaps().gles.memoryBufferTargetConst;
this->m_CurrentBufferBindings[target] = 0;
GLES_CALL(this, glBindBuffer, this->translate.GetBufferTarget(target), 0);
}
void ApiGLES::BindReadBuffer(GLuint bufferName)
{
GLES_CHECK(this, bufferName);
GLES_ASSERT(this, GetGraphicsCaps().gles.hasBufferCopy, "Buffer copy not supported");
GLES_ASSERT(this, this->debug.BufferBindings(), "The context has been modified outside of ApiGLES. States tracking is lost.");
if (m_Caching && this->m_CurrentBufferBindings[gl::kCopyReadBuffer] == bufferName)
return;
this->m_CurrentBufferBindings[gl::kCopyReadBuffer] = bufferName;
GLES_CALL(this, glBindBuffer, GL_COPY_READ_BUFFER, bufferName);
}
void ApiGLES::BindElementArrayBuffer(GLuint bufferName)
{
GLES_CHECK(this, bufferName);
GLES_ASSERT(this, this->debug.BufferBindings(), "The context has been modified outside of ApiGLES. States tracking is lost.");
if (m_Caching && this->m_CurrentBufferBindings[gl::kElementArrayBuffer] == bufferName)
return;
# if UNITY_WEBGL
if (bufferName == 0) // Cannot set buffer to 0 on webgl
return;
# endif
this->m_CurrentBufferBindings[gl::kElementArrayBuffer] = bufferName;
GLES_CALL(this, glBindBuffer, GL_ELEMENT_ARRAY_BUFFER, bufferName);
// Carry on an old and uncommented craft from the previous API overload code... but do we need that?
g_DeviceStateGLES->transformDirtyFlags |= TransformState::kWorldViewProjDirty;
}
void ApiGLES::BindArrayBuffer(GLuint bufferName)
{
GLES_CHECK(this, bufferName);
GLES_ASSERT(this, this->debug.BufferBindings(), "The context has been modified outside of ApiGLES. States tracking is lost.");
if (m_Caching && this->m_CurrentBufferBindings[gl::kArrayBuffer] == bufferName)
return;
# if UNITY_WEBGL
if (bufferName == 0) // Cannot set buffer to 0 on webgl
return;
# endif
this->m_CurrentBufferBindings[gl::kArrayBuffer] = bufferName;
GLES_CALL(this, glBindBuffer, GL_ARRAY_BUFFER, bufferName);
}
void ApiGLES::BindDrawIndirectBuffer(GLuint bufferName)
{
GLES_CHECK(this, bufferName);
GLES_ASSERT(this, this->debug.BufferBindings(), "The context has been modified outside of ApiGLES. States tracking is lost.");
if (m_Caching && this->m_CurrentBufferBindings[gl::kDrawIndirectBuffer] == bufferName)
return;
this->m_CurrentBufferBindings[gl::kDrawIndirectBuffer] = bufferName;
GLES_CALL(this, glBindBuffer, GL_DRAW_INDIRECT_BUFFER, bufferName);
}
void ApiGLES::BindDispatchIndirectBuffer(GLuint buffer)
{
GLES_CHECK(this, buffer);
if (m_Caching && this->m_CurrentBufferBindings[gl::kDispatchIndirectBuffer] == buffer)
return;
this->m_CurrentBufferBindings[gl::kDispatchIndirectBuffer] = buffer;
GLES_CALL(this, glBindBuffer, GL_DISPATCH_INDIRECT_BUFFER, buffer);
}
void ApiGLES::BindUniformBuffer(GLuint index, GLuint bufferName)
{
GLES_CHECK(this, bufferName);
GLES_ASSERT(this, index < GetGraphicsCaps().gles.maxUniformBufferBindings, "Unsupported uniform buffer binding");
if (m_Caching && this->m_CurrentUniformBufferBindings[index] == bufferName)
return;
this->m_CurrentUniformBufferBindings[index] = bufferName;
GLES_CALL(this, glBindBufferBase, GL_UNIFORM_BUFFER, index, bufferName);
}
void ApiGLES::BindTransformFeedbackBuffer(GLuint index, GLuint bufferName)
{
GLES_CHECK(this, bufferName);
GLES_ASSERT(this, index < GetGraphicsCaps().gles.maxTransformFeedbackBufferBindings, "Unsupported transform feedback buffer binding");
if (m_Caching && this->m_CurrentTransformBufferBindings[index] == bufferName)
return;
this->m_CurrentTransformBufferBindings[index] = bufferName;
GLES_CALL(this, glBindBufferBase, GL_TRANSFORM_FEEDBACK_BUFFER, index, bufferName);
}
void ApiGLES::BindShaderStorageBuffer(GLuint index, GLuint bufferName)
{
GLES_CHECK(this, bufferName);
GLES_ASSERT(this, index < GetGraphicsCaps().gles.maxShaderStorageBufferBindings, "Unsupported shader storage buffer binding");
if (m_Caching && this->m_CurrentStorageBufferBindings[index] == bufferName)
return;
this->m_CurrentStorageBufferBindings[index] = bufferName;
GLES_CALL(this, glBindBufferBase, GL_SHADER_STORAGE_BUFFER, index, bufferName);
}
void ApiGLES::BindAtomicCounterBuffer(GLuint index, GLuint bufferName)
{
GLES_CHECK(this, bufferName);
GLES_ASSERT(this, index < GetGraphicsCaps().gles.maxAtomicCounterBufferBindings, "Unsupported atomic counter buffer binding");
if (m_Caching && this->m_CurrentAtomicCounterBufferBindings[index] == bufferName)
return;
this->m_CurrentAtomicCounterBufferBindings[index] = bufferName;
GLES_CALL(this, glBindBufferBase, GL_ATOMIC_COUNTER_BUFFER, index, bufferName);
}
GLuint ApiGLES::CreateBuffer(gl::BufferTarget target, GLsizeiptr size, const GLvoid* data, GLenum usage)
{
GLES_CHECK(this, -1);
GLES_ASSERT(this, target >= gl::kBufferTargetFirst && target <= gl::kBufferTargetLast, "Invalid target parameter");
GLuint bufferName = 0;
if (CAN_HAVE_DIRECT_STATE_ACCESS && GetGraphicsCaps().gles.hasDirectStateAccess)
GLES_CALL(this, glCreateBuffers, 1, &bufferName);
else
GLES_CALL(this, glGenBuffers, 1, &bufferName);
if (CAN_HAVE_DIRECT_STATE_ACCESS && GetGraphicsCaps().gles.hasDirectStateAccess)
{
GLES_CALL(this, glNamedBufferData, bufferName, size, data, usage);
}
else
{
const GLenum memoryTarget = this->BindMemoryBuffer(bufferName, target);
GLES_CALL(this, glBufferData, memoryTarget, size, data, usage);
}
GLES_CHECK(this, bufferName);
return bufferName;
}
void ApiGLES::DeleteBuffer(GLuint & bufferName)
{
GLES_CHECK(this, bufferName);
if (!bufferName || bufferName == kInvalidValue)
return;
// Reset the buffer caching for cases where with delete a buffer which name get reallocated right after.
if (this->m_CurrentBufferBindings[gl::kArrayBuffer] == bufferName)
this->BindArrayBuffer(0);
if (this->m_CurrentBufferBindings[gl::kElementArrayBuffer] == bufferName)
this->BindElementArrayBuffer(0);
if (GetGraphicsCaps().gles.hasBufferQuery && this->m_CurrentBufferBindings[gl::kQueryBuffer] == bufferName)
{
this->glBindBuffer(GL_QUERY_BUFFER, 0);
this->m_CurrentBufferBindings[gl::kQueryBuffer] = 0;
}
if (GetGraphicsCaps().gles.hasIndirectParameter && this->m_CurrentBufferBindings[gl::kParameterBuffer] == bufferName)
{
this->glBindBuffer(GL_PARAMETER_BUFFER_ARB, 0);
this->m_CurrentBufferBindings[gl::kParameterBuffer] = 0;
}
if (GetGraphicsCaps().gles.hasBufferCopy)
{
if (this->m_CurrentBufferBindings[gl::kCopyReadBuffer] == bufferName)
{
this->glBindBuffer(GL_COPY_READ_BUFFER, 0);
this->m_CurrentBufferBindings[gl::kCopyReadBuffer] = 0;
}
if (this->m_CurrentBufferBindings[gl::kCopyWriteBuffer] == bufferName)
{
this->glBindBuffer(GL_COPY_WRITE_BUFFER, 0);
this->m_CurrentBufferBindings[gl::kCopyWriteBuffer] = 0;
}
}
if (GetGraphicsCaps().gles.hasIndirectDraw && this->m_CurrentBufferBindings[gl::kDrawIndirectBuffer] == bufferName)
{
this->glBindBuffer(GL_DRAW_INDIRECT_BUFFER, 0);
this->m_CurrentBufferBindings[gl::kDrawIndirectBuffer] = 0;
}
for (std::size_t i = 0; i < m_CurrentUniformBufferBindings.size(); ++i)
{
if (m_CurrentUniformBufferBindings[i] != bufferName)
continue;
this->BindUniformBuffer(i, 0);
}
for (std::size_t i = 0; i < m_CurrentTransformBufferBindings.size(); ++i)
{
if (m_CurrentTransformBufferBindings[i] != bufferName)
continue;
this->BindTransformFeedbackBuffer(i, 0);
}
for (std::size_t i = 0; i < m_CurrentStorageBufferBindings.size(); ++i)
{
if (m_CurrentStorageBufferBindings[i] != bufferName)
continue;
this->BindShaderStorageBuffer(i, 0);
}
for (std::size_t i = 0; i < m_CurrentAtomicCounterBufferBindings.size(); ++i)
{
if (m_CurrentAtomicCounterBufferBindings[i] != bufferName)
continue;
this->BindAtomicCounterBuffer(i, 0);
}
// Now we can delete the buffer object
GLES_CALL(this, glDeleteBuffers, 1, &bufferName);
bufferName = kInvalidValue;
}
GLuint ApiGLES::RecreateBuffer(GLuint bufferName, gl::BufferTarget target, GLsizeiptr size, const GLvoid* data, GLenum usage)
{
GLES_CHECK(this, bufferName);
GLES_ASSERT(this, bufferName, "'buffer' object hasn't being created already");
GLES_ASSERT(this, this->debug.BufferBindings(), "The context has been modified outside of ApiGLES. States tracking is lost.");
if (CAN_HAVE_DIRECT_STATE_ACCESS && GetGraphicsCaps().gles.hasDirectStateAccess)
{
GLES_CALL(this, glNamedBufferData, bufferName, size, data, usage);
}
else
{
const GLenum memoryTarget = gGL->BindMemoryBuffer(bufferName, target);
GLES_CALL(this, glBufferData, memoryTarget, size, data, usage);
if (GetGraphicsCaps().gles.buggyBindBuffer)
gGL->UnbindMemoryBuffer(target);
}
return bufferName;
}
void ApiGLES::UploadBufferSubData(GLuint bufferName, gl::BufferTarget target, GLintptr offset, GLsizeiptr size, const GLvoid* data)
{
GLES_CHECK(this, bufferName);
GLES_ASSERT(this, bufferName, "'buffer' object hasn't being created already");
GLES_ASSERT(this, this->debug.BufferBindings(), "The context has been modified outside of ApiGLES. States tracking is lost.");
if (CAN_HAVE_DIRECT_STATE_ACCESS && GetGraphicsCaps().gles.hasDirectStateAccess)
{
GLES_CALL(this, glNamedBufferSubData, bufferName, offset, size, data);
}
else
{
const GLenum memoryTarget = gGL->BindMemoryBuffer(bufferName, target);
GLES_CALL(this, glBufferSubData, memoryTarget, offset, size, data);
if (GetGraphicsCaps().gles.buggyBindBuffer)
gGL->UnbindMemoryBuffer(target);
}
}
void* ApiGLES::MapBuffer(GLuint bufferName, gl::BufferTarget target, GLintptr offset, GLsizeiptr length, GLbitfield access)
{
GLES_CHECK(this, bufferName);
GLES_ASSERT(this, GetGraphicsCaps().gles.hasMapbufferRange, "Map buffer range is not supported");
GLES_ASSERT(this, this->debug.BufferBindings(), "The context has been modified outside of ApiGLES. States tracking is lost.");
void* ptr = NULL;
if (CAN_HAVE_DIRECT_STATE_ACCESS && GetGraphicsCaps().gles.hasDirectStateAccess)
{
GLES_CALL_RET(this, ptr, glMapNamedBufferRange, bufferName, offset, length, access);
}
else
{
const GLenum memoryTarget = gGL->BindMemoryBuffer(bufferName, target);
GLES_CALL_RET(this, ptr, glMapBufferRange, memoryTarget, offset, length, access);
if (GetGraphicsCaps().gles.buggyBindBuffer)
gGL->UnbindMemoryBuffer(target);
}
return ptr;
}
void ApiGLES::UnmapBuffer(GLuint bufferName, gl::BufferTarget target)
{
GLES_CHECK(this, bufferName);
GLES_ASSERT(this, GetGraphicsCaps().gles.hasMapbufferRange, "Map buffer range is not supported");
GLES_ASSERT(this, this->debug.BufferBindings(), "The context has been modified outside of ApiGLES. States tracking is lost.");
if (CAN_HAVE_DIRECT_STATE_ACCESS && GetGraphicsCaps().gles.hasDirectStateAccess)
{
GLES_CALL(this, glUnmapNamedBuffer, bufferName);
}
else
{
const GLenum memoryTarget = gGL->BindMemoryBuffer(bufferName, target);
GLES_CALL(this, glUnmapBuffer, memoryTarget);
if (GetGraphicsCaps().gles.buggyBindBuffer)
gGL->UnbindMemoryBuffer(target);
}
}
void ApiGLES::FlushBuffer(GLuint bufferName, gl::BufferTarget target, GLintptr offset, GLsizeiptr length)
{
GLES_CHECK(this, bufferName);
GLES_ASSERT(this, GetGraphicsCaps().gles.hasMapbufferRange, "Map buffer range is not supported");
GLES_ASSERT(this, this->debug.BufferBindings(), "The context has been modified outside of ApiGLES. States tracking is lost.");
if (CAN_HAVE_DIRECT_STATE_ACCESS && GetGraphicsCaps().gles.hasDirectStateAccess)
{
GLES_CALL(this, glFlushMappedNamedBufferRange, bufferName, offset, length);
}
else
{
const GLenum memoryTarget = gGL->BindMemoryBuffer(bufferName, target);
GLES_CALL(this, glFlushMappedBufferRange, memoryTarget, offset, length);
if (GetGraphicsCaps().gles.buggyBindBuffer)
gGL->UnbindMemoryBuffer(target);
}
}
void ApiGLES::CopyBufferSubData(GLuint srcBuffer, GLuint dstBuffer, GLintptr srcOffset, GLintptr dstOffset, GLsizeiptr size)
{
GLES_CHECK(this, dstBuffer);
GLES_ASSERT(this, GetGraphicsCaps().gles.hasBufferCopy, "Buffer copy is not supported");
GLES_ASSERT(this, this->debug.BufferBindings(), "The context has been modified outside of ApiGLES. States tracking is lost.");
gGL->BindMemoryBuffer(dstBuffer, gl::kCopyWriteBuffer);
gGL->BindReadBuffer(srcBuffer);
GLES_CALL(this, glCopyBufferSubData, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, srcOffset, dstOffset, size);
}
void ApiGLES::ClearBuffer(GLuint bufferName, gl::BufferTarget target)
{
GLES_CHECK(this, bufferName);
GLES_ASSERT(this, GetGraphicsCaps().gles.hasBufferClear, "Buffer clear is not supported");
GLES_ASSERT(this, this->debug.BufferBindings(), "The context has been modified outside of ApiGLES. States tracking is lost.");
if (CAN_HAVE_DIRECT_STATE_ACCESS && GetGraphicsCaps().gles.hasDirectStateAccess)
{
GLuint zeroData = 0;
GLES_CALL(this, glClearNamedBufferData, bufferName, GL_R32UI, GL_RED, GL_UNSIGNED_INT, &zeroData);
}
else
{
GLuint zeroData = 0;
const GLenum memoryTarget = gGL->BindMemoryBuffer(bufferName, target);
GLES_CALL(this, glClearBufferData, memoryTarget, GL_R32UI, GL_RED, GL_UNSIGNED_INT, &zeroData);
if (GetGraphicsCaps().gles.buggyBindBuffer)
gGL->UnbindMemoryBuffer(target);
}
}
void ApiGLES::ClearBufferSubData(GLuint bufferName, gl::BufferTarget target, GLintptr offset, GLsizeiptr size)
{
GLES_CHECK(this, bufferName);
GLES_ASSERT(this, GetGraphicsCaps().gles.hasMapbufferRange, "buffer mapping is not supported");
GLES_ASSERT(this, this->debug.BufferBindings(), "The context has been modified outside of ApiGLES. States tracking is lost.");
GLuint zeroData = 0;
if (CAN_HAVE_DIRECT_STATE_ACCESS && GetGraphicsCaps().gles.hasDirectStateAccess)
{
GLES_CALL(this, glClearNamedBufferSubData, bufferName, GL_R32UI, offset, size, GL_RED, GL_UNSIGNED_INT, &zeroData);
}
else if (GetGraphicsCaps().gles.hasBufferClear)
{
const GLenum memoryTarget = gGL->BindMemoryBuffer(bufferName, target);
GLES_CALL(this, glClearBufferSubData, memoryTarget, GL_R32UI, offset, size, GL_RED, GL_UNSIGNED_INT, &zeroData);
if (GetGraphicsCaps().gles.buggyBindBuffer)
gGL->UnbindMemoryBuffer(target);
}
else if (GetGraphicsCaps().gles.hasMapbufferRange)
{
UInt32* pointer = static_cast<UInt32*>(this->MapBuffer(bufferName, target, offset, size, GL_MAP_WRITE_BIT | GL_MAP_INVALIDATE_BUFFER_BIT));
for (std::size_t i = 0, n = (size - offset) / sizeof(UInt32); i < n; ++i)
*(pointer + i) = zeroData;
this->UnmapBuffer(bufferName, target);
}
else
{
GLES_ASSERT(this, 0, "Unsupported GfxDeviceLevel");
}
}
gl::VertexArrayHandle ApiGLES::CreateVertexArray()
{
//GLES_ASSERT(this, GetGraphicsCaps().gles.hasVertexArrayObject, "Vertex array objects are not supported");
GLuint VertexArrayName = 0;
GLES_CALL(this, glGenVertexArrays, 1, &VertexArrayName);
return gl::VertexArrayHandle(VertexArrayName);
}
void ApiGLES::DeleteVertexArray(gl::VertexArrayHandle& vertexArrayName)
{
GLES_CHECK(this, vertexArrayName);
GLES_ASSERT(this, GetGraphicsCaps().gles.hasVertexArrayObject, "Vertex array objects are not supported");
GLuint vaName = GLES_OBJECT_NAME(vertexArrayName);
GLES_CALL(this, glDeleteVertexArrays, 1, &vaName);
vertexArrayName = gl::VertexArrayHandle();
}
void ApiGLES::BindVertexArray(gl::VertexArrayHandle vertexArrayName)
{
GLES_CHECK(this, vertexArrayName);
GLES_ASSERT(this, GetGraphicsCaps().gles.hasVertexArrayObject, "Vertex Array Objects are not supported");
if (m_Caching && this->m_CurrentVertexArrayBinding == vertexArrayName)
return;
this->m_CurrentVertexArrayBinding = vertexArrayName;
GLES_CALL(this, glBindVertexArray, GLES_OBJECT_NAME(vertexArrayName));
}
bool ApiGLES::IsVertexArray(gl::VertexArrayHandle vertexArrayName)
{
GLboolean isVertexArray = 0;
GLES_CHECK(this, vertexArrayName);
GLES_CALL_RET(this, isVertexArray, glIsVertexArray, GLES_OBJECT_NAME(vertexArrayName));
return (0 != isVertexArray);
}
void ApiGLES::EnableVertexArrayAttrib(GLuint attribIndex, GLuint bufferName, gl::VertexArrayAttribKind Kind, GLint size, VertexChannelFormat format, GLsizei stride, const GLvoid* offset)
{
GLES_CHECK(this, attribIndex);
GLES_ASSERT(this, m_CurrentVertexArrayBinding == m_DefaultVertexArrayName, "VertexArrayAttribPointer can only be called on a default vertex array object by Unity design");
GLES_ASSERT(this, attribIndex < GetGraphicsCaps().gles.maxAttributes, "Too many attributes used");
GLES_ASSERT(this, size > 0 && size <= 4, "Invalid number of attribute components");
// Enable vertex attribute
if (!m_Caching || !(m_CurrentDefaultVertexArrayEnabled & (1 << attribIndex)))
{
GLES_CALL(this, glEnableVertexAttribArray, attribIndex);
m_CurrentDefaultVertexArrayEnabled |= (1 << attribIndex);
}
// Setup the vertex attribute
VertexArray vertexArray(*this, bufferName, size, format, stride, offset, Kind);
if (m_Caching && CompareMemory(vertexArray, m_CurrentDefaultVertexArray[attribIndex]))
return;
m_CurrentDefaultVertexArray[attribIndex] = vertexArray;
const GLenum type = this->translate.VertexType(format);
GLES_ASSERT(this, bufferName != 0, "An array buffer must be bound to setup a vertex attribute");
this->BindArrayBuffer(bufferName);
switch (Kind)
{
case gl::kVertexArrayAttribSNorm:
case gl::kVertexArrayAttribSNormNormalize:
GLES_CALL(this, glVertexAttribPointer, attribIndex, size, type, Kind == gl::kVertexArrayAttribSNormNormalize ? GL_TRUE : GL_FALSE, stride, offset);
break;
case gl::kVertexArrayAttribInteger:
GLES_CALL(this, glVertexAttribIPointer, attribIndex, size, type, stride, offset);
break;
case gl::kVertexArrayAttribLong:
GLES_CALL(this, glVertexAttribLPointer, attribIndex, size, type, stride, offset);
break;
}
}
void ApiGLES::DisableVertexArrayAttrib(GLuint attribIndex)
{
GLES_CHECK(this, attribIndex);
GLES_ASSERT(this, m_CurrentVertexArrayBinding == m_DefaultVertexArrayName, "VertexArrayAttribPointer can only be called on a default vertex array object by Unity design");
GLES_ASSERT(this, attribIndex < GetGraphicsCaps().gles.maxAttributes, "Too many attributes used");
if (m_Caching && !(m_CurrentDefaultVertexArrayEnabled & (1 << attribIndex)))
return;
m_CurrentDefaultVertexArrayEnabled &= ~(1 << attribIndex);
GLES_CALL(this, glDisableVertexAttribArray, attribIndex);
}
void ApiGLES::SetPatchVertices(int count)
{
GLES_CHECK(this, -1);
GLES_ASSERT(this, GetGraphicsCaps().gles.hasTessellationShader, "Tessellation is not supported");
if (m_Caching && m_CurrentPatchVertices == count)
return;
m_CurrentPatchVertices = count;
GLES_CALL(this, glPatchParameteri, GL_PATCH_VERTICES, static_cast<GLint>(count));
}
void ApiGLES::Enable(gl::EnabledCap cap)
{
GLES_CHECK(this, -1);
GLES_ASSERT(this, (cap == gl::kTextureCubeMapSeamless && GetGraphicsCaps().gles.hasSeamlessCubemapEnable) || (cap != gl::kTextureCubeMapSeamless), "OPENGL ERROR: gl::kTextureCubeMapSeamless is not supported");
const UInt64 flag = (static_cast<UInt64>(1) << cap);
if (m_Caching && m_CurrentCapEnabled & flag)
return;
m_CurrentCapEnabled |= flag;
GLES_CALL(this, glEnable, this->translate.Enable(cap));
}
void ApiGLES::Disable(gl::EnabledCap cap)
{
GLES_CHECK(this, -1);
GLES_ASSERT(this, (cap == gl::kTextureCubeMapSeamless && GetGraphicsCaps().gles.hasSeamlessCubemapEnable) || (cap != gl::kTextureCubeMapSeamless), "OPENGL ERROR: gl::kTextureCubeMapSeamless is not supported");
const UInt64 flag = (static_cast<UInt64>(1) << cap);
if (m_Caching && !(m_CurrentCapEnabled & flag))
return;
m_CurrentCapEnabled &= ~flag;
GLES_CALL(this, glDisable, this->translate.Enable(cap));
}
bool ApiGLES::IsEnabled(gl::EnabledCap cap) const
{
return m_CurrentCapEnabled & (static_cast<UInt64>(1) << cap) ? true : false;
}
void ApiGLES::SetPolygonMode(bool wire)
{
GLES_CHECK(this, -1);
if (!GetGraphicsCaps().gles.hasWireframe)
return;
if (m_Caching && m_CurrentPolygonModeWire == wire)
return;
this->m_CurrentPolygonModeWire = wire;
if (wire)
{
this->Enable(gl::kPolygonOffsetLine);
GLES_CALL(this, glPolygonMode, GL_FRONT_AND_BACK, GL_LINE);
}
else
{
this->Disable(gl::kPolygonOffsetLine);
GLES_CALL(this, glPolygonMode, GL_FRONT_AND_BACK, GL_FILL);
}
}
void ApiGLES::SetCullMode(const ::CullMode cullMode)
{
GLES_CHECK(this, -1);
GLES_ASSERT(this, cullMode != kCullUnknown, "Invalid cull mode");
GLES_ASSERT(this, !m_Caching || this->debug.CullMode(), "OPENGL ERROR: The OpenGL context has been modified outside of ApiGLES. States tracking is lost.");
if (m_Caching && m_CurrentCullMode == cullMode)
return;
this->m_CurrentCullMode = cullMode;
switch (cullMode)
{
case kCullOff:
this->Disable(gl::kCullFace);
break;
case kCullFront:
GLES_CALL(this, glCullFace, GL_FRONT);
this->Enable(gl::kCullFace);
break;
case kCullBack:
GLES_CALL(this, glCullFace, GL_BACK);
this->Enable(gl::kCullFace);
break;
default:
GLES_ASSERT(this, 0, "Unkown cull mode");
}
}
gl::QueryHandle ApiGLES::CreateQuery()
{
GLES_CHECK(this, ApiGLES::kInvalidValue);
GLES_ASSERT(this, GetGraphicsCaps().hasTimerQuery, "Timer query is not supported");
GLuint queryName = 0;
GLES_CALL(this, glGenQueries, 1, &queryName);
GLES_CHECK(this, queryName);
return gl::QueryHandle(queryName);
}
void ApiGLES::DeleteQuery(gl::QueryHandle & query)
{
GLES_CHECK(this, GLES_OBJECT_NAME(query));
GLES_ASSERT(this, GetGraphicsCaps().hasTimerQuery, "Timer query is not supported");
GLuint const queryName = GLES_OBJECT_NAME(query);
GLES_CALL(this, glDeleteQueries, 1, &queryName);
query = gl::QueryHandle::kInvalidValue;
}
void ApiGLES::QueryTimeStamp(gl::QueryHandle query)
{
GLES_CHECK(this, GLES_OBJECT_NAME(query));
GLES_ASSERT(this, GetGraphicsCaps().hasTimerQuery, "Timer query is not supported");
GLES_CALL(this, glQueryCounter, GLES_OBJECT_NAME(query), GL_TIMESTAMP);
}
GLuint64 ApiGLES::Query(gl::QueryHandle query, gl::QueryResult queryResult)
{
GLES_CHECK(this, GLES_OBJECT_NAME(query));
GLES_ASSERT(this, GetGraphicsCaps().hasTimerQuery, "Timer query is not supported");
GLuint64 result = 0;
GLES_CALL(this, glGetQueryObjectui64v, GLES_OBJECT_NAME(query), queryResult, &result);
return result;
}
GLint ApiGLES::Get(GLenum cap) const
{
GLint result = 0;
GLES_CALL(this, glGetIntegerv, cap, &result);
return result;
}
bool ApiGLES::QueryExtension(const char * extension) const
{
GLES_CHECK(this, -1);
// WebGL 2.0 does not seem to support GL_NUM_EXTENSIONS
if (IsGfxLevelES2(GetGraphicsCaps().gles.featureLevel))
{
const char* extensions = reinterpret_cast<const char*>(this->glGetString(GL_EXTENSIONS));
if (!extensions)
return false;
const char* match = strstr(extensions, extension);
if (!match)
return false;
// we need an exact match, extensions string is a list of extensions separated by spaces, e.g. "GL_EXT_draw_buffers" should not match "GL_EXT_draw_buffers_indexed"
const char* end = match + strlen(extension);
return *end == ' ' || *end == '\0';
}
else
{
const GLint numExtensions = this->Get(GL_NUM_EXTENSIONS);
for (GLint i = 0; i < numExtensions; ++i)
{
const char* Extension = reinterpret_cast<const char*>(this->glGetStringi(GL_EXTENSIONS, i));
if (!strcmp(extension, Extension))
return true;
}
return false;
}
}
std::string ApiGLES::GetExtensionString() const
{
GLES_CHECK(this, -1);
std::string extensionString;
// WebGL 2.0 does not seem to support GL_NUM_EXTENSIONS
if (IsGfxLevelES2(GetGraphicsCaps().gles.featureLevel))
{
const GLubyte* string = 0;
GLES_CALL_RET(this, string, glGetString, GL_EXTENSIONS);
extensionString = reinterpret_cast<const char*>(string);
}
else
{
const GLint numExtensions = this->Get(GL_NUM_EXTENSIONS);
for (GLint i = 0; i < numExtensions; ++i)
{
const GLubyte* string = 0;
GLES_CALL_RET(this, string, glGetStringi, GL_EXTENSIONS, i);
extensionString += std::string(" ") + reinterpret_cast<const char*>(string);
}
}
return extensionString;
}
const char* ApiGLES::GetDriverString(gl::DriverQuery Query) const
{
GLES_CHECK(this, -1);
const GLenum translatedQuery = GL_VENDOR + Query; // GL_VENDOR, GL_RENDERER and GL_VERSION are contiguous values, query is a zero based enum
const GLubyte* stringPointer = 0;
GLES_CALL_RET(this, stringPointer, glGetString, translatedQuery);
return reinterpret_cast<const char*>(stringPointer);
}
void ApiGLES::Submit(gl::SubmitMode mode)
{
switch (mode)
{
case gl::SUBMIT_FINISH:
GLES_CALL(this, glFinish);
return;
case gl::SUBMIT_FLUSH:
GLES_CALL(this, glFlush);
return;
default:
GLES_ASSERT(this, 0, "Unsupported submot mode");
}
}
bool ApiGLES::Verify() const
{
GLES_CHECK(this, -1);
GLES_ASSERT(this, this->debug.Verify(), "The OpenGL context has been modified outside of ApiGLES. States tracking is lost.");
typedef std::pair<bool, bool> Enable;
struct IsEnabled
{
Enable operator()(const ApiGLES & api, const gl::EnabledCap & capUnity) const
{
return Enable(
api.glIsEnabled(api.translate.Enable(capUnity)) == GL_TRUE,
(api.m_CurrentCapEnabled & (static_cast<UInt64>(1) << capUnity)) != 0);
}
} isEnabled;
bool check = true;
if (GetGraphicsCaps().gles.hasDebugOutput)
{
const Enable & debugSync = isEnabled(*this, gl::kDebugOutputSynchronous);
if (GetGraphicsCaps().gles.hasDebugKHR)
{
const Enable & debug = isEnabled(*this, gl::kDebugOutput);
}
}
if (IsGfxLevelCore(GetGraphicsCaps().gles.featureLevel))
{
const Enable & colorLogicOp = isEnabled(*this, gl::kColorLogicOp);
const Enable & depthClamp = isEnabled(*this, gl::kDepthClamp);
const Enable & framebufferSRGB = isEnabled(*this, gl::kFramebufferSRGB);
const Enable & lineSmooth = isEnabled(*this, gl::kLineSmooth);
const Enable & multisample = isEnabled(*this, gl::kMultisample);
const Enable & polygonOffsetLine = isEnabled(*this, gl::kPolygonOffsetLine);
const Enable & polygonOffsetPoint = isEnabled(*this, gl::kPolygonOffsetpoint);
const Enable & polygonSmooth = isEnabled(*this, gl::kPolygonSmooth);
const Enable & primitiveRestart = isEnabled(*this, gl::kPrimitiveRestart);
const Enable & sampleAlphaToOne = isEnabled(*this, gl::kSampleAlphaToOne);
const Enable & sampleShading = isEnabled(*this, gl::kSampleShading);
const Enable & textureCubeMapSeamless = isEnabled(*this, gl::kTextureCubeMapSeamless);
const Enable & programPointSize = isEnabled(*this, gl::kProgramPointSize);
}
if (IsGfxLevelES(GetGraphicsCaps().gles.featureLevel, kGfxLevelES31) || IsGfxLevelCore(GetGraphicsCaps().gles.featureLevel, kGfxLevelCore40))
{
const Enable & sampleMask = isEnabled(*this, gl::kSampleMask);
}
const Enable & blend = isEnabled(*this, gl::kBlend);
const Enable & cullFace = isEnabled(*this, gl::kCullFace);
const Enable & depthTest = isEnabled(*this, gl::kDepthTest);
const Enable & dither = isEnabled(*this, gl::kDither);
const Enable & polygonOffsetFill = isEnabled(*this, gl::kPolygonOffsetFill);
const Enable & sampleAlphaToCoverage = isEnabled(*this, gl::kSampleAlphaToCoverage);
const Enable & sampleCoverage = isEnabled(*this, gl::kSampleCoverage);
const Enable & scissorTest = isEnabled(*this, gl::kScissorTest);
const Enable & stencilTest = isEnabled(*this, gl::kStencilTest);
return check;
}
ApiGLES::VertexArray::VertexArray()
: m_Offset(0)
, m_Stride(0)
, m_Buffer(0)
, m_Bitfield(0)
{}
ApiGLES::VertexArray::VertexArray(const ApiGLES & api, GLuint buffer, GLint size, VertexChannelFormat format, GLsizei stride, const GLvoid* offset, gl::VertexArrayAttribKind kind)
: m_Offset(offset)
, m_Stride(stride)
, m_Buffer(buffer)
, m_Bitfield(0)
{
this->m_Bitfield = api.translate.VertexArrayKindBitfield(kind) | api.translate.VertexArraySizeBitfield(size) | api.translate.VertexArrayTypeBitfield(format);
}
| [
"akheyun@gmail.com"
] | akheyun@gmail.com |
cd53bae4d9ea63bc540a6b48a70ae266f1adeca8 | 947e2d199cdd0adb5f34befb17e639c9e0cc8867 | /按键流程分析/InputReader.cpp | 5bb64831c76058ed57f7c908d521cf554277db0e | [] | no_license | qfkongyan/AndroidFramework | 9b11a9d273c820d2db23cc8fa158e38d554e40da | 3cd1c042b13f0048b8bd59ae8092cc6f81a94738 | refs/heads/master | 2022-12-14T07:22:39.986361 | 2020-09-14T13:37:05 | 2020-09-14T13:37:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 268,279 | cpp | /*
* Copyright (C) 2010 The Android Open Source Project
*
* 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.
*/
#define LOG_TAG "InputReader"
//#define LOG_NDEBUG 0
// Log debug messages for each raw event received from the EventHub.
#define DEBUG_RAW_EVENTS 0
// Log debug messages about touch screen filtering hacks.
#define DEBUG_HACKS 0
// Log debug messages about virtual key processing.
#define DEBUG_VIRTUAL_KEYS 0
// Log debug messages about pointers.
#define DEBUG_POINTERS 0
// Log debug messages about pointer assignment calculations.
#define DEBUG_POINTER_ASSIGNMENT 0
// Log debug messages about gesture detection.
#define DEBUG_GESTURES 0
// Log debug messages about the vibrator.
#define DEBUG_VIBRATOR 0
#include "InputReader.h"
#include <cutils/log.h>
#include <cutils/properties.h>
#include <input/Keyboard.h>
#include <input/VirtualKeyMap.h>
#include <stddef.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <limits.h>
#include <math.h>
#include <fcntl.h>
#define INDENT " "
#define INDENT2 " "
#define INDENT3 " "
#define INDENT4 " "
#define INDENT5 " "
namespace android {
// --- Constants ---
// Maximum number of slots supported when using the slot-based Multitouch Protocol B.
static const size_t MAX_SLOTS = 32;
static char g_dmode_str[32];
static char g_daxis_str[32];
// --- Static Functions ---
template<typename T>
inline static T abs(const T& value) {
return value < 0 ? - value : value;
}
template<typename T>
inline static T min(const T& a, const T& b) {
return a < b ? a : b;
}
template<typename T>
inline static void swap(T& a, T& b) {
T temp = a;
a = b;
b = temp;
}
inline static float avg(float x, float y) {
return (x + y) / 2;
}
inline static float distance(float x1, float y1, float x2, float y2) {
return hypotf(x1 - x2, y1 - y2);
}
inline static int32_t signExtendNybble(int32_t value) {
return value >= 8 ? value - 16 : value;
}
static inline const char* toString(bool value) {
return value ? "true" : "false";
}
static int32_t rotateValueUsingRotationMap(int32_t value, int32_t orientation,
const int32_t map[][4], size_t mapSize) {
if (orientation != DISPLAY_ORIENTATION_0) {
for (size_t i = 0; i < mapSize; i++) {
if (value == map[i][0]) {
return map[i][orientation];
}
}
}
return value;
}
static const int32_t keyCodeRotationMap[][4] = {
// key codes enumerated counter-clockwise with the original (unrotated) key first
// no rotation, 90 degree rotation, 180 degree rotation, 270 degree rotation
{ AKEYCODE_DPAD_DOWN, AKEYCODE_DPAD_RIGHT, AKEYCODE_DPAD_UP, AKEYCODE_DPAD_LEFT },
{ AKEYCODE_DPAD_RIGHT, AKEYCODE_DPAD_UP, AKEYCODE_DPAD_LEFT, AKEYCODE_DPAD_DOWN },
{ AKEYCODE_DPAD_UP, AKEYCODE_DPAD_LEFT, AKEYCODE_DPAD_DOWN, AKEYCODE_DPAD_RIGHT },
{ AKEYCODE_DPAD_LEFT, AKEYCODE_DPAD_DOWN, AKEYCODE_DPAD_RIGHT, AKEYCODE_DPAD_UP },
};
static const size_t keyCodeRotationMapSize =
sizeof(keyCodeRotationMap) / sizeof(keyCodeRotationMap[0]);
static int32_t rotateKeyCode(int32_t keyCode, int32_t orientation) {
return rotateValueUsingRotationMap(keyCode, orientation,
keyCodeRotationMap, keyCodeRotationMapSize);
}
static void rotateDelta(int32_t orientation, float* deltaX, float* deltaY) {
float temp;
switch (orientation) {
case DISPLAY_ORIENTATION_90:
temp = *deltaX;
*deltaX = *deltaY;
*deltaY = -temp;
break;
case DISPLAY_ORIENTATION_180:
*deltaX = -*deltaX;
*deltaY = -*deltaY;
break;
case DISPLAY_ORIENTATION_270:
temp = *deltaX;
*deltaX = -*deltaY;
*deltaY = temp;
break;
}
}
static inline bool sourcesMatchMask(uint32_t sources, uint32_t sourceMask) {
return (sources & sourceMask & ~ AINPUT_SOURCE_CLASS_MASK) != 0;
}
// Returns true if the pointer should be reported as being down given the specified
// button states. This determines whether the event is reported as a touch event.
static bool isPointerDown(int32_t buttonState) {
return buttonState &
(AMOTION_EVENT_BUTTON_PRIMARY | AMOTION_EVENT_BUTTON_SECONDARY
| AMOTION_EVENT_BUTTON_TERTIARY);
}
static float calculateCommonVector(float a, float b) {
if (a > 0 && b > 0) {
return a < b ? a : b;
} else if (a < 0 && b < 0) {
return a > b ? a : b;
} else {
return 0;
}
}
static void synthesizeButtonKey(InputReaderContext* context, int32_t action,
nsecs_t when, int32_t deviceId, uint32_t source,
uint32_t policyFlags, int32_t lastButtonState, int32_t currentButtonState,
int32_t buttonState, int32_t keyCode) {
if (
(action == AKEY_EVENT_ACTION_DOWN
&& !(lastButtonState & buttonState)
&& (currentButtonState & buttonState))
|| (action == AKEY_EVENT_ACTION_UP
&& (lastButtonState & buttonState)
&& !(currentButtonState & buttonState))) {
NotifyKeyArgs args(when, deviceId, source, policyFlags,
action, 0, keyCode, 0, context->getGlobalMetaState(), when);
context->getListener()->notifyKey(&args);
}
}
static void synthesizeButtonKeys(InputReaderContext* context, int32_t action,
nsecs_t when, int32_t deviceId, uint32_t source,
uint32_t policyFlags, int32_t lastButtonState, int32_t currentButtonState) {
synthesizeButtonKey(context, action, when, deviceId, source, policyFlags,
lastButtonState, currentButtonState,
AMOTION_EVENT_BUTTON_BACK, AKEYCODE_BACK);
synthesizeButtonKey(context, action, when, deviceId, source, policyFlags,
lastButtonState, currentButtonState,
AMOTION_EVENT_BUTTON_FORWARD, AKEYCODE_FORWARD);
}
// --- InputReaderConfiguration ---
bool InputReaderConfiguration::getDisplayInfo(bool external, DisplayViewport* outViewport) const {
const DisplayViewport& viewport = external ? mExternalDisplay : mInternalDisplay;
if (viewport.displayId >= 0) {
*outViewport = viewport;
return true;
}
return false;
}
void InputReaderConfiguration::setDisplayInfo(bool external, const DisplayViewport& viewport) {
DisplayViewport& v = external ? mExternalDisplay : mInternalDisplay;
v = viewport;
}
// --- InputReader ---
InputReader::InputReader(const sp<EventHubInterface>& eventHub,
const sp<InputReaderPolicyInterface>& policy,
const sp<InputListenerInterface>& listener) :
mContext(this), mEventHub(eventHub), mPolicy(policy),
mGlobalMetaState(0), mGeneration(1),
mDisableVirtualKeysTimeout(LLONG_MIN), mNextTimeout(LLONG_MAX),
mConfigurationChangesToRefresh(0) {
mQueuedListener = new QueuedInputListener(listener);
{ // acquire lock
AutoMutex _l(mLock);
refreshConfigurationLocked(0);
updateGlobalMetaStateLocked();
} // release lock
}
InputReader::~InputReader() {
for (size_t i = 0; i < mDevices.size(); i++) {
delete mDevices.valueAt(i);
}
}
void InputReader::loopOnce() {
int32_t oldGeneration;
int32_t timeoutMillis;
bool inputDevicesChanged = false;
Vector<InputDeviceInfo> inputDevices;
{ // acquire lock
AutoMutex _l(mLock);
oldGeneration = mGeneration;
timeoutMillis = -1;
uint32_t changes = mConfigurationChangesToRefresh;
if (changes) {
mConfigurationChangesToRefresh = 0;
timeoutMillis = 0;
refreshConfigurationLocked(changes);
} else if (mNextTimeout != LLONG_MAX) {
nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC);
timeoutMillis = toMillisecondTimeoutDelay(now, mNextTimeout);
}
} // release lock
size_t count = mEventHub->getEvents(timeoutMillis, mEventBuffer, EVENT_BUFFER_SIZE);
{ // acquire lock
AutoMutex _l(mLock);
mReaderIsAliveCondition.broadcast();
if (count) {
processEventsLocked(mEventBuffer, count);
}
if (mNextTimeout != LLONG_MAX) {
nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC);
if (now >= mNextTimeout) {
#if DEBUG_RAW_EVENTS
ALOGD("Timeout expired, latency=%0.3fms", (now - mNextTimeout) * 0.000001f);
#endif
mNextTimeout = LLONG_MAX;
timeoutExpiredLocked(now);
}
}
if (oldGeneration != mGeneration) {
inputDevicesChanged = true;
getInputDevicesLocked(inputDevices);
}
} // release lock
// Send out a message that the describes the changed input devices.
if (inputDevicesChanged) {
mPolicy->notifyInputDevicesChanged(inputDevices);
}
// Flush queued events out to the listener.
// This must happen outside of the lock because the listener could potentially call
// back into the InputReader's methods, such as getScanCodeState, or become blocked
// on another thread similarly waiting to acquire the InputReader lock thereby
// resulting in a deadlock. This situation is actually quite plausible because the
// listener is actually the input dispatcher, which calls into the window manager,
// which occasionally calls into the input reader.
mQueuedListener->flush();
}
void InputReader::processEventsLocked(const RawEvent* rawEvents, size_t count) {
for (const RawEvent* rawEvent = rawEvents; count;) {
int32_t type = rawEvent->type;
size_t batchSize = 1;
if (type < EventHubInterface::FIRST_SYNTHETIC_EVENT) {
int32_t deviceId = rawEvent->deviceId;
while (batchSize < count) {
if (rawEvent[batchSize].type >= EventHubInterface::FIRST_SYNTHETIC_EVENT
|| rawEvent[batchSize].deviceId != deviceId) {
break;
}
batchSize += 1;
}
#if DEBUG_RAW_EVENTS
ALOGD("BatchSize: %d Count: %d", batchSize, count);
#endif
processEventsForDeviceLocked(deviceId, rawEvent, batchSize);
} else {
switch (rawEvent->type) {
case EventHubInterface::DEVICE_ADDED:
addDeviceLocked(rawEvent->when, rawEvent->deviceId);
break;
case EventHubInterface::DEVICE_REMOVED:
removeDeviceLocked(rawEvent->when, rawEvent->deviceId);
break;
case EventHubInterface::FINISHED_DEVICE_SCAN:
handleConfigurationChangedLocked(rawEvent->when);
break;
default:
ALOG_ASSERT(false); // can't happen
break;
}
}
count -= batchSize;
rawEvent += batchSize;
}
}
void InputReader::addDeviceLocked(nsecs_t when, int32_t deviceId) {
ssize_t deviceIndex = mDevices.indexOfKey(deviceId);
if (deviceIndex >= 0) {
ALOGW("Ignoring spurious device added event for deviceId %d.", deviceId);
return;
}
InputDeviceIdentifier identifier = mEventHub->getDeviceIdentifier(deviceId);
uint32_t classes = mEventHub->getDeviceClasses(deviceId);
int32_t controllerNumber = mEventHub->getDeviceControllerNumber(deviceId);
InputDevice* device = createDeviceLocked(deviceId, controllerNumber, identifier, classes);
device->configure(when, &mConfig, 0);
device->reset(when);
if (device->isIgnored()) {
ALOGI("Device added: id=%d, name='%s' (ignored non-input device)", deviceId,
identifier.name.string());
} else {
ALOGI("Device added: id=%d, name='%s', sources=0x%08x", deviceId,
identifier.name.string(), device->getSources());
}
mDevices.add(deviceId, device);
bumpGenerationLocked();
}
void InputReader::removeDeviceLocked(nsecs_t when, int32_t deviceId) {
InputDevice* device = NULL;
ssize_t deviceIndex = mDevices.indexOfKey(deviceId);
if (deviceIndex < 0) {
ALOGW("Ignoring spurious device removed event for deviceId %d.", deviceId);
return;
}
device = mDevices.valueAt(deviceIndex);
mDevices.removeItemsAt(deviceIndex, 1);
bumpGenerationLocked();
if (device->isIgnored()) {
ALOGI("Device removed: id=%d, name='%s' (ignored non-input device)",
device->getId(), device->getName().string());
} else {
ALOGI("Device removed: id=%d, name='%s', sources=0x%08x",
device->getId(), device->getName().string(), device->getSources());
}
device->reset(when);
delete device;
}
InputDevice* InputReader::createDeviceLocked(int32_t deviceId, int32_t controllerNumber,
const InputDeviceIdentifier& identifier, uint32_t classes) {
InputDevice* device = new InputDevice(&mContext, deviceId, bumpGenerationLocked(),
controllerNumber, identifier, classes);
// External devices.
if (classes & INPUT_DEVICE_CLASS_EXTERNAL) {
device->setExternal(true);
}
// Switch-like devices.
if (classes & INPUT_DEVICE_CLASS_SWITCH) {
device->addMapper(new SwitchInputMapper(device));
}
// Vibrator-like devices.
if (classes & INPUT_DEVICE_CLASS_VIBRATOR) {
device->addMapper(new VibratorInputMapper(device));
}
// Keyboard-like devices.
uint32_t keyboardSource = 0;
int32_t keyboardType = AINPUT_KEYBOARD_TYPE_NON_ALPHABETIC;
if (classes & INPUT_DEVICE_CLASS_KEYBOARD) {
keyboardSource |= AINPUT_SOURCE_KEYBOARD;
}
if (classes & INPUT_DEVICE_CLASS_ALPHAKEY) {
keyboardType = AINPUT_KEYBOARD_TYPE_ALPHABETIC;
}
if (classes & INPUT_DEVICE_CLASS_DPAD) {
keyboardSource |= AINPUT_SOURCE_DPAD;
}
if (classes & INPUT_DEVICE_CLASS_GAMEPAD) {
keyboardSource |= AINPUT_SOURCE_GAMEPAD;
}
if (keyboardSource != 0) {
device->addMapper(new KeyboardInputMapper(device, keyboardSource, keyboardType));
}
// Cursor-like devices.
if (classes & INPUT_DEVICE_CLASS_CURSOR) {
device->addMapper(new CursorInputMapper(device));
}
// Touchscreens and touchpad devices.
if (classes & INPUT_DEVICE_CLASS_TOUCH_MT) {
device->addMapper(new MultiTouchInputMapper(device));
} else if (classes & INPUT_DEVICE_CLASS_TOUCH) {
device->addMapper(new SingleTouchInputMapper(device));
}
// Joystick-like devices.
if (classes & INPUT_DEVICE_CLASS_JOYSTICK) {
device->addMapper(new JoystickInputMapper(device));
}
return device;
}
void InputReader::processEventsForDeviceLocked(int32_t deviceId,
const RawEvent* rawEvents, size_t count) {
ssize_t deviceIndex = mDevices.indexOfKey(deviceId);
if (deviceIndex < 0) {
ALOGW("Discarding event for unknown deviceId %d.", deviceId);
return;
}
InputDevice* device = mDevices.valueAt(deviceIndex);
if (device->isIgnored()) {
//ALOGD("Discarding event for ignored deviceId %d.", deviceId);
return;
}
device->process(rawEvents, count);
}
void InputReader::timeoutExpiredLocked(nsecs_t when) {
for (size_t i = 0; i < mDevices.size(); i++) {
InputDevice* device = mDevices.valueAt(i);
if (!device->isIgnored()) {
device->timeoutExpired(when);
}
}
}
void InputReader::handleConfigurationChangedLocked(nsecs_t when) {
// Reset global meta state because it depends on the list of all configured devices.
updateGlobalMetaStateLocked();
// Enqueue configuration changed.
NotifyConfigurationChangedArgs args(when);
mQueuedListener->notifyConfigurationChanged(&args);
}
void InputReader::refreshConfigurationLocked(uint32_t changes) {
mPolicy->getReaderConfiguration(&mConfig);
mEventHub->setExcludedDevices(mConfig.excludedDeviceNames);
if (changes) {
ALOGI("Reconfiguring input devices. changes=0x%08x", changes);
nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC);
if (changes & InputReaderConfiguration::CHANGE_MUST_REOPEN) {
mEventHub->requestReopenDevices();
} else {
for (size_t i = 0; i < mDevices.size(); i++) {
InputDevice* device = mDevices.valueAt(i);
device->configure(now, &mConfig, changes);
}
}
}
}
void InputReader::updateGlobalMetaStateLocked() {
mGlobalMetaState = 0;
for (size_t i = 0; i < mDevices.size(); i++) {
InputDevice* device = mDevices.valueAt(i);
mGlobalMetaState |= device->getMetaState();
}
}
int32_t InputReader::getGlobalMetaStateLocked() {
return mGlobalMetaState;
}
void InputReader::disableVirtualKeysUntilLocked(nsecs_t time) {
mDisableVirtualKeysTimeout = time;
}
bool InputReader::shouldDropVirtualKeyLocked(nsecs_t now,
InputDevice* device, int32_t keyCode, int32_t scanCode) {
if (now < mDisableVirtualKeysTimeout) {
ALOGI("Dropping virtual key from device %s because virtual keys are "
"temporarily disabled for the next %0.3fms. keyCode=%d, scanCode=%d",
device->getName().string(),
(mDisableVirtualKeysTimeout - now) * 0.000001,
keyCode, scanCode);
return true;
} else {
return false;
}
}
void InputReader::fadePointerLocked() {
for (size_t i = 0; i < mDevices.size(); i++) {
InputDevice* device = mDevices.valueAt(i);
device->fadePointer();
}
}
void InputReader::requestTimeoutAtTimeLocked(nsecs_t when) {
if (when < mNextTimeout) {
mNextTimeout = when;
mEventHub->wake();
}
}
int32_t InputReader::bumpGenerationLocked() {
return ++mGeneration;
}
void InputReader::getInputDevices(Vector<InputDeviceInfo>& outInputDevices) {
AutoMutex _l(mLock);
getInputDevicesLocked(outInputDevices);
}
void InputReader::getInputDevicesLocked(Vector<InputDeviceInfo>& outInputDevices) {
outInputDevices.clear();
size_t numDevices = mDevices.size();
for (size_t i = 0; i < numDevices; i++) {
InputDevice* device = mDevices.valueAt(i);
if (!device->isIgnored()) {
outInputDevices.push();
device->getDeviceInfo(&outInputDevices.editTop());
}
}
}
int32_t InputReader::getKeyCodeState(int32_t deviceId, uint32_t sourceMask,
int32_t keyCode) {
AutoMutex _l(mLock);
return getStateLocked(deviceId, sourceMask, keyCode, &InputDevice::getKeyCodeState);
}
int32_t InputReader::getScanCodeState(int32_t deviceId, uint32_t sourceMask,
int32_t scanCode) {
AutoMutex _l(mLock);
return getStateLocked(deviceId, sourceMask, scanCode, &InputDevice::getScanCodeState);
}
int32_t InputReader::getSwitchState(int32_t deviceId, uint32_t sourceMask, int32_t switchCode) {
AutoMutex _l(mLock);
return getStateLocked(deviceId, sourceMask, switchCode, &InputDevice::getSwitchState);
}
int32_t InputReader::getStateLocked(int32_t deviceId, uint32_t sourceMask, int32_t code,
GetStateFunc getStateFunc) {
int32_t result = AKEY_STATE_UNKNOWN;
if (deviceId >= 0) {
ssize_t deviceIndex = mDevices.indexOfKey(deviceId);
if (deviceIndex >= 0) {
InputDevice* device = mDevices.valueAt(deviceIndex);
if (! device->isIgnored() && sourcesMatchMask(device->getSources(), sourceMask)) {
result = (device->*getStateFunc)(sourceMask, code);
}
}
} else {
size_t numDevices = mDevices.size();
for (size_t i = 0; i < numDevices; i++) {
InputDevice* device = mDevices.valueAt(i);
if (! device->isIgnored() && sourcesMatchMask(device->getSources(), sourceMask)) {
// If any device reports AKEY_STATE_DOWN or AKEY_STATE_VIRTUAL, return that
// value. Otherwise, return AKEY_STATE_UP as long as one device reports it.
int32_t currentResult = (device->*getStateFunc)(sourceMask, code);
if (currentResult >= AKEY_STATE_DOWN) {
return currentResult;
} else if (currentResult == AKEY_STATE_UP) {
result = currentResult;
}
}
}
}
return result;
}
bool InputReader::hasKeys(int32_t deviceId, uint32_t sourceMask,
size_t numCodes, const int32_t* keyCodes, uint8_t* outFlags) {
AutoMutex _l(mLock);
memset(outFlags, 0, numCodes);
return markSupportedKeyCodesLocked(deviceId, sourceMask, numCodes, keyCodes, outFlags);
}
bool InputReader::markSupportedKeyCodesLocked(int32_t deviceId, uint32_t sourceMask,
size_t numCodes, const int32_t* keyCodes, uint8_t* outFlags) {
bool result = false;
if (deviceId >= 0) {
ssize_t deviceIndex = mDevices.indexOfKey(deviceId);
if (deviceIndex >= 0) {
InputDevice* device = mDevices.valueAt(deviceIndex);
if (! device->isIgnored() && sourcesMatchMask(device->getSources(), sourceMask)) {
result = device->markSupportedKeyCodes(sourceMask,
numCodes, keyCodes, outFlags);
}
}
} else {
size_t numDevices = mDevices.size();
for (size_t i = 0; i < numDevices; i++) {
InputDevice* device = mDevices.valueAt(i);
if (! device->isIgnored() && sourcesMatchMask(device->getSources(), sourceMask)) {
result |= device->markSupportedKeyCodes(sourceMask,
numCodes, keyCodes, outFlags);
}
}
}
return result;
}
void InputReader::requestRefreshConfiguration(uint32_t changes) {
AutoMutex _l(mLock);
if (changes) {
bool needWake = !mConfigurationChangesToRefresh;
mConfigurationChangesToRefresh |= changes;
if (needWake) {
mEventHub->wake();
}
}
}
void InputReader::setTvOutStatus(bool enabled){
AutoMutex _l(mLock);
ALOGI("InputReader::setTvOutStatus %d",enabled);
size_t numDevices = mDevices.size();
for (size_t i = 0; i < numDevices; i++) {
InputDevice* device = mDevices.valueAt(i);
if (!device->isIgnored()) {
device->setTvOutStatus(enabled);
}
}
}
void InputReader::vibrate(int32_t deviceId, const nsecs_t* pattern, size_t patternSize,
ssize_t repeat, int32_t token) {
AutoMutex _l(mLock);
ssize_t deviceIndex = mDevices.indexOfKey(deviceId);
if (deviceIndex >= 0) {
InputDevice* device = mDevices.valueAt(deviceIndex);
device->vibrate(pattern, patternSize, repeat, token);
}
}
void InputReader::cancelVibrate(int32_t deviceId, int32_t token) {
AutoMutex _l(mLock);
ssize_t deviceIndex = mDevices.indexOfKey(deviceId);
if (deviceIndex >= 0) {
InputDevice* device = mDevices.valueAt(deviceIndex);
device->cancelVibrate(token);
}
}
void InputReader::dump(String8& dump) {
AutoMutex _l(mLock);
mEventHub->dump(dump);
dump.append("\n");
dump.append("Input Reader State:\n");
for (size_t i = 0; i < mDevices.size(); i++) {
mDevices.valueAt(i)->dump(dump);
}
dump.append(INDENT "Configuration:\n");
dump.append(INDENT2 "ExcludedDeviceNames: [");
for (size_t i = 0; i < mConfig.excludedDeviceNames.size(); i++) {
if (i != 0) {
dump.append(", ");
}
dump.append(mConfig.excludedDeviceNames.itemAt(i).string());
}
dump.append("]\n");
dump.appendFormat(INDENT2 "VirtualKeyQuietTime: %0.1fms\n",
mConfig.virtualKeyQuietTime * 0.000001f);
dump.appendFormat(INDENT2 "PointerVelocityControlParameters: "
"scale=%0.3f, lowThreshold=%0.3f, highThreshold=%0.3f, acceleration=%0.3f\n",
mConfig.pointerVelocityControlParameters.scale,
mConfig.pointerVelocityControlParameters.lowThreshold,
mConfig.pointerVelocityControlParameters.highThreshold,
mConfig.pointerVelocityControlParameters.acceleration);
dump.appendFormat(INDENT2 "WheelVelocityControlParameters: "
"scale=%0.3f, lowThreshold=%0.3f, highThreshold=%0.3f, acceleration=%0.3f\n",
mConfig.wheelVelocityControlParameters.scale,
mConfig.wheelVelocityControlParameters.lowThreshold,
mConfig.wheelVelocityControlParameters.highThreshold,
mConfig.wheelVelocityControlParameters.acceleration);
dump.appendFormat(INDENT2 "PointerGesture:\n");
dump.appendFormat(INDENT3 "Enabled: %s\n",
toString(mConfig.pointerGesturesEnabled));
dump.appendFormat(INDENT3 "QuietInterval: %0.1fms\n",
mConfig.pointerGestureQuietInterval * 0.000001f);
dump.appendFormat(INDENT3 "DragMinSwitchSpeed: %0.1fpx/s\n",
mConfig.pointerGestureDragMinSwitchSpeed);
dump.appendFormat(INDENT3 "TapInterval: %0.1fms\n",
mConfig.pointerGestureTapInterval * 0.000001f);
dump.appendFormat(INDENT3 "TapDragInterval: %0.1fms\n",
mConfig.pointerGestureTapDragInterval * 0.000001f);
dump.appendFormat(INDENT3 "TapSlop: %0.1fpx\n",
mConfig.pointerGestureTapSlop);
dump.appendFormat(INDENT3 "MultitouchSettleInterval: %0.1fms\n",
mConfig.pointerGestureMultitouchSettleInterval * 0.000001f);
dump.appendFormat(INDENT3 "MultitouchMinDistance: %0.1fpx\n",
mConfig.pointerGestureMultitouchMinDistance);
dump.appendFormat(INDENT3 "SwipeTransitionAngleCosine: %0.1f\n",
mConfig.pointerGestureSwipeTransitionAngleCosine);
dump.appendFormat(INDENT3 "SwipeMaxWidthRatio: %0.1f\n",
mConfig.pointerGestureSwipeMaxWidthRatio);
dump.appendFormat(INDENT3 "MovementSpeedRatio: %0.1f\n",
mConfig.pointerGestureMovementSpeedRatio);
dump.appendFormat(INDENT3 "ZoomSpeedRatio: %0.1f\n",
mConfig.pointerGestureZoomSpeedRatio);
}
void InputReader::monitor() {
// Acquire and release the lock to ensure that the reader has not deadlocked.
mLock.lock();
mEventHub->wake();
mReaderIsAliveCondition.wait(mLock);
mLock.unlock();
// Check the EventHub
mEventHub->monitor();
}
// --- InputReader::ContextImpl ---
InputReader::ContextImpl::ContextImpl(InputReader* reader) :
mReader(reader) {
}
void InputReader::ContextImpl::updateGlobalMetaState() {
// lock is already held by the input loop
mReader->updateGlobalMetaStateLocked();
}
int32_t InputReader::ContextImpl::getGlobalMetaState() {
// lock is already held by the input loop
return mReader->getGlobalMetaStateLocked();
}
void InputReader::ContextImpl::disableVirtualKeysUntil(nsecs_t time) {
// lock is already held by the input loop
mReader->disableVirtualKeysUntilLocked(time);
}
bool InputReader::ContextImpl::shouldDropVirtualKey(nsecs_t now,
InputDevice* device, int32_t keyCode, int32_t scanCode) {
// lock is already held by the input loop
return mReader->shouldDropVirtualKeyLocked(now, device, keyCode, scanCode);
}
void InputReader::ContextImpl::fadePointer() {
// lock is already held by the input loop
mReader->fadePointerLocked();
}
void InputReader::ContextImpl::requestTimeoutAtTime(nsecs_t when) {
// lock is already held by the input loop
mReader->requestTimeoutAtTimeLocked(when);
}
int32_t InputReader::ContextImpl::bumpGeneration() {
// lock is already held by the input loop
return mReader->bumpGenerationLocked();
}
InputReaderPolicyInterface* InputReader::ContextImpl::getPolicy() {
return mReader->mPolicy.get();
}
InputListenerInterface* InputReader::ContextImpl::getListener() {
return mReader->mQueuedListener.get();
}
EventHubInterface* InputReader::ContextImpl::getEventHub() {
return mReader->mEventHub.get();
}
// --- InputReaderThread ---
InputReaderThread::InputReaderThread(const sp<InputReaderInterface>& reader) :
Thread(/*canCallJava*/ true), mReader(reader) {
}
InputReaderThread::~InputReaderThread() {
}
bool InputReaderThread::threadLoop() {
mReader->loopOnce();
return true;
}
// --- InputDevice ---
InputDevice::InputDevice(InputReaderContext* context, int32_t id, int32_t generation,
int32_t controllerNumber, const InputDeviceIdentifier& identifier, uint32_t classes) :
mContext(context), mId(id), mGeneration(generation), mControllerNumber(controllerNumber),
mIdentifier(identifier), mClasses(classes),
mSources(0), mIsExternal(false), mDropUntilNextSync(false) {
}
InputDevice::~InputDevice() {
size_t numMappers = mMappers.size();
for (size_t i = 0; i < numMappers; i++) {
delete mMappers[i];
}
mMappers.clear();
}
void InputDevice::dump(String8& dump) {
InputDeviceInfo deviceInfo;
getDeviceInfo(& deviceInfo);
dump.appendFormat(INDENT "Device %d: %s\n", deviceInfo.getId(),
deviceInfo.getDisplayName().string());
dump.appendFormat(INDENT2 "Generation: %d\n", mGeneration);
dump.appendFormat(INDENT2 "IsExternal: %s\n", toString(mIsExternal));
dump.appendFormat(INDENT2 "Sources: 0x%08x\n", deviceInfo.getSources());
dump.appendFormat(INDENT2 "KeyboardType: %d\n", deviceInfo.getKeyboardType());
const Vector<InputDeviceInfo::MotionRange>& ranges = deviceInfo.getMotionRanges();
if (!ranges.isEmpty()) {
dump.append(INDENT2 "Motion Ranges:\n");
for (size_t i = 0; i < ranges.size(); i++) {
const InputDeviceInfo::MotionRange& range = ranges.itemAt(i);
const char* label = getAxisLabel(range.axis);
char name[32];
if (label) {
strncpy(name, label, sizeof(name));
name[sizeof(name) - 1] = '\0';
} else {
snprintf(name, sizeof(name), "%d", range.axis);
}
dump.appendFormat(INDENT3 "%s: source=0x%08x, "
"min=%0.3f, max=%0.3f, flat=%0.3f, fuzz=%0.3f, resolution=%0.3f\n",
name, range.source, range.min, range.max, range.flat, range.fuzz,
range.resolution);
}
}
size_t numMappers = mMappers.size();
for (size_t i = 0; i < numMappers; i++) {
InputMapper* mapper = mMappers[i];
mapper->dump(dump);
}
}
void InputDevice::addMapper(InputMapper* mapper) {
mMappers.add(mapper);
}
void InputDevice::configure(nsecs_t when, const InputReaderConfiguration* config, uint32_t changes) {
mSources = 0;
if (!isIgnored()) {
if (!changes) { // first time only
mContext->getEventHub()->getConfiguration(mId, &mConfiguration);
}
if (!changes || (changes & InputReaderConfiguration::CHANGE_KEYBOARD_LAYOUTS)) {
if (!(mClasses & INPUT_DEVICE_CLASS_VIRTUAL)) {
sp<KeyCharacterMap> keyboardLayout =
mContext->getPolicy()->getKeyboardLayoutOverlay(mIdentifier.descriptor);
if (mContext->getEventHub()->setKeyboardLayoutOverlay(mId, keyboardLayout)) {
bumpGeneration();
}
}
}
if (!changes || (changes & InputReaderConfiguration::CHANGE_DEVICE_ALIAS)) {
if (!(mClasses & INPUT_DEVICE_CLASS_VIRTUAL)) {
String8 alias = mContext->getPolicy()->getDeviceAlias(mIdentifier);
if (mAlias != alias) {
mAlias = alias;
bumpGeneration();
}
}
}
size_t numMappers = mMappers.size();
for (size_t i = 0; i < numMappers; i++) {
InputMapper* mapper = mMappers[i];
mapper->configure(when, config, changes);
mSources |= mapper->getSources();
}
}
}
void InputDevice::reset(nsecs_t when) {
size_t numMappers = mMappers.size();
for (size_t i = 0; i < numMappers; i++) {
InputMapper* mapper = mMappers[i];
mapper->reset(when);
}
mContext->updateGlobalMetaState();
notifyReset(when);
}
void InputDevice::process(const RawEvent* rawEvents, size_t count) {
// Process all of the events in order for each mapper.
// We cannot simply ask each mapper to process them in bulk because mappers may
// have side-effects that must be interleaved. For example, joystick movement events and
// gamepad button presses are handled by different mappers but they should be dispatched
// in the order received.
size_t numMappers = mMappers.size();
for (const RawEvent* rawEvent = rawEvents; count--; rawEvent++) {
#if DEBUG_RAW_EVENTS
ALOGD("Input event: device=%d type=0x%04x code=0x%04x value=0x%08x when=%lld",
rawEvent->deviceId, rawEvent->type, rawEvent->code, rawEvent->value,
rawEvent->when);
#endif
if (mDropUntilNextSync) {
if (rawEvent->type == EV_SYN && rawEvent->code == SYN_REPORT) {
mDropUntilNextSync = false;
#if DEBUG_RAW_EVENTS
ALOGD("Recovered from input event buffer overrun.");
#endif
} else {
#if DEBUG_RAW_EVENTS
ALOGD("Dropped input event while waiting for next input sync.");
#endif
}
} else if (rawEvent->type == EV_SYN && rawEvent->code == SYN_DROPPED) {
ALOGI("Detected input event buffer overrun for device %s.", getName().string());
mDropUntilNextSync = true;
reset(rawEvent->when);
} else {
for (size_t i = 0; i < numMappers; i++) {
InputMapper* mapper = mMappers[i];
mapper->process(rawEvent);
}
}
}
}
void InputDevice::timeoutExpired(nsecs_t when) {
size_t numMappers = mMappers.size();
for (size_t i = 0; i < numMappers; i++) {
InputMapper* mapper = mMappers[i];
mapper->timeoutExpired(when);
}
}
void InputDevice::getDeviceInfo(InputDeviceInfo* outDeviceInfo) {
outDeviceInfo->initialize(mId, mGeneration, mControllerNumber, mIdentifier, mAlias,
mIsExternal);
size_t numMappers = mMappers.size();
for (size_t i = 0; i < numMappers; i++) {
InputMapper* mapper = mMappers[i];
mapper->populateDeviceInfo(outDeviceInfo);
}
}
int32_t InputDevice::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) {
return getState(sourceMask, keyCode, & InputMapper::getKeyCodeState);
}
int32_t InputDevice::getScanCodeState(uint32_t sourceMask, int32_t scanCode) {
return getState(sourceMask, scanCode, & InputMapper::getScanCodeState);
}
int32_t InputDevice::getSwitchState(uint32_t sourceMask, int32_t switchCode) {
return getState(sourceMask, switchCode, & InputMapper::getSwitchState);
}
int32_t InputDevice::getState(uint32_t sourceMask, int32_t code, GetStateFunc getStateFunc) {
int32_t result = AKEY_STATE_UNKNOWN;
size_t numMappers = mMappers.size();
for (size_t i = 0; i < numMappers; i++) {
InputMapper* mapper = mMappers[i];
if (sourcesMatchMask(mapper->getSources(), sourceMask)) {
// If any mapper reports AKEY_STATE_DOWN or AKEY_STATE_VIRTUAL, return that
// value. Otherwise, return AKEY_STATE_UP as long as one mapper reports it.
int32_t currentResult = (mapper->*getStateFunc)(sourceMask, code);
if (currentResult >= AKEY_STATE_DOWN) {
return currentResult;
} else if (currentResult == AKEY_STATE_UP) {
result = currentResult;
}
}
}
return result;
}
bool InputDevice::markSupportedKeyCodes(uint32_t sourceMask, size_t numCodes,
const int32_t* keyCodes, uint8_t* outFlags) {
bool result = false;
size_t numMappers = mMappers.size();
for (size_t i = 0; i < numMappers; i++) {
InputMapper* mapper = mMappers[i];
if (sourcesMatchMask(mapper->getSources(), sourceMask)) {
result |= mapper->markSupportedKeyCodes(sourceMask, numCodes, keyCodes, outFlags);
}
}
return result;
}
void InputDevice::vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat,
int32_t token) {
size_t numMappers = mMappers.size();
for (size_t i = 0; i < numMappers; i++) {
InputMapper* mapper = mMappers[i];
mapper->vibrate(pattern, patternSize, repeat, token);
}
}
void InputDevice::cancelVibrate(int32_t token) {
size_t numMappers = mMappers.size();
for (size_t i = 0; i < numMappers; i++) {
InputMapper* mapper = mMappers[i];
mapper->cancelVibrate(token);
}
}
int32_t InputDevice::getMetaState() {
int32_t result = 0;
size_t numMappers = mMappers.size();
for (size_t i = 0; i < numMappers; i++) {
InputMapper* mapper = mMappers[i];
result |= mapper->getMetaState();
}
return result;
}
void InputDevice::fadePointer() {
size_t numMappers = mMappers.size();
for (size_t i = 0; i < numMappers; i++) {
InputMapper* mapper = mMappers[i];
mapper->fadePointer();
}
}
void InputDevice::bumpGeneration() {
mGeneration = mContext->bumpGeneration();
}
void InputDevice::notifyReset(nsecs_t when) {
NotifyDeviceResetArgs args(when, mId);
mContext->getListener()->notifyDeviceReset(&args);
}
void InputDevice::setTvOutStatus(bool enabled){
size_t numMappers = mMappers.size();
for (size_t i = 0; i < numMappers; i++) {
InputMapper* mapper = mMappers[i];
mapper->setTvOutStatus(enabled);
}
}
// --- CursorButtonAccumulator ---
CursorButtonAccumulator::CursorButtonAccumulator() {
clearButtons();
}
void CursorButtonAccumulator::reset(InputDevice* device) {
mBtnLeft = device->isKeyPressed(BTN_LEFT);
mBtnRight = device->isKeyPressed(BTN_RIGHT);
mBtnMiddle = device->isKeyPressed(BTN_MIDDLE);
mBtnBack = device->isKeyPressed(BTN_BACK);
mBtnSide = device->isKeyPressed(BTN_SIDE);
mBtnForward = device->isKeyPressed(BTN_FORWARD);
mBtnExtra = device->isKeyPressed(BTN_EXTRA);
mBtnTask = device->isKeyPressed(BTN_TASK);
}
void CursorButtonAccumulator::clearButtons() {
mBtnLeft = 0;
mBtnRight = 0;
mBtnMiddle = 0;
mBtnBack = 0;
mBtnSide = 0;
mBtnForward = 0;
mBtnExtra = 0;
mBtnTask = 0;
}
void CursorButtonAccumulator::process(const RawEvent* rawEvent) {
if (rawEvent->type == EV_KEY) {
switch (rawEvent->code) {
case BTN_LEFT:
mBtnLeft = rawEvent->value;
break;
case BTN_RIGHT:
mBtnRight = rawEvent->value;
break;
case BTN_MIDDLE:
mBtnMiddle = rawEvent->value;
break;
case BTN_BACK:
mBtnBack = rawEvent->value;
break;
case BTN_SIDE:
mBtnSide = rawEvent->value;
break;
case BTN_FORWARD:
mBtnForward = rawEvent->value;
break;
case BTN_EXTRA:
mBtnExtra = rawEvent->value;
break;
case BTN_TASK:
mBtnTask = rawEvent->value;
break;
}
}
}
uint32_t CursorButtonAccumulator::getButtonState() const {
uint32_t result = 0;
if (mBtnLeft) {
result |= AMOTION_EVENT_BUTTON_PRIMARY;
}
if (mBtnRight) {
//result |= AMOTION_EVENT_BUTTON_SECONDARY;
result |= AMOTION_EVENT_BUTTON_BACK;
}
if (mBtnMiddle) {
result |= AMOTION_EVENT_BUTTON_TERTIARY;
}
if (mBtnBack || mBtnSide) {
result |= AMOTION_EVENT_BUTTON_BACK;
}
if (mBtnForward || mBtnExtra) {
result |= AMOTION_EVENT_BUTTON_FORWARD;
}
return result;
}
// --- CursorMotionAccumulator ---
CursorMotionAccumulator::CursorMotionAccumulator() {
clearRelativeAxes();
}
void CursorMotionAccumulator::reset(InputDevice* device) {
clearRelativeAxes();
}
void CursorMotionAccumulator::clearRelativeAxes() {
mRelX = 0;
mRelY = 0;
}
void CursorMotionAccumulator::process(const RawEvent* rawEvent) {
if (rawEvent->type == EV_REL) {
switch (rawEvent->code) {
case REL_X:
mRelX = rawEvent->value;
break;
case REL_Y:
mRelY = rawEvent->value;
break;
}
}
}
void CursorMotionAccumulator::finishSync() {
clearRelativeAxes();
}
// --- CursorScrollAccumulator ---
CursorScrollAccumulator::CursorScrollAccumulator() :
mHaveRelWheel(false), mHaveRelHWheel(false) {
clearRelativeAxes();
}
void CursorScrollAccumulator::configure(InputDevice* device) {
mHaveRelWheel = device->getEventHub()->hasRelativeAxis(device->getId(), REL_WHEEL);
mHaveRelHWheel = device->getEventHub()->hasRelativeAxis(device->getId(), REL_HWHEEL);
}
void CursorScrollAccumulator::reset(InputDevice* device) {
clearRelativeAxes();
}
void CursorScrollAccumulator::clearRelativeAxes() {
mRelWheel = 0;
mRelHWheel = 0;
}
void CursorScrollAccumulator::process(const RawEvent* rawEvent) {
if (rawEvent->type == EV_REL) {
switch (rawEvent->code) {
case REL_WHEEL:
mRelWheel = rawEvent->value;
break;
case REL_HWHEEL:
mRelHWheel = rawEvent->value;
break;
}
}
}
void CursorScrollAccumulator::finishSync() {
clearRelativeAxes();
}
// --- TouchButtonAccumulator ---
TouchButtonAccumulator::TouchButtonAccumulator() :
mHaveBtnTouch(false), mHaveStylus(false) {
clearButtons();
}
void TouchButtonAccumulator::configure(InputDevice* device) {
mHaveBtnTouch = device->hasKey(BTN_TOUCH);
mHaveStylus = device->hasKey(BTN_TOOL_PEN)
|| device->hasKey(BTN_TOOL_RUBBER)
|| device->hasKey(BTN_TOOL_BRUSH)
|| device->hasKey(BTN_TOOL_PENCIL)
|| device->hasKey(BTN_TOOL_AIRBRUSH);
}
void TouchButtonAccumulator::reset(InputDevice* device) {
mBtnTouch = device->isKeyPressed(BTN_TOUCH);
mBtnStylus = device->isKeyPressed(BTN_STYLUS);
mBtnStylus2 = device->isKeyPressed(BTN_STYLUS);
mBtnToolFinger = device->isKeyPressed(BTN_TOOL_FINGER);
mBtnToolPen = device->isKeyPressed(BTN_TOOL_PEN);
mBtnToolRubber = device->isKeyPressed(BTN_TOOL_RUBBER);
mBtnToolBrush = device->isKeyPressed(BTN_TOOL_BRUSH);
mBtnToolPencil = device->isKeyPressed(BTN_TOOL_PENCIL);
mBtnToolAirbrush = device->isKeyPressed(BTN_TOOL_AIRBRUSH);
mBtnToolMouse = device->isKeyPressed(BTN_TOOL_MOUSE);
mBtnToolLens = device->isKeyPressed(BTN_TOOL_LENS);
mBtnToolDoubleTap = device->isKeyPressed(BTN_TOOL_DOUBLETAP);
mBtnToolTripleTap = device->isKeyPressed(BTN_TOOL_TRIPLETAP);
mBtnToolQuadTap = device->isKeyPressed(BTN_TOOL_QUADTAP);
}
void TouchButtonAccumulator::clearButtons() {
mBtnTouch = 0;
mBtnStylus = 0;
mBtnStylus2 = 0;
mBtnToolFinger = 0;
mBtnToolPen = 0;
mBtnToolRubber = 0;
mBtnToolBrush = 0;
mBtnToolPencil = 0;
mBtnToolAirbrush = 0;
mBtnToolMouse = 0;
mBtnToolLens = 0;
mBtnToolDoubleTap = 0;
mBtnToolTripleTap = 0;
mBtnToolQuadTap = 0;
}
void TouchButtonAccumulator::process(const RawEvent* rawEvent) {
if (rawEvent->type == EV_KEY) {
switch (rawEvent->code) {
case BTN_TOUCH:
mBtnTouch = rawEvent->value;
break;
case BTN_STYLUS:
mBtnStylus = rawEvent->value;
break;
case BTN_STYLUS2:
mBtnStylus2 = rawEvent->value;
break;
case BTN_TOOL_FINGER:
mBtnToolFinger = rawEvent->value;
break;
case BTN_TOOL_PEN:
mBtnToolPen = rawEvent->value;
break;
case BTN_TOOL_RUBBER:
mBtnToolRubber = rawEvent->value;
break;
case BTN_TOOL_BRUSH:
mBtnToolBrush = rawEvent->value;
break;
case BTN_TOOL_PENCIL:
mBtnToolPencil = rawEvent->value;
break;
case BTN_TOOL_AIRBRUSH:
mBtnToolAirbrush = rawEvent->value;
break;
case BTN_TOOL_MOUSE:
mBtnToolMouse = rawEvent->value;
break;
case BTN_TOOL_LENS:
mBtnToolLens = rawEvent->value;
break;
case BTN_TOOL_DOUBLETAP:
mBtnToolDoubleTap = rawEvent->value;
break;
case BTN_TOOL_TRIPLETAP:
mBtnToolTripleTap = rawEvent->value;
break;
case BTN_TOOL_QUADTAP:
mBtnToolQuadTap = rawEvent->value;
break;
}
}
}
uint32_t TouchButtonAccumulator::getButtonState() const {
uint32_t result = 0;
if (mBtnStylus) {
result |= AMOTION_EVENT_BUTTON_SECONDARY;
}
if (mBtnStylus2) {
result |= AMOTION_EVENT_BUTTON_TERTIARY;
}
return result;
}
int32_t TouchButtonAccumulator::getToolType() const {
if (mBtnToolMouse || mBtnToolLens) {
return AMOTION_EVENT_TOOL_TYPE_MOUSE;
}
if (mBtnToolRubber) {
return AMOTION_EVENT_TOOL_TYPE_ERASER;
}
if (mBtnToolPen || mBtnToolBrush || mBtnToolPencil || mBtnToolAirbrush) {
return AMOTION_EVENT_TOOL_TYPE_STYLUS;
}
if (mBtnToolFinger || mBtnToolDoubleTap || mBtnToolTripleTap || mBtnToolQuadTap) {
return AMOTION_EVENT_TOOL_TYPE_FINGER;
}
return AMOTION_EVENT_TOOL_TYPE_UNKNOWN;
}
bool TouchButtonAccumulator::isToolActive() const {
return mBtnTouch || mBtnToolFinger || mBtnToolPen || mBtnToolRubber
|| mBtnToolBrush || mBtnToolPencil || mBtnToolAirbrush
|| mBtnToolMouse || mBtnToolLens
|| mBtnToolDoubleTap || mBtnToolTripleTap || mBtnToolQuadTap;
}
bool TouchButtonAccumulator::isHovering() const {
return mHaveBtnTouch && !mBtnTouch;
}
bool TouchButtonAccumulator::hasStylus() const {
return mHaveStylus;
}
// --- RawPointerAxes ---
RawPointerAxes::RawPointerAxes() {
clear();
}
void RawPointerAxes::clear() {
x.clear();
y.clear();
pressure.clear();
touchMajor.clear();
touchMinor.clear();
toolMajor.clear();
toolMinor.clear();
orientation.clear();
distance.clear();
tiltX.clear();
tiltY.clear();
trackingId.clear();
slot.clear();
}
// --- RawPointerData ---
RawPointerData::RawPointerData() {
clear();
}
void RawPointerData::clear() {
pointerCount = 0;
clearIdBits();
}
void RawPointerData::copyFrom(const RawPointerData& other) {
pointerCount = other.pointerCount;
hoveringIdBits = other.hoveringIdBits;
touchingIdBits = other.touchingIdBits;
for (uint32_t i = 0; i < pointerCount; i++) {
pointers[i] = other.pointers[i];
int id = pointers[i].id;
idToIndex[id] = other.idToIndex[id];
}
}
void RawPointerData::getCentroidOfTouchingPointers(float* outX, float* outY) const {
float x = 0, y = 0;
uint32_t count = touchingIdBits.count();
if (count) {
for (BitSet32 idBits(touchingIdBits); !idBits.isEmpty(); ) {
uint32_t id = idBits.clearFirstMarkedBit();
const Pointer& pointer = pointerForId(id);
x += pointer.x;
y += pointer.y;
}
x /= count;
y /= count;
}
*outX = x;
*outY = y;
}
// --- CookedPointerData ---
CookedPointerData::CookedPointerData() {
clear();
}
void CookedPointerData::clear() {
pointerCount = 0;
hoveringIdBits.clear();
touchingIdBits.clear();
}
void CookedPointerData::copyFrom(const CookedPointerData& other) {
pointerCount = other.pointerCount;
hoveringIdBits = other.hoveringIdBits;
touchingIdBits = other.touchingIdBits;
for (uint32_t i = 0; i < pointerCount; i++) {
pointerProperties[i].copyFrom(other.pointerProperties[i]);
pointerCoords[i].copyFrom(other.pointerCoords[i]);
int id = pointerProperties[i].id;
idToIndex[id] = other.idToIndex[id];
}
}
// --- SingleTouchMotionAccumulator ---
SingleTouchMotionAccumulator::SingleTouchMotionAccumulator() {
clearAbsoluteAxes();
}
void SingleTouchMotionAccumulator::reset(InputDevice* device) {
mAbsX = device->getAbsoluteAxisValue(ABS_X);
mAbsY = device->getAbsoluteAxisValue(ABS_Y);
mAbsPressure = device->getAbsoluteAxisValue(ABS_PRESSURE);
mAbsToolWidth = device->getAbsoluteAxisValue(ABS_TOOL_WIDTH);
mAbsDistance = device->getAbsoluteAxisValue(ABS_DISTANCE);
mAbsTiltX = device->getAbsoluteAxisValue(ABS_TILT_X);
mAbsTiltY = device->getAbsoluteAxisValue(ABS_TILT_Y);
}
void SingleTouchMotionAccumulator::clearAbsoluteAxes() {
mAbsX = 0;
mAbsY = 0;
mAbsPressure = 0;
mAbsToolWidth = 0;
mAbsDistance = 0;
mAbsTiltX = 0;
mAbsTiltY = 0;
}
void SingleTouchMotionAccumulator::process(const RawEvent* rawEvent) {
if (rawEvent->type == EV_ABS) {
switch (rawEvent->code) {
case ABS_X:
mAbsX = rawEvent->value;
break;
case ABS_Y:
mAbsY = rawEvent->value;
break;
case ABS_PRESSURE:
mAbsPressure = rawEvent->value;
break;
case ABS_TOOL_WIDTH:
mAbsToolWidth = rawEvent->value;
break;
case ABS_DISTANCE:
mAbsDistance = rawEvent->value;
break;
case ABS_TILT_X:
mAbsTiltX = rawEvent->value;
break;
case ABS_TILT_Y:
mAbsTiltY = rawEvent->value;
break;
}
}
}
// --- MultiTouchMotionAccumulator ---
MultiTouchMotionAccumulator::MultiTouchMotionAccumulator() :
mCurrentSlot(-1), mSlots(NULL), mSlotCount(0), mUsingSlotsProtocol(false),
mHaveStylus(false) {
}
MultiTouchMotionAccumulator::~MultiTouchMotionAccumulator() {
delete[] mSlots;
}
void MultiTouchMotionAccumulator::configure(InputDevice* device,
size_t slotCount, bool usingSlotsProtocol) {
mSlotCount = slotCount;
mUsingSlotsProtocol = usingSlotsProtocol;
mHaveStylus = device->hasAbsoluteAxis(ABS_MT_TOOL_TYPE);
delete[] mSlots;
mSlots = new Slot[slotCount];
}
void MultiTouchMotionAccumulator::reset(InputDevice* device) {
// Unfortunately there is no way to read the initial contents of the slots.
// So when we reset the accumulator, we must assume they are all zeroes.
if (mUsingSlotsProtocol) {
// Query the driver for the current slot index and use it as the initial slot
// before we start reading events from the device. It is possible that the
// current slot index will not be the same as it was when the first event was
// written into the evdev buffer, which means the input mapper could start
// out of sync with the initial state of the events in the evdev buffer.
// In the extremely unlikely case that this happens, the data from
// two slots will be confused until the next ABS_MT_SLOT event is received.
// This can cause the touch point to "jump", but at least there will be
// no stuck touches.
int32_t initialSlot;
status_t status = device->getEventHub()->getAbsoluteAxisValue(device->getId(),
ABS_MT_SLOT, &initialSlot);
if (status) {
ALOGD("Could not retrieve current multitouch slot index. status=%d", status);
initialSlot = -1;
}
clearSlots(initialSlot);
} else {
clearSlots(-1);
}
}
void MultiTouchMotionAccumulator::clearSlots(int32_t initialSlot) {
if (mSlots) {
for (size_t i = 0; i < mSlotCount; i++) {
mSlots[i].clear();
}
}
mCurrentSlot = initialSlot;
}
void MultiTouchMotionAccumulator::process(const RawEvent* rawEvent) {
if (rawEvent->type == EV_ABS) {
bool newSlot = false;
if (mUsingSlotsProtocol) {
if (rawEvent->code == ABS_MT_SLOT) {
mCurrentSlot = rawEvent->value;
newSlot = true;
}
} else if (mCurrentSlot < 0) {
mCurrentSlot = 0;
}
if (mCurrentSlot < 0 || size_t(mCurrentSlot) >= mSlotCount) {
#if DEBUG_POINTERS
if (newSlot) {
ALOGW("MultiTouch device emitted invalid slot index %d but it "
"should be between 0 and %d; ignoring this slot.",
mCurrentSlot, mSlotCount - 1);
}
#endif
} else {
Slot* slot = &mSlots[mCurrentSlot];
switch (rawEvent->code) {
case ABS_MT_POSITION_X:
slot->mInUse = true;
slot->mAbsMTPositionX = rawEvent->value;
break;
case ABS_MT_POSITION_Y:
slot->mInUse = true;
slot->mAbsMTPositionY = rawEvent->value;
break;
case ABS_MT_TOUCH_MAJOR:
slot->mInUse = true;
slot->mAbsMTTouchMajor = rawEvent->value;
break;
case ABS_MT_TOUCH_MINOR:
slot->mInUse = true;
slot->mAbsMTTouchMinor = rawEvent->value;
slot->mHaveAbsMTTouchMinor = true;
break;
case ABS_MT_WIDTH_MAJOR:
slot->mInUse = true;
slot->mAbsMTWidthMajor = rawEvent->value;
break;
case ABS_MT_WIDTH_MINOR:
slot->mInUse = true;
slot->mAbsMTWidthMinor = rawEvent->value;
slot->mHaveAbsMTWidthMinor = true;
break;
case ABS_MT_ORIENTATION:
slot->mInUse = true;
slot->mAbsMTOrientation = rawEvent->value;
break;
case ABS_MT_TRACKING_ID:
if (mUsingSlotsProtocol && rawEvent->value < 0) {
// The slot is no longer in use but it retains its previous contents,
// which may be reused for subsequent touches.
slot->mInUse = false;
} else {
slot->mInUse = true;
slot->mAbsMTTrackingId = rawEvent->value;
}
break;
case ABS_MT_PRESSURE:
slot->mInUse = true;
slot->mAbsMTPressure = rawEvent->value;
break;
case ABS_MT_DISTANCE:
slot->mInUse = true;
slot->mAbsMTDistance = rawEvent->value;
break;
case ABS_MT_TOOL_TYPE:
slot->mInUse = true;
slot->mAbsMTToolType = rawEvent->value;
slot->mHaveAbsMTToolType = true;
break;
}
}
} else if (rawEvent->type == EV_SYN && rawEvent->code == SYN_MT_REPORT) {
// MultiTouch Sync: The driver has returned all data for *one* of the pointers.
mCurrentSlot += 1;
}
}
void MultiTouchMotionAccumulator::finishSync() {
if (!mUsingSlotsProtocol) {
clearSlots(-1);
}
}
bool MultiTouchMotionAccumulator::hasStylus() const {
return mHaveStylus;
}
// --- MultiTouchMotionAccumulator::Slot ---
MultiTouchMotionAccumulator::Slot::Slot() {
clear();
}
void MultiTouchMotionAccumulator::Slot::clear() {
mInUse = false;
mHaveAbsMTTouchMinor = false;
mHaveAbsMTWidthMinor = false;
mHaveAbsMTToolType = false;
mAbsMTPositionX = 0;
mAbsMTPositionY = 0;
mAbsMTTouchMajor = 0;
mAbsMTTouchMinor = 0;
mAbsMTWidthMajor = 0;
mAbsMTWidthMinor = 0;
mAbsMTOrientation = 0;
mAbsMTTrackingId = -1;
mAbsMTPressure = 0;
mAbsMTDistance = 0;
mAbsMTToolType = 0;
}
int32_t MultiTouchMotionAccumulator::Slot::getToolType() const {
if (mHaveAbsMTToolType) {
switch (mAbsMTToolType) {
case MT_TOOL_FINGER:
return AMOTION_EVENT_TOOL_TYPE_FINGER;
case MT_TOOL_PEN:
return AMOTION_EVENT_TOOL_TYPE_STYLUS;
}
}
return AMOTION_EVENT_TOOL_TYPE_UNKNOWN;
}
// --- InputMapper ---
InputMapper::InputMapper(InputDevice* device) :
mDevice(device), mContext(device->getContext()) {
}
InputMapper::~InputMapper() {
}
void InputMapper::populateDeviceInfo(InputDeviceInfo* info) {
info->addSource(getSources());
}
void InputMapper::dump(String8& dump) {
}
void InputMapper::configure(nsecs_t when,
const InputReaderConfiguration* config, uint32_t changes) {
}
void InputMapper::reset(nsecs_t when) {
}
void InputMapper::timeoutExpired(nsecs_t when) {
}
int32_t InputMapper::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) {
return AKEY_STATE_UNKNOWN;
}
int32_t InputMapper::getScanCodeState(uint32_t sourceMask, int32_t scanCode) {
return AKEY_STATE_UNKNOWN;
}
int32_t InputMapper::getSwitchState(uint32_t sourceMask, int32_t switchCode) {
return AKEY_STATE_UNKNOWN;
}
bool InputMapper::markSupportedKeyCodes(uint32_t sourceMask, size_t numCodes,
const int32_t* keyCodes, uint8_t* outFlags) {
return false;
}
void InputMapper::vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat,
int32_t token) {
}
void InputMapper::cancelVibrate(int32_t token) {
}
int32_t InputMapper::getMetaState() {
return 0;
}
void InputMapper::fadePointer() {
}
void InputMapper::setTvOutStatus(bool enabled){
}
status_t InputMapper::getAbsoluteAxisInfo(int32_t axis, RawAbsoluteAxisInfo* axisInfo) {
return getEventHub()->getAbsoluteAxisInfo(getDeviceId(), axis, axisInfo);
}
void InputMapper::bumpGeneration() {
mDevice->bumpGeneration();
}
void InputMapper::dumpRawAbsoluteAxisInfo(String8& dump,
const RawAbsoluteAxisInfo& axis, const char* name) {
if (axis.valid) {
dump.appendFormat(INDENT4 "%s: min=%d, max=%d, flat=%d, fuzz=%d, resolution=%d\n",
name, axis.minValue, axis.maxValue, axis.flat, axis.fuzz, axis.resolution);
} else {
dump.appendFormat(INDENT4 "%s: unknown range\n", name);
}
}
// --- SwitchInputMapper ---
SwitchInputMapper::SwitchInputMapper(InputDevice* device) :
InputMapper(device), mUpdatedSwitchValues(0), mUpdatedSwitchMask(0) {
}
SwitchInputMapper::~SwitchInputMapper() {
}
uint32_t SwitchInputMapper::getSources() {
return AINPUT_SOURCE_SWITCH;
}
void SwitchInputMapper::process(const RawEvent* rawEvent) {
switch (rawEvent->type) {
case EV_SW:
processSwitch(rawEvent->code, rawEvent->value);
break;
case EV_SYN:
if (rawEvent->code == SYN_REPORT) {
sync(rawEvent->when);
}
}
}
void SwitchInputMapper::processSwitch(int32_t switchCode, int32_t switchValue) {
if (switchCode >= 0 && switchCode < 32) {
if (switchValue) {
mUpdatedSwitchValues |= 1 << switchCode;
}
mUpdatedSwitchMask |= 1 << switchCode;
}
}
void SwitchInputMapper::sync(nsecs_t when) {
if (mUpdatedSwitchMask) {
NotifySwitchArgs args(when, 0, mUpdatedSwitchValues, mUpdatedSwitchMask);
getListener()->notifySwitch(&args);
mUpdatedSwitchValues = 0;
mUpdatedSwitchMask = 0;
}
}
int32_t SwitchInputMapper::getSwitchState(uint32_t sourceMask, int32_t switchCode) {
return getEventHub()->getSwitchState(getDeviceId(), switchCode);
}
// --- VibratorInputMapper ---
VibratorInputMapper::VibratorInputMapper(InputDevice* device) :
InputMapper(device), mVibrating(false) {
}
VibratorInputMapper::~VibratorInputMapper() {
}
uint32_t VibratorInputMapper::getSources() {
return 0;
}
void VibratorInputMapper::populateDeviceInfo(InputDeviceInfo* info) {
InputMapper::populateDeviceInfo(info);
info->setVibrator(true);
}
void VibratorInputMapper::process(const RawEvent* rawEvent) {
// TODO: Handle FF_STATUS, although it does not seem to be widely supported.
}
void VibratorInputMapper::vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat,
int32_t token) {
#if DEBUG_VIBRATOR
String8 patternStr;
for (size_t i = 0; i < patternSize; i++) {
if (i != 0) {
patternStr.append(", ");
}
patternStr.appendFormat("%lld", pattern[i]);
}
ALOGD("vibrate: deviceId=%d, pattern=[%s], repeat=%ld, token=%d",
getDeviceId(), patternStr.string(), repeat, token);
#endif
mVibrating = true;
memcpy(mPattern, pattern, patternSize * sizeof(nsecs_t));
mPatternSize = patternSize;
mRepeat = repeat;
mToken = token;
mIndex = -1;
nextStep();
}
void VibratorInputMapper::cancelVibrate(int32_t token) {
#if DEBUG_VIBRATOR
ALOGD("cancelVibrate: deviceId=%d, token=%d", getDeviceId(), token);
#endif
if (mVibrating && mToken == token) {
stopVibrating();
}
}
void VibratorInputMapper::timeoutExpired(nsecs_t when) {
if (mVibrating) {
if (when >= mNextStepTime) {
nextStep();
} else {
getContext()->requestTimeoutAtTime(mNextStepTime);
}
}
}
void VibratorInputMapper::nextStep() {
mIndex += 1;
if (size_t(mIndex) >= mPatternSize) {
if (mRepeat < 0) {
// We are done.
stopVibrating();
return;
}
mIndex = mRepeat;
}
bool vibratorOn = mIndex & 1;
nsecs_t duration = mPattern[mIndex];
if (vibratorOn) {
#if DEBUG_VIBRATOR
ALOGD("nextStep: sending vibrate deviceId=%d, duration=%lld",
getDeviceId(), duration);
#endif
getEventHub()->vibrate(getDeviceId(), duration);
} else {
#if DEBUG_VIBRATOR
ALOGD("nextStep: sending cancel vibrate deviceId=%d", getDeviceId());
#endif
getEventHub()->cancelVibrate(getDeviceId());
}
nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC);
mNextStepTime = now + duration;
getContext()->requestTimeoutAtTime(mNextStepTime);
#if DEBUG_VIBRATOR
ALOGD("nextStep: scheduled timeout in %0.3fms", duration * 0.000001f);
#endif
}
void VibratorInputMapper::stopVibrating() {
mVibrating = false;
#if DEBUG_VIBRATOR
ALOGD("stopVibrating: sending cancel vibrate deviceId=%d", getDeviceId());
#endif
getEventHub()->cancelVibrate(getDeviceId());
}
void VibratorInputMapper::dump(String8& dump) {
dump.append(INDENT2 "Vibrator Input Mapper:\n");
dump.appendFormat(INDENT3 "Vibrating: %s\n", toString(mVibrating));
}
// --- KeyboardInputMapper ---
KeyboardInputMapper::KeyboardInputMapper(InputDevice* device,
uint32_t source, int32_t keyboardType) :
InputMapper(device), mSource(source),
mKeyboardType(keyboardType) {
}
KeyboardInputMapper::~KeyboardInputMapper() {
}
uint32_t KeyboardInputMapper::getSources() {
return mSource;
}
void KeyboardInputMapper::populateDeviceInfo(InputDeviceInfo* info) {
InputMapper::populateDeviceInfo(info);
info->setKeyboardType(mKeyboardType);
info->setKeyCharacterMap(getEventHub()->getKeyCharacterMap(getDeviceId()));
}
void KeyboardInputMapper::dump(String8& dump) {
dump.append(INDENT2 "Keyboard Input Mapper:\n");
dumpParameters(dump);
dump.appendFormat(INDENT3 "KeyboardType: %d\n", mKeyboardType);
dump.appendFormat(INDENT3 "Orientation: %d\n", mOrientation);
dump.appendFormat(INDENT3 "KeyDowns: %d keys currently down\n", mKeyDowns.size());
dump.appendFormat(INDENT3 "MetaState: 0x%0x\n", mMetaState);
dump.appendFormat(INDENT3 "DownTime: %lld\n", mDownTime);
}
void KeyboardInputMapper::configure(nsecs_t when,
const InputReaderConfiguration* config, uint32_t changes) {
InputMapper::configure(when, config, changes);
if (!changes) { // first time only
// Configure basic parameters.
configureParameters();
}
if (!changes || (changes & InputReaderConfiguration::CHANGE_DISPLAY_INFO)) {
if (mParameters.orientationAware && mParameters.hasAssociatedDisplay) {
DisplayViewport v;
if (config->getDisplayInfo(false /*external*/, &v)) {
mOrientation = v.orientation;
} else {
mOrientation = DISPLAY_ORIENTATION_0;
}
} else {
mOrientation = DISPLAY_ORIENTATION_0;
}
}
}
void KeyboardInputMapper::configureParameters() {
mParameters.orientationAware = false;
getDevice()->getConfiguration().tryGetProperty(String8("keyboard.orientationAware"),
mParameters.orientationAware);
mParameters.hasAssociatedDisplay = false;
if (mParameters.orientationAware) {
mParameters.hasAssociatedDisplay = true;
}
}
void KeyboardInputMapper::dumpParameters(String8& dump) {
dump.append(INDENT3 "Parameters:\n");
dump.appendFormat(INDENT4 "HasAssociatedDisplay: %s\n",
toString(mParameters.hasAssociatedDisplay));
dump.appendFormat(INDENT4 "OrientationAware: %s\n",
toString(mParameters.orientationAware));
}
void KeyboardInputMapper::reset(nsecs_t when) {
mMetaState = AMETA_NONE;
mDownTime = 0;
mKeyDowns.clear();
mCurrentHidUsage = 0;
resetLedState();
InputMapper::reset(when);
}
void KeyboardInputMapper::process(const RawEvent* rawEvent) {
switch (rawEvent->type) {
case EV_KEY: {
int32_t scanCode = rawEvent->code;
int32_t usageCode = mCurrentHidUsage;
char value[PROPERTY_VALUE_MAX] = {0};
mCurrentHidUsage = 0;
if (isKeyboardOrGamepadKey(scanCode)) {
int32_t keyCode;
uint32_t flags;
if (getEventHub()->mapKey(getDeviceId(), scanCode, usageCode, &keyCode, &flags)) {
keyCode = AKEYCODE_UNKNOWN;
flags = 0;
}
//for unicom,convert ENTER to DPAD_CENTER,since the ENTER will not be processed
// in some apks.
//property_get("sys.proj.type", value, "ott");
//if (!strncmp(value,"unicom",6))
if (keyCode == AKEYCODE_ENTER) {
//add by ysten liuxl,fix can not write sn bug 20180922
property_get("sys.dragon.enter.start", value, "false");
if (strncmp(value,"true",4))
{
keyCode = AKEYCODE_DPAD_CENTER;
ALOGD("convert ENTER to DPAD_CENTER");
}
}
processKey(rawEvent->when, rawEvent->value != 0, keyCode, scanCode, flags);
}
break;
}
case EV_MSC: {
if (rawEvent->code == MSC_SCAN) {
mCurrentHidUsage = rawEvent->value;
}
break;
}
case EV_SYN: {
if (rawEvent->code == SYN_REPORT) {
mCurrentHidUsage = 0;
}
}
}
}
bool KeyboardInputMapper::isKeyboardOrGamepadKey(int32_t scanCode) {
return scanCode < BTN_MOUSE
|| scanCode >= KEY_OK
|| (scanCode >= BTN_MISC && scanCode < BTN_MOUSE)
|| (scanCode >= BTN_JOYSTICK && scanCode < BTN_DIGI);
}
void KeyboardInputMapper::processKey(nsecs_t when, bool down, int32_t keyCode,
int32_t scanCode, uint32_t policyFlags) {
if (down) {
// Rotate key codes according to orientation if needed.
if (mParameters.orientationAware && mParameters.hasAssociatedDisplay) {
keyCode = rotateKeyCode(keyCode, mOrientation);
}
// Add key down.
ssize_t keyDownIndex = findKeyDown(scanCode);
if (keyDownIndex >= 0) {
// key repeat, be sure to use same keycode as before in case of rotation
keyCode = mKeyDowns.itemAt(keyDownIndex).keyCode;
} else {
// key down
if ((policyFlags & POLICY_FLAG_VIRTUAL)
&& mContext->shouldDropVirtualKey(when,
getDevice(), keyCode, scanCode)) {
return;
}
mKeyDowns.push();
KeyDown& keyDown = mKeyDowns.editTop();
keyDown.keyCode = keyCode;
keyDown.scanCode = scanCode;
}
mDownTime = when;
} else {
// Remove key down.
ssize_t keyDownIndex = findKeyDown(scanCode);
if (keyDownIndex >= 0) {
// key up, be sure to use same keycode as before in case of rotation
keyCode = mKeyDowns.itemAt(keyDownIndex).keyCode;
mKeyDowns.removeAt(size_t(keyDownIndex));
} else {
// key was not actually down
ALOGI("Dropping key up from device %s because the key was not down. "
"keyCode=%d, scanCode=%d",
getDeviceName().string(), keyCode, scanCode);
return;
}
}
int32_t oldMetaState = mMetaState;
int32_t newMetaState = updateMetaState(keyCode, down, oldMetaState);
bool metaStateChanged = oldMetaState != newMetaState;
if (metaStateChanged) {
mMetaState = newMetaState;
updateLedState(false);
}
nsecs_t downTime = mDownTime;
// Key down on external an keyboard should wake the device.
// We don't do this for internal keyboards to prevent them from waking up in your pocket.
// For internal keyboards, the key layout file should specify the policy flags for
// each wake key individually.
// TODO: Use the input device configuration to control this behavior more finely.
char value[PROPERTY_VALUE_MAX];
property_get("ro.platform.has.mbxuimode", value, "false");
if(strcmp(value, "true") != 0) {
if (down && getDevice()->isExternal()
&& !(policyFlags & (POLICY_FLAG_WAKE | POLICY_FLAG_WAKE_DROPPED))) {
policyFlags |= POLICY_FLAG_WAKE_DROPPED;
}
}
if (metaStateChanged) {
getContext()->updateGlobalMetaState();
}
if (down && !isMetaKey(keyCode)) {
getContext()->fadePointer();
}
NotifyKeyArgs args(when, getDeviceId(), mSource, policyFlags,
down ? AKEY_EVENT_ACTION_DOWN : AKEY_EVENT_ACTION_UP,
AKEY_EVENT_FLAG_FROM_SYSTEM, keyCode, scanCode, newMetaState, downTime);
getListener()->notifyKey(&args);
}
ssize_t KeyboardInputMapper::findKeyDown(int32_t scanCode) {
size_t n = mKeyDowns.size();
for (size_t i = 0; i < n; i++) {
if (mKeyDowns[i].scanCode == scanCode) {
return i;
}
}
return -1;
}
int32_t KeyboardInputMapper::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) {
return getEventHub()->getKeyCodeState(getDeviceId(), keyCode);
}
int32_t KeyboardInputMapper::getScanCodeState(uint32_t sourceMask, int32_t scanCode) {
return getEventHub()->getScanCodeState(getDeviceId(), scanCode);
}
bool KeyboardInputMapper::markSupportedKeyCodes(uint32_t sourceMask, size_t numCodes,
const int32_t* keyCodes, uint8_t* outFlags) {
return getEventHub()->markSupportedKeyCodes(getDeviceId(), numCodes, keyCodes, outFlags);
}
int32_t KeyboardInputMapper::getMetaState() {
return mMetaState;
}
void KeyboardInputMapper::resetLedState() {
initializeLedState(mCapsLockLedState, LED_CAPSL);
initializeLedState(mNumLockLedState, LED_NUML);
initializeLedState(mScrollLockLedState, LED_SCROLLL);
updateLedState(true);
}
void KeyboardInputMapper::initializeLedState(LedState& ledState, int32_t led) {
ledState.avail = getEventHub()->hasLed(getDeviceId(), led);
ledState.on = false;
}
void KeyboardInputMapper::updateLedState(bool reset) {
updateLedStateForModifier(mCapsLockLedState, LED_CAPSL,
AMETA_CAPS_LOCK_ON, reset);
updateLedStateForModifier(mNumLockLedState, LED_NUML,
AMETA_NUM_LOCK_ON, reset);
updateLedStateForModifier(mScrollLockLedState, LED_SCROLLL,
AMETA_SCROLL_LOCK_ON, reset);
}
void KeyboardInputMapper::updateLedStateForModifier(LedState& ledState,
int32_t led, int32_t modifier, bool reset) {
if (ledState.avail) {
bool desiredState = (mMetaState & modifier) != 0;
if (reset || ledState.on != desiredState) {
getEventHub()->setLedState(getDeviceId(), led, desiredState);
ledState.on = desiredState;
}
}
}
// --- CursorInputMapper ---
CursorInputMapper::CursorInputMapper(InputDevice* device) :
InputMapper(device) {
}
CursorInputMapper::~CursorInputMapper() {
}
uint32_t CursorInputMapper::getSources() {
return mSource;
}
void CursorInputMapper::populateDeviceInfo(InputDeviceInfo* info) {
InputMapper::populateDeviceInfo(info);
if (mParameters.mode == Parameters::MODE_POINTER) {
float minX, minY, maxX, maxY;
if (mPointerController->getBounds(&minX, &minY, &maxX, &maxY)) {
info->addMotionRange(AMOTION_EVENT_AXIS_X, mSource, minX, maxX, 0.0f, 0.0f, 0.0f);
info->addMotionRange(AMOTION_EVENT_AXIS_Y, mSource, minY, maxY, 0.0f, 0.0f, 0.0f);
}
} else {
info->addMotionRange(AMOTION_EVENT_AXIS_X, mSource, -1.0f, 1.0f, 0.0f, mXScale, 0.0f);
info->addMotionRange(AMOTION_EVENT_AXIS_Y, mSource, -1.0f, 1.0f, 0.0f, mYScale, 0.0f);
}
info->addMotionRange(AMOTION_EVENT_AXIS_PRESSURE, mSource, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f);
if (mCursorScrollAccumulator.haveRelativeVWheel()) {
info->addMotionRange(AMOTION_EVENT_AXIS_VSCROLL, mSource, -1.0f, 1.0f, 0.0f, 0.0f, 0.0f);
}
if (mCursorScrollAccumulator.haveRelativeHWheel()) {
info->addMotionRange(AMOTION_EVENT_AXIS_HSCROLL, mSource, -1.0f, 1.0f, 0.0f, 0.0f, 0.0f);
}
}
void CursorInputMapper::dump(String8& dump) {
dump.append(INDENT2 "Cursor Input Mapper:\n");
dumpParameters(dump);
dump.appendFormat(INDENT3 "XScale: %0.3f\n", mXScale);
dump.appendFormat(INDENT3 "YScale: %0.3f\n", mYScale);
dump.appendFormat(INDENT3 "XPrecision: %0.3f\n", mXPrecision);
dump.appendFormat(INDENT3 "YPrecision: %0.3f\n", mYPrecision);
dump.appendFormat(INDENT3 "HaveVWheel: %s\n",
toString(mCursorScrollAccumulator.haveRelativeVWheel()));
dump.appendFormat(INDENT3 "HaveHWheel: %s\n",
toString(mCursorScrollAccumulator.haveRelativeHWheel()));
dump.appendFormat(INDENT3 "VWheelScale: %0.3f\n", mVWheelScale);
dump.appendFormat(INDENT3 "HWheelScale: %0.3f\n", mHWheelScale);
dump.appendFormat(INDENT3 "Orientation: %d\n", mOrientation);
dump.appendFormat(INDENT3 "ButtonState: 0x%08x\n", mButtonState);
dump.appendFormat(INDENT3 "Down: %s\n", toString(isPointerDown(mButtonState)));
dump.appendFormat(INDENT3 "DownTime: %lld\n", mDownTime);
}
void CursorInputMapper::configure(nsecs_t when,
const InputReaderConfiguration* config, uint32_t changes) {
InputMapper::configure(when, config, changes);
if (!changes) { // first time only
mEnabled = config->cursorEnabled;
mCursorScrollAccumulator.configure(getDevice());
// Configure basic parameters.
configureParameters();
// Configure device mode.
switch (mParameters.mode) {
case Parameters::MODE_POINTER:
mSource = AINPUT_SOURCE_MOUSE;
mXPrecision = 1.0f;
mYPrecision = 1.0f;
mXScale = 1.0f;
mYScale = 1.0f;
mPointerController = getPolicy()->obtainPointerController(getDeviceId());
break;
case Parameters::MODE_NAVIGATION:
mSource = AINPUT_SOURCE_TRACKBALL;
mXPrecision = TRACKBALL_MOVEMENT_THRESHOLD;
mYPrecision = TRACKBALL_MOVEMENT_THRESHOLD;
mXScale = 1.0f / TRACKBALL_MOVEMENT_THRESHOLD;
mYScale = 1.0f / TRACKBALL_MOVEMENT_THRESHOLD;
break;
}
mVWheelScale = 1.0f;
mHWheelScale = 1.0f;
}
if (!changes || (changes & InputReaderConfiguration::CHANGE_POINTER_SPEED)) {
mPointerVelocityControl.setParameters(config->pointerVelocityControlParameters);
mWheelXVelocityControl.setParameters(config->wheelVelocityControlParameters);
mWheelYVelocityControl.setParameters(config->wheelVelocityControlParameters);
}
if (!changes || (changes & InputReaderConfiguration::CHANGE_DISPLAY_INFO)) {
if (mParameters.orientationAware && mParameters.hasAssociatedDisplay) {
DisplayViewport v;
if (config->getDisplayInfo(false /*external*/, &v)) {
mOrientation = v.orientation;
} else {
mOrientation = DISPLAY_ORIENTATION_0;
}
} else {
mOrientation = DISPLAY_ORIENTATION_0;
}
bumpGeneration();
}
if (changes & InputReaderConfiguration::CHANGE_CURSOR_INPUT_STATUS) {
mEnabled = config->cursorEnabled;
}
}
void CursorInputMapper::configureParameters() {
mParameters.mode = Parameters::MODE_POINTER;
String8 cursorModeString;
if (getDevice()->getConfiguration().tryGetProperty(String8("cursor.mode"), cursorModeString)) {
if (cursorModeString == "navigation") {
mParameters.mode = Parameters::MODE_NAVIGATION;
} else if (cursorModeString != "pointer" && cursorModeString != "default") {
ALOGW("Invalid value for cursor.mode: '%s'", cursorModeString.string());
}
}
mParameters.orientationAware = false;
getDevice()->getConfiguration().tryGetProperty(String8("cursor.orientationAware"),
mParameters.orientationAware);
mParameters.hasAssociatedDisplay = false;
if (mParameters.mode == Parameters::MODE_POINTER || mParameters.orientationAware) {
mParameters.hasAssociatedDisplay = true;
}
}
void CursorInputMapper::dumpParameters(String8& dump) {
dump.append(INDENT3 "Parameters:\n");
dump.appendFormat(INDENT4 "HasAssociatedDisplay: %s\n",
toString(mParameters.hasAssociatedDisplay));
switch (mParameters.mode) {
case Parameters::MODE_POINTER:
dump.append(INDENT4 "Mode: pointer\n");
break;
case Parameters::MODE_NAVIGATION:
dump.append(INDENT4 "Mode: navigation\n");
break;
default:
ALOG_ASSERT(false);
}
dump.appendFormat(INDENT4 "OrientationAware: %s\n",
toString(mParameters.orientationAware));
}
void CursorInputMapper::reset(nsecs_t when) {
mButtonState = 0;
mDownTime = 0;
mPointerVelocityControl.reset();
mWheelXVelocityControl.reset();
mWheelYVelocityControl.reset();
mCursorButtonAccumulator.reset(getDevice());
mCursorMotionAccumulator.reset(getDevice());
mCursorScrollAccumulator.reset(getDevice());
InputMapper::reset(when);
}
void CursorInputMapper::process(const RawEvent* rawEvent) {
mCursorButtonAccumulator.process(rawEvent);
mCursorMotionAccumulator.process(rawEvent);
mCursorScrollAccumulator.process(rawEvent);
if (rawEvent->type == EV_SYN && rawEvent->code == SYN_REPORT) {
sync(rawEvent->when);
}
}
void CursorInputMapper::sync(nsecs_t when) {
int32_t lastButtonState = mButtonState;
int32_t currentButtonState = mCursorButtonAccumulator.getButtonState();
mButtonState = currentButtonState;
bool wasDown = isPointerDown(lastButtonState);
bool down = isPointerDown(currentButtonState);
bool downChanged;
if (!wasDown && down) {
mDownTime = when;
downChanged = true;
} else if (wasDown && !down) {
downChanged = true;
} else {
downChanged = false;
}
nsecs_t downTime = mDownTime;
bool buttonsChanged = currentButtonState != lastButtonState;
bool buttonsPressed = currentButtonState & ~lastButtonState;
float deltaX = mCursorMotionAccumulator.getRelativeX() * mXScale;
float deltaY = mCursorMotionAccumulator.getRelativeY() * mYScale;
bool moved = deltaX != 0 || deltaY != 0;
// Rotate delta according to orientation if needed.
if (mParameters.orientationAware && mParameters.hasAssociatedDisplay
&& (deltaX != 0.0f || deltaY != 0.0f)) {
rotateDelta(mOrientation, &deltaX, &deltaY);
}
// Move the pointer.
PointerProperties pointerProperties;
pointerProperties.clear();
pointerProperties.id = 0;
pointerProperties.toolType = AMOTION_EVENT_TOOL_TYPE_MOUSE;
PointerCoords pointerCoords;
pointerCoords.clear();
float vscroll = mCursorScrollAccumulator.getRelativeVWheel();
float hscroll = mCursorScrollAccumulator.getRelativeHWheel();
bool scrolled = vscroll != 0 || hscroll != 0;
mWheelYVelocityControl.move(when, NULL, &vscroll);
mWheelXVelocityControl.move(when, &hscroll, NULL);
mPointerVelocityControl.move(when, &deltaX, &deltaY);
int32_t displayId;
if (mPointerController != NULL) {
if (moved || scrolled || buttonsChanged) {
mPointerController->setPresentation(
PointerControllerInterface::PRESENTATION_POINTER);
if (moved) {
mPointerController->move(deltaX, deltaY);
}
if (buttonsChanged) {
mPointerController->setButtonState(currentButtonState);
}
mPointerController->unfade(PointerControllerInterface::TRANSITION_IMMEDIATE);
}
float x, y;
mPointerController->getPosition(&x, &y);
pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, x);
pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, y);
displayId = ADISPLAY_ID_DEFAULT;
} else {
pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, deltaX);
pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, deltaY);
displayId = ADISPLAY_ID_NONE;
}
pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, down ? 1.0f : 0.0f);
// Moving an external trackball or mouse should wake the device.
// We don't do this for internal cursor devices to prevent them from waking up
// the device in your pocket.
// TODO: Use the input device configuration to control this behavior more finely.
uint32_t policyFlags = 0;
char value[PROPERTY_VALUE_MAX];
property_get("ro.platform.has.mbxuimode", value, "false");
if(strcmp(value, "true") != 0) {
if ((buttonsPressed || moved || scrolled) && getDevice()->isExternal()) {
policyFlags |= POLICY_FLAG_WAKE_DROPPED;
}
}
// Synthesize key down from buttons if needed.
synthesizeButtonKeys(getContext(), AKEY_EVENT_ACTION_DOWN, when, getDeviceId(), mSource,
policyFlags, lastButtonState, currentButtonState);
// Send motion event.
if (downChanged || moved || scrolled || buttonsChanged) {
int32_t metaState = mContext->getGlobalMetaState();
int32_t motionEventAction;
if (downChanged) {
motionEventAction = down ? AMOTION_EVENT_ACTION_DOWN : AMOTION_EVENT_ACTION_UP;
} else if (down || mPointerController == NULL) {
motionEventAction = AMOTION_EVENT_ACTION_MOVE;
} else {
motionEventAction = AMOTION_EVENT_ACTION_HOVER_MOVE;
}
NotifyMotionArgs args(when, getDeviceId(), mSource, policyFlags,
motionEventAction, 0, metaState, currentButtonState, 0,
displayId, 1, &pointerProperties, &pointerCoords,
mXPrecision, mYPrecision, downTime);
getListener()->notifyMotion(&args);
// Send hover move after UP to tell the application that the mouse is hovering now.
if (motionEventAction == AMOTION_EVENT_ACTION_UP
&& mPointerController != NULL) {
NotifyMotionArgs hoverArgs(when, getDeviceId(), mSource, policyFlags,
AMOTION_EVENT_ACTION_HOVER_MOVE, 0,
metaState, currentButtonState, AMOTION_EVENT_EDGE_FLAG_NONE,
displayId, 1, &pointerProperties, &pointerCoords,
mXPrecision, mYPrecision, downTime);
getListener()->notifyMotion(&hoverArgs);
}
// Send scroll events.
if (scrolled) {
pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_VSCROLL, vscroll);
pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_HSCROLL, hscroll);
NotifyMotionArgs scrollArgs(when, getDeviceId(), mSource, policyFlags,
AMOTION_EVENT_ACTION_SCROLL, 0, metaState, currentButtonState,
AMOTION_EVENT_EDGE_FLAG_NONE,
displayId, 1, &pointerProperties, &pointerCoords,
mXPrecision, mYPrecision, downTime);
getListener()->notifyMotion(&scrollArgs);
}
}
// Synthesize key up from buttons if needed.
synthesizeButtonKeys(getContext(), AKEY_EVENT_ACTION_UP, when, getDeviceId(), mSource,
policyFlags, lastButtonState, currentButtonState);
mCursorMotionAccumulator.finishSync();
mCursorScrollAccumulator.finishSync();
}
int32_t CursorInputMapper::getScanCodeState(uint32_t sourceMask, int32_t scanCode) {
if (scanCode >= BTN_MOUSE && scanCode < BTN_JOYSTICK) {
return getEventHub()->getScanCodeState(getDeviceId(), scanCode);
} else {
return AKEY_STATE_UNKNOWN;
}
}
void CursorInputMapper::fadePointer() {
if (mPointerController != NULL) {
mPointerController->fade(PointerControllerInterface::TRANSITION_GRADUAL);
}
}
// --- TouchInputMapper ---
TouchInputMapper::TouchInputMapper(InputDevice* device) :
InputMapper(device),
mSource(0), mDeviceMode(DEVICE_MODE_DISABLED),
mTvOutStatus(false), mPadmouseStatus(false),mHdimiCfgChange(false),
mSurfaceWidth(-1), mSurfaceHeight(-1), mSurfaceLeft(0), mSurfaceTop(0),
mSurfaceOrientation(DISPLAY_ORIENTATION_0) {
mHWRotation = DISPLAY_ORIENTATION_0;
}
TouchInputMapper::~TouchInputMapper() {
}
uint32_t TouchInputMapper::getSources() {
return mSource;
}
void TouchInputMapper::populateDeviceInfo(InputDeviceInfo* info) {
InputMapper::populateDeviceInfo(info);
if (mDeviceMode != DEVICE_MODE_DISABLED) {
info->addMotionRange(mOrientedRanges.x);
info->addMotionRange(mOrientedRanges.y);
info->addMotionRange(mOrientedRanges.pressure);
if (mOrientedRanges.haveSize) {
info->addMotionRange(mOrientedRanges.size);
}
if (mOrientedRanges.haveTouchSize) {
info->addMotionRange(mOrientedRanges.touchMajor);
info->addMotionRange(mOrientedRanges.touchMinor);
}
if (mOrientedRanges.haveToolSize) {
info->addMotionRange(mOrientedRanges.toolMajor);
info->addMotionRange(mOrientedRanges.toolMinor);
}
if (mOrientedRanges.haveOrientation) {
info->addMotionRange(mOrientedRanges.orientation);
}
if (mOrientedRanges.haveDistance) {
info->addMotionRange(mOrientedRanges.distance);
}
if (mOrientedRanges.haveTilt) {
info->addMotionRange(mOrientedRanges.tilt);
}
if (mCursorScrollAccumulator.haveRelativeVWheel()) {
info->addMotionRange(AMOTION_EVENT_AXIS_VSCROLL, mSource, -1.0f, 1.0f, 0.0f, 0.0f,
0.0f);
}
if (mCursorScrollAccumulator.haveRelativeHWheel()) {
info->addMotionRange(AMOTION_EVENT_AXIS_HSCROLL, mSource, -1.0f, 1.0f, 0.0f, 0.0f,
0.0f);
}
if (mCalibration.coverageCalibration == Calibration::COVERAGE_CALIBRATION_BOX) {
const InputDeviceInfo::MotionRange& x = mOrientedRanges.x;
const InputDeviceInfo::MotionRange& y = mOrientedRanges.y;
info->addMotionRange(AMOTION_EVENT_AXIS_GENERIC_1, mSource, x.min, x.max, x.flat,
x.fuzz, x.resolution);
info->addMotionRange(AMOTION_EVENT_AXIS_GENERIC_2, mSource, y.min, y.max, y.flat,
y.fuzz, y.resolution);
info->addMotionRange(AMOTION_EVENT_AXIS_GENERIC_3, mSource, x.min, x.max, x.flat,
x.fuzz, x.resolution);
info->addMotionRange(AMOTION_EVENT_AXIS_GENERIC_4, mSource, y.min, y.max, y.flat,
y.fuzz, y.resolution);
}
info->setButtonUnderPad(mParameters.hasButtonUnderPad);
}
}
void TouchInputMapper::dump(String8& dump) {
dump.append(INDENT2 "Touch Input Mapper:\n");
dumpParameters(dump);
dumpVirtualKeys(dump);
dumpRawPointerAxes(dump);
dumpCalibration(dump);
dumpSurface(dump);
dump.appendFormat(INDENT3 "Translation and Scaling Factors:\n");
dump.appendFormat(INDENT4 "XTranslate: %0.3f\n", mXTranslate);
dump.appendFormat(INDENT4 "YTranslate: %0.3f\n", mYTranslate);
dump.appendFormat(INDENT4 "XScale: %0.3f\n", mXScale);
dump.appendFormat(INDENT4 "YScale: %0.3f\n", mYScale);
dump.appendFormat(INDENT4 "XPrecision: %0.3f\n", mXPrecision);
dump.appendFormat(INDENT4 "YPrecision: %0.3f\n", mYPrecision);
dump.appendFormat(INDENT4 "GeometricScale: %0.3f\n", mGeometricScale);
dump.appendFormat(INDENT4 "PressureScale: %0.3f\n", mPressureScale);
dump.appendFormat(INDENT4 "SizeScale: %0.3f\n", mSizeScale);
dump.appendFormat(INDENT4 "OrientationScale: %0.3f\n", mOrientationScale);
dump.appendFormat(INDENT4 "DistanceScale: %0.3f\n", mDistanceScale);
dump.appendFormat(INDENT4 "HaveTilt: %s\n", toString(mHaveTilt));
dump.appendFormat(INDENT4 "TiltXCenter: %0.3f\n", mTiltXCenter);
dump.appendFormat(INDENT4 "TiltXScale: %0.3f\n", mTiltXScale);
dump.appendFormat(INDENT4 "TiltYCenter: %0.3f\n", mTiltYCenter);
dump.appendFormat(INDENT4 "TiltYScale: %0.3f\n", mTiltYScale);
dump.appendFormat(INDENT3 "Last Button State: 0x%08x\n", mLastButtonState);
dump.appendFormat(INDENT3 "Last Raw Touch: pointerCount=%d\n",
mLastRawPointerData.pointerCount);
for (uint32_t i = 0; i < mLastRawPointerData.pointerCount; i++) {
const RawPointerData::Pointer& pointer = mLastRawPointerData.pointers[i];
dump.appendFormat(INDENT4 "[%d]: id=%d, x=%d, y=%d, pressure=%d, "
"touchMajor=%d, touchMinor=%d, toolMajor=%d, toolMinor=%d, "
"orientation=%d, tiltX=%d, tiltY=%d, distance=%d, "
"toolType=%d, isHovering=%s\n", i,
pointer.id, pointer.x, pointer.y, pointer.pressure,
pointer.touchMajor, pointer.touchMinor,
pointer.toolMajor, pointer.toolMinor,
pointer.orientation, pointer.tiltX, pointer.tiltY, pointer.distance,
pointer.toolType, toString(pointer.isHovering));
}
dump.appendFormat(INDENT3 "Last Cooked Touch: pointerCount=%d\n",
mLastCookedPointerData.pointerCount);
for (uint32_t i = 0; i < mLastCookedPointerData.pointerCount; i++) {
const PointerProperties& pointerProperties = mLastCookedPointerData.pointerProperties[i];
const PointerCoords& pointerCoords = mLastCookedPointerData.pointerCoords[i];
dump.appendFormat(INDENT4 "[%d]: id=%d, x=%0.3f, y=%0.3f, pressure=%0.3f, "
"touchMajor=%0.3f, touchMinor=%0.3f, toolMajor=%0.3f, toolMinor=%0.3f, "
"orientation=%0.3f, tilt=%0.3f, distance=%0.3f, "
"toolType=%d, isHovering=%s\n", i,
pointerProperties.id,
pointerCoords.getX(),
pointerCoords.getY(),
pointerCoords.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE),
pointerCoords.getAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR),
pointerCoords.getAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR),
pointerCoords.getAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR),
pointerCoords.getAxisValue(AMOTION_EVENT_AXIS_TOOL_MINOR),
pointerCoords.getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION),
pointerCoords.getAxisValue(AMOTION_EVENT_AXIS_TILT),
pointerCoords.getAxisValue(AMOTION_EVENT_AXIS_DISTANCE),
pointerProperties.toolType,
toString(mLastCookedPointerData.isHovering(i)));
}
if (mDeviceMode == DEVICE_MODE_POINTER) {
dump.appendFormat(INDENT3 "Pointer Gesture Detector:\n");
dump.appendFormat(INDENT4 "XMovementScale: %0.3f\n",
mPointerXMovementScale);
dump.appendFormat(INDENT4 "YMovementScale: %0.3f\n",
mPointerYMovementScale);
dump.appendFormat(INDENT4 "XZoomScale: %0.3f\n",
mPointerXZoomScale);
dump.appendFormat(INDENT4 "YZoomScale: %0.3f\n",
mPointerYZoomScale);
dump.appendFormat(INDENT4 "MaxSwipeWidth: %f\n",
mPointerGestureMaxSwipeWidth);
}
}
void TouchInputMapper::configure(nsecs_t when,
const InputReaderConfiguration* config, uint32_t changes) {
InputMapper::configure(when, config, changes);
mConfig = *config;
if (!changes) { // first time only
// Configure basic parameters.
configureParameters();
// Configure common accumulators.
mCursorScrollAccumulator.configure(getDevice());
mTouchButtonAccumulator.configure(getDevice());
// Configure absolute axis information.
configureRawPointerAxes();
// Prepare input device calibration.
parseCalibration();
resolveCalibration();
}
if (!changes || (changes & InputReaderConfiguration::CHANGE_POINTER_SPEED)) {
// Update pointer speed.
mPointerVelocityControl.setParameters(mConfig.pointerVelocityControlParameters);
mWheelXVelocityControl.setParameters(mConfig.wheelVelocityControlParameters);
mWheelYVelocityControl.setParameters(mConfig.wheelVelocityControlParameters);
}
bool resetNeeded = false;
if (!changes || (changes & (InputReaderConfiguration::CHANGE_DISPLAY_INFO
| InputReaderConfiguration::CHANGE_POINTER_GESTURE_ENABLEMENT
| InputReaderConfiguration::CHANGE_SHOW_TOUCHES))) {
// Configure device sources, surface dimensions, orientation and
// scaling factors.
configureSurface(when, &resetNeeded);
}
if (changes && resetNeeded) {
// Send reset, unless this is the first time the device has been configured,
// in which case the reader will call reset itself after all mappers are ready.
getDevice()->notifyReset(when);
}
}
void TouchInputMapper::configureParameters() {
// Use the pointer presentation mode for devices that do not support distinct
// multitouch. The spot-based presentation relies on being able to accurately
// locate two or more fingers on the touch pad.
mParameters.gestureMode = getEventHub()->hasInputProperty(getDeviceId(), INPUT_PROP_SEMI_MT)
? Parameters::GESTURE_MODE_POINTER : Parameters::GESTURE_MODE_SPOTS;
String8 gestureModeString;
if (getDevice()->getConfiguration().tryGetProperty(String8("touch.gestureMode"),
gestureModeString)) {
if (gestureModeString == "pointer") {
mParameters.gestureMode = Parameters::GESTURE_MODE_POINTER;
} else if (gestureModeString == "spots") {
mParameters.gestureMode = Parameters::GESTURE_MODE_SPOTS;
} else if (gestureModeString != "default") {
ALOGW("Invalid value for touch.gestureMode: '%s'", gestureModeString.string());
}
}
if (getEventHub()->hasInputProperty(getDeviceId(), INPUT_PROP_DIRECT)) {
// The device is a touch screen.
mParameters.deviceType = Parameters::DEVICE_TYPE_TOUCH_SCREEN;
} else if (getEventHub()->hasInputProperty(getDeviceId(), INPUT_PROP_POINTER)) {
// The device is a pointing device like a track pad.
mParameters.deviceType = Parameters::DEVICE_TYPE_POINTER;
} else if (getEventHub()->hasRelativeAxis(getDeviceId(), REL_X)
|| getEventHub()->hasRelativeAxis(getDeviceId(), REL_Y)) {
// The device is a cursor device with a touch pad attached.
// By default don't use the touch pad to move the pointer.
mParameters.deviceType = Parameters::DEVICE_TYPE_TOUCH_PAD;
} else {
// The device is a touch pad of unknown purpose.
mParameters.deviceType = Parameters::DEVICE_TYPE_POINTER;
}
mParameters.hasButtonUnderPad=
getEventHub()->hasInputProperty(getDeviceId(), INPUT_PROP_BUTTONPAD);
String8 deviceTypeString;
if (getDevice()->getConfiguration().tryGetProperty(String8("touch.deviceType"),
deviceTypeString)) {
if (deviceTypeString == "touchScreen") {
mParameters.deviceType = Parameters::DEVICE_TYPE_TOUCH_SCREEN;
} else if (deviceTypeString == "touchPad") {
mParameters.deviceType = Parameters::DEVICE_TYPE_TOUCH_PAD;
} else if (deviceTypeString == "touchNavigation") {
mParameters.deviceType = Parameters::DEVICE_TYPE_TOUCH_NAVIGATION;
} else if (deviceTypeString == "pointer") {
mParameters.deviceType = Parameters::DEVICE_TYPE_POINTER;
} else if (deviceTypeString != "default") {
ALOGW("Invalid value for touch.deviceType: '%s'", deviceTypeString.string());
}
}
mParameters.orientationAware = mParameters.deviceType == Parameters::DEVICE_TYPE_TOUCH_SCREEN;
getDevice()->getConfiguration().tryGetProperty(String8("touch.orientationAware"),
mParameters.orientationAware);
mParameters.hasAssociatedDisplay = false;
mParameters.associatedDisplayIsExternal = false;
if (mParameters.orientationAware
|| mParameters.deviceType == Parameters::DEVICE_TYPE_TOUCH_SCREEN
|| mParameters.deviceType == Parameters::DEVICE_TYPE_POINTER) {
mParameters.hasAssociatedDisplay = true;
mParameters.associatedDisplayIsExternal =
mParameters.deviceType == Parameters::DEVICE_TYPE_TOUCH_SCREEN
&& getDevice()->isExternal();
}
}
void TouchInputMapper::dumpParameters(String8& dump) {
dump.append(INDENT3 "Parameters:\n");
switch (mParameters.gestureMode) {
case Parameters::GESTURE_MODE_POINTER:
dump.append(INDENT4 "GestureMode: pointer\n");
break;
case Parameters::GESTURE_MODE_SPOTS:
dump.append(INDENT4 "GestureMode: spots\n");
break;
default:
assert(false);
}
switch (mParameters.deviceType) {
case Parameters::DEVICE_TYPE_TOUCH_SCREEN:
dump.append(INDENT4 "DeviceType: touchScreen\n");
break;
case Parameters::DEVICE_TYPE_TOUCH_PAD:
dump.append(INDENT4 "DeviceType: touchPad\n");
break;
case Parameters::DEVICE_TYPE_TOUCH_NAVIGATION:
dump.append(INDENT4 "DeviceType: touchNavigation\n");
break;
case Parameters::DEVICE_TYPE_POINTER:
dump.append(INDENT4 "DeviceType: pointer\n");
break;
default:
ALOG_ASSERT(false);
}
dump.appendFormat(INDENT4 "AssociatedDisplay: hasAssociatedDisplay=%s, isExternal=%s\n",
toString(mParameters.hasAssociatedDisplay),
toString(mParameters.associatedDisplayIsExternal));
dump.appendFormat(INDENT4 "OrientationAware: %s\n",
toString(mParameters.orientationAware));
}
void TouchInputMapper::configureRawPointerAxes() {
mRawPointerAxes.clear();
}
void TouchInputMapper::dumpRawPointerAxes(String8& dump) {
dump.append(INDENT3 "Raw Touch Axes:\n");
dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.x, "X");
dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.y, "Y");
dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.pressure, "Pressure");
dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.touchMajor, "TouchMajor");
dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.touchMinor, "TouchMinor");
dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.toolMajor, "ToolMajor");
dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.toolMinor, "ToolMinor");
dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.orientation, "Orientation");
dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.distance, "Distance");
dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.tiltX, "TiltX");
dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.tiltY, "TiltY");
dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.trackingId, "TrackingId");
dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.slot, "Slot");
}
void TouchInputMapper::configureSurface(nsecs_t when, bool* outResetNeeded) {
int32_t oldDeviceMode = mDeviceMode;
// Determine device mode.
if (mParameters.deviceType == Parameters::DEVICE_TYPE_POINTER
&& mConfig.pointerGesturesEnabled) {
if(mHdimiCfgChange){
mSource = AINPUT_SOURCE_TOUCHSCREEN;
mHdimiCfgChange = false;
}else{
mSource = AINPUT_SOURCE_MOUSE;
}
mDeviceMode = DEVICE_MODE_POINTER;
if (hasStylus()) {
mSource |= AINPUT_SOURCE_STYLUS;
}
} else if (mParameters.deviceType == Parameters::DEVICE_TYPE_TOUCH_SCREEN
&& mParameters.hasAssociatedDisplay) {
mSource = AINPUT_SOURCE_TOUCHSCREEN;
mDeviceMode = DEVICE_MODE_DIRECT;
if (hasStylus()) {
mSource |= AINPUT_SOURCE_STYLUS;
}
} else if (mParameters.deviceType == Parameters::DEVICE_TYPE_TOUCH_NAVIGATION) {
mSource = AINPUT_SOURCE_TOUCH_NAVIGATION;
mDeviceMode = DEVICE_MODE_NAVIGATION;
} else {
mSource = AINPUT_SOURCE_TOUCHPAD;
mDeviceMode = DEVICE_MODE_UNSCALED;
}
// Ensure we have valid X and Y axes.
if (!mRawPointerAxes.x.valid || !mRawPointerAxes.y.valid) {
ALOGW(INDENT "Touch device '%s' did not report support for X or Y axis! "
"The device will be inoperable.", getDeviceName().string());
mDeviceMode = DEVICE_MODE_DISABLED;
return;
}
// Raw width and height in the natural orientation.
int32_t rawWidth = mRawPointerAxes.x.maxValue - mRawPointerAxes.x.minValue + 1;
int32_t rawHeight = mRawPointerAxes.y.maxValue - mRawPointerAxes.y.minValue + 1;
// Get associated display dimensions.
DisplayViewport newViewport;
if (mParameters.hasAssociatedDisplay) {
if (!mConfig.getDisplayInfo(mParameters.associatedDisplayIsExternal, &newViewport)) {
ALOGI(INDENT "Touch device '%s' could not query the properties of its associated "
"display. The device will be inoperable until the display size "
"becomes available.",
getDeviceName().string());
mDeviceMode = DEVICE_MODE_DISABLED;
return;
}
char property[PROPERTY_VALUE_MAX];
if (property_get("ro.sf.hwrotation", property, NULL) > 0 && 180 == atoi(property)) {
if(!mPadmouseStatus){
mHWRotation = DISPLAY_ORIENTATION_180;
}
else{
mHWRotation = DISPLAY_ORIENTATION_0;
newViewport.orientation = (newViewport.orientation + DISPLAY_ORIENTATION_180)%4;
}
}
} else {
newViewport.setNonDisplayViewport(rawWidth, rawHeight);
}
bool viewportChanged = mViewport != newViewport;
if (viewportChanged) {
mViewport = newViewport;
if (mDeviceMode == DEVICE_MODE_DIRECT || mDeviceMode == DEVICE_MODE_POINTER) {
// Convert rotated viewport to natural surface coordinates.
int32_t naturalLogicalWidth, naturalLogicalHeight;
int32_t naturalPhysicalWidth, naturalPhysicalHeight;
int32_t naturalPhysicalLeft, naturalPhysicalTop;
int32_t naturalDeviceWidth, naturalDeviceHeight;
switch (mViewport.orientation) {
case DISPLAY_ORIENTATION_90:
naturalLogicalWidth = mViewport.logicalBottom - mViewport.logicalTop;
naturalLogicalHeight = mViewport.logicalRight - mViewport.logicalLeft;
naturalPhysicalWidth = mViewport.physicalBottom - mViewport.physicalTop;
naturalPhysicalHeight = mViewport.physicalRight - mViewport.physicalLeft;
naturalPhysicalLeft = mViewport.deviceHeight - mViewport.physicalBottom;
naturalPhysicalTop = mViewport.physicalLeft;
naturalDeviceWidth = mViewport.deviceHeight;
naturalDeviceHeight = mViewport.deviceWidth;
break;
case DISPLAY_ORIENTATION_180:
naturalLogicalWidth = mViewport.logicalRight - mViewport.logicalLeft;
naturalLogicalHeight = mViewport.logicalBottom - mViewport.logicalTop;
naturalPhysicalWidth = mViewport.physicalRight - mViewport.physicalLeft;
naturalPhysicalHeight = mViewport.physicalBottom - mViewport.physicalTop;
naturalPhysicalLeft = mViewport.deviceWidth - mViewport.physicalRight;
naturalPhysicalTop = mViewport.deviceHeight - mViewport.physicalBottom;
naturalDeviceWidth = mViewport.deviceWidth;
naturalDeviceHeight = mViewport.deviceHeight;
break;
case DISPLAY_ORIENTATION_270:
naturalLogicalWidth = mViewport.logicalBottom - mViewport.logicalTop;
naturalLogicalHeight = mViewport.logicalRight - mViewport.logicalLeft;
naturalPhysicalWidth = mViewport.physicalBottom - mViewport.physicalTop;
naturalPhysicalHeight = mViewport.physicalRight - mViewport.physicalLeft;
naturalPhysicalLeft = mViewport.physicalTop;
naturalPhysicalTop = mViewport.deviceWidth - mViewport.physicalRight;
naturalDeviceWidth = mViewport.deviceHeight;
naturalDeviceHeight = mViewport.deviceWidth;
break;
case DISPLAY_ORIENTATION_0:
default:
naturalLogicalWidth = mViewport.logicalRight - mViewport.logicalLeft;
naturalLogicalHeight = mViewport.logicalBottom - mViewport.logicalTop;
naturalPhysicalWidth = mViewport.physicalRight - mViewport.physicalLeft;
naturalPhysicalHeight = mViewport.physicalBottom - mViewport.physicalTop;
naturalPhysicalLeft = mViewport.physicalLeft;
naturalPhysicalTop = mViewport.physicalTop;
naturalDeviceWidth = mViewport.deviceWidth;
naturalDeviceHeight = mViewport.deviceHeight;
break;
}
mSurfaceWidth = naturalLogicalWidth * naturalDeviceWidth / naturalPhysicalWidth;
mSurfaceHeight = naturalLogicalHeight * naturalDeviceHeight / naturalPhysicalHeight;
mSurfaceLeft = naturalPhysicalLeft * naturalLogicalWidth / naturalPhysicalWidth;
mSurfaceTop = naturalPhysicalTop * naturalLogicalHeight / naturalPhysicalHeight;
mSurfaceOrientation = mParameters.orientationAware ?
mViewport.orientation : DISPLAY_ORIENTATION_0;
} else {
mSurfaceWidth = rawWidth;
mSurfaceHeight = rawHeight;
mSurfaceLeft = 0;
mSurfaceTop = 0;
mSurfaceOrientation = DISPLAY_ORIENTATION_0;
}
}
// If moving between pointer modes, need to reset some state.
bool deviceModeChanged = mDeviceMode != oldDeviceMode;
if (deviceModeChanged) {
mOrientedRanges.clear();
}
// Create pointer controller if needed.
if (mDeviceMode == DEVICE_MODE_POINTER ||
(mDeviceMode == DEVICE_MODE_DIRECT && mConfig.showTouches)) {
if (mPointerController == NULL) {
mPointerController = getPolicy()->obtainPointerController(getDeviceId());
}
} else {
mPointerController.clear();
}
if (viewportChanged || deviceModeChanged) {
ALOGI("Device reconfigured: id=%d, name='%s', size %dx%d, orientation %d, mode %d, "
"display id %d",
getDeviceId(), getDeviceName().string(), mSurfaceWidth, mSurfaceHeight,
mSurfaceOrientation, mDeviceMode, mViewport.displayId);
// Configure X and Y factors.
mXScale = float(mSurfaceWidth) / rawWidth;
mYScale = float(mSurfaceHeight) / rawHeight;
mXTranslate = -mSurfaceLeft;
mYTranslate = -mSurfaceTop;
mXPrecision = 1.0f / mXScale;
mYPrecision = 1.0f / mYScale;
mOrientedRanges.x.axis = AMOTION_EVENT_AXIS_X;
mOrientedRanges.x.source = mSource;
mOrientedRanges.y.axis = AMOTION_EVENT_AXIS_Y;
mOrientedRanges.y.source = mSource;
configureVirtualKeys();
// Scale factor for terms that are not oriented in a particular axis.
// If the pixels are square then xScale == yScale otherwise we fake it
// by choosing an average.
mGeometricScale = avg(mXScale, mYScale);
// Size of diagonal axis.
float diagonalSize = hypotf(mSurfaceWidth, mSurfaceHeight);
// Size factors.
if (mCalibration.sizeCalibration != Calibration::SIZE_CALIBRATION_NONE) {
if (mRawPointerAxes.touchMajor.valid
&& mRawPointerAxes.touchMajor.maxValue != 0) {
mSizeScale = 1.0f / mRawPointerAxes.touchMajor.maxValue;
} else if (mRawPointerAxes.toolMajor.valid
&& mRawPointerAxes.toolMajor.maxValue != 0) {
mSizeScale = 1.0f / mRawPointerAxes.toolMajor.maxValue;
} else {
mSizeScale = 0.0f;
}
mOrientedRanges.haveTouchSize = true;
mOrientedRanges.haveToolSize = true;
mOrientedRanges.haveSize = true;
mOrientedRanges.touchMajor.axis = AMOTION_EVENT_AXIS_TOUCH_MAJOR;
mOrientedRanges.touchMajor.source = mSource;
mOrientedRanges.touchMajor.min = 0;
mOrientedRanges.touchMajor.max = diagonalSize;
mOrientedRanges.touchMajor.flat = 0;
mOrientedRanges.touchMajor.fuzz = 0;
mOrientedRanges.touchMajor.resolution = 0;
mOrientedRanges.touchMinor = mOrientedRanges.touchMajor;
mOrientedRanges.touchMinor.axis = AMOTION_EVENT_AXIS_TOUCH_MINOR;
mOrientedRanges.toolMajor.axis = AMOTION_EVENT_AXIS_TOOL_MAJOR;
mOrientedRanges.toolMajor.source = mSource;
mOrientedRanges.toolMajor.min = 0;
mOrientedRanges.toolMajor.max = diagonalSize;
mOrientedRanges.toolMajor.flat = 0;
mOrientedRanges.toolMajor.fuzz = 0;
mOrientedRanges.toolMajor.resolution = 0;
mOrientedRanges.toolMinor = mOrientedRanges.toolMajor;
mOrientedRanges.toolMinor.axis = AMOTION_EVENT_AXIS_TOOL_MINOR;
mOrientedRanges.size.axis = AMOTION_EVENT_AXIS_SIZE;
mOrientedRanges.size.source = mSource;
mOrientedRanges.size.min = 0;
mOrientedRanges.size.max = 1.0;
mOrientedRanges.size.flat = 0;
mOrientedRanges.size.fuzz = 0;
mOrientedRanges.size.resolution = 0;
} else {
mSizeScale = 0.0f;
}
// Pressure factors.
mPressureScale = 0;
if (mCalibration.pressureCalibration == Calibration::PRESSURE_CALIBRATION_PHYSICAL
|| mCalibration.pressureCalibration
== Calibration::PRESSURE_CALIBRATION_AMPLITUDE) {
if (mCalibration.havePressureScale) {
mPressureScale = mCalibration.pressureScale;
} else if (mRawPointerAxes.pressure.valid
&& mRawPointerAxes.pressure.maxValue != 0) {
mPressureScale = 1.0f / mRawPointerAxes.pressure.maxValue;
}
}
mOrientedRanges.pressure.axis = AMOTION_EVENT_AXIS_PRESSURE;
mOrientedRanges.pressure.source = mSource;
mOrientedRanges.pressure.min = 0;
mOrientedRanges.pressure.max = 1.0;
mOrientedRanges.pressure.flat = 0;
mOrientedRanges.pressure.fuzz = 0;
mOrientedRanges.pressure.resolution = 0;
// Tilt
mTiltXCenter = 0;
mTiltXScale = 0;
mTiltYCenter = 0;
mTiltYScale = 0;
mHaveTilt = mRawPointerAxes.tiltX.valid && mRawPointerAxes.tiltY.valid;
if (mHaveTilt) {
mTiltXCenter = avg(mRawPointerAxes.tiltX.minValue,
mRawPointerAxes.tiltX.maxValue);
mTiltYCenter = avg(mRawPointerAxes.tiltY.minValue,
mRawPointerAxes.tiltY.maxValue);
mTiltXScale = M_PI / 180;
mTiltYScale = M_PI / 180;
mOrientedRanges.haveTilt = true;
mOrientedRanges.tilt.axis = AMOTION_EVENT_AXIS_TILT;
mOrientedRanges.tilt.source = mSource;
mOrientedRanges.tilt.min = 0;
mOrientedRanges.tilt.max = M_PI_2;
mOrientedRanges.tilt.flat = 0;
mOrientedRanges.tilt.fuzz = 0;
mOrientedRanges.tilt.resolution = 0;
}
// Orientation
mOrientationScale = 0;
if (mHaveTilt) {
mOrientedRanges.haveOrientation = true;
mOrientedRanges.orientation.axis = AMOTION_EVENT_AXIS_ORIENTATION;
mOrientedRanges.orientation.source = mSource;
mOrientedRanges.orientation.min = -M_PI;
mOrientedRanges.orientation.max = M_PI;
mOrientedRanges.orientation.flat = 0;
mOrientedRanges.orientation.fuzz = 0;
mOrientedRanges.orientation.resolution = 0;
} else if (mCalibration.orientationCalibration !=
Calibration::ORIENTATION_CALIBRATION_NONE) {
if (mCalibration.orientationCalibration
== Calibration::ORIENTATION_CALIBRATION_INTERPOLATED) {
if (mRawPointerAxes.orientation.valid) {
if (mRawPointerAxes.orientation.maxValue > 0) {
mOrientationScale = M_PI_2 / mRawPointerAxes.orientation.maxValue;
} else if (mRawPointerAxes.orientation.minValue < 0) {
mOrientationScale = -M_PI_2 / mRawPointerAxes.orientation.minValue;
} else {
mOrientationScale = 0;
}
}
}
mOrientedRanges.haveOrientation = true;
mOrientedRanges.orientation.axis = AMOTION_EVENT_AXIS_ORIENTATION;
mOrientedRanges.orientation.source = mSource;
mOrientedRanges.orientation.min = -M_PI_2;
mOrientedRanges.orientation.max = M_PI_2;
mOrientedRanges.orientation.flat = 0;
mOrientedRanges.orientation.fuzz = 0;
mOrientedRanges.orientation.resolution = 0;
}
// Distance
mDistanceScale = 0;
if (mCalibration.distanceCalibration != Calibration::DISTANCE_CALIBRATION_NONE) {
if (mCalibration.distanceCalibration
== Calibration::DISTANCE_CALIBRATION_SCALED) {
if (mCalibration.haveDistanceScale) {
mDistanceScale = mCalibration.distanceScale;
} else {
mDistanceScale = 1.0f;
}
}
mOrientedRanges.haveDistance = true;
mOrientedRanges.distance.axis = AMOTION_EVENT_AXIS_DISTANCE;
mOrientedRanges.distance.source = mSource;
mOrientedRanges.distance.min =
mRawPointerAxes.distance.minValue * mDistanceScale;
mOrientedRanges.distance.max =
mRawPointerAxes.distance.maxValue * mDistanceScale;
mOrientedRanges.distance.flat = 0;
mOrientedRanges.distance.fuzz =
mRawPointerAxes.distance.fuzz * mDistanceScale;
mOrientedRanges.distance.resolution = 0;
}
// Compute oriented precision, scales and ranges.
// Note that the maximum value reported is an inclusive maximum value so it is one
// unit less than the total width or height of surface.
int32_t adjustedorientation = (mSurfaceOrientation + mHWRotation) % 4;
switch (adjustedorientation) {
case DISPLAY_ORIENTATION_90:
case DISPLAY_ORIENTATION_270:
mOrientedXPrecision = mYPrecision;
mOrientedYPrecision = mXPrecision;
mOrientedRanges.x.min = mYTranslate;
mOrientedRanges.x.max = mSurfaceHeight + mYTranslate - 1;
mOrientedRanges.x.flat = 0;
mOrientedRanges.x.fuzz = 0;
mOrientedRanges.x.resolution = mRawPointerAxes.y.resolution * mYScale;
mOrientedRanges.y.min = mXTranslate;
mOrientedRanges.y.max = mSurfaceWidth + mXTranslate - 1;
mOrientedRanges.y.flat = 0;
mOrientedRanges.y.fuzz = 0;
mOrientedRanges.y.resolution = mRawPointerAxes.x.resolution * mXScale;
break;
default:
mOrientedXPrecision = mXPrecision;
mOrientedYPrecision = mYPrecision;
mOrientedRanges.x.min = mXTranslate;
mOrientedRanges.x.max = mSurfaceWidth + mXTranslate - 1;
mOrientedRanges.x.flat = 0;
mOrientedRanges.x.fuzz = 0;
mOrientedRanges.x.resolution = mRawPointerAxes.x.resolution * mXScale;
mOrientedRanges.y.min = mYTranslate;
mOrientedRanges.y.max = mSurfaceHeight + mYTranslate - 1;
mOrientedRanges.y.flat = 0;
mOrientedRanges.y.fuzz = 0;
mOrientedRanges.y.resolution = mRawPointerAxes.y.resolution * mYScale;
break;
}
if (mDeviceMode == DEVICE_MODE_POINTER) {
// Compute pointer gesture detection parameters.
float rawDiagonal = hypotf(rawWidth, rawHeight);
float displayDiagonal = hypotf(mSurfaceWidth, mSurfaceHeight);
// Scale movements such that one whole swipe of the touch pad covers a
// given area relative to the diagonal size of the display when no acceleration
// is applied.
// Assume that the touch pad has a square aspect ratio such that movements in
// X and Y of the same number of raw units cover the same physical distance.
mPointerXMovementScale = mConfig.pointerGestureMovementSpeedRatio
* displayDiagonal / rawDiagonal;
mPointerYMovementScale = mPointerXMovementScale;
// Scale zooms to cover a smaller range of the display than movements do.
// This value determines the area around the pointer that is affected by freeform
// pointer gestures.
mPointerXZoomScale = mConfig.pointerGestureZoomSpeedRatio
* displayDiagonal / rawDiagonal;
mPointerYZoomScale = mPointerXZoomScale;
// Max width between pointers to detect a swipe gesture is more than some fraction
// of the diagonal axis of the touch pad. Touches that are wider than this are
// translated into freeform gestures.
mPointerGestureMaxSwipeWidth =
mConfig.pointerGestureSwipeMaxWidthRatio * rawDiagonal;
// Abort current pointer usages because the state has changed.
abortPointerUsage(when, 0 /*policyFlags*/);
}
// Inform the dispatcher about the changes.
*outResetNeeded = true;
bumpGeneration();
}
}
void TouchInputMapper::dumpSurface(String8& dump) {
dump.appendFormat(INDENT3 "Viewport: displayId=%d, orientation=%d, "
"logicalFrame=[%d, %d, %d, %d], "
"physicalFrame=[%d, %d, %d, %d], "
"deviceSize=[%d, %d]\n",
mViewport.displayId, mViewport.orientation,
mViewport.logicalLeft, mViewport.logicalTop,
mViewport.logicalRight, mViewport.logicalBottom,
mViewport.physicalLeft, mViewport.physicalTop,
mViewport.physicalRight, mViewport.physicalBottom,
mViewport.deviceWidth, mViewport.deviceHeight);
dump.appendFormat(INDENT3 "SurfaceWidth: %dpx\n", mSurfaceWidth);
dump.appendFormat(INDENT3 "SurfaceHeight: %dpx\n", mSurfaceHeight);
dump.appendFormat(INDENT3 "SurfaceLeft: %d\n", mSurfaceLeft);
dump.appendFormat(INDENT3 "SurfaceTop: %d\n", mSurfaceTop);
dump.appendFormat(INDENT3 "SurfaceOrientation: %d\n", mSurfaceOrientation);
}
void TouchInputMapper::configureVirtualKeys() {
Vector<VirtualKeyDefinition> virtualKeyDefinitions;
getEventHub()->getVirtualKeyDefinitions(getDeviceId(), virtualKeyDefinitions);
mVirtualKeys.clear();
if (virtualKeyDefinitions.size() == 0) {
return;
}
mVirtualKeys.setCapacity(virtualKeyDefinitions.size());
int32_t touchScreenLeft = mRawPointerAxes.x.minValue;
int32_t touchScreenTop = mRawPointerAxes.y.minValue;
int32_t touchScreenWidth = mRawPointerAxes.x.maxValue - mRawPointerAxes.x.minValue + 1;
int32_t touchScreenHeight = mRawPointerAxes.y.maxValue - mRawPointerAxes.y.minValue + 1;
for (size_t i = 0; i < virtualKeyDefinitions.size(); i++) {
const VirtualKeyDefinition& virtualKeyDefinition =
virtualKeyDefinitions[i];
mVirtualKeys.add();
VirtualKey& virtualKey = mVirtualKeys.editTop();
virtualKey.scanCode = virtualKeyDefinition.scanCode;
int32_t keyCode;
uint32_t flags;
if (getEventHub()->mapKey(getDeviceId(), virtualKey.scanCode, 0, &keyCode, &flags)) {
ALOGW(INDENT "VirtualKey %d: could not obtain key code, ignoring",
virtualKey.scanCode);
mVirtualKeys.pop(); // drop the key
continue;
}
virtualKey.keyCode = keyCode;
virtualKey.flags = flags;
// convert the key definition's display coordinates into touch coordinates for a hit box
int32_t halfWidth = virtualKeyDefinition.width / 2;
int32_t halfHeight = virtualKeyDefinition.height / 2;
virtualKey.hitLeft = (virtualKeyDefinition.centerX - halfWidth)
* touchScreenWidth / mSurfaceWidth + touchScreenLeft;
virtualKey.hitRight= (virtualKeyDefinition.centerX + halfWidth)
* touchScreenWidth / mSurfaceWidth + touchScreenLeft;
virtualKey.hitTop = (virtualKeyDefinition.centerY - halfHeight)
* touchScreenHeight / mSurfaceHeight + touchScreenTop;
virtualKey.hitBottom = (virtualKeyDefinition.centerY + halfHeight)
* touchScreenHeight / mSurfaceHeight + touchScreenTop;
}
}
void TouchInputMapper::dumpVirtualKeys(String8& dump) {
if (!mVirtualKeys.isEmpty()) {
dump.append(INDENT3 "Virtual Keys:\n");
for (size_t i = 0; i < mVirtualKeys.size(); i++) {
const VirtualKey& virtualKey = mVirtualKeys.itemAt(i);
dump.appendFormat(INDENT4 "%d: scanCode=%d, keyCode=%d, "
"hitLeft=%d, hitRight=%d, hitTop=%d, hitBottom=%d\n",
i, virtualKey.scanCode, virtualKey.keyCode,
virtualKey.hitLeft, virtualKey.hitRight,
virtualKey.hitTop, virtualKey.hitBottom);
}
}
}
void TouchInputMapper::parseCalibration() {
const PropertyMap& in = getDevice()->getConfiguration();
Calibration& out = mCalibration;
// Size
out.sizeCalibration = Calibration::SIZE_CALIBRATION_DEFAULT;
String8 sizeCalibrationString;
if (in.tryGetProperty(String8("touch.size.calibration"), sizeCalibrationString)) {
if (sizeCalibrationString == "none") {
out.sizeCalibration = Calibration::SIZE_CALIBRATION_NONE;
} else if (sizeCalibrationString == "geometric") {
out.sizeCalibration = Calibration::SIZE_CALIBRATION_GEOMETRIC;
} else if (sizeCalibrationString == "diameter") {
out.sizeCalibration = Calibration::SIZE_CALIBRATION_DIAMETER;
} else if (sizeCalibrationString == "box") {
out.sizeCalibration = Calibration::SIZE_CALIBRATION_BOX;
} else if (sizeCalibrationString == "area") {
out.sizeCalibration = Calibration::SIZE_CALIBRATION_AREA;
} else if (sizeCalibrationString != "default") {
ALOGW("Invalid value for touch.size.calibration: '%s'",
sizeCalibrationString.string());
}
}
out.haveSizeScale = in.tryGetProperty(String8("touch.size.scale"),
out.sizeScale);
out.haveSizeBias = in.tryGetProperty(String8("touch.size.bias"),
out.sizeBias);
out.haveSizeIsSummed = in.tryGetProperty(String8("touch.size.isSummed"),
out.sizeIsSummed);
// Pressure
out.pressureCalibration = Calibration::PRESSURE_CALIBRATION_DEFAULT;
String8 pressureCalibrationString;
if (in.tryGetProperty(String8("touch.pressure.calibration"), pressureCalibrationString)) {
if (pressureCalibrationString == "none") {
out.pressureCalibration = Calibration::PRESSURE_CALIBRATION_NONE;
} else if (pressureCalibrationString == "physical") {
out.pressureCalibration = Calibration::PRESSURE_CALIBRATION_PHYSICAL;
} else if (pressureCalibrationString == "amplitude") {
out.pressureCalibration = Calibration::PRESSURE_CALIBRATION_AMPLITUDE;
} else if (pressureCalibrationString != "default") {
ALOGW("Invalid value for touch.pressure.calibration: '%s'",
pressureCalibrationString.string());
}
}
out.havePressureScale = in.tryGetProperty(String8("touch.pressure.scale"),
out.pressureScale);
// Orientation
out.orientationCalibration = Calibration::ORIENTATION_CALIBRATION_DEFAULT;
String8 orientationCalibrationString;
if (in.tryGetProperty(String8("touch.orientation.calibration"), orientationCalibrationString)) {
if (orientationCalibrationString == "none") {
out.orientationCalibration = Calibration::ORIENTATION_CALIBRATION_NONE;
} else if (orientationCalibrationString == "interpolated") {
out.orientationCalibration = Calibration::ORIENTATION_CALIBRATION_INTERPOLATED;
} else if (orientationCalibrationString == "vector") {
out.orientationCalibration = Calibration::ORIENTATION_CALIBRATION_VECTOR;
} else if (orientationCalibrationString != "default") {
ALOGW("Invalid value for touch.orientation.calibration: '%s'",
orientationCalibrationString.string());
}
}
// Distance
out.distanceCalibration = Calibration::DISTANCE_CALIBRATION_DEFAULT;
String8 distanceCalibrationString;
if (in.tryGetProperty(String8("touch.distance.calibration"), distanceCalibrationString)) {
if (distanceCalibrationString == "none") {
out.distanceCalibration = Calibration::DISTANCE_CALIBRATION_NONE;
} else if (distanceCalibrationString == "scaled") {
out.distanceCalibration = Calibration::DISTANCE_CALIBRATION_SCALED;
} else if (distanceCalibrationString != "default") {
ALOGW("Invalid value for touch.distance.calibration: '%s'",
distanceCalibrationString.string());
}
}
out.haveDistanceScale = in.tryGetProperty(String8("touch.distance.scale"),
out.distanceScale);
out.coverageCalibration = Calibration::COVERAGE_CALIBRATION_DEFAULT;
String8 coverageCalibrationString;
if (in.tryGetProperty(String8("touch.coverage.calibration"), coverageCalibrationString)) {
if (coverageCalibrationString == "none") {
out.coverageCalibration = Calibration::COVERAGE_CALIBRATION_NONE;
} else if (coverageCalibrationString == "box") {
out.coverageCalibration = Calibration::COVERAGE_CALIBRATION_BOX;
} else if (coverageCalibrationString != "default") {
ALOGW("Invalid value for touch.coverage.calibration: '%s'",
coverageCalibrationString.string());
}
}
}
void TouchInputMapper::resolveCalibration() {
// Size
if (mRawPointerAxes.touchMajor.valid || mRawPointerAxes.toolMajor.valid) {
if (mCalibration.sizeCalibration == Calibration::SIZE_CALIBRATION_DEFAULT) {
mCalibration.sizeCalibration = Calibration::SIZE_CALIBRATION_GEOMETRIC;
}
} else {
mCalibration.sizeCalibration = Calibration::SIZE_CALIBRATION_NONE;
}
// Pressure
if (mRawPointerAxes.pressure.valid) {
if (mCalibration.pressureCalibration == Calibration::PRESSURE_CALIBRATION_DEFAULT) {
mCalibration.pressureCalibration = Calibration::PRESSURE_CALIBRATION_PHYSICAL;
}
} else {
mCalibration.pressureCalibration = Calibration::PRESSURE_CALIBRATION_NONE;
}
// Orientation
if (mRawPointerAxes.orientation.valid) {
if (mCalibration.orientationCalibration == Calibration::ORIENTATION_CALIBRATION_DEFAULT) {
mCalibration.orientationCalibration = Calibration::ORIENTATION_CALIBRATION_INTERPOLATED;
}
} else {
mCalibration.orientationCalibration = Calibration::ORIENTATION_CALIBRATION_NONE;
}
// Distance
if (mRawPointerAxes.distance.valid) {
if (mCalibration.distanceCalibration == Calibration::DISTANCE_CALIBRATION_DEFAULT) {
mCalibration.distanceCalibration = Calibration::DISTANCE_CALIBRATION_SCALED;
}
} else {
mCalibration.distanceCalibration = Calibration::DISTANCE_CALIBRATION_NONE;
}
// Coverage
if (mCalibration.coverageCalibration == Calibration::COVERAGE_CALIBRATION_DEFAULT) {
mCalibration.coverageCalibration = Calibration::COVERAGE_CALIBRATION_NONE;
}
}
void TouchInputMapper::dumpCalibration(String8& dump) {
dump.append(INDENT3 "Calibration:\n");
// Size
switch (mCalibration.sizeCalibration) {
case Calibration::SIZE_CALIBRATION_NONE:
dump.append(INDENT4 "touch.size.calibration: none\n");
break;
case Calibration::SIZE_CALIBRATION_GEOMETRIC:
dump.append(INDENT4 "touch.size.calibration: geometric\n");
break;
case Calibration::SIZE_CALIBRATION_DIAMETER:
dump.append(INDENT4 "touch.size.calibration: diameter\n");
break;
case Calibration::SIZE_CALIBRATION_BOX:
dump.append(INDENT4 "touch.size.calibration: box\n");
break;
case Calibration::SIZE_CALIBRATION_AREA:
dump.append(INDENT4 "touch.size.calibration: area\n");
break;
default:
ALOG_ASSERT(false);
}
if (mCalibration.haveSizeScale) {
dump.appendFormat(INDENT4 "touch.size.scale: %0.3f\n",
mCalibration.sizeScale);
}
if (mCalibration.haveSizeBias) {
dump.appendFormat(INDENT4 "touch.size.bias: %0.3f\n",
mCalibration.sizeBias);
}
if (mCalibration.haveSizeIsSummed) {
dump.appendFormat(INDENT4 "touch.size.isSummed: %s\n",
toString(mCalibration.sizeIsSummed));
}
// Pressure
switch (mCalibration.pressureCalibration) {
case Calibration::PRESSURE_CALIBRATION_NONE:
dump.append(INDENT4 "touch.pressure.calibration: none\n");
break;
case Calibration::PRESSURE_CALIBRATION_PHYSICAL:
dump.append(INDENT4 "touch.pressure.calibration: physical\n");
break;
case Calibration::PRESSURE_CALIBRATION_AMPLITUDE:
dump.append(INDENT4 "touch.pressure.calibration: amplitude\n");
break;
default:
ALOG_ASSERT(false);
}
if (mCalibration.havePressureScale) {
dump.appendFormat(INDENT4 "touch.pressure.scale: %0.3f\n",
mCalibration.pressureScale);
}
// Orientation
switch (mCalibration.orientationCalibration) {
case Calibration::ORIENTATION_CALIBRATION_NONE:
dump.append(INDENT4 "touch.orientation.calibration: none\n");
break;
case Calibration::ORIENTATION_CALIBRATION_INTERPOLATED:
dump.append(INDENT4 "touch.orientation.calibration: interpolated\n");
break;
case Calibration::ORIENTATION_CALIBRATION_VECTOR:
dump.append(INDENT4 "touch.orientation.calibration: vector\n");
break;
default:
ALOG_ASSERT(false);
}
// Distance
switch (mCalibration.distanceCalibration) {
case Calibration::DISTANCE_CALIBRATION_NONE:
dump.append(INDENT4 "touch.distance.calibration: none\n");
break;
case Calibration::DISTANCE_CALIBRATION_SCALED:
dump.append(INDENT4 "touch.distance.calibration: scaled\n");
break;
default:
ALOG_ASSERT(false);
}
if (mCalibration.haveDistanceScale) {
dump.appendFormat(INDENT4 "touch.distance.scale: %0.3f\n",
mCalibration.distanceScale);
}
switch (mCalibration.coverageCalibration) {
case Calibration::COVERAGE_CALIBRATION_NONE:
dump.append(INDENT4 "touch.coverage.calibration: none\n");
break;
case Calibration::COVERAGE_CALIBRATION_BOX:
dump.append(INDENT4 "touch.coverage.calibration: box\n");
break;
default:
ALOG_ASSERT(false);
}
}
void TouchInputMapper::reset(nsecs_t when) {
mCursorButtonAccumulator.reset(getDevice());
mCursorScrollAccumulator.reset(getDevice());
mTouchButtonAccumulator.reset(getDevice());
mPointerVelocityControl.reset();
mWheelXVelocityControl.reset();
mWheelYVelocityControl.reset();
mCurrentRawPointerData.clear();
mLastRawPointerData.clear();
mCurrentCookedPointerData.clear();
mLastCookedPointerData.clear();
mCurrentButtonState = 0;
mLastButtonState = 0;
mCurrentRawVScroll = 0;
mCurrentRawHScroll = 0;
mCurrentFingerIdBits.clear();
mLastFingerIdBits.clear();
mCurrentStylusIdBits.clear();
mLastStylusIdBits.clear();
mCurrentMouseIdBits.clear();
mLastMouseIdBits.clear();
mPointerUsage = POINTER_USAGE_NONE;
mSentHoverEnter = false;
mDownTime = 0;
mCurrentVirtualKey.down = false;
mPointerGesture.reset();
mPointerSimple.reset();
if (mPointerController != NULL) {
mPointerController->fade(PointerControllerInterface::TRANSITION_GRADUAL);
mPointerController->clearSpots();
}
InputMapper::reset(when);
}
void TouchInputMapper::process(const RawEvent* rawEvent) {
mCursorButtonAccumulator.process(rawEvent);
mCursorScrollAccumulator.process(rawEvent);
mTouchButtonAccumulator.process(rawEvent);
if (rawEvent->type == EV_SYN && rawEvent->code == SYN_REPORT) {
sync(rawEvent->when);
}
}
void TouchInputMapper::sync(nsecs_t when) {
// Sync button state.
mCurrentButtonState = mTouchButtonAccumulator.getButtonState()
| mCursorButtonAccumulator.getButtonState();
// Sync scroll state.
mCurrentRawVScroll = mCursorScrollAccumulator.getRelativeVWheel();
mCurrentRawHScroll = mCursorScrollAccumulator.getRelativeHWheel();
mCursorScrollAccumulator.finishSync();
// Sync touch state.
bool havePointerIds = true;
mCurrentRawPointerData.clear();
syncTouch(when, &havePointerIds);
#if DEBUG_RAW_EVENTS
if (!havePointerIds) {
ALOGD("syncTouch: pointerCount %d -> %d, no pointer ids",
mLastRawPointerData.pointerCount,
mCurrentRawPointerData.pointerCount);
} else {
ALOGD("syncTouch: pointerCount %d -> %d, touching ids 0x%08x -> 0x%08x, "
"hovering ids 0x%08x -> 0x%08x",
mLastRawPointerData.pointerCount,
mCurrentRawPointerData.pointerCount,
mLastRawPointerData.touchingIdBits.value,
mCurrentRawPointerData.touchingIdBits.value,
mLastRawPointerData.hoveringIdBits.value,
mCurrentRawPointerData.hoveringIdBits.value);
}
#endif
// Reset state that we will compute below.
mCurrentFingerIdBits.clear();
mCurrentStylusIdBits.clear();
mCurrentMouseIdBits.clear();
mCurrentCookedPointerData.clear();
if (mDeviceMode == DEVICE_MODE_DISABLED) {
// Drop all input if the device is disabled.
mCurrentRawPointerData.clear();
mCurrentButtonState = 0;
} else {
// Preprocess pointer data.
if (!havePointerIds) {
assignPointerIds();
}
// Handle policy on initial down or hover events.
uint32_t policyFlags = 0;
bool initialDown = mLastRawPointerData.pointerCount == 0
&& mCurrentRawPointerData.pointerCount != 0;
bool buttonsPressed = mCurrentButtonState & ~mLastButtonState;
if (initialDown || buttonsPressed) {
// If this is a touch screen, hide the pointer on an initial down.
if (mDeviceMode == DEVICE_MODE_DIRECT) {
getContext()->fadePointer();
}
// Initial downs on external touch devices should wake the device.
// We don't do this for internal touch screens to prevent them from waking
// up in your pocket.
// TODO: Use the input device configuration to control this behavior more finely.
if (getDevice()->isExternal()) {
policyFlags |= POLICY_FLAG_WAKE_DROPPED;
}
}
// Synthesize key down from raw buttons if needed.
synthesizeButtonKeys(getContext(), AKEY_EVENT_ACTION_DOWN, when, getDeviceId(), mSource,
policyFlags, mLastButtonState, mCurrentButtonState);
// Consume raw off-screen touches before cooking pointer data.
// If touches are consumed, subsequent code will not receive any pointer data.
if (consumeRawTouches(when, policyFlags)) {
mCurrentRawPointerData.clear();
}
// Cook pointer data. This call populates the mCurrentCookedPointerData structure
// with cooked pointer data that has the same ids and indices as the raw data.
// The following code can use either the raw or cooked data, as needed.
cookPointerData();
// Dispatch the touches either directly or by translation through a pointer on screen.
if (mDeviceMode == DEVICE_MODE_POINTER) {
for (BitSet32 idBits(mCurrentRawPointerData.touchingIdBits); !idBits.isEmpty(); ) {
uint32_t id = idBits.clearFirstMarkedBit();
const RawPointerData::Pointer& pointer = mCurrentRawPointerData.pointerForId(id);
if (pointer.toolType == AMOTION_EVENT_TOOL_TYPE_STYLUS
|| pointer.toolType == AMOTION_EVENT_TOOL_TYPE_ERASER) {
mCurrentStylusIdBits.markBit(id);
} else if (pointer.toolType == AMOTION_EVENT_TOOL_TYPE_FINGER
|| pointer.toolType == AMOTION_EVENT_TOOL_TYPE_UNKNOWN) {
mCurrentFingerIdBits.markBit(id);
} else if (pointer.toolType == AMOTION_EVENT_TOOL_TYPE_MOUSE) {
mCurrentMouseIdBits.markBit(id);
}
}
for (BitSet32 idBits(mCurrentRawPointerData.hoveringIdBits); !idBits.isEmpty(); ) {
uint32_t id = idBits.clearFirstMarkedBit();
const RawPointerData::Pointer& pointer = mCurrentRawPointerData.pointerForId(id);
if (pointer.toolType == AMOTION_EVENT_TOOL_TYPE_STYLUS
|| pointer.toolType == AMOTION_EVENT_TOOL_TYPE_ERASER) {
mCurrentStylusIdBits.markBit(id);
}
}
// Stylus takes precedence over all tools, then mouse, then finger.
PointerUsage pointerUsage = mPointerUsage;
if (!mCurrentStylusIdBits.isEmpty()) {
mCurrentMouseIdBits.clear();
mCurrentFingerIdBits.clear();
pointerUsage = POINTER_USAGE_STYLUS;
} else if (!mCurrentMouseIdBits.isEmpty()) {
mCurrentFingerIdBits.clear();
pointerUsage = POINTER_USAGE_MOUSE;
} else if (!mCurrentFingerIdBits.isEmpty() || isPointerDown(mCurrentButtonState)) {
pointerUsage = POINTER_USAGE_GESTURES;
}
dispatchPointerUsage(when, policyFlags, pointerUsage);
} else {
if (mDeviceMode == DEVICE_MODE_DIRECT
&& mConfig.showTouches && mPointerController != NULL) {
mPointerController->setPresentation(PointerControllerInterface::PRESENTATION_SPOT);
mPointerController->fade(PointerControllerInterface::TRANSITION_GRADUAL);
mPointerController->setButtonState(mCurrentButtonState);
mPointerController->setSpots(mCurrentCookedPointerData.pointerCoords,
mCurrentCookedPointerData.idToIndex,
mCurrentCookedPointerData.touchingIdBits);
}
dispatchHoverExit(when, policyFlags);
dispatchTouches(when, policyFlags);
dispatchHoverEnterAndMove(when, policyFlags);
}
// Synthesize key up from raw buttons if needed.
synthesizeButtonKeys(getContext(), AKEY_EVENT_ACTION_UP, when, getDeviceId(), mSource,
policyFlags, mLastButtonState, mCurrentButtonState);
}
// Copy current touch to last touch in preparation for the next cycle.
mLastRawPointerData.copyFrom(mCurrentRawPointerData);
mLastCookedPointerData.copyFrom(mCurrentCookedPointerData);
mLastButtonState = mCurrentButtonState;
mLastFingerIdBits = mCurrentFingerIdBits;
mLastStylusIdBits = mCurrentStylusIdBits;
mLastMouseIdBits = mCurrentMouseIdBits;
// Clear some transient state.
mCurrentRawVScroll = 0;
mCurrentRawHScroll = 0;
}
void TouchInputMapper::timeoutExpired(nsecs_t when) {
if (mDeviceMode == DEVICE_MODE_POINTER) {
if (mPointerUsage == POINTER_USAGE_GESTURES) {
dispatchPointerGestures(when, 0 /*policyFlags*/, true /*isTimeout*/);
}
}
}
bool TouchInputMapper::consumeRawTouches(nsecs_t when, uint32_t policyFlags) {
// Check for release of a virtual key.
if (mCurrentVirtualKey.down) {
if (mCurrentRawPointerData.touchingIdBits.isEmpty()) {
// Pointer went up while virtual key was down.
mCurrentVirtualKey.down = false;
if (!mCurrentVirtualKey.ignored) {
#if DEBUG_VIRTUAL_KEYS
ALOGD("VirtualKeys: Generating key up: keyCode=%d, scanCode=%d",
mCurrentVirtualKey.keyCode, mCurrentVirtualKey.scanCode);
#endif
dispatchVirtualKey(when, policyFlags,
AKEY_EVENT_ACTION_UP,
AKEY_EVENT_FLAG_FROM_SYSTEM | AKEY_EVENT_FLAG_VIRTUAL_HARD_KEY);
}
return true;
}
if (mCurrentRawPointerData.touchingIdBits.count() == 1) {
uint32_t id = mCurrentRawPointerData.touchingIdBits.firstMarkedBit();
const RawPointerData::Pointer& pointer = mCurrentRawPointerData.pointerForId(id);
const VirtualKey* virtualKey = findVirtualKeyHit(pointer.x, pointer.y);
if (virtualKey && virtualKey->keyCode == mCurrentVirtualKey.keyCode) {
// Pointer is still within the space of the virtual key.
return true;
}
}
// Pointer left virtual key area or another pointer also went down.
// Send key cancellation but do not consume the touch yet.
// This is useful when the user swipes through from the virtual key area
// into the main display surface.
mCurrentVirtualKey.down = false;
if (!mCurrentVirtualKey.ignored) {
#if DEBUG_VIRTUAL_KEYS
ALOGD("VirtualKeys: Canceling key: keyCode=%d, scanCode=%d",
mCurrentVirtualKey.keyCode, mCurrentVirtualKey.scanCode);
#endif
dispatchVirtualKey(when, policyFlags,
AKEY_EVENT_ACTION_UP,
AKEY_EVENT_FLAG_FROM_SYSTEM | AKEY_EVENT_FLAG_VIRTUAL_HARD_KEY
| AKEY_EVENT_FLAG_CANCELED);
}
}
if (mLastRawPointerData.touchingIdBits.isEmpty()
&& !mCurrentRawPointerData.touchingIdBits.isEmpty()) {
// Pointer just went down. Check for virtual key press or off-screen touches.
uint32_t id = mCurrentRawPointerData.touchingIdBits.firstMarkedBit();
const RawPointerData::Pointer& pointer = mCurrentRawPointerData.pointerForId(id);
if (!isPointInsideSurface(pointer.x, pointer.y)) {
// If exactly one pointer went down, check for virtual key hit.
// Otherwise we will drop the entire stroke.
if (mCurrentRawPointerData.touchingIdBits.count() == 1) {
const VirtualKey* virtualKey = findVirtualKeyHit(pointer.x, pointer.y);
if (virtualKey) {
mCurrentVirtualKey.down = true;
mCurrentVirtualKey.downTime = when;
mCurrentVirtualKey.keyCode = virtualKey->keyCode;
mCurrentVirtualKey.scanCode = virtualKey->scanCode;
mCurrentVirtualKey.ignored = mContext->shouldDropVirtualKey(
when, getDevice(), virtualKey->keyCode, virtualKey->scanCode);
if (!mCurrentVirtualKey.ignored) {
#if DEBUG_VIRTUAL_KEYS
ALOGD("VirtualKeys: Generating key down: keyCode=%d, scanCode=%d",
mCurrentVirtualKey.keyCode,
mCurrentVirtualKey.scanCode);
#endif
dispatchVirtualKey(when, policyFlags,
AKEY_EVENT_ACTION_DOWN,
AKEY_EVENT_FLAG_FROM_SYSTEM | AKEY_EVENT_FLAG_VIRTUAL_HARD_KEY);
}
}
}
return true;
}
}
// Disable all virtual key touches that happen within a short time interval of the
// most recent touch within the screen area. The idea is to filter out stray
// virtual key presses when interacting with the touch screen.
//
// Problems we're trying to solve:
//
// 1. While scrolling a list or dragging the window shade, the user swipes down into a
// virtual key area that is implemented by a separate touch panel and accidentally
// triggers a virtual key.
//
// 2. While typing in the on screen keyboard, the user taps slightly outside the screen
// area and accidentally triggers a virtual key. This often happens when virtual keys
// are layed out below the screen near to where the on screen keyboard's space bar
// is displayed.
if (mConfig.virtualKeyQuietTime > 0 && !mCurrentRawPointerData.touchingIdBits.isEmpty()) {
mContext->disableVirtualKeysUntil(when + mConfig.virtualKeyQuietTime);
}
return false;
}
void TouchInputMapper::dispatchVirtualKey(nsecs_t when, uint32_t policyFlags,
int32_t keyEventAction, int32_t keyEventFlags) {
int32_t keyCode = mCurrentVirtualKey.keyCode;
int32_t scanCode = mCurrentVirtualKey.scanCode;
nsecs_t downTime = mCurrentVirtualKey.downTime;
int32_t metaState = mContext->getGlobalMetaState();
policyFlags |= POLICY_FLAG_VIRTUAL;
NotifyKeyArgs args(when, getDeviceId(), AINPUT_SOURCE_KEYBOARD, policyFlags,
keyEventAction, keyEventFlags, keyCode, scanCode, metaState, downTime);
getListener()->notifyKey(&args);
}
void TouchInputMapper::dispatchTouches(nsecs_t when, uint32_t policyFlags) {
BitSet32 currentIdBits = mCurrentCookedPointerData.touchingIdBits;
BitSet32 lastIdBits = mLastCookedPointerData.touchingIdBits;
int32_t metaState = getContext()->getGlobalMetaState();
int32_t buttonState = mCurrentButtonState;
if (currentIdBits == lastIdBits) {
if (!currentIdBits.isEmpty()) {
// No pointer id changes so this is a move event.
// The listener takes care of batching moves so we don't have to deal with that here.
dispatchMotion(when, policyFlags, mSource,
AMOTION_EVENT_ACTION_MOVE, 0, metaState, buttonState,
AMOTION_EVENT_EDGE_FLAG_NONE,
mCurrentCookedPointerData.pointerProperties,
mCurrentCookedPointerData.pointerCoords,
mCurrentCookedPointerData.idToIndex,
currentIdBits, -1,
mOrientedXPrecision, mOrientedYPrecision, mDownTime);
}
} else {
// There may be pointers going up and pointers going down and pointers moving
// all at the same time.
BitSet32 upIdBits(lastIdBits.value & ~currentIdBits.value);
BitSet32 downIdBits(currentIdBits.value & ~lastIdBits.value);
BitSet32 moveIdBits(lastIdBits.value & currentIdBits.value);
BitSet32 dispatchedIdBits(lastIdBits.value);
// Update last coordinates of pointers that have moved so that we observe the new
// pointer positions at the same time as other pointers that have just gone up.
bool moveNeeded = updateMovedPointers(
mCurrentCookedPointerData.pointerProperties,
mCurrentCookedPointerData.pointerCoords,
mCurrentCookedPointerData.idToIndex,
mLastCookedPointerData.pointerProperties,
mLastCookedPointerData.pointerCoords,
mLastCookedPointerData.idToIndex,
moveIdBits);
if (buttonState != mLastButtonState) {
moveNeeded = true;
}
// Dispatch pointer up events.
while (!upIdBits.isEmpty()) {
uint32_t upId = upIdBits.clearFirstMarkedBit();
dispatchMotion(when, policyFlags, mSource,
AMOTION_EVENT_ACTION_POINTER_UP, 0, metaState, buttonState, 0,
mLastCookedPointerData.pointerProperties,
mLastCookedPointerData.pointerCoords,
mLastCookedPointerData.idToIndex,
dispatchedIdBits, upId,
mOrientedXPrecision, mOrientedYPrecision, mDownTime);
dispatchedIdBits.clearBit(upId);
}
// Dispatch move events if any of the remaining pointers moved from their old locations.
// Although applications receive new locations as part of individual pointer up
// events, they do not generally handle them except when presented in a move event.
if (moveNeeded) {
ALOG_ASSERT(moveIdBits.value == dispatchedIdBits.value);
dispatchMotion(when, policyFlags, mSource,
AMOTION_EVENT_ACTION_MOVE, 0, metaState, buttonState, 0,
mCurrentCookedPointerData.pointerProperties,
mCurrentCookedPointerData.pointerCoords,
mCurrentCookedPointerData.idToIndex,
dispatchedIdBits, -1,
mOrientedXPrecision, mOrientedYPrecision, mDownTime);
}
// Dispatch pointer down events using the new pointer locations.
while (!downIdBits.isEmpty()) {
uint32_t downId = downIdBits.clearFirstMarkedBit();
dispatchedIdBits.markBit(downId);
if (dispatchedIdBits.count() == 1) {
// First pointer is going down. Set down time.
mDownTime = when;
}
dispatchMotion(when, policyFlags, mSource,
AMOTION_EVENT_ACTION_POINTER_DOWN, 0, metaState, buttonState, 0,
mCurrentCookedPointerData.pointerProperties,
mCurrentCookedPointerData.pointerCoords,
mCurrentCookedPointerData.idToIndex,
dispatchedIdBits, downId,
mOrientedXPrecision, mOrientedYPrecision, mDownTime);
}
}
}
void TouchInputMapper::dispatchHoverExit(nsecs_t when, uint32_t policyFlags) {
if (mSentHoverEnter &&
(mCurrentCookedPointerData.hoveringIdBits.isEmpty()
|| !mCurrentCookedPointerData.touchingIdBits.isEmpty())) {
int32_t metaState = getContext()->getGlobalMetaState();
dispatchMotion(when, policyFlags, mSource,
AMOTION_EVENT_ACTION_HOVER_EXIT, 0, metaState, mLastButtonState, 0,
mLastCookedPointerData.pointerProperties,
mLastCookedPointerData.pointerCoords,
mLastCookedPointerData.idToIndex,
mLastCookedPointerData.hoveringIdBits, -1,
mOrientedXPrecision, mOrientedYPrecision, mDownTime);
mSentHoverEnter = false;
}
}
void TouchInputMapper::dispatchHoverEnterAndMove(nsecs_t when, uint32_t policyFlags) {
if (mCurrentCookedPointerData.touchingIdBits.isEmpty()
&& !mCurrentCookedPointerData.hoveringIdBits.isEmpty()) {
int32_t metaState = getContext()->getGlobalMetaState();
if (!mSentHoverEnter) {
dispatchMotion(when, policyFlags, mSource,
AMOTION_EVENT_ACTION_HOVER_ENTER, 0, metaState, mCurrentButtonState, 0,
mCurrentCookedPointerData.pointerProperties,
mCurrentCookedPointerData.pointerCoords,
mCurrentCookedPointerData.idToIndex,
mCurrentCookedPointerData.hoveringIdBits, -1,
mOrientedXPrecision, mOrientedYPrecision, mDownTime);
mSentHoverEnter = true;
}
dispatchMotion(when, policyFlags, mSource,
AMOTION_EVENT_ACTION_HOVER_MOVE, 0, metaState, mCurrentButtonState, 0,
mCurrentCookedPointerData.pointerProperties,
mCurrentCookedPointerData.pointerCoords,
mCurrentCookedPointerData.idToIndex,
mCurrentCookedPointerData.hoveringIdBits, -1,
mOrientedXPrecision, mOrientedYPrecision, mDownTime);
}
}
void TouchInputMapper::cookPointerData() {
uint32_t currentPointerCount = mCurrentRawPointerData.pointerCount;
mCurrentCookedPointerData.clear();
mCurrentCookedPointerData.pointerCount = currentPointerCount;
mCurrentCookedPointerData.hoveringIdBits = mCurrentRawPointerData.hoveringIdBits;
mCurrentCookedPointerData.touchingIdBits = mCurrentRawPointerData.touchingIdBits;
// Walk through the the active pointers and map device coordinates onto
// surface coordinates and adjust for display orientation.
for (uint32_t i = 0; i < currentPointerCount; i++) {
const RawPointerData::Pointer& in = mCurrentRawPointerData.pointers[i];
// Size
float touchMajor, touchMinor, toolMajor, toolMinor, size;
switch (mCalibration.sizeCalibration) {
case Calibration::SIZE_CALIBRATION_GEOMETRIC:
case Calibration::SIZE_CALIBRATION_DIAMETER:
case Calibration::SIZE_CALIBRATION_BOX:
case Calibration::SIZE_CALIBRATION_AREA:
if (mRawPointerAxes.touchMajor.valid && mRawPointerAxes.toolMajor.valid) {
touchMajor = in.touchMajor;
touchMinor = mRawPointerAxes.touchMinor.valid ? in.touchMinor : in.touchMajor;
toolMajor = in.toolMajor;
toolMinor = mRawPointerAxes.toolMinor.valid ? in.toolMinor : in.toolMajor;
size = mRawPointerAxes.touchMinor.valid
? avg(in.touchMajor, in.touchMinor) : in.touchMajor;
} else if (mRawPointerAxes.touchMajor.valid) {
toolMajor = touchMajor = in.touchMajor;
toolMinor = touchMinor = mRawPointerAxes.touchMinor.valid
? in.touchMinor : in.touchMajor;
size = mRawPointerAxes.touchMinor.valid
? avg(in.touchMajor, in.touchMinor) : in.touchMajor;
} else if (mRawPointerAxes.toolMajor.valid) {
touchMajor = toolMajor = in.toolMajor;
touchMinor = toolMinor = mRawPointerAxes.toolMinor.valid
? in.toolMinor : in.toolMajor;
size = mRawPointerAxes.toolMinor.valid
? avg(in.toolMajor, in.toolMinor) : in.toolMajor;
} else {
ALOG_ASSERT(false, "No touch or tool axes. "
"Size calibration should have been resolved to NONE.");
touchMajor = 0;
touchMinor = 0;
toolMajor = 0;
toolMinor = 0;
size = 0;
}
if (mCalibration.haveSizeIsSummed && mCalibration.sizeIsSummed) {
uint32_t touchingCount = mCurrentRawPointerData.touchingIdBits.count();
if (touchingCount > 1) {
touchMajor /= touchingCount;
touchMinor /= touchingCount;
toolMajor /= touchingCount;
toolMinor /= touchingCount;
size /= touchingCount;
}
}
if (mCalibration.sizeCalibration == Calibration::SIZE_CALIBRATION_GEOMETRIC) {
touchMajor *= mGeometricScale;
touchMinor *= mGeometricScale;
toolMajor *= mGeometricScale;
toolMinor *= mGeometricScale;
} else if (mCalibration.sizeCalibration == Calibration::SIZE_CALIBRATION_AREA) {
touchMajor = touchMajor > 0 ? sqrtf(touchMajor) : 0;
touchMinor = touchMajor;
toolMajor = toolMajor > 0 ? sqrtf(toolMajor) : 0;
toolMinor = toolMajor;
} else if (mCalibration.sizeCalibration == Calibration::SIZE_CALIBRATION_DIAMETER) {
touchMinor = touchMajor;
toolMinor = toolMajor;
}
mCalibration.applySizeScaleAndBias(&touchMajor);
mCalibration.applySizeScaleAndBias(&touchMinor);
mCalibration.applySizeScaleAndBias(&toolMajor);
mCalibration.applySizeScaleAndBias(&toolMinor);
size *= mSizeScale;
break;
default:
touchMajor = 0;
touchMinor = 0;
toolMajor = 0;
toolMinor = 0;
size = 0;
break;
}
// Pressure
float pressure;
switch (mCalibration.pressureCalibration) {
case Calibration::PRESSURE_CALIBRATION_PHYSICAL:
case Calibration::PRESSURE_CALIBRATION_AMPLITUDE:
pressure = in.pressure * mPressureScale;
break;
default:
pressure = in.isHovering ? 0 : 1;
break;
}
// Tilt and Orientation
float tilt;
float orientation;
if (mHaveTilt) {
float tiltXAngle = (in.tiltX - mTiltXCenter) * mTiltXScale;
float tiltYAngle = (in.tiltY - mTiltYCenter) * mTiltYScale;
orientation = atan2f(-sinf(tiltXAngle), sinf(tiltYAngle));
tilt = acosf(cosf(tiltXAngle) * cosf(tiltYAngle));
} else {
tilt = 0;
switch (mCalibration.orientationCalibration) {
case Calibration::ORIENTATION_CALIBRATION_INTERPOLATED:
orientation = in.orientation * mOrientationScale;
break;
case Calibration::ORIENTATION_CALIBRATION_VECTOR: {
int32_t c1 = signExtendNybble((in.orientation & 0xf0) >> 4);
int32_t c2 = signExtendNybble(in.orientation & 0x0f);
if (c1 != 0 || c2 != 0) {
orientation = atan2f(c1, c2) * 0.5f;
float confidence = hypotf(c1, c2);
float scale = 1.0f + confidence / 16.0f;
touchMajor *= scale;
touchMinor /= scale;
toolMajor *= scale;
toolMinor /= scale;
} else {
orientation = 0;
}
break;
}
default:
orientation = 0;
}
}
// Distance
float distance;
switch (mCalibration.distanceCalibration) {
case Calibration::DISTANCE_CALIBRATION_SCALED:
distance = in.distance * mDistanceScale;
break;
default:
distance = 0;
}
// Coverage
int32_t rawLeft, rawTop, rawRight, rawBottom;
switch (mCalibration.coverageCalibration) {
case Calibration::COVERAGE_CALIBRATION_BOX:
rawLeft = (in.toolMinor & 0xffff0000) >> 16;
rawRight = in.toolMinor & 0x0000ffff;
rawBottom = in.toolMajor & 0x0000ffff;
rawTop = (in.toolMajor & 0xffff0000) >> 16;
break;
default:
rawLeft = rawTop = rawRight = rawBottom = 0;
break;
}
// X, Y, and the bounding box for coverage information
// Adjust coords for surface orientation.
float x, y, left, top, right, bottom;
int32_t adjustedorientation = (mSurfaceOrientation + mHWRotation) % 4;
switch (adjustedorientation) {
case DISPLAY_ORIENTATION_90:
x = float(in.y - mRawPointerAxes.y.minValue) * mYScale + mYTranslate;
y = float(mRawPointerAxes.x.maxValue - in.x) * mXScale + mXTranslate;
left = float(rawTop - mRawPointerAxes.y.minValue) * mYScale + mYTranslate;
right = float(rawBottom- mRawPointerAxes.y.minValue) * mYScale + mYTranslate;
bottom = float(mRawPointerAxes.x.maxValue - rawLeft) * mXScale + mXTranslate;
top = float(mRawPointerAxes.x.maxValue - rawRight) * mXScale + mXTranslate;
orientation -= M_PI_2;
if (orientation < mOrientedRanges.orientation.min) {
orientation += (mOrientedRanges.orientation.max - mOrientedRanges.orientation.min);
}
break;
case DISPLAY_ORIENTATION_180:
x = float(mRawPointerAxes.x.maxValue - in.x) * mXScale + mXTranslate;
y = float(mRawPointerAxes.y.maxValue - in.y) * mYScale + mYTranslate;
left = float(mRawPointerAxes.x.maxValue - rawRight) * mXScale + mXTranslate;
right = float(mRawPointerAxes.x.maxValue - rawLeft) * mXScale + mXTranslate;
bottom = float(mRawPointerAxes.y.maxValue - rawTop) * mYScale + mYTranslate;
top = float(mRawPointerAxes.y.maxValue - rawBottom) * mYScale + mYTranslate;
orientation -= M_PI;
if (orientation < mOrientedRanges.orientation.min) {
orientation += (mOrientedRanges.orientation.max - mOrientedRanges.orientation.min);
}
break;
case DISPLAY_ORIENTATION_270:
x = float(mRawPointerAxes.y.maxValue - in.y) * mYScale + mYTranslate;
y = float(in.x - mRawPointerAxes.x.minValue) * mXScale + mXTranslate;
left = float(mRawPointerAxes.y.maxValue - rawBottom) * mYScale + mYTranslate;
right = float(mRawPointerAxes.y.maxValue - rawTop) * mYScale + mYTranslate;
bottom = float(rawRight - mRawPointerAxes.x.minValue) * mXScale + mXTranslate;
top = float(rawLeft - mRawPointerAxes.x.minValue) * mXScale + mXTranslate;
orientation += M_PI_2;
if (orientation > mOrientedRanges.orientation.max) {
orientation -= (mOrientedRanges.orientation.max - mOrientedRanges.orientation.min);
}
break;
default:
x = float(in.x - mRawPointerAxes.x.minValue) * mXScale + mXTranslate;
y = float(in.y - mRawPointerAxes.y.minValue) * mYScale + mYTranslate;
left = float(rawLeft - mRawPointerAxes.x.minValue) * mXScale + mXTranslate;
right = float(rawRight - mRawPointerAxes.x.minValue) * mXScale + mXTranslate;
bottom = float(rawBottom - mRawPointerAxes.y.minValue) * mYScale + mYTranslate;
top = float(rawTop - mRawPointerAxes.y.minValue) * mYScale + mYTranslate;
break;
}
// Write output coords.
PointerCoords& out = mCurrentCookedPointerData.pointerCoords[i];
out.clear();
out.setAxisValue(AMOTION_EVENT_AXIS_X, x);
out.setAxisValue(AMOTION_EVENT_AXIS_Y, y);
out.setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, pressure);
out.setAxisValue(AMOTION_EVENT_AXIS_SIZE, size);
out.setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR, touchMajor);
out.setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR, touchMinor);
out.setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, orientation);
out.setAxisValue(AMOTION_EVENT_AXIS_TILT, tilt);
out.setAxisValue(AMOTION_EVENT_AXIS_DISTANCE, distance);
if (mCalibration.coverageCalibration == Calibration::COVERAGE_CALIBRATION_BOX) {
out.setAxisValue(AMOTION_EVENT_AXIS_GENERIC_1, left);
out.setAxisValue(AMOTION_EVENT_AXIS_GENERIC_2, top);
out.setAxisValue(AMOTION_EVENT_AXIS_GENERIC_3, right);
out.setAxisValue(AMOTION_EVENT_AXIS_GENERIC_4, bottom);
} else {
out.setAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR, toolMajor);
out.setAxisValue(AMOTION_EVENT_AXIS_TOOL_MINOR, toolMinor);
}
// Write output properties.
PointerProperties& properties = mCurrentCookedPointerData.pointerProperties[i];
uint32_t id = in.id;
properties.clear();
properties.id = id;
properties.toolType = in.toolType;
// Write id index.
mCurrentCookedPointerData.idToIndex[id] = i;
}
}
void TouchInputMapper::dispatchPointerUsage(nsecs_t when, uint32_t policyFlags,
PointerUsage pointerUsage) {
if (pointerUsage != mPointerUsage) {
abortPointerUsage(when, policyFlags);
mPointerUsage = pointerUsage;
}
switch (mPointerUsage) {
case POINTER_USAGE_GESTURES:
dispatchPointerGestures(when, policyFlags, false /*isTimeout*/);
break;
case POINTER_USAGE_STYLUS:
dispatchPointerStylus(when, policyFlags);
break;
case POINTER_USAGE_MOUSE:
dispatchPointerMouse(when, policyFlags);
break;
default:
break;
}
}
void TouchInputMapper::abortPointerUsage(nsecs_t when, uint32_t policyFlags) {
switch (mPointerUsage) {
case POINTER_USAGE_GESTURES:
abortPointerGestures(when, policyFlags);
break;
case POINTER_USAGE_STYLUS:
abortPointerStylus(when, policyFlags);
break;
case POINTER_USAGE_MOUSE:
abortPointerMouse(when, policyFlags);
break;
default:
break;
}
mPointerUsage = POINTER_USAGE_NONE;
}
void TouchInputMapper::dispatchPointerGestures(nsecs_t when, uint32_t policyFlags,
bool isTimeout) {
// Update current gesture coordinates.
bool cancelPreviousGesture, finishPreviousGesture;
bool sendEvents = preparePointerGestures(when,
&cancelPreviousGesture, &finishPreviousGesture, isTimeout);
if (!sendEvents) {
return;
}
if (finishPreviousGesture) {
cancelPreviousGesture = false;
}
// Update the pointer presentation and spots.
if (mParameters.gestureMode == Parameters::GESTURE_MODE_SPOTS) {
mPointerController->setPresentation(PointerControllerInterface::PRESENTATION_SPOT);
if (finishPreviousGesture || cancelPreviousGesture) {
mPointerController->clearSpots();
}
mPointerController->setSpots(mPointerGesture.currentGestureCoords,
mPointerGesture.currentGestureIdToIndex,
mPointerGesture.currentGestureIdBits);
} else {
mPointerController->setPresentation(PointerControllerInterface::PRESENTATION_POINTER);
}
// Show or hide the pointer if needed.
switch (mPointerGesture.currentGestureMode) {
case PointerGesture::NEUTRAL:
case PointerGesture::QUIET:
if (mParameters.gestureMode == Parameters::GESTURE_MODE_SPOTS
&& (mPointerGesture.lastGestureMode == PointerGesture::SWIPE
|| mPointerGesture.lastGestureMode == PointerGesture::FREEFORM)) {
// Remind the user of where the pointer is after finishing a gesture with spots.
mPointerController->unfade(PointerControllerInterface::TRANSITION_GRADUAL);
}
break;
case PointerGesture::TAP:
case PointerGesture::TAP_DRAG:
case PointerGesture::BUTTON_CLICK_OR_DRAG:
case PointerGesture::HOVER:
case PointerGesture::PRESS:
// Unfade the pointer when the current gesture manipulates the
// area directly under the pointer.
mPointerController->unfade(PointerControllerInterface::TRANSITION_IMMEDIATE);
break;
case PointerGesture::SWIPE:
case PointerGesture::FREEFORM:
// Fade the pointer when the current gesture manipulates a different
// area and there are spots to guide the user experience.
if (mParameters.gestureMode == Parameters::GESTURE_MODE_SPOTS) {
mPointerController->fade(PointerControllerInterface::TRANSITION_GRADUAL);
} else {
mPointerController->unfade(PointerControllerInterface::TRANSITION_IMMEDIATE);
}
break;
}
// Send events!
int32_t metaState = getContext()->getGlobalMetaState();
int32_t buttonState = mCurrentButtonState;
// Update last coordinates of pointers that have moved so that we observe the new
// pointer positions at the same time as other pointers that have just gone up.
bool down = mPointerGesture.currentGestureMode == PointerGesture::TAP
|| mPointerGesture.currentGestureMode == PointerGesture::TAP_DRAG
|| mPointerGesture.currentGestureMode == PointerGesture::BUTTON_CLICK_OR_DRAG
|| mPointerGesture.currentGestureMode == PointerGesture::PRESS
|| mPointerGesture.currentGestureMode == PointerGesture::SWIPE
|| mPointerGesture.currentGestureMode == PointerGesture::FREEFORM;
bool moveNeeded = false;
if (down && !cancelPreviousGesture && !finishPreviousGesture
&& !mPointerGesture.lastGestureIdBits.isEmpty()
&& !mPointerGesture.currentGestureIdBits.isEmpty()) {
BitSet32 movedGestureIdBits(mPointerGesture.currentGestureIdBits.value
& mPointerGesture.lastGestureIdBits.value);
moveNeeded = updateMovedPointers(mPointerGesture.currentGestureProperties,
mPointerGesture.currentGestureCoords, mPointerGesture.currentGestureIdToIndex,
mPointerGesture.lastGestureProperties,
mPointerGesture.lastGestureCoords, mPointerGesture.lastGestureIdToIndex,
movedGestureIdBits);
if (buttonState != mLastButtonState) {
moveNeeded = true;
}
}
// Send motion events for all pointers that went up or were canceled.
BitSet32 dispatchedGestureIdBits(mPointerGesture.lastGestureIdBits);
if (!dispatchedGestureIdBits.isEmpty()) {
if (cancelPreviousGesture) {
dispatchMotion(when, policyFlags, mSource,
AMOTION_EVENT_ACTION_CANCEL, 0, metaState, buttonState,
AMOTION_EVENT_EDGE_FLAG_NONE,
mPointerGesture.lastGestureProperties,
mPointerGesture.lastGestureCoords, mPointerGesture.lastGestureIdToIndex,
dispatchedGestureIdBits, -1,
0, 0, mPointerGesture.downTime);
dispatchedGestureIdBits.clear();
} else {
BitSet32 upGestureIdBits;
if (finishPreviousGesture) {
upGestureIdBits = dispatchedGestureIdBits;
} else {
upGestureIdBits.value = dispatchedGestureIdBits.value
& ~mPointerGesture.currentGestureIdBits.value;
}
while (!upGestureIdBits.isEmpty()) {
uint32_t id = upGestureIdBits.clearFirstMarkedBit();
dispatchMotion(when, policyFlags, mSource,
AMOTION_EVENT_ACTION_POINTER_UP, 0,
metaState, buttonState, AMOTION_EVENT_EDGE_FLAG_NONE,
mPointerGesture.lastGestureProperties,
mPointerGesture.lastGestureCoords, mPointerGesture.lastGestureIdToIndex,
dispatchedGestureIdBits, id,
0, 0, mPointerGesture.downTime);
dispatchedGestureIdBits.clearBit(id);
}
}
}
// Send motion events for all pointers that moved.
if (moveNeeded) {
dispatchMotion(when, policyFlags, mSource,
AMOTION_EVENT_ACTION_MOVE, 0, metaState, buttonState, AMOTION_EVENT_EDGE_FLAG_NONE,
mPointerGesture.currentGestureProperties,
mPointerGesture.currentGestureCoords, mPointerGesture.currentGestureIdToIndex,
dispatchedGestureIdBits, -1,
0, 0, mPointerGesture.downTime);
}
// Send motion events for all pointers that went down.
if (down) {
BitSet32 downGestureIdBits(mPointerGesture.currentGestureIdBits.value
& ~dispatchedGestureIdBits.value);
while (!downGestureIdBits.isEmpty()) {
uint32_t id = downGestureIdBits.clearFirstMarkedBit();
dispatchedGestureIdBits.markBit(id);
if (dispatchedGestureIdBits.count() == 1) {
mPointerGesture.downTime = when;
}
dispatchMotion(when, policyFlags, mSource,
AMOTION_EVENT_ACTION_POINTER_DOWN, 0, metaState, buttonState, 0,
mPointerGesture.currentGestureProperties,
mPointerGesture.currentGestureCoords, mPointerGesture.currentGestureIdToIndex,
dispatchedGestureIdBits, id,
0, 0, mPointerGesture.downTime);
}
}
// Send motion events for hover.
if (mPointerGesture.currentGestureMode == PointerGesture::HOVER) {
dispatchMotion(when, policyFlags, mSource,
AMOTION_EVENT_ACTION_HOVER_MOVE, 0,
metaState, buttonState, AMOTION_EVENT_EDGE_FLAG_NONE,
mPointerGesture.currentGestureProperties,
mPointerGesture.currentGestureCoords, mPointerGesture.currentGestureIdToIndex,
mPointerGesture.currentGestureIdBits, -1,
0, 0, mPointerGesture.downTime);
} else if (dispatchedGestureIdBits.isEmpty()
&& !mPointerGesture.lastGestureIdBits.isEmpty()) {
// Synthesize a hover move event after all pointers go up to indicate that
// the pointer is hovering again even if the user is not currently touching
// the touch pad. This ensures that a view will receive a fresh hover enter
// event after a tap.
float x, y;
mPointerController->getPosition(&x, &y);
PointerProperties pointerProperties;
pointerProperties.clear();
pointerProperties.id = 0;
pointerProperties.toolType = AMOTION_EVENT_TOOL_TYPE_FINGER;
PointerCoords pointerCoords;
pointerCoords.clear();
pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, x);
pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, y);
NotifyMotionArgs args(when, getDeviceId(), mSource, policyFlags,
AMOTION_EVENT_ACTION_HOVER_MOVE, 0,
metaState, buttonState, AMOTION_EVENT_EDGE_FLAG_NONE,
mViewport.displayId, 1, &pointerProperties, &pointerCoords,
0, 0, mPointerGesture.downTime);
getListener()->notifyMotion(&args);
}
// Update state.
mPointerGesture.lastGestureMode = mPointerGesture.currentGestureMode;
if (!down) {
mPointerGesture.lastGestureIdBits.clear();
} else {
mPointerGesture.lastGestureIdBits = mPointerGesture.currentGestureIdBits;
for (BitSet32 idBits(mPointerGesture.currentGestureIdBits); !idBits.isEmpty(); ) {
uint32_t id = idBits.clearFirstMarkedBit();
uint32_t index = mPointerGesture.currentGestureIdToIndex[id];
mPointerGesture.lastGestureProperties[index].copyFrom(
mPointerGesture.currentGestureProperties[index]);
mPointerGesture.lastGestureCoords[index].copyFrom(
mPointerGesture.currentGestureCoords[index]);
mPointerGesture.lastGestureIdToIndex[id] = index;
}
}
}
void TouchInputMapper::abortPointerGestures(nsecs_t when, uint32_t policyFlags) {
// Cancel previously dispatches pointers.
if (!mPointerGesture.lastGestureIdBits.isEmpty()) {
int32_t metaState = getContext()->getGlobalMetaState();
int32_t buttonState = mCurrentButtonState;
dispatchMotion(when, policyFlags, mSource,
AMOTION_EVENT_ACTION_CANCEL, 0, metaState, buttonState,
AMOTION_EVENT_EDGE_FLAG_NONE,
mPointerGesture.lastGestureProperties,
mPointerGesture.lastGestureCoords, mPointerGesture.lastGestureIdToIndex,
mPointerGesture.lastGestureIdBits, -1,
0, 0, mPointerGesture.downTime);
}
// Reset the current pointer gesture.
mPointerGesture.reset();
mPointerVelocityControl.reset();
// Remove any current spots.
if (mPointerController != NULL) {
mPointerController->fade(PointerControllerInterface::TRANSITION_GRADUAL);
mPointerController->clearSpots();
}
}
bool TouchInputMapper::preparePointerGestures(nsecs_t when,
bool* outCancelPreviousGesture, bool* outFinishPreviousGesture, bool isTimeout) {
*outCancelPreviousGesture = false;
*outFinishPreviousGesture = false;
// Handle TAP timeout.
if (isTimeout) {
#if DEBUG_GESTURES
ALOGD("Gestures: Processing timeout");
#endif
if (mPointerGesture.lastGestureMode == PointerGesture::TAP) {
if (when <= mPointerGesture.tapUpTime + mConfig.pointerGestureTapDragInterval) {
// The tap/drag timeout has not yet expired.
getContext()->requestTimeoutAtTime(mPointerGesture.tapUpTime
+ mConfig.pointerGestureTapDragInterval);
} else {
// The tap is finished.
#if DEBUG_GESTURES
ALOGD("Gestures: TAP finished");
#endif
*outFinishPreviousGesture = true;
mPointerGesture.activeGestureId = -1;
mPointerGesture.currentGestureMode = PointerGesture::NEUTRAL;
mPointerGesture.currentGestureIdBits.clear();
mPointerVelocityControl.reset();
return true;
}
}
// We did not handle this timeout.
return false;
}
const uint32_t currentFingerCount = mCurrentFingerIdBits.count();
const uint32_t lastFingerCount = mLastFingerIdBits.count();
// Update the velocity tracker.
{
VelocityTracker::Position positions[MAX_POINTERS];
uint32_t count = 0;
for (BitSet32 idBits(mCurrentFingerIdBits); !idBits.isEmpty(); count++) {
uint32_t id = idBits.clearFirstMarkedBit();
const RawPointerData::Pointer& pointer = mCurrentRawPointerData.pointerForId(id);
positions[count].x = pointer.x * mPointerXMovementScale;
positions[count].y = pointer.y * mPointerYMovementScale;
}
mPointerGesture.velocityTracker.addMovement(when,
mCurrentFingerIdBits, positions);
}
// If the gesture ever enters a mode other than TAP, HOVER or TAP_DRAG, without first returning
// to NEUTRAL, then we should not generate tap event.
if (mPointerGesture.lastGestureMode != PointerGesture::HOVER
&& mPointerGesture.lastGestureMode != PointerGesture::TAP
&& mPointerGesture.lastGestureMode != PointerGesture::TAP_DRAG) {
mPointerGesture.resetTap();
}
// Pick a new active touch id if needed.
// Choose an arbitrary pointer that just went down, if there is one.
// Otherwise choose an arbitrary remaining pointer.
// This guarantees we always have an active touch id when there is at least one pointer.
// We keep the same active touch id for as long as possible.
bool activeTouchChanged = false;
int32_t lastActiveTouchId = mPointerGesture.activeTouchId;
int32_t activeTouchId = lastActiveTouchId;
if (activeTouchId < 0) {
if (!mCurrentFingerIdBits.isEmpty()) {
activeTouchChanged = true;
activeTouchId = mPointerGesture.activeTouchId =
mCurrentFingerIdBits.firstMarkedBit();
mPointerGesture.firstTouchTime = when;
}
} else if (!mCurrentFingerIdBits.hasBit(activeTouchId)) {
activeTouchChanged = true;
if (!mCurrentFingerIdBits.isEmpty()) {
activeTouchId = mPointerGesture.activeTouchId =
mCurrentFingerIdBits.firstMarkedBit();
} else {
activeTouchId = mPointerGesture.activeTouchId = -1;
}
}
// Determine whether we are in quiet time.
bool isQuietTime = false;
if (activeTouchId < 0) {
mPointerGesture.resetQuietTime();
} else {
isQuietTime = when < mPointerGesture.quietTime + mConfig.pointerGestureQuietInterval;
if (!isQuietTime) {
if ((mPointerGesture.lastGestureMode == PointerGesture::PRESS
|| mPointerGesture.lastGestureMode == PointerGesture::SWIPE
|| mPointerGesture.lastGestureMode == PointerGesture::FREEFORM)
&& currentFingerCount < 2) {
// Enter quiet time when exiting swipe or freeform state.
// This is to prevent accidentally entering the hover state and flinging the
// pointer when finishing a swipe and there is still one pointer left onscreen.
isQuietTime = true;
} else if (mPointerGesture.lastGestureMode == PointerGesture::BUTTON_CLICK_OR_DRAG
&& currentFingerCount >= 2
&& !isPointerDown(mCurrentButtonState)) {
// Enter quiet time when releasing the button and there are still two or more
// fingers down. This may indicate that one finger was used to press the button
// but it has not gone up yet.
isQuietTime = true;
}
if (isQuietTime) {
mPointerGesture.quietTime = when;
}
}
}
// Switch states based on button and pointer state.
if (isQuietTime) {
// Case 1: Quiet time. (QUIET)
#if DEBUG_GESTURES
ALOGD("Gestures: QUIET for next %0.3fms", (mPointerGesture.quietTime
+ mConfig.pointerGestureQuietInterval - when) * 0.000001f);
#endif
if (mPointerGesture.lastGestureMode != PointerGesture::QUIET) {
*outFinishPreviousGesture = true;
}
mPointerGesture.activeGestureId = -1;
mPointerGesture.currentGestureMode = PointerGesture::QUIET;
mPointerGesture.currentGestureIdBits.clear();
mPointerVelocityControl.reset();
} else if (isPointerDown(mCurrentButtonState)) {
// Case 2: Button is pressed. (BUTTON_CLICK_OR_DRAG)
// The pointer follows the active touch point.
// Emit DOWN, MOVE, UP events at the pointer location.
//
// Only the active touch matters; other fingers are ignored. This policy helps
// to handle the case where the user places a second finger on the touch pad
// to apply the necessary force to depress an integrated button below the surface.
// We don't want the second finger to be delivered to applications.
//
// For this to work well, we need to make sure to track the pointer that is really
// active. If the user first puts one finger down to click then adds another
// finger to drag then the active pointer should switch to the finger that is
// being dragged.
#if DEBUG_GESTURES
ALOGD("Gestures: BUTTON_CLICK_OR_DRAG activeTouchId=%d, "
"currentFingerCount=%d", activeTouchId, currentFingerCount);
#endif
// Reset state when just starting.
if (mPointerGesture.lastGestureMode != PointerGesture::BUTTON_CLICK_OR_DRAG) {
*outFinishPreviousGesture = true;
mPointerGesture.activeGestureId = 0;
}
// Switch pointers if needed.
// Find the fastest pointer and follow it.
if (activeTouchId >= 0 && currentFingerCount > 1) {
int32_t bestId = -1;
float bestSpeed = mConfig.pointerGestureDragMinSwitchSpeed;
for (BitSet32 idBits(mCurrentFingerIdBits); !idBits.isEmpty(); ) {
uint32_t id = idBits.clearFirstMarkedBit();
float vx, vy;
if (mPointerGesture.velocityTracker.getVelocity(id, &vx, &vy)) {
float speed = hypotf(vx, vy);
if (speed > bestSpeed) {
bestId = id;
bestSpeed = speed;
}
}
}
if (bestId >= 0 && bestId != activeTouchId) {
mPointerGesture.activeTouchId = activeTouchId = bestId;
activeTouchChanged = true;
#if DEBUG_GESTURES
ALOGD("Gestures: BUTTON_CLICK_OR_DRAG switched pointers, "
"bestId=%d, bestSpeed=%0.3f", bestId, bestSpeed);
#endif
}
}
if (activeTouchId >= 0 && mLastFingerIdBits.hasBit(activeTouchId)) {
const RawPointerData::Pointer& currentPointer =
mCurrentRawPointerData.pointerForId(activeTouchId);
const RawPointerData::Pointer& lastPointer =
mLastRawPointerData.pointerForId(activeTouchId);
float deltaX = (currentPointer.x - lastPointer.x) * mPointerXMovementScale;
float deltaY = (currentPointer.y - lastPointer.y) * mPointerYMovementScale;
rotateDelta(mSurfaceOrientation, &deltaX, &deltaY);
mPointerVelocityControl.move(when, &deltaX, &deltaY);
// Move the pointer using a relative motion.
// When using spots, the click will occur at the position of the anchor
// spot and all other spots will move there.
mPointerController->move(deltaX, deltaY);
} else {
mPointerVelocityControl.reset();
}
float x, y;
mPointerController->getPosition(&x, &y);
mPointerGesture.currentGestureMode = PointerGesture::BUTTON_CLICK_OR_DRAG;
mPointerGesture.currentGestureIdBits.clear();
mPointerGesture.currentGestureIdBits.markBit(mPointerGesture.activeGestureId);
mPointerGesture.currentGestureIdToIndex[mPointerGesture.activeGestureId] = 0;
mPointerGesture.currentGestureProperties[0].clear();
mPointerGesture.currentGestureProperties[0].id = mPointerGesture.activeGestureId;
mPointerGesture.currentGestureProperties[0].toolType = AMOTION_EVENT_TOOL_TYPE_FINGER;
mPointerGesture.currentGestureCoords[0].clear();
mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, x);
mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, y);
mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 1.0f);
} else if (currentFingerCount == 0) {
// Case 3. No fingers down and button is not pressed. (NEUTRAL)
if (mPointerGesture.lastGestureMode != PointerGesture::NEUTRAL) {
*outFinishPreviousGesture = true;
}
// Watch for taps coming out of HOVER or TAP_DRAG mode.
// Checking for taps after TAP_DRAG allows us to detect double-taps.
bool tapped = false;
if ((mPointerGesture.lastGestureMode == PointerGesture::HOVER
|| mPointerGesture.lastGestureMode == PointerGesture::TAP_DRAG)
&& lastFingerCount == 1) {
if (when <= mPointerGesture.tapDownTime + mConfig.pointerGestureTapInterval) {
float x, y;
mPointerController->getPosition(&x, &y);
if (fabs(x - mPointerGesture.tapX) <= mConfig.pointerGestureTapSlop
&& fabs(y - mPointerGesture.tapY) <= mConfig.pointerGestureTapSlop) {
#if DEBUG_GESTURES
ALOGD("Gestures: TAP");
#endif
mPointerGesture.tapUpTime = when;
getContext()->requestTimeoutAtTime(when
+ mConfig.pointerGestureTapDragInterval);
mPointerGesture.activeGestureId = 0;
mPointerGesture.currentGestureMode = PointerGesture::TAP;
mPointerGesture.currentGestureIdBits.clear();
mPointerGesture.currentGestureIdBits.markBit(
mPointerGesture.activeGestureId);
mPointerGesture.currentGestureIdToIndex[
mPointerGesture.activeGestureId] = 0;
mPointerGesture.currentGestureProperties[0].clear();
mPointerGesture.currentGestureProperties[0].id =
mPointerGesture.activeGestureId;
mPointerGesture.currentGestureProperties[0].toolType =
AMOTION_EVENT_TOOL_TYPE_FINGER;
mPointerGesture.currentGestureCoords[0].clear();
mPointerGesture.currentGestureCoords[0].setAxisValue(
AMOTION_EVENT_AXIS_X, mPointerGesture.tapX);
mPointerGesture.currentGestureCoords[0].setAxisValue(
AMOTION_EVENT_AXIS_Y, mPointerGesture.tapY);
mPointerGesture.currentGestureCoords[0].setAxisValue(
AMOTION_EVENT_AXIS_PRESSURE, 1.0f);
tapped = true;
} else {
#if DEBUG_GESTURES
ALOGD("Gestures: Not a TAP, deltaX=%f, deltaY=%f",
x - mPointerGesture.tapX,
y - mPointerGesture.tapY);
#endif
}
} else {
#if DEBUG_GESTURES
if (mPointerGesture.tapDownTime != LLONG_MIN) {
ALOGD("Gestures: Not a TAP, %0.3fms since down",
(when - mPointerGesture.tapDownTime) * 0.000001f);
} else {
ALOGD("Gestures: Not a TAP, incompatible mode transitions");
}
#endif
}
}
mPointerVelocityControl.reset();
if (!tapped) {
#if DEBUG_GESTURES
ALOGD("Gestures: NEUTRAL");
#endif
mPointerGesture.activeGestureId = -1;
mPointerGesture.currentGestureMode = PointerGesture::NEUTRAL;
mPointerGesture.currentGestureIdBits.clear();
}
} else if (currentFingerCount == 1) {
// Case 4. Exactly one finger down, button is not pressed. (HOVER or TAP_DRAG)
// The pointer follows the active touch point.
// When in HOVER, emit HOVER_MOVE events at the pointer location.
// When in TAP_DRAG, emit MOVE events at the pointer location.
ALOG_ASSERT(activeTouchId >= 0);
mPointerGesture.currentGestureMode = PointerGesture::HOVER;
if (mPointerGesture.lastGestureMode == PointerGesture::TAP) {
if (when <= mPointerGesture.tapUpTime + mConfig.pointerGestureTapDragInterval) {
float x, y;
mPointerController->getPosition(&x, &y);
if (fabs(x - mPointerGesture.tapX) <= mConfig.pointerGestureTapSlop
&& fabs(y - mPointerGesture.tapY) <= mConfig.pointerGestureTapSlop) {
mPointerGesture.currentGestureMode = PointerGesture::TAP_DRAG;
} else {
#if DEBUG_GESTURES
ALOGD("Gestures: Not a TAP_DRAG, deltaX=%f, deltaY=%f",
x - mPointerGesture.tapX,
y - mPointerGesture.tapY);
#endif
}
} else {
#if DEBUG_GESTURES
ALOGD("Gestures: Not a TAP_DRAG, %0.3fms time since up",
(when - mPointerGesture.tapUpTime) * 0.000001f);
#endif
}
} else if (mPointerGesture.lastGestureMode == PointerGesture::TAP_DRAG) {
mPointerGesture.currentGestureMode = PointerGesture::TAP_DRAG;
}
if (mLastFingerIdBits.hasBit(activeTouchId)) {
const RawPointerData::Pointer& currentPointer =
mCurrentRawPointerData.pointerForId(activeTouchId);
const RawPointerData::Pointer& lastPointer =
mLastRawPointerData.pointerForId(activeTouchId);
float deltaX = (currentPointer.x - lastPointer.x)
* mPointerXMovementScale;
float deltaY = (currentPointer.y - lastPointer.y)
* mPointerYMovementScale;
rotateDelta(mSurfaceOrientation, &deltaX, &deltaY);
mPointerVelocityControl.move(when, &deltaX, &deltaY);
// Move the pointer using a relative motion.
// When using spots, the hover or drag will occur at the position of the anchor spot.
mPointerController->move(deltaX, deltaY);
} else {
mPointerVelocityControl.reset();
}
bool down;
if (mPointerGesture.currentGestureMode == PointerGesture::TAP_DRAG) {
#if DEBUG_GESTURES
ALOGD("Gestures: TAP_DRAG");
#endif
down = true;
} else {
#if DEBUG_GESTURES
ALOGD("Gestures: HOVER");
#endif
if (mPointerGesture.lastGestureMode != PointerGesture::HOVER) {
*outFinishPreviousGesture = true;
}
mPointerGesture.activeGestureId = 0;
down = false;
}
float x, y;
mPointerController->getPosition(&x, &y);
mPointerGesture.currentGestureIdBits.clear();
mPointerGesture.currentGestureIdBits.markBit(mPointerGesture.activeGestureId);
mPointerGesture.currentGestureIdToIndex[mPointerGesture.activeGestureId] = 0;
mPointerGesture.currentGestureProperties[0].clear();
mPointerGesture.currentGestureProperties[0].id = mPointerGesture.activeGestureId;
mPointerGesture.currentGestureProperties[0].toolType =
AMOTION_EVENT_TOOL_TYPE_FINGER;
mPointerGesture.currentGestureCoords[0].clear();
mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, x);
mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, y);
mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE,
down ? 1.0f : 0.0f);
if (lastFingerCount == 0 && currentFingerCount != 0) {
mPointerGesture.resetTap();
mPointerGesture.tapDownTime = when;
mPointerGesture.tapX = x;
mPointerGesture.tapY = y;
}
} else {
// Case 5. At least two fingers down, button is not pressed. (PRESS, SWIPE or FREEFORM)
// We need to provide feedback for each finger that goes down so we cannot wait
// for the fingers to move before deciding what to do.
//
// The ambiguous case is deciding what to do when there are two fingers down but they
// have not moved enough to determine whether they are part of a drag or part of a
// freeform gesture, or just a press or long-press at the pointer location.
//
// When there are two fingers we start with the PRESS hypothesis and we generate a
// down at the pointer location.
//
// When the two fingers move enough or when additional fingers are added, we make
// a decision to transition into SWIPE or FREEFORM mode accordingly.
ALOG_ASSERT(activeTouchId >= 0);
bool settled = when >= mPointerGesture.firstTouchTime
+ mConfig.pointerGestureMultitouchSettleInterval;
if (mPointerGesture.lastGestureMode != PointerGesture::PRESS
&& mPointerGesture.lastGestureMode != PointerGesture::SWIPE
&& mPointerGesture.lastGestureMode != PointerGesture::FREEFORM) {
*outFinishPreviousGesture = true;
} else if (!settled && currentFingerCount > lastFingerCount) {
// Additional pointers have gone down but not yet settled.
// Reset the gesture.
#if DEBUG_GESTURES
ALOGD("Gestures: Resetting gesture since additional pointers went down for MULTITOUCH, "
"settle time remaining %0.3fms", (mPointerGesture.firstTouchTime
+ mConfig.pointerGestureMultitouchSettleInterval - when)
* 0.000001f);
#endif
*outCancelPreviousGesture = true;
} else {
// Continue previous gesture.
mPointerGesture.currentGestureMode = mPointerGesture.lastGestureMode;
}
if (*outFinishPreviousGesture || *outCancelPreviousGesture) {
mPointerGesture.currentGestureMode = PointerGesture::PRESS;
mPointerGesture.activeGestureId = 0;
mPointerGesture.referenceIdBits.clear();
mPointerVelocityControl.reset();
// Use the centroid and pointer location as the reference points for the gesture.
#if DEBUG_GESTURES
ALOGD("Gestures: Using centroid as reference for MULTITOUCH, "
"settle time remaining %0.3fms", (mPointerGesture.firstTouchTime
+ mConfig.pointerGestureMultitouchSettleInterval - when)
* 0.000001f);
#endif
mCurrentRawPointerData.getCentroidOfTouchingPointers(
&mPointerGesture.referenceTouchX,
&mPointerGesture.referenceTouchY);
mPointerController->getPosition(&mPointerGesture.referenceGestureX,
&mPointerGesture.referenceGestureY);
}
// Clear the reference deltas for fingers not yet included in the reference calculation.
for (BitSet32 idBits(mCurrentFingerIdBits.value
& ~mPointerGesture.referenceIdBits.value); !idBits.isEmpty(); ) {
uint32_t id = idBits.clearFirstMarkedBit();
mPointerGesture.referenceDeltas[id].dx = 0;
mPointerGesture.referenceDeltas[id].dy = 0;
}
mPointerGesture.referenceIdBits = mCurrentFingerIdBits;
// Add delta for all fingers and calculate a common movement delta.
float commonDeltaX = 0, commonDeltaY = 0;
BitSet32 commonIdBits(mLastFingerIdBits.value
& mCurrentFingerIdBits.value);
for (BitSet32 idBits(commonIdBits); !idBits.isEmpty(); ) {
bool first = (idBits == commonIdBits);
uint32_t id = idBits.clearFirstMarkedBit();
const RawPointerData::Pointer& cpd = mCurrentRawPointerData.pointerForId(id);
const RawPointerData::Pointer& lpd = mLastRawPointerData.pointerForId(id);
PointerGesture::Delta& delta = mPointerGesture.referenceDeltas[id];
delta.dx += cpd.x - lpd.x;
delta.dy += cpd.y - lpd.y;
if (first) {
commonDeltaX = delta.dx;
commonDeltaY = delta.dy;
} else {
commonDeltaX = calculateCommonVector(commonDeltaX, delta.dx);
commonDeltaY = calculateCommonVector(commonDeltaY, delta.dy);
}
}
// Consider transitions from PRESS to SWIPE or MULTITOUCH.
if (mPointerGesture.currentGestureMode == PointerGesture::PRESS) {
float dist[MAX_POINTER_ID + 1];
int32_t distOverThreshold = 0;
for (BitSet32 idBits(mPointerGesture.referenceIdBits); !idBits.isEmpty(); ) {
uint32_t id = idBits.clearFirstMarkedBit();
PointerGesture::Delta& delta = mPointerGesture.referenceDeltas[id];
dist[id] = hypotf(delta.dx * mPointerXZoomScale,
delta.dy * mPointerYZoomScale);
if (dist[id] > mConfig.pointerGestureMultitouchMinDistance) {
distOverThreshold += 1;
}
}
// Only transition when at least two pointers have moved further than
// the minimum distance threshold.
if (distOverThreshold >= 2) {
if (currentFingerCount > 2) {
// There are more than two pointers, switch to FREEFORM.
#if DEBUG_GESTURES
ALOGD("Gestures: PRESS transitioned to FREEFORM, number of pointers %d > 2",
currentFingerCount);
#endif
*outCancelPreviousGesture = true;
mPointerGesture.currentGestureMode = PointerGesture::FREEFORM;
} else {
// There are exactly two pointers.
BitSet32 idBits(mCurrentFingerIdBits);
uint32_t id1 = idBits.clearFirstMarkedBit();
uint32_t id2 = idBits.firstMarkedBit();
const RawPointerData::Pointer& p1 = mCurrentRawPointerData.pointerForId(id1);
const RawPointerData::Pointer& p2 = mCurrentRawPointerData.pointerForId(id2);
float mutualDistance = distance(p1.x, p1.y, p2.x, p2.y);
if (mutualDistance > mPointerGestureMaxSwipeWidth) {
// There are two pointers but they are too far apart for a SWIPE,
// switch to FREEFORM.
#if DEBUG_GESTURES
ALOGD("Gestures: PRESS transitioned to FREEFORM, distance %0.3f > %0.3f",
mutualDistance, mPointerGestureMaxSwipeWidth);
#endif
*outCancelPreviousGesture = true;
mPointerGesture.currentGestureMode = PointerGesture::FREEFORM;
} else {
// There are two pointers. Wait for both pointers to start moving
// before deciding whether this is a SWIPE or FREEFORM gesture.
float dist1 = dist[id1];
float dist2 = dist[id2];
if (dist1 >= mConfig.pointerGestureMultitouchMinDistance
&& dist2 >= mConfig.pointerGestureMultitouchMinDistance) {
// Calculate the dot product of the displacement vectors.
// When the vectors are oriented in approximately the same direction,
// the angle betweeen them is near zero and the cosine of the angle
// approches 1.0. Recall that dot(v1, v2) = cos(angle) * mag(v1) * mag(v2).
PointerGesture::Delta& delta1 = mPointerGesture.referenceDeltas[id1];
PointerGesture::Delta& delta2 = mPointerGesture.referenceDeltas[id2];
float dx1 = delta1.dx * mPointerXZoomScale;
float dy1 = delta1.dy * mPointerYZoomScale;
float dx2 = delta2.dx * mPointerXZoomScale;
float dy2 = delta2.dy * mPointerYZoomScale;
float dot = dx1 * dx2 + dy1 * dy2;
float cosine = dot / (dist1 * dist2); // denominator always > 0
if (cosine >= mConfig.pointerGestureSwipeTransitionAngleCosine) {
// Pointers are moving in the same direction. Switch to SWIPE.
#if DEBUG_GESTURES
ALOGD("Gestures: PRESS transitioned to SWIPE, "
"dist1 %0.3f >= %0.3f, dist2 %0.3f >= %0.3f, "
"cosine %0.3f >= %0.3f",
dist1, mConfig.pointerGestureMultitouchMinDistance,
dist2, mConfig.pointerGestureMultitouchMinDistance,
cosine, mConfig.pointerGestureSwipeTransitionAngleCosine);
#endif
mPointerGesture.currentGestureMode = PointerGesture::SWIPE;
} else {
// Pointers are moving in different directions. Switch to FREEFORM.
#if DEBUG_GESTURES
ALOGD("Gestures: PRESS transitioned to FREEFORM, "
"dist1 %0.3f >= %0.3f, dist2 %0.3f >= %0.3f, "
"cosine %0.3f < %0.3f",
dist1, mConfig.pointerGestureMultitouchMinDistance,
dist2, mConfig.pointerGestureMultitouchMinDistance,
cosine, mConfig.pointerGestureSwipeTransitionAngleCosine);
#endif
*outCancelPreviousGesture = true;
mPointerGesture.currentGestureMode = PointerGesture::FREEFORM;
}
}
}
}
}
} else if (mPointerGesture.currentGestureMode == PointerGesture::SWIPE) {
// Switch from SWIPE to FREEFORM if additional pointers go down.
// Cancel previous gesture.
if (currentFingerCount > 2) {
#if DEBUG_GESTURES
ALOGD("Gestures: SWIPE transitioned to FREEFORM, number of pointers %d > 2",
currentFingerCount);
#endif
*outCancelPreviousGesture = true;
mPointerGesture.currentGestureMode = PointerGesture::FREEFORM;
}
}
// Move the reference points based on the overall group motion of the fingers
// except in PRESS mode while waiting for a transition to occur.
if (mPointerGesture.currentGestureMode != PointerGesture::PRESS
&& (commonDeltaX || commonDeltaY)) {
for (BitSet32 idBits(mPointerGesture.referenceIdBits); !idBits.isEmpty(); ) {
uint32_t id = idBits.clearFirstMarkedBit();
PointerGesture::Delta& delta = mPointerGesture.referenceDeltas[id];
delta.dx = 0;
delta.dy = 0;
}
mPointerGesture.referenceTouchX += commonDeltaX;
mPointerGesture.referenceTouchY += commonDeltaY;
commonDeltaX *= mPointerXMovementScale;
commonDeltaY *= mPointerYMovementScale;
rotateDelta(mSurfaceOrientation, &commonDeltaX, &commonDeltaY);
mPointerVelocityControl.move(when, &commonDeltaX, &commonDeltaY);
mPointerGesture.referenceGestureX += commonDeltaX;
mPointerGesture.referenceGestureY += commonDeltaY;
}
// Report gestures.
if (mPointerGesture.currentGestureMode == PointerGesture::PRESS
|| mPointerGesture.currentGestureMode == PointerGesture::SWIPE) {
// PRESS or SWIPE mode.
#if DEBUG_GESTURES
ALOGD("Gestures: PRESS or SWIPE activeTouchId=%d,"
"activeGestureId=%d, currentTouchPointerCount=%d",
activeTouchId, mPointerGesture.activeGestureId, currentFingerCount);
#endif
ALOG_ASSERT(mPointerGesture.activeGestureId >= 0);
mPointerGesture.currentGestureIdBits.clear();
mPointerGesture.currentGestureIdBits.markBit(mPointerGesture.activeGestureId);
mPointerGesture.currentGestureIdToIndex[mPointerGesture.activeGestureId] = 0;
mPointerGesture.currentGestureProperties[0].clear();
mPointerGesture.currentGestureProperties[0].id = mPointerGesture.activeGestureId;
mPointerGesture.currentGestureProperties[0].toolType =
AMOTION_EVENT_TOOL_TYPE_FINGER;
mPointerGesture.currentGestureCoords[0].clear();
mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X,
mPointerGesture.referenceGestureX);
mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y,
mPointerGesture.referenceGestureY);
mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 1.0f);
} else if (mPointerGesture.currentGestureMode == PointerGesture::FREEFORM) {
// FREEFORM mode.
#if DEBUG_GESTURES
ALOGD("Gestures: FREEFORM activeTouchId=%d,"
"activeGestureId=%d, currentTouchPointerCount=%d",
activeTouchId, mPointerGesture.activeGestureId, currentFingerCount);
#endif
ALOG_ASSERT(mPointerGesture.activeGestureId >= 0);
mPointerGesture.currentGestureIdBits.clear();
BitSet32 mappedTouchIdBits;
BitSet32 usedGestureIdBits;
if (mPointerGesture.lastGestureMode != PointerGesture::FREEFORM) {
// Initially, assign the active gesture id to the active touch point
// if there is one. No other touch id bits are mapped yet.
if (!*outCancelPreviousGesture) {
mappedTouchIdBits.markBit(activeTouchId);
usedGestureIdBits.markBit(mPointerGesture.activeGestureId);
mPointerGesture.freeformTouchToGestureIdMap[activeTouchId] =
mPointerGesture.activeGestureId;
} else {
mPointerGesture.activeGestureId = -1;
}
} else {
// Otherwise, assume we mapped all touches from the previous frame.
// Reuse all mappings that are still applicable.
mappedTouchIdBits.value = mLastFingerIdBits.value
& mCurrentFingerIdBits.value;
usedGestureIdBits = mPointerGesture.lastGestureIdBits;
// Check whether we need to choose a new active gesture id because the
// current went went up.
for (BitSet32 upTouchIdBits(mLastFingerIdBits.value
& ~mCurrentFingerIdBits.value);
!upTouchIdBits.isEmpty(); ) {
uint32_t upTouchId = upTouchIdBits.clearFirstMarkedBit();
uint32_t upGestureId = mPointerGesture.freeformTouchToGestureIdMap[upTouchId];
if (upGestureId == uint32_t(mPointerGesture.activeGestureId)) {
mPointerGesture.activeGestureId = -1;
break;
}
}
}
#if DEBUG_GESTURES
ALOGD("Gestures: FREEFORM follow up "
"mappedTouchIdBits=0x%08x, usedGestureIdBits=0x%08x, "
"activeGestureId=%d",
mappedTouchIdBits.value, usedGestureIdBits.value,
mPointerGesture.activeGestureId);
#endif
BitSet32 idBits(mCurrentFingerIdBits);
for (uint32_t i = 0; i < currentFingerCount; i++) {
uint32_t touchId = idBits.clearFirstMarkedBit();
uint32_t gestureId;
if (!mappedTouchIdBits.hasBit(touchId)) {
gestureId = usedGestureIdBits.markFirstUnmarkedBit();
mPointerGesture.freeformTouchToGestureIdMap[touchId] = gestureId;
#if DEBUG_GESTURES
ALOGD("Gestures: FREEFORM "
"new mapping for touch id %d -> gesture id %d",
touchId, gestureId);
#endif
} else {
gestureId = mPointerGesture.freeformTouchToGestureIdMap[touchId];
#if DEBUG_GESTURES
ALOGD("Gestures: FREEFORM "
"existing mapping for touch id %d -> gesture id %d",
touchId, gestureId);
#endif
}
mPointerGesture.currentGestureIdBits.markBit(gestureId);
mPointerGesture.currentGestureIdToIndex[gestureId] = i;
const RawPointerData::Pointer& pointer =
mCurrentRawPointerData.pointerForId(touchId);
float deltaX = (pointer.x - mPointerGesture.referenceTouchX)
* mPointerXZoomScale;
float deltaY = (pointer.y - mPointerGesture.referenceTouchY)
* mPointerYZoomScale;
rotateDelta(mSurfaceOrientation, &deltaX, &deltaY);
mPointerGesture.currentGestureProperties[i].clear();
mPointerGesture.currentGestureProperties[i].id = gestureId;
mPointerGesture.currentGestureProperties[i].toolType =
AMOTION_EVENT_TOOL_TYPE_FINGER;
mPointerGesture.currentGestureCoords[i].clear();
mPointerGesture.currentGestureCoords[i].setAxisValue(
AMOTION_EVENT_AXIS_X, mPointerGesture.referenceGestureX + deltaX);
mPointerGesture.currentGestureCoords[i].setAxisValue(
AMOTION_EVENT_AXIS_Y, mPointerGesture.referenceGestureY + deltaY);
mPointerGesture.currentGestureCoords[i].setAxisValue(
AMOTION_EVENT_AXIS_PRESSURE, 1.0f);
}
if (mPointerGesture.activeGestureId < 0) {
mPointerGesture.activeGestureId =
mPointerGesture.currentGestureIdBits.firstMarkedBit();
#if DEBUG_GESTURES
ALOGD("Gestures: FREEFORM new "
"activeGestureId=%d", mPointerGesture.activeGestureId);
#endif
}
}
}
mPointerController->setButtonState(mCurrentButtonState);
#if DEBUG_GESTURES
ALOGD("Gestures: finishPreviousGesture=%s, cancelPreviousGesture=%s, "
"currentGestureMode=%d, currentGestureIdBits=0x%08x, "
"lastGestureMode=%d, lastGestureIdBits=0x%08x",
toString(*outFinishPreviousGesture), toString(*outCancelPreviousGesture),
mPointerGesture.currentGestureMode, mPointerGesture.currentGestureIdBits.value,
mPointerGesture.lastGestureMode, mPointerGesture.lastGestureIdBits.value);
for (BitSet32 idBits = mPointerGesture.currentGestureIdBits; !idBits.isEmpty(); ) {
uint32_t id = idBits.clearFirstMarkedBit();
uint32_t index = mPointerGesture.currentGestureIdToIndex[id];
const PointerProperties& properties = mPointerGesture.currentGestureProperties[index];
const PointerCoords& coords = mPointerGesture.currentGestureCoords[index];
ALOGD(" currentGesture[%d]: index=%d, toolType=%d, "
"x=%0.3f, y=%0.3f, pressure=%0.3f",
id, index, properties.toolType,
coords.getAxisValue(AMOTION_EVENT_AXIS_X),
coords.getAxisValue(AMOTION_EVENT_AXIS_Y),
coords.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE));
}
for (BitSet32 idBits = mPointerGesture.lastGestureIdBits; !idBits.isEmpty(); ) {
uint32_t id = idBits.clearFirstMarkedBit();
uint32_t index = mPointerGesture.lastGestureIdToIndex[id];
const PointerProperties& properties = mPointerGesture.lastGestureProperties[index];
const PointerCoords& coords = mPointerGesture.lastGestureCoords[index];
ALOGD(" lastGesture[%d]: index=%d, toolType=%d, "
"x=%0.3f, y=%0.3f, pressure=%0.3f",
id, index, properties.toolType,
coords.getAxisValue(AMOTION_EVENT_AXIS_X),
coords.getAxisValue(AMOTION_EVENT_AXIS_Y),
coords.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE));
}
#endif
return true;
}
void TouchInputMapper::dispatchPointerStylus(nsecs_t when, uint32_t policyFlags) {
mPointerSimple.currentCoords.clear();
mPointerSimple.currentProperties.clear();
bool down, hovering;
if (!mCurrentStylusIdBits.isEmpty()) {
uint32_t id = mCurrentStylusIdBits.firstMarkedBit();
uint32_t index = mCurrentCookedPointerData.idToIndex[id];
float x = mCurrentCookedPointerData.pointerCoords[index].getX();
float y = mCurrentCookedPointerData.pointerCoords[index].getY();
mPointerController->setPosition(x, y);
hovering = mCurrentCookedPointerData.hoveringIdBits.hasBit(id);
down = !hovering;
mPointerController->getPosition(&x, &y);
mPointerSimple.currentCoords.copyFrom(mCurrentCookedPointerData.pointerCoords[index]);
mPointerSimple.currentCoords.setAxisValue(AMOTION_EVENT_AXIS_X, x);
mPointerSimple.currentCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, y);
mPointerSimple.currentProperties.id = 0;
mPointerSimple.currentProperties.toolType =
mCurrentCookedPointerData.pointerProperties[index].toolType;
} else {
down = false;
hovering = false;
}
dispatchPointerSimple(when, policyFlags, down, hovering);
}
void TouchInputMapper::abortPointerStylus(nsecs_t when, uint32_t policyFlags) {
abortPointerSimple(when, policyFlags);
}
void TouchInputMapper::dispatchPointerMouse(nsecs_t when, uint32_t policyFlags) {
mPointerSimple.currentCoords.clear();
mPointerSimple.currentProperties.clear();
bool down, hovering;
if (!mCurrentMouseIdBits.isEmpty()) {
uint32_t id = mCurrentMouseIdBits.firstMarkedBit();
uint32_t currentIndex = mCurrentRawPointerData.idToIndex[id];
if (mLastMouseIdBits.hasBit(id)) {
uint32_t lastIndex = mCurrentRawPointerData.idToIndex[id];
float deltaX = (mCurrentRawPointerData.pointers[currentIndex].x
- mLastRawPointerData.pointers[lastIndex].x)
* mPointerXMovementScale;
float deltaY = (mCurrentRawPointerData.pointers[currentIndex].y
- mLastRawPointerData.pointers[lastIndex].y)
* mPointerYMovementScale;
rotateDelta(mSurfaceOrientation, &deltaX, &deltaY);
mPointerVelocityControl.move(when, &deltaX, &deltaY);
mPointerController->move(deltaX, deltaY);
} else {
mPointerVelocityControl.reset();
}
down = isPointerDown(mCurrentButtonState);
hovering = !down;
float x, y;
mPointerController->getPosition(&x, &y);
mPointerSimple.currentCoords.copyFrom(
mCurrentCookedPointerData.pointerCoords[currentIndex]);
mPointerSimple.currentCoords.setAxisValue(AMOTION_EVENT_AXIS_X, x);
mPointerSimple.currentCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, y);
mPointerSimple.currentCoords.setAxisValue(AMOTION_EVENT_AXIS_PRESSURE,
hovering ? 0.0f : 1.0f);
mPointerSimple.currentProperties.id = 0;
mPointerSimple.currentProperties.toolType =
mCurrentCookedPointerData.pointerProperties[currentIndex].toolType;
} else {
mPointerVelocityControl.reset();
down = false;
hovering = false;
}
dispatchPointerSimple(when, policyFlags, down, hovering);
}
void TouchInputMapper::abortPointerMouse(nsecs_t when, uint32_t policyFlags) {
abortPointerSimple(when, policyFlags);
mPointerVelocityControl.reset();
}
void TouchInputMapper::dispatchPointerSimple(nsecs_t when, uint32_t policyFlags,
bool down, bool hovering) {
int32_t metaState = getContext()->getGlobalMetaState();
if (mPointerController != NULL) {
if (down || hovering) {
mPointerController->setPresentation(PointerControllerInterface::PRESENTATION_POINTER);
mPointerController->clearSpots();
mPointerController->setButtonState(mCurrentButtonState);
mPointerController->unfade(PointerControllerInterface::TRANSITION_IMMEDIATE);
} else if (!down && !hovering && (mPointerSimple.down || mPointerSimple.hovering)) {
mPointerController->fade(PointerControllerInterface::TRANSITION_GRADUAL);
}
}
if (mPointerSimple.down && !down) {
mPointerSimple.down = false;
// Send up.
NotifyMotionArgs args(when, getDeviceId(), mSource, policyFlags,
AMOTION_EVENT_ACTION_UP, 0, metaState, mLastButtonState, 0,
mViewport.displayId,
1, &mPointerSimple.lastProperties, &mPointerSimple.lastCoords,
mOrientedXPrecision, mOrientedYPrecision,
mPointerSimple.downTime);
getListener()->notifyMotion(&args);
}
if (mPointerSimple.hovering && !hovering) {
mPointerSimple.hovering = false;
// Send hover exit.
NotifyMotionArgs args(when, getDeviceId(), mSource, policyFlags,
AMOTION_EVENT_ACTION_HOVER_EXIT, 0, metaState, mLastButtonState, 0,
mViewport.displayId,
1, &mPointerSimple.lastProperties, &mPointerSimple.lastCoords,
mOrientedXPrecision, mOrientedYPrecision,
mPointerSimple.downTime);
getListener()->notifyMotion(&args);
}
if (down) {
if (!mPointerSimple.down) {
mPointerSimple.down = true;
mPointerSimple.downTime = when;
// Send down.
NotifyMotionArgs args(when, getDeviceId(), mSource, policyFlags,
AMOTION_EVENT_ACTION_DOWN, 0, metaState, mCurrentButtonState, 0,
mViewport.displayId,
1, &mPointerSimple.currentProperties, &mPointerSimple.currentCoords,
mOrientedXPrecision, mOrientedYPrecision,
mPointerSimple.downTime);
getListener()->notifyMotion(&args);
}
// Send move.
NotifyMotionArgs args(when, getDeviceId(), mSource, policyFlags,
AMOTION_EVENT_ACTION_MOVE, 0, metaState, mCurrentButtonState, 0,
mViewport.displayId,
1, &mPointerSimple.currentProperties, &mPointerSimple.currentCoords,
mOrientedXPrecision, mOrientedYPrecision,
mPointerSimple.downTime);
getListener()->notifyMotion(&args);
}
if (hovering) {
if (!mPointerSimple.hovering) {
mPointerSimple.hovering = true;
// Send hover enter.
NotifyMotionArgs args(when, getDeviceId(), mSource, policyFlags,
AMOTION_EVENT_ACTION_HOVER_ENTER, 0, metaState, mCurrentButtonState, 0,
mViewport.displayId,
1, &mPointerSimple.currentProperties, &mPointerSimple.currentCoords,
mOrientedXPrecision, mOrientedYPrecision,
mPointerSimple.downTime);
getListener()->notifyMotion(&args);
}
// Send hover move.
NotifyMotionArgs args(when, getDeviceId(), mSource, policyFlags,
AMOTION_EVENT_ACTION_HOVER_MOVE, 0, metaState, mCurrentButtonState, 0,
mViewport.displayId,
1, &mPointerSimple.currentProperties, &mPointerSimple.currentCoords,
mOrientedXPrecision, mOrientedYPrecision,
mPointerSimple.downTime);
getListener()->notifyMotion(&args);
}
if (mCurrentRawVScroll || mCurrentRawHScroll) {
float vscroll = mCurrentRawVScroll;
float hscroll = mCurrentRawHScroll;
mWheelYVelocityControl.move(when, NULL, &vscroll);
mWheelXVelocityControl.move(when, &hscroll, NULL);
// Send scroll.
PointerCoords pointerCoords;
pointerCoords.copyFrom(mPointerSimple.currentCoords);
pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_VSCROLL, vscroll);
pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_HSCROLL, hscroll);
NotifyMotionArgs args(when, getDeviceId(), mSource, policyFlags,
AMOTION_EVENT_ACTION_SCROLL, 0, metaState, mCurrentButtonState, 0,
mViewport.displayId,
1, &mPointerSimple.currentProperties, &pointerCoords,
mOrientedXPrecision, mOrientedYPrecision,
mPointerSimple.downTime);
getListener()->notifyMotion(&args);
}
// Save state.
if (down || hovering) {
mPointerSimple.lastCoords.copyFrom(mPointerSimple.currentCoords);
mPointerSimple.lastProperties.copyFrom(mPointerSimple.currentProperties);
} else {
mPointerSimple.reset();
}
}
void TouchInputMapper::abortPointerSimple(nsecs_t when, uint32_t policyFlags) {
mPointerSimple.currentCoords.clear();
mPointerSimple.currentProperties.clear();
dispatchPointerSimple(when, policyFlags, false, false);
}
void TouchInputMapper::dispatchMotion(nsecs_t when, uint32_t policyFlags, uint32_t source,
int32_t action, int32_t flags, int32_t metaState, int32_t buttonState, int32_t edgeFlags,
const PointerProperties* properties, const PointerCoords* coords,
const uint32_t* idToIndex, BitSet32 idBits,
int32_t changedId, float xPrecision, float yPrecision, nsecs_t downTime) {
PointerCoords pointerCoords[MAX_POINTERS];
PointerProperties pointerProperties[MAX_POINTERS];
uint32_t pointerCount = 0;
while (!idBits.isEmpty()) {
uint32_t id = idBits.clearFirstMarkedBit();
uint32_t index = idToIndex[id];
pointerProperties[pointerCount].copyFrom(properties[index]);
pointerCoords[pointerCount].copyFrom(coords[index]);
if (changedId >= 0 && id == uint32_t(changedId)) {
action |= pointerCount << AMOTION_EVENT_ACTION_POINTER_INDEX_SHIFT;
}
pointerCount += 1;
}
ALOG_ASSERT(pointerCount != 0);
if (changedId >= 0 && pointerCount == 1) {
// Replace initial down and final up action.
// We can compare the action without masking off the changed pointer index
// because we know the index is 0.
if (action == AMOTION_EVENT_ACTION_POINTER_DOWN) {
action = AMOTION_EVENT_ACTION_DOWN;
} else if (action == AMOTION_EVENT_ACTION_POINTER_UP) {
action = AMOTION_EVENT_ACTION_UP;
} else {
// Can't happen.
ALOG_ASSERT(false);
}
}
NotifyMotionArgs args(when, getDeviceId(), source, policyFlags,
action, flags, metaState, buttonState, edgeFlags,
mViewport.displayId, pointerCount, pointerProperties, pointerCoords,
xPrecision, yPrecision, downTime);
// resize touch coords for (dual_display && freescale_disabled)
// rw.vout.scale: off/freescale_disabled, on/freescale_enabled
char prop_dual[PROPERTY_VALUE_MAX];
if (!mPadmouseStatus && property_get("ro.vout.dualdisplay2", prop_dual, "false")
&& (strcmp(prop_dual, "true") == 0)
&& (action == AMOTION_EVENT_ACTION_DOWN
|| action == AMOTION_EVENT_ACTION_UP
|| action == AMOTION_EVENT_ACTION_MOVE)) {
bool resize_touch = false;
if (strncmp(g_dmode_str, "panel", 5) != 0) {
char prop[PROPERTY_VALUE_MAX];
if (property_get("rw.vout.scale", prop, "on")
&& strcmp(prop, "off") == 0) {
resize_touch = true;
}
}
if (resize_touch) {
int x = 0, y = 0, w = 0, h = 0;
if(sscanf(g_daxis_str, "%d %d %d %d", &x,&y,&w,&h) > 0) {
int ww = w, hh = h;
if (strncmp(g_dmode_str, "1080p", 5) == 0) {
ww = 1920;
hh = 1080;
} else if (strncmp(g_dmode_str, "720p", 4) == 0) {
ww = 1280;
hh = 720;
} else if (strncmp(g_dmode_str, "480p", 4) == 0) {
ww = 720;
hh = 480;
}
if (ww >= w) x = (ww - w) / 2;
if (hh >= h) y = (hh - h) / 2;
for (uint32_t i = 0; i < args.pointerCount; i++) {
float coords_x = args.pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_X);
float coords_y = args.pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_Y);
if (ww >= w && hh >= h) { //1024*600 < 1280*720
coords_x = coords_x*(w + 2*x)/w;
coords_y = coords_y*(h + 2*y)/h;
coords_x = (coords_x - x)*(w + 2*x)/w;
coords_y = (coords_y - y)*(h + 2*y)/h;
coords_x = coords_x*w/(w + 2*x);
coords_y = coords_y*h/(h + 2*y);
} else if (ww >= w && hh < h) { //1024*768 > 1280*720
coords_x = coords_x*(w + 2*x)/w;
coords_y = coords_y*hh/h;
coords_x = (coords_x - x)*(w + 2*x)/w;
coords_y = (coords_y - 0)*hh/h;
coords_x = coords_x*w/(w + 2*x);
coords_y = coords_y*h/hh;
} else { //1024*600 > 720*480
coords_x = coords_x*ww/w;
coords_y = coords_y*hh/h;
coords_x = (coords_x - 0)*ww/w;
coords_y = (coords_y - 0)*hh/h;
coords_x = coords_x*w/ww;
coords_y = coords_y*h/hh;
}
args.pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_X, coords_x);
args.pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_Y, coords_y);
}
}
}
}
getListener()->notifyMotion(&args);
}
bool TouchInputMapper::updateMovedPointers(const PointerProperties* inProperties,
const PointerCoords* inCoords, const uint32_t* inIdToIndex,
PointerProperties* outProperties, PointerCoords* outCoords, const uint32_t* outIdToIndex,
BitSet32 idBits) const {
bool changed = false;
while (!idBits.isEmpty()) {
uint32_t id = idBits.clearFirstMarkedBit();
uint32_t inIndex = inIdToIndex[id];
uint32_t outIndex = outIdToIndex[id];
const PointerProperties& curInProperties = inProperties[inIndex];
const PointerCoords& curInCoords = inCoords[inIndex];
PointerProperties& curOutProperties = outProperties[outIndex];
PointerCoords& curOutCoords = outCoords[outIndex];
if (curInProperties != curOutProperties) {
curOutProperties.copyFrom(curInProperties);
changed = true;
}
if (curInCoords != curOutCoords) {
curOutCoords.copyFrom(curInCoords);
changed = true;
}
}
return changed;
}
void TouchInputMapper::fadePointer() {
if (mPointerController != NULL) {
mPointerController->fade(PointerControllerInterface::TRANSITION_GRADUAL);
}
}
void TouchInputMapper::setTvOutStatus(bool enabled){
bool padmouseStatus = mPadmouseStatus;
if( mTvOutStatus != enabled){
mTvOutStatus = enabled;
String8 padmouseString;
if(mTvOutStatus){
if ( !getDevice()->getConfiguration().tryGetProperty(String8("touch.tvout.padmouse"),
padmouseString) || padmouseString == "true" ) {
//mouse style: pointer or spot
mParameters.deviceType = Parameters::DEVICE_TYPE_POINTER;
padmouseStatus = true;
mHdimiCfgChange = true;
ALOGW(" tvout touch screen set to padmouse mode ");
}
}
else if(mPadmouseStatus){
configureParameters();
padmouseStatus = false;
}
if(mPadmouseStatus != padmouseStatus){
mPadmouseStatus = padmouseStatus;
nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC);
bool outReset = true;
configureSurface(now, &outReset);
reset(now);
}
}
// dual display
char prop_dual[PROPERTY_VALUE_MAX];
if (property_get("ro.vout.dualdisplay2", prop_dual, "false")
&& (strcmp(prop_dual, "true") == 0)) {
int fd_dmode = -1;
memset(g_dmode_str,0,32);
if((fd_dmode = open("/sys/class/display/mode", O_RDONLY)) >= 0) {
int ret_len = read(fd_dmode, g_dmode_str, sizeof(g_dmode_str));
close(fd_dmode);
} else {
ALOGE("open /sys/class/display/mode.");
}
int fd_daxis = -1;
memset(g_daxis_str,0,32);
if((fd_daxis = open("/sys/class/display/axis", O_RDONLY)) >= 0) {
int ret_len = read(fd_daxis, g_daxis_str, sizeof(g_daxis_str));
close(fd_daxis);
} else {
ALOGE("open /sys/class/display/mode.");
}
}
}
bool TouchInputMapper::isPointInsideSurface(int32_t x, int32_t y) {
return x >= mRawPointerAxes.x.minValue && x <= mRawPointerAxes.x.maxValue
&& y >= mRawPointerAxes.y.minValue && y <= mRawPointerAxes.y.maxValue;
}
const TouchInputMapper::VirtualKey* TouchInputMapper::findVirtualKeyHit(
int32_t x, int32_t y) {
size_t numVirtualKeys = mVirtualKeys.size();
for (size_t i = 0; i < numVirtualKeys; i++) {
const VirtualKey& virtualKey = mVirtualKeys[i];
#if DEBUG_VIRTUAL_KEYS
ALOGD("VirtualKeys: Hit test (%d, %d): keyCode=%d, scanCode=%d, "
"left=%d, top=%d, right=%d, bottom=%d",
x, y,
virtualKey.keyCode, virtualKey.scanCode,
virtualKey.hitLeft, virtualKey.hitTop,
virtualKey.hitRight, virtualKey.hitBottom);
#endif
if (virtualKey.isHit(x, y)) {
return & virtualKey;
}
}
return NULL;
}
void TouchInputMapper::assignPointerIds() {
uint32_t currentPointerCount = mCurrentRawPointerData.pointerCount;
uint32_t lastPointerCount = mLastRawPointerData.pointerCount;
mCurrentRawPointerData.clearIdBits();
if (currentPointerCount == 0) {
// No pointers to assign.
return;
}
if (lastPointerCount == 0) {
// All pointers are new.
for (uint32_t i = 0; i < currentPointerCount; i++) {
uint32_t id = i;
mCurrentRawPointerData.pointers[i].id = id;
mCurrentRawPointerData.idToIndex[id] = i;
mCurrentRawPointerData.markIdBit(id, mCurrentRawPointerData.isHovering(i));
}
return;
}
if (currentPointerCount == 1 && lastPointerCount == 1
&& mCurrentRawPointerData.pointers[0].toolType
== mLastRawPointerData.pointers[0].toolType) {
uint32_t id;
if (!mCurrentRawPointerData.isHovering(0) &&
!mLastRawPointerData.hoveringIdBits.isEmpty()) {
// 1 finger released and touching again. Should be safe to
// reset to id 0.
id = 0;
} else {
// Only one pointer and no change in count so it must have the same id as before.
id = mLastRawPointerData.pointers[0].id;
}
mCurrentRawPointerData.pointers[0].id = id;
mCurrentRawPointerData.idToIndex[id] = 0;
mCurrentRawPointerData.markIdBit(id, mCurrentRawPointerData.isHovering(0));
return;
}
// General case.
// We build a heap of squared euclidean distances between current and last pointers
// associated with the current and last pointer indices. Then, we find the best
// match (by distance) for each current pointer.
// The pointers must have the same tool type but it is possible for them to
// transition from hovering to touching or vice-versa while retaining the same id.
PointerDistanceHeapElement heap[MAX_POINTERS * MAX_POINTERS];
uint32_t heapSize = 0;
for (uint32_t currentPointerIndex = 0; currentPointerIndex < currentPointerCount;
currentPointerIndex++) {
for (uint32_t lastPointerIndex = 0; lastPointerIndex < lastPointerCount;
lastPointerIndex++) {
const RawPointerData::Pointer& currentPointer =
mCurrentRawPointerData.pointers[currentPointerIndex];
const RawPointerData::Pointer& lastPointer =
mLastRawPointerData.pointers[lastPointerIndex];
if (currentPointer.toolType == lastPointer.toolType) {
int64_t deltaX = currentPointer.x - lastPointer.x;
int64_t deltaY = currentPointer.y - lastPointer.y;
uint64_t distance = uint64_t(deltaX * deltaX + deltaY * deltaY);
// Insert new element into the heap (sift up).
heap[heapSize].currentPointerIndex = currentPointerIndex;
heap[heapSize].lastPointerIndex = lastPointerIndex;
heap[heapSize].distance = distance;
heapSize += 1;
}
}
}
// Heapify
for (uint32_t startIndex = heapSize / 2; startIndex != 0; ) {
startIndex -= 1;
for (uint32_t parentIndex = startIndex; ;) {
uint32_t childIndex = parentIndex * 2 + 1;
if (childIndex >= heapSize) {
break;
}
if (childIndex + 1 < heapSize
&& heap[childIndex + 1].distance < heap[childIndex].distance) {
childIndex += 1;
}
if (heap[parentIndex].distance <= heap[childIndex].distance) {
break;
}
swap(heap[parentIndex], heap[childIndex]);
parentIndex = childIndex;
}
}
#if DEBUG_POINTER_ASSIGNMENT
ALOGD("assignPointerIds - initial distance min-heap: size=%d", heapSize);
for (size_t i = 0; i < heapSize; i++) {
ALOGD(" heap[%d]: cur=%d, last=%d, distance=%lld",
i, heap[i].currentPointerIndex, heap[i].lastPointerIndex,
heap[i].distance);
}
#endif
// Pull matches out by increasing order of distance.
// To avoid reassigning pointers that have already been matched, the loop keeps track
// of which last and current pointers have been matched using the matchedXXXBits variables.
// It also tracks the used pointer id bits.
BitSet32 matchedLastBits(0);
BitSet32 matchedCurrentBits(0);
BitSet32 usedIdBits(0);
bool first = true;
for (uint32_t i = min(currentPointerCount, lastPointerCount); heapSize > 0 && i > 0; i--) {
while (heapSize > 0) {
if (first) {
// The first time through the loop, we just consume the root element of
// the heap (the one with smallest distance).
first = false;
} else {
// Previous iterations consumed the root element of the heap.
// Pop root element off of the heap (sift down).
heap[0] = heap[heapSize];
for (uint32_t parentIndex = 0; ;) {
uint32_t childIndex = parentIndex * 2 + 1;
if (childIndex >= heapSize) {
break;
}
if (childIndex + 1 < heapSize
&& heap[childIndex + 1].distance < heap[childIndex].distance) {
childIndex += 1;
}
if (heap[parentIndex].distance <= heap[childIndex].distance) {
break;
}
swap(heap[parentIndex], heap[childIndex]);
parentIndex = childIndex;
}
#if DEBUG_POINTER_ASSIGNMENT
ALOGD("assignPointerIds - reduced distance min-heap: size=%d", heapSize);
for (size_t i = 0; i < heapSize; i++) {
ALOGD(" heap[%d]: cur=%d, last=%d, distance=%lld",
i, heap[i].currentPointerIndex, heap[i].lastPointerIndex,
heap[i].distance);
}
#endif
}
heapSize -= 1;
uint32_t currentPointerIndex = heap[0].currentPointerIndex;
if (matchedCurrentBits.hasBit(currentPointerIndex)) continue; // already matched
uint32_t lastPointerIndex = heap[0].lastPointerIndex;
if (matchedLastBits.hasBit(lastPointerIndex)) continue; // already matched
matchedCurrentBits.markBit(currentPointerIndex);
matchedLastBits.markBit(lastPointerIndex);
uint32_t id = mLastRawPointerData.pointers[lastPointerIndex].id;
mCurrentRawPointerData.pointers[currentPointerIndex].id = id;
mCurrentRawPointerData.idToIndex[id] = currentPointerIndex;
mCurrentRawPointerData.markIdBit(id,
mCurrentRawPointerData.isHovering(currentPointerIndex));
usedIdBits.markBit(id);
#if DEBUG_POINTER_ASSIGNMENT
ALOGD("assignPointerIds - matched: cur=%d, last=%d, id=%d, distance=%lld",
lastPointerIndex, currentPointerIndex, id, heap[0].distance);
#endif
break;
}
}
// Assign fresh ids to pointers that were not matched in the process.
for (uint32_t i = currentPointerCount - matchedCurrentBits.count(); i != 0; i--) {
uint32_t currentPointerIndex = matchedCurrentBits.markFirstUnmarkedBit();
uint32_t id = usedIdBits.markFirstUnmarkedBit();
mCurrentRawPointerData.pointers[currentPointerIndex].id = id;
mCurrentRawPointerData.idToIndex[id] = currentPointerIndex;
mCurrentRawPointerData.markIdBit(id,
mCurrentRawPointerData.isHovering(currentPointerIndex));
#if DEBUG_POINTER_ASSIGNMENT
ALOGD("assignPointerIds - assigned: cur=%d, id=%d",
currentPointerIndex, id);
#endif
}
}
int32_t TouchInputMapper::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) {
if (mCurrentVirtualKey.down && mCurrentVirtualKey.keyCode == keyCode) {
return AKEY_STATE_VIRTUAL;
}
size_t numVirtualKeys = mVirtualKeys.size();
for (size_t i = 0; i < numVirtualKeys; i++) {
const VirtualKey& virtualKey = mVirtualKeys[i];
if (virtualKey.keyCode == keyCode) {
return AKEY_STATE_UP;
}
}
return AKEY_STATE_UNKNOWN;
}
int32_t TouchInputMapper::getScanCodeState(uint32_t sourceMask, int32_t scanCode) {
if (mCurrentVirtualKey.down && mCurrentVirtualKey.scanCode == scanCode) {
return AKEY_STATE_VIRTUAL;
}
size_t numVirtualKeys = mVirtualKeys.size();
for (size_t i = 0; i < numVirtualKeys; i++) {
const VirtualKey& virtualKey = mVirtualKeys[i];
if (virtualKey.scanCode == scanCode) {
return AKEY_STATE_UP;
}
}
return AKEY_STATE_UNKNOWN;
}
bool TouchInputMapper::markSupportedKeyCodes(uint32_t sourceMask, size_t numCodes,
const int32_t* keyCodes, uint8_t* outFlags) {
size_t numVirtualKeys = mVirtualKeys.size();
for (size_t i = 0; i < numVirtualKeys; i++) {
const VirtualKey& virtualKey = mVirtualKeys[i];
for (size_t i = 0; i < numCodes; i++) {
if (virtualKey.keyCode == keyCodes[i]) {
outFlags[i] = 1;
}
}
}
return true;
}
// --- SingleTouchInputMapper ---
SingleTouchInputMapper::SingleTouchInputMapper(InputDevice* device) :
TouchInputMapper(device) {
}
SingleTouchInputMapper::~SingleTouchInputMapper() {
}
void SingleTouchInputMapper::reset(nsecs_t when) {
mSingleTouchMotionAccumulator.reset(getDevice());
TouchInputMapper::reset(when);
}
void SingleTouchInputMapper::process(const RawEvent* rawEvent) {
TouchInputMapper::process(rawEvent);
mSingleTouchMotionAccumulator.process(rawEvent);
}
void SingleTouchInputMapper::syncTouch(nsecs_t when, bool* outHavePointerIds) {
if (mTouchButtonAccumulator.isToolActive()) {
mCurrentRawPointerData.pointerCount = 1;
mCurrentRawPointerData.idToIndex[0] = 0;
bool isHovering = mTouchButtonAccumulator.getToolType() != AMOTION_EVENT_TOOL_TYPE_MOUSE
&& (mTouchButtonAccumulator.isHovering()
|| (mRawPointerAxes.pressure.valid
&& mSingleTouchMotionAccumulator.getAbsolutePressure() <= 0));
mCurrentRawPointerData.markIdBit(0, isHovering);
RawPointerData::Pointer& outPointer = mCurrentRawPointerData.pointers[0];
outPointer.id = 0;
outPointer.x = mSingleTouchMotionAccumulator.getAbsoluteX();
outPointer.y = mSingleTouchMotionAccumulator.getAbsoluteY();
outPointer.pressure = mSingleTouchMotionAccumulator.getAbsolutePressure();
outPointer.touchMajor = 0;
outPointer.touchMinor = 0;
outPointer.toolMajor = mSingleTouchMotionAccumulator.getAbsoluteToolWidth();
outPointer.toolMinor = mSingleTouchMotionAccumulator.getAbsoluteToolWidth();
outPointer.orientation = 0;
outPointer.distance = mSingleTouchMotionAccumulator.getAbsoluteDistance();
outPointer.tiltX = mSingleTouchMotionAccumulator.getAbsoluteTiltX();
outPointer.tiltY = mSingleTouchMotionAccumulator.getAbsoluteTiltY();
outPointer.toolType = mTouchButtonAccumulator.getToolType();
if (outPointer.toolType == AMOTION_EVENT_TOOL_TYPE_UNKNOWN) {
outPointer.toolType = AMOTION_EVENT_TOOL_TYPE_FINGER;
}
outPointer.isHovering = isHovering;
}
}
void SingleTouchInputMapper::configureRawPointerAxes() {
TouchInputMapper::configureRawPointerAxes();
getAbsoluteAxisInfo(ABS_X, &mRawPointerAxes.x);
getAbsoluteAxisInfo(ABS_Y, &mRawPointerAxes.y);
getAbsoluteAxisInfo(ABS_PRESSURE, &mRawPointerAxes.pressure);
getAbsoluteAxisInfo(ABS_TOOL_WIDTH, &mRawPointerAxes.toolMajor);
getAbsoluteAxisInfo(ABS_DISTANCE, &mRawPointerAxes.distance);
getAbsoluteAxisInfo(ABS_TILT_X, &mRawPointerAxes.tiltX);
getAbsoluteAxisInfo(ABS_TILT_Y, &mRawPointerAxes.tiltY);
}
bool SingleTouchInputMapper::hasStylus() const {
return mTouchButtonAccumulator.hasStylus();
}
// --- MultiTouchInputMapper ---
MultiTouchInputMapper::MultiTouchInputMapper(InputDevice* device) :
TouchInputMapper(device) {
}
MultiTouchInputMapper::~MultiTouchInputMapper() {
}
void MultiTouchInputMapper::reset(nsecs_t when) {
mMultiTouchMotionAccumulator.reset(getDevice());
mPointerIdBits.clear();
TouchInputMapper::reset(when);
}
void MultiTouchInputMapper::process(const RawEvent* rawEvent) {
TouchInputMapper::process(rawEvent);
mMultiTouchMotionAccumulator.process(rawEvent);
}
void MultiTouchInputMapper::syncTouch(nsecs_t when, bool* outHavePointerIds) {
size_t inCount = mMultiTouchMotionAccumulator.getSlotCount();
size_t outCount = 0;
BitSet32 newPointerIdBits;
for (size_t inIndex = 0; inIndex < inCount; inIndex++) {
const MultiTouchMotionAccumulator::Slot* inSlot =
mMultiTouchMotionAccumulator.getSlot(inIndex);
if (!inSlot->isInUse()) {
continue;
}
if (outCount >= MAX_POINTERS) {
#if DEBUG_POINTERS
ALOGD("MultiTouch device %s emitted more than maximum of %d pointers; "
"ignoring the rest.",
getDeviceName().string(), MAX_POINTERS);
#endif
break; // too many fingers!
}
RawPointerData::Pointer& outPointer = mCurrentRawPointerData.pointers[outCount];
outPointer.x = inSlot->getX();
outPointer.y = inSlot->getY();
outPointer.pressure = inSlot->getPressure();
outPointer.touchMajor = inSlot->getTouchMajor();
outPointer.touchMinor = inSlot->getTouchMinor();
outPointer.toolMajor = inSlot->getToolMajor();
outPointer.toolMinor = inSlot->getToolMinor();
outPointer.orientation = inSlot->getOrientation();
outPointer.distance = inSlot->getDistance();
outPointer.tiltX = 0;
outPointer.tiltY = 0;
outPointer.toolType = inSlot->getToolType();
if (outPointer.toolType == AMOTION_EVENT_TOOL_TYPE_UNKNOWN) {
outPointer.toolType = mTouchButtonAccumulator.getToolType();
if (outPointer.toolType == AMOTION_EVENT_TOOL_TYPE_UNKNOWN) {
outPointer.toolType = AMOTION_EVENT_TOOL_TYPE_FINGER;
}
}
bool isHovering = mTouchButtonAccumulator.getToolType() != AMOTION_EVENT_TOOL_TYPE_MOUSE
&& (mTouchButtonAccumulator.isHovering()
|| (mRawPointerAxes.pressure.valid && inSlot->getPressure() <= 0));
outPointer.isHovering = isHovering;
// Assign pointer id using tracking id if available.
if (*outHavePointerIds) {
int32_t trackingId = inSlot->getTrackingId();
int32_t id = -1;
if (trackingId >= 0) {
for (BitSet32 idBits(mPointerIdBits); !idBits.isEmpty(); ) {
uint32_t n = idBits.clearFirstMarkedBit();
if (mPointerTrackingIdMap[n] == trackingId) {
id = n;
}
}
if (id < 0 && !mPointerIdBits.isFull()) {
id = mPointerIdBits.markFirstUnmarkedBit();
mPointerTrackingIdMap[id] = trackingId;
}
}
if (id < 0) {
*outHavePointerIds = false;
mCurrentRawPointerData.clearIdBits();
newPointerIdBits.clear();
} else {
outPointer.id = id;
mCurrentRawPointerData.idToIndex[id] = outCount;
mCurrentRawPointerData.markIdBit(id, isHovering);
newPointerIdBits.markBit(id);
}
}
outCount += 1;
}
mCurrentRawPointerData.pointerCount = outCount;
mPointerIdBits = newPointerIdBits;
mMultiTouchMotionAccumulator.finishSync();
}
void MultiTouchInputMapper::configureRawPointerAxes() {
TouchInputMapper::configureRawPointerAxes();
getAbsoluteAxisInfo(ABS_MT_POSITION_X, &mRawPointerAxes.x);
getAbsoluteAxisInfo(ABS_MT_POSITION_Y, &mRawPointerAxes.y);
getAbsoluteAxisInfo(ABS_MT_TOUCH_MAJOR, &mRawPointerAxes.touchMajor);
getAbsoluteAxisInfo(ABS_MT_TOUCH_MINOR, &mRawPointerAxes.touchMinor);
getAbsoluteAxisInfo(ABS_MT_WIDTH_MAJOR, &mRawPointerAxes.toolMajor);
getAbsoluteAxisInfo(ABS_MT_WIDTH_MINOR, &mRawPointerAxes.toolMinor);
getAbsoluteAxisInfo(ABS_MT_ORIENTATION, &mRawPointerAxes.orientation);
getAbsoluteAxisInfo(ABS_MT_PRESSURE, &mRawPointerAxes.pressure);
getAbsoluteAxisInfo(ABS_MT_DISTANCE, &mRawPointerAxes.distance);
getAbsoluteAxisInfo(ABS_MT_TRACKING_ID, &mRawPointerAxes.trackingId);
getAbsoluteAxisInfo(ABS_MT_SLOT, &mRawPointerAxes.slot);
if (mRawPointerAxes.trackingId.valid
&& mRawPointerAxes.slot.valid
&& mRawPointerAxes.slot.minValue == 0 && mRawPointerAxes.slot.maxValue > 0) {
size_t slotCount = mRawPointerAxes.slot.maxValue + 1;
if (slotCount > MAX_SLOTS) {
ALOGW("MultiTouch Device %s reported %d slots but the framework "
"only supports a maximum of %d slots at this time.",
getDeviceName().string(), slotCount, MAX_SLOTS);
slotCount = MAX_SLOTS;
}
mMultiTouchMotionAccumulator.configure(getDevice(),
slotCount, true /*usingSlotsProtocol*/);
} else {
mMultiTouchMotionAccumulator.configure(getDevice(),
MAX_POINTERS, false /*usingSlotsProtocol*/);
}
}
bool MultiTouchInputMapper::hasStylus() const {
return mMultiTouchMotionAccumulator.hasStylus()
|| mTouchButtonAccumulator.hasStylus();
}
// --- JoystickInputMapper ---
JoystickInputMapper::JoystickInputMapper(InputDevice* device) :
InputMapper(device) {
}
JoystickInputMapper::~JoystickInputMapper() {
}
uint32_t JoystickInputMapper::getSources() {
return AINPUT_SOURCE_JOYSTICK;
}
void JoystickInputMapper::populateDeviceInfo(InputDeviceInfo* info) {
InputMapper::populateDeviceInfo(info);
for (size_t i = 0; i < mAxes.size(); i++) {
const Axis& axis = mAxes.valueAt(i);
addMotionRange(axis.axisInfo.axis, axis, info);
if (axis.axisInfo.mode == AxisInfo::MODE_SPLIT) {
addMotionRange(axis.axisInfo.highAxis, axis, info);
}
}
}
void JoystickInputMapper::addMotionRange(int32_t axisId, const Axis& axis,
InputDeviceInfo* info) {
info->addMotionRange(axisId, AINPUT_SOURCE_JOYSTICK,
axis.min, axis.max, axis.flat, axis.fuzz, axis.resolution);
/* In order to ease the transition for developers from using the old axes
* to the newer, more semantically correct axes, we'll continue to register
* the old axes as duplicates of their corresponding new ones. */
int32_t compatAxis = getCompatAxis(axisId);
if (compatAxis >= 0) {
info->addMotionRange(compatAxis, AINPUT_SOURCE_JOYSTICK,
axis.min, axis.max, axis.flat, axis.fuzz, axis.resolution);
}
}
/* A mapping from axes the joystick actually has to the axes that should be
* artificially created for compatibility purposes.
* Returns -1 if no compatibility axis is needed. */
int32_t JoystickInputMapper::getCompatAxis(int32_t axis) {
switch(axis) {
case AMOTION_EVENT_AXIS_LTRIGGER:
return AMOTION_EVENT_AXIS_BRAKE;
case AMOTION_EVENT_AXIS_RTRIGGER:
return AMOTION_EVENT_AXIS_GAS;
}
return -1;
}
void JoystickInputMapper::dump(String8& dump) {
dump.append(INDENT2 "Joystick Input Mapper:\n");
dump.append(INDENT3 "Axes:\n");
size_t numAxes = mAxes.size();
for (size_t i = 0; i < numAxes; i++) {
const Axis& axis = mAxes.valueAt(i);
const char* label = getAxisLabel(axis.axisInfo.axis);
if (label) {
dump.appendFormat(INDENT4 "%s", label);
} else {
dump.appendFormat(INDENT4 "%d", axis.axisInfo.axis);
}
if (axis.axisInfo.mode == AxisInfo::MODE_SPLIT) {
label = getAxisLabel(axis.axisInfo.highAxis);
if (label) {
dump.appendFormat(" / %s (split at %d)", label, axis.axisInfo.splitValue);
} else {
dump.appendFormat(" / %d (split at %d)", axis.axisInfo.highAxis,
axis.axisInfo.splitValue);
}
} else if (axis.axisInfo.mode == AxisInfo::MODE_INVERT) {
dump.append(" (invert)");
}
dump.appendFormat(": min=%0.5f, max=%0.5f, flat=%0.5f, fuzz=%0.5f, resolution=%0.5f\n",
axis.min, axis.max, axis.flat, axis.fuzz, axis.resolution);
dump.appendFormat(INDENT4 " scale=%0.5f, offset=%0.5f, "
"highScale=%0.5f, highOffset=%0.5f\n",
axis.scale, axis.offset, axis.highScale, axis.highOffset);
dump.appendFormat(INDENT4 " rawAxis=%d, rawMin=%d, rawMax=%d, "
"rawFlat=%d, rawFuzz=%d, rawResolution=%d\n",
mAxes.keyAt(i), axis.rawAxisInfo.minValue, axis.rawAxisInfo.maxValue,
axis.rawAxisInfo.flat, axis.rawAxisInfo.fuzz, axis.rawAxisInfo.resolution);
}
}
void JoystickInputMapper::configure(nsecs_t when,
const InputReaderConfiguration* config, uint32_t changes) {
InputMapper::configure(when, config, changes);
if (!changes) { // first time only
// Collect all axes.
for (int32_t abs = 0; abs <= ABS_MAX; abs++) {
if (!(getAbsAxisUsage(abs, getDevice()->getClasses())
& INPUT_DEVICE_CLASS_JOYSTICK)) {
continue; // axis must be claimed by a different device
}
RawAbsoluteAxisInfo rawAxisInfo;
getAbsoluteAxisInfo(abs, &rawAxisInfo);
if (rawAxisInfo.valid) {
// Map axis.
AxisInfo axisInfo;
bool explicitlyMapped = !getEventHub()->mapAxis(getDeviceId(), abs, &axisInfo);
if (!explicitlyMapped) {
// Axis is not explicitly mapped, will choose a generic axis later.
axisInfo.mode = AxisInfo::MODE_NORMAL;
axisInfo.axis = -1;
}
// Apply flat override.
int32_t rawFlat = axisInfo.flatOverride < 0
? rawAxisInfo.flat : axisInfo.flatOverride;
// Calculate scaling factors and limits.
Axis axis;
if (axisInfo.mode == AxisInfo::MODE_SPLIT) {
float scale = 1.0f / (axisInfo.splitValue - rawAxisInfo.minValue);
float highScale = 1.0f / (rawAxisInfo.maxValue - axisInfo.splitValue);
axis.initialize(rawAxisInfo, axisInfo, explicitlyMapped,
scale, 0.0f, highScale, 0.0f,
0.0f, 1.0f, rawFlat * scale, rawAxisInfo.fuzz * scale,
rawAxisInfo.resolution * scale);
} else if (isCenteredAxis(axisInfo.axis)) {
float scale = 2.0f / (rawAxisInfo.maxValue - rawAxisInfo.minValue);
float offset = avg(rawAxisInfo.minValue, rawAxisInfo.maxValue) * -scale;
axis.initialize(rawAxisInfo, axisInfo, explicitlyMapped,
scale, offset, scale, offset,
-1.0f, 1.0f, rawFlat * scale, rawAxisInfo.fuzz * scale,
rawAxisInfo.resolution * scale);
} else {
float scale = 1.0f / (rawAxisInfo.maxValue - rawAxisInfo.minValue);
axis.initialize(rawAxisInfo, axisInfo, explicitlyMapped,
scale, 0.0f, scale, 0.0f,
0.0f, 1.0f, rawFlat * scale, rawAxisInfo.fuzz * scale,
rawAxisInfo.resolution * scale);
}
// To eliminate noise while the joystick is at rest, filter out small variations
// in axis values up front.
axis.filter = axis.flat * 0.25f;
mAxes.add(abs, axis);
}
}
// If there are too many axes, start dropping them.
// Prefer to keep explicitly mapped axes.
if (mAxes.size() > PointerCoords::MAX_AXES) {
ALOGI("Joystick '%s' has %d axes but the framework only supports a maximum of %d.",
getDeviceName().string(), mAxes.size(), PointerCoords::MAX_AXES);
pruneAxes(true);
pruneAxes(false);
}
// Assign generic axis ids to remaining axes.
int32_t nextGenericAxisId = AMOTION_EVENT_AXIS_GENERIC_1;
size_t numAxes = mAxes.size();
for (size_t i = 0; i < numAxes; i++) {
Axis& axis = mAxes.editValueAt(i);
if (axis.axisInfo.axis < 0) {
while (nextGenericAxisId <= AMOTION_EVENT_AXIS_GENERIC_16
&& haveAxis(nextGenericAxisId)) {
nextGenericAxisId += 1;
}
if (nextGenericAxisId <= AMOTION_EVENT_AXIS_GENERIC_16) {
axis.axisInfo.axis = nextGenericAxisId;
nextGenericAxisId += 1;
} else {
ALOGI("Ignoring joystick '%s' axis %d because all of the generic axis ids "
"have already been assigned to other axes.",
getDeviceName().string(), mAxes.keyAt(i));
mAxes.removeItemsAt(i--);
numAxes -= 1;
}
}
}
}
}
bool JoystickInputMapper::haveAxis(int32_t axisId) {
size_t numAxes = mAxes.size();
for (size_t i = 0; i < numAxes; i++) {
const Axis& axis = mAxes.valueAt(i);
if (axis.axisInfo.axis == axisId
|| (axis.axisInfo.mode == AxisInfo::MODE_SPLIT
&& axis.axisInfo.highAxis == axisId)) {
return true;
}
}
return false;
}
void JoystickInputMapper::pruneAxes(bool ignoreExplicitlyMappedAxes) {
size_t i = mAxes.size();
while (mAxes.size() > PointerCoords::MAX_AXES && i-- > 0) {
if (ignoreExplicitlyMappedAxes && mAxes.valueAt(i).explicitlyMapped) {
continue;
}
ALOGI("Discarding joystick '%s' axis %d because there are too many axes.",
getDeviceName().string(), mAxes.keyAt(i));
mAxes.removeItemsAt(i);
}
}
bool JoystickInputMapper::isCenteredAxis(int32_t axis) {
switch (axis) {
case AMOTION_EVENT_AXIS_X:
case AMOTION_EVENT_AXIS_Y:
case AMOTION_EVENT_AXIS_Z:
case AMOTION_EVENT_AXIS_RX:
case AMOTION_EVENT_AXIS_RY:
case AMOTION_EVENT_AXIS_RZ:
case AMOTION_EVENT_AXIS_HAT_X:
case AMOTION_EVENT_AXIS_HAT_Y:
case AMOTION_EVENT_AXIS_ORIENTATION:
case AMOTION_EVENT_AXIS_RUDDER:
case AMOTION_EVENT_AXIS_WHEEL:
return true;
default:
return false;
}
}
void JoystickInputMapper::reset(nsecs_t when) {
// Recenter all axes.
size_t numAxes = mAxes.size();
for (size_t i = 0; i < numAxes; i++) {
Axis& axis = mAxes.editValueAt(i);
axis.resetValue();
}
InputMapper::reset(when);
}
void JoystickInputMapper::process(const RawEvent* rawEvent) {
switch (rawEvent->type) {
case EV_ABS: {
ssize_t index = mAxes.indexOfKey(rawEvent->code);
if (index >= 0) {
Axis& axis = mAxes.editValueAt(index);
float newValue, highNewValue;
switch (axis.axisInfo.mode) {
case AxisInfo::MODE_INVERT:
newValue = (axis.rawAxisInfo.maxValue - rawEvent->value)
* axis.scale + axis.offset;
highNewValue = 0.0f;
break;
case AxisInfo::MODE_SPLIT:
if (rawEvent->value < axis.axisInfo.splitValue) {
newValue = (axis.axisInfo.splitValue - rawEvent->value)
* axis.scale + axis.offset;
highNewValue = 0.0f;
} else if (rawEvent->value > axis.axisInfo.splitValue) {
newValue = 0.0f;
highNewValue = (rawEvent->value - axis.axisInfo.splitValue)
* axis.highScale + axis.highOffset;
} else {
newValue = 0.0f;
highNewValue = 0.0f;
}
break;
default:
newValue = rawEvent->value * axis.scale + axis.offset;
highNewValue = 0.0f;
break;
}
axis.newValue = newValue;
axis.highNewValue = highNewValue;
}
break;
}
case EV_SYN:
switch (rawEvent->code) {
case SYN_REPORT:
sync(rawEvent->when, false /*force*/);
break;
}
break;
}
}
void JoystickInputMapper::sync(nsecs_t when, bool force) {
if (!filterAxes(force)) {
return;
}
int32_t metaState = mContext->getGlobalMetaState();
int32_t buttonState = 0;
PointerProperties pointerProperties;
pointerProperties.clear();
pointerProperties.id = 0;
pointerProperties.toolType = AMOTION_EVENT_TOOL_TYPE_UNKNOWN;
PointerCoords pointerCoords;
pointerCoords.clear();
size_t numAxes = mAxes.size();
for (size_t i = 0; i < numAxes; i++) {
const Axis& axis = mAxes.valueAt(i);
setPointerCoordsAxisValue(&pointerCoords, axis.axisInfo.axis, axis.currentValue);
if (axis.axisInfo.mode == AxisInfo::MODE_SPLIT) {
setPointerCoordsAxisValue(&pointerCoords, axis.axisInfo.highAxis,
axis.highCurrentValue);
}
}
// Moving a joystick axis should not wake the device because joysticks can
// be fairly noisy even when not in use. On the other hand, pushing a gamepad
// button will likely wake the device.
// TODO: Use the input device configuration to control this behavior more finely.
uint32_t policyFlags = 0;
NotifyMotionArgs args(when, getDeviceId(), AINPUT_SOURCE_JOYSTICK, policyFlags,
AMOTION_EVENT_ACTION_MOVE, 0, metaState, buttonState, AMOTION_EVENT_EDGE_FLAG_NONE,
ADISPLAY_ID_NONE, 1, &pointerProperties, &pointerCoords, 0, 0, 0);
getListener()->notifyMotion(&args);
}
void JoystickInputMapper::setPointerCoordsAxisValue(PointerCoords* pointerCoords,
int32_t axis, float value) {
pointerCoords->setAxisValue(axis, value);
/* In order to ease the transition for developers from using the old axes
* to the newer, more semantically correct axes, we'll continue to produce
* values for the old axes as mirrors of the value of their corresponding
* new axes. */
int32_t compatAxis = getCompatAxis(axis);
if (compatAxis >= 0) {
pointerCoords->setAxisValue(compatAxis, value);
}
}
bool JoystickInputMapper::filterAxes(bool force) {
bool atLeastOneSignificantChange = force;
size_t numAxes = mAxes.size();
for (size_t i = 0; i < numAxes; i++) {
Axis& axis = mAxes.editValueAt(i);
if (force || hasValueChangedSignificantly(axis.filter,
axis.newValue, axis.currentValue, axis.min, axis.max)) {
axis.currentValue = axis.newValue;
atLeastOneSignificantChange = true;
}
if (axis.axisInfo.mode == AxisInfo::MODE_SPLIT) {
if (force || hasValueChangedSignificantly(axis.filter,
axis.highNewValue, axis.highCurrentValue, axis.min, axis.max)) {
axis.highCurrentValue = axis.highNewValue;
atLeastOneSignificantChange = true;
}
}
}
return atLeastOneSignificantChange;
}
bool JoystickInputMapper::hasValueChangedSignificantly(
float filter, float newValue, float currentValue, float min, float max) {
if (newValue != currentValue) {
// Filter out small changes in value unless the value is converging on the axis
// bounds or center point. This is intended to reduce the amount of information
// sent to applications by particularly noisy joysticks (such as PS3).
if (fabs(newValue - currentValue) > filter
|| hasMovedNearerToValueWithinFilteredRange(filter, newValue, currentValue, min)
|| hasMovedNearerToValueWithinFilteredRange(filter, newValue, currentValue, max)
|| hasMovedNearerToValueWithinFilteredRange(filter, newValue, currentValue, 0)) {
return true;
}
}
return false;
}
bool JoystickInputMapper::hasMovedNearerToValueWithinFilteredRange(
float filter, float newValue, float currentValue, float thresholdValue) {
float newDistance = fabs(newValue - thresholdValue);
if (newDistance < filter) {
float oldDistance = fabs(currentValue - thresholdValue);
if (newDistance < oldDistance) {
return true;
}
}
return false;
}
} // namespace android
| [
"wl5201314_@126.com"
] | wl5201314_@126.com |
01c243cfaca7d5887fcce46b74cb6dc1d53a14cc | 802e71f0fba696021f7e9e2bf11fdd7e72e48529 | /project/framework/Source/Util/ShapeX.cpp | 6716fb15f1a1296aaca0559ea8ef2876f1987dd4 | [] | no_license | Supreeth55/Metronome | 7754e303dbe4c02282f865b2331865deaa19202a | 244a3f1b61a441ab3565137e32b7af3158e8373f | refs/heads/master | 2020-12-20T02:57:31.338973 | 2020-01-24T04:36:43 | 2020-01-24T04:36:43 | 235,939,199 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 972 | cpp | /**
* @file ShapeX.h
* @author Romil Tendulkar
* @date 10/22/2019
* @brief This file implements the shape classes that are used for collision detection
* Copyright (C) 2019 DigiPen Institute of Technology.
Reproduction or disclosure of this file or its contents without the prior
written consent of DigiPen Institute of Technology is prohibited.
*/
#include "../pch.h"
#include "ShapeX.h"
ShapeX::ShapeX()
{
}
/**
Initializes the type and the owner body of the shape
\param pOwner | Pointer to the body that the shape is initialized for
\param ptype | enum for the type of shape
*/
ShapeX::ShapeX(Body* pOwner,SHAPE_TYPE ptype)
{
type = ptype;
pOwnerBody = pOwner;
}
/**
initializes a AABB shape object
\param pOwner | Pointer to the body that the shape is initialized for
*/
ShapeAABB::ShapeAABB(Body* pOwner) : ShapeX(pOwner,SHAPE_AABB)
{
mTop = mBottom = mLeft = mRight = mOut = mIn = 0;
}
ShapeAABB::ShapeAABB()
{
}
ShapeAABB::~ShapeAABB()
{
} | [
"58317818+Supreeth55@users.noreply.github.com"
] | 58317818+Supreeth55@users.noreply.github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.