text
stringlengths 8
6.88M
|
|---|
#pragma once
#ifndef PLAYER_H
#define PLAYER_H
#include <GameObject.h>
#include <Rigidbody.h>
namespace NoHope
{
class Player : public GameObject
{
public:
Player(int x, int y, int width, int height, Texture *texture, Shader *shader, b2World* world);
~Player();
//void Init(Vec2 position, float angle, Vec2 size);
//Rigidbody *rigidbody; valmiiksi gameobjectissa
void update(float dt);
bool isJumping;
int jumpTimeout;
Vec2 mov;
//bool playerDirection;
private:
void movement(float dt);
void jumping(float dt);
};
}
#endif
|
#include <iostream>
#include <algorithm>
using namespace std;
using ll=long long;
const int maxn = 2005;
int n, k;
ll p;
ll a[maxn];
ll b[maxn];
bool check (ll x);
int main () {
ios::sync_with_stdio(false);
cin.tie(nullptr);
cout.tie(nullptr);
cin >> n >> k >> p;
for (int i = 0; i < n; i++)
cin >> a[i];
for (int i = 0; i < k; i++)
cin >> b[i];
sort(a, a + n);
sort(b, b + k);
ll l = 0, r = 2e9 + 1;
while (r - l > 3) {
ll mid = (l + r) >> 1;
if (check(mid))
r = mid;
else
l = mid;
// cout<<l<<' '<<mid<<' '<<r<<endl;
}
ll ans = 0;
for (ll i = l; i <= r; i++) {
if (check(i)) {
ans = i;
break;
}
}
cout << ans << endl;
return 0;
}
bool check (ll x) {
int ind = -1;
for (int i = 0; i < n; i++) {
while (ind < k) {
ind++;
if (abs(a[i] - b[ind]) + abs(p - b[ind]) <= x)
break;
}
if (ind >= k)
return false;
}
return true;
}
|
#pragma once
#include <string>
#include <cstdint>
#include <vector>
#include <utility>
#include <boost/variant/recursive_variant.hpp>
#include <boost/optional/optional.hpp>
#include "iterators.hpp"
#include "token_definitions.hpp"
#include "function_manager.hpp"
// TODO: separate these into multiple files so you can only import ast::parser or ast::clean on demand?
namespace perseus
{
namespace detail
{
enum class value_category : unsigned char
{
lvalue,
prvalue,
xvalue
};
namespace ast
{
struct string_literal : std::u32string, file_position
{
string_literal() = default;
string_literal( const file_position& position )
: file_position( position )
{
}
};
struct void_expression
{
};
struct identifier : std::string, file_position
{
identifier() = default;
identifier( const enhanced_istream_iterator& begin, const enhanced_istream_iterator& end )
: std::string( begin, end ), file_position( begin.get_position() )
{
}
};
/// AST representation only used by the parser that is necessary to avoid left recursion but will be eliminated before further manipulation
namespace parser
{
#define PERSEUS_AST_PARSER
#include "ast_common_fwd.inl"
struct binary_operation;
struct call_expression;
struct index_expression;
struct expression;
struct unary_operation;
typedef boost::variant<
void_expression,
string_literal,
std::int32_t,
bool,
identifier,
boost::recursive_wrapper< unary_operation >,
boost::recursive_wrapper< if_expression >,
boost::recursive_wrapper< while_expression >,
boost::recursive_wrapper< return_expression >,
boost::recursive_wrapper< block_expression >,
boost::recursive_wrapper< expression >
> operand;
typedef boost::variant<
boost::recursive_wrapper< index_expression >,
boost::recursive_wrapper< binary_operation >,
boost::recursive_wrapper< call_expression >
> operation;
struct expression
{
operand head;
std::vector< operation > tail;
};
/**
@brief Unary operation such as -x
@note They're translated to function calls in ast::clean
*/
struct unary_operation
{
identifier operation;
operand operand;
};
struct binary_operation
{
identifier operation;
operand operand;
};
struct call_expression
{
std::vector< expression > arguments;
};
struct index_expression
{
index_expression() = default;
index_expression( const expression& exp )
: index( exp )
{
}
operator const expression&( ) const
{
return index;
}
expression index;
};
struct explicit_variable_declaration
{
bool mut;
identifier variable;
identifier type;
expression initial_value;
};
struct deduced_variable_declaration
{
bool mut;
identifier variable;
expression initial_value;
};
typedef boost::variant<
deduced_variable_declaration,
explicit_variable_declaration,
expression
> block_member;
#include "ast_common.inl"
#undef PERSEUS_AST_PARSER
} // namespace parser
namespace clean
{
#define PERSEUS_AST_CLEAN
#include "ast_common_fwd.inl"
struct binary_operation;
struct call_expression;
struct local_variable_reference
{
/// offset from top of stack at time of reference (negative)
std::int32_t offset;
};
struct expression
{
// cached annotations
/// return type of this expression, so code generation can pop it if it's unused
type_id type;
file_position position;
//value_category category; // not yet implemented
boost::variant<
// constants
void_expression,
string_literal,
std::int32_t,
bool,
// local variable
local_variable_reference,
// recursive expression
boost::recursive_wrapper< if_expression >,
boost::recursive_wrapper< while_expression >,
boost::recursive_wrapper< return_expression >,
boost::recursive_wrapper< block_expression >,
boost::recursive_wrapper< call_expression >
> subexpression;
};
// for function pointers I'll need an indirect call expression?
struct call_expression
{
function_manager::function_pointer function;
std::vector< expression > arguments;
};
struct variable_declaration
{
// type implicit in initial_value.type
expression initial_value;
};
typedef boost::variant<
boost::recursive_wrapper< variable_declaration >,
expression
> block_member;
#include "ast_common.inl"
#undef PERSEUS_AST_CLEAN
} // namespace clean
} // namespace ast
} //namespace detail
} // namespace perseus
|
vector<pii> edges[MAXN];
//接受的图为vector<pii>,同时需要修改feach
int sccn[MAXN];
int dfn[MAXN];
int low[MAXN];
int dfc,cscc;
stack<int> S;
void tarjan(int now)
{
low[now]=dfn[now] = ++dfc;//增加时间戳
S.push(now);//在堆栈中放入点
feach(edges[now],i)
{
int to = i->x;
if(!dfn[to])
tarjan(to),low[now] = min(low[now],low[to]);
else if(!sccn[to])
low[now] = min(low[now],dfn[to]);
}
if(low[now] == dfn[now])
{
cscc++;
while(1)
{
int x = S.top();
S.pop();
sccn[x] = cscc;
if(x == now)
break;
}
}
}
|
#include <bits/stdc++.h>
using namespace std;
#define For(x) for(int i = 0; i < x; i++)
#define For2(x) for(int j = 0; j < x; j++)
#define For3(x) for(int k = 0; k < x; k++)
#define Forv(vector) for(auto& i : vector)
#define Forv2(vector) for(auto& j : vector)
#define show(vector) for(auto& abcd : vector){cout<<abcd<<"\n";}
using ll = long long;
ofstream fout ("diamond.out");
ifstream fin ("diamond.in");
int main(){
int n,k;
fin>>n>>k;
vector<int> size;
For(n){
int temp;
fin>>temp;
size.push_back(temp);
}
sort(size.begin(), size.end());
int sum[100010];
For(100000){
sum[i]=0;
}
Forv(size){
sum[i]+=1;
}
For(10001){
sum[i+1] = sum[i+1]+sum[i];
}
int maxm = 0;
For(10000-k){
maxm = max(maxm,sum[i+k+1]-sum[i]);
}
fout<<maxm<<"\n";
}
|
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QFileDialog>
#include <QMessageBox>
#include "processlist.h"
#include "about.h"
#include "globals.h"
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow(QWidget *parent = nullptr);
~MainWindow();
public slots:
void ProcessIdShow(const uint64_t arg_pid);
private slots:
void on_pushButtonLibrary_clicked();
void on_pushButtonButtonInject_clicked();
void on_pushButtonButtonClose_clicked();
void on_pushButtonProcessIdList_clicked();
void on_actionAboutMLI_triggered();
void on_actionProcessList_triggered();
void on_actionInjection_triggered();
void on_actionQuit_triggered();
private:
Ui::MainWindow *ui;
ProcessList m_process_list_window;
About m_about_window;
QString m_library_path;
QString m_process_id = 0;
HANDLE m_handle_remote_thread;
HANDLE m_handle_remote_process;
void* m_mapped_library_address = 0; // the address (in the remote process) where szLibPath will be copied to;
HMODULE m_handle_kernel32;
char m_library_full_path_name[_MAX_PATH];
char m_library_path_copied[_MAX_PATH];
LPVOID m_address;
std::stringstream m_converter_dll;
std::stringstream m_converter_api;
std::stringstream m_converter_thread;
};
#endif // MAINWINDOW_H
|
/* Copyright 2023 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.
==============================================================================*/
#ifndef XLA_SERVICE_CPU_ONEDNN_MEMORY_UTIL_H_
#define XLA_SERVICE_CPU_ONEDNN_MEMORY_UTIL_H_
#if defined(INTEL_MKL) && defined(ENABLE_ONEDNN_V3)
#include "dnnl.hpp"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/Value.h"
#include "xla/service/llvm_ir/ir_array.h"
#include "xla/xla_data.pb.h"
namespace xla {
namespace cpu {
static const int kOneDnnMaxNDims = DNNL_MAX_NDIMS;
struct StackAlloca {
llvm::IRBuilder<>* builder;
llvm::Value* value;
void EmitLifetimeEnd() {
builder->CreateLifetimeEnd(value, builder->getInt64(-1));
}
};
// Declare as opaque to put structure definition together with dependant code.
struct MemrefInfoPOD;
StackAlloca GetAllocaAndEmitMemrefInfo(llvm::IRBuilder<>& builder,
const llvm_ir::IrArray& ir_array);
inline dnnl::memory::data_type ToOneDnnDataType(PrimitiveType ptype) {
using dt = dnnl::memory::data_type;
switch (ptype) {
case S32:
return dt::s32;
case U8:
return dt::u8;
case S8:
return dt::s8;
case F16:
return dt::f16;
case BF16:
return dt::bf16;
case F32:
return dt::f32;
case F64:
return dt::f64;
// TODO(intel-tf): properly handle not supported types:
// S16, S64, U16, U32, U64, C64, C128, F8E5M2, F8E4M3FN, S4, U4,
// F8E4M3B11FNUZ
default:
return dt::undef;
}
}
inline PrimitiveType ToXlaPrimitiveType(dnnl::memory::data_type dtype) {
using dt = dnnl::memory::data_type;
switch (dtype) {
case dt::s32:
return PrimitiveType::S32;
case dt::u8:
return PrimitiveType::U8;
case dt::s8:
return PrimitiveType::S8;
case dt::f16:
return PrimitiveType::F16;
case dt::bf16:
return PrimitiveType::BF16;
case dt::f32:
return PrimitiveType::F32;
case dt::f64:
return PrimitiveType::F64;
// TODO(intel-tf): properly handle not supported type:
default:
return PRIMITIVE_TYPE_INVALID;
}
}
class MemrefInfo {
public:
MemrefInfo(void* data);
dnnl::memory::dims GetOneDnnDims() const;
dnnl::memory::dims GetOneDnnStrides() const;
dnnl::memory::data_type GetOneDnnDataType() const;
dnnl::memory::desc GetOneDnnMemDesc() const;
void* Data();
void Print();
private:
MemrefInfoPOD* pod_;
};
} // namespace cpu
} // namespace xla
#endif // INTEL_MKL && ENABLE_ONEDNN_V3
#endif // XLA_SERVICE_CPU_ONEDNN_MEMORY_UTIL_H_
|
#pragma once
#include "common.h"
#include "operations/operations.h"
#include "streams/constantstream.h"
#include "tablestring.h"
NAMESPACE_BEGIN(NAMESPACE_BINTABLE)
class BinTableStringSkipOperation :public ReadWriteOperation {
public:
BinTableStringSkipOperation();
void operator()() override;
};
class FixedLengthStringOperation : public ReadWriteOperation {
public:
uint8_t size;
uint32_t maxlen;
};
class FromFixedLengthStringWriteOperation : public FixedLengthStringOperation {
public:
FromFixedLengthStringWriteOperation(uint8_t size, uint32_t maxlen);
void operator()() override;
~FromFixedLengthStringWriteOperation() override;
private:
char* buffer;
};
//From fixed string skip is RAW
class ToFixedLengthStringWriteOperation : public FixedLengthStringOperation {
public:
ToFixedLengthStringWriteOperation(uint8_t size, uint32_t maxlen);
void operator()() override;
private:
ConstantInputStream zero_stream;
};
//To fixed string skip is BinTableString skip
class FromPyObjectWriteOperation : public ReadWriteOperation {
public:
FromPyObjectWriteOperation();
void operator()() override;
};
//From object skip is RAW
class ToPyObjectWriteOperation : public ReadWriteOperation {
public:
ToPyObjectWriteOperation();
void operator()() override;
private:
BinTableString temp_string;
};
//To object skip is BinTableString skip
NAMESPACE_END(NAMESPACE_BINTABLE)
|
class VolhaLimo_TK_CIV_EP1;
class VolhaLimo_TK_CIV_EP1_DZE: VolhaLimo_TK_CIV_EP1 {
scope = 2;
displayname = "$STR_VEH_NAME_GAZ_BLACK";
vehicleClass = "DayZ Epoch Vehicles";
fuelCapacity = 100;
class HitPoints;
class HitLFWheel;
class HitLBWheel;
class HitRFWheel;
class HitRBWheel;
class HitFuel;
class HitEngine;
class HitGlass1;
class HitGlass2;
class HitGlass3;
class HitGlass4;
supplyRadius = 1.3;
class Upgrades {
ItemORP[] = {"VolhaLimo_TK_CIV_EP1_DZE1",{"ItemToolbox"},{},{{"ItemORP",1},{"PartEngine",1},{"PartWheel",4},{"ItemScrews",2}}};
};
};
class VolhaLimo_TK_CIV_EP1_DZE1: VolhaLimo_TK_CIV_EP1_DZE {
displayname = "$STR_VEH_NAME_GAZ_BLUE+";
original = "VolhaLimo_TK_CIV_EP1_DZE";
maxspeed = 150; // max engine limit 125-130
terrainCoef = 2.5;
class Upgrades {
ItemAVE[] = {"VolhaLimo_TK_CIV_EP1_DZE2",{"ItemToolbox"},{},{{"ItemAVE",1},{"PartGeneric",6},{"ItemScrews",4}}};
};
};
class VolhaLimo_TK_CIV_EP1_DZE2: VolhaLimo_TK_CIV_EP1_DZE1 {
displayname = "$STR_VEH_NAME_GAZ_BLUE++";
armor = 55; // car 20
damageResistance = 0.02099;
class HitPoints: HitPoints {
class HitLFWheel: HitLFWheel {
armor = 0.3;
};
class HitLBWheel: HitLBWheel {
armor = 0.3;
};
class HitRFWheel: HitRFWheel {
armor = 0.3;
};
class HitRBWheel: HitRBWheel {
armor = 0.3;
};
class HitFuel: HitFuel {
armor = 0.5;
};
class HitEngine: HitEngine {
armor = 1;
};
class HitGlass1: HitGlass1 {
armor = 0.3;
};
class HitGlass2: HitGlass2 {
armor = 0.3;
};
class HitGlass3: HitGlass3 {
armor = 0.3;
};
class HitGlass4: HitGlass4 {
armor = 0.3;
};
};
class Upgrades {
ItemLRK[] = {"VolhaLimo_TK_CIV_EP1_DZE3",{"ItemToolbox"},{},{{"ItemLRK",1},{"PartGeneric",2},{"ItemWoodCrateKit",1},{"ItemGunRackKit",1},{"ItemScrews",2}}};
};
};
class VolhaLimo_TK_CIV_EP1_DZE3: VolhaLimo_TK_CIV_EP1_DZE2 {
displayname = "$STR_VEH_NAME_GAZ_BLUE+++";
transportMaxWeapons = 20; // car 10
transportMaxMagazines = 100; // car 50
transportmaxbackpacks = 4; // car 2
class Upgrades {
ItemTNK[] = {"VolhaLimo_TK_CIV_EP1_DZE4",{"ItemToolbox"},{},{{"ItemTNK",1},{"PartGeneric",2},{"PartFueltank",1},{"ItemJerrycan",2},{"ItemScrews",1}}};
};
};
class VolhaLimo_TK_CIV_EP1_DZE4: VolhaLimo_TK_CIV_EP1_DZE3 {
displayname = "$STR_VEH_NAME_GAZ_BLUE++++";
fuelCapacity = 210; // car 100
};
class Volha_1_TK_CIV_EP1;
class Volha_1_TK_CIV_EP1_DZE: Volha_1_TK_CIV_EP1 {
scope = 2;
displayname = "$STR_VEH_NAME_GAZ_BLUE";
vehicleClass = "DayZ Epoch Vehicles";
fuelCapacity = 100;
class HitPoints;
class HitLFWheel;
class HitLBWheel;
class HitRFWheel;
class HitRBWheel;
class HitFuel;
class HitEngine;
class HitGlass1;
class HitGlass2;
class HitGlass3;
class HitGlass4;
supplyRadius = 1.3;
class Upgrades {
ItemORP[] = {"Volha_1_TK_CIV_EP1_DZE1",{"ItemToolbox"},{},{{"ItemORP",1},{"PartEngine",1},{"PartWheel",4},{"ItemScrews",2}}};
};
};
class Volha_1_TK_CIV_EP1_DZE1: Volha_1_TK_CIV_EP1_DZE {
displayname = "$STR_VEH_NAME_GAZ_GREY+";
original = "Volha_1_TK_CIV_EP1_DZE";
maxspeed = 150; // car 100
terrainCoef = 2.5;
class Upgrades {
ItemAVE[] = {"Volha_1_TK_CIV_EP1_DZE2",{"ItemToolbox"},{},{{"ItemAVE",1},{"PartGeneric",6},{"ItemScrews",4}}};
};
};
class Volha_1_TK_CIV_EP1_DZE2: Volha_1_TK_CIV_EP1_DZE1 {
displayname = "$STR_VEH_NAME_GAZ_GREY++";
armor = 55; // car 20
damageResistance = 0.02099;
class HitPoints: HitPoints {
class HitLFWheel: HitLFWheel {
armor = 0.3;
};
class HitLBWheel: HitLBWheel {
armor = 0.3;
};
class HitRFWheel: HitRFWheel {
armor = 0.3;
};
class HitRBWheel: HitRBWheel {
armor = 0.3;
};
class HitFuel: HitFuel {
armor = 0.5;
};
class HitEngine: HitEngine {
armor = 1;
};
class HitGlass1: HitGlass1 {
armor = 0.3;
};
class HitGlass2: HitGlass2 {
armor = 0.3;
};
class HitGlass3: HitGlass3 {
armor = 0.3;
};
class HitGlass4: HitGlass4 {
armor = 0.3;
};
};
class Upgrades {
ItemLRK[] = {"Volha_1_TK_CIV_EP1_DZE3",{"ItemToolbox"},{},{{"ItemLRK",1},{"PartGeneric",2},{"ItemWoodCrateKit",1},{"ItemGunRackKit",1},{"ItemScrews",2}}};
};
};
class Volha_1_TK_CIV_EP1_DZE3: Volha_1_TK_CIV_EP1_DZE2 {
displayname = "$STR_VEH_NAME_GAZ_GREY+++";
transportMaxWeapons = 20; // car 10
transportMaxMagazines = 100; // car 50
transportmaxbackpacks = 4; // car 2
class Upgrades {
ItemTNK[] = {"Volha_1_TK_CIV_EP1_DZE4",{"ItemToolbox"},{},{{"ItemTNK",1},{"PartGeneric",2},{"PartFueltank",1},{"ItemJerrycan",2},{"ItemScrews",1}}};
};
};
class Volha_1_TK_CIV_EP1_DZE4: Volha_1_TK_CIV_EP1_DZE3 {
displayname = "$STR_VEH_NAME_GAZ_GREY++++";
fuelCapacity = 210; // car 100
};
class Volha_2_TK_CIV_EP1;
class Volha_2_TK_CIV_EP1_DZE: Volha_2_TK_CIV_EP1 {
scope = 2;
displayname = "$STR_VEH_NAME_GAZ_GREY";
vehicleClass = "DayZ Epoch Vehicles";
fuelCapacity = 100;
class HitPoints;
class HitLFWheel;
class HitLBWheel;
class HitRFWheel;
class HitRBWheel;
class HitFuel;
class HitEngine;
class HitGlass1;
class HitGlass2;
class HitGlass3;
class HitGlass4;
supplyRadius = 1.3;
class Upgrades {
ItemORP[] = {"Volha_2_TK_CIV_EP1_DZE1",{"ItemToolbox"},{},{{"ItemORP",1},{"PartEngine",1},{"PartWheel",4},{"ItemScrews",2}}};
};
};
class Volha_2_TK_CIV_EP1_DZE1: Volha_2_TK_CIV_EP1_DZE {
displayname = "$STR_VEH_NAME_GAZ_BLACK+";
original = "Volha_2_TK_CIV_EP1_DZE";
maxspeed = 150; // car 100
terrainCoef = 2.5;
class Upgrades {
ItemAVE[] = {"Volha_2_TK_CIV_EP1_DZE2",{"ItemToolbox"},{},{{"ItemAVE",1},{"PartGeneric",6},{"ItemScrews",4}}};
};
};
class Volha_2_TK_CIV_EP1_DZE2: Volha_2_TK_CIV_EP1_DZE1 {
displayname = "$STR_VEH_NAME_GAZ_BLACK++";
armor = 55; // car 20
damageResistance = 0.02099;
class HitPoints: HitPoints {
class HitLFWheel: HitLFWheel {
armor = 0.3;
};
class HitLBWheel: HitLBWheel {
armor = 0.3;
};
class HitRFWheel: HitRFWheel {
armor = 0.3;
};
class HitRBWheel: HitRBWheel {
armor = 0.3;
};
class HitFuel: HitFuel {
armor = 0.5;
};
class HitEngine: HitEngine {
armor = 1;
};
class HitGlass1: HitGlass1 {
armor = 0.3;
};
class HitGlass2: HitGlass2 {
armor = 0.3;
};
class HitGlass3: HitGlass3 {
armor = 0.3;
};
class HitGlass4: HitGlass4 {
armor = 0.3;
};
};
class Upgrades {
ItemLRK[] = {"Volha_2_TK_CIV_EP1_DZE3",{"ItemToolbox"},{},{{"ItemLRK",1},{"PartGeneric",2},{"ItemWoodCrateKit",1},{"ItemGunRackKit",1},{"ItemScrews",2}}};
};
};
class Volha_2_TK_CIV_EP1_DZE3: Volha_2_TK_CIV_EP1_DZE2 {
displayname = "$STR_VEH_NAME_GAZ_BLACK+++";
transportMaxWeapons = 20; // car 10
transportMaxMagazines = 100; // car 50
transportmaxbackpacks = 4; // car 2
class Upgrades {
ItemTNK[] = {"Volha_2_TK_CIV_EP1_DZE4",{"ItemToolbox"},{},{{"ItemTNK",1},{"PartGeneric",2},{"PartFueltank",1},{"ItemJerrycan",2},{"ItemScrews",1}}};
};
};
class Volha_2_TK_CIV_EP1_DZE4: Volha_2_TK_CIV_EP1_DZE3 {
displayname = "$STR_VEH_NAME_GAZ_BLACK++++";
fuelCapacity = 210; // car 100
};
|
#include "qfile.h"
qFile::qFile(void)
{
}
qFile::~qFile(void)
{
}
|
#include "common.h"
#include "RequestChannel.h"
#include "MQreqchannel.h"
#include <mqueue.h>
using namespace std;
/*--------------------------------------------------------------------------*/
/* CONSTRUCTOR/DESTRUCTOR FOR CLASS R e q u e s t C h a n n e l */
/*--------------------------------------------------------------------------*/
MQRequestChannel::MQRequestChannel(const string _name, const Side _side, int _bufsize) : RequestChannel(_name, _side){
queue1 = "/mq_" + my_name + "1";
queue2 = "/mq_" + my_name + "2";
bufsize = _bufsize;
if (_side == SERVER_SIDE){
wfd = open_queue(queue1, O_WRONLY);
rfd = open_queue(queue2, O_RDONLY);
}
else{
rfd = open_queue(queue1, O_RDONLY);
wfd = open_queue(queue2, O_WRONLY);
}
}
MQRequestChannel::~MQRequestChannel(){
mq_close(wfd);
mq_close(rfd);
mq_unlink(queue1.c_str());
mq_unlink(queue2.c_str());
}
int MQRequestChannel::open_queue(string _queue_name, int mode){
struct mq_attr attr{0, 1, bufsize, 0};
int fd = mq_open(_queue_name.c_str(), O_RDWR | O_CREAT, 0600, &attr);
if (fd < 0){
EXITONERROR(_queue_name);
}
return fd;
}
int MQRequestChannel::cread(void* msgbuf, int bufcapacity){
return mq_receive(rfd, (char*) msgbuf, bufsize, 0);
}
int MQRequestChannel::cwrite(void* msgbuf, int len){
return mq_send(wfd, (char*) msgbuf, len, 0);
}
|
#include<bits/stdc++.h>
#include"print.h"
using namespace std;
void randomNumberGeneration()
{
string s;
cout<<"Enter the file name to create: ";
cin>>s;
ofstream f(s);
int n;
cout<<"Enter n: ";
cin>>n;
f<<n;
f<<endl;
for(int i=0;i<n;i++)
{
f<<rand()<<" ";
}
};
|
// Created on: 1999-05-13
// Created by: data exchange team
// Copyright (c) 1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _ShapeUpgrade_ConvertCurve2dToBezier_HeaderFile
#define _ShapeUpgrade_ConvertCurve2dToBezier_HeaderFile
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <TColGeom2d_HSequenceOfCurve.hxx>
#include <ShapeUpgrade_SplitCurve2d.hxx>
class ShapeUpgrade_ConvertCurve2dToBezier;
DEFINE_STANDARD_HANDLE(ShapeUpgrade_ConvertCurve2dToBezier, ShapeUpgrade_SplitCurve2d)
//! converts/splits a 2d curve to a list of beziers
class ShapeUpgrade_ConvertCurve2dToBezier : public ShapeUpgrade_SplitCurve2d
{
public:
//! Empty constructor.
Standard_EXPORT ShapeUpgrade_ConvertCurve2dToBezier();
//! Converts curve into a list of beziers, and stores the
//! splitting parameters on original curve.
Standard_EXPORT virtual void Compute() Standard_OVERRIDE;
//! Splits a list of beziers computed by Compute method according
//! the split values and splitting parameters.
Standard_EXPORT virtual void Build (const Standard_Boolean Segment) Standard_OVERRIDE;
//! Returns the list of split parameters in original curve parametrisation.
Standard_EXPORT Handle(TColStd_HSequenceOfReal) SplitParams() const;
DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_ConvertCurve2dToBezier,ShapeUpgrade_SplitCurve2d)
private:
//! Returns the list of bezier curves correspondent to original
//! curve.
Standard_EXPORT Handle(TColGeom2d_HSequenceOfCurve) Segments() const;
Handle(TColGeom2d_HSequenceOfCurve) mySegments;
Handle(TColStd_HSequenceOfReal) mySplitParams;
};
#endif // _ShapeUpgrade_ConvertCurve2dToBezier_HeaderFile
|
#include"ybFileHangle.h"
NS_YB_BEGIN
bool FileHandle::Open(const char* name)
{
if (0 == yb_fopen(&fp, name, "rb"))
return true;
else
return false;
}
bool FileHandle::Create(const char* name)
{
if (0 == yb_fopen(&fp, name, "wb"))
return true;
else
return false;
}
bool FileHandle::Append(const char* name)
{
if (0 == yb_fopen(&fp, name, "ab"))
return true;
else
return false;
}
void FileHandle::Close()
{
fclose(fp);
}
bool FileHandle::Write(void* bytearr, int num)
{
if(num==fwrite(bytearr,1,num,fp))
return true;
return false;
}
bool FileHandle::Read(void* buffer, int num)
{
if (num == fread(buffer, 1, num, fp))
return true;
return false;
}
NS_YB_END
|
/****************************************************************************
* *
* Author : lukasz.iwaszkiewicz@gmail.com *
* ~~~~~~~~ *
* Date : Nov 22, 2009 *
* ~~~~~~ *
* License : see COPYING file for details. *
* ~~~~~~~~~ *
****************************************************************************/
#include <climits>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/lagged_fibonacci.hpp>
#include <boost/random/uniform_int.hpp>
#include <boost/random/uniform_real.hpp>
#include "Math.h"
namespace Util {
unsigned int Math::nextSqr (unsigned int n)
{
// http://en.wikipedia.org/wiki/Power_of_two#Algorithm_to_find_the_next-highest_power_of_two
// if (k == 0) {
// return 1;
// }
//
// k--;
//
// for (int i = 1; i < sizeof(unsigned int) * CHAR_BIT; i <<= 1) {
// k = k | k >> i;
// }
//
// return k + 1;
// http://graphics.stanford.edu/~seander/bithacks.html#RoundUpPowerOf2
n--;
n |= n >> 1;
n |= n >> 2;
n |= n >> 4;
n |= n >> 8;
n |= n >> 16;
return ++n;
}
/****************************************************************************/
static boost::mt19937 genInt (time (0));
int Math::randInt (int from, int to)
{
boost::uniform_int <> dist (from, to);
return dist (genInt);
}
/****************************************************************************/
static boost::lagged_fibonacci3217 genDouble (time (0));
double Math::randDouble (double from, double to)
{
boost::uniform_real <> dist (from, to);
return dist (genDouble);
}
}
|
/* -*- Mode: c++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*-
*
* Copyright (C) 2011-2012 Opera Software ASA. All rights reserved.
*
* This file is part of the Opera web browser.
* It may not be distributed under any circumstances.
*
*/
#include "core/pch.h"
#if defined(CRYPTO_ENCRYPTED_FILE_SUPPORT)
#include "modules/libcrypto/include/OpEncryptedFile.h"
#include "modules/libcrypto/include/CryptoHash.h"
#include "modules/libcrypto/include/CryptoStreamEncryptionCFB.h"
#include "modules/libcrypto/include/CryptoSymmetricAlgorithm.h"
#include "modules/util/opfile/opfile.h"
#include "modules/stdlib/util/opdate.h"
#define CORRECT_KEY_CHECK "CORRECTKEYCHECK:"
/* Encryption format
*
* Since we use AES in CFB mode, the file encryption needs an Initialization vector IV.
*
* The IV is stored in the first n bytes as plain text, where n is the block size of the cipher. The next n bytes is an encryption of CORRECT_KEY_CHECK defined above. The rest of
* the file is normal encrypted text.
*
* Formally:
*
* Let IV=[iv_0, ..., iv_(n-1)] be the IV vector, P=[p_0,p_1...p_(l-1)] be the plain text, and Let C=[ c_0, c_1, ...,c_(l+(n*2-1))] be the resulting cipher text,
* where iv_i, p_i and c_i are bytes.
*
* E_k is the AES encryption algorithm, and k is the key.
*
* C = [iv_0,iv_1,...,iv_(n-1), E_k(CORRECT_KEY_CHECK), E_k(p_0,p_1,....,p_(l-1)) ]
*
*/
OpEncryptedFile::OpEncryptedFile()
: m_file(NULL)
, m_stream_cipher(NULL)
, m_key(NULL)
, m_internal_buffer(NULL)
, m_internal_buffer_size(0)
, m_iv_buf(NULL)
, m_temp_buf(NULL)
, m_first_append(FALSE)
, m_first_append_block_ptr(0)
, m_serialized(FALSE)
, m_file_position_changed(FALSE)
{
}
OpEncryptedFile::~OpEncryptedFile()
{
op_memset(m_key, 0, m_stream_cipher->GetKeySize()); /* for security */
OP_DELETE(m_file);
OP_DELETE(m_stream_cipher);
OP_DELETEA(m_internal_buffer);
OP_DELETEA(m_key);
OP_DELETEA(m_temp_buf);
OP_DELETEA(m_iv_buf);
}
/* static */ OP_STATUS OpEncryptedFile::Create(OpLowLevelFile** new_file, const uni_char* path, const UINT8 *key, int key_length, BOOL serialized)
{
if (!new_file || !path || !key || key_length <= 0)
return OpStatus::ERR_OUT_OF_RANGE;
*new_file = NULL;
OpStackAutoPtr<OpEncryptedFile> temp_file(OP_NEW(OpEncryptedFile, ()));
if (!temp_file.get())
return OpStatus::ERR_NO_MEMORY;
RETURN_IF_ERROR(OpLowLevelFile::Create(&temp_file->m_file, path, serialized));
CryptoSymmetricAlgorithm *alg = CryptoSymmetricAlgorithm::CreateAES(key_length);
if (!alg || !(temp_file->m_stream_cipher = CryptoStreamEncryptionCFB::Create(alg)))
{
OP_DELETE(alg);
return OpStatus::ERR_NO_MEMORY;
}
temp_file->m_key = OP_NEWA(byte, key_length);
if (temp_file->m_key == NULL)
return OpStatus::ERR_NO_MEMORY;
op_memcpy(temp_file->m_key, key, key_length);
temp_file->m_stream_cipher->SetKey(key);
if ((temp_file->m_iv_buf = OP_NEWA(byte, temp_file->m_stream_cipher->GetBlockSize())) == NULL)
return OpStatus::ERR_NO_MEMORY;
temp_file->m_serialized = serialized;
*new_file = temp_file.release();
return OpStatus::OK;
}
/* virtual */OP_STATUS OpEncryptedFile::GetFileInfo(OpFileInfo* info)
{
return m_file->GetFileInfo(info);
}
/* virtual */OP_STATUS OpEncryptedFile::Open(int mode)
{
if (
(mode & (OPFILE_WRITE | OPFILE_READ)) == (OPFILE_WRITE | OPFILE_READ) ||
(mode & (OPFILE_APPEND | OPFILE_READ)) == (OPFILE_APPEND | OPFILE_READ)
)
{
OP_ASSERT(!"Encrypted files cannot be read and written at the same time"); // FixMe
return OpStatus::ERR;
}
mode &= ~OPFILE_TEXT; // OPFILE_TEXT mode does not work with encryption
RETURN_IF_ERROR(m_file->Open(mode));
OP_STATUS stat = OpenEncryptedFile2ndPhase(mode);
if (OpStatus::IsError(stat))
m_file->Close(); // never keep the file open when returning an error
return stat;
}
OP_STATUS OpEncryptedFile::OpenEncryptedFile2ndPhase(int mode)
{
unsigned int block_size = static_cast<unsigned int>(m_stream_cipher->GetBlockSize());
BOOL exists = FALSE;
RETURN_IF_ERROR(OpStatus::IsSuccess(m_file->Exists(&exists)));
if (mode & OPFILE_READ)
{
if (exists == FALSE)
return OpStatus::OK;
OpFileLength length;
RETURN_IF_ERROR(m_file->GetFileLength(&length));
if (length < 2 * block_size)
return OpStatus::ERR;
OpFileLength length_read;
/* Read up the iv (iv is not encrypted)*/
RETURN_IF_ERROR(m_file->Read(m_iv_buf, block_size, &length_read));
if (length_read != block_size)
return OpStatus::ERR;
m_stream_cipher->SetIV(m_iv_buf);
}
if ((mode & OPFILE_APPEND) && exists)
{
OpFile get_iv_file;
RETURN_IF_ERROR(get_iv_file.Construct(m_file->GetFullPath()));
RETURN_IF_ERROR(get_iv_file.Open(OPFILE_READ));
OpFileLength length;
RETURN_IF_ERROR(get_iv_file.GetFileLength(length));
if (length < 2*block_size)
return OpStatus::ERR;
length -= block_size;
RETURN_IF_ERROR(EnsureBufferSize(2 * block_size));
OpFileLength mult_pos = (length/block_size) * block_size;
if ((m_temp_buf = OP_NEWA(byte, block_size)) == NULL)
return OpStatus::ERR_NO_MEMORY;
op_memset(m_temp_buf, 0, block_size);
OpFileLength read;
/* Read up the first previous full cipher text, and use that as IV state */
if (mult_pos >= block_size)
{
m_first_append = TRUE;
m_first_append_block_ptr = length - mult_pos;
RETURN_IF_ERROR(get_iv_file.SetFilePos(mult_pos /* - block_size */, SEEK_FROM_START));
RETURN_IF_ERROR(get_iv_file.Read(m_iv_buf, block_size, &read));
OP_ASSERT(read == block_size);
m_stream_cipher->SetIV(m_iv_buf);
RETURN_IF_ERROR(get_iv_file.Read(m_temp_buf, length - mult_pos, &read));
}
else
{
m_first_append = TRUE;
m_first_append_block_ptr = length % block_size;
RETURN_IF_ERROR(get_iv_file.Read(m_iv_buf, block_size, &read)); /* The IV is the first block_size bytes in the file */
m_stream_cipher->SetIV(m_iv_buf);
RETURN_IF_ERROR(get_iv_file.Read(m_temp_buf, length % block_size, &read));
}
m_stream_cipher->SetKey(m_key);
RETURN_IF_ERROR(get_iv_file.Close());
}
const char *encrypted_check = CORRECT_KEY_CHECK;
if (mode & (OPFILE_READ))
{
char *check_str = OP_NEWA(char, op_strlen(encrypted_check));
if (check_str == NULL)
return OpStatus::ERR_NO_MEMORY;
ANCHOR_ARRAY(char, check_str);
OpFileLength length_read;
RETURN_IF_ERROR(Read(check_str, op_strlen(encrypted_check), &length_read));
if (length_read != (OpFileLength)op_strlen(encrypted_check))
return OpStatus::ERR;
if (op_strncmp(check_str, encrypted_check, op_strlen(encrypted_check)))
return OpStatus::ERR_NO_ACCESS;
}
if (
(mode & ( OPFILE_WRITE)) ||
((mode | OPFILE_APPEND) && exists == FALSE)
)
{
// Calculate an IV (Doesn't have to be very random)
CryptoHash *hasher;
hasher = CryptoHash::CreateSHA1();
if (hasher == NULL)
return OpStatus::ERR_NO_MEMORY;
unsigned char hash_buffer[20]; /* ARRAY OK 2008-11-10 haavardm */
OP_ASSERT(hasher->Size() == 20);
OP_ASSERT(sizeof(hash_buffer) == hasher->Size() && static_cast<unsigned int>(hasher->Size()) >= block_size);
const uni_char *path = m_file->GetFullPath();
hasher->InitHash();
hasher->CalculateHash(reinterpret_cast<const UINT8 *>(path), sizeof(uni_char)*uni_strlen(path));
hasher->CalculateHash(reinterpret_cast<const UINT8 *>(this), sizeof(this));
double gmt_unix_time = OpDate::GetCurrentUTCTime();
hasher->CalculateHash(reinterpret_cast<const UINT8 *>(&gmt_unix_time), sizeof(double));
hasher->ExtractHash(hash_buffer);
OP_DELETE(hasher);
op_memcpy(m_iv_buf, hash_buffer, block_size);
// Write IV as plain text, only use the first block_size bytes of the hash_buffer.
RETURN_IF_ERROR(m_file->Write(hash_buffer, block_size));
m_stream_cipher->SetIV(m_iv_buf);
RETURN_IF_ERROR(Write(encrypted_check, op_strlen(encrypted_check)));
}
return OpStatus::OK;
}
/* virtual */ OP_STATUS OpEncryptedFile::GetFilePos(OpFileLength* pos) const
{
if (!pos)
return OpStatus::ERR_OUT_OF_RANGE;
OpFileLength real_length;
RETURN_IF_ERROR(m_file->GetFilePos(&real_length));
OpFileLength checklen = static_cast<OpFileLength>(op_strlen(CORRECT_KEY_CHECK) + m_stream_cipher->GetBlockSize());
if (real_length < checklen)
{
return OpStatus::ERR;
}
*pos = real_length - checklen;
return OpStatus::OK;
}
/* virtual */OP_STATUS OpEncryptedFile::SetFilePos(OpFileLength pos, OpSeekMode seek_mode)
{
OpFileLength current_pos;
RETURN_IF_ERROR(GetFilePos(¤t_pos));
if (current_pos == pos)
return OpStatus::OK;
OpFileLength file_length;
RETURN_IF_ERROR(GetFileLength(&file_length));
if (file_length < pos)
return OpStatus::ERR;
OpFileLength block_size = m_stream_cipher->GetBlockSize();
OpFileLength block_position = (pos/block_size) * block_size;
RETURN_IF_ERROR(m_file->SetFilePos(op_strlen(CORRECT_KEY_CHECK) + block_position, seek_mode));
m_file_position_changed = TRUE;
OpFileLength length;
RETURN_IF_ERROR(m_file->GetFileLength(&length));
if (length - pos < block_size)
return OpStatus::ERR;
OpFileLength length_read;
/* Read up the iv (iv is the previous encrypted block) */
RETURN_IF_ERROR(m_file->Read(m_iv_buf, block_size, &length_read));
if (length_read != block_size)
return OpStatus::ERR;
m_stream_cipher->SetIV(m_iv_buf);
/* Skip the first pos - block_position bytes */
OP_ASSERT(block_size <= CRYPTO_MAX_CIPHER_BLOCK_SIZE);
UINT8 temp_buf2[CRYPTO_MAX_CIPHER_BLOCK_SIZE];
return Read(temp_buf2, pos - block_position, &length_read);
}
/* virtual */OP_STATUS OpEncryptedFile::GetFileLength(OpFileLength* len) const
{
if (!len)
return OpStatus::ERR_OUT_OF_RANGE;
OpFileLength real_length;
RETURN_IF_ERROR(m_file->GetFileLength(&real_length));
OpFileLength checklen = static_cast<OpFileLength>(op_strlen(CORRECT_KEY_CHECK) + m_stream_cipher->GetBlockSize());
if (real_length < checklen)
{
return OpStatus::ERR;
}
*len = real_length - checklen;
return OpStatus::OK;
}
/* virtual */OP_STATUS OpEncryptedFile::SetFileLength(OpFileLength len)
{
OP_ASSERT(!"Dont use");
return m_file->SetFileLength(len + static_cast<OpFileLength>(op_strlen(CORRECT_KEY_CHECK) + m_stream_cipher->GetBlockSize()));
}
/* virtual */OP_STATUS OpEncryptedFile::Write(const void* data, OpFileLength len)
{
if (m_file_position_changed)
{
OP_ASSERT(!"SetFilePos cannot be used when writing files, file will be destroyed, and will cause security problems");
return OpStatus::ERR;
}
if (len == 0)
return OpStatus::OK;
if (!data || len <= 0)
return OpStatus::ERR_OUT_OF_RANGE;
unsigned int block_size = m_stream_cipher->GetBlockSize();
RETURN_IF_ERROR(EnsureBufferSize(len + block_size));
if (m_first_append)
{
OP_ASSERT(m_temp_buf != NULL);
OP_ASSERT(m_first_append_block_ptr <= block_size);
if (m_first_append_block_ptr > block_size)
return OpStatus::ERR;
/* calculate correct state from cipher text on last block in file, and the data written */
OpFileLength rest_block_len = block_size - m_first_append_block_ptr;
OpFileLength rest_data_len = len > rest_block_len ? len - rest_block_len : 0;
OP_ASSERT(block_size <= CRYPTO_MAX_CIPHER_BLOCK_SIZE);
UINT8 temp_buf2[CRYPTO_MAX_CIPHER_BLOCK_SIZE];
op_memset(temp_buf2, 0, block_size);
op_memcpy(temp_buf2 + m_first_append_block_ptr, data, (size_t) MIN(rest_block_len, len));
OpFileLength encrypt_length = len < rest_block_len ? m_first_append_block_ptr + len : block_size;
m_stream_cipher->Encrypt(temp_buf2, m_internal_buffer, (int) encrypt_length);
op_memmove(m_internal_buffer, m_internal_buffer + m_first_append_block_ptr, (size_t) MIN(rest_block_len, len));
op_memcpy(m_temp_buf + m_first_append_block_ptr, m_internal_buffer, (size_t) MIN(rest_block_len, len));
if (rest_data_len > 0)
{
m_stream_cipher->SetIV(m_temp_buf);
m_first_append = FALSE;
m_stream_cipher->Encrypt(static_cast<const byte*>(data) + rest_block_len, m_internal_buffer + rest_block_len, (int) rest_data_len);
}
else
{
m_stream_cipher->SetIV(m_iv_buf);
m_first_append_block_ptr += len;
}
}
else
m_stream_cipher->Encrypt(static_cast<const byte*>(data), m_internal_buffer, (int) len);
return m_file->Write(m_internal_buffer, len);
}
/* virtual */OP_STATUS OpEncryptedFile::Read(void* data, OpFileLength len, OpFileLength* bytes_read)
{
if (len == 0)
return OpStatus::OK;
if (!data || len <= 0)
return OpStatus::ERR_OUT_OF_RANGE;
if (!bytes_read)
return OpStatus::ERR_NULL_POINTER;
RETURN_IF_ERROR(EnsureBufferSize(len + m_stream_cipher->GetBlockSize()));
RETURN_IF_ERROR(m_file->Read(m_internal_buffer, len, bytes_read));
m_stream_cipher->Decrypt(m_internal_buffer, static_cast<byte*>(data), (int) *bytes_read);
return OpStatus::OK;
}
/* virtual */OP_STATUS OpEncryptedFile::ReadLine(char** data)
{
OP_ASSERT(!"Current version does not support reading line");
return OpStatus::ERR;
}
OpLowLevelFile* OpEncryptedFile::CreateCopy()
{
OpStackAutoPtr<OpEncryptedFile> temp_file(OP_NEW(OpEncryptedFile, ()));
if (!temp_file.get())
return NULL;
const uni_char *path = m_file->GetFullPath();
if (OpStatus::IsError(OpLowLevelFile::Create(&temp_file->m_file, path, m_serialized)))
return NULL;
CryptoSymmetricAlgorithm *alg = CryptoSymmetricAlgorithm::CreateAES(m_stream_cipher->GetKeySize());
if (!alg || !(temp_file->m_stream_cipher = CryptoStreamEncryptionCFB::Create(alg)))
{
OP_DELETE(alg);
return NULL;
}
if ((temp_file->m_key = OP_NEWA(byte, m_stream_cipher->GetKeySize())) == NULL)
return NULL;
op_memcpy(temp_file->m_key, m_key, m_stream_cipher->GetKeySize());
temp_file->m_stream_cipher->SetKey(m_key);
unsigned int block_size = temp_file->m_stream_cipher->GetBlockSize();
if ((temp_file->m_iv_buf = OP_NEWA(byte, block_size)) == NULL)
return NULL;
CryptoHash *hasher;
if ((hasher = CryptoHash::CreateSHA1()) == NULL)
return NULL;
unsigned char hash_buffer[20]; /* ARRAY OK 2009-06-18 alexeik */
OP_ASSERT(hasher->Size() == 20);
OP_ASSERT(sizeof(hash_buffer) == hasher->Size() && static_cast<unsigned int>(hasher->Size()) >= block_size);
hasher->InitHash();
hasher->CalculateHash(reinterpret_cast<const UINT8 *>(path), sizeof(uni_char)*uni_strlen(path));
hasher->CalculateHash(reinterpret_cast<const UINT8 *>(this), sizeof(this));
double gmt_unix_time = OpDate::GetCurrentUTCTime();
hasher->CalculateHash(reinterpret_cast<const UINT8 *>(&gmt_unix_time), sizeof(double));
hasher->ExtractHash(hash_buffer);
op_memcpy(temp_file->m_iv_buf, hash_buffer, block_size);
OP_DELETE(hasher);
temp_file->m_stream_cipher->SetIV(temp_file->m_iv_buf);
temp_file->m_internal_buffer_size = m_internal_buffer_size;
if (m_internal_buffer && (temp_file->m_internal_buffer = OP_NEWA(byte, (size_t) m_internal_buffer_size)) == NULL)
return NULL;
if (m_temp_buf && (temp_file->m_temp_buf = OP_NEWA(byte, block_size)) == NULL)
return NULL;
if (temp_file->m_internal_buffer)
op_memcpy(temp_file->m_internal_buffer, m_internal_buffer, (size_t) m_internal_buffer_size);
if (temp_file->m_iv_buf)
op_memcpy(temp_file->m_iv_buf, m_iv_buf, block_size);
if (temp_file->m_temp_buf)
op_memcpy(temp_file->m_temp_buf, m_temp_buf, block_size);
temp_file->m_first_append = m_first_append;
temp_file->m_first_append_block_ptr = m_first_append_block_ptr;
temp_file->m_serialized = m_serialized;
return temp_file.release();
}
OpLowLevelFile* OpEncryptedFile::CreateTempFile(const uni_char* prefix)
{
if (!prefix)
return NULL;
OpLowLevelFile *new_file;
OpLowLevelFile *child_file = m_file->CreateTempFile(prefix);
if (child_file == NULL)
return NULL;
if (OpStatus::IsError(OpEncryptedFile::Create(&new_file, child_file->GetFullPath(), m_key, m_stream_cipher->GetKeySize(), m_serialized)))
{
OP_DELETE(child_file);
return NULL;
}
OP_DELETE(static_cast<OpEncryptedFile*>(new_file)->m_file);
static_cast<OpEncryptedFile*>(new_file)->m_file = child_file;
return new_file;
}
OP_STATUS OpEncryptedFile::EnsureBufferSize(OpFileLength size)
{
if (m_internal_buffer_size < size)
{
OP_DELETEA(m_internal_buffer);
m_internal_buffer = OP_NEWA(byte, (size_t) size);
if (m_internal_buffer == NULL)
{
m_internal_buffer_size = 0;
return OpStatus::ERR_NO_MEMORY;
}
else
{
m_internal_buffer_size = size;
}
}
return OpStatus::OK;
}
#endif // CRYPTO_ENCRYPTED_FILE_SUPPORT
|
#ifndef PD443X_h
#define PD443X_h
#include "Arduino.h"
class PD443X
{
public:
PD443X(int Adr0,int Adr1,int Adr2,int CE,int RST,int WR,int latch,int clock,int data);//set pinout
void SendByte(char a,byte column); //send individually ascii to individually digit on display
void ClrDisp();//clear display by using controlWord
void SendStringScroll(String text,int Speed);//send text string and set scrolling speed
void SetBrigthness(int B);/set brigthness 0 1 2 3 (0,25,50,100)
void CtrlWord(char X);//special controlWord (See in datasheet)
void LampTest(int tog);// 1 to run lamptest 0 to exit lamp test
private:
int _Adr0;
int _Adr1;
int _Adr2;
int _CE;
int _WR;
int _RST;
int _latch;
int _clock;
int _data;
};
#endif
|
#pragma once
#include <iberbar/Lua/LuaBase.h>
namespace iberbar
{
class __iberbarLuaApi__ CLuaDevice
: public CRef
{
public:
CLuaDevice();
~CLuaDevice();
public:
void Initial();
void AddLuaPath( const char* strFile );
CResult ExecuteFile( const char* strFile );
CResult ExecuteSource( const char* strSource );
lua_State* GetLuaState() { return m_pLuaState; }
private:
lua_State* m_pLuaState;
};
namespace Lua
{
CLuaDevice* GetLuaDevice( lua_State* pLuaState );
}
}
|
#include <iostream>
#include <queue>
#include <deque>
#include <algorithm>
#include <string>
#include <vector>
#include <stack>
#include <set>
#include <map>
#include <math.h>
#include <string.h>
#include <bitset>
#include <cmath>
using namespace std;
string str = "";
bool judge(char c)
{
for (int i = 0; i < 3; i++)
{
if (str[i] == c && str[i + 3] == c && str[i + 6] == c)
return true;
if (str[i * 3] == c && str[i * 3 + 1] == c && str[i * 3 + 2] == c)
return true;
}
if (str[4] == c)
{
if (str[0] == c && str[8] == c)
return true;
if (str[6] == c && str[2] == c)
return true;
}
return false;
}
int main()
{
ios::sync_with_stdio(false);
cin.tie(0);
cin >> str;
while (str != "end")
{
int x = 0, o = 0;
for (int i = 0; i < 9; i++)
{
if (str[i] == 'X')
x++;
else if (str[i] == 'O')
o++;
}
bool resultO = judge('O'), resultX = judge('X');
if (resultO && !resultX && x == o)
cout << "valid\n";
else if (!resultO && resultX && x == o + 1)
cout << "valid\n";
else if (!resultO && !resultX && x == 5 && o == 4)
cout << "valid\n";
else
cout << "invalid\n";
cin >> str;
}
return 0;
}
|
#include <OGLML/Particles.h>
#include <OGLML/Texture2D.h>
#include <OGLML/Shader.h>
#include <OGLML/QuadRender.h>
#include <glew.h>
#include <cassert>
using namespace oglml;
Particles::Particles()
{
glGenBuffers(1, &m_colorsVBO);
glGenBuffers(1, &m_offsetsVBO);
}
void Particles::SetNumber(std::size_t size)
{
assert(size > 0);
m_particleNumber = size;
}
void Particles::SetOrthoParams(float width, float height)
{
m_projection = glm::ortho(0.0f, width, height, 0.0f, -1.0f, 1.0f);
}
void Particles::SetTexture(Texture2D& texture)
{
m_textureID = texture.GetTextureID();
}
void Particles::SetShader(Shader& shader)
{
m_shaderID = shader.GetProgramID();
}
void Particles::BufferColorsData(const std::vector<ColorsData>& colors)
{
assert(colors.size() == m_particleNumber);
glBindBuffer(GL_ARRAY_BUFFER, m_colorsVBO);
glBufferData(GL_ARRAY_BUFFER, sizeof(ColorsData) * m_particleNumber, colors.data(), GL_STATIC_DRAW);
glBindBuffer(GL_ARRAY_BUFFER, 0);
}
void Particles::BufferOffsetsData(const std::vector<OffsetsData>& offsets)
{
assert(offsets.size() == m_particleNumber);
glBindBuffer(GL_ARRAY_BUFFER, m_offsetsVBO);
glBufferData(GL_ARRAY_BUFFER, sizeof(OffsetsData) * m_particleNumber, offsets.data(), GL_STATIC_DRAW);
glBindBuffer(GL_ARRAY_BUFFER, 0);
}
void Particles::Draw()
{
static const std::string imageUniform = "uSprite";
static const std::string projectionUniform = "uProjection";
static const unsigned int SPRITE_LAYOUT_POSITION = 0;
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE);
Shader::Use(m_shaderID);
Shader::SetInt(m_shaderID, imageUniform, SPRITE_LAYOUT_POSITION);
Shader::SetMatrix4f(m_shaderID, projectionUniform, m_projection);
glActiveTexture(GL_TEXTURE0);
glBindTexture(GL_TEXTURE_2D, m_textureID);
BindData();
QuadRender::Get().DrawArraysInstanced(m_particleNumber);
glBindTexture(GL_TEXTURE_2D, 0);
}
void Particles::BindData()
{
QuadRender::Get().BindVAO();
//COLORS
glBindBuffer(GL_ARRAY_BUFFER, m_colorsVBO);
glEnableVertexAttribArray(2);
glVertexAttribPointer(2, 4, GL_FLOAT, GL_FALSE, 4 * sizeof(float), (void*)0);
glVertexAttribDivisor(2, 1);
glBindBuffer(GL_ARRAY_BUFFER, 0);
//OFFSETS
glBindBuffer(GL_ARRAY_BUFFER, m_offsetsVBO);
glEnableVertexAttribArray(3);
glVertexAttribPointer(3, 2, GL_FLOAT, GL_FALSE, 2 * sizeof(float), (void*)0);
glVertexAttribDivisor(3, 1);
glBindBuffer(GL_ARRAY_BUFFER, 0);
glBindVertexArray(0);
}
|
// Copyright (c) 2020 ETH Zurich
//
// SPDX-License-Identifier: BSL-1.0
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#pragma once
#include <pika/config.hpp>
#include <pika/functional/detail/tag_fallback_invoke.hpp>
#include <pika/functional/tag_invoke.hpp>
namespace pika::execution::experimental {
inline constexpr struct with_priority_t final : pika::functional::detail::tag<with_priority_t>
{
} with_priority{};
inline constexpr struct get_priority_t final : pika::functional::detail::tag<get_priority_t>
{
} get_priority{};
inline constexpr struct with_stacksize_t final : pika::functional::detail::tag<with_stacksize_t>
{
} with_stacksize{};
inline constexpr struct get_stacksize_t final : pika::functional::detail::tag<get_stacksize_t>
{
} get_stacksize{};
inline constexpr struct with_hint_t final : pika::functional::detail::tag<with_hint_t>
{
} with_hint{};
inline constexpr struct get_hint_t final : pika::functional::detail::tag<get_hint_t>
{
} get_hint{};
// with_annotation uses tag_fallback as the base class to allow an
// out-of-line fallback implementation for executors that don't support
// annotations by themselves. See annotating_executor.
inline constexpr struct with_annotation_t final
: pika::functional::detail::tag_fallback<with_annotation_t>
{
} with_annotation{};
inline constexpr struct get_annotation_t final : pika::functional::detail::tag<get_annotation_t>
{
} get_annotation{};
} // namespace pika::execution::experimental
|
//忘记纪录了 啥都没有 下次做再看看吧
//hash 12ms 58.80%
class Use_for_quicksort{
public:
int compare;
int store_one;
};
class Solution {
public:
vector<int> twoSum(vector<int>& nums, int target) {
int length = nums.size();
Use_for_quicksort* hash = new Use_for_quicksort[30000];
Use_for_quicksort* hash_negative = new Use_for_quicksort[30000];
for(int i = 0; i<30000; ++i){
hash[i].compare = 0;
hash_negative[i].compare = 0;
}
for(int i = 0; i<length; ++i){
if(nums[i]>=0){
hash[(nums[i])].compare += 1 ;
hash[(nums[i])].store_one = i;
}else{
hash_negative[-(nums[i])].compare += 1 ;
hash_negative[-(nums[i])].store_one = i;
}
}
for(int i = 0; i<length; ++i){
int difference = target - nums[i];
if(difference>=0){
if((difference!=nums[i]&&hash[difference].compare ==1)||(difference==nums[i]&&hash[difference].compare ==2)){
vector<int> result{i,hash[difference].store_one};
return result;
}
}else{
if((difference!=nums[i]&&hash_negative[-difference].compare ==1)||(difference==nums[i]&&hash_negative[-difference].compare ==2)){
vector<int> result{i,hash_negative[-difference].store_one};
return result;
}
}
}
}
};
/*
//quicksort+binary_search 56ms 40.16%
class Use_for_quicksort{
public:
int compare;
int store_one;
};
//quicksort algotithm
int quicksort(Use_for_quicksort *data,int low,int high){
int partition(Use_for_quicksort *data,int low,int high);
if ((high-low)<1){
return 0;
}
int middle=partition(data,low,high-1);
quicksort(data,low,middle);
quicksort(data,middle+1,high);
return 0;
}
int partition(Use_for_quicksort *data,int low,int high){
int backup_low=low;
int backup_high=high;
Use_for_quicksort middle_data=data[low];
for(;low<high;){
for(;low<high;){
if(data[high].compare>middle_data.compare){
high=high-1;
}else{
data[low]=data[high];
low=low+1;
break;
}
}
for(;low<high;){
if(data[low].compare<middle_data.compare){
low=low+1;
}else{
data[high]=data[low];
high=high-1;
break;
}
}
}
int middle=low;
data[low]=middle_data;
low=backup_low;
high=backup_high;
return middle;
}
//二分查找
int binary_search(Use_for_quicksort *data,int low,int high
,int be_searched){
for(;low<high;){
int middle=(low+high)>>1;
if(be_searched<data[middle].compare){
high=middle;
}
else if(be_searched>data[middle].compare){
low=middle+1;
}
else{
for(;be_searched==data[middle].compare;middle=middle-1);
middle=middle+1;
return middle;
}
}
return -100;
}
class Solution {
public:
vector<int> twoSum(vector<int>& nums, int target) {
int length = nums.size();
Use_for_quicksort cck[length+10];
for(int i = 0; i<length; ++i){
cck[i].compare = nums[i];
cck[i].store_one = i;
}
quicksort(cck,0,length);
int i;
for(i = 0; i<length; ++i){
int the_second = target - nums[i];
int the_result = binary_search(cck,0,length,the_second);
if((the_result != -100)&&(cck[the_result].store_one!=i)){
vector<int> hhh{i,cck[the_result].store_one};
return hhh;
}
}
}
};
*/
|
#pragma once
#include <spdlog/common.h>
#ifdef SPDLOG_JSON_LOGGER
#include <spdlog/details/log_msg_buffer.h>
#include <spdlog/json.h>
namespace spdlog {
class logger;
namespace details {
class SPDLOG_API executor
{
private:
struct context
{
logger *lgr;
log_msg_buffer msg;
bool log_enabled;
bool traceback_enabled;
context(logger *lgr, const log_msg &msg, bool log_enabled, bool traceback_enabled);
context(context &&other);
};
uint8_t buf_[sizeof(context)];
context *ctx_;
public:
executor();
executor(logger *lgr, const log_msg &msg, bool log_enabled, bool traceback_enabled);
executor(const executor &other) = delete;
executor(executor &&other);
~executor() noexcept(false);
executor &operator=(const executor &other) = delete;
executor &operator=(executor &&other) = delete;
executor &operator()(const nlohmann::json ¶ms);
};
} // namespace details
} // namespace spdlog
#ifdef SPDLOG_HEADER_ONLY
# include "executor-inl.h"
#endif
#endif
|
#ifndef CELL_H
#define CELL_H
namespace Minesweeper {
class Cell {
private:
bool _isVisible = false;
bool _hasMine = false;
bool _isMarked = false;
int _numOfMinesAround = 0;
public:
bool isVisible() const;
bool hasMine() const;
bool isMarked() const;
int numOfMinesAround() const;
void incrNumOfMinesAround();
void makeVisible();
void putMine();
void markCell();
void unmarkCell();
};
}
#endif
|
static char val = LOW;
void blink(){
val = !val;
}
void setup() {
pinMode(PC13, OUTPUT);
pinMode(PA0, INPUT_PULLUP);
attachInterrupt(0, blink, FALLING);
}
void loop() {
digitalWrite(PC13, val);
}
|
#pragma once
#include "entities/entity.hpp"
#include "city.hpp"
struct Position : ecs::ComponentCRTP<ecs::Component::Position, Position> {
Position(Point p) : pos(p) { }
inline City& city() { return *pos.city; }
inline int x() const { return pos.x; }
inline int y() const { return pos.y; }
inline Point as_point() const { return pos; }
virtual void on_add() override { insert(); }
virtual void on_remove() override { remove(); }
inline void move(int tx, int ty) {
remove();
pos.x = tx;
pos.y = ty;
insert();
}
inline void move(Point tp) {
remove();
pos.x = tp.x;
pos.y = tp.y;
insert();
}
private:
inline void insert() { city().add_ent(x(), y(), parent); }
inline void remove() { city().del_ent(x(), y(), parent); }
Point pos;
};
|
#include "Storage-TTL.hh"
#include "Checksum.hh"
#include "TypeOfService.hh"
#include "Timestamp.hh"
#include "IPCoverTiming.hh"
#include "AlgorithmManager.hh"
#include "Format.hpp"
#include <regex>
#include <iostream>
//Initialization of the ressources and properties of Algorithm Manager command
AlgorithmManager::AlgorithmManager()
: ACommand()
{
this->_minArg = 1;
this->_command = "-algorithm";
this->_mandatory = true;
this->initAlgorithms();
}
AlgorithmManager::~AlgorithmManager()
{
//Free the memory for all algorithms available
for (std::map<std::string, IAlgorithm *>::iterator it = this->_algorithms.begin(); it != this->_algorithms.end(); ++it)
{
if (!it->second)
delete it->second;
}
this->_algorithms.clear();
}
//Initialization of all algorithms available within the client
void AlgorithmManager::initAlgorithms()
{
IAlgorithm *tmp = NULL;
tmp = new StorageTTL;
this->_algorithms[tmp->getName()] = tmp;
tmp = new Checksum;
this->_algorithms[tmp->getName()] = tmp;
tmp = new TypeOfService;
this->_algorithms[tmp->getName()] = tmp;
tmp = new Timestamp;
this->_algorithms[tmp->getName()] = tmp;
tmp = new IPCoverTiming;
this->_algorithms[tmp->getName()] = tmp;
}
//Check the syntax of the command Algorithm Manager and all algorithms available
bool AlgorithmManager::checkSyntax(std::vector<std::string> &args)
{
std::map<std::string, IAlgorithm *>::iterator it = this->_algorithms.find(args.at(1));
args.erase(args.begin());
if (it != this->_algorithms.end())
{
if (!it->second->checkSyntax(args))
return (false);
this->_algorithmUsed = it->second;
this->_used = true;
return (true);
}
return (false);
}
//Accessor method for the algorithm used
IAlgorithm *AlgorithmManager::getAlgorithm()
{
return (this->_algorithmUsed);
}
//Accessor method for the arguments format
std::string AlgorithmManager::getFormat() const
{
return (std::string(this->_command + " " + FORMAT_ALGORITHM));
}
//Display the usage of the command Algorithm Manager and all algorithms available
void AlgorithmManager::displayUsage() const
{
std::cout << "You must to provite an algorithm within the algorithms list below:" << std::endl;
for (std::map<std::string, IAlgorithm *>::const_iterator it = this->_algorithms.cbegin(); it != this->_algorithms.cend(); ++it)
Format::displayUsageWithFormat(it->second->getName(), it->second->getArgFormat(), it->second->getDescription());
}
|
#include <cmath>
#include <iostream>
#include <fstream>
#include <specex_spot.h>
#include <specex_trace.h>
#include <specex_linalg.h>
#include <specex_message.h>
#include <specex_spot_array.h>
#include <specex_vector_utils.h>
#include <specex_unbst.h>
specex::Trace::Trace(int i_fiber) :
fiber(i_fiber)
{
synchronized=false;
}
void specex::Trace::resize(int ncoeff) {
unbls::vector_double coeff;
coeff=X_vs_W.coeff;
X_vs_W.deg = ncoeff-1;
X_vs_W.coeff.resize(ncoeff);
X_vs_W.coeff = specex::unbst::subrange(coeff,0,min(ncoeff,int(coeff.size())));
coeff=Y_vs_W.coeff;
Y_vs_W.deg = ncoeff-1;
Y_vs_W.coeff.resize(ncoeff);
Y_vs_W.coeff = specex::unbst::subrange(coeff,0,min(ncoeff,int(coeff.size())));
coeff=W_vs_Y.coeff;
W_vs_Y.deg = ncoeff-1;
W_vs_Y.coeff.resize(ncoeff);
W_vs_Y.coeff = specex::unbst::subrange(coeff,0,min(ncoeff,int(coeff.size())));
coeff=X_vs_Y.coeff;
X_vs_Y.deg = ncoeff-1;
X_vs_Y.coeff.resize(ncoeff);
X_vs_Y.coeff = specex::unbst::subrange(coeff,0,min(ncoeff,int(coeff.size())));
}
bool specex::Trace::Fit(std::vector<specex::Spot_p> spots, bool set_xy_range) {
if(fiber==-1) {
SPECEX_ERROR("specex::Trace::Fit need to set fiber id first");
}
SPECEX_INFO("specex::Trace::Fit starting fit of trace of fiber " << fiber);
int nspots=0;
for(size_t s=0;s<spots.size();s++) {
const specex::Spot &spot = *(spots[s]);
if(spot.fiber == fiber)
nspots++;
}
if(set_xy_range) {
X_vs_W.xmin = 1e20;
X_vs_W.xmax = -1e20;
Y_vs_W.xmin = 1e20;
Y_vs_W.xmax = -1e20;
for(size_t s=0;s<spots.size();s++) {
const specex::Spot &spot = *(spots[s]);
if(spot.fiber != fiber)
continue;
if(spot.wavelength<X_vs_W.xmin) X_vs_W.xmin=spot.wavelength;
if(spot.wavelength>X_vs_W.xmax) X_vs_W.xmax=spot.wavelength;
if(spot.wavelength<Y_vs_W.xmin) Y_vs_W.xmin=spot.wavelength;
if(spot.wavelength>Y_vs_W.xmax) Y_vs_W.xmax=spot.wavelength;
}
}
if(X_vs_W.xmax == X_vs_W.xmin) X_vs_W.xmax = X_vs_W.xmin + 0.1;
if(Y_vs_W.xmax == Y_vs_W.xmin) Y_vs_W.xmax = Y_vs_W.xmin + 0.1;
SPECEX_INFO("number of spots for fiber " << fiber << " = " << nspots);
if(nspots==0) SPECEX_ERROR("specex::Trace::Fit : no spots");
X_vs_W.deg = min(SPECEX_TRACE_DEFAULT_LEGENDRE_POL_DEGREE,nspots-1);
Y_vs_W.deg = min(SPECEX_TRACE_DEFAULT_LEGENDRE_POL_DEGREE,nspots-1);
//#warning only deg2 trace fit for debug
//Y_vs_W.deg = min(2,nspots-1);
if(nspots<max(X_vs_W.deg+1,Y_vs_W.deg+1)) {
SPECEX_ERROR("specex::Trace::Fit only " << nspots << " spots to fit " << X_vs_W.deg
<< " and " << Y_vs_W.deg << " degree polynomials");
}
X_vs_W.coeff.resize(X_vs_W.deg+1);
Y_vs_W.coeff.resize(Y_vs_W.deg+1);
// fit x
{
int npar = X_vs_W.coeff.size();
unbls::matrix_double A(npar,npar);
unbls::zero(A);
unbls::vector_double B(npar,0.);
for(size_t s=0;s<spots.size();s++) {
const specex::Spot &spot = *(spots[s]);
if(spot.fiber != fiber)
continue;
double w=1;
double res=spot.xc;
unbls::vector_double h=X_vs_W.Monomials(spot.wavelength);
specex::syr(w,h,A); // A += w*Mat(h)*h.transposed();
specex::axpy(w*res,h,B); // B += (w*res)*h;
}
int status = cholesky_solve(A,B);
if(status != 0) {
SPECEX_ERROR("failed to fit X vs wavelength");
}
X_vs_W.coeff=B;
}
// fit y
{
int npar = Y_vs_W.coeff.size();
unbls::matrix_double A(npar,npar); unbls::zero(A);
unbls::vector_double B(npar,0.);
for(size_t s=0;s<spots.size();s++) {
const specex::Spot &spot = *(spots[s]);
if(spot.fiber != fiber)
continue;
double w=1;
double res=spot.yc;
unbls::vector_double h=Y_vs_W.Monomials(spot.wavelength);
specex::syr(w,h,A); // A += w*Mat(h)*h.transposed();
specex::axpy(w*res,h,B); // B += (w*res)*h;
}
int status = cholesky_solve(A,B);
if(status != 0) {
SPECEX_ERROR("failed to fit Y vs wavelength");
}
Y_vs_W.coeff=B;
}
// monitoring results
double x_sumw = 0;
double x_sumwx = 0;
double x_sumwx2 = 0;
double y_sumw = 0;
double y_sumwy = 0;
double y_sumwy2 = 0;
for(size_t s=0;s<spots.size();s++) {
const specex::Spot &spot = *(spots[s]);
if(spot.fiber != fiber)
continue;
double xw=1;
double yw=1;
double xres=spot.xc-X_vs_W.Value(spot.wavelength);
double yres=spot.yc-Y_vs_W.Value(spot.wavelength);
x_sumw += xw;
x_sumwx += xw*xres;
x_sumwx2 += xw*xres*xres;
y_sumw += yw;
y_sumwy += yw*yres;
y_sumwy2 += yw*yres*yres;
}
double x_mean = x_sumwx/x_sumw;
double x_rms = sqrt(x_sumwx2/x_sumw);
double y_mean = y_sumwy/y_sumw;
double y_rms = sqrt(y_sumwy2/y_sumw);
SPECEX_INFO(
"specex::Trace::Fit fiber trace #" << fiber
<< " nspots=" << nspots << " xdeg=" << X_vs_W.deg << " ydeg=" << Y_vs_W.deg
<< " dx=" << x_mean << " xrms=" << x_rms
<< " dy=" << y_mean << " yrms=" << y_rms
);
if(x_rms>2 || y_rms>2) {
for(size_t s=0;s<spots.size();s++) {
specex::Spot& spot = *(spots[s]);
if(spot.fiber != fiber)
continue;
spot.xc=X_vs_W.Value(spot.wavelength);
spot.yc=Y_vs_W.Value(spot.wavelength);
}
write_spots_list(spots,"debug_spots.list");
SPECEX_ERROR("specex::Trace::Fit rms are too large");
}
synchronized = true;
return true;
}
//#warning check meaning of fibermask
bool specex::Trace::Off() const { return mask==3;} // I am guessing here?
int specex::eval_bundle_size(const specex::TraceSet& traceset) {
SPECEX_DEBUG("Guess number of bundles from traces");
int nfibers = traceset.size();
if(nfibers<30) return nfibers;
double* central_waves = new double[nfibers];
for(int f=0;f<nfibers;f++)
central_waves[f]=(traceset.find(f)->second.X_vs_W.xmin+traceset.find(f)->second.X_vs_W.xmax)/2.;
double central_wave=DConstArrayMedian(central_waves,nfibers);
SPECEX_DEBUG("Central wavelength = " << central_wave);
delete [] central_waves;
double* spacing = new double[nfibers-1];
for(int f=0;f<nfibers-1;f++) {
spacing[f] = traceset.find(f+1)->second.X_vs_W.Value(central_wave)-traceset.find(f)->second.X_vs_W.Value(central_wave);
//SPECEX_DEBUG("Spacing=" << spacing[f]);
}
double median_spacing = DConstArrayMedian(spacing,nfibers-1);
SPECEX_INFO("Median distance between fibers = " << median_spacing);
int number_of_bundles=0;
int bundle_size=0;
int first_fiber=0;
for(int f=0;f<nfibers-1;f++) {
if(spacing[f]>median_spacing*1.5) {
// we have a bundle
int current_bundle_size = f-first_fiber+1;
number_of_bundles += 1;
SPECEX_DEBUG("Bundle of size " << current_bundle_size);
if(bundle_size==0) {
bundle_size = current_bundle_size;
}else{
if(current_bundle_size != bundle_size) {
SPECEX_ERROR("cannot deal with varying bundle size");
}
}
first_fiber=f+1;
}
}
number_of_bundles += 1;
if(number_of_bundles==1) { // there is only one
bundle_size = nfibers;
}
SPECEX_INFO("number of fibers per bundle = " << bundle_size);
delete[] spacing;
return bundle_size;
}
|
#pragma once
#include <QWidget>
class Alime_ContentWidget;
using ContentWidgetCreator=
std::function<Alime_ContentWidget*(QWidget*)>;
class Alime_ContentWidget : public QWidget
{
Q_OBJECT
public:
Alime_ContentWidget(QWidget* parent = Q_NULLPTR);
QString GetTitle();
QString GetIcon();
int GetShadowWidth();
QSize GetWindowSize();
static ContentWidgetCreator creator_;
};
#define CLASSREGISTER(className) \
class Register##className \
{ \
public: \
Register##className(){ \
Alime_ContentWidget::creator_ = [](QWidget* parent) { \
return new className(parent); \
}; \
} \
}; Register##className instance_; \
|
/*
========================================================================
DEVise Data Visualization Software
(c) Copyright 1992-1996
By the DEVise Development Group
Madison, Wisconsin
All Rights Reserved.
========================================================================
Under no circumstances is this software to be copied, distributed,
or altered in any way without prior permission from the DEVise
Development Group.
*/
/*
$Id: TDataBinaryInterp.c,v 1.11 1996/10/02 15:23:52 wenger Exp $
$Log: TDataBinaryInterp.c,v $
Revision 1.11 1996/10/02 15:23:52 wenger
Improved error handling (modified a number of places in the code to use
the DevError class).
Revision 1.10 1996/08/29 18:24:42 wenger
A number of Dali-related improvements: ShapeAttr1 now specifies image
type when shape is 'image'; added new '-bytes' flag to Dali commands
when sending images; TDataBinaryInterp now uses StringStorage so GData
can access strings; fixed hash function for StringStorage so having the
high bit set in a byte in the string doesn't crash the hash table;
improved the error checking in some of the Dali code.
Revision 1.9 1996/07/01 19:28:10 jussi
Added support for typed data sources (WWW and UNIXFILE). Renamed
'cache' references to 'index' (cache file is really an index).
Added support for asynchronous interface to data sources.
Revision 1.8 1996/06/27 18:12:43 wenger
Re-integrated most of the attribute projection code (most importantly,
all of the TData code) into the main code base (reduced the number of
modules used only in attribute projection).
Revision 1.7 1996/06/27 15:49:35 jussi
TDataAscii and TDataBinary now recognize when a file has been deleted,
shrunk, or has increased in size. The query processor is asked to
re-issue relevant queries when such events occur.
Revision 1.6 1996/05/11 03:14:52 jussi
Made this code independent of some control panel variables like
_fileAlias and _fileName.
Revision 1.5 1996/05/07 16:46:20 jussi
This class now makes a copy of the attribute list so that attribute
hi/lo values can be maintained per data stream, not per schema.
Hi/lo values are now computed after composite parser is executed.
Revision 1.4 1996/05/05 03:08:23 jussi
Added support for composite attributes. Also added tape drive
support.
Revision 1.3 1996/04/16 20:38:52 jussi
Replaced assert() calls with DOASSERT macro.
Revision 1.2 1996/02/01 18:28:55 jussi
Improved handling of case where data file has more attributes
than schema defined.
Revision 1.1 1996/01/23 20:54:51 jussi
Initial revision.
*/
#include <string.h>
#include <unistd.h>
#include "TDataBinaryInterp.h"
#include "AttrList.h"
#include "RecInterp.h"
#include "CompositeParser.h"
#include "Parse.h"
#include "Control.h"
#include "Util.h"
#include "DevError.h"
#ifndef ATTRPROJ
# include "StringStorage.h"
#endif
#ifndef ATTRPROJ
TDataBinaryInterpClassInfo::TDataBinaryInterpClassInfo(char *className,
AttrList *attrList,
int recSize)
{
_className = className;
_attrList = attrList;
_recSize = recSize;
_tdata = NULL;
// compute size of physical record (excluding composite attributes)
_physRecSize = 0;
_attrList->InitIterator();
while(_attrList->More()) {
AttrInfo *info = _attrList->Next();
if (!info->isComposite)
_physRecSize += info->length;
}
_attrList->DoneIterator();
DOASSERT(_physRecSize > 0 && _physRecSize <= _recSize,
"Invalid physical record size");
}
TDataBinaryInterpClassInfo::TDataBinaryInterpClassInfo(char *className,
char *name,
char *type,
char *param,
TData *tdata)
{
_className = className;
_name = name;
_type = type;
_param = param;
_tdata = tdata;
}
TDataBinaryInterpClassInfo::~TDataBinaryInterpClassInfo()
{
if (_tdata)
delete _tdata;
}
char *TDataBinaryInterpClassInfo::ClassName()
{
return _className;
}
static char buf[3][256];
static char *args[3];
void TDataBinaryInterpClassInfo::ParamNames(int &argc, char **&argv)
{
argc = 3;
argv = args;
args[0] = buf[0];
args[1] = buf[1];
args[2] = buf[2];
strcpy(buf[0], "Name {foobar}");
strcpy(buf[1], "Type {foobar}");
strcpy(buf[2], "Param {foobar}");
}
ClassInfo *TDataBinaryInterpClassInfo::CreateWithParams(int argc, char **argv)
{
if (argc != 2 && argc != 3)
return (ClassInfo *)NULL;
char *name, *type, *param;
if (argc == 2) {
name = CopyString(argv[1]);
type = CopyString("UNIXFILE");
param = CopyString(argv[0]);
} else {
name = CopyString(argv[0]);
type = CopyString(argv[1]);
param = CopyString(argv[2]);
}
TDataBinaryInterp *tdata = new TDataBinaryInterp(name, type,
param, _recSize,
_physRecSize,
_attrList);
return new TDataBinaryInterpClassInfo(_className, name, type, param, tdata);
}
char *TDataBinaryInterpClassInfo::InstanceName()
{
return _name;
}
void *TDataBinaryInterpClassInfo::GetInstance()
{
return _tdata;
}
void TDataBinaryInterpClassInfo::CreateParams(int &argc, char **&argv)
{
argc = 3;
argv = args;
args[0] = _name;
args[1] = _type;
args[2] = _param;
}
#endif
TDataBinaryInterp::TDataBinaryInterp(char *name, char *type,
char *param, int recSize,
int physRecSize, AttrList *attrs) :
TDataBinary(name, type, param, recSize, physRecSize), _attrList(*attrs)
{
#ifdef DEBUG
printf("TDataBinaryInterp %s, recSize %d, physRecSize %d\n",
name, recSize, physRecSize);
#endif
_recInterp = new RecInterp();
_recInterp->SetAttrs(attrs);
_recSize = recSize;
_physRecSize = physRecSize;
_numAttrs = _numPhysAttrs = _attrList.NumAttrs();
hasComposite = false;
_attrList.InitIterator();
while(_attrList.More()) {
AttrInfo *info = _attrList.Next();
if (info->isComposite) {
hasComposite = true;
_numPhysAttrs--;
}
}
_attrList.DoneIterator();
Initialize();
}
TDataBinaryInterp::~TDataBinaryInterp()
{
}
void TDataBinaryInterp::InvalidateIndex()
{
for(int i = 0; i < _attrList.NumAttrs(); i++) {
AttrInfo *info = _attrList.Get(i);
info->hasHiVal = false;
info->hasLoVal = false;
}
}
Boolean TDataBinaryInterp::WriteIndex(int fd)
{
int numAttrs = _attrList.NumAttrs();
if (write(fd, &numAttrs, sizeof numAttrs) != sizeof numAttrs) {
reportErrSys("write");
return false;
}
for(int i = 0; i < _attrList.NumAttrs(); i++) {
AttrInfo *info = _attrList.Get(i);
if (info->type == StringAttr)
continue;
if (write(fd, &info->hasHiVal, sizeof info->hasHiVal)
!= sizeof info->hasHiVal) {
reportErrSys("write");
return false;
}
if (write(fd, &info->hiVal, sizeof info->hiVal) != sizeof info->hiVal) {
reportErrSys("write");
return false;
}
if (write(fd, &info->hasLoVal, sizeof info->hasLoVal)
!= sizeof info->hasLoVal) {
reportErrSys("write");
return false;
}
if (write(fd, &info->loVal, sizeof info->loVal) != sizeof info->loVal) {
reportErrSys("write");
return false;
}
}
return true;
}
Boolean TDataBinaryInterp::ReadIndex(int fd)
{
int numAttrs;
if (read(fd, &numAttrs, sizeof numAttrs) != sizeof numAttrs) {
reportErrSys("read");
return false;
}
if (numAttrs != _attrList.NumAttrs()) {
printf("Index has inconsistent schema; rebuilding\n");
return false;
}
for(int i = 0; i < _attrList.NumAttrs(); i++) {
AttrInfo *info = _attrList.Get(i);
if (info->type == StringAttr)
continue;
if (read(fd, &info->hasHiVal, sizeof info->hasHiVal)
!= sizeof info->hasHiVal) {
reportErrSys("read");
return false;
}
if (read(fd, &info->hiVal, sizeof info->hiVal) != sizeof info->hiVal) {
reportErrSys("read");
return false;
}
if (read(fd, &info->hasLoVal, sizeof info->hasLoVal)
!= sizeof info->hasLoVal) {
reportErrSys("read");
return false;
}
if (read(fd, &info->loVal, sizeof info->loVal) != sizeof info->loVal) {
reportErrSys("read");
return false;
}
}
return true;
}
Boolean TDataBinaryInterp::Decode(void *recordBuf, int recPos, char *line)
{
/* set buffer for interpreted record */
_recInterp->SetBuf(recordBuf);
_recInterp->SetRecPos(recPos);
if (recordBuf != line)
memcpy(recordBuf, line, _physRecSize);
/* decode composite attributes */
if (hasComposite)
CompositeParser::Decode(_attrList.GetName(), _recInterp);
for(int i = 0; i < _numAttrs; i++) {
AttrInfo *info = _attrList.Get(i);
char *string = NULL;
int code = 0;
int key = 0;
char *ptr = (char *)recordBuf + info->offset;
int intVal;
float floatVal;
double doubleVal;
time_t dateVal;
switch(info->type) {
case IntAttr:
intVal = *(int *)ptr;
if (info->hasMatchVal && intVal != info->matchVal.intVal)
return false;
if (!info->hasHiVal || intVal > info->hiVal.intVal) {
info->hiVal.intVal = intVal;
info->hasHiVal = true;
}
if (!info->hasLoVal || intVal < info->loVal.intVal) {
info->loVal.intVal = intVal;
info->hasLoVal = true;
}
#ifdef DEBUG
printf("int %d, hi %d, lo %d\n", intVal, info->hiVal.intVal,
info->loVal.intVal);
#endif
break;
case FloatAttr:
floatVal = *(float *)ptr;
if (info->hasMatchVal && floatVal != info->matchVal.floatVal)
return false;
if (!info->hasHiVal || floatVal > info->hiVal.floatVal) {
info->hiVal.floatVal = floatVal;
info->hasHiVal = true;
}
if (!info->hasLoVal || floatVal < info->loVal.floatVal) {
info->loVal.floatVal = floatVal;
info->hasLoVal = true;
}
#ifdef DEBUG
printf("float %.2f, hi %.2f, lo %.2f\n", floatVal,
info->hiVal.floatVal, info->loVal.floatVal);
#endif
break;
case DoubleAttr:
doubleVal = *(double *)ptr;
if (info->hasMatchVal && doubleVal != info->matchVal.doubleVal)
return false;
if (!info->hasHiVal || doubleVal > info->hiVal.doubleVal) {
info->hiVal.doubleVal = doubleVal;
info->hasHiVal = true;
}
if (!info->hasLoVal || doubleVal < info->loVal.doubleVal) {
info->loVal.doubleVal = doubleVal;
info->hasLoVal = true;
}
#ifdef DEBUG
printf("double %.2f, hi %.2f, lo %.2f\n", doubleVal,
info->hiVal.doubleVal, info->loVal.doubleVal);
#endif
break;
case StringAttr:
#ifndef ATTRPROJ
string = CopyString(ptr);
code = StringStorage::Insert(string, key);
#ifdef DEBUG
printf("Inserted \"%s\" with key %d, code %d\n", ptr, key, code);
#endif
DOASSERT(code >= 0, "Cannot insert string");
if (!code)
delete string;
#endif
if (info->hasMatchVal && strcmp(ptr, info->matchVal.strVal))
return false;
break;
case DateAttr:
dateVal = *(time_t *)ptr;
if (info->hasMatchVal && dateVal != info->matchVal.dateVal)
return false;
if (!info->hasHiVal || dateVal > info->hiVal.dateVal) {
info->hiVal.dateVal = dateVal;
info->hasHiVal = true;
}
if (!info->hasLoVal || dateVal < info->loVal.dateVal) {
info->loVal.dateVal = dateVal;
info->hasLoVal = true;
}
#ifdef DEBUG
printf("date %ld, hi %ld, lo %ld\n", dateVal, info->hiVal.dateVal,
info->loVal.dateVal);
#endif
break;
default:
DOASSERT(0, "Unknown attribute type");
}
}
return true;
}
|
/*
* Copyright 2016 Bonn-Rhein-Sieg University
*
* Author: Santosh Thoduka
* Based on code by: Sergey Alexandrov
*
*/
#include <ros/ros.h>
#include <tf/transform_listener.h>
#include <pcl_conversions/pcl_conversions.h>
#include <pcl/PCLPointCloud2.h>
#include <pcl/conversions.h>
#include <pcl/common/common.h>
#include "mcr_scene_segmentation/aliases.h"
#include "mcr_scene_segmentation/cloud_accumulation.h"
#include <mcr_scene_segmentation/cloud_accumulator.h>
using mcr_scene_segmentation::CloudAccumulatorNode;
CloudAccumulatorNode::CloudAccumulatorNode() : octree_resolution_(0.05), event_based_termination_(true),
clouds_to_accumulate_(1), current_cloud_count_(0), publish_period_(0.1), add_to_octree_(false), publish_accumulated_cloud_(false)
{
}
CloudAccumulatorNode::~CloudAccumulatorNode()
{
}
void CloudAccumulatorNode::onInit()
{
NODELET_INFO("[CloudAccumulatorNode] CloudAccumulatorNode started");
nh_ = getPrivateNodeHandle();
nh_.param("octree_resolution", octree_resolution_, 0.05);
nh_.param("event_based_termination", event_based_termination_, true);
nh_.param("clouds_to_accumulate", clouds_to_accumulate_, 1);
nh_.param("publish_period", publish_period_, 0.1);
cloud_accumulation_ = CloudAccumulation::UPtr(new CloudAccumulation(octree_resolution_));
// for publishing accumulated cloud
timer_ = nh_.createTimer(ros::Duration(publish_period_), boost::bind(&CloudAccumulatorNode::timerCallback, this));
timer_.stop();
pub_accumulated_cloud_ = nh_.advertise<sensor_msgs::PointCloud2>("output", 1);
pub_event_out_ = nh_.advertise<std_msgs::String>("event_out", 1);
sub_event_in_ = nh_.subscribe("event_in", 1, &CloudAccumulatorNode::eventCallback, this);
}
void CloudAccumulatorNode::eventCallback(const std_msgs::String::ConstPtr &msg)
{
std_msgs::String event_out;
if(msg->data == "e_start")
{
sub_input_cloud_ = nh_.subscribe("input", 1, &CloudAccumulatorNode::pointcloudCallback, this);
//timer_.start();
event_out.data = "e_started";
}
else if(msg->data == "e_add_cloud_start")
{
add_to_octree_ = true;
// Not needed so that not to affect the action server
return;
}
else if(msg->data == "e_add_cloud_stop")
{
add_to_octree_ = false;
event_out.data = "e_add_cloud_stopped";
}
else if(msg->data == "e_start_publish")
{
timer_.start();
event_out.data = "e_started_publish";
}
else if(msg->data == "e_stop_publish")
{
timer_.stop();
event_out.data = "e_stopped_publish";
}
else if(msg->data == "e_publish")
{
if (cloud_accumulation_->getCloudCount() > 0)
{
sensor_msgs::PointCloud2 ros_cloud;
PointCloud cloud;
cloud.header.frame_id = frame_id_;
cloud_accumulation_->getAccumulatedCloud(cloud);
pcl::PCLPointCloud2 pc2;
pcl::toPCLPointCloud2(cloud, pc2);
pcl_conversions::fromPCL(pc2, ros_cloud);
ros_cloud.header.stamp = ros::Time::now();
pub_accumulated_cloud_.publish(ros_cloud);
event_out.data = "e_done";
}
}
else if (msg->data == "e_reset")
{
cloud_accumulation_->reset();
event_out.data = "e_reset";
}
else if(msg->data == "e_stop")
{
cloud_accumulation_->reset();
sub_input_cloud_.shutdown();
timer_.stop();
event_out.data = "e_stopped";
}
else
{
return;
}
pub_event_out_.publish(event_out);
}
void CloudAccumulatorNode::pointcloudCallback(const sensor_msgs::PointCloud2::ConstPtr &msg)
{
PointCloud::Ptr cloud(new PointCloud);
pcl::PCLPointCloud2 pc2;
pcl_conversions::toPCL(*msg, pc2);
pcl::fromPCLPointCloud2(pc2, *cloud);
frame_id_ = msg->header.frame_id;
if (add_to_octree_)
{
cloud_accumulation_->addCloud(cloud);
current_cloud_count_++;
}
if (!event_based_termination_ && add_to_octree_)
{
if (current_cloud_count_ >= clouds_to_accumulate_)
{
std_msgs::String event_out;
current_cloud_count_ = 0;
add_to_octree_ = false;
event_out.data = "e_add_cloud_stopped";
pub_event_out_.publish(event_out);
//NODELET_INFO("Added cloud and terminatd");
}
}
}
void CloudAccumulatorNode::timerCallback()
{
if (cloud_accumulation_->getCloudCount() > 0 && pub_accumulated_cloud_.getNumSubscribers() > 0)
{
//if (publish_accumulated_cloud_)
{
sensor_msgs::PointCloud2 ros_cloud;
PointCloud cloud;
cloud.header.frame_id = frame_id_;
cloud_accumulation_->getAccumulatedCloud(cloud);
pcl::PCLPointCloud2 pc2;
pcl::toPCLPointCloud2(cloud, pc2);
pcl_conversions::fromPCL(pc2, ros_cloud);
ros_cloud.header.stamp = ros::Time::now();
pub_accumulated_cloud_.publish(ros_cloud);
}
}
}
|
/***********************************************************
File name: Adeept6LegSpiderRobot.ino
Description: In the example code provided, the robot supports 2 working modes:
remote control and automatic obstacle avoidance.
Under the remote control mode, you can make the bot stand, squat, go forward and backward,
and turn left and right with the remotxe control.
Under the mode of automatic obstacle avoidance, it will go forward automatically, and bypass
obstacles in front if any and continue to walk ahead then.
Website: www.adeept.com
E-mail: support@adeept.com
Author: Tom
Date: 2017/08/23
***********************************************************/
// //PWM31
// head
// (PWM2)(PWM1)(PWM0)// //(PWM16)(PWM17)(PWM18)
// Left forefoot right forefoot
// (PWM5)(PWM4)(PWM3)// //(PWM19)(PWM20)(PWM21)
// Left foot right foot
// (PWM8)(PWM7)(PWM6)// //(PWM22)(PWM23)(PWM24)
// Left hind foot right hind foot
#include <Adeept_PWMPCA9685.h>
#include <SPI.h>
#include "RF24.h"
char pwm00Calibration = 0;
char pwm01Calibration = 0;
char pwm02Calibration = 0;
char pwm03Calibration = 0;
char pwm04Calibration = 0;
char pwm05Calibration = 0;
char pwm06Calibration = 0;
char pwm07Calibration = 0;
char pwm08Calibration = 0;
char pwm16Calibration = 0;
char pwm17Calibration = 0;
char pwm18Calibration = 0;
char pwm19Calibration = 0;
char pwm20Calibration = 0;
char pwm21Calibration = 0;
char pwm22Calibration = 0;
char pwm23Calibration = 0;
char pwm24Calibration = 0;
char pwm31Calibration = 0;//Ultrasonic steering gear offset
int movementSpeed = 100; //The speed of movement of the robot
Adeept_PWMPCA9685 pwm0 = Adeept_PWMPCA9685(0x40); //1+A5 A4 A3 A2 A1 A0+RW, RW is Read and Write
Adeept_PWMPCA9685 pwm1 = Adeept_PWMPCA9685(0x41); //1+A5 A4 A3 A2 A1 A0+RW, RW is Read and Write
uint8_t servonum = 0;
RF24 radio(9, 10); // define the object to control NRF24L01
byte addresses[5] = "00005"; // define communication address which should correspond to remote control
int data[9]={512, 512, 1, 0, 1, 1, 512, 512, 512}; // define array used to save the communication data
int mode[1];
int trigPin = 3; // define Trig pin for ultrasonic ranging module
int echoPin = 2; // define Echo pin for ultrasonic ranging module
float maxDistance = 200; // define the range(cm) for ultrasonic ranging module, Maximum sensor distance is rated at 400-500cm.
float soundVelocity = 340; // Sound velocity = 340 m/s
float rangingTimeOut = 2 * maxDistance / 100 / soundVelocity * 1000000; // define the timeout(ms) for ultrasonic ranging module
const int buzzerPin = 8; // define pin for buzzer
int automatic = 0;
int upOrDown = 0;
int oneTime = 0;
char oneForward = 0; //Avoid repeating the 'start***()' 'stop***()' program several times before proceeding
char oneBackward = 0;//Avoid repeating the 'start***()' 'stop***()' program multiple times in the back
char oneRight = 0; //Avoid repeating the 'start***()' 'stop***()' program repeatedly on the right turn
char oneLeft = 0; //Avoid repeating the 'start***()' 'stop***()' program multiple times on the left
char detectCommunication = 0; //Check whether the communication is connected. Reboot the communication if it is not
char standingWay = 0; //The setting can only be run when the robot is standing(standingWay=1)
char automaticTime = 0; //Set the robot's operating mode(automaticTime=1:Automatic mode of operation. automaticTime=0:Manual mode of operation)
void setup() {
radio.begin(); // initialize RF24
radio.setRetries(0, 15); // set retries times
radio.setPALevel(RF24_PA_LOW); // set power
radio.openReadingPipe(1, addresses);// open delivery channel
radio.startListening(); // start monitoring
delay(100);
pwm0.begin();
pwm0.setPWMFreq(60); // Analog servos run at ~60 Hz updates
pwm1.begin();
pwm1.setPWMFreq(60); // Analog servos run at ~60 Hz updates
pinMode(trigPin, OUTPUT); // set trigPin to output mode
pinMode(echoPin, INPUT); // set echoPin to input mode
//Control the RGB light to display red
pwm0.setPWM(13, 0, 4095);
pwm0.setPWM(14, 0, 4095);
pwm0.setPWM(15, 0, 0);
calibration();
pwm1.setPWM(15, 0, angle(pwm31Calibration + 90));//Control the PWM31 to 90 degrees
}
void loop() {
receiveData();
if(!data[2]){//Detect standing or squatting.
upOrDown++ ;if(oneTime==0){down();oneTime=1;standingWay=1;}
if(upOrDown>1){upOrDown=0;if(oneTime==1){up();oneTime=0;standingWay=0;}}
}
if(standingWay == 1){
if(automatic == 1){//Automatic obstacle avoidance mode
//Control RGB lights show green
pwm0.setPWM(13, 0, 4095);
pwm0.setPWM(14, 0, 0);
pwm0.setPWM(15, 0, 4095);
byte barDistance = maxDistance; // save the minimum measured distance from obstacles
byte barDegree; // save the minimum measured angel from obstacles
byte distance; // save the current the measured distance from obstacles
// define the initial scanning position servo of pan tilt
pwm1.setPWM(15, 0, angle(pwm31Calibration + 90));
// start to scan distance. During this progress, we will get the distance and angle from the closest obstacle
for (byte ultrasonicServoDegree = 40; ultrasonicServoDegree < 140; ultrasonicServoDegree += 10) {
pwm1.setPWM(15, 0, angle(pwm31Calibration + ultrasonicServoDegree)); // steer pan tilt to corresponding position
delay(50); // wait 50ms between pings (about 40 pingsc). 29ms should be the shortest delay between pings.
receiveData();
distance = getDistance(); // detect the current distance from obstacle with angle of pan tilt stable
if (distance < barDistance) { // if the current measured distance is smaller than the previous one, save the data of current measured distance
barDegree = ultrasonicServoDegree; // save the measured angle
barDistance = distance; // save the measured distance
}
}
// servo of pan tilt turns to default position
pwm1.setPWM(15, 0, angle(pwm31Calibration + 90));
// According to the result of scanning control action of intelligent vehicles
if(barDistance >= 30) { // if the obstacle distance is not close, move on
if(automaticTime==0){startForward();automaticTime=1;}
turnForward();
}else { // if the obstacle distance is too close, reverse the travelling direction
stopForward();startBackward();turnBackward();turnBackward();stopBackward();
if(barDegree < 90){ // choose to reverse direction according to the angle with obstacle
startLeftTow();turnLeftTow();turnLeftTow();stopLeftTow();automaticTime=0;
}else{
startRightTow();turnRightTow();turnRightTow();stopRightTow();automaticTime=0;
}
}
}
if(automatic == 0){//Remote control mode
if(automaticTime!=0){
stopForward();
automaticTime=0;
}
//Control the RGB light to display blue
pwm0.setPWM(13, 0, 0);
pwm0.setPWM(14, 0, 4095);
pwm0.setPWM(15, 0, 4095);
if(data[1]>600&&oneBackward==0&&oneRight==0&&oneLeft==0){ //Go ahead
if(oneForward==0){startForward();oneForward=1;}
turnForward();
}else if(oneForward==1){oneForward=0;stopForward();}
if(data[1]<400&&oneForward==0&&oneRight==0&&oneLeft==0){//Backwards
if(oneBackward==0){startBackward();oneBackward=1;}
turnBackward();
}else if(oneBackward==1){oneBackward=0; stopBackward();}
if(data[8]<400&&oneForward==0&&oneBackward==0&&oneLeft==0){//Turn right
if(oneRight==0){startRightTow();oneRight=1;}
turnRightTow();
}else if(oneRight==1){oneRight=0; stopRightTow();}
if(data[8]>600&&oneForward==0&&oneBackward==0&&oneRight==0){//Turn left
if(oneLeft==0){startLeftTow();oneLeft=1;}
turnLeftTow();
}else if(oneLeft==1){oneLeft=0;stopLeftTow();}
}
}else{
//Control the RGB light to display red
pwm0.setPWM(13, 0, 4095);
pwm0.setPWM(14, 0, 4095);
pwm0.setPWM(15, 0, 0);
}
delay(100);
// upDown();
// standUp();
// calibration();
}
int angle(int angle){//Angle conversion
if(angle>=180){angle=180;}
if(angle<=0){angle=0;}
return map(angle,0,180,130,600);//130-600
}
int oppAngle(int oppAngle){// The opposite direction angle conversion
if(oppAngle>=180){oppAngle=180;}
if(oppAngle<=0){oppAngle=0;}
return map(oppAngle,0,180,600,130);//600-130
}
//Control robot back
void startBackward(void){
int i;
int j=90;
pwm0.setPWM(2, 0, angle(pwm02Calibration + 170));
pwm0.setPWM(5, 0, angle(pwm05Calibration + 170));
pwm0.setPWM(8, 0, angle(pwm08Calibration + 170));
pwm1.setPWM(2, 0, oppAngle(pwm18Calibration + 170));
pwm1.setPWM(5, 0, oppAngle(pwm21Calibration + 170));
pwm1.setPWM(8, 0, oppAngle(pwm24Calibration + 170));
for(i=90;i>50;i--){
pwm0.setPWM(0, 0, oppAngle(pwm00Calibration + i)); pwm1.setPWM(0, 0, angle(pwm16Calibration + i));
if(i>70){j--;if(j<=55){j=55;}}
if(i<=70){j++;if(j>=90){j=90;}}
pwm0.setPWM(1, 0, oppAngle(pwm01Calibration + j)); pwm1.setPWM(1, 0, angle(pwm17Calibration + j));
delay(movementSpeed);
receiveData();
if(data[1]>=400){
movementSpeed = 10;
}else{
movementSpeed = map(data[1],0,400,10,100);
}
}
for(i=90;i>50;i--){
pwm0.setPWM(3, 0, oppAngle(pwm03Calibration + i)); pwm1.setPWM(3, 0, angle(pwm19Calibration + i));
if(i>70){j--;if(j<=55){j=55;}}
if(i<=70){j++;if(j>=90){j=90;}}
pwm0.setPWM(4, 0, oppAngle(pwm04Calibration + j)); pwm1.setPWM(4, 0, angle(pwm20Calibration + j));
delay(movementSpeed);
receiveData();
if(data[1]>=400){
movementSpeed = 10;
}else{
movementSpeed = map(data[1],0,400,10,100);
}
}
for(i=90;i>50;i--){
pwm0.setPWM(6, 0, oppAngle(pwm06Calibration + i)); pwm1.setPWM(6, 0, angle(pwm22Calibration + i));
if(i>70){j--;if(j<=55){j=55;}}
if(i<=70){j++;if(j>=90){j=90;}}
pwm0.setPWM(7, 0, oppAngle(pwm07Calibration + j)); pwm1.setPWM(7, 0, angle(pwm23Calibration + j));
delay(movementSpeed);
receiveData();
if(data[1]>=400){
movementSpeed = 10;
}else{
movementSpeed = map(data[1],0,400,10,100);
}
}
j=90;
for(i=50;i<120;i++){
pwm0.setPWM(3, 0, oppAngle(pwm03Calibration + i)); pwm1.setPWM(3, 0, angle(pwm19Calibration + i));
pwm0.setPWM(0, 0, oppAngle(pwm00Calibration + i)); pwm1.setPWM(0, 0, angle(pwm16Calibration + i));
pwm0.setPWM(6, 0, oppAngle(pwm06Calibration + i)); pwm1.setPWM(6, 0, angle(pwm22Calibration + i));
delay(movementSpeed);
receiveData();
if(data[1]>=400){
movementSpeed = 10;
}else{
movementSpeed = map(data[1],0,400,10,100);
}
}
}
void turnBackward(void){
int i;
int j=90;
for(i=120;i>85;i--){
pwm0.setPWM(0, 0, oppAngle(pwm00Calibration + i)); pwm1.setPWM(0, 0, angle(pwm16Calibration + i));
j--;if(j<=55){j=55;}
pwm0.setPWM(1, 0, oppAngle(pwm01Calibration + j)); pwm1.setPWM(1, 0, angle(pwm17Calibration + j));
delay(movementSpeed);
receiveData();
if(data[1]>=400){
movementSpeed = 10;
}else{
movementSpeed = map(data[1],0,400,10,100);
}
}
for(i=85;i>50;i--){
pwm0.setPWM(0, 0, oppAngle(pwm00Calibration + i)); pwm1.setPWM(0, 0, angle(pwm16Calibration + i));
j++;if(j>=90){j=90;}
pwm0.setPWM(1, 0, oppAngle(pwm01Calibration + j)); pwm1.setPWM(1, 0, angle(pwm17Calibration + j));
delay(movementSpeed);
receiveData();
if(data[1]>=400){
movementSpeed = 10;
}else{
movementSpeed = map(data[1],0,400,10,100);
}
}
j=90;
for(i=120;i>85;i--){
pwm0.setPWM(3, 0, oppAngle(pwm03Calibration + i)); pwm1.setPWM(3, 0, angle(pwm19Calibration + i));
j--;if(j<=55){j=55;}
pwm0.setPWM(4, 0, oppAngle(pwm04Calibration + j)); pwm1.setPWM(4, 0, angle(pwm20Calibration + j));
delay(movementSpeed);
receiveData();
if(data[1]>=400){
movementSpeed = 10;
}else{
movementSpeed = map(data[1],0,400,10,100);
}
}
for(i=85;i>50;i--){
pwm0.setPWM(3, 0, oppAngle(pwm03Calibration + i)); pwm1.setPWM(3, 0, angle(pwm19Calibration + i));
j++;if(j>=90){j=90;}
pwm0.setPWM(4, 0, oppAngle(pwm04Calibration + j)); pwm1.setPWM(4, 0, angle(pwm20Calibration + j));
delay(movementSpeed);
receiveData();
if(data[1]>=400){
movementSpeed = 10;
}else{
movementSpeed = map(data[1],0,400,10,100);
}
}
j=90;
for(i=120;i>85;i--){
pwm0.setPWM(6, 0, oppAngle(pwm06Calibration + i)); pwm1.setPWM(6, 0, angle(pwm22Calibration + i));
j--;if(j<=55){j=55;}
pwm0.setPWM(7, 0, oppAngle(pwm07Calibration + j)); pwm1.setPWM(7, 0, angle(pwm23Calibration + j));
delay(movementSpeed);
receiveData();
if(data[1]>=400){
movementSpeed = 10;
}else{
movementSpeed = map(data[1],0,400,10,100);
}
}
for(i=85;i>50;i--){
pwm0.setPWM(6, 0, oppAngle(pwm06Calibration + i)); pwm1.setPWM(6, 0, angle(pwm22Calibration + i));
j++;if(j>=90){j=90;}
pwm0.setPWM(7, 0, oppAngle(pwm07Calibration + j)); pwm1.setPWM(7, 0, angle(pwm23Calibration + j));
delay(movementSpeed);
receiveData();
if(data[1]>=400){
movementSpeed = 10;
}else{
movementSpeed = map(data[1],0,400,10,100);
}
}
j=90;
for(i=50;i<120;i++){
pwm0.setPWM(3, 0, oppAngle(pwm03Calibration + i)); pwm1.setPWM(3, 0, angle(pwm19Calibration + i));
pwm0.setPWM(0, 0, oppAngle(pwm00Calibration + i)); pwm1.setPWM(0, 0, angle(pwm16Calibration + i));
pwm0.setPWM(6, 0, oppAngle(pwm06Calibration + i)); pwm1.setPWM(6, 0, angle(pwm22Calibration + i));
delay(movementSpeed);
receiveData();
if(data[1]>=400){
movementSpeed = 10;
}else{
movementSpeed = map(data[1],0,400,10,100);
}
}
}
void stopBackward(void){
int i;
int j=90;
for(i=120;i>90;i--){
pwm0.setPWM(6, 0, oppAngle(pwm06Calibration + i)); pwm1.setPWM(6, 0, angle(pwm22Calibration + i));
if(i>105){j--;if(j<=75){j=75;}}
if(i<=105){j++;if(j>=90){j=90;}}
pwm0.setPWM(7, 0, oppAngle(pwm07Calibration + j)); pwm1.setPWM(7, 0, angle(pwm23Calibration + j));
delay(movementSpeed);
receiveData();
if(data[1]>=400){
movementSpeed = 10;
}else{
movementSpeed = map(data[1],0,400,10,100);
}
}
for(i=120;i>90;i--){
pwm0.setPWM(3, 0, oppAngle(pwm03Calibration + i)); pwm1.setPWM(3, 0, angle(pwm19Calibration + i));
if(i>105){j--;if(j<=75){j=75;}}
if(i<=105){j++;if(j>=90){j=90;}}
pwm0.setPWM(4, 0, oppAngle(pwm04Calibration + j)); pwm1.setPWM(4, 0, angle(pwm20Calibration + j));
delay(movementSpeed);
receiveData();
if(data[1]>=400){
movementSpeed = 10;
}else{
movementSpeed = map(data[1],0,400,10,100);
}
}
for(i=120;i>90;i--){
pwm0.setPWM(0, 0, oppAngle(pwm00Calibration + i)); pwm1.setPWM(0, 0, angle(pwm16Calibration + i));
if(i>105){j--;if(j<=75){j=75;}}
if(i<=105){j++;if(j>=90){j=90;}}
pwm0.setPWM(1, 0, oppAngle(pwm01Calibration + j)); pwm1.setPWM(1, 0, angle(pwm17Calibration + j));
delay(movementSpeed);
receiveData();
if(data[1]>=400){
movementSpeed = 10;
}else{
movementSpeed = map(data[1],0,400,10,100);
}
}
}
//Control the robot forward
void startForward(void){
int i;
int j=90;
pwm0.setPWM(2, 0, angle(pwm02Calibration + 170));
pwm0.setPWM(5, 0, angle(pwm05Calibration + 170));
pwm0.setPWM(8, 0, angle(pwm08Calibration + 170));
pwm1.setPWM(2, 0, oppAngle(pwm16Calibration + 170));
pwm1.setPWM(5, 0, oppAngle(pwm21Calibration + 170));
pwm1.setPWM(8, 0, oppAngle(pwm24Calibration + 170));
for(i=90;i<130;i++){
pwm0.setPWM(6, 0, oppAngle(pwm06Calibration + i)); pwm1.setPWM(6, 0, angle(pwm22Calibration + i));
if(i<=110){j--;if(j<=55){j=55;}}
if(i>110){j++;if(j>=90){j=90;}}
pwm0.setPWM(7, 0, oppAngle(pwm07Calibration + j)); pwm1.setPWM(7, 0, angle(pwm23Calibration + j));
delay(movementSpeed);
receiveData();
if(data[1]<=600){
movementSpeed = 10;
}else{
movementSpeed = map(data[1],600,1023,100,10);
}
}
for(i=90;i<130;i++){
pwm0.setPWM(3, 0, oppAngle(pwm03Calibration + i)); pwm1.setPWM(3, 0, angle(pwm19Calibration + i));
if(i<=110){j--;if(j<=55){j=55;}}
if(i>110){j++;if(j>=90){j=90;}}
pwm0.setPWM(4, 0, oppAngle(pwm04Calibration + j)); pwm1.setPWM(4, 0, angle(pwm20Calibration + j));
delay(movementSpeed);
receiveData();
if(data[1]<=600){
movementSpeed = 10;
}else{
movementSpeed = map(data[1],600,1023,100,10);
}
}
for(i=90;i<130;i++){
pwm0.setPWM(0, 0, oppAngle(pwm00Calibration + i)); pwm1.setPWM(0, 0, angle(pwm16Calibration + i));
if(i<=110){j--;if(j<=55){j=55;}}
if(i>110){j++;if(j>=90){j=90;}}
pwm0.setPWM(1, 0, oppAngle(pwm01Calibration + j)); pwm1.setPWM(1, 0, angle(pwm17Calibration + j));
delay(movementSpeed);
receiveData();
if(data[1]<=600){
movementSpeed = 10;
}else{
movementSpeed = map(data[1],600,1023,100,10);
}
}
j=90;
for(i=130;i>60;i--){
pwm0.setPWM(3, 0, oppAngle(pwm03Calibration + i)); pwm1.setPWM(3, 0, angle(pwm19Calibration + i));
pwm0.setPWM(0, 0, oppAngle(pwm00Calibration + i)); pwm1.setPWM(0, 0, angle(pwm16Calibration + i));
pwm0.setPWM(6, 0, oppAngle(pwm06Calibration + i)); pwm1.setPWM(6, 0, angle(pwm22Calibration + i));
delay(movementSpeed);
receiveData();
if(data[1]<=600){
movementSpeed = 10;
}else{
movementSpeed = map(data[1],600,1023,100,10);
}
}
}
void turnForward(void){
int i;
int j=90;
for(i=60;i<95;i++){
pwm0.setPWM(6, 0, oppAngle(pwm06Calibration + i)); pwm1.setPWM(6, 0, angle(pwm22Calibration + i));
j--;if(j<=55){j=55;}
pwm0.setPWM(7, 0, oppAngle(pwm07Calibration + j)); pwm1.setPWM(7, 0, angle(pwm23Calibration + j));
delay(movementSpeed);
receiveData();
if(data[1]<=600){
movementSpeed = 10;
}else{
movementSpeed = map(data[1],600,1023,100,10);
}
}
for(i=95;i<130;i++){
pwm0.setPWM(6, 0, oppAngle(pwm06Calibration + i)); pwm1.setPWM(6, 0, angle(pwm22Calibration + i));
j++;if(j>=90){j=90;}
pwm0.setPWM(7, 0, oppAngle(pwm07Calibration + j)); pwm1.setPWM(7, 0, angle(pwm23Calibration + j));
delay(movementSpeed);
receiveData();
if(data[1]<=600){
movementSpeed = 10;
}else{
movementSpeed = map(data[1],600,1023,100,10);
}
}
j=90;
for(i=60;i<95;i++){
pwm0.setPWM(3, 0, oppAngle(pwm03Calibration + i)); pwm1.setPWM(3, 0, angle(pwm19Calibration + i));
j--;if(j<=55){j=55;}
pwm0.setPWM(4, 0, oppAngle(pwm04Calibration + j)); pwm1.setPWM(4, 0, angle(pwm20Calibration + j));
delay(movementSpeed);
receiveData();
if(data[1]<=600){
movementSpeed = 10;
}else{
movementSpeed = map(data[1],600,1023,100,10);
}
}
for(i=95;i<=130;i++){
pwm0.setPWM(3, 0, oppAngle(pwm03Calibration + i)); pwm1.setPWM(3, 0, angle(pwm19Calibration + i));
j++;if(j>=90){j=90;}
pwm0.setPWM(4, 0, oppAngle(pwm04Calibration + j)); pwm1.setPWM(4, 0, angle(pwm20Calibration + j));
delay(movementSpeed);
receiveData();
if(data[1]<=600){
movementSpeed = 10;
}else{
movementSpeed = map(data[1],600,1023,100,10);
}
}
j=90;
for(i=60;i<95;i++){
pwm0.setPWM(0, 0, oppAngle(pwm00Calibration + i)); pwm1.setPWM(0, 0, angle(pwm16Calibration + i));
j--;if(j<=55){j=55;}
pwm0.setPWM(1, 0, oppAngle(pwm01Calibration + j)); pwm1.setPWM(1, 0, angle(pwm17Calibration + j));
delay(movementSpeed);
receiveData();
if(data[1]<=600){
movementSpeed = 10;
}else{
movementSpeed = map(data[1],600,1023,100,10);
}
}
for(i=95;i<=130;i++){
pwm0.setPWM(0, 0, oppAngle(pwm00Calibration + i)); pwm1.setPWM(0, 0, angle(pwm16Calibration + i));
j++;if(j>=90){j=90;}
pwm0.setPWM(1, 0, oppAngle(pwm01Calibration + j)); pwm1.setPWM(1, 0, angle(pwm17Calibration + j));
delay(movementSpeed);
receiveData();
if(data[1]<=600){
movementSpeed = 10;
}else{
movementSpeed = map(data[1],600,1023,100,10);
}
}
j=90;
for(i=130;i>60;i--){
pwm0.setPWM(3, 0, oppAngle(pwm03Calibration + i)); pwm1.setPWM(3, 0, angle(pwm19Calibration + i));
pwm0.setPWM(0, 0, oppAngle(pwm00Calibration + i)); pwm1.setPWM(0, 0, angle(pwm16Calibration + i));
pwm0.setPWM(6, 0, oppAngle(pwm06Calibration + i)); pwm1.setPWM(6, 0, angle(pwm22Calibration + i));
delay(movementSpeed);
receiveData();
if(data[1]<=600){
movementSpeed = 10;
}else{
movementSpeed = map(data[1],600,1023,100,10);
}
}
}
void stopForward(void){
int i;
int j=90;
for(i=60;i<90;i++){
pwm0.setPWM(6, 0, oppAngle(pwm06Calibration + i)); pwm1.setPWM(6, 0, angle(pwm22Calibration + i));
if(i<=75){j--;if(j<=75){j=75;}}
if(i>75){j++;if(j>=90){j=90;}}
pwm0.setPWM(7, 0, oppAngle(pwm07Calibration + j)); pwm1.setPWM(7, 0, angle(pwm23Calibration + j));
delay(movementSpeed);
receiveData();
if(data[1]<=600){
movementSpeed = 10;
}else{
movementSpeed = map(data[1],600,1023,100,10);
}
}
for(i=60;i<90;i++){
pwm0.setPWM(3, 0, oppAngle(pwm03Calibration + i)); pwm1.setPWM(3, 0, angle(pwm19Calibration + i));
if(i<=75){j--;if(j<=75){j=75;}}
if(i>75){j++;if(j>=90){j=90;}}
pwm0.setPWM(4, 0, oppAngle(pwm04Calibration + j)); pwm1.setPWM(4, 0, angle(pwm20Calibration + j));
delay(movementSpeed);
receiveData();
if(data[1]<=600){
movementSpeed = 10;
}else{
movementSpeed = map(data[1],600,1023,100,10);
}
}
for(i=60;i<90;i++){
pwm0.setPWM(0, 0, oppAngle(pwm00Calibration + i)); pwm1.setPWM(0, 0, angle(pwm16Calibration + i));
if(i<=75){j--;if(j<=75){j=75;}}
if(i>75){j++;if(j>=90){j=90;}}
pwm0.setPWM(1, 0, oppAngle(pwm01Calibration + j)); pwm1.setPWM(1, 0, angle(pwm17Calibration + j));
delay(movementSpeed);
receiveData();
if(data[1]<=600){
movementSpeed = 10;
}else{
movementSpeed = map(data[1],600,1023,100,10);
}
}
}
//Control the robot to the left, two legs with the rotation
void startLeftTow(void){
int i;
int j=90;
pwm0.setPWM(2, 0, angle(pwm02Calibration + 170));
pwm0.setPWM(5, 0, angle(pwm05Calibration + 170));
pwm0.setPWM(8, 0, angle(pwm08Calibration + 170));
pwm1.setPWM(2, 0, oppAngle(pwm18Calibration + 170));
pwm1.setPWM(5, 0, oppAngle(pwm21Calibration + 170));
pwm1.setPWM(8, 0, oppAngle(pwm24Calibration + 170));
for(i=90;i<115;i++){
pwm0.setPWM(6, 0, angle(pwm06Calibration + i)); pwm1.setPWM(0, 0, angle(pwm16Calibration + i));
j--;if(j<=65){j=65;}
pwm0.setPWM(7, 0, oppAngle(pwm07Calibration + j)); pwm1.setPWM(1, 0, angle(pwm17Calibration + j));
delay(movementSpeed);
receiveData();
if(data[8]<=600){
movementSpeed = 10;
}else{
movementSpeed = map(data[8],600,1023,100,10);
}
}
for(i=115;i<140;i++){
pwm0.setPWM(6, 0, angle(pwm06Calibration + i)); pwm1.setPWM(0, 0, angle(pwm16Calibration + i));
j++;if(j>=90){j=90;}
pwm0.setPWM(7, 0, oppAngle(pwm07Calibration + j)); pwm1.setPWM(1, 0, angle(pwm17Calibration + j));
delay(movementSpeed);
receiveData();
if(data[8]<=600){
movementSpeed = 10;
}else{
movementSpeed = map(data[8],600,1023,100,10);
}
}
j=90;
for(i=90;i<115;i++){
pwm0.setPWM(3, 0, angle(pwm03Calibration + i)); pwm1.setPWM(3, 0, angle(pwm19Calibration + i));
j--;if(j<=65){j=65;}
pwm0.setPWM(4, 0, oppAngle(pwm04Calibration + j));pwm1.setPWM(4, 0, angle(pwm20Calibration + j));
delay(movementSpeed);
receiveData();
if(data[8]<=600){
movementSpeed = 10;
}else{
movementSpeed = map(data[8],600,1023,100,10);
}
}
for(i=115;i<140;i++){
pwm0.setPWM(3, 0, angle(pwm03Calibration + i)); pwm1.setPWM(3, 0, angle(pwm19Calibration + i));
j++;if(j>=90){j=90;}
pwm0.setPWM(4, 0, oppAngle(pwm04Calibration + j)); pwm1.setPWM(4, 0, angle(pwm20Calibration + j));
delay(movementSpeed);
receiveData();
if(data[8]<=600){
movementSpeed = 10;
}else{
movementSpeed = map(data[8],600,1023,100,10);
}
}
j=90;
for(i=90;i<115;i++){
pwm0.setPWM(0, 0, angle(pwm00Calibration + i)); pwm1.setPWM(6, 0, angle(pwm22Calibration + i));
j--;if(j<=65){j=65;}
pwm0.setPWM(1, 0, oppAngle(pwm01Calibration + j)); pwm1.setPWM(7, 0, angle(pwm23Calibration + j));
delay(movementSpeed);
receiveData();
if(data[8]<=600){
movementSpeed = 10;
}else{
movementSpeed = map(data[8],600,1023,100,10);
}
}
for(i=115;i<140;i++){
pwm0.setPWM(0, 0, angle(pwm00Calibration + i)); pwm1.setPWM(6, 0, angle(pwm22Calibration + i));
j++;if(j>=90){j=90;}
pwm0.setPWM(1, 0, oppAngle(pwm01Calibration + j)); pwm1.setPWM(7, 0, angle(pwm17Calibration + j));
delay(movementSpeed);
receiveData();
if(data[8]<=600){
movementSpeed = 10;
}else{
movementSpeed = map(data[8],600,1023,100,10);
}
}
for(i=140;i>=40;i--){
pwm0.setPWM(0, 0, angle( pwm00Calibration + i));
pwm0.setPWM(3, 0, angle( pwm03Calibration + i));
pwm0.setPWM(6, 0, angle( pwm06Calibration + i));
pwm1.setPWM(0, 0, angle( pwm16Calibration + i));
pwm1.setPWM(3, 0, angle( pwm19Calibration + i));
pwm1.setPWM(6, 0, angle( pwm20Calibration + i));
delay(movementSpeed);
receiveData();
if(data[8]<=600){
movementSpeed = 10;
}else{
movementSpeed = map(data[8],600,1023,100,10);
}
}
}
void turnLeftTow(void){
int i;
int j=90;
for(i=40;i<90;i++){
pwm0.setPWM(6, 0, angle(pwm06Calibration + i)); pwm1.setPWM(0, 0, angle(pwm16Calibration + i));
j--;if(j<=0){j=40;}
pwm0.setPWM(7, 0, oppAngle(pwm07Calibration + j)); pwm1.setPWM(1, 0, angle(pwm17Calibration + j));
delay(movementSpeed);
receiveData();
if(data[8]<=600){
movementSpeed = 10;
}else{
movementSpeed = map(data[8],600,1023,100,10);
}
}
for(i=90;i<140;i++){
pwm0.setPWM(6, 0, angle(pwm06Calibration + i)); pwm1.setPWM(0, 0, angle(pwm16Calibration + i));
j++;if(j>=90){j=90;}
pwm0.setPWM(7, 0, oppAngle(pwm07Calibration + j)); pwm1.setPWM(1, 0, angle(pwm17Calibration + j));
delay(movementSpeed);
receiveData();
if(data[8]<=600){
movementSpeed = 10;
}else{
movementSpeed = map(data[8],600,1023,100,10);
}
}
j=90;
for(i=40;i<90;i++){
pwm0.setPWM(3, 0, angle(pwm03Calibration + i)); pwm1.setPWM(3, 0, angle(pwm19Calibration + i));
j--;if(j<=0){j=40;}
pwm0.setPWM(4, 0, oppAngle(pwm04Calibration + j)); pwm1.setPWM(4, 0, angle(pwm20Calibration + j));
delay(movementSpeed);
receiveData();
if(data[8]<=600){
movementSpeed = 10;
}else{
movementSpeed = map(data[8],600,1023,100,10);
}
}
for(i=90;i<140;i++){
pwm0.setPWM(3, 0, angle(pwm03Calibration + i)); pwm1.setPWM(3, 0, angle(pwm19Calibration + i));
j++;if(j>=90){j=90;}
pwm0.setPWM(4, 0, oppAngle(pwm04Calibration + j)); pwm1.setPWM(4, 0, angle(pwm20Calibration + j));
delay(movementSpeed);
receiveData();
if(data[8]<=600){
movementSpeed = 10;
}else{
movementSpeed = map(data[8],600,1023,100,10);
}
}
j=90;
for(i=40;i<90;i++){
pwm0.setPWM(0, 0, angle(pwm00Calibration + i)); pwm1.setPWM(6, 0, angle(pwm22Calibration + i));
j--;if(j<=0){j=40;}
pwm0.setPWM(1, 0, oppAngle(pwm01Calibration + j)); pwm1.setPWM(7, 0, angle(pwm23Calibration + j));
delay(movementSpeed);
receiveData();
if(data[8]<=600){
movementSpeed = 10;
}else{
movementSpeed = map(data[8],600,1023,100,10);
}
}
for(i=90;i<140;i++){
pwm0.setPWM(0, 0, angle(pwm00Calibration + i)); pwm1.setPWM(6, 0, angle(pwm22Calibration + i));
j++;if(j>=90){j=90;}
pwm0.setPWM(1, 0, oppAngle(pwm01Calibration + j)); pwm1.setPWM(7, 0, angle(pwm17Calibration + j));
delay(movementSpeed);
receiveData();
if(data[8]<=600){
movementSpeed = 10;
}else{
movementSpeed = map(data[8],600,1023,100,10);
}
}
for(i=140;i>=40;i--){
pwm0.setPWM(0, 0, angle( pwm00Calibration + i));
pwm0.setPWM(3, 0, angle( pwm03Calibration + i));
pwm0.setPWM(6, 0, angle( pwm06Calibration + i));
pwm1.setPWM(0, 0, angle( pwm16Calibration + i));
pwm1.setPWM(3, 0, angle( pwm19Calibration + i));
pwm1.setPWM(6, 0, angle( pwm22Calibration + i));
delay(movementSpeed);
receiveData();
if(data[8]<=600){
movementSpeed = 10;
}else{
movementSpeed = map(data[8],600,1023,100,10);
}
}
}
void stopLeftTow(void){
int i;
for(i=40;i<90;i++){
pwm0.setPWM(0, 0, angle( pwm00Calibration + i));
pwm0.setPWM(3, 0, angle( pwm03Calibration + i));
pwm0.setPWM(6, 0, angle( pwm06Calibration + i));
pwm1.setPWM(0, 0, angle( pwm16Calibration + i));
pwm1.setPWM(3, 0, angle( pwm19Calibration + i));
pwm1.setPWM(6, 0, angle( pwm22Calibration + i));
delay(movementSpeed);
receiveData();
if(data[8]<=600){
movementSpeed = 10;
}else{
movementSpeed = map(data[8],600,1023,100,10);
}
}
}
//Control the robot to the left, two legs with the rotation
void startRightTow(void){
int i;
int j=90;
pwm0.setPWM(2, 0, angle(pwm02Calibration + 170));
pwm0.setPWM(5, 0, angle(pwm05Calibration + 170));
pwm0.setPWM(8, 0, angle(pwm08Calibration + 170));
pwm1.setPWM(2, 0, oppAngle(pwm18Calibration + 170));
pwm1.setPWM(5, 0, oppAngle(pwm21Calibration + 170));
pwm1.setPWM(8, 0, oppAngle(pwm24Calibration + 170));
for(i=90;i>65;i--){
pwm0.setPWM(0, 0, angle(pwm00Calibration + i)); pwm0.setPWM(1, 0, oppAngle(pwm01Calibration + i));
pwm1.setPWM(6, 0, angle(pwm22Calibration + i)); pwm1.setPWM(7, 0, angle(pwm23Calibration + i));
delay(movementSpeed);
receiveData();
if(data[8]>=400){
movementSpeed = 10;
}else{
movementSpeed = map(data[8],0,400,10,100);
}
}
j=65;
for(i=65;i>40;i--){
pwm0.setPWM(0, 0, angle(pwm00Calibration + i)); pwm1.setPWM(6, 0, angle(pwm22Calibration + i));
j++;if(j>=90){j=90;}
pwm0.setPWM(1, 0, oppAngle(pwm01Calibration + j)); pwm1.setPWM(7, 0, angle( pwm17Calibration + j));
delay(movementSpeed);
receiveData();
if(data[8]>=400){
movementSpeed = 10;
}else{
movementSpeed = map(data[8],0,400,10,100);
}
}
for(i=90;i>65;i--){
pwm0.setPWM(3, 0, angle(pwm03Calibration + i)); pwm0.setPWM(4, 0, oppAngle(pwm04Calibration + i));
pwm1.setPWM(3, 0, angle(pwm19Calibration + i));pwm1.setPWM(4, 0, angle(pwm20Calibration + i));
delay(movementSpeed);
receiveData();
if(data[8]>=400){
movementSpeed = 10;
}else{
movementSpeed = map(data[8],0,400,10,100);
}
}
j=65;
for(i=65;i>40;i--){
pwm0.setPWM(3, 0, angle(pwm03Calibration + i)); pwm1.setPWM(3, 0, angle(pwm19Calibration + i));
j++;if(j>=90){j=90;}
pwm0.setPWM(4, 0, oppAngle(pwm04Calibration + j)); pwm1.setPWM(4, 0, angle(pwm20Calibration + j));
delay(movementSpeed);
receiveData();
if(data[8]>=400){
movementSpeed = 10;
}else{
movementSpeed = map(data[8],0,400,10,100);
}
}
for(i=90;i>65;i--){
pwm0.setPWM(6, 0, angle(pwm06Calibration + i)); pwm0.setPWM(7, 0, oppAngle(pwm07Calibration + i));
pwm1.setPWM(0, 0, angle(pwm16Calibration + i)); pwm1.setPWM(1, 0, angle(pwm17Calibration + i));
delay(movementSpeed);
receiveData();
if(data[8]>=400){
movementSpeed = 10;
}else{
movementSpeed = map(data[8],0,400,10,100);
}
}
j=65;
for(i=65;i>40;i--){
pwm0.setPWM(6, 0, angle(pwm06Calibration + i)); pwm1.setPWM(0, 0, angle(pwm16Calibration + i));
j++;if(j>=90){j=90;}
pwm0.setPWM(7, 0, oppAngle(pwm07Calibration + j)); pwm1.setPWM(1, 0, angle(pwm17Calibration + j));
delay(movementSpeed);
receiveData();
if(data[8]>=400){
movementSpeed = 10;
}else{
movementSpeed = map(data[8],0,400,10,100);
}
}
for(i=40;i<=140;i++){
pwm0.setPWM(0, 0, angle( pwm00Calibration + i));
pwm0.setPWM(3, 0, angle( pwm03Calibration + i));
pwm0.setPWM(6, 0, angle( pwm06Calibration + i));
pwm1.setPWM(0, 0, angle( pwm16Calibration + i));
pwm1.setPWM(3, 0, angle( pwm19Calibration + i));
pwm1.setPWM(6, 0, angle( pwm22Calibration + i));
delay(movementSpeed);
receiveData();
if(data[8]>=400){
movementSpeed = 10;
}else{
movementSpeed = map(data[8],0,400,10,100);
}
}
}
void turnRightTow(void){
int i;
int j=90;
for(i=140;i>90;i--){
pwm0.setPWM(0, 0, angle(pwm00Calibration + i)); pwm1.setPWM(6, 0, angle(pwm22Calibration + i));
j--;if(j<=0){j=40;}
pwm0.setPWM(1, 0, oppAngle(pwm01Calibration + j)); pwm1.setPWM(7, 0, angle(pwm23Calibration + j));
delay(movementSpeed);
receiveData();
if(data[8]>=400){
movementSpeed = 10;
}else{
movementSpeed = map(data[8],0,400,10,100);
}
}
for(i=90;i>40;i--){
pwm0.setPWM(0, 0, angle(pwm00Calibration + i)); pwm1.setPWM(6, 0, angle(pwm22Calibration + i));
j++;if(j>=90){j=90;}
pwm0.setPWM(1, 0, oppAngle(pwm01Calibration + j)); pwm1.setPWM(7, 0, angle(pwm17Calibration + j));
delay(movementSpeed);
receiveData();
if(data[8]>=400){
movementSpeed = 10;
}else{
movementSpeed = map(data[8],0,400,10,100);
}
}
j=90;
for(i=140;i>90;i--){
pwm0.setPWM(3, 0, angle(pwm03Calibration + i)); pwm1.setPWM(3, 0, angle(pwm19Calibration + i));
j--;if(j<=0){j=40;}
pwm0.setPWM(4, 0, oppAngle(pwm04Calibration + j)); pwm1.setPWM(4, 0, angle(pwm20Calibration + j));
delay(movementSpeed);
receiveData();
if(data[8]>=400){
movementSpeed = 10;
}else{
movementSpeed = map(data[8],0,400,10,100);
}
}
for(i=90;i>40;i--){
pwm0.setPWM(3, 0, angle(pwm03Calibration + i)); pwm1.setPWM(3, 0, angle(pwm19Calibration + i));
j++;if(j>=90){j=90;}
pwm0.setPWM(4, 0, oppAngle(pwm04Calibration + j)); pwm1.setPWM(4, 0, angle(pwm20Calibration + j));
delay(movementSpeed);
receiveData();
if(data[8]>=400){
movementSpeed = 10;
}else{
movementSpeed = map(data[8],0,400,10,100);
}
}
j=90;
for(i=140;i>90;i--){
pwm0.setPWM(6, 0, angle(pwm06Calibration + i)); pwm1.setPWM(0, 0, angle(pwm16Calibration + i));
j--;if(j<=0){j=40;}
pwm0.setPWM(7, 0, oppAngle(pwm07Calibration + j)); pwm1.setPWM(1, 0, angle(pwm17Calibration + j));
delay(movementSpeed);
receiveData();
if(data[8]>=400){
movementSpeed = 10;
}else{
movementSpeed = map(data[8],0,400,10,100);
}
}
for(i=90;i>40;i--){
pwm0.setPWM(6, 0, angle(pwm06Calibration + i)); pwm1.setPWM(0, 0, angle(pwm16Calibration + i));
j++;if(j>=90){j=90;}
pwm0.setPWM(7, 0, oppAngle(pwm07Calibration + j)); pwm1.setPWM(1, 0, angle(pwm17Calibration + j));
delay(movementSpeed);
receiveData();
if(data[8]>=400){
movementSpeed = 10;
}else{
movementSpeed = map(data[8],0,400,10,100);
}
}
for(i=40;i<=140;i++){
pwm0.setPWM(0, 0, angle( pwm00Calibration + i));
pwm0.setPWM(3, 0, angle( pwm03Calibration + i));
pwm0.setPWM(6, 0, angle( pwm06Calibration + i));
pwm1.setPWM(0, 0, angle( pwm16Calibration + i));
pwm1.setPWM(3, 0, angle( pwm19Calibration + i));
pwm1.setPWM(6, 0, angle( pwm22Calibration + i));
delay(movementSpeed);
receiveData();
if(data[8]>=400){
movementSpeed = 10;
}else{
movementSpeed = map(data[8],0,400,10,100);
}
}
}
void stopRightTow(void){
int i;
for(i=140;i>=90;i--){
pwm0.setPWM(0, 0, angle( pwm00Calibration + i));
pwm0.setPWM(3, 0, angle( pwm03Calibration + i));
pwm0.setPWM(6, 0, angle( pwm06Calibration + i));
pwm1.setPWM(0, 0, angle( pwm16Calibration + i));
pwm1.setPWM(3, 0, angle( pwm19Calibration + i));
pwm1.setPWM(6, 0, angle( pwm22Calibration + i));
delay(movementSpeed);
receiveData();
if(data[8]>=400){
movementSpeed = 10;
}else{
movementSpeed = map(data[8],0,400,10,100);
}
}
}
void down(void){
int m=0;
int n=0;
//Each leg interval of about 60 degrees.
pwm0.setPWM(0, 0, oppAngle(pwm00Calibration + 90)); pwm0.setPWM(3, 0, oppAngle(pwm03Calibration + 90)); pwm0.setPWM(6, 0, oppAngle(pwm06Calibration + 90));
pwm1.setPWM(0, 0, angle(pwm16Calibration + 90)); pwm1.setPWM(3, 0, angle(pwm19Calibration + 90)); pwm1.setPWM(6, 0, angle(pwm22Calibration + 90));
m=10;n=30;
receiveData();
for(int i=0;i<20;i++){
pwm0.setPWM(1, 0, oppAngle(pwm01Calibration + m)); pwm0.setPWM(4, 0, oppAngle(pwm04Calibration + m)); pwm0.setPWM(7, 0, oppAngle(pwm07Calibration + m));
pwm1.setPWM(1, 0, angle(pwm17Calibration + m)); pwm1.setPWM(4, 0, angle(pwm20Calibration + m)); pwm1.setPWM(7, 0, angle(pwm23Calibration + m));
pwm0.setPWM(2, 0, oppAngle(pwm02Calibration + n)); pwm0.setPWM(5, 0, oppAngle(pwm05Calibration + n)); pwm0.setPWM(8, 0, oppAngle(pwm08Calibration + n));
pwm1.setPWM(2, 0, angle(pwm18Calibration + n)); pwm1.setPWM(5, 0, angle(pwm21Calibration + n)); pwm1.setPWM(8, 0, angle(pwm24Calibration + n));
delay(25);receiveData();delay(25);m++;n--;
}
receiveData();
for(m=30;m<=90;m++){
pwm0.setPWM(1, 0, oppAngle(pwm01Calibration + m)); pwm0.setPWM(4, 0, oppAngle(pwm04Calibration + m)); pwm0.setPWM(7, 0, oppAngle(pwm07Calibration + m));
pwm1.setPWM(1, 0, angle(pwm17Calibration + m)); pwm1.setPWM(4, 0, angle(pwm20Calibration + m)); pwm1.setPWM(7, 0, angle(pwm23Calibration + m));
delay(25);receiveData();delay(25);
}
}
void up(void){
int m=0;
int n=0;
m=90;n=10;
receiveData();
for(m=90;m>=30;m--){
pwm0.setPWM(1, 0, oppAngle(pwm01Calibration + m)); pwm0.setPWM(4, 0, oppAngle(pwm04Calibration + m)); pwm0.setPWM(7, 0, oppAngle(pwm07Calibration + m));
pwm1.setPWM(1, 0, angle(pwm17Calibration + m)); pwm1.setPWM(4, 0, angle(pwm20Calibration + m)); pwm1.setPWM(7, 0, angle(pwm23Calibration + m));
delay(25);receiveData();delay(25);
}
receiveData();
for(int i=0;i<20;i++){
pwm0.setPWM(1, 0, oppAngle(pwm01Calibration + m)); pwm0.setPWM(4, 0, oppAngle(pwm04Calibration + m)); pwm0.setPWM(7, 0, oppAngle(pwm07Calibration + m));
pwm1.setPWM(1, 0, angle(pwm17Calibration + m)); pwm1.setPWM(4, 0, angle(pwm20Calibration + m)); pwm1.setPWM(7, 0, angle(pwm23Calibration + m));
pwm0.setPWM(2, 0, oppAngle(pwm02Calibration + n)); pwm0.setPWM(5, 0, oppAngle(pwm05Calibration + n)); pwm0.setPWM(8, 0, oppAngle(pwm08Calibration + n));
pwm1.setPWM(2, 0, angle(pwm18Calibration + n)); pwm1.setPWM(5, 0, angle(pwm21Calibration + n)); pwm1.setPWM(8, 0, angle(pwm24Calibration + n));
delay(25);receiveData();delay(25);m--;n++;
}
}
void calibration(void){//6 feet position calibration
//Six feet straight
pwm0.setPWM(0, 0, oppAngle(pwm00Calibration + 90));
pwm0.setPWM(3, 0, oppAngle(pwm03Calibration + 90));
receiveData();delay(100);
pwm0.setPWM(6, 0, oppAngle(pwm06Calibration + 90));
pwm0.setPWM(1, 0, oppAngle(pwm01Calibration + 90));
receiveData();delay(100);
pwm0.setPWM(4, 0, oppAngle(pwm04Calibration + 90));
pwm0.setPWM(7, 0, oppAngle(pwm07Calibration + 90));
receiveData();delay(100);
pwm0.setPWM(2, 0, oppAngle(pwm02Calibration + 90));
pwm0.setPWM(5, 0, oppAngle(pwm05Calibration + 90));
receiveData();delay(100);
pwm0.setPWM(8, 0, oppAngle(pwm08Calibration + 90));
pwm1.setPWM(0, 0, angle(pwm16Calibration + 90));
receiveData();delay(100);
pwm1.setPWM(3, 0, angle(pwm19Calibration + 90));
pwm1.setPWM(6, 0, angle(pwm22Calibration + 90));
receiveData();delay(100);
pwm1.setPWM(1, 0, angle(pwm17Calibration + 90));
pwm1.setPWM(4, 0, angle(pwm20Calibration + 90));
receiveData();delay(100);
pwm1.setPWM(7, 0, angle(pwm23Calibration + 90));
pwm1.setPWM(2, 0, angle(pwm18Calibration + 90));
receiveData();delay(100);
pwm1.setPWM(5, 0, angle(pwm21Calibration + 90));
pwm1.setPWM(8, 0, angle(pwm24Calibration + 90));
}
float getDistance() {
unsigned long pingTime; // save the high level time returned by ultrasonic ranging module
float distance; // save the distance away from obstacle
// set the trigPin output 10us high level to make the ultrasonic ranging module start to measure
digitalWrite(trigPin, HIGH);
delayMicroseconds(10);
digitalWrite(trigPin, LOW);
// get the high level time returned by ultrasonic ranging module
pingTime = pulseIn(echoPin, HIGH, rangingTimeOut);
if (pingTime != 0) { // if the measure is not overtime
distance = pingTime * soundVelocity / 2 / 10000; // calculate the obstacle distance(cm) according to the time of high level returned
return distance; // return distance(cm)
}
else // if the measure is overtime
return maxDistance; // returns the maximum distance(cm)
}
void receiveData(){
detectCommunication++;
if ( radio.available()) { // if receive the data
while (radio.available()) { // read all the data
radio.read( data, sizeof(data) ); // read data
}
detectCommunication = 0;
if(!data[3]){
automatic = 0;
}
if(!data[4]){
automatic = 1;
}
if (!data[5])// control the buzzer
tone(buzzerPin, 2000);
else
noTone(buzzerPin);
}
if(detectCommunication>=100){
detectCommunication = 0;
radio.begin(); // initialize RF24
radio.setRetries(0, 15); // set retries times
radio.setPALevel(RF24_PA_LOW); // set power
radio.openReadingPipe(1, addresses);// open delivery channel
radio.startListening(); // start monitoring
}
//movementSpeed = map(data[6],0,1023,0,100);
}
|
//知识点:并查集
/*
本题中有三种生物 ,
故也有三种关系
简单维护两个并查集并不可取
所以试着维护三个并查集:
开三倍空间的并查集 ,
1~n , 存同类
n+1~2*n , 存猎物
2*n+1~3*n 存天敌
如果x和y是同类 ,
则将 x,y并集 ,
将x+n,y+n(即x,y的猎物)并集 ,
将x+2*n,y+2*n(即x,y的天敌)并集
如果x是y的敌人 ,
则将 x和y的敌人y+2*n并集 ,
将x的猎物x+n 和 y的敌人y+2*n 并集 ,
将x的敌人x+2*n和y的猎物y+n并集.
每次查询时,查询x,y和对方的猎物,敌人关系
是否与给出的关系矛盾即可
*/
#include<cstdio>
#include<cctype>
const int MARX = 5e4+10;
//=======================================================
int n,k,ans;
int pre[MARX*3];
//=======================================================
inline int read()
{
int fl=1,w=0;char ch=getchar();
while(!isdigit(ch) && ch!='-') ch=getchar();
if(ch=='-') fl=-1;
while(isdigit(ch)){w=w*10+ch-'0',ch=getchar();}
return fl*w;
}
int find(int x)//查集
{
return pre[x]==x?x:pre[x]=find(pre[x]);
}
void join(int x,int y)//并集
{
int fa1=find(x),fa2=find(y);
pre[fa1]=fa2;
}
//=======================================================
signed main()
{
n=read(),k=read();
for(int i=1;i<=3*n;i++) pre[i]=i;//初始化
for(int i=1;i<=k;i++)
{
int q=read(),x=read(),y=read();
if(x>n || y>n) {ans++;continue;}//如果输入的编号大于n,则必然为假话
if(q==1)//如果x,y为同类
{
if(find(x+n)==find(y) || find(x+2*n)==find(y)) {ans++;continue;}//查询x是否吃y,y是否吃x
join(x,y),join(x+n,y+n),join(x+2*n,y+2*n);//添加同类关系
}
if(q==2)//如果x是y的敌人
{
if(find(x)==find(y) || find(x+2*n)==find(y)){ans++;continue;}//查询x和y是否是同类,y是否吃x
join(x,y+2*n),join(x+n,y),join(x+2*n,y+n);//添加敌对关系
}
}
printf("%d",ans);
}
|
#ifndef MAP_H_
#define MAP_H_
#include "Figure.h"
#include <string>
#include <vector>
#include <iostream>
#include <fstream>
#include "livingFigure.h"
typedef std::string string;
class Map {
public:
Map(bool ignoreInvisibility);
Map(std::string filename);
virtual ~Map();
void addCollisionFigure(Figure *figure);
void addLadder(Figure *ladder);
void addDeadlyFigure(Figure*);
void addRenderFigure(Figure*);
void addFigure(unsigned char type, float x, float y, std::string name);
unsigned int getCollisionFiguresSize();
void moveCollisionFigureAtPosition(unsigned int pos, Point direction);
void scaleCollisionFigureAtPosition(unsigned int pos, float d);
unsigned int getLaddersSize();
void moveLadderAtPosition(unsigned int pos, Point direction);
void scaleLadderAtPosition(unsigned int pos, float d);
unsigned int getDeadlyFiguresSize();
void moveDeadlyFigureAtPosition(unsigned int pos, Point direction);
void scaleDeadlyFigureAtPosition(unsigned int pos, float d);
unsigned int getRenderFiguresSize();
void moveRenderFigureAtPosition(unsigned int pos, Point direction);
void scaleRenderFigureAtPosition(unsigned int pos, float d);
void render();
void collisionWithCollisionFigures(LivingFigure &player,Point direction, std::vector<Point> &mtd);
void collisionWithLadders(LivingFigure &player,Point direction, std::vector<Point> &mtd);
void collisionWithDeadlyFigures(LivingFigure &player,Point direction, std::vector<Point> &mtd);
void collisionWithRenderFigures(LivingFigure &player,Point direction, std::vector<Point> &mtd);
bool saveToFile(std::string filename);
void setPlayer(LivingFigure* player);
void spawnPlayer(bool b);
void renderPlayer();
void setPlayerSpawn(float x, float y);
void load(std::string filename);
private:
bool playerSpawned =false;
LivingFigure* player = NULL;
std::vector<Figure*>* renderFigures;
std::vector<Figure*>* collisionFigures;
std::vector<Figure*>* ladders;
std::vector<Figure*>* deadlyFigures;
float playerSpawnX = 0.0f;
float playerSpawnY = 0.0f;
bool ignoreInvisibility;
};
#endif /* MAP_H_ */
|
#pragma once
#ifdef __APPLE__
#include <SDL/SDL.h>
#else
#include <SDL.h>
#endif
#include "../Core.h"
namespace gfx {
SDL_Color getPixel (int x, int y, int width, int height, SDL_Surface* screen) {
SDL_Color color ;
Uint32 col = 0 ;
if ((x>=0) && (x<800) && (y>=0) && (y<600)) {
//determine position
char* pPosition=(char*)screen->pixels ;
//offset by y
pPosition+=(screen->pitch*y) ;
//offset by x
pPosition+=(screen->format->BytesPerPixel*x);
//copy pixel data
memcpy(&col, pPosition, screen->format->BytesPerPixel);
//convert color
SDL_GetRGB(col, screen->format, &color.r, &color.g, &color.b);
}
return ( color ) ;
}
void setPixel(int x, int y, Uint8 R, Uint8 G, Uint8 B, SDL_Surface* screen) {
if ((x>=0) && (x<800) && (y>=0) && (y<600))
{
/* Zamieniamy poszczególne składowe koloru na format koloru pixela */
Uint32 pixel = SDL_MapRGB(screen->format, R, G, B);
/* Pobieramy informacji ile bajtów zajmuje jeden pixel */
int bpp = screen->format->BytesPerPixel;
/* Obliczamy adres pixela */
Uint8 *p = (Uint8 *)screen->pixels + y * screen->pitch + x * bpp;
/* Ustawiamy wartość pixela, w zależności od formatu powierzchni*/
switch(bpp)
{
case 1: //8-bit
*p = pixel;
break;
case 2: //16-bit
*(Uint16 *)p = pixel;
break;
case 3: //24-bit
if(SDL_BYTEORDER == SDL_BIG_ENDIAN) {
p[0] = (pixel >> 16) & 0xff;
p[1] = (pixel >> 8) & 0xff;
p[2] = pixel & 0xff;
} else {
p[0] = pixel & 0xff;
p[1] = (pixel >> 8) & 0xff;
p[2] = (pixel >> 16) & 0xff;
}
break;
case 4: //32-bit
*(Uint32 *)p = pixel;
break;
}
/* update the screen (aka double buffering) */
}
}
/*
void loadBMP(char const* nazwa, int x, int y) {
SDL_Surface* bmp = SDL_LoadBMP(nazwa);
if (!bmp)
{
printf("Unable to load bitmap: %s\n", SDL_GetError());
}
else
{
SDL_Rect dstrect;
dstrect.x = x;
dstrect.y = y;
SDL_BlitSurface(bmp, 0, screen, &dstrect);
SDL_Flip(screen);
SDL_FreeSurface(bmp);
}
}
void clearScreen(Uint8 R, Uint8 G, Uint8 B) {
SDL_FillRect(screen, 0, SDL_MapRGB(screen->format, R, G, B));
SDL_Flip(screen);
}
*/
}
|
#include <iostream>
#include <queue>
#include <set>
#include <vector>
using namespace std;
int query(char t, int v) {
cout << t << " " << v + 1 << endl;
int res;
cin >> res;
return res - 1;
}
void answer(int v) {
cout << 'C' << " " << (v < 0 ? -1 : v + 1) << endl;
}
void solve() {
int n;
cin >> n;
vector<int> path[n];
for (int i = 0; i < n - 1; ++i) {
int u, v;
cin >> u >> v;
--u, --v;
path[u].push_back(v);
path[v].push_back(u);
}
int k[2];
set<int> x[2];
for (int i = 0; i < 2; ++i) {
cin >> k[i];
for (int j = 0; j < k[i]; ++j) {
int v;
cin >> v;
--v;
x[i].insert(v);
}
}
int r = query('B', *x[1].begin()); // 相手の方から適当に1個選んで投げる
// 幅優先探索で最初に当たったのがゲート
vector<bool> visited(n, false);
visited[r] = true;
queue<int> que;
que.push(r);
while (!que.empty()) {
int v = que.front();
que.pop();
if (x[0].count(v)) {
r = v;
break;
}
for (int sv : path[v]) {
if (visited[sv]) continue;
visited[sv] = true;
que.push(sv);
}
}
// rが共通の頂点か否か
if (x[1].count(query('A', r))) {
answer(r);
} else {
answer(-1);
}
}
int main() {
int Q;
cin >> Q;
for (int q = 0; q < Q; ++q) solve();
return 0;
}
|
/**
* @file kdtree.cpp
* Implementation of KDTree class.
*/
#include <utility>
#include <algorithm>
#include <cmath>
#include <stdlib.h>
#include <math.h>
using namespace std;
template <int Dim>
bool KDTree<Dim>::smallerDimVal(const Point<Dim>& first,
const Point<Dim>& second, int curDim) const
{
/**
* @todo Implement this function!
*/
// get first and second points that you are comparing
int valFirst = first[curDim];
int valSecond = second[curDim];
// compare the values
if (valFirst < valSecond){
return true;
}
else if (valFirst > valSecond){
return false;
}
// if they're equal, use < operator
else if (valFirst == valSecond){
if (first < second){
return true;
}
else {
return false;
}
}
return false;
}
template <int Dim>
bool KDTree<Dim>::shouldReplace(const Point<Dim>& target,
const Point<Dim>& currentBest,
const Point<Dim>& potential) const
{
/**
* @todo Implement this function!
*/
double currentDistance = 0;
double potentialDistance = 0;
// calculate currentBest's distance
for (int i = 0; i < Dim; i++){
currentDistance = currentDistance + pow(target[i] - currentBest[i], 2);
potentialDistance = potentialDistance + pow(target[i] - potential[i], 2);
}
currentDistance = sqrt(currentDistance);
potentialDistance = sqrt(potentialDistance);
// check if distances are equal
// if so, compare the points
// if distances are not equal
if (potentialDistance < currentDistance){
return true;
}
else if (currentDistance < potentialDistance){
return false;
}
else if (currentDistance == potentialDistance){
return potential < currentBest;
}
return false;
}
template <int Dim>
KDTree<Dim>::KDTree(const vector<Point<Dim>>& newPoints)
{
/**
* @todo Implement this function!
*/
vector<Point<Dim>> sorted = newPoints;
if (sorted.size() == 0){
root = NULL;
size = 0;
return;
}
else {
// vector<Point<Dim>> sorted = newPoints;
root = buildTree(sorted, 0, sorted.size()-1, 0);
}
}
template <int Dim>
typename KDTree<Dim>::KDTreeNode* KDTree<Dim>::buildTree(vector<Point<Dim>>& sorted, int start, int end, int counter){
// set the current dimension and increment our counter
if (start > end){
return NULL;
}
int curDim = counter % Dim;
counter++;
//cout << "BUILD TREE START AND END: " << start << " " << end << endl;
int m = (start+end)/2;
int median = quickSelect(sorted, start, end, m, curDim);
KDTreeNode* newNode = new KDTreeNode(sorted[median]);
// build left subtree
newNode->left = buildTree(sorted, start, median-1, counter);
// build right subtree
newNode->right = buildTree(sorted, median+1, end, counter);
return newNode;
}
template <int Dim>
int KDTree<Dim>::quickSelect(vector<Point<Dim>>& v, int start, int end, int k, int dimension){
// reached the end
if (start == end){
return start;
}
int pivotIndex = end;
if ((end - start + 1) != 0){
pivotIndex = start + (int)(rand() % (end - start + 1));
}
pivotIndex = partition(v, start, end, pivotIndex, dimension);
// int newLength = index - start + 1;
if (pivotIndex == k){
return pivotIndex;
}
else if (k < pivotIndex){
return quickSelect(v, start, pivotIndex - 1, k, dimension);
}
else {
return quickSelect(v, pivotIndex + 1, end, k, dimension);
}
}
template <int Dim>
int KDTree<Dim>::partition(vector<Point<Dim>>& v, int start, int end, int pivotIndex, int dimension){
//cout << pivotIndex << " " << dimension << " " << v.size() << " " << Dim << endl;
int pivotValue = v[pivotIndex][dimension];
// move pivot to end
swap(v[pivotIndex], v[end]);
// save the start index as a temp variable
int storeIndex = start;
for (int i = start; i < end; i++){
if (v[i][dimension] < pivotValue){
swap(v[storeIndex], v[i]);
storeIndex++;
}
}
// finalize pivot
swap(v[end], v[storeIndex]);
return storeIndex;
}
template <int Dim>
void KDTree<Dim>::destroy(KDTreeNode* node) {
if (node == NULL){
return;
}
// delete left and right subtrees
destroy(node->left);
destroy(node->right);
// do the deleting
delete node;
}
template <int Dim>
void KDTree<Dim>::copy(KDTreeNode *& thisRoot, KDTreeNode *& otherRoot) {
// base case
if (otherRoot == NULL){
thisRoot = NULL;
}
else {
thisRoot = newKDTreeNode(otherRoot->point);
// recurse for left and right subtrees
copy(thisRoot->left, otherRoot->left);
copy(thisRoot->right, otherRoot->right);
}
}
template <int Dim>
KDTree<Dim>::KDTree(const KDTree<Dim>& other) {
/**
* @todo Implement this function!
*/
copy(this->root, other->root);
}
template <int Dim>
const KDTree<Dim>& KDTree<Dim>::operator=(const KDTree<Dim>& rhs) {
/**
* @todo Implement this function!
*/
// if not already equal, destroy this and set this to rhs
if (this != &rhs){
destroy(this->root);
copy(this->root, rhs->root);
}
return *this;
}
template <int Dim>
KDTree<Dim>::~KDTree() {
/**
* @todo Implement this function!
*/
destroy(root);
}
template <int Dim>
Point<Dim> KDTree<Dim>::neighborHelper(KDTreeNode* currentNode, const Point<Dim>& query, int count) const{
// track which way we traverse
bool wentLeft = false;
// create currentBest point;
Point<Dim> currentBest;
// if we are still recursing deeper into the tree, increment count
int currentDim = 0;
currentDim = count % Dim;
count++;
// found the leaf
if (currentNode->left == NULL && currentNode->right == NULL){
if (shouldReplace(query, currentNode->point, root->point)){
currentBest = root->point;
}
else {
currentBest = currentNode->point;
}
return currentBest;
}
else {
// choose to recurse left or right subtree
// left
if (smallerDimVal(query, currentNode->point, currentDim)){
// check if NULL
if (currentNode->left == NULL){
wentLeft = false;
currentNode = currentNode->right;
currentBest = neighborHelper(currentNode, query, count);
}
else {
wentLeft = true;
currentNode = currentNode->left;
currentBest = neighborHelper(currentNode, query, count);
}
}
// right
else {
if (currentNode->right == NULL){
wentLeft = true;
currentNode = currentNode->left;
currentBest = neighborHelper(currentNode, query, count);
}
else {
wentLeft = false;
currentNode = currentNode->right;
currentBest = neighborHelper(currentNode, query, count);
}
}
}
//count--;
// once it's at the end leaf node
// calculate radius
currentDim = count % Dim;
if (currentBest == currentNode->point){
return currentBest;
}
double radius = getRadius(currentBest, query);
// double potential = getRadius(query, currentNode->point);
double potential = query[currentDim] - currentNode->point[currentDim];
if (potential < 0 ){
potential = currentNode->point[currentDim] - query[currentDim];
}
bool replace = shouldReplace(query, currentBest, currentNode->point);
if (potential == radius){
if (smallerDimVal(currentNode->point, currentBest, currentDim)){
radius = true;
}
}
if (potential < radius || replace){
if(replace)
currentBest = currentNode->point;
// now we have to check the other side of the node
if (wentLeft && (currentNode->right != NULL)){
currentNode = currentNode->right;
Point<Dim> consider = neighborHelper(currentNode, query, count);
if (shouldReplace(query, currentBest, consider)){
currentBest = consider;
}
}
else if (!wentLeft && (currentNode->left != NULL)){
currentNode = currentNode->left;
Point<Dim> consider = neighborHelper(currentNode, query, count);
if (shouldReplace(query, currentBest, consider)){
currentBest = consider;
}
}
}
return currentBest;
}
template <int Dim>
double KDTree<Dim>::getRadius(const Point<Dim>& first, const Point<Dim>& second) const{
double radius = 0;
for (int i = 0; i < Dim; i++){
radius = radius + pow(first[i] - second[i], 2);
}
return sqrt(radius);
}
template <int Dim>
Point<Dim> KDTree<Dim>::findNearestNeighbor(const Point<Dim>& query) const
{
/**
* @todo Implement this function!
*/
//printTree(cout);
Point<Dim> best = neighborHelper(root, query, 0);
return best;
// return Point<Dim>();
}
|
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#define N 100
/*
write a method to replace all spaces in a string with '%20'
my solution:
firstly,i thought how to make the movement least.but the program is to complicated.
so , I sacrificed the space,copyed all the chars in original to the temp array.and strcpy them back to original array.
*/
int my_func(char my_str[]){
int len = strlen(my_str);
char *p = (char *)malloc(sizeof(char)*len*N);
if(!p){
return -1;
}
int cur_pos = 0;
int flag = 0;
for(int i = 0; i < len ;i++){
if(my_str[i] != ' '){
if(flag){
flag = 0;
}
p[cur_pos] = my_str[i];
cur_pos++;
}
else{
if(!flag){
p[cur_pos++] = '%';
p[cur_pos++] = '2';
p[cur_pos++] = '0';
flag = 1;
}
}
}
p[cur_pos] = '\0';
strcpy(my_str,p);
return 1;
}
//int main(){
// char my_str[100];
// printf("please input the original data\n");
// gets(my_str);
//
// my_func(my_str);
// printf("this is the transfer data\n");
// printf("%s", my_str);
// printf("\n");
// return 0;
//}
|
#pragma once
#include <SFML/Audio.hpp>
class Music
{
public:
static sf::Music backgroundMusic;
static void playMusic();
};
|
#include<iostream>
#include <string>
using namespace std;
struct Tree
{
int num_pass;;
string surname;
Tree *left, *right;
} *root;
int kol = 0;
int i = 0;
int *data_num = new int[100];
string *name = new string[50];
Tree *Del_Info(Tree **root, int pas)
{
Tree *Del, *Prev_del, *T, *Prev_t;
Del = *root;
Prev_del = NULL;
while (Del != NULL && Del->num_pass != pas)
{
Prev_del = Del;
if (Del->num_pass > pas)
{
Del = Del->left;
}
else
{
Del = Del->right;
}
}
if (Del == NULL)
{
cout << "Данного элемента нет " << endl;
return *root;
}
if (Del->right == NULL)
{
T = Del->left;
}
else
{
if (Del->left == NULL)
{
T = Del->right;
}
else
{
Prev_t = Del; ////////
T = Del->left;
while (T->right != NULL)
{
Prev_t = T;
T = T->right;
}
if (Prev_t == Del)
{
T->right = Del->right;
}
else
{
T->right = Del->right;
Prev_t->right = T->left;
T->left = Prev_t;
//T->left = Del->left;
}
}
}
if (Del == *root)
{
*root = T;
}
else
{
if (Del->num_pass < Prev_del->num_pass)
{
Prev_del->left = T;
}
else
{
Prev_del->right = T;
}
}
delete Del;
return *root;
}
Tree *List(int pas, string sur)
{
Tree *t = new Tree;
t->num_pass = pas;
t->surname = sur;
t->left = t->right = NULL;
return t;
}
void Del_Tree(Tree **t)
{
if (*t != NULL)
{
Del_Tree(&(*t)->left);
Del_Tree(&((*t)->right));
delete *t;
}
}
void View_Tree(Tree *p, int level) {
string str;
if (p) {
View_Tree(p->right, level + 1); // Правое поддерево
for (int i = 0; i < level; i++) str = str + " ";
cout << str << p->num_pass << " " << p->surname << endl;
View_Tree(p->left, level + 1); // Левое поддерево
}
}
void creation(Tree **root, int pass, string surname)
{
Tree *prev = NULL, *t;
bool find = true;
t = *root;
while (t != NULL && find)
{
prev = t;
if (pass == t->num_pass)
{
find = false;
}
else
{
if (pass < t->num_pass)
{
t = t->left;
}
else
{
t = t->right;
}
}
}
if (find == true)
{
t = List(pass, surname);
if (pass < prev->num_pass)
{
prev->left = t;
}
else
{
prev->right = t;
}
}
}
void vie1(Tree *root)
{
if (root == NULL)
{
return;
}
cout << root->num_pass << "\t" << root->surname << endl;
vie1(root->left);
vie1(root->right);
}
void dlay_balance(Tree *root)
{
if (root == NULL)
{
return;
}
dlay_balance(root->left);
data_num[i] = root->num_pass;
name[i] = root->surname;
i++;
dlay_balance(root->right);
}
void vie2(Tree *root)
{
if (root == NULL)
{
return;
}
vie2(root->left);
cout << root->num_pass << "\t" << root->surname << endl;
vie2(root->right);
}
int kol6 = 0;
void task(Tree *root, char str)
{
if (root == NULL)
{
return;
}
if (root->surname[0] == str)
{
cout << root->surname << endl;
kol6++;
//return i;
}
task(root->left, str);
task(root->right, str);
return;
}
void vie3(Tree *root)
{
if (root == NULL)
{
return;
}
vie3(root->left);
vie3(root->right);
cout << root->num_pass << "\t" << root->surname << endl;
}
void view_1(Tree **root, int pass)
{
Tree *prev = NULL, *t;
bool find = true;
t = *root;
while (t != NULL && find)
{
prev = t;
if (pass == t->num_pass)
{
find = false;
cout << t->surname << "\t" << t->num_pass << endl;;
}
else
{
if (pass < t->num_pass)
{
t = t->left;
}
else
{
t = t->right;
}
}
}
}
void Make_Blns(Tree **p, int n, int k, int *a, string *b)
{
if (n == k)
{
*p = NULL;
return;
}
else
{
int m = (n + k) / 2;
*p = new Tree;
(*p)->num_pass = a[m];
(*p)->surname = b[m];
Make_Blns(&(*p)->left, n, m, a, b);
Make_Blns(&(*p)->right, m + 1, k, a, b);
}
}
int main()
{
setlocale(LC_ALL, "ru");
int pass1 = 1, pass2 = 2, pass3 = 3, pass4 = 4, pass5 = 5, pass6 = 6;
string sur1 = "Samoilov", sur2 = "Andreev", sur3 = "Kinevich", sur4 = "Gomofobov", sur5 = "Mohnatiy", sur6 = "Dlinniy";
root = List(pass1, sur1);
creation(&root, pass2, sur2);
creation(&root, pass3, sur3);
creation(&root, pass4, sur4);
creation(&root, pass5, sur5);
creation(&root, pass6, sur6);
menu:
cout << "1) Ввести новые данные+" << endl;
cout << "2) Вывести фамилию человека по номеру паспорта+" << endl;
cout << "3) Удалить человека с заданным номера поспорта+" << endl;
cout << "4) Сбалансировать дерево поиска+ " << endl;
cout << "5) Индивидуальное задание " << endl;
cout << "6) Выход+ " << endl;
cout << "7) Прямой, симметричный и обратный вывод+ " << endl;
int p;
cin >> p;
switch (p)
{
case 1:
{
int pass;
string surname;
cout << "\n Введите номер паспорта " << endl;
cin >> pass;
cout << "\n Введите фамилию " << endl;
cin >> surname;
creation(&root, pass, surname);
break;
}
case 2:
{
int pass;
cout << "\n Введите номер паспорта " << endl;
cin >> pass;
view_1(&root, pass);
break;
}
case 3:
{
int pass;
cout << "\n Введите номер паспорта " << endl;
cin >> pass;
Del_Info(&root, pass);
break;
}
case 4:
{
Tree *bal = new Tree;
dlay_balance(root);
Make_Blns(&bal, 0, i, data_num, name);
i = 0;
root = bal;
break;
}
case 5:
{
int kolvo = 0;
char a;
cout << "Введите букву, с которой начинается фамилия: " << endl;
cin >> a;
task(root, a);
cout << "Число подходящих фамилий: " << kol6 << endl;
kol6 = 0;
break;
}
case 6:
{
return 0;
break;
}
case 7:
{
cout << "-------------------ПРЯМОЙ ОБХОД-------------------------------------------------------------------" << "\n";
vie1(root);
cout << "-------------------СИММЕТРИЧНЫЙ ОБХОД------------------------------------------------------------" << "\n";
vie2(root);
cout << "-------------------ОБРАТНЫЙ ОБХОД----------------------------------------------------------------" << "\n";
vie3(root);
cout << "-------------------------------------------------------------------------------------------------" << "\n";
View_Tree(root, 0);
break;
}
}
goto menu;
system("pause");
//return 0;
}
|
// you can use includes, for example:
// #include <algorithm>
// you can write to stdout for debugging purposes, e.g.
// cout << "this is a debug message" << endl;
int solution(vector<int> &A) {
// write your code in C++14 (g++ 6.2.0)
double avg_2=0;
double avg_3=0;
double g_min=((double)A[A.size()-1]+(double)A[A.size()-2])/(double)2;
int min_pos=A.size()-2;
for (int i = A.size()-1; i>=2; i--){
avg_3=((double)A[i]+(double)A[i-1]+(double)A[i-2])/(double)3;
avg_2=((double)A[i]+(double)A[i-1])/(double)2;
if (g_min>=avg_3){
g_min = avg_3;
min_pos = i-2;
}
if (g_min>=avg_2){
g_min = avg_2;
min_pos = i-1;
}
}
avg_2=((double)A[1]+(double)A[0])/(double)2;
if (g_min>=avg_2){
g_min = avg_2;
min_pos = 0;
}
return min_pos;
}
|
#include <iostream>
#include <cstring>
using namespace std;
// Calculate number of set bits in number!
// time is O(no of bits)
int countSetBits(int n) {
int count = 0;
while(n>0) {
count+= (n&1);
n = n >> 1;
// cout << count;
}
return count;
}
// Here Time will be O(no of set bits) => Efficient.
// Also called n & n-1 hack!
int countSetBitsFast(int n) {
int count = 0;
while(n) {
n = n & (n-1);
count++;
}
return count;
}
// Extract the Ith bit of a number
int Ithbit(int n, int i) {
return (n & 1<<i)!=0?1:0;
}
//Set the Ith bit of a number
void setIthBit(int &n, int i) {
// n = (n | (int) 1<<i);
int mask = 1<<i;
n = (n | mask);
}
//Clear the ith bit of number to 0
void clearIthBit(int &n, int i) {
int mask = ~(1<<i);
n = ( n & mask);
}
//Filter the subsets
void filterChars( char *a, int m) {
// a = "abc" number = "5" , then output will be => a_c => ac
int i = 0;
while(m) {
(m & 1) ? cout << a[i] : cout << "";
i++;
m = m >> 1;
}
cout << endl;
}
void generateSubsets( char *a) {
// Generate a range of numbers from 0 to 2^n-1
int size = strlen(a);
int range = (1 << size) - 1;
for ( int i=0 ; i <= range ; i++ )
filterChars(a,i);
}
void unique2Elements( int *a, int n) {
int ans = 0;
//Range-based for loops work with arrays, but not with pointers.
//The issue here is that arrays is actually a pointer and not an array.
// for( int x:a )
// ans^=x;
for ( int i=0; i<n; i++) {
ans^=a[i];
}
//find the rightmost set bit in the answer!
int i = 0;
int temp = ans;
while(temp > 0) {
if(temp&1) {
break;
}
i++;
temp = temp >> 1;
}
int mask = 1<<i;
int firstNo = 0;
for( int i=0; i < n; i++ ) {
if((mask&a[i])!=0)
firstNo^=a[i];
}
int secondNo = ans^firstNo;
cout << firstNo << endl;
cout << secondNo << endl;
}
int main() {
int n,i;
// cin >> n;
// cin >> i;
// char a[100];
// cin >> a;
//For 2 Unique Elements
int a[] = { 1,3,5,6,3,2,1,2 };
n = sizeof(a)/sizeof( int );
// cout << Ithbit(n,i) << endl;
// cout << countSetBits(n)<< endl;
// cout << countSetBitsFast(n);
// setIthBit(n,i);
// cout << n << endl;
// clearIthBit(n,i);
// cout << n << endl;
// generateSubsets(a);
unique2Elements(a,n);
return 0;
}
// XOR Swapping - Faster than any multiplication and division
// a = 5, b = 7
// a = a^b => 5^7
// b = b^a => 7^5^7 => 5
// a = a^b => 5^7^5 => 7
|
/*********************************************************\
* Copyright (c) 2012-2018 The Unrimp Team
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software
* and associated documentation files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all copies or
* substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
* BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\*********************************************************/
//[-------------------------------------------------------]
//[ Includes ]
//[-------------------------------------------------------]
#include "Direct3D9Renderer/Buffer/BufferManager.h"
#include "Direct3D9Renderer/Buffer/IndirectBuffer.h"
#include "Direct3D9Renderer/Buffer/VertexBuffer.h"
#include "Direct3D9Renderer/Buffer/VertexArray.h"
#include "Direct3D9Renderer/Buffer/IndexBuffer.h"
#include "Direct3D9Renderer/Direct3D9Renderer.h"
#include <Renderer/IAllocator.h>
//[-------------------------------------------------------]
//[ Namespace ]
//[-------------------------------------------------------]
namespace Direct3D9Renderer
{
//[-------------------------------------------------------]
//[ Public methods ]
//[-------------------------------------------------------]
BufferManager::BufferManager(Direct3D9Renderer& direct3D9Renderer) :
IBufferManager(direct3D9Renderer)
{
// Nothing here
}
//[-------------------------------------------------------]
//[ Public virtual Renderer::IBufferManager methods ]
//[-------------------------------------------------------]
Renderer::IVertexBuffer* BufferManager::createVertexBuffer(uint32_t numberOfBytes, const void* data, Renderer::BufferUsage bufferUsage)
{
// TODO(co) Security checks
return RENDERER_NEW(getRenderer().getContext(), VertexBuffer)(static_cast<Direct3D9Renderer&>(getRenderer()), numberOfBytes, data, bufferUsage);
}
Renderer::IIndexBuffer* BufferManager::createIndexBuffer(uint32_t numberOfBytes, Renderer::IndexBufferFormat::Enum indexBufferFormat, const void* data, Renderer::BufferUsage bufferUsage)
{
// TODO(co) Security checks
return RENDERER_NEW(getRenderer().getContext(), IndexBuffer)(static_cast<Direct3D9Renderer&>(getRenderer()), numberOfBytes, indexBufferFormat, data, bufferUsage);
}
Renderer::IVertexArray* BufferManager::createVertexArray(const Renderer::VertexAttributes& vertexAttributes, uint32_t numberOfVertexBuffers, const Renderer::VertexArrayVertexBuffer* vertexBuffers, Renderer::IIndexBuffer* indexBuffer)
{
// TODO(co) Add security check: Is the given resource one of the currently used renderer?
return RENDERER_NEW(getRenderer().getContext(), VertexArray)(static_cast<Direct3D9Renderer&>(getRenderer()), vertexAttributes, numberOfVertexBuffers, vertexBuffers, static_cast<IndexBuffer*>(indexBuffer));
}
Renderer::IUniformBuffer* BufferManager::createUniformBuffer(uint32_t, const void*, Renderer::BufferUsage)
{
// Error! Direct3D 9 has no uniform buffer support.
return nullptr;
}
Renderer::ITextureBuffer* BufferManager::createTextureBuffer(uint32_t, Renderer::TextureFormat::Enum, const void*, Renderer::BufferUsage)
{
// Direct3D 9 has no texture buffer support
return nullptr;
}
Renderer::IIndirectBuffer* BufferManager::createIndirectBuffer(uint32_t numberOfBytes, const void* data, Renderer::BufferUsage)
{
return RENDERER_NEW(getRenderer().getContext(), IndirectBuffer)(static_cast<Direct3D9Renderer&>(getRenderer()), numberOfBytes, data);
}
//[-------------------------------------------------------]
//[ Protected virtual Renderer::RefCount methods ]
//[-------------------------------------------------------]
void BufferManager::selfDestruct()
{
RENDERER_DELETE(getRenderer().getContext(), BufferManager, this);
}
//[-------------------------------------------------------]
//[ Namespace ]
//[-------------------------------------------------------]
} // Direct3D9Renderer
|
/* XMRig
* Copyright (c) 2018-2021 SChernykh <https://github.com/SChernykh>
* Copyright (c) 2016-2021 XMRig <https://github.com/xmrig>, <support@xmrig.com>
*
* 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 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
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <algorithm>
#include <cinttypes>
#include <cstring>
#include <uv.h>
#include "core/config/Config.h"
#include "3rdparty/rapidjson/document.h"
#include "backend/cpu/Cpu.h"
#include "base/io/log/Log.h"
#include "base/kernel/interfaces/IJsonReader.h"
#include "base/net/dns/Dns.h"
#include "crypto/common/Assembly.h"
#ifdef XMRIG_ALGO_RANDOMX
# include "crypto/rx/RxConfig.h"
#endif
#ifdef XMRIG_FEATURE_OPENCL
# include "backend/opencl/OclConfig.h"
#endif
#ifdef XMRIG_FEATURE_CUDA
# include "backend/cuda/CudaConfig.h"
#endif
namespace xmrig {
constexpr static uint32_t kIdleTime = 60U;
const char *Config::kPauseOnBattery = "pause-on-battery";
const char *Config::kPauseOnActive = "pause-on-active";
#ifdef XMRIG_FEATURE_OPENCL
const char *Config::kOcl = "opencl";
#endif
#ifdef XMRIG_FEATURE_CUDA
const char *Config::kCuda = "cuda";
#endif
#if defined(XMRIG_FEATURE_NVML) || defined (XMRIG_FEATURE_ADL)
const char *Config::kHealthPrintTime = "health-print-time";
#endif
#ifdef XMRIG_FEATURE_DMI
const char *Config::kDMI = "dmi";
#endif
class ConfigPrivate
{
public:
bool pauseOnBattery = false;
CpuConfig cpu;
uint32_t idleTime = 0;
# ifdef XMRIG_ALGO_RANDOMX
RxConfig rx;
# endif
# ifdef XMRIG_FEATURE_OPENCL
OclConfig cl;
# endif
# ifdef XMRIG_FEATURE_CUDA
CudaConfig cuda;
# endif
# if defined(XMRIG_FEATURE_NVML) || defined (XMRIG_FEATURE_ADL)
uint32_t healthPrintTime = 60U;
# endif
# ifdef XMRIG_FEATURE_DMI
bool dmi = true;
# endif
void setIdleTime(const rapidjson::Value &value)
{
if (value.IsBool()) {
idleTime = value.GetBool() ? kIdleTime : 0U;
}
else if (value.IsUint()) {
idleTime = value.GetUint();
}
}
};
}
xmrig::Config::Config() :
d_ptr(new ConfigPrivate())
{
}
xmrig::Config::~Config()
{
delete d_ptr;
}
bool xmrig::Config::isPauseOnBattery() const
{
return d_ptr->pauseOnBattery;
}
const xmrig::CpuConfig &xmrig::Config::cpu() const
{
return d_ptr->cpu;
}
uint32_t xmrig::Config::idleTime() const
{
return d_ptr->idleTime * 1000U;
}
#ifdef XMRIG_FEATURE_OPENCL
const xmrig::OclConfig &xmrig::Config::cl() const
{
return d_ptr->cl;
}
#endif
#ifdef XMRIG_FEATURE_CUDA
const xmrig::CudaConfig &xmrig::Config::cuda() const
{
return d_ptr->cuda;
}
#endif
#ifdef XMRIG_ALGO_RANDOMX
const xmrig::RxConfig &xmrig::Config::rx() const
{
return d_ptr->rx;
}
#endif
#if defined(XMRIG_FEATURE_NVML) || defined (XMRIG_FEATURE_ADL)
uint32_t xmrig::Config::healthPrintTime() const
{
return d_ptr->healthPrintTime;
}
#endif
#ifdef XMRIG_FEATURE_DMI
bool xmrig::Config::isDMI() const
{
return d_ptr->dmi;
}
#endif
bool xmrig::Config::isShouldSave() const
{
if (!isAutoSave()) {
return false;
}
# ifdef XMRIG_FEATURE_OPENCL
if (cl().isShouldSave()) {
return true;
}
# endif
# ifdef XMRIG_FEATURE_CUDA
if (cuda().isShouldSave()) {
return true;
}
# endif
# ifdef XMRIG_FEATURE_BENCHMARK
if (m_benchmark.isNewBenchRun()) {
return true;
}
# endif
return (m_upgrade || cpu().isShouldSave());
}
bool xmrig::Config::read(const IJsonReader &reader, const char *fileName)
{
if (!BaseConfig::read(reader, fileName)) {
return false;
}
d_ptr->pauseOnBattery = reader.getBool(kPauseOnBattery, d_ptr->pauseOnBattery);
d_ptr->setIdleTime(reader.getValue(kPauseOnActive));
d_ptr->cpu.read(reader.getValue(CpuConfig::kField));
# ifdef XMRIG_ALGO_RANDOMX
if (!d_ptr->rx.read(reader.getValue(RxConfig::kField))) {
m_upgrade = true;
}
# endif
# ifdef XMRIG_FEATURE_OPENCL
if (!pools().isBenchmark()) {
d_ptr->cl.read(reader.getValue(kOcl));
}
# endif
# ifdef XMRIG_FEATURE_CUDA
if (!pools().isBenchmark()) {
d_ptr->cuda.read(reader.getValue(kCuda));
}
# endif
# if defined(XMRIG_FEATURE_NVML) || defined (XMRIG_FEATURE_ADL)
d_ptr->healthPrintTime = reader.getUint(kHealthPrintTime, d_ptr->healthPrintTime);
# endif
# ifdef XMRIG_FEATURE_BENCHMARK
m_benchmark.read(reader.getValue(kAlgoPerf));
# endif
# ifdef XMRIG_FEATURE_DMI
d_ptr->dmi = reader.getBool(kDMI, d_ptr->dmi);
# endif
return true;
}
void xmrig::Config::getJSON(rapidjson::Document &doc) const
{
using namespace rapidjson;
doc.SetObject();
auto &allocator = doc.GetAllocator();
Value api(kObjectType);
api.AddMember(StringRef(kApiId), m_apiId.toJSON(), allocator);
api.AddMember(StringRef(kApiWorkerId), m_apiWorkerId.toJSON(), allocator);
doc.AddMember(StringRef(kApi), api, allocator);
doc.AddMember(StringRef(kHttp), m_http.toJSON(doc), allocator);
doc.AddMember(StringRef(kAutosave), isAutoSave(), allocator);
doc.AddMember(StringRef(kBackground), isBackground(), allocator);
doc.AddMember(StringRef(kColors), Log::isColors(), allocator);
doc.AddMember(StringRef(kTitle), title().toJSON(), allocator);
# ifdef XMRIG_ALGO_RANDOMX
doc.AddMember(StringRef(RxConfig::kField), rx().toJSON(doc), allocator);
# endif
doc.AddMember(StringRef(CpuConfig::kField), cpu().toJSON(doc), allocator);
# ifdef XMRIG_FEATURE_OPENCL
doc.AddMember(StringRef(kOcl), cl().toJSON(doc), allocator);
# endif
# ifdef XMRIG_FEATURE_CUDA
doc.AddMember(StringRef(kCuda), cuda().toJSON(doc), allocator);
# endif
doc.AddMember(StringRef(kLogFile), m_logFile.toJSON(), allocator);
m_pools.toJSON(doc, doc);
doc.AddMember(StringRef(kPrintTime), printTime(), allocator);
# if defined(XMRIG_FEATURE_NVML) || defined (XMRIG_FEATURE_ADL)
doc.AddMember(StringRef(kHealthPrintTime), healthPrintTime(), allocator);
# endif
# ifdef XMRIG_FEATURE_DMI
doc.AddMember(StringRef(kDMI), isDMI(), allocator);
# endif
doc.AddMember(StringRef(kSyslog), isSyslog(), allocator);
# ifdef XMRIG_FEATURE_TLS
doc.AddMember(StringRef(kTls), m_tls.toJSON(doc), allocator);
# endif
doc.AddMember(StringRef(DnsConfig::kField), Dns::config().toJSON(doc), allocator);
doc.AddMember(StringRef(kUserAgent), m_userAgent.toJSON(), allocator);
doc.AddMember(StringRef(kVerbose), Log::verbose(), allocator);
doc.AddMember(StringRef(kWatch), m_watch, allocator);
# ifdef XMRIG_FEATURE_BENCHMARK
doc.AddMember(StringRef(kRebenchAlgo), isRebenchAlgo(), allocator);
doc.AddMember(StringRef(kBenchAlgoTime), benchAlgoTime(), allocator);
doc.AddMember(StringRef(kAlgoPerf), m_benchmark.toJSON(doc), allocator);
# endif
doc.AddMember(StringRef(kPauseOnBattery), isPauseOnBattery(), allocator);
doc.AddMember(StringRef(kPauseOnActive), (d_ptr->idleTime == 0U || d_ptr->idleTime == kIdleTime) ? Value(isPauseOnActive()) : Value(d_ptr->idleTime), allocator);
}
|
/* -*- Mode: c++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4; c-file-style: "stroustrup" -*-
*
* Copyright (C) 2011 Opera Software ASA. All rights reserved.
*
* This file is part of the Opera web browser.
* It may not be distributed under any circumstances.
*/
#include "core/pch.h"
#ifdef MEDIA_HTML_SUPPORT
#include "modules/doc/frm_doc.h"
#include "modules/logdoc/htm_elm.h"
#include "modules/media/mediatrack.h"
#include "modules/media/mediaelement.h"
#include "modules/media/src/webvttparser.h"
#include "modules/media/src/trackdisplaystate.h"
#include "modules/unicode/unicode.h"
#include "modules/unicode/unicode_stringiterator.h"
#include "modules/util/OpRegion.h"
/** List of cues for "normal" storage. */
class MediaTrackCueStorageList : public MediaTrackCueList
{
public:
virtual ~MediaTrackCueStorageList() { Reset(); }
virtual MediaTrackCue* GetItem(unsigned idx) { return m_cues.Get(idx); }
virtual unsigned GetLength() { return m_cues.GetCount(); }
virtual MediaTrackCue* GetCueById(const StringWithLength& id_needle);
virtual OP_STATUS Insert(MediaTrackCue* cue);
virtual OP_STATUS Update(MediaTrackCue* cue);
virtual void RemoveByItem(MediaTrackCue* cue) { m_cues.RemoveByItem(cue); }
void Reset();
private:
OpVector<MediaTrackCue> m_cues;
};
/** List of cues for keeping the active list.
*
* This is a 'derived' list, and does not own the cues it allows
* access to. The actual list is owned by a MediaTrack object. If the
* backing object is destroyed it should sever the link from this
* object to itself.
*/
class MediaTrackCueActiveList : public MediaTrackCueList
{
public:
MediaTrackCueActiveList(List<MediaTrackCue>* active_cues) : m_cues(active_cues) {}
virtual MediaTrackCue* GetItem(unsigned idx);
virtual unsigned GetLength() { return m_cues ? m_cues->Cardinal() : 0; }
virtual MediaTrackCue* GetCueById(const StringWithLength& id_needle);
void Reset() { m_cues = NULL; }
private:
List<MediaTrackCue>* m_cues;
};
void
MediaDOMItem::DetachOrDestroy(MediaDOMItem* domitem)
{
if (!domitem)
return;
if (domitem->m_dom_object)
domitem->m_dom_object = NULL;
else
OP_DELETE(domitem);
}
MediaTrackKind::MediaTrackKind(const uni_char* kind)
{
state = SUBTITLES;
if (!kind)
return;
size_t kind_len = uni_strlen(kind);
if (kind_len == 8)
{
if (uni_strni_eq_lower_ascii(kind, UNI_L("captions"), 8))
state = CAPTIONS;
else if (uni_strni_eq_lower_ascii(kind, UNI_L("chapters"), 8))
state = CHAPTERS;
else if (uni_strni_eq_lower_ascii(kind, UNI_L("metadata"), 8))
state = METADATA;
}
else if (kind_len == 12 && uni_strni_eq_lower_ascii(kind, UNI_L("descriptions"), 12))
state = DESCRIPTIONS;
}
const uni_char*
MediaTrackKind::DOMValue() const
{
const uni_char* str;
switch (state)
{
case CAPTIONS:
str = UNI_L("captions");
break;
case DESCRIPTIONS:
str = UNI_L("descriptions");
break;
case CHAPTERS:
str = UNI_L("chapters");
break;
case METADATA:
str = UNI_L("metadata");
break;
default:
OP_ASSERT(!"Unknown state");
case SUBTITLES:
str = UNI_L("subtitles");
break;
}
return str;
}
TrackElement::~TrackElement()
{
OP_DELETE(m_loader);
ES_ThreadListener::Remove();
MediaDOMItem::DetachOrDestroy(m_track);
}
OP_STATUS
TrackElement::Load(FramesDocument* doc, ES_Thread* thread /* = NULL */)
{
if (m_track->GetMode() == TRACK_MODE_DISABLED)
return OpStatus::OK;
HTML_Element* element = m_track->GetHtmlElement();
HEListElm* hle = element->GetHEListElmForInline(TRACK_INLINE);
if (hle)
return OpStatus::OK;
// On first load there won't be a previous URL to stop loading and
// hence no TrackLoader.
if (m_loader)
{
doc->StopLoadingInline(m_loader->GetURL(), element, TRACK_INLINE);
OP_DELETE(m_loader);
m_loader = NULL;
}
// If associated with a MediaElement, notify it about the change.
if (MediaElement* media_element = m_track->GetMediaElement())
media_element->HandleTrackChange(m_track, MediaElement::TRACK_CLEARED, thread);
// Remove any old cues from the track.
m_track->Clear();
SetReadyState(TRACK_STATE_LOADING);
// Run the asynchronous steps by finding the "most interrupted"
// thread (if any) and continuing after it has finished.
if (thread)
{
ES_ThreadListener::Remove();
thread->GetRunningRootThread()->AddListener(this);
return OpStatus::OK;
}
URL* url = element->GetUrlAttr(Markup::HA_SRC, NS_IDX_HTML, doc->GetLogicalDocument());
if (!url || url->IsEmpty())
{
SendErrorEvent(doc);
return OpStatus::OK;
}
m_track->SetScriptFromSrcLang();
m_loader = OP_NEW(TrackLoader, (*url, this, m_track));
if (!m_loader)
{
SendErrorEvent(doc);
return OpStatus::ERR_NO_MEMORY;
}
element->RemoveSpecialAttribute(Markup::LOGA_INLINE_ONLOAD_SENT, SpecialNs::NS_LOGDOC);
OP_LOAD_INLINE_STATUS status = doc->LoadInline(url, element, TRACK_INLINE);
OP_ASSERT(status != LoadInlineStatus::USE_LOADED);
if (OpStatus::IsError(status))
{
doc->StopLoadingInline(m_loader->GetURL(), element, TRACK_INLINE);
OP_DELETE(m_loader);
m_loader = NULL;
SendErrorEvent(doc);
}
return status;
}
OP_STATUS
TrackElement::HandleAttributeChange(FramesDocument* frm_doc, HTML_Element* element,
int attr, ES_Thread* thread)
{
OP_ASSERT(element->Type() == Markup::HTE_TRACK);
OP_ASSERT(!m_track || m_track->GetHtmlElement() == element);
if (attr == Markup::HA_SRC)
{
// If 'src' changes but we don't actually have a track yet we
// can ignore the change. The track will be created (and
// loading started) either via a change in 'mode' or by adding
// the <track> element to a media element.
if (!m_track)
return OpStatus::OK;
return Load(frm_doc, thread);
}
return OpStatus::OK;
}
void
TrackElement::LoadingProgress(HEListElm* hle)
{
OP_ASSERT(hle->HElm() == m_track->GetHtmlElement());
m_loader->HandleData(hle);
}
void
TrackElement::LoadingRedirected(HEListElm* hle)
{
OP_ASSERT(hle->HElm() == m_track->GetHtmlElement());
m_loader->HandleRedirect(hle);
}
void
TrackElement::LoadingStopped(HEListElm* hle)
{
OP_ASSERT(hle->HElm() == m_track->GetHtmlElement());
m_loader->HandleData(hle);
}
/* virtual */ OP_STATUS
TrackElement::Signal(ES_Thread* thread, ES_ThreadSignal signal)
{
ES_ThreadListener::Remove();
if (signal == ES_SIGNAL_FINISHED || signal == ES_SIGNAL_FAILED)
if (ES_ThreadScheduler* scheduler = thread->GetScheduler())
if (FramesDocument* doc = scheduler->GetFramesDocument())
return Load(doc);
return OpStatus::OK;
}
/* virtual */ void
TrackElement::OnTrackLoaded(HEListElm* hle, MediaTrack* track)
{
OP_ASSERT(hle);
OP_ASSERT(m_track == track);
hle->OnLoad();
// FIXME: do the state transition in the same task that fires load
SetReadyState(TRACK_STATE_LOADED);
if (MediaElement* media_element = m_track->GetMediaElement())
media_element->HandleTrackChange(m_track, MediaElement::TRACK_READY);
}
void
TrackElement::SendErrorEvent(FramesDocument* doc)
{
m_track->GetHtmlElement()->SendEvent(ONERROR, doc);
SetReadyState(TRACK_STATE_ERROR);
}
/* virtual */ void
TrackElement::OnTrackLoadError(HEListElm* hle, MediaTrack* track)
{
OP_ASSERT(hle);
OP_ASSERT(m_track == track);
hle->SendOnError();
// FIXME: do the state transition in the same task that fires error
SetReadyState(TRACK_STATE_ERROR);
}
/* static */ OP_STATUS
TrackElement::EnsureTrack(HTML_Element* element)
{
OP_ASSERT(element);
OP_ASSERT(element->IsMatchingType(Markup::HTE_TRACK, NS_HTML));
if (m_track)
{
OP_ASSERT(m_track->GetHtmlElement() == element);
return OpStatus::OK;
}
return MediaTrack::Create(m_track, element);
}
/* virtual */ OP_STATUS
TrackElement::CreateCopy(ComplexAttr** copy_to)
{
TrackElement* elm_copy = OP_NEW(TrackElement, ());
if (!elm_copy)
return OpStatus::ERR_NO_MEMORY;
*copy_to = elm_copy;
return OpStatus::OK;
}
/* virtual */ void
TrackElement::OnDelete(FramesDocument* document)
{
if (MediaElement* media_element = m_track->GetMediaElement())
media_element->NotifyTrackRemoved(GetElm());
}
/* virtual */ void
TrackElement::OnRemove(FramesDocument* document)
{
// Only signal a removal if we have been detached from our parent
// (which should be a <video>/<audio>).
if (GetElm()->ParentActual() == NULL)
OnDelete(document);
}
/* static */ OP_STATUS
MediaTrack::Create(MediaTrack*& track, HTML_Element* track_element /* = NULL */)
{
track = OP_NEW(MediaTrack, (track_element));
if (!track)
return OpStatus::ERR_NO_MEMORY;
track->m_cuelist = OP_NEW(MediaTrackCueStorageList, ());
track->m_active_cuelist = OP_NEW(MediaTrackCueActiveList, (&track->m_active_cues));
if (!track->m_cuelist || !track->m_active_cuelist)
{
OP_DELETE(track);
track = NULL;
return OpStatus::ERR_NO_MEMORY;
}
return OpStatus::OK;
}
/* static */ OP_STATUS
MediaTrack::DOMCreate(MediaTrack*& track, const uni_char* kind, const uni_char* label,
const uni_char* srclang)
{
RETURN_IF_ERROR(Create(track));
// Expect these to never be NULL (empty string if not specified)
OP_ASSERT(label && srclang);
track->m_kind = UniSetNewStr(kind);
track->m_label = UniSetNewStr(label);
track->m_srclang = UniSetNewStr(srclang);
// Since none of the input string ought to be NULL, this should
// check for failed allocations
if (!track->m_kind || !track->m_label || !track->m_srclang)
{
OP_DELETE(track);
track = NULL;
return OpStatus::ERR_NO_MEMORY;
}
track->SetMode(TRACK_MODE_HIDDEN);
return OpStatus::OK;
}
const uni_char*
MediaTrack::DOMGetMode() const
{
switch (m_mode)
{
case TRACK_MODE_DISABLED:
return UNI_L("disabled");
case TRACK_MODE_HIDDEN:
return UNI_L("hidden");
case TRACK_MODE_SHOWING:
case TRACK_MODE_SHOWING_BY_DEFAULT:
return UNI_L("showing");
}
return NULL;
}
void
MediaTrack::DOMSetMode(DOM_Environment* environment,
const uni_char* str, unsigned str_length)
{
MediaTrackMode mode = m_mode;
if (str_length == 8 && uni_strncmp(str, "disabled", 8) == 0)
mode = TRACK_MODE_DISABLED;
else if (str_length == 6 && uni_strncmp(str, "hidden", 6) == 0)
mode = TRACK_MODE_HIDDEN;
else if (str_length == 7 && uni_strncmp(str, "showing", 7) == 0)
mode = TRACK_MODE_SHOWING;
if (mode == GetMode())
return;
MediaTrackMode prev_mode = m_mode;
SetMode(mode);
ES_Thread* current_thread = environment->GetCurrentScriptThread();
if (TrackElement* track_element = GetTrackElement())
RAISE_IF_MEMORY_ERROR(track_element->Load(environment->GetFramesDocument(),
current_thread));
HandleModeTransition(prev_mode, current_thread);
}
void
MediaTrack::HandleModeTransition(MediaTrackMode prev_mode, ES_Thread* thread)
{
// If the track is not associated with a MediaElement no action
// needs to be taken.
MediaElement* media_element = GetMediaElement();
if (!media_element)
return;
// If the mode was set to 'showing' and the mode was previously
// 'showing-by-default' then nothing needs to be done.
if (prev_mode == TRACK_MODE_SHOWING_BY_DEFAULT && m_mode == TRACK_MODE_SHOWING)
return;
//
// Modelling the mode-transitions as a FSM we get:
//
// +----------+ connect +--------+ show +----------+
// | |--------------->| |--------->| |
// | DISABLED | | HIDDEN | | SHOWING* |
// | |<---------------| |<---------| |
// +----------+ disconnect +--------+ hide +----------+
//
// (self-transitions excluded)
//
MediaElement::TrackChangeReason reason;
if (prev_mode > m_mode)
{
if (m_mode == TRACK_MODE_DISABLED)
// If the mode transitioned into DISABLED we will tear
// down the track regardless of the previous mode.
reason = MediaElement::TRACK_CLEARED;
else
// If the track was not disabled, hiding any active cues
// is enough.
reason = MediaElement::TRACK_VISIBILITY;
}
else
{
// Mode equalities have been filtered out.
OP_ASSERT(prev_mode < m_mode);
if (prev_mode == TRACK_MODE_DISABLED)
// If the track transitioned out of DISABLED, we will
// signal that it's ready, which will handle changes in
// visibility too.
reason = MediaElement::TRACK_READY;
else
// If the track was already enabled, showing any active
// cues is enough.
reason = MediaElement::TRACK_VISIBILITY;
}
media_element->HandleTrackChange(this, reason, thread);
// If the track was disabled, remove any cues from the active list.
if (m_mode == TRACK_MODE_DISABLED)
Deactivate();
}
TrackElement*
MediaTrack::GetTrackElement() const
{
return m_element ? m_element->GetTrackElement() : NULL;
}
MediaElement*
MediaTrack::GetMediaElement() const
{
return m_associated_element ? m_associated_element->GetMediaElement() : NULL;
}
int
MediaTrack::GetListIndex()
{
if (MediaElement* media_element = GetMediaElement())
return media_element->GetTrackListPosition(this);
return -1;
}
void
MediaTrack::AssociateWith(HTML_Element* html_element)
{
OP_ASSERT(html_element);
OP_ASSERT(html_element->GetMediaElement() != NULL);
m_associated_element = html_element;
if (TrackElement* track_element = GetTrackElement())
track_element->SetElm(m_element);
}
void
MediaTrack::ResetAssociation()
{
m_associated_element = NULL;
if (TrackElement* track_element = GetTrackElement())
track_element->Reset();
}
OP_STATUS
MediaTrack::AddParsedCue(MediaTrackCue* cue)
{
RETURN_IF_ERROR(m_cuelist->Insert(cue));
cue->SetOrder(m_current_cue_order_no++);
cue->SetOwnerTrack(this);
return OpStatus::OK;
}
OP_STATUS
MediaTrack::DOMAddCue(DOM_Environment* environment,
MediaTrackCue* cue, DOM_Object* domcue)
{
OP_ASSERT(cue);
OP_ASSERT(cue->GetOwnerTrack() == NULL);
OP_ASSERT(cue->GetDOMObject() == NULL);
RETURN_IF_ERROR(m_cuelist->Insert(cue));
cue->SetOrder(m_current_cue_order_no++);
cue->SetOwnerTrack(this);
cue->SetDOMObject(domcue);
if (MediaElement* media_element = GetMediaElement())
media_element->HandleCueChange(cue, MediaElement::CUE_ADDED,
environment->GetCurrentScriptThread());
return OpStatus::OK;
}
void
MediaTrack::DOMRemoveCue(DOM_Environment* environment, MediaTrackCue* cue)
{
OP_ASSERT(cue);
OP_ASSERT(cue->GetOwnerTrack() == this);
if (MediaElement* media_element = GetMediaElement())
media_element->HandleCueChange(cue, MediaElement::CUE_REMOVED,
environment->GetCurrentScriptThread());
m_cuelist->RemoveByItem(cue);
// Make sure the cue is no longer in the active list.
cue->Deactivate();
// Disassociate the cue with this track.
cue->SetOwnerTrack(NULL);
// Detach the DOM object (transfer ownership to the DOM object).
cue->SetDOMObject(NULL);
}
void
MediaTrack::SetScriptFromSrcLang()
{
const uni_char* srclang = GetLanguage();
if (srclang && *srclang)
m_script = WritingSystem::FromLanguageCode(srclang);
else
m_script = WritingSystem::Unknown;
}
void
MediaTrack::Deactivate()
{
m_state.next_cue_index = 0;
m_state.pending_seek = false;
m_active_cues.RemoveAll();
m_pending_cues.RemoveAll();
}
void
MediaTrack::Clear()
{
Deactivate();
if (m_cuelist)
m_cuelist->Reset();
}
MediaTrack::~MediaTrack()
{
m_active_cues.RemoveAll();
m_pending_cues.RemoveAll();
if (m_active_cuelist)
m_active_cuelist->Reset();
MediaDOMItem::DetachOrDestroy(m_cuelist);
MediaDOMItem::DetachOrDestroy(m_active_cuelist);
OP_DELETEA(m_kind);
OP_DELETEA(m_label);
OP_DELETEA(m_srclang);
}
const uni_char*
MediaTrack::GetKindAsString() const
{
if (m_element)
return MediaTrackKind(m_element->GetStringAttr(Markup::HA_KIND)).DOMValue();
return m_kind;
}
const uni_char*
MediaTrack::GetLabelAsString() const
{
if (m_element)
return m_element->GetStringAttr(Markup::HA_LABEL);
return m_label;
}
const uni_char*
MediaTrack::GetLanguage() const
{
if (m_element)
return m_element->GetStringAttr(Markup::HA_SRCLANG);
return m_srclang;
}
MediaTrackCueList*
MediaTrack::GetCueList() const
{
return m_cuelist;
}
MediaTrackCueList*
MediaTrack::GetActiveCueList() const
{
return m_active_cuelist;
}
OP_STATUS
MediaTrack::UpdateActive(TrackUpdateState& tustate,
bool seeking, double current_time)
{
if (seeking || m_state.pending_seek)
{
m_pending_cues.RemoveAll();
return ResetSweep(tustate, current_time);
}
else
{
if (!m_pending_cues.Empty())
ProcessPendingCues(tustate, current_time);
return PartitionSweep(tustate, current_time);
}
}
OP_STATUS
MediaTrack::ResetSweep(TrackUpdateState& tustate, double current_time)
{
m_state.next_cue_index = 0;
m_state.pending_seek = false;
unsigned prev_event_count = tustate.EventCount();
// The time window was reset and is thus empty. No cues should be
// considered 'missed' in this case.
// Go through the 'active' set and remove the cues that start
// after the new position while keeping the cues that straddles
// the current time.
for (MediaTrackCue* cue = m_active_cues.First(); cue; cue = cue->Suc())
// If an active cue no longer straddles the current time it has ended.
if (!cue->IsActiveAt(current_time))
RETURN_IF_ERROR(tustate.Ended(cue));
// Collect all cues that have started, and avoid adding cues that
// are in the current 'active' set.
while (m_state.next_cue_index < m_cuelist->GetLength())
{
MediaTrackCue* cue = m_cuelist->GetItem(m_state.next_cue_index);
if (!cue->StartsBefore(current_time))
break;
// Cues that were in the active set are processed above.
if (!cue->IsActive() && cue->EndsAfter(current_time))
// Started but not ended, and not in the 'active' set =>
// put in started list.
RETURN_IF_ERROR(tustate.Started(cue));
m_state.next_cue_index++;
}
m_state.has_cue_changes = tustate.EventCount() != prev_event_count;
return OpStatus::OK;
}
OP_STATUS
MediaTrack::PartitionSweep(TrackUpdateState& tustate, double current_time)
{
unsigned prev_event_count = tustate.EventCount();
// Go through cues starting from next_cue_index and add cues that
// start within this sweep interval.
while (m_state.next_cue_index < m_cuelist->GetLength())
{
MediaTrackCue* cue = m_cuelist->GetItem(m_state.next_cue_index);
if (!cue->StartsBefore(current_time))
break;
// If the cue has already ended it is to be considered
// 'missed'.
if (!cue->EndsAfter(current_time))
RETURN_IF_ERROR(tustate.Missed(cue));
else
RETURN_IF_ERROR(tustate.Started(cue));
m_state.next_cue_index++;
}
// Go through the 'active' set and remove the cues that will end
// within the current time window.
for (MediaTrackCue* cue = m_active_cues.First(); cue; cue = cue->Suc())
if (!cue->EndsAfter(current_time))
RETURN_IF_ERROR(tustate.Ended(cue));
m_state.has_cue_changes = tustate.EventCount() != prev_event_count;
return OpStatus::OK;
}
OP_STATUS
MediaTrack::ProcessPendingCues(TrackUpdateState& tustate, double current_time)
{
// If the sweep index is pointing at the first cue there is no
// work to be done (no cue can have been inserted before the sweep
// index).
if (m_state.next_cue_index == 0)
{
m_pending_cues.RemoveAll();
return OpStatus::OK;
}
unsigned prev_event_count = tustate.EventCount();
List<MediaTrackCue> pending_activation;
while (MediaTrackCue* cue = m_pending_cues.First())
{
cue->Out();
if (!cue->IsActiveAt(current_time))
continue;
// Emit (enter) event.
OP_STATUS status = tustate.Started(cue);
if (OpStatus::IsError(status))
{
m_pending_cues.RemoveAll();
pending_activation.RemoveAll();
return status;
}
cue->Into(&pending_activation);
}
m_state.has_cue_changes = tustate.EventCount() != prev_event_count;
// Move the sweep index past active, pending and ended cues.
while (m_state.next_cue_index < m_cuelist->GetLength())
{
MediaTrackCue* cue = m_cuelist->GetItem(m_state.next_cue_index);
if (!(cue->IsActive() || pending_activation.HasLink(cue) ||
!cue->EndsAfter(current_time)))
break;
m_state.next_cue_index++;
}
pending_activation.RemoveAll();
return OpStatus::OK;
}
void
MediaTrack::ActivateCue(MediaTrackCue* cue)
{
OP_ASSERT(cue->GetOwnerTrack() == this);
// Insert the cue in the correct order in the list. In general
// it's assumed that newly activated cues will go at the end of
// the active list. During out-of-order activations - like cues
// added via DOM when the timeline is running - could however
// require sorting.
for (MediaTrackCue* candidate = m_active_cues.Last();
candidate; candidate = candidate->Pred())
if (MediaTrackCue::IntraTrackOrder(candidate, cue) < 0)
{
cue->Follow(candidate);
return;
}
cue->IntoStart(&m_active_cues);
}
double
MediaTrack::NextCueStartTime() const
{
if (m_state.next_cue_index < m_cuelist->GetLength())
return m_cuelist->GetItem(m_state.next_cue_index)->GetStartTime();
return op_nan(NULL);
}
double
MediaTrack::NextCueEndTime() const
{
double next_end = op_nan(NULL);
for (MediaTrackCue* cue = m_active_cues.First(); cue; cue = cue->Suc())
next_end = MediaTrackCue::MinTimestamp(next_end, cue->GetEndTime());
return next_end;
}
MediaTrackList::~MediaTrackList()
{
for (unsigned i = 0; i < m_dom_tracks.GetCount(); i++)
DetachOrDestroy(m_dom_tracks.Get(i));
}
MediaTrack*
MediaTrackList::GetTrackAt(unsigned idx) const
{
unsigned tree_track_count = m_tree_tracks.GetCount();
if (idx < tree_track_count)
return m_tree_tracks.Get(idx);
idx -= tree_track_count;
if (idx < m_dom_tracks.GetCount())
return m_dom_tracks.Get(idx);
return NULL;
}
MediaTrack*
MediaTrackList::GetTrackByElement(HTML_Element* element) const
{
for (unsigned idx = 0; idx < m_tree_tracks.GetCount(); idx++)
{
MediaTrack* track = m_tree_tracks.Get(idx);
if (track->GetHtmlElement() == element)
return track;
}
return NULL;
}
OP_STATUS
MediaTrackList::AddTrack(MediaTrack* track)
{
if (HTML_Element* track_element = track->GetHtmlElement())
{
unsigned candidate_idx = m_tree_tracks.GetCount();
while (candidate_idx)
{
MediaTrack* candidate_track = m_tree_tracks.Get(candidate_idx - 1);
if (candidate_track->GetHtmlElement()->Precedes(track_element))
break;
candidate_idx--;
}
return m_tree_tracks.Insert(candidate_idx, track);
}
else
{
return m_dom_tracks.Add(track);
}
}
void
MediaTrackList::RemoveTrack(MediaTrack* track)
{
OpVector<MediaTrack>* sub_collection;
if (track->GetHtmlElement())
sub_collection = &m_tree_tracks;
else
sub_collection = &m_dom_tracks;
OpStatus::Ignore(sub_collection->RemoveByItem(track));
}
void
MediaTrackList::ReleaseDOMTracks()
{
for (unsigned i = 0; i < m_dom_tracks.GetCount(); i++)
m_dom_tracks.Get(i)->ResetAssociation();
}
/* static */ OP_STATUS
MediaTrackCue::DOMCreate(MediaTrackCue*& cue,
double start_time, double end_time,
const StringWithLength& text)
{
OpAutoPtr<MediaTrackCue> new_cue(OP_NEW(MediaTrackCue, ()));
if (!new_cue.get())
return OpStatus::ERR_NO_MEMORY;
RETURN_IF_ERROR(new_cue->SetText(text));
cue = new_cue.release();
cue->SetStartTime(start_time);
cue->SetEndTime(end_time);
return OpStatus::OK;
}
MediaElement*
MediaTrackCue::GetMediaElement() const
{
return m_track ? m_track->GetMediaElement() : NULL;
}
OP_STATUS
MediaTrackCue::DOMSetText(DOM_Environment* environment,
const StringWithLength& cue_text)
{
RETURN_IF_ERROR(SetText(cue_text));
// If the cue text has not yet been parsed, then be lazy and do
// nothing more.
if (!m_cue_nodes)
return OpStatus::OK;
// Remove the cue nodes.
OP_DELETE(m_cue_nodes);
m_cue_nodes = NULL;
// If this cue is not active, then we can wait with the recreation
// of the nodes until we need them.
if (!IsActive())
return OpStatus::OK;
// Reparse (treating OOM as hard error).
RETURN_IF_ERROR(EnsureCueNodes());
// Signal the MediaElement that the cue layout has top be redone
// since the cue rendering fragment changed.
if (MediaElement* media_element = GetMediaElement())
media_element->HandleCueChange(this, MediaElement::CUE_CONTENT_CHANGED,
environment->GetCurrentScriptThread());
return OpStatus::OK;
}
void
MediaTrackCue::DOMSetStartTime(DOM_Environment* environment, double start_time)
{
if (m_start_time == start_time)
return;
SetStartTime(start_time);
if (!m_track)
return;
OP_ASSERT(m_track->GetCueList());
// Update the position in the hosting cue list.
m_track->GetCueList()->Update(this);
// Signal the MediaElement.
if (MediaElement* media_element = GetMediaElement())
media_element->HandleCueChange(this, MediaElement::CUE_TIME_CHANGED,
environment->GetCurrentScriptThread());
}
void
MediaTrackCue::DOMSetEndTime(DOM_Environment* environment, double end_time)
{
if (m_end_time == end_time)
return;
SetEndTime(end_time);
if (!m_track)
return;
OP_ASSERT(m_track->GetCueList());
// Update the position in the hosting cue list.
m_track->GetCueList()->Update(this);
// Signal the MediaElement.
if (MediaElement* media_element = GetMediaElement())
media_element->HandleCueChange(this, MediaElement::CUE_TIME_CHANGED,
environment->GetCurrentScriptThread());
}
#define DEFINE_CUE_DOM_WRAPPER(METHOD, TYPE, ARG, MEMBER) \
void MediaTrackCue::DOM##METHOD(DOM_Environment* environment, TYPE ARG) \
{ \
if (MEMBER == ARG) \
return; \
METHOD(ARG); \
if (!m_track) \
return; \
if (MediaElement* media_element = GetMediaElement()) \
media_element->HandleCueChange(this, MediaElement::CUE_LAYOUT_CHANGED, \
environment->GetCurrentScriptThread()); \
}
DEFINE_CUE_DOM_WRAPPER(SetDirection, MediaTrackCueDirection, dir, GetDirection())
DEFINE_CUE_DOM_WRAPPER(SetSnapToLines, bool, snap_to_lines, static_cast<bool>(m_snap_to_lines))
DEFINE_CUE_DOM_WRAPPER(SetTextPosition, unsigned int, text_pos, m_text_pos)
DEFINE_CUE_DOM_WRAPPER(SetSize, unsigned int, size, m_size)
DEFINE_CUE_DOM_WRAPPER(SetAlignment, MediaTrackCueAlignment, align, GetAlignment())
#undef DEFINE_CUE_DOM_WRAPPER
void
MediaTrackCue::DOMSetLinePosition(DOM_Environment* environment, int line_pos)
{
if (m_line_pos == line_pos && !IsLinePositionAuto())
return;
SetLinePosition(line_pos);
if (!m_track)
return;
if (MediaElement* media_element = GetMediaElement())
media_element->HandleCueChange(this, MediaElement::CUE_LAYOUT_CHANGED,
environment->GetCurrentScriptThread());
}
OP_STATUS MediaTrackCue::DOMGetAsHTML(HLDocProfile* hld_profile, HTML_Element* root)
{
RETURN_IF_ERROR(EnsureCueNodes());
return m_cue_nodes->CloneSubtreeForDOM(hld_profile, root, NS_IDX_HTML);
}
int
MediaTrackCue::GetComputedLinePosition() const
{
if (!IsLinePositionAuto())
return GetLinePosition();
if (!GetSnapToLines())
return 100;
if (MediaElement* media_element = GetMediaElement())
return -(media_element->GetVisualTrackPosition(GetOwnerTrack()) + 1);
return -1;
}
bool
MediaTrackCue::IsActive() const
{
return m_track && m_track->HasActiveCue(this);
}
void
MediaTrackCue::Activate()
{
OP_ASSERT(m_track);
m_track->ActivateCue(this);
}
WVTT_Node*
MediaTrackCue::GetNextTimestamp(WVTT_Node* start)
{
double previous_ts = m_start_time;
if (start)
{
// If we start on a timestamp node it is assumed to be valid.
if (start->Type() == WVTT_TIMESTAMP)
previous_ts = start->GetTimestamp();
start = start->Next();
}
WVTT_Node* iter = start;
while (iter)
{
if (iter->Type() == WVTT_TIMESTAMP)
{
double ts = iter->GetTimestamp();
// Is the timestamp valid?
if (ts > previous_ts && ts < m_end_time)
break;
}
iter = iter->Next();
}
return iter;
}
OP_STATUS MediaTrackCue::EnsureCueNodes()
{
if (!m_cue_nodes)
{
WebVTT_Parser cue_parser;
m_cue_nodes = cue_parser.ParseCueText(m_text.string, m_text.length);
if (!m_cue_nodes)
return OpStatus::ERR_NO_MEMORY;
}
return OpStatus::OK;
}
/* static */ OP_STATUS
MediaTrackCue::SetNonEmptyString(StringWithLength& dst, const StringWithLength& src)
{
OP_DELETEA(dst.string);
dst.string = UniSetNewStrN(src.length > 0 ? src.string : UNI_L(""), src.length);
if (dst.string)
{
dst.length = src.length;
return OpStatus::OK;
}
else
{
dst.length = 0;
return OpStatus::ERR_NO_MEMORY;
}
}
MediaTrackCue::~MediaTrackCue()
{
OP_DELETE(m_cue_nodes);
OP_DELETEA(const_cast<uni_char*>(m_identifier.string));
OP_DELETEA(const_cast<uni_char*>(m_text.string));
}
/* static */ int
MediaTrackCue::InterTrackOrder(const MediaTrackCue* a, const MediaTrackCue* b)
{
MediaTrack* a_track = a->GetOwnerTrack();
MediaTrack* b_track = b->GetOwnerTrack();
if (a_track != b_track)
{
OP_ASSERT(a_track && b_track);
return a_track->GetListIndex() - b_track->GetListIndex();
}
return IntraTrackOrder(a, b);
}
/* static */ int
MediaTrackCue::IntraTrackOrder(const MediaTrackCue* a, const MediaTrackCue* b)
{
// http://www.whatwg.org/html#text-track-cue-order
//
// "within each group [group == track] cues must be sorted by
// their start time, earliest first; ..."
if (a->m_start_time != b->m_start_time)
{
if (a->m_start_time > b->m_start_time)
return 1;
return -1;
}
// "then, any cues with the same start time must be sorted by
// their end time, latest first; ..."
if (a->m_end_time != b->m_end_time)
{
if (a->m_end_time > b->m_end_time)
return -1;
return 1;
}
// "and finally, any cues with identical end times must be sorted
// in the order they were created ..."
if (a->m_order < b->m_order)
return -1;
OP_ASSERT(a == b || a->m_order > b->m_order);
return a == b ? 0 : 1;
}
static BidiCategory
ResolveBiDiParagraphLevel(WVTT_Node* node)
{
// Walk the text of the cue, until we find the first non-weak
// codepoint (excluding embeds or overrides). Expect this to
// terminate fairly quickly in general. This will not correctly
// handle surrogate pairs that straddle text nodes - although it
// ought to not matter much in practice.
while (node)
{
switch (node->Type())
{
case WVTT_RT:
// Ruby text and descendants should not be considered.
node = node->NextSibling();
break;
case WVTT_TEXT:
{
UnicodeStringIterator iter(node->GetText());
while (!iter.IsAtEnd())
{
BidiCategory bidicat = Unicode::GetBidiCategory(iter.At());
if (bidicat == BIDI_L || bidicat == BIDI_R || bidicat == BIDI_AL)
return bidicat == BIDI_AL ? BIDI_R : bidicat;
// If a paragraph separator (BiDi class B) is encountered
// before the first strong character the resulting level is
// 0 - i.e. even / left-to-right.
if (bidicat == BIDI_B)
return BIDI_L;
iter.Next();
}
}
// fall through
default:
node = node->Next();
}
}
return BIDI_L;
}
WritingSystem::Script
MediaCueDisplayState::GetScript() const
{
OP_ASSERT(m_cue);
if (MediaTrack* track = m_cue->GetOwnerTrack())
return track->GetScript();
return WritingSystem::Unknown;
}
CSSValue
MediaCueDisplayState::GetAlignment() const
{
CSSValue css_text_align;
switch (m_cue->GetAlignment())
{
case CUE_ALIGNMENT_START:
css_text_align = IsRTL() ? CSS_VALUE_right : CSS_VALUE_left;
break;
case CUE_ALIGNMENT_END:
css_text_align = IsRTL() ? CSS_VALUE_left : CSS_VALUE_right;
break;
default:
OP_ASSERT(!"Unexpected cue alignment value.");
case CUE_ALIGNMENT_MIDDLE:
css_text_align = CSS_VALUE_center;
break;
}
return css_text_align;
}
// http://dev.w3.org/html5/webvtt/#webvtt-cue-text-rendering-rules
void
MediaCueDisplayState::CalculateDefaultPosition(int viewport_width, int viewport_height)
{
// Step 10.2, 10.3
BidiCategory bidi_category = ResolveBiDiParagraphLevel(m_cue->GetCueNodes());
m_direction = bidi_category == BIDI_L ? CSS_VALUE_ltr : CSS_VALUE_rtl;
// Step 10.4
// Ignoring. Covers block-flow which is related to writing
// direction/mode. We're only handling the horizontal cases.
int text_pos = m_cue->GetTextPosition();
int max_cue_size;
// Step 10.5
MediaTrackCueAlignment cue_align = m_cue->GetAlignment();
switch (cue_align)
{
case CUE_ALIGNMENT_START:
max_cue_size = 100 - text_pos;
break;
case CUE_ALIGNMENT_END:
max_cue_size = text_pos;
break;
default:
OP_ASSERT(!"Unexpected cue alignment value.");
case CUE_ALIGNMENT_MIDDLE:
int s = text_pos <= 50 ? text_pos : 100 - text_pos;
max_cue_size = s * 2;
break;
}
if (m_direction == CSS_VALUE_rtl &&
(cue_align == CUE_ALIGNMENT_START || cue_align == CUE_ALIGNMENT_END))
{
// Cue is RTL, so swap start and end.
max_cue_size = 100 - max_cue_size;
}
// Step 10.6
int cue_size = MIN(static_cast<int>(m_cue->GetSize()), max_cue_size);
// Step 10.7
// "size vw"
m_pos_rect.width = (cue_size * viewport_width + 50) / 100;
m_pos_rect.height = 0;
// Step 10.8
if (m_direction == CSS_VALUE_rtl)
// Cue is RTL, so reverse the position.
text_pos = 100 - text_pos;
int x_pos;
switch (m_cue->GetAlignment())
{
case CUE_ALIGNMENT_START:
x_pos = 2 * text_pos;
break;
case CUE_ALIGNMENT_END:
x_pos = 2 * (text_pos - cue_size);
break;
default:
OP_ASSERT(!"Unexpected cue alignment value.");
case CUE_ALIGNMENT_MIDDLE:
x_pos = 2 * text_pos - cue_size;
break;
}
OP_ASSERT(x_pos >= 0 && x_pos <= 200);
// Step 10.9
int y_pos;
if (m_cue->GetSnapToLines())
y_pos = 0;
else
y_pos = m_cue->GetLinePosition();
OP_ASSERT(y_pos >= 0 && y_pos <= 100);
// Step 10.10
// "x-position vw", "y-position vh"
m_pos_rect.x = (x_pos * viewport_width + 100) / 200;
m_pos_rect.y = (y_pos * viewport_height + 50) / 100;
// Compute the default font-size - this should be 5vh, but the
// lack of support for 'vh', and the lack of a proper(?)
// containing-block...
m_computed_fontsize = viewport_height * 0.05f;
}
bool
MediaCueDisplayState::IsOverlapping(List<MediaCueDisplayState>& output) const
{
// This cue should not be in output right now.
OP_ASSERT(!output.HasLink(const_cast<MediaCueDisplayState*>(this)));
for (MediaCueDisplayState* cuestate = output.First();
cuestate; cuestate = cuestate->Suc())
{
if (cuestate->m_pos_rect.Intersecting(m_pos_rect))
return true;
}
return false;
}
void
MediaCueDisplayState::UpdatePosition(List<MediaCueDisplayState>& output,
const OpRect& video_area)
{
// Step 10.12
// Skip the following if there are no "line boxes" for the cue.
// Step 10.13
if (m_cue->GetSnapToLines())
{
// Step 10.13.1
int step = m_computed_first_line_height;
// Step 10.13.2
if (step == 0)
return;
// Step 10.13.3
int line_pos = m_cue->GetComputedLinePosition();
// Step 10.13.5
int pos = step * line_pos;
// Step 10.13.7
if (line_pos < 0)
{
pos += video_area.height;
step = -step;
}
// Step 10.13.8
// NOTE: Currently assuming that "all boxes" will be
// positioned relative to the cue root, and thus adjusting the
// bounding box will be the same as adjusting "all boxes".
m_pos_rect.y += pos;
// Step 10.13.9
OpRect default_pos = m_pos_rect;
// Step 10.13.10
bool switched = false;
// Note: The fallback position concept has been suggested in
// https://www.w3.org/Bugs/Public/show_bug.cgi?id=17483 but is
// not in the spec. The added steps are labeled "fallback."
OpRect fallback_pos;
while (true)
{
// Step 10.13.11
if (!IsOverlapping(output))
{
if (IsEnclosed(video_area))
break;
// fallback
OpRect prev = fallback_pos;
prev.IntersectWith(video_area);
OpRect cand = m_pos_rect;
cand.IntersectWith(video_area);
if (cand.width * cand.height > prev.width * prev.height)
fallback_pos = m_pos_rect;
}
// Step 10.13.12
if (m_pos_rect.Intersecting(video_area))
{
// Step 10.13.13
m_pos_rect.y += step;
// Step 10.13.14
}
else
{
// Step 10.13.16
if (switched)
{
// fallback
if (!fallback_pos.IsEmpty())
m_pos_rect = fallback_pos;
break;
}
// Step 10.13.15
m_pos_rect = default_pos;
// Step 10.13.17
step = -step;
// Step 10.13.18
switched = true;
}
}
}
else
{
// Note: "else branch" of 10.13, i.e. the numbering overlaps
// with the above, but the steps are different.
// Step 10.13.1
int pos_x = m_cue->GetTextPosition();
int pos_y = m_cue->GetLinePosition();
if (m_direction == CSS_VALUE_rtl)
pos_x = 100 - pos_x;
// Step 10.13.2
int video_anchor_x = pos_x * video_area.width / 100;
int video_anchor_y = pos_y * video_area.height / 100;
m_pos_rect.x = video_anchor_x - pos_x * m_pos_rect.width / 100;
m_pos_rect.y = video_anchor_y - pos_y * m_pos_rect.height / 100;
// Step 10.13.3
if (IsOverlapping(output) || !IsEnclosed(video_area))
{
// Step 10.13.4
OpRect new_position;
if (FindPosition(output, video_area, new_position))
m_pos_rect = new_position;
// else: Step 10.13.5
}
}
// Step 10.14 - done positioning
// Remove "line boxes" that do not fit inside the video area.
}
static bool
PositionIsBetter(double dist, const OpPoint& pos,
double curr_dist, const OpPoint& curr_pos)
{
if (dist < curr_dist)
return true;
// "If there are multiple such positions that are equidistant from
// their current position, use the highest one amongst them; if
// there are several at that height, then use the leftmost one
// amongst them."
if (dist == curr_dist)
{
if (pos.y < curr_pos.y)
return true;
if (pos.y == curr_pos.y && pos.x < curr_pos.x)
return true;
}
return false;
}
bool
MediaCueDisplayState::FindPosition(List<MediaCueDisplayState>& output, const OpRect& video_area,
OpRect& out_position) const
{
// "If there is a position to which the boxes in boxes can be moved
// while maintaining the relative positions of the boxes in boxes
// to each other such that none of the boxes in boxes would
// overlap any of the boxes in output, and all the boxes in output
// would be within the video's rendering area, then move the boxes
// in boxes to the closest such position to their current
// position, and then jump to the step labeled done positioning
// below. If there are multiple such positions that are
// equidistant from their current position, use the highest one
// amongst them; if there are several at that height, then use the
// leftmost one amongst them."
// We try to implement the above in approx. the following way:
//
// Q = input cue area.
//
// 1) Construct a set of points containing all the valid positions
// for the top-left corner of Q.
// a) Add the video area to the set.
// b) For each cue C in output:
// I) Remove the area of C.
// II) Remove the area resulting from sweeping the left and
// top sides of C with Q.
//
// 2) If the set is empty, there is no position exist to which Q
// can be moved - terminate.
//
// 3) Find the closest point in the set to which Q can be moved.
//
// Inset the video area on the bottom and right edges.
OpRect search_area = video_area;
search_area.width -= m_pos_rect.width - 1;
search_area.height -= m_pos_rect.height - 1;
// Does not fit at all.
if (search_area.IsEmpty())
return false;
// Start with the computed search area - this is the initial
// point set.
OpRegion allowed_points;
if (!allowed_points.IncludeRect(search_area))
return false;
// For each cue in output, remove all points from the point set
// where 'rect' cannot be positioned.
for (MediaCueDisplayState* cuestate = output.First();
cuestate; cuestate = cuestate->Suc())
{
OpRect r = cuestate->GetRect();
// Expand 'r' to the left and top to remove any positions at
// which 'rect' would overlap.
r.x -= m_pos_rect.width - 1;
r.y -= m_pos_rect.height - 1;
r.width += m_pos_rect.width - 1;
r.height += m_pos_rect.height - 1;
if (!allowed_points.RemoveRect(r))
return false;
}
// The region now only contains points where rect could be
// positioned without overlapping any of the cues currently in
// output. To find the best solution iterate the region and
// compute the shortest distance for each area/point set.
// Try to reduce the number of sub-areas/point sets that we need
// to consider.
allowed_points.CoalesceRects();
OpRegionIterator iter = allowed_points.GetIterator();
if (!iter.First())
// The set is empty.
return false;
// Track the currently shortest move/distance (Euclidean distance).
double best_distance = search_area.width + search_area.height;
out_position = m_pos_rect;
do
{
const OpRect& set = iter.GetRect();
// Compute the distance from the original position of
// 'rect' and to the closest point in the current
// (sub)set.
OpPoint closest = m_pos_rect.TopLeft();
if (closest.x >= set.Right())
closest.x = set.Right() - 1;
else if (closest.x < set.Left())
closest.x = set.Left();
if (closest.y >= set.Bottom())
closest.y = set.Bottom() - 1;
else if (closest.y < set.Top())
closest.y = set.Top();
OP_ASSERT(set.Contains(closest));
double dx = closest.x - m_pos_rect.x;
double dy = closest.y - m_pos_rect.y;
double distance = op_sqrt(dx * dx + dy * dy);
if (PositionIsBetter(distance, closest,
best_distance, out_position.TopLeft()))
{
best_distance = distance;
out_position.x = closest.x;
out_position.y = closest.y;
}
} while (iter.Next());
return true;
}
OP_STATUS
MediaCueDisplayState::Attach(FramesDocument* frm_doc, HTML_Element* track_root)
{
OP_ASSERT(m_fragment.GetElm() == NULL);
HLDocProfile* hld_profile = frm_doc->GetHLDocProfile();
if (!hld_profile)
return OpStatus::ERR;
RETURN_IF_ERROR(CreateRenderingFragment(hld_profile, track_root));
m_current_ts_pred.Reset();
return m_fragment->UnderSafe(frm_doc, track_root);
}
void
MediaCueDisplayState::Detach(FramesDocument* frm_doc)
{
if (HTML_Element* cue_root = m_fragment.GetElm())
{
m_fragment.Reset();
cue_root->Remove(frm_doc, TRUE);
#ifdef DEBUG_ENABLE_OPASSERT
BOOL can_free =
#endif // DEBUG_ENABLE_OPASSERT
cue_root->Clean(frm_doc);
// There should never be any references to these fragments
// from the scripting environment.
OP_ASSERT(can_free);
cue_root->Free(frm_doc);
}
}
void
MediaCueDisplayState::EnsureAttachment(HTML_Element* track_root)
{
OP_ASSERT(track_root && track_root->IsMatchingType(Markup::MEDE_VIDEO_TRACKS, NS_HTML));
OP_ASSERT(m_fragment.GetElm() != NULL);
if (m_fragment.GetElm()->Parent() != track_root)
{
// Reparent the fragment to the actual track root.
m_fragment->Out();
m_fragment->Under(track_root);
}
}
void
MediaCueDisplayState::MarkDirty(FramesDocument* frm_doc)
{
m_fragment->MarkDirty(frm_doc);
}
void
MediaCueDisplayState::MarkPropsDirty(FramesDocument* frm_doc)
{
m_fragment->MarkPropsDirty(frm_doc);
}
HTML_Element*
MediaCueDisplayState::GetTrackRoot() const
{
return m_fragment->Parent();
}
OP_STATUS
MediaCueDisplayState::CreateRenderingFragment(HLDocProfile* hld_profile, HTML_Element* track_root)
{
HTML_Element* cue_root = NEW_HTML_Element();
// 'id' + terminator
HtmlAttrEntry attr_list[2]; // ARRAY OK 2011-12-20 fs
HtmlAttrEntry* attrs = NULL;
const StringWithLength& cue_identifier = m_cue->GetIdentifier();
if (cue_identifier.length > 0)
{
attr_list[0].attr = Markup::HA_ID;
attr_list[0].ns_idx = NS_IDX_HTML;
attr_list[0].value = cue_identifier.string;
attr_list[0].value_len = cue_identifier.length;
attrs = attr_list;
}
OP_STATUS status = OpStatus::ERR_NO_MEMORY;
if (!cue_root ||
OpStatus::IsError(status = cue_root->Construct(hld_profile, NS_IDX_CUE, Markup::CUEE_ROOT, attrs)))
{
DELETE_HTML_Element(cue_root);
return status;
}
m_cue->GetCueNodes()->CloneSubtreeForDOM(hld_profile, cue_root, NS_IDX_CUE);
// Mark the elements as HE_INSERTED_BY_TRACK (CloneSubtreeForDOM
// does not for obvious reasons).
for (HTML_Element* iter = cue_root; iter; iter = iter->Next())
iter->SetInserted(HE_INSERTED_BY_TRACK);
cue_root->SetSpecialAttr(Markup::MEDA_COMPLEX_CUE_REFERENCE, ITEM_TYPE_COMPLEX,
static_cast<void*>(this), FALSE,
SpecialNs::NS_MEDIA);
m_fragment.SetElm(cue_root);
return OpStatus::OK;
}
void
MediaCueDisplayState::UpdateTimestamps(WVTT_Node* start, double current_time)
{
if (!start)
start = m_cue->GetCueNodes();
WVTT_Node* timestamp = m_cue->GetNextTimestamp(start);
while (timestamp)
{
if (timestamp->GetTimestamp() > current_time)
break;
m_curr_timestamp = timestamp;
timestamp = m_cue->GetNextTimestamp(timestamp);
}
m_next_timestamp = timestamp;
}
void
MediaCueDisplayState::ResetIntraCueState(double current_time, FramesDocument* doc)
{
OP_ASSERT(m_cue);
m_curr_timestamp = NULL;
// Set the current timestamp to the first timestamp in the
// fragment which has a time that is less than or equal to the
// current time.
UpdateTimestamps(m_curr_timestamp, current_time);
ResetCueFragment(doc);
// If no current or next timestamp was found, just leave the
// fragment in the reset state ('present').
if (m_curr_timestamp || m_next_timestamp)
UpdateCueFragment(doc, NULL);
}
// Find the first element in pre-order that isn't in the past.
HTML_Element*
MediaCueDisplayState::GetIntraBoundary()
{
HTML_Element* cue_root = m_fragment.GetElm();
if (!cue_root)
return NULL;
OP_ASSERT(cue_root->IsMatchingType(Markup::CUEE_ROOT, NS_CUE));
OP_ASSERT(cue_root->FirstChild());
if (m_current_ts_pred.GetElm())
return m_current_ts_pred.GetElm()->Next();
// No reference to the last timestamp predecessor - find it.
HTML_Element* iter = cue_root->FirstChild();
HTML_Element* stop = cue_root->NextSibling();
// No intra-boundary if the cue is empty.
if (!iter)
return NULL;
// Skip the background box if it's there.
if (iter->IsMatchingType(Markup::CUEE_BACKGROUND, NS_CUE))
iter = iter->FirstChild();
while (iter != stop)
{
if (!iter->IsText())
if (GetTimeState(iter) > CUE_TIMESTATE_PAST)
return iter;
iter = iter->Next();
}
return NULL;
}
static inline void
SetTimeState(HTML_Element* element, MediaCueTimeState state)
{
element->SetNumAttr(Markup::MEDA_CUE_TIMESTATE, state, NS_IDX_CUE);
}
static inline void
ResetTimeState(HTML_Element* element)
{
element->RemoveAttribute(Markup::MEDA_CUE_TIMESTATE, NS_IDX_CUE);
}
// Clear the intra-state in the cue fragment.
void
MediaCueDisplayState::ResetCueFragment(FramesDocument* doc)
{
HTML_Element* cue_root = m_fragment.GetElm();
if (!cue_root)
{
OP_ASSERT(m_current_ts_pred.GetElm() == NULL);
return;
}
// If there is a "future" cue, set timestate to 'future' -
// otherwise just set it to 'present' (the default value).
bool set_to_future = m_next_timestamp != NULL;
HTML_Element* stop = cue_root->NextSibling();
HTML_Element* iter = cue_root->FirstChild();
// Do nothing if the cue is empty.
if (!iter)
return;
// Skip the background box if it's there.
if (iter->IsMatchingType(Markup::CUEE_BACKGROUND, NS_CUE))
iter = iter->FirstChild();
// Set or reset time-state on relevant elements.
while (iter != stop)
{
if (!iter->IsText())
{
if (set_to_future)
SetTimeState(iter, CUE_TIMESTATE_FUTURE);
else
ResetTimeState(iter);
}
iter = iter->Next();
}
m_fragment->MarkPropsDirty(doc, 0, TRUE);
m_current_ts_pred.Reset();
}
/** Simple helper for synchronized walking of the different cue fragments. */
class TimeStateUpdater
{
public:
TimeStateUpdater(HTML_Element* start, HTML_Element* stop,
WVTT_Node* node) :
m_current_node(node),
m_prev(start),
m_current(start),
m_stop(stop) {}
void UpdateTo(FramesDocument* doc, WVTT_Node* target_timestamp,
MediaCueTimeState timestate);
bool DidUpdate() const { return m_prev != m_current; }
HTML_Element* GetLastVisited() const { return m_prev; }
#ifdef _DEBUG
void VerifyTimeStateBefore(HTML_Element* cue_root);
void VerifyTimeStateAfter(WVTT_Node* next_ts);
#endif // _DEBUG
private:
WVTT_Node* m_current_node;
HTML_Element* m_prev;
HTML_Element* m_current;
HTML_Element* m_stop;
};
void
TimeStateUpdater::UpdateTo(FramesDocument* doc,
WVTT_Node* target_timestamp,
MediaCueTimeState timestate)
{
OP_ASSERT(!m_current_node && m_current == m_stop ||
m_current_node && m_current_node->Type() != WVTT_ROOT);
while (m_current != m_stop)
{
OP_ASSERT(m_current_node);
// Timestamps not included in the HTML representation.
if (m_current_node->Type() == WVTT_TIMESTAMP)
{
// Have we reached the target timestamp?
if (m_current_node == target_timestamp)
break;
}
else
{
if (!m_current->IsText())
{
SetTimeState(m_current, timestate);
m_current->MarkPropsDirty(doc);
}
m_prev = m_current;
m_current = m_current->Next();
}
m_current_node = m_current_node->Next();
}
}
#ifdef _DEBUG
void
TimeStateUpdater::VerifyTimeStateBefore(HTML_Element* cue_root)
{
HTML_Element* current = m_current->Prev();
while (current != cue_root)
{
// Filter out the 'background box' by only checking elements
// inserted-by-track.
if (!current->IsText() && current->GetInserted() == HE_INSERTED_BY_TRACK)
OP_ASSERT(MediaCueDisplayState::GetTimeState(current) == CUE_TIMESTATE_PAST);
current = current->Prev();
}
}
void
TimeStateUpdater::VerifyTimeStateAfter(WVTT_Node* next_ts)
{
// If there's no 'next timestamp' we expect 'present' - else 'future'.
MediaCueTimeState expected =
next_ts != NULL ? CUE_TIMESTATE_FUTURE : CUE_TIMESTATE_PRESENT;
HTML_Element* current = m_current;
while (current != m_stop)
{
if (!current->IsText())
OP_ASSERT(MediaCueDisplayState::GetTimeState(current) == expected);
current = current->Next();
}
}
#endif // _DEBUG
// Update the cue fragment between the previous timestamp (prev_ts),
// the current timestamp (m_curr_timestamp) and the next timestamp
// (m_next_timestamp). The part of the fragment between prev_ts and
// m_curr_timestamp will be marked as 'past' (matched by :past) and
// the part between m_curr_timestamp and m_next_timestamp will be
// marked as 'present' (matched neither of :past or :future). The
// remaining elements are assumed to have been marked correctly by
// ResetCueFragment.
//
// The caller is expected to have updated the timestamps as necessary.
//
// Exploits the isomorphism between the WVTT_Node tree and the cue fragment.
void
MediaCueDisplayState::UpdateCueFragment(FramesDocument* doc, WVTT_Node* prev_ts)
{
// Get the last marked element.
HTML_Element* current = GetIntraBoundary();
if (!current)
return;
if (!prev_ts)
prev_ts = m_cue->GetCueNodes();
TimeStateUpdater updater(current, m_fragment->NextSibling(), prev_ts->Next());
#ifdef _DEBUG
// Verify that the "head" has the timestate we'd expect ('past').
updater.VerifyTimeStateBefore(m_fragment.GetElm());
#endif // _DEBUG
// Update range from previous to current timestamp to 'past'.
if (m_curr_timestamp)
updater.UpdateTo(doc, m_curr_timestamp, CUE_TIMESTATE_PAST);
// Don't update the current timestamp element reference if we
// didn't move in the rendering fragment. This happens for
// instance when the first element in the cue fragment is a
// timestamp node.
if (updater.DidUpdate())
m_current_ts_pred.SetElm(updater.GetLastVisited());
// Update range from current to next timestamp to 'present'.
// (m_next_timestamp is allowed to be NULL here - meaning that
// the rest of the fragment will be updated.)
updater.UpdateTo(doc, m_next_timestamp, CUE_TIMESTATE_PRESENT);
#ifdef _DEBUG
// Verify that the "tail" has the timestate we'd expect ('present'
// or 'future').
updater.VerifyTimeStateAfter(m_next_timestamp);
#endif // _DEBUG
}
void
MediaCueDisplayState::AdvanceIntraCueState(double current_time, FramesDocument* doc)
{
OP_ASSERT(m_cue);
// If time was rewound - implying a seek - reset the intra-cue
// state on the fragment before advancing.
bool needs_reset = false;
if (m_curr_timestamp && m_curr_timestamp->GetTimestamp() > current_time)
{
needs_reset = true;
m_curr_timestamp = NULL;
}
WVTT_Node* prev_timestamp = m_curr_timestamp;
// Advance the current timestamp.
UpdateTimestamps(m_curr_timestamp, current_time);
if (needs_reset)
ResetCueFragment(doc);
if (prev_timestamp != m_curr_timestamp)
UpdateCueFragment(doc, prev_timestamp);
}
double
MediaCueDisplayState::NextEventTime() const
{
if (m_next_timestamp)
return m_next_timestamp->GetTimestamp();
return m_cue->GetEndTime();
}
/* static */ MediaCueDisplayState*
MediaCueDisplayState::GetFromHtmlElement(HTML_Element* element)
{
OP_ASSERT(element);
OP_ASSERT(element->GetInserted() == HE_INSERTED_BY_TRACK);
OP_ASSERT(element->IsMatchingType(Markup::CUEE_ROOT, NS_CUE));
void* value = element->GetSpecialAttr(Markup::MEDA_COMPLEX_CUE_REFERENCE,
ITEM_TYPE_COMPLEX, NULL,
SpecialNs::NS_MEDIA);
return static_cast<MediaCueDisplayState*>(value);
}
/* static */ MediaCueTimeState
MediaCueDisplayState::GetTimeState(HTML_Element* element)
{
OP_ASSERT(element);
OP_ASSERT(element->GetInserted() == HE_INSERTED_BY_TRACK);
OP_ASSERT(element->GetNsType() == NS_CUE);
// Defaulting to 'present' (neither :past nor :future apply) since
// that is what should happen when the cue doesn't contain any
// timestamp nodes.
INTPTR num_value = element->GetNumAttr(Markup::MEDA_CUE_TIMESTATE, NS_IDX_CUE,
CUE_TIMESTATE_PRESENT);
return static_cast<MediaCueTimeState>(num_value);
}
void
MediaTrackCueStorageList::Reset()
{
for (unsigned i = 0; i < m_cues.GetCount(); i++)
DetachOrDestroy(m_cues.Get(i));
m_cues.Empty();
}
OP_STATUS
MediaTrackCueStorageList::Insert(MediaTrackCue* cue)
{
unsigned start = 0;
unsigned end = m_cues.GetCount();
// Simple insertion at end of vector?
if (end == 0 || MediaTrackCue::IntraTrackOrder(m_cues.Get(end - 1), cue) < 0)
{
start = end;
}
else
{
while (end > start)
{
unsigned cmp_idx = start + (end - start) / 2;
if (MediaTrackCue::IntraTrackOrder(m_cues.Get(cmp_idx), cue) < 0)
start = cmp_idx + 1;
else
end = cmp_idx;
}
}
return m_cues.Insert(start, cue);
}
OP_STATUS
MediaTrackCueStorageList::Update(MediaTrackCue* cue)
{
RemoveByItem(cue);
return Insert(cue);
}
MediaTrackCue*
MediaTrackCueStorageList::GetCueById(const StringWithLength& id_needle)
{
OP_ASSERT(id_needle.string);
if (id_needle.length == 0)
return NULL;
for (unsigned i = 0; i < m_cues.GetCount(); i++)
{
MediaTrackCue* cue = m_cues.Get(i);
if (cue->GetIdentifier() == id_needle)
return cue;
}
return NULL;
}
MediaTrackCue*
MediaTrackCueActiveList::GetItem(unsigned idx)
{
if (!m_cues)
return NULL;
for (MediaTrackCue* cue = m_cues->First(); cue; cue = cue->Suc(), --idx)
if (idx == 0)
return cue;
return NULL;
}
MediaTrackCue*
MediaTrackCueActiveList::GetCueById(const StringWithLength& id_needle)
{
OP_ASSERT(id_needle.string);
if (!m_cues || id_needle.length == 0)
return NULL;
for (MediaTrackCue* cue = m_cues->First(); cue; cue = cue->Suc())
if (cue->GetIdentifier() == id_needle)
return cue;
return NULL;
}
#endif //MEDIA_HTML_SUPPORT
|
#include "AssetsDataBase.h"
#include "AssetsFactory.h"
void CAssetsDatabase::LoadSprite( Sprites::E sprite )
{
if( !m_sprites.count(sprite) )
if ( auto pSprite = CAssetsFactory::CreateSprite( sprite ) )
{
m_sprites[sprite] = pSprite;
}
}
void CAssetsDatabase::LoadModel( Models::E model )
{
if ( !m_models.count( model ) )
if ( auto pModel = CAssetsFactory::CreateModel( model ) )
{
m_models[model] = pModel;
}
}
void CAssetsDatabase::LoadFont( Fonts::E font )
{
if ( !m_fonts.count( font ) )
{
if ( auto pFont = CAssetsFactory::CreateFont( font ) )
{
m_fonts[font] = pFont;
}
}
}
void CAssetsDatabase::UnloadSprite( Sprites::E sprite )
{
m_sprites.erase( sprite );
}
void CAssetsDatabase::UnloadModel( Models::E model )
{
m_models.erase( model );
}
void CAssetsDatabase::UnloadFont( Fonts::E font )
{
m_fonts.erase( font );
}
std::shared_ptr<PrimitiveBase> CAssetsDatabase::GetModel( Models::E model )
{
return m_models.count( model ) ? m_models[model] : nullptr;
}
std::shared_ptr<PrimitiveBase> CAssetsDatabase::GetSprite( Sprites::E sprite )
{
return m_sprites.count( sprite ) ? m_sprites[sprite] : nullptr;
}
std::shared_ptr<CText> CAssetsDatabase::GetFont( Fonts::E font )
{
return m_fonts.count( font ) ? m_fonts[font] : nullptr;
}
|
#include "StdAfx.h"
#include "Missile.h"
CMissile::CMissile(void)
{
live=false;
type=0;
x=0;
y=0;
live_time=0;
speed_x=0;
speed_y=0;
angle=0;
distance=0;
gravity=0;
type2=0x0;/////////// 1 좌우 벽튕 중력 유도(스무스) 유도 속도sin 각도+- 직선
/////////// 2 점점가속도
init_missile();
disappear=false;//아이탬 먹고 사라지는지
}
CMissile::~CMissile(void)
{
}
void CMissile::move(float xxx2,float yyy2)
{
float a_angle=0;
float p_angle=6;
int type_id=0;
float t_x,t_y;
if(type2 & 0x10000)
{
switch(type)
{
case 1011:
t_x=((speed_x-x)*0.32);
t_y=((speed_y-y)*0.32);
break;
default:
t_x=((speed_x-x)*0.08);
t_y=((speed_y-y)*0.08);
break;
}
if(abs(speed_x-x)<1 && abs(speed_y-y)<1)
{
angle+=33;
}
else
{
angle=get_angle(x,y,x+((speed_x-x)*0.08),y+((speed_y-y)*0.08));
}
x+=t_x;
y+=t_y;
}
else
{
//if((type<100 && true) || (type2 & 0x1000))
if((type2 & 0x1000))
{
a_angle=get_angle(x,y,xxx2,yyy2);
if(abs(angle-a_angle)<p_angle)
{
angle=a_angle;
}
else
{
angle+=360;
a_angle+=360;
while(angle>360)
{
angle-=360;
}
while(a_angle>360)
{
a_angle-=360;
}
if(abs(angle-a_angle)<180)
{
if(angle<a_angle)
{
angle+=p_angle;
}
else
{
angle-=p_angle;
}
}
else
{
if(angle<a_angle)
{
angle-=p_angle;
}
else
{
angle+=p_angle;
}
}
}
}
if((type2 & 0xF00)>>8 == 1)
{
temp1++;
sin_speed=3*(sin(temp1/10)+1);
distance=sin_speed;
}
if((type2 & 0xF00)>>8 == 2)
{
if(distance<22)
{
distance+=0.3;
}
}
if((type2 & 0xF0)>0)
{
type_id = (type2 & 0xF0)>>4;
switch(type_id)
{
case 1:
if(temp1<temp2)
{
temp1+=1;
}
angle=temp3+temp1;
break;
case 2:
if(temp1>temp2*-1)
{
temp1-=1;
}
angle=temp3+temp1;
break;
}
}
speed_x=cos(angle*3.14/180)*distance;
speed_y=sin(angle*3.14/180)*distance;
x+=speed_x;
y+=speed_y;
if(type2 & 0x100000)
{
gravity=G+A+gravity;
y+=gravity;
temp1=get_angle(x-speed_x,y-speed_y,x,y+gravity);
}
if(type2 & 0x10000000)
{
temp1++;
temp2=(100*(sin(temp1/2.5)))-10;
x-=temp3;
temp3=temp2;
x+=temp2;
}
if(type2 & 0x1000000)
{
if(x<0 || x>c_wid)
{
angle=angle*-1+180;
bounce++;
if(bounce>5)
{
init_missile();
}
}
}
}
switch(type)
{
case 4:
if(x<0 || x>c_wid)
{
angle=angle*-1+180;
bounce++;
if(bounce>9)
{
init_missile();
}
}
break;
case 151:
if(temp1<1)
{
if(distance<5)
{
distance+=0.2;
}
}
else
{
temp1--;
}
break;
}
/*
switch(type)
{
case 1:
gravity=G+A+gravity;
speed_x=cos(angle*3.14/180)*distance;
speed_y=sin(angle*3.14/180)*distance;
x+=speed_x;
y+=speed_y;
//y+=speed_y+gravity;
break;
case 101:
if(temp1<temp2)
{
temp1+=1;
}
speed_x=cos((angle+temp1)*3.14/180)*distance;
speed_y=sin((angle+temp1)*3.14/180)*distance;
x+=speed_x;
y+=speed_y;
break;
case 102:
if(temp1<temp2)
{
temp1+=1;
}
speed_x=cos((angle-temp1)*3.14/180)*distance;
speed_y=sin((angle-temp1)*3.14/180)*distance;
x+=speed_x;
y+=speed_y;
break;
case 202:
case 201:
temp1++;
temp2=3*(sin(temp1/10)+1);
speed_x=cos(angle*3.14/180)*(temp2);
speed_y=sin(angle*3.14/180)*(temp2);
x+=speed_x;
y+=speed_y;
break;
case 1001:
case 1002:
if(temp1>4)
{
}
break;
}
*/
if(x<-300 || x>c_wid+300 || y<-300 || y>c_hei+300)
{
init_missile();
}
}
void CMissile::create_missile(int t,int xx,int yy,float a,float d,long ty)
{
create_missile(t,xx,yy,a,d,ty,0,0);
}
void CMissile::create_missile(int t,int xx,int yy,float a,float d,long ty,int aa_x,int aa_y)
{
init_missile();
live=true;
type=t;
x=xx;
y=yy;
angle=a;
distance=d;
a_x=aa_x;
a_y=aa_y;
type2=ty;
sin_speed=1;
live_time=0;
temp3=0;
temp2=0;
temp1=0;
switch(type)
{
case 2:
case 3:
temp2=13;
temp1=temp2;
break;
case 101:
case 102:
temp1=0;
temp2=100;
temp3=angle;
break;
case 150:
speed_x=a_x;
speed_y=a_y;
if(angle)
{
temp1=70+(distance*3);
}
else
{
temp1=80+(distance*5);
}
break;
case 151:
temp1=100;
break;
case 156:
case 157:
temp1=0;
temp2=100;
temp3=angle;
break;
case 158:
speed_x=a_x;
speed_y=a_y;
temp1=90;//시간
temp2=1+(float)rand_num(300)/100.0;//속도
distance=temp2;
temp3=0;//
break;
case 201:
case 202:
temp1=0;
temp2=100;
temp3=0;
break;
case 1001:
case 1002:
case 1003:
speed_x=a_x;
speed_y=a_y;
temp1=70;
temp2=0;
temp3=0;
break;
case 1004:
temp1=13;
break;
case 1005:
temp1=6;
break;
case 1006:
speed_x=a_x;
speed_y=a_y;
temp1=70;
temp2=90;
break;
case 1007:
speed_x=a_x;
speed_y=a_y;
temp1=70;
temp2=-90;
break;
case 1008:
speed_x=a_x;
speed_y=a_y;
temp1=40+rand_num(80);//시간
temp2=0;//각도
temp3=21;//시간2
break;
case 1009:
speed_x=a_x;
speed_y=a_y;
temp1=40;//시간
temp2=0;//각도
temp3=0;//시간2
break;
case 1010:
speed_x=a_x;
speed_y=a_y;
temp1=15;//시간
temp2=0;//각도
temp3=1;//도는 방향
break;
case 1011:
speed_x=a_x;
speed_y=a_y;
temp1=40;
temp2=0;
temp3=0;
break;
}
if(type<100)
{
disappear=false;
}
else if(type==1006 || type==1007 || type==1008 || type==1009 || type==1010 || type==1011)
{
disappear=false;
}
else
{
disappear=true;
}
}
void CMissile::init_missile()
{
live=false;
type=0;
x=0;
y=0;
speed_x=0;
speed_y=0;
angle=0;
distance=0;
gravity=0;
type2=0x0;
live_time=0;
bounce=0;
}
|
#ifndef _CS2420_GRAPH_H
#define _CS2420_GRAPH_H
#include <iostream>
#include <list>
#include <string>
#include <vector>
#include <sstream>
namespace cs2420 {
class Graph {
protected:
const int v;
int e = 0;
std::list<int> *adj;
public:
Graph(int v) : v(v), adj(new std::list<int>[v]{}){}
int V() { return v; }
int E() { return e; }
std::list<int> adjList(int v) { return adj[v]; }
virtual bool directed(){ return false; }
virtual void addEdge(int v, int w){
e++;
adj[v].push_back(w);
}
virtual void removeEdge(int v, int w){
e--;
adj[v].remove(w);
}
virtual int degree(int v){
return adj[v].size();
}
virtual ~Graph() { delete[] adj; }
friend void operator>>(std::istream& in, Graph &g){
std::string line;
while(std::getline(in, line)){
if(!line.empty()){
std::stringstream ss(line);
int u; ss >> u;
char sep; ss >> sep;
int v;
while(ss >> v){
g.addEdge(u, v);
}
}
}
}
friend std::ostream& operator<<(std::ostream& out, const Graph &g){
out << g.v << std::endl;
out << g.e << std::endl;
for(int v = 0; v < g.v; v++){
out << v << ": ";
for(int w : g.adj[v]){
out << w << " ";
}
out << std::endl;
}
return out;
}
};
}
#endif
|
/*
struct Node {
int data;
struct Node *next;
Node(int x) {
data = x;
next = NULL;
}
};
*/
// function should insert node at the middle
// of the linked list
Node* insertInMiddle(Node* head, int x)
{
// only gravity will pull me down
// Insert in Middle of Linked List
Node* tmp=head;
Node* st=head;
Node* n = new Node(x);
while(tmp->next && tmp->next->next) {
tmp = tmp->next->next;
head = head->next;
}
if(head->next)
n->next = head->next;
else
n->next = NULL;
head->next=n;
head = st;
return head;
}
|
// Fill out your copyright notice in the Description page of Project Settings.
#include "NeuralNetworkWidget.h"
#include "NeuralNetwork/Manager/NeuralNetworkManager.h"
#include "Libraries/GeneticFL.h"
#include "GeneticAIGameModeBase.h"
void UNeuralNetworkWidget::NativeConstruct()
{
Super::NativeConstruct();
Manager = UGeneticFL::GetGeneticGameMode(this)->Manager;
if(Manager)
{
Manager->OnNewSpecimen.AddDynamic(this, &UNeuralNetworkWidget::UpdateSpecimen);
Manager->OnNewGeneration.AddDynamic(this, &UNeuralNetworkWidget::UpdateGeneration);
Manager->OnFitnessUpdated.AddDynamic(this, &UNeuralNetworkWidget::UpdateFitness);
Manager->OnOutputFunctionsCreated.AddDynamic(this, &UNeuralNetworkWidget::CreateOutputFunctions);
Manager->OnOutputFunctionsUpdated.AddDynamic(this, &UNeuralNetworkWidget::UpdateOutputFunctions);
Manager->OnRunEnded.AddDynamic(this, &UNeuralNetworkWidget::EndRun);
}
}
void UNeuralNetworkWidget::NativeTick(const FGeometry& MyGeometry, float InDeltaTime)
{
Super::NativeTick(MyGeometry, InDeltaTime);
}
void UNeuralNetworkWidget::UpdateGeneration_Implementation(uint8 NumberOfGeneration)
{
}
void UNeuralNetworkWidget::UpdateSpecimen_Implementation(uint8 NumberOfSpecimen)
{
}
void UNeuralNetworkWidget::InitWidget_Implementation()
{
}
void UNeuralNetworkWidget::UpdateFitness_Implementation(float Fitness)
{
}
void UNeuralNetworkWidget::CreateOutputFunctions_Implementation(const TArray<FName>& Names, const TArray<uint8>& Indexes)
{
}
void UNeuralNetworkWidget::UpdateOutputFunctions_Implementation(const TArray<float>& Values)
{
}
void UNeuralNetworkWidget::EndRun_Implementation(float TimeToNextSpecimen, float Fitness, uint8 SpecimenNumber)
{
}
|
#include"db.h"
db::~db()
{
if(sqlite3_close(sdb)==0);
// return 0;
//else return 1;
}
int db::openDB(char filename[128])
{
if(sqlite3_open(filename,&sdb)==0)
return 0;
else return 1;
}
int db::creatDB(char filename[128])
{
if(sqlite3_open(filename,&sdb)==0)
return 0;
else return 1;
}
int db::creatTab()
{
if(sqlite3_exec(sdb,"create table books(ID varchar(8),name varchar(32),telnum varchar(32))",NULL,0,0)==0)
return 0;
else return 1;
}
int db::initDB()
{
if(sqlite3_exec(sdb,"insert into books values('0000000','0','0')",NULL,0,0)==0)
return 0;
else return 1;
}
int db::closeDB()
{
if(sqlite3_close(sdb)==0)
return 0;
else return 1;
}
int db::insert(b str)
{
char *p=new char [80];
char *p1="insert into books values(\'";
char *p2="\',\'";
char *p3="\')";
strcat(p,p1);
strcat(p,str.ID);
strcat(p,p2);
strcat(p,str.name);
strcat(p,p2);
strcat(p,str.telnum);
strcat(p,p3);
if(sqlite3_exec(sdb,p,NULL,0,0)==0)
return 0;
else return 1;
}
int db::seekall()
{
if(sqlite3_exec(sdb,"select * from books",callback,0,0)==0)
return 0;
else return 1;
}
char *db::sql()
{
}
int db::callback(void *notused,int l,char **v,char **lname)
{
int i;
for (i=0;i<l;i++)
{
std::cout<<v[i]<<'\t';
}
std::cout<<"\n";
return 0;
}
|
// Copyright (c) 2011-2017 The Cryptonote developers
// Copyright (c) 2017-2018 The Circle Foundation & Conceal Devs
// Copyright (c) 2018-2023 Conceal Network & Conceal Devs
//
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#pragma once
#include <map>
#include <unordered_map>
#include "ITransfersContainer.h"
#include "IWallet.h"
#include "IWalletLegacy.h" //TODO: make common types for all of our APIs (such as PublicKey, KeyPair, etc)
#include <boost/multi_index_container.hpp>
#include <boost/multi_index/ordered_index.hpp>
#include <boost/multi_index/random_access_index.hpp>
#include <boost/multi_index/hashed_index.hpp>
#include <boost/multi_index/composite_key.hpp>
#include <boost/multi_index/member.hpp>
#include "Common/FileMappedVector.h"
#include "crypto/chacha8.h"
namespace cn
{
const uint64_t ACCOUNT_CREATE_TIME_ACCURACY = 60 * 60 * 24;
struct WalletRecord
{
crypto::PublicKey spendPublicKey;
crypto::SecretKey spendSecretKey;
cn::ITransfersContainer *container = nullptr;
uint64_t pendingBalance = 0;
uint64_t actualBalance = 0;
uint64_t lockedDepositBalance = 0;
uint64_t unlockedDepositBalance = 0;
time_t creationTimestamp;
};
#pragma pack(push, 1)
struct EncryptedWalletRecord {
crypto::chacha8_iv iv;
// Secret key, public key and creation timestamp
uint8_t data[sizeof(crypto::PublicKey) + sizeof(crypto::SecretKey) + sizeof(uint64_t)];
};
#pragma pack(pop)
struct RandomAccessIndex
{
};
struct KeysIndex
{
};
struct TransfersContainerIndex
{
};
struct WalletIndex
{
};
struct TransactionOutputIndex
{
};
struct BlockHeightIndex
{
};
struct TransactionHashIndex
{
};
struct TransactionIndex
{
};
struct BlockHashIndex
{
};
typedef boost::multi_index_container<
WalletRecord,
boost::multi_index::indexed_by<
boost::multi_index::random_access<boost::multi_index::tag<RandomAccessIndex>>,
boost::multi_index::hashed_unique<boost::multi_index::tag<KeysIndex>,
BOOST_MULTI_INDEX_MEMBER(WalletRecord, crypto::PublicKey, spendPublicKey)>,
boost::multi_index::hashed_unique<boost::multi_index::tag<TransfersContainerIndex>,
BOOST_MULTI_INDEX_MEMBER(WalletRecord, cn::ITransfersContainer *, container)>>>
WalletsContainer;
struct UnlockTransactionJob
{
uint32_t blockHeight;
cn::ITransfersContainer *container;
crypto::Hash transactionHash;
};
typedef boost::multi_index_container<
UnlockTransactionJob,
boost::multi_index::indexed_by<
boost::multi_index::ordered_non_unique<boost::multi_index::tag<BlockHeightIndex>,
BOOST_MULTI_INDEX_MEMBER(UnlockTransactionJob, uint32_t, blockHeight)>,
boost::multi_index::hashed_non_unique<boost::multi_index::tag<TransactionHashIndex>,
BOOST_MULTI_INDEX_MEMBER(UnlockTransactionJob, crypto::Hash, transactionHash)>>>
UnlockTransactionJobs;
typedef boost::multi_index_container<
cn::Deposit,
boost::multi_index::indexed_by<
boost::multi_index::random_access<boost::multi_index::tag<RandomAccessIndex>>,
boost::multi_index::hashed_unique<boost::multi_index::tag<TransactionIndex>,
boost::multi_index::member<cn::Deposit, crypto::Hash, &cn::Deposit::transactionHash>>,
boost::multi_index::ordered_non_unique<boost::multi_index::tag<BlockHeightIndex>,
boost::multi_index::member<cn::Deposit, uint64_t, &cn::Deposit::height>>>>
WalletDeposits;
typedef boost::multi_index_container<
cn::WalletTransaction,
boost::multi_index::indexed_by<
boost::multi_index::random_access<boost::multi_index::tag<RandomAccessIndex>>,
boost::multi_index::hashed_unique<boost::multi_index::tag<TransactionIndex>,
boost::multi_index::member<cn::WalletTransaction, crypto::Hash, &cn::WalletTransaction::hash>>,
boost::multi_index::ordered_non_unique<boost::multi_index::tag<BlockHeightIndex>,
boost::multi_index::member<cn::WalletTransaction, uint32_t, &cn::WalletTransaction::blockHeight>>>>
WalletTransactions;
typedef common::FileMappedVector<EncryptedWalletRecord> ContainerStorage;
typedef std::pair<size_t, cn::WalletTransfer> TransactionTransferPair;
typedef std::vector<TransactionTransferPair> WalletTransfers;
typedef std::map<size_t, cn::Transaction> UncommitedTransactions;
typedef boost::multi_index_container<
crypto::Hash,
boost::multi_index::indexed_by<
boost::multi_index::random_access<
boost::multi_index::tag<BlockHeightIndex>>,
boost::multi_index::hashed_unique<
boost::multi_index::tag<BlockHashIndex>,
boost::multi_index::identity<crypto::Hash>>>>
BlockHashesContainer;
} // namespace cn
|
#ifndef OPENMM_GKNPFORCEIMPL_H_
#define OPENMM_GKNPFORCEIMPL_H_
/* -------------------------------------------------------------------------- *
* OpenMM-GKNP *
* -------------------------------------------------------------------------- */
#include "GKNPForce.h"
#include "openmm/internal/ForceImpl.h"
#include "openmm/Kernel.h"
#include <utility>
#include <set>
#include <string>
namespace GKNPPlugin {
class System;
/**
* This is the internal implementation of GKNPForce.
*/
class OPENMM_EXPORT_GKNP GKNPForceImpl : public OpenMM::ForceImpl {
public:
GKNPForceImpl(const GKNPForce& owner);
~GKNPForceImpl();
void initialize(OpenMM::ContextImpl& context);
const GKNPForce& getOwner() const {
return owner;
}
void updateContextState(OpenMM::ContextImpl& context) {
// This force field doesn't update the state directly.
}
double calcForcesAndEnergy(OpenMM::ContextImpl& context, bool includeForces, bool includeEnergy, int groups);
std::map<std::string, double> getDefaultParameters() {
return std::map<std::string, double>(); // This force field doesn't define any parameters.
}
std::vector<std::string> getKernelNames();
void updateParametersInContext(OpenMM::ContextImpl& context);
private:
const GKNPForce& owner;
OpenMM::Kernel kernel;
};
} // namespace GKNPPlugin
#endif /*OPENMM_GKNPFORCEIMPL_H_*/
|
//
// Created by Yujing Shen on 29/05/2017.
//
#ifndef TENSORGRAPH_MOMENTUMOPT_H
#define TENSORGRAPH_MOMENTUMOPT_H
#include "../SessionOptimizer.h"
namespace sjtu{
class MomentumOpt: public SessionOptimizer
{
public:
MomentumOpt(Session*, Dtype lr, Dtype momentum = 0.9f);
virtual ~MomentumOpt();
virtual Optimizer run(Node node) override ;
virtual Optimizer init(int Itype) override ;
virtual Optimizer subscribe(Node node) override;
protected:
Dtype _lr, _momentum;
vector<Tensor> _tW;
};
}
#endif //TENSORGRAPH_MOMENTUMOPT_H
|
/*
* Copyright 2016 Freeman Zhang <zhanggyb@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <skland/gui/memory-pool.hpp>
#include <stdlib.h>
#include <malloc.h>
#include <unistd.h>
#define HAVE_POSIX_FALLOCATE
#define HAVE_MKOSTEMP
#ifdef HAVE_POSIX_FALLOCATE
#include <fcntl.h>
#include <new>
#endif
#include "internal/display-registry.hpp"
namespace skland {
void MemoryPool::Setup(int32_t size) {
Destroy();
int fd = CreateAnonymousFile(size);
if (fd < 0) throw std::runtime_error("Cannot create anonymous file for SHM");
data_.reset(new SharedMemory(fd, (size_t) size));
if (data_->data() == nullptr) {
close(fd);
throw std::runtime_error("Cannot map shared memory");
}
wl_shm_pool_.Setup(Display::Registry().wl_shm(), fd, size);
size_ = size;
close(fd);
}
void MemoryPool::Destroy() {
if (wl_shm_pool_.IsValid()) {
data_.reset();
size_ = 0;
wl_shm_pool_.Destroy();
}
}
int MemoryPool::CreateAnonymousFile(off_t size) {
static const char temp[] = "/skland-XXXXXX";
const char *path;
char *name;
int fd;
int ret;
path = getenv("XDG_RUNTIME_DIR");
if (!path) {
errno = ENOENT;
return -1;
}
name = (char *) malloc(strlen(path) + sizeof(temp));
if (!name)
return -1;
strcpy(name, path);
strcat(name, temp);
fd = CreateTmpfileCloexec(name);
free(name);
if (fd < 0)
return -1;
#ifdef HAVE_POSIX_FALLOCATE
ret = posix_fallocate(fd, 0, size);
if (ret != 0) {
close(fd);
errno = ret;
return -1;
}
#else
ret = ftruncate(fd, size);
if (ret < 0) {
close(fd);
return -1;
}
#endif
return fd;
}
int MemoryPool::CreateTmpfileCloexec(char *tmpname) {
int fd;
#ifdef HAVE_MKOSTEMP
fd = mkostemp(tmpname, O_CLOEXEC);
if (fd >= 0)
unlink(tmpname);
#else
fd = mkstemp(tmpname);
if (fd >= 0) {
fd = set_cloexec_or_close(fd);
unlink(tmpname);
}
#endif
return fd;
}
}
|
#ifndef JACOBI_H
#define JACOBI_H
#include <coefficients/coefficients.h>
#include <settings/settings.h>
#include <matrix/matrix.h>
/*!
\file
\brief This function the system of linear differential equations using
Jacobi approach
*/
/**
Solves the system of linear differential equations and computes the Temperature
at next time step
@param[in] matrix - takes values, pointer and columns for matrix reconstruction
@param[in] coefficients - takes F coefficient
@param[in] coefficients - takes value of maximum acceptable error
for convergence
@return temperature at next time step
*/
void solveJacobiLS(const Matrix &matrix, const Coefficients &coefficients,
const Settings &settings,
std::vector<double> &X);
#endif
|
#include "IocpServer.h"
// Server startup
int main()
{
std::cout << "Hello Server!\n";
IocpServer server(IocpServer::ListenType_IPC, "12345");
server.Run([&server](const LSocket& socket, const char* data, DWORD size) {
std::string dataStr = std::string(data, size);
std::cout << "server recv:" << dataStr << std::endl;
server.SendMsg(socket, dataStr);
static int t = 0;
t++;
if (t == 10) {
server.Stop();
}
});
return 0;
}
|
#include "BSP.h"
#ifndef __Sensor_H
#define __Sensor_H
class Sensor {
//SystemClock systemClock;
public:
// Constructor
Sensor();
// Destructor
virtual ~Sensor();
uint16_t getValue();
Boolean getTurnOn();
virtual void handle();
// private:
// static uint64_t startTicks;
protected:
uint16_t value;
Boolean turnOn;
};
inline Sensor::Sensor()
{
value = 0;
}
inline Sensor::~Sensor()
{
}
#endif
|
#pragma once
#include "TestDB.h"
#pragma warning(push)
#pragma warning(disable:4100) // unreferenced formal parameter
#pragma warning(disable:4127) // conditional statement is const
#pragma warning(disable:4244) // type conversion: possible data loss
#pragma warning(disable:4245) // signed/unsigned mismatch
#include <Poco/Data/Session.h> // Poco::Data::Session
#pragma warning(pop)
#include "NoteImpl.h"
#include "FoodImpl.h"
#include <utility>
#include "Amount.h"
namespace fa {
//! Person DAO for MySQL
class MySQLPersonDAO final {
public:
using this_type = MySQLPersonDAO;
using value_type = testCrap::Person;
using DBSession = Poco::Data::Session;
using Statement = Poco::Data::Statement;
using container_type = std::vector<value_type>;
explicit MySQLPersonDAO(DBSession &dbSession);
/* consider using pass by value instead if the type is cheap enough to copy
the parameter may not be const, Poco has some nasty macro hidden in Poco::Data::Keywords::use
that will abort compilation if used with const qualified arguments. */
bool insertPerson(value_type &) const;
bool deletePerson(value_type &) const;
container_type findPerson(decltype(value_type::name)) const;
bool updatePerson(value_type &) const;
private:
DBSession &session_;
}; // END of class MySQLPersonDAO
//! Food DAO for MySQL
class MySQLFoodDAO final {
public:
using this_type = MySQLFoodDAO;
using value_type = AtomicFoodImpl;
using DBSession = Poco::Data::Session;
using Statement = Poco::Data::Statement;
using container_type = std::vector<value_type>;
explicit MySQLFoodDAO(DBSession &dbSession);
// insert a string of one or more keywords (e.g. "butter salt")
container_type findFood(String searchItem) const; // TODO: may need to use different types.
// TODO: this probably needs to be able to do more than just find food.
private:
DBSession &dbSession_;
}; // END of class MySQLFoodDAO
//! Note DAO for MySQL
class MySQLNoteDAO final {
public:
using this_type = MySQLNoteDAO;
using value_type = NoteImpl;
using DBSession = Poco::Data::Session;
using Statement = Poco::Data::Statement;
using container_type = std::vector<value_type>;
explicit MySQLNoteDAO(DBSession &dbSession);
container_type findNote(fa::String searchTerm); // TODO: this might have to be different
bool insertNote(value_type, Id) const;
bool deleteNote(value_type) const;
bool updateNote(value_type) const;
private:
DBSession &session_;
}; // END of class MySQLNoteDAO
//! Entry DAO for MySQL
class MySQLEntryDAO final { // TODO: test this class
public:
using this_type = MySQLEntryDAO;
using value_type_Food = AtomicFoodImpl;
using value_type_Amount = Amount;
using value_type_Person = int; // TODO: replace by Person dataType (or by Tagesplan in Project and MySQL)
using DBSession = Poco::Data::Session;
using Statement = Poco::Data::Statement;
//using container_type = std::vector<value_type>;
explicit MySQLEntryDAO(DBSession &dbSession);
bool insertEntry(value_type_Food &, value_type_Amount &, value_type_Person &) const;
private:
DBSession &session_;
};
} // END of namespace fa
|
#include "TrustchainBuilder.hpp"
#include <Helpers/UniquePath.hpp>
#include <Tanker/DeviceKeys.hpp>
#include <Tanker/EncryptedUserKey.hpp>
#include <Tanker/Entry.hpp>
#include <Tanker/Errors/Errc.hpp>
#include <Tanker/GhostDevice.hpp>
#include <Tanker/Serialization/Serialization.hpp>
#include <Tanker/Trustchain/ServerEntry.hpp>
#include <Tanker/Trustchain/TrustchainId.hpp>
#include <Tanker/Trustchain/UserId.hpp>
#include <Tanker/TrustchainStore.hpp>
#include <Tanker/Unlock/Create.hpp>
#include <Tanker/Unlock/Registration.hpp>
#include <Helpers/Buffers.hpp>
#include <Helpers/Errors.hpp>
#include <nlohmann/json.hpp>
#include <doctest.h>
#include "TestVerifier.hpp"
using namespace std::string_literals;
using namespace Tanker;
using namespace Tanker::Trustchain;
using namespace Tanker::Trustchain::Actions;
TEST_CASE("it can convert a ghost device to unlock key")
{
auto const ghostDevice = GhostDevice{
make<Crypto::PrivateSignatureKey>("sigkey"),
make<Crypto::PrivateEncryptionKey>("enckey"),
};
auto const gotGhostDevice = GhostDevice::create(
VerificationKey{"eyJkZXZpY2VJZCI6IlpHVjJhV1FBQUFBQUFBQUFBQUFBQUF"
"BQUFBQUFBQUFBQUFBQUFBQU"
"FBQUE9IiwicHJpdmF0ZVNpZ25hdHVyZUtleSI6ImMybG5hM"
"lY1QUFBQUFBQUFBQUFBQUFB"
"QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUF"
"BQUFBQUFBQUFBQUFBQUFBQU"
"FBQUFBQUFBQUFBPT0iLCJwcml2YXRlRW5jcnlwdGlvbktle"
"SI6IlpXNWphMlY1QUFBQUFB"
"QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUE9In0="});
CHECK(ghostDevice == gotGhostDevice);
}
TEST_CASE("verificationKey")
{
SUBCASE("extract")
{
TANKER_CHECK_THROWS_WITH_CODE(GhostDevice::create(VerificationKey{"plop"}),
Errors::Errc::InvalidVerification);
}
TrustchainBuilder builder;
builder.makeUser("alice");
auto const alice = builder.findUser("alice").value();
auto const firstDev = alice.devices.front();
auto const& aliceKeys = alice.userKeys.back();
auto ghostDeviceKeys = DeviceKeys::create();
auto const verificationKey =
Unlock::generate(alice.userId,
aliceKeys.keyPair,
BlockGenerator(builder.trustchainId(),
firstDev.keys.signatureKeyPair.privateKey,
firstDev.id),
ghostDeviceKeys);
FAST_REQUIRE_UNARY_FALSE(verificationKey.empty());
SUBCASE("generate")
{
REQUIRE_NOTHROW(GhostDevice::create(verificationKey));
auto const gh = GhostDevice::create(verificationKey);
FAST_CHECK_EQ(gh.privateEncryptionKey,
ghostDeviceKeys.encryptionKeyPair.privateKey);
FAST_CHECK_EQ(gh.privateSignatureKey,
ghostDeviceKeys.signatureKeyPair.privateKey);
}
SUBCASE("createValidatedDevice")
{
auto const gh = GhostDevice::create(verificationKey);
auto const encryptedPrivateKey =
Crypto::sealEncrypt<Crypto::SealedPrivateEncryptionKey>(
aliceKeys.keyPair.privateKey,
ghostDeviceKeys.encryptionKeyPair.publicKey);
EncryptedUserKey ec{make<Trustchain::DeviceId>("devid"),
encryptedPrivateKey};
auto newDeviceKeys = DeviceKeys::create();
auto const validatedDevice = Unlock::createValidatedDevice(
builder.trustchainId(), alice.userId, gh, newDeviceKeys, ec);
auto const validatedDeviceEntry =
toVerifiedEntry(blockToServerEntry(validatedDevice));
auto const vdc = validatedDeviceEntry.action.get<DeviceCreation>();
REQUIRE(vdc.holds_alternative<DeviceCreation::v3>());
auto const& dc3 = vdc.get<DeviceCreation::v3>();
auto const userKey = dc3.sealedPrivateUserEncryptionKey();
REQUIRE(!userKey.is_null());
auto const privateEncryptionKey =
Crypto::sealDecrypt(userKey, newDeviceKeys.encryptionKeyPair);
REQUIRE_EQ(privateEncryptionKey, aliceKeys.keyPair.privateKey);
REQUIRE_EQ(dc3.publicEncryptionKey(),
newDeviceKeys.encryptionKeyPair.publicKey);
REQUIRE_EQ(dc3.publicSignatureKey(),
newDeviceKeys.signatureKeyPair.publicKey);
REQUIRE_EQ(alice.userId, dc3.userId());
REQUIRE_EQ(false, dc3.isGhostDevice());
}
}
|
#ifndef __MINIDUMP_H_
#define __MINIDUMP_H_
#include <windows.h>
class CMiniDumper
{
public:
CMiniDumper(bool bPromptUserForMiniDump = true);
~CMiniDumper(void);
private:
static LONG WINAPI UnhandledExceptionHandler(struct _EXCEPTION_POINTERS *pExceptionInfo);
void SetMiniDumpFileName(time_t tt = time(0));
bool GetImpersonationToken(HANDLE* phToken);
BOOL EnablePrivilege(LPCTSTR pszPriv, HANDLE hToken, TOKEN_PRIVILEGES* ptpOld);
BOOL RestorePrivilege(HANDLE hToken, TOKEN_PRIVILEGES* ptpOld);
LONG WriteMiniDump(_EXCEPTION_POINTERS *pExceptionInfo );
_EXCEPTION_POINTERS *m_pExceptionInfo;
_TCHAR m_szMiniDumpPath[MAX_PATH];
_TCHAR m_szAppPath[MAX_PATH];
_TCHAR m_szAppBaseName[MAX_PATH];
bool m_bPromptUserForMiniDump;
static CMiniDumper* G_pMiniDumper;
static LPCRITICAL_SECTION G_pCriticalSection;
};
#endif // __MINIDUMP_H_
|
#ifndef JNI_REFLECTION_UTILITY_H
#define JNI_REFLECTION_UTILITY_H
#include <jvmti.h>
#include <string>
/**
* Global JVMTI instance
*/
extern jvmtiEnv *jvmti;
void initialize(JNIEnv *env);
void throwError(JNIEnv *env, const std::string &message);
void throwError(JNIEnv *env, const std::string &errorClassName, const std::string &message);
void throwClassNotFoundError(JNIEnv *env, const std::string &className);
void throwFieldNotFoundError(JNIEnv *env, const std::string &className, const std::string &fieldName);
std::string jStringToString(JNIEnv *env, jstring jStr);
jvmtiIterationControl JNICALL heapObjectCallback(jlong class_tag, jlong size, jlong *tag_ptr, void *user_data);
#endif //JNI_REFLECTION_UTILITY_H
|
/**
* @file Nonlocal.hpp
*
* @brief This header contains a mixin that disallows objects being allocated
* on the stack, forcing them to be used in dynamic memory
*
* @author Matthew Rodusek (matthew.rodusek@gmail.com)
* @date June 10, 2015
*/
#ifndef VALKNUT_CORE_NONLOCAL_HPP_
#define VALKNUT_CORE_NONLOCAL_HPP_
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
# pragma once
#endif
namespace valknut{
namespace nonlocal_{ // protection again unintended Argument-Dependent Lookup (ADL)
//////////////////////////////////////////////////////////////////////////
/// @class valknut::nonlocal_::Nonlocal
///
/// This mixin forces any child to not be automatically destructable with
/// RAII or @a operator::delete -- but instead requires manually calling
/// of the public method @a destroy()
///
/// @ingroup core
//////////////////////////////////////////////////////////////////////////
template<typename T>
class Nonlocal{
//-----------------------------------------------------------------------
// Public Methods
//-----------------------------------------------------------------------
public:
///
/// @brief Destroys this Nonlocal object
///
void destroy(){ delete &dynamic_cast<T>(*this); }
//-----------------------------------------------------------------------
// Private Destructor
//-----------------------------------------------------------------------
private:
///
/// Destructor is private to disallow
///
~Nonlocal(){}
};
} // namespace nonlocal_
typedef nonlocal_::Nonlocal Nonlocal;
} // namespace valknut
#endif /* VALKNUT_CORE_NONLOCAL_HPP_ */
|
#include <cstdio>
#include <iostream>
#include <vector>
#include <string>
#include <stack>
#include <unordered_map>
#include <unordered_set>
#include <queue>
#include <algorithm>
#define INT_MAX 0x7fffffff
#define INT_MIN 0x80000000
using namespace std;
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x) : val(x) ,left(NULL), right(NULL) {}
};
int main(){
}
|
#include "static_shader.h"
namespace sloth {
StaticShader::StaticShader()
:Shader(STATIC_VERTEX_FILE, STATIC_FRAGMENT_FILE)
{
getAllUniformLocation();
connectTextureUnit();
}
void StaticShader::connectTextureUnit()
{
glProgramUniform1i(m_ID, m_LocDiffuseMap, 0);
glProgramUniform1i(m_ID, m_LocSpeculateMap, 2);
}
StaticShader::~StaticShader()
{
delete[] m_LocLightPos;
delete[] m_LocLightColor;
delete[] m_LocAttenuation;
}
void StaticShader::loadModelMatrix(const glm::mat4 & model)
{
glProgramUniformMatrix4fv(m_ID, m_LocModel, 1, GL_FALSE, glm::value_ptr(model));
}
void StaticShader::loadViewMatrix(const RawCamera &camera)
{
glProgramUniformMatrix4fv(m_ID, m_LocView, 1, GL_FALSE, glm::value_ptr(camera.getViewMatrix()));
}
void StaticShader::loadProjectionMatrix(const glm::mat4 & projection)
{
glProgramUniformMatrix4fv(m_ID, m_LocProjection, 1, GL_FALSE, glm::value_ptr(projection));
}
void StaticShader::loadLight(const Light & light)
{
glProgramUniform3f(m_ID, m_LocLightPos[0], light.position[0], light.position[1], light.position[2]);
glProgramUniform3f(m_ID, m_LocLightColor[0], light.color[0], light.color[1], light.color[2]);
glProgramUniform3f(m_ID, m_LocAttenuation[0], light.attenuation[0], light.attenuation[1], light.attenuation[2]);
for (int i = 1; i < GLSL_MAX_LIGHTS; ++i) {
glProgramUniform3f(m_ID, m_LocLightPos[i], 0.0f, 0.0f, 0.0f);
glProgramUniform3f(m_ID, m_LocLightColor[i], 0.0f, 0.0f, 0.0f);
glProgramUniform3f(m_ID, m_LocAttenuation[i], 1.0f, 0.0f, 0.0f);
}
}
void StaticShader::loadLights(const std::vector<Light>& lights)
{
for (size_t i = 0; i < GLSL_MAX_LIGHTS; ++i) {
if (i < lights.size()) {
glProgramUniform3f(m_ID, m_LocLightPos[i], lights[i].position[0], lights[i].position[1], lights[i].position[2]);
glProgramUniform3f(m_ID, m_LocLightColor[i], lights[i].color[0], lights[i].color[1], lights[i].color[2]);
glProgramUniform3f(m_ID, m_LocAttenuation[i], lights[i].attenuation[0], lights[i].attenuation[1], lights[i].attenuation[2]);
}
else {
glProgramUniform3f(m_ID, m_LocLightPos[i], 0.0f, 0.0f, 0.0f);
glProgramUniform3f(m_ID, m_LocLightColor[i], 0.0f, 0.0f, 0.0f);
glProgramUniform3f(m_ID, m_LocAttenuation[i], 1.0f, 0.0f, 0.0f);
}
}
}
void StaticShader::loadShineVariable(const float shininess, const float reflectivity)
{
glProgramUniform1f(m_ID, m_LocShininess, shininess);
glProgramUniform1f(m_ID, m_LocReflectivity, reflectivity);
}
void StaticShader::loadUseFakeLighting(const bool useFake)
{
if (useFake)
glProgramUniform1f(m_ID, m_LocUseFakeLighting, 1.0f);
else
glProgramUniform1f(m_ID, m_LocUseFakeLighting, 0.0f);
}
void StaticShader::loadSkyColor(const float r, const float g, const float b)
{
glProgramUniform3f(m_ID, m_LocSkyColor, r, g, b);
}
void StaticShader::loadNumberOfRows(int numberOfRaws)
{
glProgramUniform1f(m_ID, m_LocNumberOfRows, (float)numberOfRaws);
}
void StaticShader::loadOffset(float x, float y)
{
glProgramUniform2f(m_ID, m_LocOffset, x, y);
}
void StaticShader::loadClipPlane(const glm::vec4 & clipPlane)
{
glProgramUniform4f(m_ID, m_LocClipPlane, clipPlane.x, clipPlane.y, clipPlane.z, clipPlane.w);
}
void StaticShader::loadUseSpecularMap(bool useSpeMap)
{
if (useSpeMap)
glProgramUniform1f(m_ID, m_LocUseSpecularMap, 1.0f);
else
glProgramUniform1f(m_ID, m_LocUseSpecularMap, 0.0f);
}
void StaticShader::getAllUniformLocation()
{
m_LocDiffuseMap = glGetUniformLocation(m_ID, "diffuseMap");
m_LocModel = glGetUniformLocation(m_ID, "model");
m_LocView = glGetUniformLocation(m_ID, "view");
m_LocProjection = glGetUniformLocation(m_ID, "projection");
m_LocShininess = glGetUniformLocation(m_ID, "shininess");
m_LocReflectivity = glGetUniformLocation(m_ID, "reflectivity");
m_LocLightPos = new int[GLSL_MAX_LIGHTS];
m_LocLightColor = new int[GLSL_MAX_LIGHTS];
m_LocAttenuation = new int[GLSL_MAX_LIGHTS];
for (int i = 0; i < GLSL_MAX_LIGHTS; ++i) {
char c = '0' + i;
m_LocLightPos[i] = glGetUniformLocation(m_ID, (std::string("lightPosition[") + c + "]").c_str());
m_LocLightColor[i] = glGetUniformLocation(m_ID, (std::string("lightColor[") + c + "]").c_str());
m_LocAttenuation[i] = glGetUniformLocation(m_ID, (std::string("attenuation[") + c + "]").c_str());
}
m_LocUseFakeLighting = glGetUniformLocation(m_ID, "useFakeLignting");
m_LocSkyColor = glGetUniformLocation(m_ID, "skyColor");
m_LocNumberOfRows = glGetUniformLocation(m_ID, "numberOfRows");
m_LocOffset = glGetUniformLocation(m_ID, "offset");
m_LocClipPlane = glGetUniformLocation(m_ID, "clipPlane");
m_LocSpeculateMap = glGetUniformLocation(m_ID, "specularMap");
m_LocUseSpecularMap = glGetUniformLocation(m_ID, "useSpecularMap");
}
}
|
// Copyright 2012 Yandex
#ifndef LTR_LEARNERS_LINEAR_LEARNER_LINEAR_LEARNER_H_
#define LTR_LEARNERS_LINEAR_LEARNER_LINEAR_LEARNER_H_
#include <Eigen/Dense>
#include <logog/logog.h>
#include <string>
#include <vector>
#include "ltr/utility/shared_ptr.h"
#include "ltr/learners/learner.h"
#include "ltr/scorers/linear_scorer.h"
using std::string;
using std::vector;
using Eigen::VectorXd;
using Eigen::MatrixXd;
namespace ltr {
template<class TElement>
class LinearLearner : public BaseLearner<TElement, LinearScorer> {
public:
typedef ltr::utility::shared_ptr<LinearLearner> Ptr;
explicit LinearLearner(const ParametersContainer& parameters) {
// DO NOTHING
}
LinearLearner() {
// DO NOTHING
}
// \TODO ? Implement
void reset() {}
// \TODO ? Implement
void setInitialScorer(const LinearScorer& scorer) {}
private:
void learnImpl(const DataSet<TElement>& data, LinearScorer* scorer);
virtual string getDefaultAlias() const {return "LinearLearner";}
};
template<class TElement>
void LinearLearner<TElement>::learnImpl(const DataSet<TElement>& data,
LinearScorer* scorer) {
INFO("Learning started");
VectorXd Y(data.size());
for (int i = 0; i < Y.size(); ++i) {
INFO("Getting the label of %d element.", i);
Y(i) = data[i].actual_label();
}
MatrixXd X(data.size(), data.feature_count() + 1);
for (int object_index = 0; object_index < data.size(); ++object_index) {
X(object_index, 0) = 1.0;
for (int feature_index = 0;
feature_index < data.feature_count(); ++feature_index) {
X(object_index, feature_index + 1) =
data[object_index][feature_index];
}
}
// XTW = X^T W
INFO("Calculating XTW matrix");
MatrixXd XTW = X.transpose();
for (int i = 0; i < data.size(); ++i) {
XTW.col(i) *= data.getWeight(i);
}
VectorXd b;
b = (XTW * X).ldlt().solve(XTW * Y);
// \TODO rewrite when LinearScorer
// will have set_weights or set_weight(i, weight)
vector<double> weights(b.size());
for (int i = 0; i < b.size(); ++i) {
weights[i] = b[i];
}
*scorer = LinearScorer(weights);
}
}
#endif // LTR_LEARNERS_LINEAR_LEARNER_LINEAR_LEARNER_H_
|
#ifndef TREEFACE_SCENE_GRAPH_MATERIAL_H
#define TREEFACE_SCENE_GRAPH_MATERIAL_H
#include "treeface/scene/Material.h"
#include "treeface/math/Mat4.h"
#include <treecore/Identifier.h>
#define GLEW_STATIC
#include <GL/glew.h>
namespace treeface {
class SceneGraphMaterial: public Material
{
friend class MaterialManager;
friend class SceneRenderer;
public:
static const treecore::Identifier UNIFORM_MATRIX_MODEL_VIEW;
static const treecore::Identifier UNIFORM_MATRIX_PROJECT;
static const treecore::Identifier UNIFORM_MATRIX_MODEL_VIEW_PROJECT;
static const treecore::Identifier UNIFORM_MATRIX_NORMAL;
static const treecore::Identifier UNIFORM_GLOBAL_LIGHT_DIRECTION;
static const treecore::Identifier UNIFORM_GLOBAL_LIGHT_COLOR;
static const treecore::Identifier UNIFORM_GLOBAL_LIGHT_AMBIENT;
SceneGraphMaterial() = default;
virtual ~SceneGraphMaterial();
void init( Program* program ) override;
void set_matrix_model_view( const Mat4f& mat ) const noexcept;
void set_matrix_proj( const Mat4f& mat ) const noexcept;
void set_matrix_model_view_proj( const Mat4f& mat ) const noexcept;
void set_matrix_norm( const Mat4f& mat ) const noexcept;
void set_light( const Vec4f& direction, const Vec4f& color, const Vec4f& ambient ) const noexcept;
bool is_translucent() const noexcept
{
return m_translucent;
}
bool project_shadow() const noexcept
{
return m_project_shadow;
}
bool receive_shadow() const noexcept
{
return m_receive_shadow;
}
TREECORE_DECLARE_NON_COPYABLE( SceneGraphMaterial );
TREECORE_DECLARE_NON_MOVABLE( SceneGraphMaterial );
protected:
treecore::String get_shader_source_addition() const noexcept override;
bool m_translucent = false;
bool m_project_shadow = true;
bool m_receive_shadow = true;
GLint m_uni_model_view = -1;
GLint m_uni_proj = -1;
GLint m_uni_model_view_proj = -1;
GLint m_uni_norm = -1;
GLint m_uni_light_direct = -1;
GLint m_uni_light_color = -1;
GLint m_uni_light_ambient = -1;
};
} // namespace treeface
#endif // TREEFACE_SCENE_GRAPH_MATERIAL_H
|
#include <iostream>
struct Rect {
int width;
int heigth;
Rect( int x, int y ) { // constructor
width = x;
heigth = y;
}
int area( int, int );
};
int Rect::area( int width, int heigth) {
return width * heigth;
}
// A function to merge the two half into a sorted data.
void merge(int arr[], int low, int high, int mid)
{
// We have low to mid and mid+1 to high already sorted.
int i, j, k, temp[high-low+1];
i = low;
k = 0;
j = mid + 1;
// Merge the two parts into temp[].
while (i <= mid && j <= high)
{
if (arr[i] < arr[j])
{
temp[k] = arr[i];
k++;
i++;
}
else
{
temp[k] = arr[j];
k++;
j++;
}
}
// Insert all the remaining values from i to mid into temp[].
while (i <= mid)
{
temp[k] = arr[i];
k++;
i++;
}
// Insert all the remaining values from j to high into temp[].
while (j <= high)
{
temp[k] = arr[j];
k++;
j++;
}
// Assign sorted data stored in temp[] to arr[].
for (i = low; i <= high; i++)
{
arr[i] = temp[i-low];
}
}
// A function to split array into two parts.
void mergeSort(int arr[], int low, int high)
{
int mid;
if (low < high)
{
mid=(low+high)/2;
// Split the data into two half.
mergeSort(arr, low, mid);
mergeSort(arr, mid+1, high);
// Merge them to get sorted output.
merge(arr, low, high, mid);
}
}
int main() {
Rect *r1 = new Rect( 2, 5 );
Rect *r2 = new Rect( 5, 8 );
Rect *r3 = new Rect( 6, 2 );
Rect *r4 = new Rect( 9, 4 );
Rect *r5 = new Rect( 7, 3 );
int result1 = r1->area(r1->width, r1->heigth);
int result2 = r2->area(r2->width, r2->heigth);
int result3 = r3->area(r3->width, r3->heigth);
int result4 = r4->area(r4->width, r4->heigth);
int result5 = r5->area(r5->width, r5->heigth);
int arr[5] = { result1, result2, result3, result4, result5 };
std::cout << "The given array is : ";
for(int i = 0; i < 5; ++i ) {
std::cout << arr[i] << " ";
}
std::cout << "\n";
mergeSort( arr, 0, 4 );
std::cout << "The sorted array is : ";
for( int i = 0; i < 5; ++i ) {
std::cout << arr[i] << " ";
}
std::cout << "\n";
return 0;
}
|
#include "SatSolver.h"
using namespace std;
void SatSolver::checkInvariant(){
#ifndef NDEBUG
// check sizes.
if(_model.size() > _numVar){
cout << "model too big :" << _model.size() << " " << _numVar << endl;
printModel();
cout << endl;
assert(false);
}
assert(_used.size() == _numVar);
assert(_value.size() == _numVar);
assert(_watched.size() == 2 * _numVar);
// model & used & value self coherence
// I'll set used and value to their correct values and then compare them.
Bitset used(_numVar);
Bitset value(_numVar);
used.clear();
value.clear();
for(auto& mlit : _model){
// set used and value
used[mlit.var.i] = true;
value[mlit.var.i] = ! mlit.var.b;
// If decision literal stop here
if(&mlit.decidingCl == nullptr) continue;
// The deciding clause must be a set
assert(isSet(mlit.decidingCl));
for(DInt di : mlit.decidingCl){
// The deciding clause must contained either the current literal
// or the negation of preceding literal in the model.
if(di.i == mlit.var.i){
assert(di.b == mlit.var.b);
}
else{
assert(used[di.i]);
if(value[di.i] != di.b){
cerr << value << " " << di << endl;
assert(false);
}
}
}
}
assert(_used == used);
for(size_t i= 0 ; i < _numVar ; ++i){
if(used[i]){
assert(_value[i] == value[i]);
}
}
#endif
}
void SatSolver::setVar(DInt var){
// update used and value and add affected clauses to _toUpdate.
assert(!_used[var.i]);
for(DInt cl : _watched[!var]){
_toUpdate.push_back(cl);
}
_used[var.i] = true;
_value[var.i] = !var.b;
}
bool SatSolver::decide(){
checkInvariant();
// we can't decide if their is still clauses to be updated.
assert(_toUpdate.empty());
// first unaffected var.
int var = _used.usf();
// their is no unaffected vars :
if(var == -1) return true; // YEAH : SAT
assert(!_used[var]);
setVar(DInt(false,var));
_model.push_back(MLit(DInt(false,var),nullptr));
if(_verbose) {
cout << endl << "Deciding var " << var+1 << endl << "New model : ";
printModel();
cout << endl;
}
return false;
}
void SatSolver::unit(DInt var, std::vector<DInt>& decCl){
assert(!_used[var.i]);
assert(isSet(decCl));
setVar(var);
_model.push_back(MLit(var,&decCl));
}
void SatSolver::unit(DInt var, int clause){
assert(!_used[var.i]);
setVar(var);
_model.push_back(MLit(var,_clauses[clause].clause));
}
SatSolver::SatSolver(int numVar, bool verbose)
: _numVar(numVar), _verbose(verbose), _used(numVar), _value(numVar){
_used.clear();
_value.clear();
_watched.resize(2*numVar);
}
void SatSolver::conflict(int clause){ // Conflict by resolution then backjump
assert((size_t)clause < _clauses.size());
checkInvariant();
// other clauses to be updated are useless when there is a conflict.
_toUpdate.clear();
// new dynamic clauses on heap.
vector<DInt>& R = *new std::vector<DInt>(_clauses[clause].clause);
if(_verbose ) cout << endl <<endl << "Conflict on clause : " << R
<< ". Starting resolution !" << endl;
// We are going through the model backward until a decision variable in R is met.
// Then we backjump as far a possible and we add the variable with the clause R.
while(!_model.empty() and !R.empty()){
MLit& cur = _model.back();
assert(!in(cur.var,R)); // the variable is not in R (R should always be a conflict).
if(in(!cur.var,R)){ // If we are concerned by R.
if(&cur.decidingCl == nullptr){ // start backjump
if(_verbose){
cout << endl << "Conflict end on decision literal : " << cur.var
<< " with clause : " << R << endl;
}
int i;
int lastDeciLit = _model.size() -1;
for(i = _model.size() -2 ; i >= 0 ; --i){
if(in(!_model[i].var,R)) {
// If we found another variable in the model, we can't backjump past it.
break;
}
if(&_model[i].decidingCl == nullptr) lastDeciLit = i;
}
DInt v = cur.var;
v = !v;
for(size_t i = lastDeciLit ; i < _model.size() ; ++i){
_used[_model[i].var.i] = false;
}
_model.resize(lastDeciLit);
unit(v,R);
if (_verbose){
cout << "New model : ";
printModel();
cout << endl << "End of Conflict : Return to exploration !" << endl << endl;
}
checkInvariant();
return;
}
else{
fusion(R,cur.decidingCl);
if(_verbose) cout << endl << "Resolve on var : " << cur.var
<< " with new R : " << R << endl;
_used[_model.back().var.i] = false;
_model.pop_back();
if(_verbose) {
cout << "New model : ";
printModel();
cout << endl;
}
}
}
else {// If we are not concerned by R, just pop back the model.
_used[_model.back().var.i] = false;
_model.pop_back();
}
}
cout << "-------------------UNSAT----------------------" << endl;
throw 0;
}
void SatSolver::handle(){
checkInvariant();
DInt clNum = _toUpdate.front();
_toUpdate.pop_front();
Clause& cl = _clauses.at(clNum.i);
if(clNum.b){ // mutating wl2
if(_verbose){
cout << endl << "Updating second watched literal because of "
<< !cl.clause[cl.wl1] << " in clause "
<< clNum.i << " : " << cl << endl;
cout << "in the model : ";
printModel();
cout << endl;
}
assert(isFalse(cl.clause[cl.wl2]));
// First case : the other watched literal is true.
if(isTrue(cl.clause[cl.wl1])) return;
for(size_t i = 0 ; i < cl.clause.size() ; ++ i){
if (i == cl.wl1 or i == cl.wl2) continue;
if(!isFalse(cl.clause[i])){
// Second case, we can still watch another literal
if(_verbose) cout << "new watched literal found " << cl.clause[i]
<< " at : " << i << endl;
_watched[cl.clause[cl.wl2]].erase(clNum);
cl.wl2 = i;
_watched[cl.clause[cl.wl2]].insert(clNum);
return;
}
}
// third case we can't find other places and the other WL is false : conflict.
if(isFalse(cl.clause[cl.wl1])){
conflict(clNum.i);
return;
}
// last case, the only not false literal is the other one.
unit(cl.clause[cl.wl1],clNum.i);
if(_verbose){
cout << "Applied unit on var : " << cl.clause[cl.wl1] << endl;
cout << "New model : ";
printModel();
cout << endl;
}
}
else{ // mutating wl1
if(_verbose){
cout << endl << "Updating first watched literal because of "
<< !cl.clause[cl.wl1] << " in clause "
<< clNum.i << " : " << cl << endl;
cout << "in the model : ";
printModel();
cout << endl;
}
assert(isFalse(cl.clause[cl.wl1]));
if(isTrue(cl.clause[cl.wl2])) return;
for(size_t i = 0 ; i < cl.clause.size() ; ++ i){
if (i == cl.wl1 or i == cl.wl2) continue;
if(!isFalse(cl.clause[i])){
if(_verbose) cout << "New watched literal found " << cl.clause[i]
<< " at : " << i << endl;
_watched[cl.clause[cl.wl1]].erase(clNum);
cl.wl1 = i;
_watched[cl.clause[cl.wl1]].insert(clNum);
return;
}
}
if(isFalse(cl.clause[cl.wl2])){
conflict(clNum.i);
return;
}
unit(cl.clause[cl.wl2],clNum.i);
if(_verbose){
cout << "Applied unit on var : " << cl.clause[cl.wl2] << endl;
cout << "New model : ";
printModel();
cout << endl;
}
}
}
void SatSolver::import(const SatCnf& sc){
assert(sc._numVar == _numVar);
for(auto cl : sc.clauses){
addSMTConflict(cl);
}
}
void SatSolver::addSMTConflict(SatCnf::Clause& cl){
auto toDInt = [](SatCnf::Literal lit){ return DInt{lit.neg,lit.var};};
bool begin = _model.empty();
if(cl.literals.size() == 0) return; // this clause is satisfiable
else{
Clause cl2;
for(auto lit : cl.literals){
cl2.clause.push_back(toDInt(lit));
}
sort(cl2.clause.begin(), cl2.clause.end());
if(begin){
cl2.wl1 = 0;
cl2.wl2 = cl.literals.size() -1;
}
else{
bool second = false;
for(int i = _model.size() -1 ; i >= 0 ; -- i){
if(in(!_model[i].var,cl2.clause)){
if(!second){
cl2.wl1 = index(!_model[i].var,cl2.clause);
second = true;
}
else{
cl2.wl2 = index(!_model[i].var,cl2.clause);
break;
}
}
}
}
_watched[cl2.clause[cl2.wl1]].insert(DInt(false,_clauses.size()));
_watched[cl2.clause[cl2.wl2]].insert(DInt(true,_clauses.size()));
if(_verbose){
cout << "Creating clause " << _clauses.size() << " : " << cl2 << endl;
//printWatched();
}
_clauses.push_back(cl2);
}
}
std::vector<bool> SatSolver::solve(){
try{
if(!_model.empty()){
conflict(_clauses.size() -1);
goto middle;
}
while(!decide()){
middle:
while(!_toUpdate.empty()){
handle();
}
}
}
catch(int i){
return {};
}
if(_verbose){
cout << "SAT with model : ";
printModel();
cout << endl;
}
vector<bool> res;
for(size_t i = 0 ; i <_numVar ; ++i){
res.push_back(_value[i]);
}
return res;
}
|
#include <cstdio>
using namespace std;
int main(){
const int N=5;
typedef int vecto[N];
vecto Urna;
int nota;
printf("Introduzca nota Mates, Quimica, Lengua, Historia y Economia: ");
for(int i=0; i<N;i++){
scanf("%d", ¬a);
Urna[i] = nota;
}
for(int i=0; i<N;i++){
switch(Urna[i]){
case 1:
case 2:
case 3:
case 4: printf("\nSuspenso");
break;
case 5:
case 6: printf("\nBien");
break;
case 7:
case 8: printf("\nNotable");
break;
case 9:
case 10: printf("\nSobresalido");
break;
}
}
}
|
// avr-libc library includes
#include <avr/io.h>
#include <avr/interrupt.h>
#define LEDPIN 2
#define INPUTPIN 3
void setup()
{
pinMode(LEDPIN, OUTPUT);
pinMode(INPUTPIN, INPUT);
// initialize Timer1
cli(); // disable global interrupts
TCCR1A = 0; // set entire TCCR1A register to 0
TCCR1B = 0;
// enable Timer1 overflow interrupt:
TIMSK1 = (1 << TOIE1);
// Set CS10 bit so timer runs at clock speed:
TCCR1B |= (1 << CS10);
// enable global interrupts:
sei();
}
ISR(TIMER1_OVF_vect)
{
digitalWrite(LEDPIN, digitalRead(INPUTPIN));
}
void loop()
{
}
|
//
// AcidResampler.cpp
// SRXvert
//
// Created by Dennis Lapchenko on 06/05/2016.
//
//
#include "AcidResampler.h"
using namespace AcidR;
AcidResampler::AcidResampler()
{
}
AcidResampler::~AcidResampler()
{
}
bool AcidResampler::resample(AcidAudioBuffer *inputBuffer, AcidAudioBuffer *outputBuffer, double newSampleRate, int interpType)
{
double srRatio;
if (inputBuffer->getSampleRate() > newSampleRate) srRatio = inputBuffer->getSampleRate() / newSampleRate; //decimation ratio
else srRatio = newSampleRate / inputBuffer->getSampleRate(); //upsampling ratio
double srIncrement = srRatio - 1, //the amount to add to the Counter to know when to add/decimate extra samples
srAddCount = 0.0f;
int inputSamples = inputBuffer->getNumSamples(),
outputSamples = inputSamples * (newSampleRate / inputBuffer->getSampleRate());
outputBuffer->setSize(inputBuffer->getNumChannels(), outputSamples);
if (inputBuffer->getSampleRate() == newSampleRate) //if file's samplerate is same as chosen samplerate, the buffer is a straight copy
{
outputBuffer->makeCopyOf(*inputBuffer);
return true;
}
for(int channel = 0; channel < outputBuffer->getNumChannels(); channel++) //iterating through 1 or 2 channels
{
const float* readingHead = inputBuffer-> getReadPointer(channel);
float* writingHead = outputBuffer-> getWritePointer(channel);
//Juce built-in sample converter, using 4point lagrange interpolation
if(interpType == 4)
{
LagrangeInterpolator lagrange;
lagrange.process(inputBuffer->getSampleRate()/newSampleRate, readingHead, writingHead, outputSamples);
lagrange.reset();
continue; //<- skips all code below and continues to next channel loop iteration
}
int readingIndex = 0,
writingIndex = 0;
if (inputBuffer->getSampleRate() < newSampleRate) //UPSAMPLING INTERPOLATION
{
while (readingIndex < inputSamples)
{
writingHead[writingIndex++] = readingHead[readingIndex];
srAddCount += srIncrement;
if(std::abs(srAddCount) >= 1 && readingIndex+1 <= inputSamples) //if increment counter has reached above 1 = its time to add samples!
{ //+ checks to not go outside of buffer bounds
int samplesToAdd = std::abs(srAddCount);
for(int i = 0; i < samplesToAdd; ++i)
{
double mu = (1/(samplesToAdd+1) * i);
writingHead[writingIndex++] = interpolate(interpType, readingHead, readingIndex, inputSamples, mu);
}
srAddCount -= samplesToAdd;
}
readingIndex++;
//DBG("INTERP: "+String(readingIndex)+"/"+String(inputSamples)+" : "+ String(writingIndex)+"/"+String(outputSamples));
};
}
else if (inputBuffer->getSampleRate() > newSampleRate) //DOWNSAMPLING DECIMATION
{
while (readingIndex < inputSamples)
{
writingHead[writingIndex++] = readingHead[readingIndex];
srAddCount += srIncrement;
if(std::abs(srAddCount) >= 1 && readingIndex+1 <= inputSamples) //if increment counter has reached above 1 = its time to decimate samples!
{ //+ checks to not go outside of buffer bounds
int samplesToDecimate = std::abs(srAddCount);
for(int i = 0; i < samplesToDecimate; ++i)
{
readingIndex++; //skip readers samples
}
srAddCount -= samplesToDecimate;
}
readingIndex++;
//DBG("DECIM: "+String(readingIndex)+"/"+String(inputSamples)+" : "+ String(writingIndex)+"/"+String(outputSamples));
};
}
//IIR ANTI-ALIASING Filter
IIRFilter IIRfilter;
IIRfilter.setCoefficients(IIRCoefficients::makeLowPass(newSampleRate, newSampleRate*0.5f));
for(int i = 0; i < 2; i++) //applies the filter 2 times to each channel for better anti-aliasing effect
{
IIRfilter.processSamples(writingHead, outputSamples);
IIRfilter.reset();
}
readingHead = nullptr;
writingHead = nullptr;
}
return true;
}
float AcidResampler::interpolate(int interpType, const float *readingHead, int currentIndex, int maxIndex, double mu)
{
float result;
float s0,
s1 = (currentIndex >= maxIndex) ? 0 : readingHead[currentIndex],
s2 = (currentIndex+1 >= maxIndex) ? 0 :readingHead[currentIndex+1],
s3; //s0 & s3 are the additional points for cubic interpolation
float mu2; //needed for cosine and cubic interpolation
switch(interpType)
{
case(1): //LINEAR
result = (s1*(1-mu) + s2*mu);
break;
case(2): //COSINE
mu2 = (1-cos(mu*double_Pi))/2;
result = (s1*(1-mu2) + s2*mu2);
break;
case(3): //CUBIC
s0 = (currentIndex < 1) ? 0.0 : readingHead[currentIndex-1]; //if current sample is first one, add a 0 as first cubic interp sample
s3 = (currentIndex+2 > maxIndex) ? 0.0 : readingHead[currentIndex+2]; //if taking sample 2 positions ahead would go outside buffer - add a 0
mu2 = mu*mu;
float a0, a1, a2, a3;
a0 = s3 - s2 - s0 + s1;
a1 = s0 - s1 - a0;
a2 = s2 - s0;
a3 = s1;
result = (a0*mu*mu2 + a1*mu2 + a2*mu + a3);
break;
case(4):
//Lagrange conversion & filtering is used, with almost whole resample() bodu being skipped
break;
default:
//jassert(interpType < 3); //interpolation enum not created
break;
}
return result;
};
|
#include "SVP.h"
SVP::SVP(QWidget *parent)
: QMainWindow(parent)
{
ui = new Ui::SVPClass();
ui->setupUi(this);
connect(ui->buttonRedraw, SIGNAL(clicked()), this, SLOT(buttonRedrawClicked()));
connect(ui->buttonVar, SIGNAL(clicked()), this, SLOT(buttonVarClicked()));
integrator = new RungeKuttaIntegrator(nullptr, nullptr, 0, 0, 0, false);
//ui->drawLabel
}
void SVP::buttonRedrawClicked() {
integrator->simulate();
ui->drawLabel->setPixmap(integrator->paint());
}
void SVP::buttonVarClicked() {
ui->buttonVar->setText("Hallo =D");
mxArray* A = mxCreateDoubleMatrix(1000, 10, mxREAL);
int index = 1;
for (auto lineIterator = integrator->lines.begin(); lineIterator != integrator->lines.end(); lineIterator++) {
std::list<Vector2> points = *lineIterator;
float i = 0.0f;
if (points.size() > 1) {
auto pointIterator = points.begin();
Vector2 current = *pointIterator++;
//Vector2 current = *pointIterator++;
while (pointIterator != points.end()) {
mxSetCell(A, index, mxCreateDoubleScalar(current.x()));
mxSetCell(A, index + 500, mxCreateDoubleScalar(current.y()));
index++;
current = *pointIterator++;
std::cout << std::to_string(current.x()) << ' ' << std::to_string(current.y()) << std::endl;
}
}
index += 500;
}
Engine *ep;
if (!(ep = engOpen(""))) {
fprintf(stderr, "\nCan't start MATLAB engine\n");
}
engEvalString(ep, "addpath('D:\\TU\\Master\\Semester 1\\Visualisierung 2\\Visualisierung_2\\Matlab')");
engPutVariable(ep, "Z", A);
engEvalString(ep, "pca");
//engEvalString(ep, "figure;");
}
|
#pragma once
#include <string>
#include <vector>
#include <embree2/rtcore.h>
#include "Material.h"
class TriangleMesh
{
// Embree Data
unsigned geomID = RTC_INVALID_GEOMETRY_ID;
RTCScene scene = nullptr;
// Vertex Streams
struct Normal* n = nullptr;
struct TextureCoord* uv = nullptr;
public:
TriangleMesh() = default;
~TriangleMesh();
TriangleMesh(
RTCScene InScene,
const std::vector<float>& inP,
const std::vector<float>& inN,
const std::vector<float>& inUV,
const std::vector<int>& inIndices,
size_t numTriangles,
size_t numVertices);
};
void LoadObjMesh(const std::string & Filename, RTCScene scene, std::vector<TriangleMesh*>& OutMeshes, std::vector<Material>& OutMaterials);
|
#ifndef __SERVER_NET_TCP_SERVER_SOCKET_H_INCLUDED__
#define __SERVER_NET_TCP_SERVER_SOCKET_H_INCLUDED__
#include <netdb.h>
#include <communicating_tcp_socket.hpp>
namespace server {
namespace net {
class tcp_server_socket : public generic_socket {
public:
explicit tcp_server_socket();
void prepare_and_listen(std::string bind_hostname, int bind_port);
communicating_tcp_socket accept();
private:
void bind();
void set_listen(int queue_len = 5);
void set_addr_port(std::string bind_hostname, int bind_port);
sockaddr_in local_addr_;
};
}
}
#endif
|
// ArdcodeCreator.h - Creates code for arduino
#ifndef NEOPIXELCODECONVERTER_h
#define NEOPIXELCODECONVERTER_h
#include <iostream>
#include <fstream>
#include <vector>
#include <string>
#include <LightParameter.h>
using namespace std;
/** \class NeoPixelCodeConverter
* \brief Responsible for creating code for the arduino
*/
class NeoPixelCodeConverter{
public:
void create(vector<LightParameter> b, int no_Leds, int no_Patterns, string file);
uint32_t Color(uint8_t r, uint8_t g, uint8_t b);
uint32_t Color(uint8_t r, uint8_t g, uint8_t b, uint8_t w);
};
#endif
|
#ifndef NOTIFYPROVIDER_H
#define NOTIFYPROVIDER_H
#include <QObject>
#include <logmonitor.h>
#include <SMSReciever.h>
#include <QDateTime>
#include <CenRepObserver.h>
#include <qcontactfetchrequest.h>
#include <QSettings>
#include <const.h>
#include <QDebug>
#include <e32base.h>
QTM_USE_NAMESPACE
const TUid KSMSNotifUid={0x101F87A8};
const TUint32 KSMSNotifKey=0x6;
const TUid KCallsNotifUid={0x101F874E};
const TUint32 KCallsNotifKey=0x6;
enum TNotifType{
ESMS=2,
EEmail=4,
EMissedCall=5,
ETwitter=1
};
struct TNotifyInfo
{
QString sender;
QString text;
QString time;
QDateTime timeStamp;
TNotifType type;
TInt32 id;
TBuf16<255> native_number;
int count;
int operator ==(TNotifyInfo info){
if (type==EMissedCall&&info.type==EMissedCall)
{
qDebug()<<type<<id<<count<<time<<text<<sender;
qDebug()<<"compare"<<sender<<info.sender;
if (native_number.Match(info.native_number)!=KErrNotFound) return 1;
else return 0;
}
else if (type==ESMS&&info.type==ESMS)
{
if (id==info.id) return 1;
else return 0;
}
else return 0;
}
};
class NotifyProvider : public QObject,public MLogMonitor, public MSMSRecCallBack, public MCRCallBack
{
Q_OBJECT
private:
CCenRepObserver* iCallCounter;
CCenRepObserver* iSMSCounter;
CLogMonitor* iLogs;
CSMSReceiver* iSMS;
QList<TNotifyInfo> iNotifiers;
void prepareNotifier(TNotifyInfo info,TNotifType type);
void prepareNotifierUpdate(TNotifyInfo info, int same,int index);
void clearNotifiers(TNotifType type);
QString findContact(QString number);
QContactManager* contacts;
int iSMSCount;
int iCallsCount;
public:
explicit NotifyProvider(QObject *parent = 0);
void TextValueChanged(TUid uid,TUint32 key,TPtrC aValue,TInt aErr);
void ValueChanged(TUid uid, TUint32 key, TInt aValue, TInt aErr);
void LogEventL(const CLogEvent& event);
void GotSMSMessageL(QString aMessage,const TPtrC aSender,TInt32 id);
void MarkSMSRead(TInt32 aId);
signals:
void addNotifier(QString from,QString text,QString time, QString icon,int type);
void updateNotifier(int index,QString from,QString text,QString time, QString icon,int type);
void removeNotifier(int index);
void Unlock();
void updateCallCount(int count);
void updateSMSCount(int count);
void SuspendApp(int show);
void unSuspendApp();
public slots:
void openViewer(int index);
};
#endif // NOTIFYPROVIDER_H
|
#include <iostream>
#include <fstream>
#include <vector>
#include <cstdlib>
using namespace std;
class Cell
{
public :
int row;
int column;
};
class mazeSolver
{
public:
int rows, cols;
Cell start, finish;
bool isPath;
vector<Cell> path;
void toSolve(bool **maze);
bool solve_recursive(bool **maze, int currentRow,int currentCol, int previousRow, int previousCol);
void toString(bool **maze);
};
int main()
{
ifstream in;
in.open("sampleMaze.txt");
if (in.fail())
{
cout << "Error Reading Maze!\n";
return 0;
}
Cell tempcell;
string tempstr;
char tempchr;
mazeSolver mymaze;
// getting headers
in >> tempstr >> mymaze.rows >> tempstr >> mymaze.cols;
in >> tempstr >> tempchr >> mymaze.start.row >> tempchr >> mymaze.start.column >> tempchr;
in >> tempstr >> tempchr >> mymaze.finish.row >> tempchr >> mymaze.finish.column >> tempchr;
// generating maze
bool **maze = new bool*[mymaze.rows];
for (int i = 0; i < mymaze.rows; i++)
{
maze[i] = new bool[mymaze.cols];
}
for (int i = 0; i < mymaze.rows; i++)
{
for (int j = 0; j < mymaze.cols; j++)
{
maze[i][j] = false;
}
}
// filling in the available paths
while (!in.eof())
{
in >> tempchr >> tempcell.row >> tempchr >> tempcell.column >> tempchr;
maze[tempcell.row][tempcell.column] = true;
}
in.close();
// Printing the maze
cout << " ";
for (int i = 0; i < mymaze.cols; i++)
{
cout << i;
}
cout << endl;
for (int i = 0; i < mymaze.rows; i++)
{
cout << i;
for (int j = 0; j < mymaze.cols; j++)
{
if (maze[i][j] == true)
{
cout << " ";
}
else
{
cout << "#";
}
}
cout << endl;
}
cout << endl << endl;
mymaze.toSolve(maze);
mymaze.toString(maze);
}
void mazeSolver::toSolve(bool **maze)
{
Cell temp;
temp.row = start.row;
temp.column = start.column;
path.push_back(temp);
bool success = false;
if ((start.row != 0) && (maze[start.row - 1][start.column] == true))
{
success = solve_recursive(maze, start.row - 1, start.column, start.row, start.column);
}
else if ((start.column != 0) && (maze[start.row][start.column - 1] == true))
{
success = solve_recursive(maze, start.row, start.column - 1, start.row, start.column);
}
else if ((start.row != rows - 1) && (maze[start.row + 1][start.column] == true))
{
success = solve_recursive(maze, start.row + 1, start.column, start.row, start.column);
}
else if ((start.column != cols - 1) && (maze[start.row][start.column + 1] == true))
{
success = solve_recursive(maze, start.row, start.column + 1, start.row, start.column);
}
else
{
success = false;
}
if (success == true)
{
isPath = true;
toString(maze);
exit(1);
}
else
{
isPath = false;
toString(maze);
exit(1);
}
}
bool mazeSolver::solve_recursive(bool **maze, int currentRow, int currentCol, int previousRow, int previousCol)
{
Cell temp;
temp.row = currentRow;
temp.column = currentCol;
path.push_back(temp);
if (currentRow == finish.row && currentCol == finish.column)
{
return true;
}
if ((currentRow != 0) && (maze[currentRow - 1][currentCol] == true) && (currentRow - 1 != previousRow))
{
return solve_recursive(maze, currentRow - 1, currentCol, currentRow, currentCol);
}
else if ((currentCol != 0) && (maze[currentRow][currentCol - 1] == true) && (currentCol - 1 != previousCol))
{
return solve_recursive(maze, currentRow, currentCol - 1, currentRow, currentCol);
}
else if ((currentRow != rows - 1) && (maze[currentRow + 1][currentCol] == true) && (currentRow + 1 != previousRow))
{
return solve_recursive(maze, currentRow + 1, currentCol, currentRow, currentCol);
}
else if ((currentCol != cols - 1) && (maze[currentRow][currentCol + 1] == true) && (currentCol + 1 != previousCol))
{
return solve_recursive(maze, currentRow, currentCol + 1, currentRow, currentCol);
}
else if (maze[previousRow][previousCol] == true)
{
maze[currentRow][currentCol] = false;
while (!path.empty())
{
path.pop_back();
}
toSolve(maze);
}
else
{
return false;
}
}
void mazeSolver::toString(bool **maze)
{
if (isPath == true)
{
cout << "Success" << endl << endl;
cout << "[ ";
for (int i = 0; i < path.size(); i++)
{
cout << "(" << path[i].row << "," << path[i].column << ") ";
}
cout << "]";
}
else
{
cout << "No Path Found!\n";
}
}
|
#include <YunClient.h>
#include <Console.h>
#include <Bridge.h>
#include <BridgeServer.h>
#include <Mailbox.h>
#include <BridgeSSLClient.h>
#include <HttpClient.h>
#include <FileIO.h>
#include <Process.h>
#include <BridgeClient.h>
#include <YunServer.h>
#include <SPI.h>
#include <YunClient.h>
#include <IPStack.h>
#include <Countdown.h>
#include <MQTTClient.h>
#include <BridgeUdp.h>
#include <dht11.h>
// Define necessary variables
#define MQTT_MAX_PACKET_SIZE 100
#define SIZE 100
#define MQTT_PORT 1883
#define PUBLISH_TOPIC "iot-2/evt/status/fmt/json"
#define SUBSCRIBE_TOPIC "iot-2/cmd/+/fmt/json"
#define AUTHMETHOD "use-token-auth"
// Authenticationec
#define CLIENT_ID "d:3gyk83:arduinoyun:Arduino_Yun"
#define MS_PROXY "3gyk83.messaging.internetofthings.ibmcloud.com"
#define AUTHTOKEN "Uo?vI2T(vUNR?&o-NO"
YunClient c;
IPStack ipstack(c);
MQTT::Client<IPStack, Countdown, 100, 1> client = MQTT::Client<IPStack, Countdown, 100, 1>(ipstack);
void messageArrived(MQTT::MessageData& md);
String deviceEvent;
int decider = 0;
void setup() {
//Default setup
Bridge.begin();
Console.begin();
Serial.begin(9600);
// Set pins as I/O
pinMode(7,OUTPUT);
pinMode(13, OUTPUT);
delay(1000);
}
void loop() {
/* INPUTS */
// Smoke sensor
int smokePin = 14;
int smoke = 0;
smoke = analogRead(smokePin);
// Movement sensor
int movePin = 15;
int movement = 0;
movement = analogRead(movePin);
// Temperature
int tempPin=7;
dht11 tempSensor;
int chk = tempSensor.read(tempPin);
/****************************************************/
int rc = -1;
if (!client.isConnected()) {
Serial.print("Connecting using Registered mode with clientid : ");
Serial.print(CLIENT_ID);
Serial.print("\tto MQTT Broker : ");
Serial.print(MS_PROXY);
Serial.print("\ton topic : ");
Serial.println(PUBLISH_TOPIC);
ipstack.connect(MS_PROXY, MQTT_PORT);
MQTTPacket_connectData options = MQTTPacket_connectData_initializer;
options.MQTTVersion = 3;
options.clientID.cstring = CLIENT_ID;
options.username.cstring = AUTHMETHOD;
options.password.cstring = AUTHTOKEN;
options.keepAliveInterval = 10;
rc = -1;
while ((rc = client.connect(options)) != 0)
;
//unsubscribe the topic, if it had subscribed it before.
client.unsubscribe(SUBSCRIBE_TOPIC);
//Try to subscribe for commands
if ((rc = client.subscribe(SUBSCRIBE_TOPIC, MQTT::QOS0, messageArrived)) != 0) {
Serial.print("Subscribe failed with return code : ");
Serial.println(rc);
} else {
Serial.println("Subscribed\n");
}
Serial.println("Subscription tried......");
Serial.println("Connected successfully\n");
Serial.println("Sensor Values");
Serial.println("____________________________________________________________________________");
}
MQTT::Message message;
message.qos = MQTT::QOS0;
message.retained = false;
/****************************************************/
String smokeJson = "{\"d\":{\"device\":\"Arduino Yun\",\"s\":" + String(smoke) + " }}";
String humJson = "{\"d\":{\"device\":\"Arduino Yun\",\"h\":" + (String)tempSensor.humidity + " }}";
String tempJson = "{\"d\":{\"device\":\"Arduino Yun\",\"t\":" + (String)tempSensor.temperature + " }}";
String dewJson = "{\"d\":{\"device\":\"Arduino Yun\",\"dp\":" + (String)tempSensor.dewPoint() + "}}";
String moveJson = "{\"d\":{\"device\":\"Arduino Yun\",\"m\":" + (String)movement + " }}";
String json = "";
switch(decider) {
case 0 :
json = smokeJson;
decider += 1;
break;
case 1 :
json = moveJson;
decider += 1;
break;
case 2 :
json = humJson;
decider += 1;
break;
case 3 :
json = tempJson;
decider += 1;
break;
case 4 :
json = dewJson;
decider += 1;
break;
default :
printf("Invalid message\n" );
}
int i;
char *msg = (char*)malloc (json.length() * sizeof (char));
for (i = 0; i < json.length(); i++) {
msg[i] = json[i];
}
for (i = 0; i < json.length(); i++) {
Serial.print(msg[i]);
}
Serial.println();
message.payload = msg;
message.payloadlen = strlen(msg);
rc = client.publish(PUBLISH_TOPIC, message);
if (rc != 0) {
Serial.print("Message publish failed with return code : ");
Serial.println(rc);
}
if (decider == 5) {
decider = 0;
client.yield(5000);
Serial.println("Waiting...");
}
client.yield(2000);
free(msg);
}
void messageArrived(MQTT::MessageData& md) {
Serial.print("\nMessage Received\t");
MQTT::Message &message = md.message;
int topicLen = strlen(md.topicName.lenstring.data) + 1;
char * topic = md.topicName.lenstring.data;
topic[topicLen] = '\0';
int payloadLen = message.payloadlen + 1;
char * payload = (char*)message.payload;
payload[payloadLen] = '\0';
String topicStr = topic;
String payloadStr = payload;
int payloadInt = *payload;
Serial.print(payloadInt);
Serial.print("-");
Serial.print(1);
// Lights on - relay IN1
if (payloadInt == 49) {
digitalWrite(13, LOW);
}
// Lights off - relay IN1
else if (payloadInt == 50) {
digitalWrite(13, HIGH);
}
// Air conditioner on - relay IN2
if (payloadInt == 51) {
digitalWrite(12, HIGH);
}
// Air conditioner off - relay IN2
else if (payloadInt == 53) {
digitalWrite(12, LOW);
}
// Curtain on - relay IN3
if (payloadInt == 54) {
digitalWrite(11, HIGH);
}
// Curtaion off - relay IN3
else if (payloadInt == 55) {
digitalWrite(11, LOW);
}
/*
//Command topic: iot-2/cmd/blink/fmt/json
if(strstr(topic, "/cmd/blink") != NULL) {
Serial.print("Command IS Supported : ");
Serial.print(payload);
Serial.println("\t.....\n");
//Blink
for(int i = 0 ; i < 2 ; i++ ) {
digitalWrite(13, HIGH);
delay(1000);
digitalWrite(13, LOW);
delay(1000);
}
} else {
Serial.println("Command Not Supported:");
}*/
}
|
// OgreEditorDoc.cpp : implementation of the CTerrainEditorDoc class
//
#include "stdafx.h"
#include "OgreEditor.h"
#include "OgreEditorDoc.h"
#include "Editor.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// COgreEditorDoc
IMPLEMENT_DYNCREATE(COgreEditorDoc, CDocument)
BEGIN_MESSAGE_MAP(COgreEditorDoc, CDocument)
ON_COMMAND( ID_SELECT_MODE, OnSetSelectMode )
ON_COMMAND( ID_MOVE_MODE, OnSetMoveMode )
ON_COMMAND( ID_ROTATE_MODE, OnSetRotateMode )
ON_COMMAND( ID_SCALE_MODE, OnSetScaleMode )
ON_UPDATE_COMMAND_UI_RANGE(ID_SELECT_MODE, ID_SCALE_MODE, OnUpdateToolModeButton)
END_MESSAGE_MAP()
// COgreEditorDoc construction/destruction
COgreEditorDoc::COgreEditorDoc() : mToolModeId(ID_SELECT_MODE)
{
// TODO: add one-time construction code here
}
COgreEditorDoc::~COgreEditorDoc()
{
}
BOOL COgreEditorDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
GetEditor()->CreateLevel();
return TRUE;
}
BOOL COgreEditorDoc::OnOpenDocument(LPCTSTR lpszPathName)
{
if (!CDocument::OnOpenDocument(lpszPathName))
return FALSE;
GetEditor()->Load( lpszPathName );
return TRUE;
}
BOOL COgreEditorDoc::OnSaveDocument(LPCTSTR lpszPathName)
{
if (!CDocument::OnSaveDocument(lpszPathName))
return FALSE;
GetEditor()->SaveLevel();
return TRUE;
}
void COgreEditorDoc::OnCloseDocument()
{
CDocument::OnCloseDocument();
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
}
void COgreEditorDoc::OnSetSelectMode()
{
GetEditor()->SetToolMode( TOOL_SELECT );
mToolModeId = ID_SELECT_MODE;
}
void COgreEditorDoc::OnSetMoveMode()
{
GetEditor()->SetToolMode( TOOL_MOVE );
mToolModeId = ID_MOVE_MODE;
}
void COgreEditorDoc::OnSetRotateMode()
{
GetEditor()->SetToolMode( TOOL_ROTATE );
mToolModeId = ID_ROTATE_MODE;
}
void COgreEditorDoc::OnSetScaleMode()
{
GetEditor()->SetToolMode( TOOL_SCALE );
mToolModeId = ID_SCALE_MODE;
}
void COgreEditorDoc::OnUpdateToolModeButton(CCmdUI* pCmdUI)
{
pCmdUI->SetCheck(pCmdUI->m_nID == mToolModeId ? TRUE : FALSE);
}
// COgreEditorDoc serialization
void COgreEditorDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
// COgreEditorDoc diagnostics
#ifdef _DEBUG
void COgreEditorDoc::AssertValid() const
{
CDocument::AssertValid();
}
void COgreEditorDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
// COgreEditorDoc commands
|
#ifndef NMOS_SDP_UTILS_H
#define NMOS_SDP_UTILS_H
#include "bst/optional.h"
#include "cpprest/basic_utils.h"
#include "sdp/json.h"
#include "sdp/ntp.h"
#include "nmos/did_sdid.h"
#include "nmos/rational.h"
#include "nmos/vpid_code.h"
namespace nmos
{
struct sdp_parameters;
// Sender helper functions
namespace details
{
sdp::sampling make_sampling(const web::json::array& components);
}
sdp_parameters make_sdp_parameters(const web::json::value& node, const web::json::value& source, const web::json::value& flow, const web::json::value& sender, const std::vector<utility::string_t>& media_stream_ids, bst::optional<int> ptp_domain);
// deprecated, provided for backwards compatibility, because it may be necessary to also specify the PTP domain to generate an RFC 7273 'ts-refclk' attribute that meets the additional constraints of ST 2110-10
sdp_parameters make_sdp_parameters(const web::json::value& node, const web::json::value& source, const web::json::value& flow, const web::json::value& sender, const std::vector<utility::string_t>& media_stream_ids);
// Sender/Receiver helper functions
// Make a json representation of an SDP file, e.g. for sdp::make_session_description, from the specified parameters; explicitly specify whether 'source-filter' attributes are included to override the default behaviour
web::json::value make_session_description(const sdp_parameters& sdp_params, const web::json::value& transport_params, bst::optional<bool> source_filters = bst::nullopt);
// Receiver helper functions
// Get IS-05 transport parameters from the json representation of an SDP file, e.g. from sdp::parse_session_description
web::json::value get_session_description_transport_params(const web::json::value& session_description);
// Get other SDP parameters from the json representation of an SDP file, e.g. from sdp::parse_session_description
sdp_parameters get_session_description_sdp_parameters(const web::json::value& session_description);
// Get SDP parameters from the json representation of an SDP file, e.g. from sdp::parse_session_description
std::pair<sdp_parameters, web::json::value> parse_session_description(const web::json::value& session_description);
void validate_sdp_parameters(const web::json::value& receiver, const sdp_parameters& sdp_params);
struct sdp_parameters
{
struct origin_t
{
utility::string_t user_name;
uint64_t session_id;
uint64_t session_version;
origin_t() : session_id(), session_version() {}
origin_t(const utility::string_t& user_name, uint64_t session_id, uint64_t session_version)
: user_name(user_name)
, session_id(session_id)
, session_version(session_version)
{}
origin_t(const utility::string_t& user_name, uint64_t session_id_version)
: user_name(user_name)
, session_id(session_id_version)
, session_version(session_id_version)
{}
} origin;
utility::string_t session_name;
struct connection_data_t
{
utility::string_t base_address;
uint32_t ttl;
connection_data_t() : ttl() {}
connection_data_t(uint32_t ttl) : ttl(ttl) {}
connection_data_t(const utility::string_t& base_address, uint32_t ttl) : base_address(base_address), ttl(ttl) {}
} connection_data;
struct timing_t
{
uint64_t start_time;
uint64_t stop_time;
timing_t() : start_time(), stop_time() {}
timing_t(uint64_t start_time, uint64_t stop_time) : start_time(start_time), stop_time(stop_time) {}
} timing;
struct group_t
{
sdp::group_semantics_type semantics;
// stream identifiers for each leg when redundancy is being used, in the appropriate order
std::vector<utility::string_t> media_stream_ids;
group_t() {}
group_t(const sdp::group_semantics_type& semantics, const std::vector<utility::string_t>& media_stream_ids) : semantics(semantics), media_stream_ids(media_stream_ids) {}
} group;
sdp::media_type media_type;
uint64_t port;
sdp::protocol protocol;
struct rtpmap_t
{
uint64_t payload_type;
// encoding-name is "raw" for video, "L24" or "L16" for audio, "smpte291" for data, "SMPTE2022-6" for mux
utility::string_t encoding_name;
uint64_t clock_rate;
rtpmap_t() : payload_type(), clock_rate() {}
rtpmap_t(uint64_t payload_type, const utility::string_t& encoding_name, uint64_t clock_rate)
: payload_type(payload_type)
, encoding_name(encoding_name)
, clock_rate(clock_rate)
{}
} rtpmap;
// additional "video/raw" parameters (video only)
struct video_t
{
// fmtp indicates format
uint32_t width;
uint32_t height;
nmos::rational exactframerate;
bool interlace;
bool segmented;
sdp::sampling sampling;
uint32_t depth;
sdp::transfer_characteristic_system tcs; // nmos::transfer_characteristic is a subset
sdp::colorimetry colorimetry; // nmos::colorspace is a subset
sdp::type_parameter tp;
video_t() : width(), height(), interlace(), segmented(), depth() {}
video_t(uint32_t width, uint32_t height, const nmos::rational& exactframerate, bool interlace, bool segmented, const sdp::sampling& sampling, uint32_t depth, const sdp::transfer_characteristic_system& tcs, const sdp::colorimetry& colorimetry, const sdp::type_parameter& tp)
: width(width)
, height(height)
, exactframerate(exactframerate)
, interlace(interlace)
, segmented(segmented)
, sampling(sampling)
, depth(depth)
, tcs(tcs)
, colorimetry(colorimetry)
, tp(tp)
{}
} video;
// additional "audio/L" parameters (audio only)
struct audio_t
{
// rtpmap encoding-parameters indicates channel_count
uint32_t channel_count;
// rtpmap encoding-name (e.g. "L24") indicates bit_depth
uint32_t bit_depth;
// rtpmap clock-rate indicates sample_rate
nmos::rational sample_rate;
// fmtp indicates channel-order (e.g. "SMPTE2110.(ST)")
utility::string_t channel_order;
// ptime
double packet_time;
audio_t() : channel_count(), bit_depth(), packet_time() {}
audio_t(uint32_t channel_count, uint32_t bit_depth, const nmos::rational& sample_rate, const utility::string_t& channel_order, double packet_time)
: channel_count(channel_count)
, bit_depth(bit_depth)
, sample_rate(sample_rate)
, channel_order(channel_order)
, packet_time(packet_time)
{}
} audio;
// additional "video/smpte291" data parameters (data only)
// see SMPTE ST 2110-40:2018
// and https://www.iana.org/assignments/media-types/video/smpte291
// and https://tools.ietf.org/html/rfc8331
struct data_t
{
// fmtp optionally indicates multiple DID_SDID parameters
std::vector<nmos::did_sdid> did_sdids;
// fmtp optionally indicates VPID Code of the source interface
nmos::vpid_code vpid_code;
data_t(const std::vector<nmos::did_sdid>& did_sdids = {}, nmos::vpid_code vpid_code = {})
: did_sdids(did_sdids)
, vpid_code(vpid_code)
{}
} data;
// additional "video/SMPTE2022-6" parameters (mux only)
// see SMPTE ST 2022-8:2019
struct mux_t
{
sdp::type_parameter tp;
mux_t() {}
mux_t(const sdp::type_parameter& tp)
: tp(tp)
{}
} mux;
struct ts_refclk_t
{
sdp::ts_refclk_source clock_source;
// for sdp::ts_refclk_sources::ptp
sdp::ptp_version ptp_version;
utility::string_t ptp_server;
// for sdp::ts_refclk_sources::local_mac
utility::string_t mac_address;
// ptp-server = ptp-gmid [":" ptp-domain]
static ts_refclk_t ptp(const sdp::ptp_version& ptp_version, const utility::string_t& ptp_server)
{
return{ sdp::ts_refclk_sources::ptp, ptp_version, ptp_server, {} };
}
// ptp-server = ptp-gmid [":" ptp-domain]
static ts_refclk_t ptp(const utility::string_t& ptp_server)
{
return{ sdp::ts_refclk_sources::ptp, sdp::ptp_versions::IEEE1588_2008, ptp_server, {} };
}
// ptp-server = "traceable"
static ts_refclk_t ptp_traceable(const sdp::ptp_version& ptp_version = sdp::ptp_versions::IEEE1588_2008)
{
return{ sdp::ts_refclk_sources::ptp, ptp_version, {}, {} };
}
static ts_refclk_t local_mac(const utility::string_t& mac_address)
{
return{ sdp::ts_refclk_sources::local_mac, {}, {}, mac_address };
}
ts_refclk_t() {}
ts_refclk_t(const sdp::ts_refclk_source& clock_source, const sdp::ptp_version& ptp_version, const utility::string_t& ptp_server, const utility::string_t& mac_address)
: clock_source(clock_source)
, ptp_version(ptp_version)
, ptp_server(ptp_server)
, mac_address(mac_address)
{}
};
std::vector<sdp_parameters::ts_refclk_t> ts_refclk;
struct mediaclk_t
{
sdp::mediaclk_source clock_source;
utility::string_t clock_parameters;
mediaclk_t() {}
mediaclk_t(const sdp::mediaclk_source& clock_source, const utility::string_t& clock_parameters = {})
: clock_source(clock_source)
, clock_parameters(clock_parameters)
{}
} mediaclk;
// construct null SDP parameters
sdp_parameters() {}
// construct "video/raw" SDP parameters with sensible defaults for unspecified fields
sdp_parameters(const utility::string_t& session_name, const video_t& video, uint64_t payload_type, const std::vector<utility::string_t>& media_stream_ids = {}, const std::vector<ts_refclk_t>& ts_refclk = {})
: origin(U("-"), sdp::ntp_now() >> 32)
, session_name(session_name)
, connection_data(32)
, timing()
, group(!media_stream_ids.empty() ? group_t{ sdp::group_semantics::duplication, media_stream_ids } : group_t{})
, media_type(sdp::media_types::video)
, protocol(sdp::protocols::RTP_AVP)
, rtpmap(payload_type, U("raw"), 90000)
, video(video)
, audio()
, data()
, mux()
, ts_refclk(ts_refclk)
, mediaclk(sdp::mediaclk_sources::direct, U("0"))
{}
// construct "audio/L" SDP parameters with sensible defaults for unspecified fields
sdp_parameters(const utility::string_t& session_name, const audio_t& audio, uint64_t payload_type, const std::vector<utility::string_t>& media_stream_ids = {}, const std::vector<ts_refclk_t>& ts_refclk = {})
: origin(U("-"), sdp::ntp_now() >> 32)
, session_name(session_name)
, connection_data(32)
, timing()
, group(!media_stream_ids.empty() ? group_t{ sdp::group_semantics::duplication, media_stream_ids } : group_t{})
, media_type(sdp::media_types::audio)
, protocol(sdp::protocols::RTP_AVP)
, rtpmap(payload_type, U("L") + utility::ostringstreamed(audio.bit_depth), uint64_t(double(audio.sample_rate.numerator()) / double(audio.sample_rate.denominator()) + 0.5))
, video()
, audio(audio)
, data()
, mux()
, ts_refclk(ts_refclk)
, mediaclk(sdp::mediaclk_sources::direct, U("0"))
{}
// construct "video/smpte291" SDP parameters with sensible defaults for unspecified fields
sdp_parameters(const utility::string_t& session_name, const data_t& data, uint64_t payload_type, const std::vector<utility::string_t>& media_stream_ids = {}, const std::vector<ts_refclk_t>& ts_refclk = {})
: origin(U("-"), sdp::ntp_now() >> 32)
, session_name(session_name)
, connection_data(32)
, timing()
, group(!media_stream_ids.empty() ? group_t{ sdp::group_semantics::duplication, media_stream_ids } : group_t{})
, media_type(sdp::media_types::video)
, protocol(sdp::protocols::RTP_AVP)
, rtpmap(payload_type, U("smpte291"), 90000)
, video()
, audio()
, data(data)
, mux()
, ts_refclk(ts_refclk)
, mediaclk(sdp::mediaclk_sources::direct, U("0"))
{}
// construct "video/SMPTE2022-6" SDP parameters with sensible defaults for unspecified fields
sdp_parameters(const utility::string_t& session_name, const mux_t& mux, uint64_t payload_type, const std::vector<utility::string_t>& media_stream_ids = {}, const std::vector<ts_refclk_t>& ts_refclk = {})
: origin(U("-"), sdp::ntp_now() >> 32)
, session_name(session_name)
, connection_data(32)
, timing()
, group(!media_stream_ids.empty() ? group_t{ sdp::group_semantics::duplication, media_stream_ids } : group_t{})
, media_type(sdp::media_types::video)
, protocol(sdp::protocols::RTP_AVP)
, rtpmap(payload_type, U("SMPTE2022-6"), 27000000)
, video()
, audio()
, data()
, mux(mux)
, ts_refclk(ts_refclk)
, mediaclk(sdp::mediaclk_sources::direct, U("0"))
{}
};
}
#endif
|
#include "libnet.h"
|
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "GeneticAI.h"
#include "UObject/NoExportTypes.h"
#include "Population.generated.h"
class USpecimen;
class ANeuralNetworkManager;
/**
*
*/
UCLASS()
class GENETICAI_API UPopulation : public UObject
{
GENERATED_BODY()
public:
//Creates an initializes the population of the specimens
void Populate(uint8 NumberOfSpecies, ANeuralNetworkManager& NeuralnetworkManager);
// Function that selects, crosses and mutates new specimens
void EvolveSpecimens(uint8 NumberOfSpecimensToKeep, uint8 NumberOfSpecimensToCross, uint8 SynapseMutationChance, uint8 BiasMutationChance, float MutationStep, uint8 CurrentGeneration);
private:
// Mutates specimens
void Mutation(TArray<USpecimen*>& NewSpecimens, uint8 SynapseMutationChance, uint8 BiasMutationChance, float MutationStep);
// Selects a number of specimens, randomized if indicated
void Selection(TArray<USpecimen*>& NewSpecimens, uint8 NumberOfSpecimensToKeep);
// Crosses specimens
void Crossover(TArray<USpecimen*>& NewSpecimens, uint8 NumberOfParents, uint8 NumberOfSpecimensToCross, uint8 CurrentGeneration);
public:
// Specimens of this Generation
UPROPERTY(BlueprintReadOnly, Category = "Specimens")
TArray<USpecimen*> Specimens;
};
|
// -*- Mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
//
// Copyright (C) 1995-2008 Opera Software AS. All rights reserved.
//
// This file is part of the Opera web browser. It may not be distributed
// under any circumstances.
//
#ifndef BOOLVECTOR_H
#define BOOLVECTOR_H
#include "modules/search_engine/VectorBase.h"
/**
* @brief bit vector holding BOOL variables
* @author Pavel Studeny <pavels@opera.com>
*/
class BoolVector : private VectorBase
{
public:
/**
* no destructor for T, comparison uses a default operator<
*/
BoolVector(void) : VectorBase(DefDescriptor<UINT32>()) {}
/**
* @param size number of items to reserve space for in advance
*/
OP_STATUS Reserve(UINT32 size)
{
UINT32 prev_size = VectorBase::GetSize();
RETURN_IF_ERROR(VectorBase::Reserve((size + 0x1F) >> 5));
if (size <= prev_size)
return OpStatus::OK;
op_memset(((UINT32 *)VectorBase::Ptr()) + prev_size, 0, (VectorBase::GetSize() - prev_size) * sizeof(UINT32));
VectorBase::SetCount(VectorBase::GetSize());
return OpStatus::OK;
}
/**
* destruct all data and delete them from the Vector
*/
void Clear(void) {VectorBase::Clear();}
/**
* delete a range of items from the beginning, shift the rest
*/
void Delete(UINT32 count)
{
int shift, i, size;
if (count == 0)
return;
size = VectorBase::GetSize();
if ((int)(count >> 5) >= size)
{
Clear();
return;
}
shift = count & 0x1F;
if (shift == 0)
{
count >>= 5;
for (i = 0; i < (int)(size - count); ++i)
*(UINT32 *)VectorBase::Get(i) = *(UINT32 *)VectorBase::Get(i + count);
return;
}
--size;
count >>= 5;
for (i = 0; i < (int)(size - count); ++i)
*(UINT32 *)VectorBase::Get(i) = (*(UINT32 *)VectorBase::Get(i + count) >> shift) | (*(UINT32 *)VectorBase::Get(i + count + 1) << (32 - shift));
*(UINT32 *)VectorBase::Get(i) = *(UINT32 *)VectorBase::Get(i + count) >> shift;
}
/**
* Set value on the given position
*/
void Set(UINT32 idx, BOOL item)
{
if ((idx >> 5) >= VectorBase::GetSize())
return;
UINT32 ui = ((*(UINT32 *)VectorBase::Get(idx >> 5)) & ~(1 << (idx & 0x1F))) | ((item == 1) << (idx & 0x1F));
VectorBase::Replace(idx >> 5, &ui);
}
/**
* Get value on the given position
*/
BOOL Get(UINT32 idx) const {return (idx >> 5) >= VectorBase::GetSize() ? FALSE : ((*(UINT32 *)VectorBase::Get(idx >> 5)) >> (idx & 0x1F)) & 1;}
/**
* @return position of the first TRUE/FALSE or <count of values> + 1 if not found
*/
INT32 FindFirst(BOOL item) const
{
UINT32 i = 0, j = 0;
UINT32 key = item ? 0 : (UINT32)-1;
if (VectorBase::GetSize() == 0)
return 0;
while (i < VectorBase::GetSize() && *(UINT32 *)VectorBase::Get(i) == key)
++i;
if (i >= VectorBase::GetSize())
return (i << 5) + 1;
item = (item != FALSE); // just for case
key = *(UINT32 *)VectorBase::Get(i);
while ((BOOL)(key & 1) != item)
{
++j;
key >>= 1;
OP_ASSERT(j <= 0x1F); // infinite loop?
}
return (i << 5) | j;
}
BOOL operator[](UINT32 idx) const {return Get(idx);}
};
#endif // BOOLVECTOR_H
|
#ifndef DATABASE_H
#define DATABASE_H
#include <iostream>
#include <string>
#include <vector>
#include "scientist.h"
#include <fstream>
#include <cstdlib>
#include <QCoreApplication>
#include <QtSql>
#include "computer.h"
class database
{
public:
database();
bool getDatabase();
vector<Scientist> createSciVec(QString command);
vector<Computer> createCompVec(QString command);
void editData(string name, string yob, string yod, string gender);
void editDataComp(string name, string buildYear, string builtOrNot, string type);
vector<Scientist> sortSci(char number);
vector<Computer> sortCom(char number);
vector<Scientist> searchSci(string searchStr ,char number);
vector<Computer> searchCom(string searchStr ,char number);
void deleteSC(char number, string name);
bool closeDatabase();
void addDeleteLink(string scientist, string computer, char number);
void linkChoice();
vector<string> getRelations();
};
#endif // DATABASE_H
|
// Copyright (c) 2011-2017 The Cryptonote developers
// Copyright (c) 2017-2018 The Circle Foundation & Conceal Devs
// Copyright (c) 2018-2023 Conceal Network & Conceal Devs
//
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#pragma once
#include "IWallet.h"
#include <queue>
#include <unordered_map>
#include "IFusionManager.h"
#include "WalletIndices.h"
#include "Common/StringOutputStream.h"
#include "Logging/LoggerRef.h"
#include <System/Dispatcher.h>
#include <System/Event.h>
#include "Transfers/TransfersSynchronizer.h"
#include "Transfers/BlockchainSynchronizer.h"
namespace cn
{
class WalletGreen : public IWallet,
public ITransfersObserver,
public IBlockchainSynchronizerObserver,
public ITransfersSynchronizerObserver,
public IFusionManager
{
public:
WalletGreen(platform_system::Dispatcher &dispatcher, const Currency ¤cy, INode &node, logging::ILogger &logger, uint32_t transactionSoftLockTime = 1);
~WalletGreen() override;
/* Deposit related functions */
void createDeposit(uint64_t amount, uint64_t term, std::string sourceAddress, std::string destinationAddress, std::string &transactionHash) override;
void withdrawDeposit(DepositId depositId, std::string &transactionHash) override;
std::vector<MultisignatureInput> prepareMultisignatureInputs(const std::vector<TransactionOutputInformation> &selectedTransfers);
void initialize(const std::string& path, const std::string& password) override;
void initializeWithViewKey(const std::string& path, const std::string& password, const crypto::SecretKey& viewSecretKey) override;
void load(const std::string& path, const std::string& password, std::string& extra) override;
void load(const std::string& path, const std::string& password) override;
void shutdown() override;
void changePassword(const std::string &oldPassword, const std::string &newPassword) override;
void save(WalletSaveLevel saveLevel = WalletSaveLevel::SAVE_ALL, const std::string& extra = "") override;
void reset(const uint64_t scanHeight) override;
void exportWallet(const std::string &path, WalletSaveLevel saveLevel, bool encrypt = true, const std::string &extra = "") override;
size_t getAddressCount() const override;
size_t getWalletDepositCount() const override;
std::string getAddress(size_t index) const override;
KeyPair getAddressSpendKey(size_t index) const override;
KeyPair getAddressSpendKey(const std::string &address) const override;
KeyPair getViewKey() const override;
std::string createAddress() override;
std::string createAddress(const crypto::SecretKey &spendSecretKey) override;
std::string createAddress(const crypto::PublicKey &spendPublicKey) override;
std::vector<std::string> createAddressList(const std::vector<crypto::SecretKey> &spendSecretKeys, bool reset = true) override;
void deleteAddress(const std::string &address) override;
uint64_t getActualBalance() const override;
uint64_t getActualBalance(const std::string &address) const override;
uint64_t getPendingBalance() const override;
uint64_t getPendingBalance(const std::string &address) const override;
uint64_t getLockedDepositBalance() const override;
uint64_t getLockedDepositBalance(const std::string &address) const override;
uint64_t getUnlockedDepositBalance() const override;
uint64_t getUnlockedDepositBalance(const std::string &address) const override;
size_t getTransactionCount() const override;
WalletTransaction getTransaction(size_t transactionIndex) const override;
Deposit getDeposit(size_t depositIndex) const override;
size_t getTransactionTransferCount(size_t transactionIndex) const override;
WalletTransfer getTransactionTransfer(size_t transactionIndex, size_t transferIndex) const override;
WalletTransactionWithTransfers getTransaction(const crypto::Hash &transactionHash) const override;
std::vector<TransactionsInBlockInfo> getTransactions(const crypto::Hash &blockHash, size_t count) const override;
std::vector<TransactionsInBlockInfo> getTransactions(uint32_t blockIndex, size_t count) const override;
std::vector<DepositsInBlockInfo> getDeposits(const crypto::Hash &blockHash, size_t count) const override;
std::vector<DepositsInBlockInfo> getDeposits(uint32_t blockIndex, size_t count) const override;
std::vector<crypto::Hash> getBlockHashes(uint32_t blockIndex, size_t count) const override;
uint32_t getBlockCount() const override;
std::vector<WalletTransactionWithTransfers> getUnconfirmedTransactions() const override;
std::vector<size_t> getDelayedTransactionIds() const override;
size_t transfer(const TransactionParameters &sendingTransaction, crypto::SecretKey &transactionSK) override;
size_t makeTransaction(const TransactionParameters &sendingTransaction) override;
void commitTransaction(size_t) override;
void rollbackUncommitedTransaction(size_t) override;
void start() override;
void stop() override;
WalletEvent getEvent() override;
size_t createFusionTransaction(uint64_t threshold, uint64_t mixin,
const std::vector<std::string> &sourceAddresses = {}, const std::string &destinationAddress = "") override;
bool isFusionTransaction(size_t transactionId) const override;
IFusionManager::EstimateResult estimate(uint64_t threshold, const std::vector<std::string> &sourceAddresses = {}) const override;
DepositId insertDeposit(const Deposit &deposit, size_t depositIndexInTransaction, const crypto::Hash &transactionHash);
DepositId insertNewDeposit(const TransactionOutputInformation &depositOutput,
TransactionId creatingTransactionId,
const Currency ¤cy, uint32_t height);
protected:
struct NewAddressData
{
crypto::PublicKey spendPublicKey;
crypto::SecretKey spendSecretKey;
uint64_t creationTimestamp;
};
void throwIfNotInitialized() const;
void throwIfStopped() const;
void throwIfTrackingMode() const;
void doShutdown();
void clearCaches(bool clearTransactions, bool clearCachedData);
void clearCacheAndShutdown();
void convertAndLoadWalletFile(const std::string &path, std::ifstream &&walletFileStream);
size_t getTxSize(const TransactionParameters &sendingTransaction);
static void decryptKeyPair(const EncryptedWalletRecord& cipher, crypto::PublicKey& publicKey, crypto::SecretKey& secretKey, uint64_t& creationTimestamp, const crypto::chacha8_key& key);
crypto::chacha8_iv getNextIv() const;
void decryptKeyPair(const EncryptedWalletRecord& cipher, crypto::PublicKey& publicKey, crypto::SecretKey& secretKey, uint64_t& creationTimestamp) const;
static EncryptedWalletRecord encryptKeyPair(const crypto::PublicKey& publicKey, const crypto::SecretKey& secretKey, uint64_t creationTimestamp, const crypto::chacha8_key& key, const crypto::chacha8_iv& iv);
EncryptedWalletRecord encryptKeyPair(const crypto::PublicKey& publicKey, const crypto::SecretKey& secretKey, uint64_t creationTimestamp) const;
static void incIv(crypto::chacha8_iv& iv);
void incNextIv();
void initWithKeys(const std::string& path, const std::string& password, const crypto::PublicKey& viewPublicKey, const crypto::SecretKey& viewSecretKey);
std::string doCreateAddress(const crypto::PublicKey &spendPublicKey, const crypto::SecretKey &spendSecretKey, uint64_t creationTimestamp);
std::vector<std::string> doCreateAddressList(const std::vector<NewAddressData> &addressDataList);
crypto::SecretKey getTransactionDeterministicSecretKey(crypto::Hash &transactionHash) const;
uint64_t scanHeightToTimestamp(const uint32_t scanHeight);
uint64_t getCurrentTimestampAdjusted();
struct InputInfo
{
transaction_types::InputKeyInfo keyInfo;
WalletRecord *walletRecord = nullptr;
KeyPair ephKeys;
};
struct OutputToTransfer
{
TransactionOutputInformation out;
WalletRecord *wallet;
};
struct ReceiverAmounts
{
cn::AccountPublicAddress receiver;
std::vector<uint64_t> amounts;
};
struct WalletOuts
{
WalletRecord *wallet;
std::vector<TransactionOutputInformation> outs;
};
using TransfersRange = std::pair<WalletTransfers::const_iterator, WalletTransfers::const_iterator>;
struct AddressAmounts
{
int64_t input = 0;
int64_t output = 0;
};
struct ContainerAmounts
{
ITransfersContainer *container;
AddressAmounts amounts;
};
#pragma pack(push, 1)
struct ContainerStoragePrefix {
uint8_t version;
crypto::chacha8_iv nextIv;
EncryptedWalletRecord encryptedViewKeys;
};
#pragma pack(pop)
using TransfersMap = std::unordered_map<std::string, AddressAmounts>;
void onError(ITransfersSubscription *object, uint32_t height, std::error_code ec) override;
void onTransactionUpdated(ITransfersSubscription *object, const crypto::Hash &transactionHash) override;
void onTransactionUpdated(const crypto::PublicKey &viewPublicKey, const crypto::Hash &transactionHash,
const std::vector<ITransfersContainer *> &containers) override;
void transactionUpdated(TransactionInformation transactionInfo, const std::vector<ContainerAmounts> &containerAmountsList);
void onTransactionDeleted(ITransfersSubscription *object, const crypto::Hash &transactionHash) override;
void transactionDeleted(ITransfersSubscription *object, const crypto::Hash &transactionHash);
void synchronizationProgressUpdated(uint32_t processedBlockCount, uint32_t totalBlockCount) override;
void synchronizationCompleted(std::error_code result) override;
void onSynchronizationProgressUpdated(uint32_t processedBlockCount, uint32_t totalBlockCount);
void onSynchronizationCompleted();
void onBlocksAdded(const crypto::PublicKey &viewPublicKey, const std::vector<crypto::Hash> &blockHashes) override;
void blocksAdded(const std::vector<crypto::Hash> &blockHashes);
void onBlockchainDetach(const crypto::PublicKey &viewPublicKey, uint32_t blockIndex) override;
void blocksRollback(uint32_t blockIndex);
void onTransactionDeleteBegin(const crypto::PublicKey &viewPublicKey, crypto::Hash transactionHash) override;
void transactionDeleteBegin(crypto::Hash transactionHash);
void onTransactionDeleteEnd(const crypto::PublicKey &viewPublicKey, crypto::Hash transactionHash) override;
void transactionDeleteEnd(crypto::Hash transactionHash);
std::vector<WalletOuts> pickWalletsWithMoney() const;
WalletOuts pickWallet(const std::string &address) const;
std::vector<WalletOuts> pickWallets(const std::vector<std::string> &addresses) const;
void updateBalance(cn::ITransfersContainer *container);
void unlockBalances(uint32_t height);
const WalletRecord &getWalletRecord(const crypto::PublicKey &key) const;
const WalletRecord &getWalletRecord(const std::string &address) const;
const WalletRecord &getWalletRecord(cn::ITransfersContainer *container) const;
cn::AccountPublicAddress parseAddress(const std::string &address) const;
std::string addWallet(const crypto::PublicKey &spendPublicKey, const crypto::SecretKey &spendSecretKey, uint64_t creationTimestamp);
AccountKeys makeAccountKeys(const WalletRecord &wallet) const;
size_t getTransactionId(const crypto::Hash &transactionHash) const;
size_t getDepositId(const crypto::Hash &transactionHash) const;
void pushEvent(const WalletEvent &event);
bool isFusionTransaction(const WalletTransaction &walletTx) const;
struct PreparedTransaction
{
std::unique_ptr<ITransaction> transaction;
std::vector<WalletTransfer> destinations;
uint64_t neededMoney;
uint64_t changeAmount;
};
void prepareTransaction(std::vector<WalletOuts> &&wallets,
const std::vector<WalletOrder> &orders,
const std::vector<WalletMessage> &messages,
uint64_t fee,
uint64_t mixIn,
const std::string &extra,
uint64_t unlockTimestamp,
const DonationSettings &donation,
const cn::AccountPublicAddress &changeDestinationAddress,
PreparedTransaction &preparedTransaction,
crypto::SecretKey &transactionSK);
void validateAddresses(const std::vector<std::string> &addresses) const;
void validateSourceAddresses(const std::vector<std::string> &sourceAddresses) const;
void validateChangeDestination(const std::vector<std::string> &sourceAddresses, const std::string &changeDestination, bool isFusion) const;
void validateOrders(const std::vector<WalletOrder> &orders) const;
void validateTransactionParameters(const TransactionParameters &transactionParameters) const;
size_t doTransfer(const TransactionParameters &transactionParameters, crypto::SecretKey &transactionSK);
void requestMixinOuts(const std::vector<OutputToTransfer> &selectedTransfers,
uint64_t mixIn,
std::vector<cn::COMMAND_RPC_GET_RANDOM_OUTPUTS_FOR_AMOUNTS::outs_for_amount> &mixinResult);
void prepareInputs(const std::vector<OutputToTransfer> &selectedTransfers,
std::vector<cn::COMMAND_RPC_GET_RANDOM_OUTPUTS_FOR_AMOUNTS::outs_for_amount> &mixinResult,
uint64_t mixIn,
std::vector<InputInfo> &keysInfo);
uint64_t selectTransfers(uint64_t needeMoney,
uint64_t dustThreshold,
std::vector<WalletOuts> &&wallets,
std::vector<OutputToTransfer> &selectedTransfers);
std::vector<ReceiverAmounts> splitDestinations(const std::vector<WalletTransfer> &destinations,
uint64_t dustThreshold, const Currency ¤cy);
ReceiverAmounts splitAmount(uint64_t amount, const AccountPublicAddress &destination, uint64_t dustThreshold);
std::unique_ptr<cn::ITransaction> makeTransaction(const std::vector<ReceiverAmounts> &decomposedOutputs,
std::vector<InputInfo> &keysInfo, const std::vector<WalletMessage> &messages, const std::string &extra, uint64_t unlockTimestamp, crypto::SecretKey &transactionSK);
void sendTransaction(const cn::Transaction &cryptoNoteTransaction);
size_t validateSaveAndSendTransaction(const ITransactionReader &transaction, const std::vector<WalletTransfer> &destinations, bool isFusion, bool send);
size_t insertBlockchainTransaction(const TransactionInformation &info, int64_t txBalance);
size_t insertOutgoingTransactionAndPushEvent(const crypto::Hash &transactionHash, uint64_t fee, const BinaryArray &extra, uint64_t unlockTimestamp);
void updateTransactionStateAndPushEvent(size_t transactionId, WalletTransactionState state);
bool updateWalletTransactionInfo(size_t transactionId, const cn::TransactionInformation &info, int64_t totalAmount);
bool updateWalletDepositInfo(size_t depositId, const cn::Deposit &info);
bool updateTransactionTransfers(size_t transactionId, const std::vector<ContainerAmounts> &containerAmountsList,
int64_t allInputsAmount, int64_t allOutputsAmount);
TransfersMap getKnownTransfersMap(size_t transactionId, size_t firstTransferIdx) const;
bool updateAddressTransfers(size_t transactionId, size_t firstTransferIdx, const std::string &address, int64_t knownAmount, int64_t targetAmount);
bool updateUnknownTransfers(size_t transactionId, size_t firstTransferIdx, const std::unordered_set<std::string> &myAddresses,
int64_t knownAmount, int64_t myAmount, int64_t totalAmount, bool isOutput);
void appendTransfer(size_t transactionId, size_t firstTransferIdx, const std::string &address, int64_t amount);
bool adjustTransfer(size_t transactionId, size_t firstTransferIdx, const std::string &address, int64_t amount);
bool eraseTransfers(size_t transactionId, size_t firstTransferIdx, std::function<bool(bool, const std::string &)> &&predicate);
bool eraseTransfersByAddress(size_t transactionId, size_t firstTransferIdx, const std::string &address, bool eraseOutputTransfers);
bool eraseForeignTransfers(size_t transactionId, size_t firstTransferIdx, const std::unordered_set<std::string> &knownAddresses, bool eraseOutputTransfers);
void pushBackOutgoingTransfers(size_t txId, const std::vector<WalletTransfer> &destinations);
void insertUnlockTransactionJob(const crypto::Hash &transactionHash, uint32_t blockHeight, cn::ITransfersContainer *container);
void deleteUnlockTransactionJob(const crypto::Hash &transactionHash);
void startBlockchainSynchronizer();
void stopBlockchainSynchronizer();
void addUnconfirmedTransaction(const ITransactionReader &transaction);
void removeUnconfirmedTransaction(const crypto::Hash &transactionHash);
void initTransactionPool();
static void loadAndDecryptContainerData(ContainerStorage& storage, const crypto::chacha8_key& key, BinaryArray& containerData);
static void encryptAndSaveContainerData(ContainerStorage& storage, const crypto::chacha8_key& key, const void* containerData, size_t containerDataSize);
void loadWalletCache(std::unordered_set<crypto::PublicKey>& addedKeys, std::unordered_set<crypto::PublicKey>& deletedKeys, std::string& extra);
void copyContainerStorageKeys(ContainerStorage& src, const crypto::chacha8_key& srcKey, ContainerStorage& dst, const crypto::chacha8_key& dstKey);
static void copyContainerStoragePrefix(ContainerStorage& src, const crypto::chacha8_key& srcKey, ContainerStorage& dst, const crypto::chacha8_key& dstKey);
void deleteOrphanTransactions(const std::unordered_set<crypto::PublicKey> &deletedKeys);
void saveWalletCache(ContainerStorage &storage, const crypto::chacha8_key &key, WalletSaveLevel saveLevel, const std::string &extra);
void loadSpendKeys();
void loadContainerStorage(const std::string &path);
void subscribeWallets();
std::vector<OutputToTransfer> pickRandomFusionInputs(const std::vector<std::string> &addresses,
uint64_t threshold, size_t minInputCount, size_t maxInputCount);
static ReceiverAmounts decomposeFusionOutputs(const AccountPublicAddress &address, uint64_t inputsAmount);
enum class WalletState
{
INITIALIZED,
NOT_INITIALIZED
};
enum class WalletTrackingMode
{
TRACKING,
NOT_TRACKING,
NO_ADDRESSES
};
WalletTrackingMode getTrackingMode() const;
TransfersRange getTransactionTransfersRange(size_t transactionIndex) const;
std::vector<TransactionsInBlockInfo> getTransactionsInBlocks(uint32_t blockIndex, size_t count) const;
std::vector<DepositsInBlockInfo> getDepositsInBlocks(uint32_t blockIndex, size_t count) const;
crypto::Hash getBlockHashByIndex(uint32_t blockIndex) const;
std::vector<WalletTransfer> getTransactionTransfers(const WalletTransaction &transaction) const;
void filterOutTransactions(WalletTransactions &transactions, WalletTransfers &transfers, std::function<bool(const WalletTransaction &)> &&pred) const;
void initBlockchain(const crypto::PublicKey& viewPublicKey);
void getViewKeyKnownBlocks(const crypto::PublicKey &viewPublicKey);
cn::AccountPublicAddress getChangeDestination(const std::string &changeDestinationAddress, const std::vector<std::string> &sourceAddresses) const;
bool isMyAddress(const std::string &address) const;
void deleteContainerFromUnlockTransactionJobs(const ITransfersContainer *container);
std::vector<size_t> deleteTransfersForAddress(const std::string &address, std::vector<size_t> &deletedTransactions);
void deleteFromUncommitedTransactions(const std::vector<size_t> &deletedTransactions);
private:
platform_system::Dispatcher &m_dispatcher;
const Currency &m_currency;
INode &m_node;
mutable logging::LoggerRef m_logger;
bool m_stopped;
WalletDeposits m_deposits;
WalletsContainer m_walletsContainer;
ContainerStorage m_containerStorage;
UnlockTransactionJobs m_unlockTransactionsJob;
WalletTransactions m_transactions;
WalletTransfers m_transfers; //sorted
mutable std::unordered_map<size_t, bool> m_fusionTxsCache; // txIndex -> isFusion
UncommitedTransactions m_uncommitedTransactions;
bool m_blockchainSynchronizerStarted;
BlockchainSynchronizer m_blockchainSynchronizer;
TransfersSyncronizer m_synchronizer;
platform_system::Event m_eventOccurred;
std::queue<WalletEvent> m_events;
mutable platform_system::Event m_readyEvent;
WalletState m_state;
std::string m_password;
crypto::chacha8_key m_key;
std::string m_path;
std::string m_extra; // workaround for wallet reset
crypto::PublicKey m_viewPublicKey;
crypto::SecretKey m_viewSecretKey;
uint64_t m_actualBalance;
uint64_t m_pendingBalance;
uint64_t m_lockedDepositBalance;
uint64_t m_unlockedDepositBalance;
uint64_t m_upperTransactionSizeLimit;
uint32_t m_transactionSoftLockTime;
BlockHashesContainer m_blockchain;
};
} //namespace cn
|
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "codegen/il2cpp-codegen.h"
#include "il2cpp-object-internals.h"
template <typename R>
struct VirtFuncInvoker0
{
typedef R (*Func)(void*, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
return ((Func)invokeData.methodPtr)(obj, invokeData.method);
}
};
template <typename R, typename T1>
struct VirtFuncInvoker1
{
typedef R (*Func)(void*, T1, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
return ((Func)invokeData.methodPtr)(obj, p1, invokeData.method);
}
};
template <typename T1, typename T2, typename T3>
struct VirtActionInvoker3
{
typedef void (*Action)(void*, T1, T2, T3, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
((Action)invokeData.methodPtr)(obj, p1, p2, p3, invokeData.method);
}
};
template <typename T1>
struct VirtActionInvoker1
{
typedef void (*Action)(void*, T1, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
}
};
template <typename T1, typename T2>
struct VirtActionInvoker2
{
typedef void (*Action)(void*, T1, T2, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
((Action)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
}
};
struct VirtActionInvoker0
{
typedef void (*Action)(void*, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
((Action)invokeData.methodPtr)(obj, invokeData.method);
}
};
// System.Action`1<UnityEngine.XR.ARFoundation.ARTrackablesParentTransformChangedEventArgs>
struct Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB;
// System.ArgumentNullException
struct ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD;
// System.AsyncCallback
struct AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4;
// System.Char[]
struct CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2;
// System.Collections.Generic.Dictionary`2/Entry<UnityEngine.XR.ARSubsystems.TrackableId,System.Object>[]
struct EntryU5BU5D_t366284FEBCEA6B94DF56118C1904C4A8D963A770;
// System.Collections.Generic.Dictionary`2/KeyCollection<UnityEngine.XR.ARSubsystems.TrackableId,System.Object>
struct KeyCollection_t55AD67378C6CDA23EDE1113C33E4D879B949397D;
// System.Collections.Generic.Dictionary`2/ValueCollection<UnityEngine.XR.ARSubsystems.TrackableId,System.Object>
struct ValueCollection_t3B653CB27091E18D7CF6A6CDF74B84D5ED7D987F;
// System.Collections.Generic.Dictionary`2<UnityEngine.XR.ARSubsystems.TrackableId,System.Object>
struct Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE;
// System.Collections.Generic.IEqualityComparer`1<UnityEngine.XR.ARSubsystems.TrackableId>
struct IEqualityComparer_1_t1F65F81D43D9715FABDFCA1C70B74FAB7EF7FF0E;
// System.Collections.Generic.List`1<System.Object>
struct List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D;
// System.Collections.IDictionary
struct IDictionary_t1BD5C1546718A374EA8122FBD6C6EE45331E8CE7;
// System.DelegateData
struct DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE;
// System.Delegate[]
struct DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86;
// System.Diagnostics.StackTrace[]
struct StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196;
// System.IAsyncResult
struct IAsyncResult_t8E194308510B375B42432981AE5E7488C458D598;
// System.Int32[]
struct Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83;
// System.IntPtr[]
struct IntPtrU5BU5D_t4DC01DCB9A6DF6C9792A6513595D7A11E637DCDD;
// System.Object[]
struct ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A;
// System.Reflection.MethodInfo
struct MethodInfo_t;
// System.Runtime.Serialization.SafeSerializationManager
struct SafeSerializationManager_t4A754D86B0F784B18CBC36C073BA564BED109770;
// System.Security.Cryptography.RandomNumberGenerator
struct RandomNumberGenerator_t12277F7F965BA79C54E4B3BFABD27A5FFB725EE2;
// System.String
struct String_t;
// System.Text.RegularExpressions.Regex
struct Regex_tFD46E63A462E852189FD6AB4E2B0B67C4D8FDBDF;
// System.Void
struct Void_t22962CB4C05B1D89B55A6E1139F0E87A90987017;
// UnityEngine.Behaviour
struct Behaviour_tBDC7E9C3C898AD8348891B82D3E345801D920CA8;
// UnityEngine.Camera
struct Camera_t48B2B9ECB3CE6108A98BF949A1CECF0FE3421F34;
// UnityEngine.Component
struct Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621;
// UnityEngine.GameObject
struct GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F;
// UnityEngine.ISubsystemDescriptor
struct ISubsystemDescriptor_t5BCD578E4BAD3A0C1DF6C5654720FE7D4420605B;
// UnityEngine.Object
struct Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0;
// UnityEngine.Transform
struct Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA;
// UnityEngine.XR.ARFoundation.ARSessionOrigin
struct ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF;
// UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>
struct ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694;
// UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRFace,System.Object>
struct ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282;
// UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>
struct ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6;
// UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>
struct ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7;
// UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>
struct ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E;
// UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>
struct ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53;
// UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>
struct ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13;
// UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>
struct ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436;
// UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>
struct ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB;
IL2CPP_EXTERN_C RuntimeClass* Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C String_t* _stringLiteral05E5EBD9D5908CC9215021F08ACFBC4B58571C5C;
IL2CPP_EXTERN_C String_t* _stringLiteral8CC52613125F0E802A5E603C37A6CAE800639F62;
IL2CPP_EXTERN_C String_t* _stringLiteralA1BA014E93BB1085A758A3F66948C9CAC874B9BD;
IL2CPP_EXTERN_C String_t* _stringLiteralB858CB282617FB0956D960215C8E84D1CCF909C6;
IL2CPP_EXTERN_C String_t* _stringLiteralC0371E7E1DB9F795AC51193C554BD9BEF51AD664;
IL2CPP_EXTERN_C String_t* _stringLiteralD84182942D9EE680B64113858F0F32DEDC108F25;
IL2CPP_EXTERN_C String_t* _stringLiteralE68C28CA8FA3E38258B2081639EE5D1C7F58849B;
IL2CPP_EXTERN_C const RuntimeMethod* ARTrackableManager_4_CanBeAddedToSubsystem_m1105B51243D04630468D135CE0A82EB56F4FE0C2_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ARTrackableManager_4_CanBeAddedToSubsystem_m192A127C8F1D1D3BF4CC6209F3BEFCAEBE4D95CC_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ARTrackableManager_4_CanBeAddedToSubsystem_m4089B01A7BCB3DC4870C3DA8203D2137C1ABEF5D_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ARTrackableManager_4_CanBeAddedToSubsystem_m44FB7253FDD9122A9D5EA0C7F84900C5328EA118_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ARTrackableManager_4_CanBeAddedToSubsystem_m5214D6A39E6817D5AA77F69984FEFC2137EC1AB7_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ARTrackableManager_4_CanBeAddedToSubsystem_m76FFAF900C196C4E0009F027867C435CD7ED9758_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ARTrackableManager_4_CanBeAddedToSubsystem_m8B567A81700381011762F7D0F760343D325D466B_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ARTrackableManager_4_CanBeAddedToSubsystem_mA6879FE95CC537345CD02B4620B0420B4B32795D_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ARTrackableManager_4_CanBeAddedToSubsystem_mF628524B0C72085D595000FC219D5C29A7510AA8_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Component_GetComponent_TisARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF_m25BC8791B994BAE33BF9003FFC85124F480EFB17_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_MoveNext_m3C4C0B0B1AE71E65EF8255E6FC671DDBC829B6AA_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_get_Current_m913D10AD892E19937C638773D208459E9862248D_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* NativeArray_1_GetEnumerator_m3B6CA1981A8CE62A1C67FCEEBE1887CD32906DA2_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Object_Instantiate_TisGameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F_m1CDF66D563B03D37B37264800222D4F3B307EDA0_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ValueTuple_2__ctor_m73A57D85868E9347B9DCD08AB9585E9B191478F7_RuntimeMethod_var;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_Awake_m44AB216DC5C0581048DFFBC5F3473B129B1E2071_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_Awake_m670496D77E5E054307AC96EDB8C1B2A8A470DF0C_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_Awake_m8FBA4D1CD31EC3DB27968FA17747115D57DDBC55_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_Awake_mC7D5B2CA8D1E90C5214A03C8F372C2F045A287DF_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_Awake_mD4E9BB4AB7CCFB56C4B1B0529475C7F6C90839E1_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_Awake_mDEA3C2FA0FC9A0BB112BFD50F24A9BBE185F9B48_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_Awake_mE74D7D15F5EE5CB93D096FE4CA47D8C541C96454_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_Awake_mF6A6E65E3444A3B0E94B67BC525CDEF9B1726E76_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_Awake_mF8C5EACC4BCD9279223705EC3C2BCCD3DBD7D656_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_CanBeAddedToSubsystem_m1105B51243D04630468D135CE0A82EB56F4FE0C2_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_CanBeAddedToSubsystem_m192A127C8F1D1D3BF4CC6209F3BEFCAEBE4D95CC_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_CanBeAddedToSubsystem_m4089B01A7BCB3DC4870C3DA8203D2137C1ABEF5D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_CanBeAddedToSubsystem_m44FB7253FDD9122A9D5EA0C7F84900C5328EA118_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_CanBeAddedToSubsystem_m5214D6A39E6817D5AA77F69984FEFC2137EC1AB7_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_CanBeAddedToSubsystem_m76FFAF900C196C4E0009F027867C435CD7ED9758_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_CanBeAddedToSubsystem_m8B567A81700381011762F7D0F760343D325D466B_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_CanBeAddedToSubsystem_mA6879FE95CC537345CD02B4620B0420B4B32795D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_CanBeAddedToSubsystem_mF628524B0C72085D595000FC219D5C29A7510AA8_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_CreateGameObjectDeactivated_m0B110F7CD18EA968036DA560D08342ED76436C3A_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_CreateGameObjectDeactivated_m1BD8FC11A1123FC88F0E55452D66E43B0812C8C0_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_CreateGameObjectDeactivated_m27DB3CF062FC0AEC117ABD98037F147A309BC650_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_CreateGameObjectDeactivated_m29ABD404CBDE2E500B55BFDA2F750CDAA225C2C2_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_CreateGameObjectDeactivated_m3D7971615FAFB34BE5A5AF093275E19E3CE12051_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_CreateGameObjectDeactivated_m55E969001A592B014DD59312758E522988FBB54D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_CreateGameObjectDeactivated_m6465EB8C208D118E0EBE4C6821BE3A71DA7865AD_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_CreateGameObjectDeactivated_m6B06DF37D443A1996F2E86C48B5F2F7177AD1C78_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_CreateGameObjectDeactivated_m6BDB60717D4C75AC4CAC9D66C5104DD2DAA30B93_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_CreateGameObjectDeactivated_m74D81AC0F57162914EB35BC3EA1A5BEB3FB93771_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_CreateGameObjectDeactivated_m797369AB188901177383607E606113EBAA5F04C5_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_CreateGameObjectDeactivated_m9D48CD133EB3586E94B07E7203CDBE94A10C4033_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_CreateGameObjectDeactivated_mAC8D0897D7AAD2254DA469C8F7FFA1F9C79D69C1_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_CreateGameObjectDeactivated_mBB324A98259F7C88E47F1F8F2373A4DC9E41C042_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_CreateGameObjectDeactivated_mE098BA38188854F9649550DAAF285D1E9C1E7393_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_CreateGameObjectDeactivated_mE7DDFB2F69E31A2A71035A0C797C8E713239E76C_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_CreateGameObjectDeactivated_mF518A9D3868A5A6B9A836BB5D5D5EF275D02124B_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_CreateGameObjectDeactivated_mFBDFCC7BE41D910CEC4E9B2C910E2AF6CCAF2EF3_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_CreateTrackable_m1B9439A8DEDE9BD7CEE336868C26FDADD0291FB1_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_CreateTrackable_m31E47CF46CB25D43738369D0E76FD4006C196C27_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_CreateTrackable_m3EEDE840D050633B1E76C0363A320D0328D93A51_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_CreateTrackable_m616791A94DABEB3EB866916D14FD456600B08DFE_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_CreateTrackable_m6D7BDEC820ED292DC38D715B4CE37D4B4EB8DEF9_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_CreateTrackable_m80A028D9AC9BB30DE1E7F1CCA7A0A08AC95017DF_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_CreateTrackable_m95192899DBE9F42315C1FCA84E971C784001A310_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_CreateTrackable_mD053D98595FC9DE3B0BA5E9C4891BCAB49E8E882_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_CreateTrackable_mD780DF98A090F7D6AD235EDD4EEDFC03D5782E70_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_DestroyTrackable_m459C4791CE4B85E79BE2E9768BDF1BA764A35E7F_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_DestroyTrackable_m5C77DDD122C825943130C2C446F6544082A075F0_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_DestroyTrackable_m6A3C2ECA6792A0619A4DF318EEDAC25C431DB57B_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_DestroyTrackable_m9678D9ECF964FEECE14E8FFE8659F5C88987F4D7_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_DestroyTrackable_m98C855D9223D018127DC98B1C491B04BD7C9ACDB_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_DestroyTrackable_m9AED1F2FCEA9A8F212A8DFA4A5388B7443FD2806_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_DestroyTrackable_mA6474494ED47CBFE2012D28208C70CD244C3C3AD_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_DestroyTrackable_mD72CF9F11D33C1A4D448457C0C5B5C409F6C1DFA_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_DestroyTrackable_mEA847813820C5F7ED7BC28580AC5286310838146_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_GetTrackableName_m0AEE25159E7E1BAFA57CBAE50B169C9B4319C506_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_GetTrackableName_m3A729E918B8EE0054C786CDE02ECF256277A5D6D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_GetTrackableName_m3DBEA71DAE86DAC9F4FC40D598F282C83C65AE3B_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_GetTrackableName_m41FF1A3822F09265B17331BB2F0F3DE3C8A03C02_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_GetTrackableName_m543806D46614E1A6555A74B0C20DD8C68F20CFD7_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_GetTrackableName_m80A43841E26C94988E274207DD5A22031B949BD2_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_GetTrackableName_mB12A3A6D480F4B3B16DFAD73A179B38BFDA3ED8C_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_GetTrackableName_mC5218274E2C6130E36F020016A6E9748503E1C62_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_GetTrackableName_mFC0AAEA10C78E5DE6AEE2F0D7C43FD71C7E975BD_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_OnDisable_m0905B23B252286461AFC31D62EC5DCE6AF9A4FBA_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_OnDisable_m1497B58F6E6CFC3647A90A32410A39B72D5B4BA1_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_OnDisable_m4CE6CA22D216EA05A7757830FC8E9AFCB08E5118_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_OnDisable_m5BA10C3ED790B67063300A84A1899E5367D9CD42_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_OnDisable_m8DFF20B4C65C4864E1D4275064A362F063D75AF4_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_OnDisable_m9D3E980363AA965C573586138ED98EB9172F77B7_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_OnDisable_mD4A7256A9FF1EDA6612A8D5AA5C4EAA81D172ACD_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_OnDisable_mEEF8DDA8A34E4E27A76F3C38A3D41C6515EFBF24_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_OnDisable_mF7ACB41643F0619216B29F0806C2429CE2223A15_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_OnEnable_m029BF624D012BE79F8D04E2D30C2ADE77E86F92A_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_OnEnable_m199A2C1160B139EF6B85F05963CF84A45DC80111_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_OnEnable_m53F0C84464A72F8E44987708E06C4C779C163DE8_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_OnEnable_m587FAEA72C44AF6ACAB7EEF7BE78F12ECC5D8BAE_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_OnEnable_m6F8F52AECCFAA01E5C77A076BCF7428DC895AF9D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_OnEnable_m9D78A084C3D37024672DE681A97B22328F329500_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_OnEnable_mC9050B708F3E5DC947B6C91CA30281C7DC4294F0_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_OnEnable_mD3D21D6C5C31A0959BF6F54B21116BF26FE16583_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_OnEnable_mD8FC2E81F30A0B8ACC3427612146011463839754_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_OnTrackablesParentTransformChanged_m0CD369321F60A987D9F631304984F070FA452916_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_OnTrackablesParentTransformChanged_m3428A9B81A36D235AC0577593E21F5858482D617_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_OnTrackablesParentTransformChanged_m681BFBB21B92BEED9A0FD5EC57A3E68DD4B7D436_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_OnTrackablesParentTransformChanged_m7BC0EBE59AB3B35DD7E3309DD3B04AEDBAB9BD6A_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_OnTrackablesParentTransformChanged_m9D560F9436E0C793A8189DC0E92F3AA14EB6BF2C_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_OnTrackablesParentTransformChanged_mB517A1E5668E0A7F1141DA3EB54E8D7CF3358BA2_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_OnTrackablesParentTransformChanged_mB76E7D4570763E433348EBC43652EEE0930B4079_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_OnTrackablesParentTransformChanged_mE347D1051D74DF08B1D2B77324573BA94C074D0E_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_OnTrackablesParentTransformChanged_mF4D156EBFDD3548C3B164604C992C52FE6A4F30D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_Update_m3E8E5734915EDB40E56CC550FD6524977638E62D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_Update_m607CD536A884309BBDA0DFE3FAA1CA05F9CA7659_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_Update_m6825A5D4D99D839FAEA8D7F7BE61DD172DEEACD5_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_Update_m733EEF84D1ABBFC064A83532A65AA133074DA7B1_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_Update_m82460346B9A365C30E335232717901F28ABB2AE7_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_Update_m8A0438B967F0EB487C37E42EB6B928C2B437AAAB_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_Update_m9BCE6E93077166E2B026D44F56B0B33A2AEEE96F_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_Update_mCAA957D4837B34BC150341165DAEDBBAD2AF33EB_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ARTrackableManager_4_Update_mFCCE7C2A3D4569CD1E50995E00066A9A603D706E_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TrackableId_get_invalidId_mBE9FA1EC8F2EC1575C1B31666EA928A3382DF1CDGenerics11_MetadataUsageId;
struct Delegate_t_marshaled_com;
struct Delegate_t_marshaled_pinvoke;
struct Exception_t_marshaled_com;
struct Exception_t_marshaled_pinvoke;
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.Dictionary`2<UnityEngine.XR.ARSubsystems.TrackableId,System.Object>
struct Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE : public RuntimeObject
{
public:
// System.Int32[] System.Collections.Generic.Dictionary`2::buckets
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* ___buckets_0;
// System.Collections.Generic.Dictionary`2_Entry<TKey,TValue>[] System.Collections.Generic.Dictionary`2::entries
EntryU5BU5D_t366284FEBCEA6B94DF56118C1904C4A8D963A770* ___entries_1;
// System.Int32 System.Collections.Generic.Dictionary`2::count
int32_t ___count_2;
// System.Int32 System.Collections.Generic.Dictionary`2::version
int32_t ___version_3;
// System.Int32 System.Collections.Generic.Dictionary`2::freeList
int32_t ___freeList_4;
// System.Int32 System.Collections.Generic.Dictionary`2::freeCount
int32_t ___freeCount_5;
// System.Collections.Generic.IEqualityComparer`1<TKey> System.Collections.Generic.Dictionary`2::comparer
RuntimeObject* ___comparer_6;
// System.Collections.Generic.Dictionary`2_KeyCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::keys
KeyCollection_t55AD67378C6CDA23EDE1113C33E4D879B949397D * ___keys_7;
// System.Collections.Generic.Dictionary`2_ValueCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::values
ValueCollection_t3B653CB27091E18D7CF6A6CDF74B84D5ED7D987F * ___values_8;
// System.Object System.Collections.Generic.Dictionary`2::_syncRoot
RuntimeObject * ____syncRoot_9;
public:
inline static int32_t get_offset_of_buckets_0() { return static_cast<int32_t>(offsetof(Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE, ___buckets_0)); }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* get_buckets_0() const { return ___buckets_0; }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83** get_address_of_buckets_0() { return &___buckets_0; }
inline void set_buckets_0(Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* value)
{
___buckets_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___buckets_0), (void*)value);
}
inline static int32_t get_offset_of_entries_1() { return static_cast<int32_t>(offsetof(Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE, ___entries_1)); }
inline EntryU5BU5D_t366284FEBCEA6B94DF56118C1904C4A8D963A770* get_entries_1() const { return ___entries_1; }
inline EntryU5BU5D_t366284FEBCEA6B94DF56118C1904C4A8D963A770** get_address_of_entries_1() { return &___entries_1; }
inline void set_entries_1(EntryU5BU5D_t366284FEBCEA6B94DF56118C1904C4A8D963A770* value)
{
___entries_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___entries_1), (void*)value);
}
inline static int32_t get_offset_of_count_2() { return static_cast<int32_t>(offsetof(Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE, ___count_2)); }
inline int32_t get_count_2() const { return ___count_2; }
inline int32_t* get_address_of_count_2() { return &___count_2; }
inline void set_count_2(int32_t value)
{
___count_2 = value;
}
inline static int32_t get_offset_of_version_3() { return static_cast<int32_t>(offsetof(Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE, ___version_3)); }
inline int32_t get_version_3() const { return ___version_3; }
inline int32_t* get_address_of_version_3() { return &___version_3; }
inline void set_version_3(int32_t value)
{
___version_3 = value;
}
inline static int32_t get_offset_of_freeList_4() { return static_cast<int32_t>(offsetof(Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE, ___freeList_4)); }
inline int32_t get_freeList_4() const { return ___freeList_4; }
inline int32_t* get_address_of_freeList_4() { return &___freeList_4; }
inline void set_freeList_4(int32_t value)
{
___freeList_4 = value;
}
inline static int32_t get_offset_of_freeCount_5() { return static_cast<int32_t>(offsetof(Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE, ___freeCount_5)); }
inline int32_t get_freeCount_5() const { return ___freeCount_5; }
inline int32_t* get_address_of_freeCount_5() { return &___freeCount_5; }
inline void set_freeCount_5(int32_t value)
{
___freeCount_5 = value;
}
inline static int32_t get_offset_of_comparer_6() { return static_cast<int32_t>(offsetof(Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE, ___comparer_6)); }
inline RuntimeObject* get_comparer_6() const { return ___comparer_6; }
inline RuntimeObject** get_address_of_comparer_6() { return &___comparer_6; }
inline void set_comparer_6(RuntimeObject* value)
{
___comparer_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___comparer_6), (void*)value);
}
inline static int32_t get_offset_of_keys_7() { return static_cast<int32_t>(offsetof(Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE, ___keys_7)); }
inline KeyCollection_t55AD67378C6CDA23EDE1113C33E4D879B949397D * get_keys_7() const { return ___keys_7; }
inline KeyCollection_t55AD67378C6CDA23EDE1113C33E4D879B949397D ** get_address_of_keys_7() { return &___keys_7; }
inline void set_keys_7(KeyCollection_t55AD67378C6CDA23EDE1113C33E4D879B949397D * value)
{
___keys_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___keys_7), (void*)value);
}
inline static int32_t get_offset_of_values_8() { return static_cast<int32_t>(offsetof(Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE, ___values_8)); }
inline ValueCollection_t3B653CB27091E18D7CF6A6CDF74B84D5ED7D987F * get_values_8() const { return ___values_8; }
inline ValueCollection_t3B653CB27091E18D7CF6A6CDF74B84D5ED7D987F ** get_address_of_values_8() { return &___values_8; }
inline void set_values_8(ValueCollection_t3B653CB27091E18D7CF6A6CDF74B84D5ED7D987F * value)
{
___values_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___values_8), (void*)value);
}
inline static int32_t get_offset_of__syncRoot_9() { return static_cast<int32_t>(offsetof(Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE, ____syncRoot_9)); }
inline RuntimeObject * get__syncRoot_9() const { return ____syncRoot_9; }
inline RuntimeObject ** get_address_of__syncRoot_9() { return &____syncRoot_9; }
inline void set__syncRoot_9(RuntimeObject * value)
{
____syncRoot_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_9), (void*)value);
}
};
// System.Collections.Generic.List`1<System.Object>
struct List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ____items_1;
// System.Int32 System.Collections.Generic.List`1::_size
int32_t ____size_2;
// System.Int32 System.Collections.Generic.List`1::_version
int32_t ____version_3;
// System.Object System.Collections.Generic.List`1::_syncRoot
RuntimeObject * ____syncRoot_4;
public:
inline static int32_t get_offset_of__items_1() { return static_cast<int32_t>(offsetof(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D, ____items_1)); }
inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* get__items_1() const { return ____items_1; }
inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____items_1), (void*)value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D, ____size_2)); }
inline int32_t get__size_2() const { return ____size_2; }
inline int32_t* get_address_of__size_2() { return &____size_2; }
inline void set__size_2(int32_t value)
{
____size_2 = value;
}
inline static int32_t get_offset_of__version_3() { return static_cast<int32_t>(offsetof(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D, ____version_3)); }
inline int32_t get__version_3() const { return ____version_3; }
inline int32_t* get_address_of__version_3() { return &____version_3; }
inline void set__version_3(int32_t value)
{
____version_3 = value;
}
inline static int32_t get_offset_of__syncRoot_4() { return static_cast<int32_t>(offsetof(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D, ____syncRoot_4)); }
inline RuntimeObject * get__syncRoot_4() const { return ____syncRoot_4; }
inline RuntimeObject ** get_address_of__syncRoot_4() { return &____syncRoot_4; }
inline void set__syncRoot_4(RuntimeObject * value)
{
____syncRoot_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_4), (void*)value);
}
};
struct List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D_StaticFields, ____emptyArray_5)); }
inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* get__emptyArray_5() const { return ____emptyArray_5; }
inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.String
struct String_t : public RuntimeObject
{
public:
// System.Int32 System.String::m_stringLength
int32_t ___m_stringLength_0;
// System.Char System.String::m_firstChar
Il2CppChar ___m_firstChar_1;
public:
inline static int32_t get_offset_of_m_stringLength_0() { return static_cast<int32_t>(offsetof(String_t, ___m_stringLength_0)); }
inline int32_t get_m_stringLength_0() const { return ___m_stringLength_0; }
inline int32_t* get_address_of_m_stringLength_0() { return &___m_stringLength_0; }
inline void set_m_stringLength_0(int32_t value)
{
___m_stringLength_0 = value;
}
inline static int32_t get_offset_of_m_firstChar_1() { return static_cast<int32_t>(offsetof(String_t, ___m_firstChar_1)); }
inline Il2CppChar get_m_firstChar_1() const { return ___m_firstChar_1; }
inline Il2CppChar* get_address_of_m_firstChar_1() { return &___m_firstChar_1; }
inline void set_m_firstChar_1(Il2CppChar value)
{
___m_firstChar_1 = value;
}
};
struct String_t_StaticFields
{
public:
// System.String System.String::Empty
String_t* ___Empty_5;
public:
inline static int32_t get_offset_of_Empty_5() { return static_cast<int32_t>(offsetof(String_t_StaticFields, ___Empty_5)); }
inline String_t* get_Empty_5() const { return ___Empty_5; }
inline String_t** get_address_of_Empty_5() { return &___Empty_5; }
inline void set_Empty_5(String_t* value)
{
___Empty_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Empty_5), (void*)value);
}
};
// System.ValueType
struct ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF : public RuntimeObject
{
public:
public:
};
// Native definition for P/Invoke marshalling of System.ValueType
struct ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF_marshaled_pinvoke
{
};
// Native definition for COM marshalling of System.ValueType
struct ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF_marshaled_com
{
};
// UnityEngine.Subsystem
struct Subsystem_t17E4AEB5537DC8AECC37EC3F6FCB46CC7D2C73F6 : public RuntimeObject
{
public:
// UnityEngine.ISubsystemDescriptor UnityEngine.Subsystem::m_subsystemDescriptor
RuntimeObject* ___m_subsystemDescriptor_0;
public:
inline static int32_t get_offset_of_m_subsystemDescriptor_0() { return static_cast<int32_t>(offsetof(Subsystem_t17E4AEB5537DC8AECC37EC3F6FCB46CC7D2C73F6, ___m_subsystemDescriptor_0)); }
inline RuntimeObject* get_m_subsystemDescriptor_0() const { return ___m_subsystemDescriptor_0; }
inline RuntimeObject** get_address_of_m_subsystemDescriptor_0() { return &___m_subsystemDescriptor_0; }
inline void set_m_subsystemDescriptor_0(RuntimeObject* value)
{
___m_subsystemDescriptor_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_subsystemDescriptor_0), (void*)value);
}
};
// 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.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.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.Guid
struct Guid_t
{
public:
// System.Int32 System.Guid::_a
int32_t ____a_1;
// System.Int16 System.Guid::_b
int16_t ____b_2;
// System.Int16 System.Guid::_c
int16_t ____c_3;
// System.Byte System.Guid::_d
uint8_t ____d_4;
// System.Byte System.Guid::_e
uint8_t ____e_5;
// System.Byte System.Guid::_f
uint8_t ____f_6;
// System.Byte System.Guid::_g
uint8_t ____g_7;
// System.Byte System.Guid::_h
uint8_t ____h_8;
// System.Byte System.Guid::_i
uint8_t ____i_9;
// System.Byte System.Guid::_j
uint8_t ____j_10;
// System.Byte System.Guid::_k
uint8_t ____k_11;
public:
inline static int32_t get_offset_of__a_1() { return static_cast<int32_t>(offsetof(Guid_t, ____a_1)); }
inline int32_t get__a_1() const { return ____a_1; }
inline int32_t* get_address_of__a_1() { return &____a_1; }
inline void set__a_1(int32_t value)
{
____a_1 = value;
}
inline static int32_t get_offset_of__b_2() { return static_cast<int32_t>(offsetof(Guid_t, ____b_2)); }
inline int16_t get__b_2() const { return ____b_2; }
inline int16_t* get_address_of__b_2() { return &____b_2; }
inline void set__b_2(int16_t value)
{
____b_2 = value;
}
inline static int32_t get_offset_of__c_3() { return static_cast<int32_t>(offsetof(Guid_t, ____c_3)); }
inline int16_t get__c_3() const { return ____c_3; }
inline int16_t* get_address_of__c_3() { return &____c_3; }
inline void set__c_3(int16_t value)
{
____c_3 = value;
}
inline static int32_t get_offset_of__d_4() { return static_cast<int32_t>(offsetof(Guid_t, ____d_4)); }
inline uint8_t get__d_4() const { return ____d_4; }
inline uint8_t* get_address_of__d_4() { return &____d_4; }
inline void set__d_4(uint8_t value)
{
____d_4 = value;
}
inline static int32_t get_offset_of__e_5() { return static_cast<int32_t>(offsetof(Guid_t, ____e_5)); }
inline uint8_t get__e_5() const { return ____e_5; }
inline uint8_t* get_address_of__e_5() { return &____e_5; }
inline void set__e_5(uint8_t value)
{
____e_5 = value;
}
inline static int32_t get_offset_of__f_6() { return static_cast<int32_t>(offsetof(Guid_t, ____f_6)); }
inline uint8_t get__f_6() const { return ____f_6; }
inline uint8_t* get_address_of__f_6() { return &____f_6; }
inline void set__f_6(uint8_t value)
{
____f_6 = value;
}
inline static int32_t get_offset_of__g_7() { return static_cast<int32_t>(offsetof(Guid_t, ____g_7)); }
inline uint8_t get__g_7() const { return ____g_7; }
inline uint8_t* get_address_of__g_7() { return &____g_7; }
inline void set__g_7(uint8_t value)
{
____g_7 = value;
}
inline static int32_t get_offset_of__h_8() { return static_cast<int32_t>(offsetof(Guid_t, ____h_8)); }
inline uint8_t get__h_8() const { return ____h_8; }
inline uint8_t* get_address_of__h_8() { return &____h_8; }
inline void set__h_8(uint8_t value)
{
____h_8 = value;
}
inline static int32_t get_offset_of__i_9() { return static_cast<int32_t>(offsetof(Guid_t, ____i_9)); }
inline uint8_t get__i_9() const { return ____i_9; }
inline uint8_t* get_address_of__i_9() { return &____i_9; }
inline void set__i_9(uint8_t value)
{
____i_9 = value;
}
inline static int32_t get_offset_of__j_10() { return static_cast<int32_t>(offsetof(Guid_t, ____j_10)); }
inline uint8_t get__j_10() const { return ____j_10; }
inline uint8_t* get_address_of__j_10() { return &____j_10; }
inline void set__j_10(uint8_t value)
{
____j_10 = value;
}
inline static int32_t get_offset_of__k_11() { return static_cast<int32_t>(offsetof(Guid_t, ____k_11)); }
inline uint8_t get__k_11() const { return ____k_11; }
inline uint8_t* get_address_of__k_11() { return &____k_11; }
inline void set__k_11(uint8_t value)
{
____k_11 = value;
}
};
struct Guid_t_StaticFields
{
public:
// System.Guid System.Guid::Empty
Guid_t ___Empty_0;
// System.Object System.Guid::_rngAccess
RuntimeObject * ____rngAccess_12;
// System.Security.Cryptography.RandomNumberGenerator System.Guid::_rng
RandomNumberGenerator_t12277F7F965BA79C54E4B3BFABD27A5FFB725EE2 * ____rng_13;
// System.Security.Cryptography.RandomNumberGenerator System.Guid::_fastRng
RandomNumberGenerator_t12277F7F965BA79C54E4B3BFABD27A5FFB725EE2 * ____fastRng_14;
public:
inline static int32_t get_offset_of_Empty_0() { return static_cast<int32_t>(offsetof(Guid_t_StaticFields, ___Empty_0)); }
inline Guid_t get_Empty_0() const { return ___Empty_0; }
inline Guid_t * get_address_of_Empty_0() { return &___Empty_0; }
inline void set_Empty_0(Guid_t value)
{
___Empty_0 = value;
}
inline static int32_t get_offset_of__rngAccess_12() { return static_cast<int32_t>(offsetof(Guid_t_StaticFields, ____rngAccess_12)); }
inline RuntimeObject * get__rngAccess_12() const { return ____rngAccess_12; }
inline RuntimeObject ** get_address_of__rngAccess_12() { return &____rngAccess_12; }
inline void set__rngAccess_12(RuntimeObject * value)
{
____rngAccess_12 = value;
Il2CppCodeGenWriteBarrier((void**)(&____rngAccess_12), (void*)value);
}
inline static int32_t get_offset_of__rng_13() { return static_cast<int32_t>(offsetof(Guid_t_StaticFields, ____rng_13)); }
inline RandomNumberGenerator_t12277F7F965BA79C54E4B3BFABD27A5FFB725EE2 * get__rng_13() const { return ____rng_13; }
inline RandomNumberGenerator_t12277F7F965BA79C54E4B3BFABD27A5FFB725EE2 ** get_address_of__rng_13() { return &____rng_13; }
inline void set__rng_13(RandomNumberGenerator_t12277F7F965BA79C54E4B3BFABD27A5FFB725EE2 * value)
{
____rng_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&____rng_13), (void*)value);
}
inline static int32_t get_offset_of__fastRng_14() { return static_cast<int32_t>(offsetof(Guid_t_StaticFields, ____fastRng_14)); }
inline RandomNumberGenerator_t12277F7F965BA79C54E4B3BFABD27A5FFB725EE2 * get__fastRng_14() const { return ____fastRng_14; }
inline RandomNumberGenerator_t12277F7F965BA79C54E4B3BFABD27A5FFB725EE2 ** get_address_of__fastRng_14() { return &____fastRng_14; }
inline void set__fastRng_14(RandomNumberGenerator_t12277F7F965BA79C54E4B3BFABD27A5FFB725EE2 * value)
{
____fastRng_14 = value;
Il2CppCodeGenWriteBarrier((void**)(&____fastRng_14), (void*)value);
}
};
// 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.ValueTuple`2<System.Object,System.Boolean>
struct ValueTuple_2_t1DB410112935A237E72E75E33A14CB6D236ADC24
{
public:
// T1 System.ValueTuple`2::Item1
RuntimeObject * ___Item1_0;
// T2 System.ValueTuple`2::Item2
bool ___Item2_1;
public:
inline static int32_t get_offset_of_Item1_0() { return static_cast<int32_t>(offsetof(ValueTuple_2_t1DB410112935A237E72E75E33A14CB6D236ADC24, ___Item1_0)); }
inline RuntimeObject * get_Item1_0() const { return ___Item1_0; }
inline RuntimeObject ** get_address_of_Item1_0() { return &___Item1_0; }
inline void set_Item1_0(RuntimeObject * value)
{
___Item1_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Item1_0), (void*)value);
}
inline static int32_t get_offset_of_Item2_1() { return static_cast<int32_t>(offsetof(ValueTuple_2_t1DB410112935A237E72E75E33A14CB6D236ADC24, ___Item2_1)); }
inline bool get_Item2_1() const { return ___Item2_1; }
inline bool* get_address_of_Item2_1() { return &___Item2_1; }
inline void set_Item2_1(bool value)
{
___Item2_1 = value;
}
};
// System.ValueTuple`2<UnityEngine.GameObject,System.Boolean>
struct ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352
{
public:
// T1 System.ValueTuple`2::Item1
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * ___Item1_0;
// T2 System.ValueTuple`2::Item2
bool ___Item2_1;
public:
inline static int32_t get_offset_of_Item1_0() { return static_cast<int32_t>(offsetof(ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352, ___Item1_0)); }
inline GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * get_Item1_0() const { return ___Item1_0; }
inline GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F ** get_address_of_Item1_0() { return &___Item1_0; }
inline void set_Item1_0(GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * value)
{
___Item1_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Item1_0), (void*)value);
}
inline static int32_t get_offset_of_Item2_1() { return static_cast<int32_t>(offsetof(ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352, ___Item2_1)); }
inline bool get_Item2_1() const { return ___Item2_1; }
inline bool* get_address_of_Item2_1() { return &___Item2_1; }
inline void set_Item2_1(bool value)
{
___Item2_1 = value;
}
};
// System.Void
struct Void_t22962CB4C05B1D89B55A6E1139F0E87A90987017
{
public:
union
{
struct
{
};
uint8_t Void_t22962CB4C05B1D89B55A6E1139F0E87A90987017__padding[1];
};
public:
};
// UnityEngine.Quaternion
struct Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357
{
public:
// System.Single UnityEngine.Quaternion::x
float ___x_0;
// System.Single UnityEngine.Quaternion::y
float ___y_1;
// System.Single UnityEngine.Quaternion::z
float ___z_2;
// System.Single UnityEngine.Quaternion::w
float ___w_3;
public:
inline static int32_t get_offset_of_x_0() { return static_cast<int32_t>(offsetof(Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357, ___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(Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357, ___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_z_2() { return static_cast<int32_t>(offsetof(Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357, ___z_2)); }
inline float get_z_2() const { return ___z_2; }
inline float* get_address_of_z_2() { return &___z_2; }
inline void set_z_2(float value)
{
___z_2 = value;
}
inline static int32_t get_offset_of_w_3() { return static_cast<int32_t>(offsetof(Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357, ___w_3)); }
inline float get_w_3() const { return ___w_3; }
inline float* get_address_of_w_3() { return &___w_3; }
inline void set_w_3(float value)
{
___w_3 = value;
}
};
struct Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357_StaticFields
{
public:
// UnityEngine.Quaternion UnityEngine.Quaternion::identityQuaternion
Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 ___identityQuaternion_4;
public:
inline static int32_t get_offset_of_identityQuaternion_4() { return static_cast<int32_t>(offsetof(Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357_StaticFields, ___identityQuaternion_4)); }
inline Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 get_identityQuaternion_4() const { return ___identityQuaternion_4; }
inline Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 * get_address_of_identityQuaternion_4() { return &___identityQuaternion_4; }
inline void set_identityQuaternion_4(Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 value)
{
___identityQuaternion_4 = value;
}
};
// UnityEngine.Subsystem`1<System.Object>
struct Subsystem_1_t6048F47F8C2EBFDAC541AA593928233978B85EA9 : public Subsystem_t17E4AEB5537DC8AECC37EC3F6FCB46CC7D2C73F6
{
public:
public:
};
// 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;
}
};
// UnityEngine.XR.ARFoundation.ARTrackablesParentTransformChangedEventArgs
struct ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9
{
public:
// UnityEngine.XR.ARFoundation.ARSessionOrigin UnityEngine.XR.ARFoundation.ARTrackablesParentTransformChangedEventArgs::<sessionOrigin>k__BackingField
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * ___U3CsessionOriginU3Ek__BackingField_0;
// UnityEngine.Transform UnityEngine.XR.ARFoundation.ARTrackablesParentTransformChangedEventArgs::<trackablesParent>k__BackingField
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * ___U3CtrackablesParentU3Ek__BackingField_1;
public:
inline static int32_t get_offset_of_U3CsessionOriginU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9, ___U3CsessionOriginU3Ek__BackingField_0)); }
inline ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * get_U3CsessionOriginU3Ek__BackingField_0() const { return ___U3CsessionOriginU3Ek__BackingField_0; }
inline ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF ** get_address_of_U3CsessionOriginU3Ek__BackingField_0() { return &___U3CsessionOriginU3Ek__BackingField_0; }
inline void set_U3CsessionOriginU3Ek__BackingField_0(ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * value)
{
___U3CsessionOriginU3Ek__BackingField_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CsessionOriginU3Ek__BackingField_0), (void*)value);
}
inline static int32_t get_offset_of_U3CtrackablesParentU3Ek__BackingField_1() { return static_cast<int32_t>(offsetof(ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9, ___U3CtrackablesParentU3Ek__BackingField_1)); }
inline Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * get_U3CtrackablesParentU3Ek__BackingField_1() const { return ___U3CtrackablesParentU3Ek__BackingField_1; }
inline Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA ** get_address_of_U3CtrackablesParentU3Ek__BackingField_1() { return &___U3CtrackablesParentU3Ek__BackingField_1; }
inline void set_U3CtrackablesParentU3Ek__BackingField_1(Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * value)
{
___U3CtrackablesParentU3Ek__BackingField_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CtrackablesParentU3Ek__BackingField_1), (void*)value);
}
};
// Native definition for P/Invoke marshalling of UnityEngine.XR.ARFoundation.ARTrackablesParentTransformChangedEventArgs
struct ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9_marshaled_pinvoke
{
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * ___U3CsessionOriginU3Ek__BackingField_0;
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * ___U3CtrackablesParentU3Ek__BackingField_1;
};
// Native definition for COM marshalling of UnityEngine.XR.ARFoundation.ARTrackablesParentTransformChangedEventArgs
struct ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9_marshaled_com
{
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * ___U3CsessionOriginU3Ek__BackingField_0;
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * ___U3CtrackablesParentU3Ek__BackingField_1;
};
// UnityEngine.XR.ARFoundation.TrackableCollection`1<System.Object>
struct TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608
{
public:
// System.Collections.Generic.Dictionary`2<UnityEngine.XR.ARSubsystems.TrackableId,TTrackable> UnityEngine.XR.ARFoundation.TrackableCollection`1::m_Trackables
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * ___m_Trackables_0;
public:
inline static int32_t get_offset_of_m_Trackables_0() { return static_cast<int32_t>(offsetof(TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608, ___m_Trackables_0)); }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * get_m_Trackables_0() const { return ___m_Trackables_0; }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE ** get_address_of_m_Trackables_0() { return &___m_Trackables_0; }
inline void set_m_Trackables_0(Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * value)
{
___m_Trackables_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Trackables_0), (void*)value);
}
};
// UnityEngine.XR.ARSubsystems.ScopedProfiler
struct ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12
{
public:
union
{
struct
{
};
uint8_t ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12__padding[1];
};
public:
};
// UnityEngine.XR.ARSubsystems.TrackableId
struct TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47
{
public:
// System.UInt64 UnityEngine.XR.ARSubsystems.TrackableId::m_SubId1
uint64_t ___m_SubId1_2;
// System.UInt64 UnityEngine.XR.ARSubsystems.TrackableId::m_SubId2
uint64_t ___m_SubId2_3;
public:
inline static int32_t get_offset_of_m_SubId1_2() { return static_cast<int32_t>(offsetof(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47, ___m_SubId1_2)); }
inline uint64_t get_m_SubId1_2() const { return ___m_SubId1_2; }
inline uint64_t* get_address_of_m_SubId1_2() { return &___m_SubId1_2; }
inline void set_m_SubId1_2(uint64_t value)
{
___m_SubId1_2 = value;
}
inline static int32_t get_offset_of_m_SubId2_3() { return static_cast<int32_t>(offsetof(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47, ___m_SubId2_3)); }
inline uint64_t get_m_SubId2_3() const { return ___m_SubId2_3; }
inline uint64_t* get_address_of_m_SubId2_3() { return &___m_SubId2_3; }
inline void set_m_SubId2_3(uint64_t value)
{
___m_SubId2_3 = value;
}
};
struct TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47_StaticFields
{
public:
// System.Text.RegularExpressions.Regex UnityEngine.XR.ARSubsystems.TrackableId::s_TrackableIdRegex
Regex_tFD46E63A462E852189FD6AB4E2B0B67C4D8FDBDF * ___s_TrackableIdRegex_0;
// UnityEngine.XR.ARSubsystems.TrackableId UnityEngine.XR.ARSubsystems.TrackableId::s_InvalidId
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___s_InvalidId_1;
public:
inline static int32_t get_offset_of_s_TrackableIdRegex_0() { return static_cast<int32_t>(offsetof(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47_StaticFields, ___s_TrackableIdRegex_0)); }
inline Regex_tFD46E63A462E852189FD6AB4E2B0B67C4D8FDBDF * get_s_TrackableIdRegex_0() const { return ___s_TrackableIdRegex_0; }
inline Regex_tFD46E63A462E852189FD6AB4E2B0B67C4D8FDBDF ** get_address_of_s_TrackableIdRegex_0() { return &___s_TrackableIdRegex_0; }
inline void set_s_TrackableIdRegex_0(Regex_tFD46E63A462E852189FD6AB4E2B0B67C4D8FDBDF * value)
{
___s_TrackableIdRegex_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_TrackableIdRegex_0), (void*)value);
}
inline static int32_t get_offset_of_s_InvalidId_1() { return static_cast<int32_t>(offsetof(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47_StaticFields, ___s_InvalidId_1)); }
inline TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 get_s_InvalidId_1() const { return ___s_InvalidId_1; }
inline TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 * get_address_of_s_InvalidId_1() { return &___s_InvalidId_1; }
inline void set_s_InvalidId_1(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 value)
{
___s_InvalidId_1 = value;
}
};
// System.Collections.Generic.KeyValuePair`2<UnityEngine.XR.ARSubsystems.TrackableId,System.Object>
struct KeyValuePair_2_t9A2573A27EF4E0F718B4850FBA4E6B9113B0EACA
{
public:
// TKey System.Collections.Generic.KeyValuePair`2::key
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___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_t9A2573A27EF4E0F718B4850FBA4E6B9113B0EACA, ___key_0)); }
inline TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 get_key_0() const { return ___key_0; }
inline TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 * get_address_of_key_0() { return &___key_0; }
inline void set_key_0(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 value)
{
___key_0 = value;
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t9A2573A27EF4E0F718B4850FBA4E6B9113B0EACA, ___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.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;
};
// Unity.Collections.Allocator
struct Allocator_t62A091275262E7067EAAD565B67764FA877D58D6
{
public:
// System.Int32 Unity.Collections.Allocator::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(Allocator_t62A091275262E7067EAAD565B67764FA877D58D6, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// UnityEngine.Object
struct Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 : public RuntimeObject
{
public:
// System.IntPtr UnityEngine.Object::m_CachedPtr
intptr_t ___m_CachedPtr_0;
public:
inline static int32_t get_offset_of_m_CachedPtr_0() { return static_cast<int32_t>(offsetof(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0, ___m_CachedPtr_0)); }
inline intptr_t get_m_CachedPtr_0() const { return ___m_CachedPtr_0; }
inline intptr_t* get_address_of_m_CachedPtr_0() { return &___m_CachedPtr_0; }
inline void set_m_CachedPtr_0(intptr_t value)
{
___m_CachedPtr_0 = value;
}
};
struct Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_StaticFields
{
public:
// System.Int32 UnityEngine.Object::OffsetOfInstanceIDInCPlusPlusObject
int32_t ___OffsetOfInstanceIDInCPlusPlusObject_1;
public:
inline static int32_t get_offset_of_OffsetOfInstanceIDInCPlusPlusObject_1() { return static_cast<int32_t>(offsetof(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_StaticFields, ___OffsetOfInstanceIDInCPlusPlusObject_1)); }
inline int32_t get_OffsetOfInstanceIDInCPlusPlusObject_1() const { return ___OffsetOfInstanceIDInCPlusPlusObject_1; }
inline int32_t* get_address_of_OffsetOfInstanceIDInCPlusPlusObject_1() { return &___OffsetOfInstanceIDInCPlusPlusObject_1; }
inline void set_OffsetOfInstanceIDInCPlusPlusObject_1(int32_t value)
{
___OffsetOfInstanceIDInCPlusPlusObject_1 = value;
}
};
// Native definition for P/Invoke marshalling of UnityEngine.Object
struct Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_marshaled_pinvoke
{
intptr_t ___m_CachedPtr_0;
};
// Native definition for COM marshalling of UnityEngine.Object
struct Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_marshaled_com
{
intptr_t ___m_CachedPtr_0;
};
// UnityEngine.Pose
struct Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29
{
public:
// UnityEngine.Vector3 UnityEngine.Pose::position
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___position_0;
// UnityEngine.Quaternion UnityEngine.Pose::rotation
Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 ___rotation_1;
public:
inline static int32_t get_offset_of_position_0() { return static_cast<int32_t>(offsetof(Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29, ___position_0)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_position_0() const { return ___position_0; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_position_0() { return &___position_0; }
inline void set_position_0(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___position_0 = value;
}
inline static int32_t get_offset_of_rotation_1() { return static_cast<int32_t>(offsetof(Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29, ___rotation_1)); }
inline Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 get_rotation_1() const { return ___rotation_1; }
inline Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 * get_address_of_rotation_1() { return &___rotation_1; }
inline void set_rotation_1(Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 value)
{
___rotation_1 = value;
}
};
struct Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29_StaticFields
{
public:
// UnityEngine.Pose UnityEngine.Pose::k_Identity
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 ___k_Identity_2;
public:
inline static int32_t get_offset_of_k_Identity_2() { return static_cast<int32_t>(offsetof(Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29_StaticFields, ___k_Identity_2)); }
inline Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 get_k_Identity_2() const { return ___k_Identity_2; }
inline Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 * get_address_of_k_Identity_2() { return &___k_Identity_2; }
inline void set_k_Identity_2(Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 value)
{
___k_Identity_2 = value;
}
};
// UnityEngine.Rendering.TextureDimension
struct TextureDimension_t90D0E4110D3F4D062F3E8C0F69809BFBBDF8E19C
{
public:
// System.Int32 UnityEngine.Rendering.TextureDimension::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(TextureDimension_t90D0E4110D3F4D062F3E8C0F69809BFBBDF8E19C, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// UnityEngine.TextureFormat
struct TextureFormat_t7C6B5101554065C47682E592D1E26079D4EC2DCE
{
public:
// System.Int32 UnityEngine.TextureFormat::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(TextureFormat_t7C6B5101554065C47682E592D1E26079D4EC2DCE, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// UnityEngine.XR.ARSubsystems.TrackingState
struct TrackingState_t124D9E603E4E0453A85409CF7762EE8C946233F6
{
public:
// System.Int32 UnityEngine.XR.ARSubsystems.TrackingState::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(TrackingState_t124D9E603E4E0453A85409CF7762EE8C946233F6, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// UnityEngine.XR.ARSubsystems.XRSubsystem`1<System.Object>
struct XRSubsystem_1_tF1AF6BF44AE813FB0C425AC60D3C9E9DF5904C3A : public Subsystem_1_t6048F47F8C2EBFDAC541AA593928233978B85EA9
{
public:
// System.Boolean UnityEngine.XR.ARSubsystems.XRSubsystem`1::m_Running
bool ___m_Running_1;
// System.Boolean UnityEngine.XR.ARSubsystems.XRSubsystem`1::m_Destroyed
bool ___m_Destroyed_2;
public:
inline static int32_t get_offset_of_m_Running_1() { return static_cast<int32_t>(offsetof(XRSubsystem_1_tF1AF6BF44AE813FB0C425AC60D3C9E9DF5904C3A, ___m_Running_1)); }
inline bool get_m_Running_1() const { return ___m_Running_1; }
inline bool* get_address_of_m_Running_1() { return &___m_Running_1; }
inline void set_m_Running_1(bool value)
{
___m_Running_1 = value;
}
inline static int32_t get_offset_of_m_Destroyed_2() { return static_cast<int32_t>(offsetof(XRSubsystem_1_tF1AF6BF44AE813FB0C425AC60D3C9E9DF5904C3A, ___m_Destroyed_2)); }
inline bool get_m_Destroyed_2() const { return ___m_Destroyed_2; }
inline bool* get_address_of_m_Destroyed_2() { return &___m_Destroyed_2; }
inline void set_m_Destroyed_2(bool value)
{
___m_Destroyed_2 = value;
}
};
// System.Collections.Generic.Dictionary`2_Enumerator<UnityEngine.XR.ARSubsystems.TrackableId,System.Object>
struct Enumerator_tCB68C098BACB0B88BCB7C2F0AE3E42B10364C565
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2_Enumerator::dictionary
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * ___dictionary_0;
// System.Int32 System.Collections.Generic.Dictionary`2_Enumerator::version
int32_t ___version_1;
// System.Int32 System.Collections.Generic.Dictionary`2_Enumerator::index
int32_t ___index_2;
// System.Collections.Generic.KeyValuePair`2<TKey,TValue> System.Collections.Generic.Dictionary`2_Enumerator::current
KeyValuePair_2_t9A2573A27EF4E0F718B4850FBA4E6B9113B0EACA ___current_3;
// System.Int32 System.Collections.Generic.Dictionary`2_Enumerator::getEnumeratorRetType
int32_t ___getEnumeratorRetType_4;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(Enumerator_tCB68C098BACB0B88BCB7C2F0AE3E42B10364C565, ___dictionary_0)); }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
inline static int32_t get_offset_of_version_1() { return static_cast<int32_t>(offsetof(Enumerator_tCB68C098BACB0B88BCB7C2F0AE3E42B10364C565, ___version_1)); }
inline int32_t get_version_1() const { return ___version_1; }
inline int32_t* get_address_of_version_1() { return &___version_1; }
inline void set_version_1(int32_t value)
{
___version_1 = value;
}
inline static int32_t get_offset_of_index_2() { return static_cast<int32_t>(offsetof(Enumerator_tCB68C098BACB0B88BCB7C2F0AE3E42B10364C565, ___index_2)); }
inline int32_t get_index_2() const { return ___index_2; }
inline int32_t* get_address_of_index_2() { return &___index_2; }
inline void set_index_2(int32_t value)
{
___index_2 = value;
}
inline static int32_t get_offset_of_current_3() { return static_cast<int32_t>(offsetof(Enumerator_tCB68C098BACB0B88BCB7C2F0AE3E42B10364C565, ___current_3)); }
inline KeyValuePair_2_t9A2573A27EF4E0F718B4850FBA4E6B9113B0EACA get_current_3() const { return ___current_3; }
inline KeyValuePair_2_t9A2573A27EF4E0F718B4850FBA4E6B9113B0EACA * get_address_of_current_3() { return &___current_3; }
inline void set_current_3(KeyValuePair_2_t9A2573A27EF4E0F718B4850FBA4E6B9113B0EACA value)
{
___current_3 = value;
Il2CppCodeGenWriteBarrier((void**)&(((&___current_3))->___value_1), (void*)NULL);
}
inline static int32_t get_offset_of_getEnumeratorRetType_4() { return static_cast<int32_t>(offsetof(Enumerator_tCB68C098BACB0B88BCB7C2F0AE3E42B10364C565, ___getEnumeratorRetType_4)); }
inline int32_t get_getEnumeratorRetType_4() const { return ___getEnumeratorRetType_4; }
inline int32_t* get_address_of_getEnumeratorRetType_4() { return &___getEnumeratorRetType_4; }
inline void set_getEnumeratorRetType_4(int32_t value)
{
___getEnumeratorRetType_4 = 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:
};
// Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.TrackableId>
struct NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6
{
public:
// System.Void* Unity.Collections.NativeArray`1::m_Buffer
void* ___m_Buffer_0;
// System.Int32 Unity.Collections.NativeArray`1::m_Length
int32_t ___m_Length_1;
// Unity.Collections.Allocator Unity.Collections.NativeArray`1::m_AllocatorLabel
int32_t ___m_AllocatorLabel_2;
public:
inline static int32_t get_offset_of_m_Buffer_0() { return static_cast<int32_t>(offsetof(NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6, ___m_Buffer_0)); }
inline void* get_m_Buffer_0() const { return ___m_Buffer_0; }
inline void** get_address_of_m_Buffer_0() { return &___m_Buffer_0; }
inline void set_m_Buffer_0(void* value)
{
___m_Buffer_0 = value;
}
inline static int32_t get_offset_of_m_Length_1() { return static_cast<int32_t>(offsetof(NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6, ___m_Length_1)); }
inline int32_t get_m_Length_1() const { return ___m_Length_1; }
inline int32_t* get_address_of_m_Length_1() { return &___m_Length_1; }
inline void set_m_Length_1(int32_t value)
{
___m_Length_1 = value;
}
inline static int32_t get_offset_of_m_AllocatorLabel_2() { return static_cast<int32_t>(offsetof(NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6, ___m_AllocatorLabel_2)); }
inline int32_t get_m_AllocatorLabel_2() const { return ___m_AllocatorLabel_2; }
inline int32_t* get_address_of_m_AllocatorLabel_2() { return &___m_AllocatorLabel_2; }
inline void set_m_AllocatorLabel_2(int32_t value)
{
___m_AllocatorLabel_2 = value;
}
};
// Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.XREnvironmentProbe>
struct NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3
{
public:
// System.Void* Unity.Collections.NativeArray`1::m_Buffer
void* ___m_Buffer_0;
// System.Int32 Unity.Collections.NativeArray`1::m_Length
int32_t ___m_Length_1;
// Unity.Collections.Allocator Unity.Collections.NativeArray`1::m_AllocatorLabel
int32_t ___m_AllocatorLabel_2;
public:
inline static int32_t get_offset_of_m_Buffer_0() { return static_cast<int32_t>(offsetof(NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3, ___m_Buffer_0)); }
inline void* get_m_Buffer_0() const { return ___m_Buffer_0; }
inline void** get_address_of_m_Buffer_0() { return &___m_Buffer_0; }
inline void set_m_Buffer_0(void* value)
{
___m_Buffer_0 = value;
}
inline static int32_t get_offset_of_m_Length_1() { return static_cast<int32_t>(offsetof(NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3, ___m_Length_1)); }
inline int32_t get_m_Length_1() const { return ___m_Length_1; }
inline int32_t* get_address_of_m_Length_1() { return &___m_Length_1; }
inline void set_m_Length_1(int32_t value)
{
___m_Length_1 = value;
}
inline static int32_t get_offset_of_m_AllocatorLabel_2() { return static_cast<int32_t>(offsetof(NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3, ___m_AllocatorLabel_2)); }
inline int32_t get_m_AllocatorLabel_2() const { return ___m_AllocatorLabel_2; }
inline int32_t* get_address_of_m_AllocatorLabel_2() { return &___m_AllocatorLabel_2; }
inline void set_m_AllocatorLabel_2(int32_t value)
{
___m_AllocatorLabel_2 = value;
}
};
// Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.XRFace>
struct NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5
{
public:
// System.Void* Unity.Collections.NativeArray`1::m_Buffer
void* ___m_Buffer_0;
// System.Int32 Unity.Collections.NativeArray`1::m_Length
int32_t ___m_Length_1;
// Unity.Collections.Allocator Unity.Collections.NativeArray`1::m_AllocatorLabel
int32_t ___m_AllocatorLabel_2;
public:
inline static int32_t get_offset_of_m_Buffer_0() { return static_cast<int32_t>(offsetof(NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5, ___m_Buffer_0)); }
inline void* get_m_Buffer_0() const { return ___m_Buffer_0; }
inline void** get_address_of_m_Buffer_0() { return &___m_Buffer_0; }
inline void set_m_Buffer_0(void* value)
{
___m_Buffer_0 = value;
}
inline static int32_t get_offset_of_m_Length_1() { return static_cast<int32_t>(offsetof(NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5, ___m_Length_1)); }
inline int32_t get_m_Length_1() const { return ___m_Length_1; }
inline int32_t* get_address_of_m_Length_1() { return &___m_Length_1; }
inline void set_m_Length_1(int32_t value)
{
___m_Length_1 = value;
}
inline static int32_t get_offset_of_m_AllocatorLabel_2() { return static_cast<int32_t>(offsetof(NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5, ___m_AllocatorLabel_2)); }
inline int32_t get_m_AllocatorLabel_2() const { return ___m_AllocatorLabel_2; }
inline int32_t* get_address_of_m_AllocatorLabel_2() { return &___m_AllocatorLabel_2; }
inline void set_m_AllocatorLabel_2(int32_t value)
{
___m_AllocatorLabel_2 = value;
}
};
// Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.XRHumanBody>
struct NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8
{
public:
// System.Void* Unity.Collections.NativeArray`1::m_Buffer
void* ___m_Buffer_0;
// System.Int32 Unity.Collections.NativeArray`1::m_Length
int32_t ___m_Length_1;
// Unity.Collections.Allocator Unity.Collections.NativeArray`1::m_AllocatorLabel
int32_t ___m_AllocatorLabel_2;
public:
inline static int32_t get_offset_of_m_Buffer_0() { return static_cast<int32_t>(offsetof(NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8, ___m_Buffer_0)); }
inline void* get_m_Buffer_0() const { return ___m_Buffer_0; }
inline void** get_address_of_m_Buffer_0() { return &___m_Buffer_0; }
inline void set_m_Buffer_0(void* value)
{
___m_Buffer_0 = value;
}
inline static int32_t get_offset_of_m_Length_1() { return static_cast<int32_t>(offsetof(NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8, ___m_Length_1)); }
inline int32_t get_m_Length_1() const { return ___m_Length_1; }
inline int32_t* get_address_of_m_Length_1() { return &___m_Length_1; }
inline void set_m_Length_1(int32_t value)
{
___m_Length_1 = value;
}
inline static int32_t get_offset_of_m_AllocatorLabel_2() { return static_cast<int32_t>(offsetof(NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8, ___m_AllocatorLabel_2)); }
inline int32_t get_m_AllocatorLabel_2() const { return ___m_AllocatorLabel_2; }
inline int32_t* get_address_of_m_AllocatorLabel_2() { return &___m_AllocatorLabel_2; }
inline void set_m_AllocatorLabel_2(int32_t value)
{
___m_AllocatorLabel_2 = value;
}
};
// Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.XRParticipant>
struct NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839
{
public:
// System.Void* Unity.Collections.NativeArray`1::m_Buffer
void* ___m_Buffer_0;
// System.Int32 Unity.Collections.NativeArray`1::m_Length
int32_t ___m_Length_1;
// Unity.Collections.Allocator Unity.Collections.NativeArray`1::m_AllocatorLabel
int32_t ___m_AllocatorLabel_2;
public:
inline static int32_t get_offset_of_m_Buffer_0() { return static_cast<int32_t>(offsetof(NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839, ___m_Buffer_0)); }
inline void* get_m_Buffer_0() const { return ___m_Buffer_0; }
inline void** get_address_of_m_Buffer_0() { return &___m_Buffer_0; }
inline void set_m_Buffer_0(void* value)
{
___m_Buffer_0 = value;
}
inline static int32_t get_offset_of_m_Length_1() { return static_cast<int32_t>(offsetof(NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839, ___m_Length_1)); }
inline int32_t get_m_Length_1() const { return ___m_Length_1; }
inline int32_t* get_address_of_m_Length_1() { return &___m_Length_1; }
inline void set_m_Length_1(int32_t value)
{
___m_Length_1 = value;
}
inline static int32_t get_offset_of_m_AllocatorLabel_2() { return static_cast<int32_t>(offsetof(NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839, ___m_AllocatorLabel_2)); }
inline int32_t get_m_AllocatorLabel_2() const { return ___m_AllocatorLabel_2; }
inline int32_t* get_address_of_m_AllocatorLabel_2() { return &___m_AllocatorLabel_2; }
inline void set_m_AllocatorLabel_2(int32_t value)
{
___m_AllocatorLabel_2 = value;
}
};
// Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.XRPointCloud>
struct NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582
{
public:
// System.Void* Unity.Collections.NativeArray`1::m_Buffer
void* ___m_Buffer_0;
// System.Int32 Unity.Collections.NativeArray`1::m_Length
int32_t ___m_Length_1;
// Unity.Collections.Allocator Unity.Collections.NativeArray`1::m_AllocatorLabel
int32_t ___m_AllocatorLabel_2;
public:
inline static int32_t get_offset_of_m_Buffer_0() { return static_cast<int32_t>(offsetof(NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582, ___m_Buffer_0)); }
inline void* get_m_Buffer_0() const { return ___m_Buffer_0; }
inline void** get_address_of_m_Buffer_0() { return &___m_Buffer_0; }
inline void set_m_Buffer_0(void* value)
{
___m_Buffer_0 = value;
}
inline static int32_t get_offset_of_m_Length_1() { return static_cast<int32_t>(offsetof(NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582, ___m_Length_1)); }
inline int32_t get_m_Length_1() const { return ___m_Length_1; }
inline int32_t* get_address_of_m_Length_1() { return &___m_Length_1; }
inline void set_m_Length_1(int32_t value)
{
___m_Length_1 = value;
}
inline static int32_t get_offset_of_m_AllocatorLabel_2() { return static_cast<int32_t>(offsetof(NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582, ___m_AllocatorLabel_2)); }
inline int32_t get_m_AllocatorLabel_2() const { return ___m_AllocatorLabel_2; }
inline int32_t* get_address_of_m_AllocatorLabel_2() { return &___m_AllocatorLabel_2; }
inline void set_m_AllocatorLabel_2(int32_t value)
{
___m_AllocatorLabel_2 = value;
}
};
// Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.XRRaycast>
struct NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820
{
public:
// System.Void* Unity.Collections.NativeArray`1::m_Buffer
void* ___m_Buffer_0;
// System.Int32 Unity.Collections.NativeArray`1::m_Length
int32_t ___m_Length_1;
// Unity.Collections.Allocator Unity.Collections.NativeArray`1::m_AllocatorLabel
int32_t ___m_AllocatorLabel_2;
public:
inline static int32_t get_offset_of_m_Buffer_0() { return static_cast<int32_t>(offsetof(NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820, ___m_Buffer_0)); }
inline void* get_m_Buffer_0() const { return ___m_Buffer_0; }
inline void** get_address_of_m_Buffer_0() { return &___m_Buffer_0; }
inline void set_m_Buffer_0(void* value)
{
___m_Buffer_0 = value;
}
inline static int32_t get_offset_of_m_Length_1() { return static_cast<int32_t>(offsetof(NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820, ___m_Length_1)); }
inline int32_t get_m_Length_1() const { return ___m_Length_1; }
inline int32_t* get_address_of_m_Length_1() { return &___m_Length_1; }
inline void set_m_Length_1(int32_t value)
{
___m_Length_1 = value;
}
inline static int32_t get_offset_of_m_AllocatorLabel_2() { return static_cast<int32_t>(offsetof(NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820, ___m_AllocatorLabel_2)); }
inline int32_t get_m_AllocatorLabel_2() const { return ___m_AllocatorLabel_2; }
inline int32_t* get_address_of_m_AllocatorLabel_2() { return &___m_AllocatorLabel_2; }
inline void set_m_AllocatorLabel_2(int32_t value)
{
___m_AllocatorLabel_2 = value;
}
};
// Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.XRReferencePoint>
struct NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876
{
public:
// System.Void* Unity.Collections.NativeArray`1::m_Buffer
void* ___m_Buffer_0;
// System.Int32 Unity.Collections.NativeArray`1::m_Length
int32_t ___m_Length_1;
// Unity.Collections.Allocator Unity.Collections.NativeArray`1::m_AllocatorLabel
int32_t ___m_AllocatorLabel_2;
public:
inline static int32_t get_offset_of_m_Buffer_0() { return static_cast<int32_t>(offsetof(NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876, ___m_Buffer_0)); }
inline void* get_m_Buffer_0() const { return ___m_Buffer_0; }
inline void** get_address_of_m_Buffer_0() { return &___m_Buffer_0; }
inline void set_m_Buffer_0(void* value)
{
___m_Buffer_0 = value;
}
inline static int32_t get_offset_of_m_Length_1() { return static_cast<int32_t>(offsetof(NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876, ___m_Length_1)); }
inline int32_t get_m_Length_1() const { return ___m_Length_1; }
inline int32_t* get_address_of_m_Length_1() { return &___m_Length_1; }
inline void set_m_Length_1(int32_t value)
{
___m_Length_1 = value;
}
inline static int32_t get_offset_of_m_AllocatorLabel_2() { return static_cast<int32_t>(offsetof(NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876, ___m_AllocatorLabel_2)); }
inline int32_t get_m_AllocatorLabel_2() const { return ___m_AllocatorLabel_2; }
inline int32_t* get_address_of_m_AllocatorLabel_2() { return &___m_AllocatorLabel_2; }
inline void set_m_AllocatorLabel_2(int32_t value)
{
___m_AllocatorLabel_2 = value;
}
};
// Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.XRTrackedImage>
struct NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1
{
public:
// System.Void* Unity.Collections.NativeArray`1::m_Buffer
void* ___m_Buffer_0;
// System.Int32 Unity.Collections.NativeArray`1::m_Length
int32_t ___m_Length_1;
// Unity.Collections.Allocator Unity.Collections.NativeArray`1::m_AllocatorLabel
int32_t ___m_AllocatorLabel_2;
public:
inline static int32_t get_offset_of_m_Buffer_0() { return static_cast<int32_t>(offsetof(NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1, ___m_Buffer_0)); }
inline void* get_m_Buffer_0() const { return ___m_Buffer_0; }
inline void** get_address_of_m_Buffer_0() { return &___m_Buffer_0; }
inline void set_m_Buffer_0(void* value)
{
___m_Buffer_0 = value;
}
inline static int32_t get_offset_of_m_Length_1() { return static_cast<int32_t>(offsetof(NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1, ___m_Length_1)); }
inline int32_t get_m_Length_1() const { return ___m_Length_1; }
inline int32_t* get_address_of_m_Length_1() { return &___m_Length_1; }
inline void set_m_Length_1(int32_t value)
{
___m_Length_1 = value;
}
inline static int32_t get_offset_of_m_AllocatorLabel_2() { return static_cast<int32_t>(offsetof(NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1, ___m_AllocatorLabel_2)); }
inline int32_t get_m_AllocatorLabel_2() const { return ___m_AllocatorLabel_2; }
inline int32_t* get_address_of_m_AllocatorLabel_2() { return &___m_AllocatorLabel_2; }
inline void set_m_AllocatorLabel_2(int32_t value)
{
___m_AllocatorLabel_2 = value;
}
};
// Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.XRTrackedObject>
struct NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529
{
public:
// System.Void* Unity.Collections.NativeArray`1::m_Buffer
void* ___m_Buffer_0;
// System.Int32 Unity.Collections.NativeArray`1::m_Length
int32_t ___m_Length_1;
// Unity.Collections.Allocator Unity.Collections.NativeArray`1::m_AllocatorLabel
int32_t ___m_AllocatorLabel_2;
public:
inline static int32_t get_offset_of_m_Buffer_0() { return static_cast<int32_t>(offsetof(NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529, ___m_Buffer_0)); }
inline void* get_m_Buffer_0() const { return ___m_Buffer_0; }
inline void** get_address_of_m_Buffer_0() { return &___m_Buffer_0; }
inline void set_m_Buffer_0(void* value)
{
___m_Buffer_0 = value;
}
inline static int32_t get_offset_of_m_Length_1() { return static_cast<int32_t>(offsetof(NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529, ___m_Length_1)); }
inline int32_t get_m_Length_1() const { return ___m_Length_1; }
inline int32_t* get_address_of_m_Length_1() { return &___m_Length_1; }
inline void set_m_Length_1(int32_t value)
{
___m_Length_1 = value;
}
inline static int32_t get_offset_of_m_AllocatorLabel_2() { return static_cast<int32_t>(offsetof(NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529, ___m_AllocatorLabel_2)); }
inline int32_t get_m_AllocatorLabel_2() const { return ___m_AllocatorLabel_2; }
inline int32_t* get_address_of_m_AllocatorLabel_2() { return &___m_AllocatorLabel_2; }
inline void set_m_AllocatorLabel_2(int32_t value)
{
___m_AllocatorLabel_2 = value;
}
};
// UnityEngine.Component
struct Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 : public Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0
{
public:
public:
};
// UnityEngine.GameObject
struct GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F : public Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0
{
public:
public:
};
// UnityEngine.XR.ARSubsystems.TrackingSubsystem`2<UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>
struct TrackingSubsystem_2_tF85E28B67FC3325EEB52CE2A8DA0361B2BD80909 : public XRSubsystem_1_tF1AF6BF44AE813FB0C425AC60D3C9E9DF5904C3A
{
public:
public:
};
// UnityEngine.XR.ARSubsystems.TrackingSubsystem`2<UnityEngine.XR.ARSubsystems.XRFace,System.Object>
struct TrackingSubsystem_2_t810E285415E1644FA85391E12F95806CEE3C50EB : public XRSubsystem_1_tF1AF6BF44AE813FB0C425AC60D3C9E9DF5904C3A
{
public:
public:
};
// UnityEngine.XR.ARSubsystems.TrackingSubsystem`2<UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>
struct TrackingSubsystem_2_tBB99F93D6653B71E3A2C1E2116F8599311DC72D6 : public XRSubsystem_1_tF1AF6BF44AE813FB0C425AC60D3C9E9DF5904C3A
{
public:
public:
};
// UnityEngine.XR.ARSubsystems.TrackingSubsystem`2<UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>
struct TrackingSubsystem_2_tE2F49A29D690020049C702A06ED3969AE2A39863 : public XRSubsystem_1_tF1AF6BF44AE813FB0C425AC60D3C9E9DF5904C3A
{
public:
public:
};
// UnityEngine.XR.ARSubsystems.TrackingSubsystem`2<UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>
struct TrackingSubsystem_2_t1EC759A75AE7EFD4E4446A20009C8472E1C8AED1 : public XRSubsystem_1_tF1AF6BF44AE813FB0C425AC60D3C9E9DF5904C3A
{
public:
public:
};
// UnityEngine.XR.ARSubsystems.TrackingSubsystem`2<UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>
struct TrackingSubsystem_2_tAE9BB8C8235205F41DFEA520A6AD8877415FA95B : public XRSubsystem_1_tF1AF6BF44AE813FB0C425AC60D3C9E9DF5904C3A
{
public:
public:
};
// UnityEngine.XR.ARSubsystems.TrackingSubsystem`2<UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>
struct TrackingSubsystem_2_tA3D4B822865BAE0754B253CF8551A3EBB7073851 : public XRSubsystem_1_tF1AF6BF44AE813FB0C425AC60D3C9E9DF5904C3A
{
public:
public:
};
// UnityEngine.XR.ARSubsystems.TrackingSubsystem`2<UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>
struct TrackingSubsystem_2_t9DCCF84BEF8FF140325BC90B18398D78CACAFF00 : public XRSubsystem_1_tF1AF6BF44AE813FB0C425AC60D3C9E9DF5904C3A
{
public:
public:
};
// UnityEngine.XR.ARSubsystems.TrackingSubsystem`2<UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>
struct TrackingSubsystem_2_t463AAAB107BF4F04078A98431C680E92C4B53148 : public XRSubsystem_1_tF1AF6BF44AE813FB0C425AC60D3C9E9DF5904C3A
{
public:
public:
};
// UnityEngine.XR.ARSubsystems.XRFace
struct XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7
{
public:
// UnityEngine.XR.ARSubsystems.TrackableId UnityEngine.XR.ARSubsystems.XRFace::m_TrackableId
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___m_TrackableId_0;
// UnityEngine.Pose UnityEngine.XR.ARSubsystems.XRFace::m_Pose
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 ___m_Pose_1;
// UnityEngine.XR.ARSubsystems.TrackingState UnityEngine.XR.ARSubsystems.XRFace::m_TrackingState
int32_t ___m_TrackingState_2;
// System.IntPtr UnityEngine.XR.ARSubsystems.XRFace::m_NativePtr
intptr_t ___m_NativePtr_3;
// UnityEngine.Pose UnityEngine.XR.ARSubsystems.XRFace::m_LeftEyePose
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 ___m_LeftEyePose_4;
// UnityEngine.Pose UnityEngine.XR.ARSubsystems.XRFace::m_RightEyePose
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 ___m_RightEyePose_5;
// UnityEngine.Vector3 UnityEngine.XR.ARSubsystems.XRFace::m_FixationPoint
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___m_FixationPoint_6;
public:
inline static int32_t get_offset_of_m_TrackableId_0() { return static_cast<int32_t>(offsetof(XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7, ___m_TrackableId_0)); }
inline TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 get_m_TrackableId_0() const { return ___m_TrackableId_0; }
inline TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 * get_address_of_m_TrackableId_0() { return &___m_TrackableId_0; }
inline void set_m_TrackableId_0(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 value)
{
___m_TrackableId_0 = value;
}
inline static int32_t get_offset_of_m_Pose_1() { return static_cast<int32_t>(offsetof(XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7, ___m_Pose_1)); }
inline Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 get_m_Pose_1() const { return ___m_Pose_1; }
inline Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 * get_address_of_m_Pose_1() { return &___m_Pose_1; }
inline void set_m_Pose_1(Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 value)
{
___m_Pose_1 = value;
}
inline static int32_t get_offset_of_m_TrackingState_2() { return static_cast<int32_t>(offsetof(XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7, ___m_TrackingState_2)); }
inline int32_t get_m_TrackingState_2() const { return ___m_TrackingState_2; }
inline int32_t* get_address_of_m_TrackingState_2() { return &___m_TrackingState_2; }
inline void set_m_TrackingState_2(int32_t value)
{
___m_TrackingState_2 = value;
}
inline static int32_t get_offset_of_m_NativePtr_3() { return static_cast<int32_t>(offsetof(XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7, ___m_NativePtr_3)); }
inline intptr_t get_m_NativePtr_3() const { return ___m_NativePtr_3; }
inline intptr_t* get_address_of_m_NativePtr_3() { return &___m_NativePtr_3; }
inline void set_m_NativePtr_3(intptr_t value)
{
___m_NativePtr_3 = value;
}
inline static int32_t get_offset_of_m_LeftEyePose_4() { return static_cast<int32_t>(offsetof(XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7, ___m_LeftEyePose_4)); }
inline Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 get_m_LeftEyePose_4() const { return ___m_LeftEyePose_4; }
inline Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 * get_address_of_m_LeftEyePose_4() { return &___m_LeftEyePose_4; }
inline void set_m_LeftEyePose_4(Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 value)
{
___m_LeftEyePose_4 = value;
}
inline static int32_t get_offset_of_m_RightEyePose_5() { return static_cast<int32_t>(offsetof(XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7, ___m_RightEyePose_5)); }
inline Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 get_m_RightEyePose_5() const { return ___m_RightEyePose_5; }
inline Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 * get_address_of_m_RightEyePose_5() { return &___m_RightEyePose_5; }
inline void set_m_RightEyePose_5(Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 value)
{
___m_RightEyePose_5 = value;
}
inline static int32_t get_offset_of_m_FixationPoint_6() { return static_cast<int32_t>(offsetof(XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7, ___m_FixationPoint_6)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_m_FixationPoint_6() const { return ___m_FixationPoint_6; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_m_FixationPoint_6() { return &___m_FixationPoint_6; }
inline void set_m_FixationPoint_6(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___m_FixationPoint_6 = value;
}
};
struct XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7_StaticFields
{
public:
// UnityEngine.XR.ARSubsystems.XRFace UnityEngine.XR.ARSubsystems.XRFace::s_Default
XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 ___s_Default_7;
public:
inline static int32_t get_offset_of_s_Default_7() { return static_cast<int32_t>(offsetof(XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7_StaticFields, ___s_Default_7)); }
inline XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 get_s_Default_7() const { return ___s_Default_7; }
inline XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 * get_address_of_s_Default_7() { return &___s_Default_7; }
inline void set_s_Default_7(XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 value)
{
___s_Default_7 = value;
}
};
// UnityEngine.XR.ARSubsystems.XRHumanBody
struct XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1
{
public:
// UnityEngine.XR.ARSubsystems.TrackableId UnityEngine.XR.ARSubsystems.XRHumanBody::m_TrackableId
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___m_TrackableId_0;
// UnityEngine.Pose UnityEngine.XR.ARSubsystems.XRHumanBody::m_Pose
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 ___m_Pose_1;
// System.Single UnityEngine.XR.ARSubsystems.XRHumanBody::m_EstimatedHeightScaleFactor
float ___m_EstimatedHeightScaleFactor_2;
// UnityEngine.XR.ARSubsystems.TrackingState UnityEngine.XR.ARSubsystems.XRHumanBody::m_TrackingState
int32_t ___m_TrackingState_3;
// System.IntPtr UnityEngine.XR.ARSubsystems.XRHumanBody::m_NativePtr
intptr_t ___m_NativePtr_4;
public:
inline static int32_t get_offset_of_m_TrackableId_0() { return static_cast<int32_t>(offsetof(XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1, ___m_TrackableId_0)); }
inline TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 get_m_TrackableId_0() const { return ___m_TrackableId_0; }
inline TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 * get_address_of_m_TrackableId_0() { return &___m_TrackableId_0; }
inline void set_m_TrackableId_0(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 value)
{
___m_TrackableId_0 = value;
}
inline static int32_t get_offset_of_m_Pose_1() { return static_cast<int32_t>(offsetof(XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1, ___m_Pose_1)); }
inline Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 get_m_Pose_1() const { return ___m_Pose_1; }
inline Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 * get_address_of_m_Pose_1() { return &___m_Pose_1; }
inline void set_m_Pose_1(Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 value)
{
___m_Pose_1 = value;
}
inline static int32_t get_offset_of_m_EstimatedHeightScaleFactor_2() { return static_cast<int32_t>(offsetof(XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1, ___m_EstimatedHeightScaleFactor_2)); }
inline float get_m_EstimatedHeightScaleFactor_2() const { return ___m_EstimatedHeightScaleFactor_2; }
inline float* get_address_of_m_EstimatedHeightScaleFactor_2() { return &___m_EstimatedHeightScaleFactor_2; }
inline void set_m_EstimatedHeightScaleFactor_2(float value)
{
___m_EstimatedHeightScaleFactor_2 = value;
}
inline static int32_t get_offset_of_m_TrackingState_3() { return static_cast<int32_t>(offsetof(XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1, ___m_TrackingState_3)); }
inline int32_t get_m_TrackingState_3() const { return ___m_TrackingState_3; }
inline int32_t* get_address_of_m_TrackingState_3() { return &___m_TrackingState_3; }
inline void set_m_TrackingState_3(int32_t value)
{
___m_TrackingState_3 = value;
}
inline static int32_t get_offset_of_m_NativePtr_4() { return static_cast<int32_t>(offsetof(XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1, ___m_NativePtr_4)); }
inline intptr_t get_m_NativePtr_4() const { return ___m_NativePtr_4; }
inline intptr_t* get_address_of_m_NativePtr_4() { return &___m_NativePtr_4; }
inline void set_m_NativePtr_4(intptr_t value)
{
___m_NativePtr_4 = value;
}
};
struct XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1_StaticFields
{
public:
// UnityEngine.XR.ARSubsystems.XRHumanBody UnityEngine.XR.ARSubsystems.XRHumanBody::s_Default
XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 ___s_Default_5;
public:
inline static int32_t get_offset_of_s_Default_5() { return static_cast<int32_t>(offsetof(XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1_StaticFields, ___s_Default_5)); }
inline XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 get_s_Default_5() const { return ___s_Default_5; }
inline XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 * get_address_of_s_Default_5() { return &___s_Default_5; }
inline void set_s_Default_5(XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 value)
{
___s_Default_5 = value;
}
};
// UnityEngine.XR.ARSubsystems.XRParticipant
struct XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062
{
public:
// UnityEngine.XR.ARSubsystems.TrackableId UnityEngine.XR.ARSubsystems.XRParticipant::m_TrackableId
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___m_TrackableId_0;
// UnityEngine.Pose UnityEngine.XR.ARSubsystems.XRParticipant::m_Pose
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 ___m_Pose_1;
// UnityEngine.XR.ARSubsystems.TrackingState UnityEngine.XR.ARSubsystems.XRParticipant::m_TrackingState
int32_t ___m_TrackingState_2;
// System.IntPtr UnityEngine.XR.ARSubsystems.XRParticipant::m_NativePtr
intptr_t ___m_NativePtr_3;
// System.Guid UnityEngine.XR.ARSubsystems.XRParticipant::m_SessionId
Guid_t ___m_SessionId_4;
public:
inline static int32_t get_offset_of_m_TrackableId_0() { return static_cast<int32_t>(offsetof(XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062, ___m_TrackableId_0)); }
inline TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 get_m_TrackableId_0() const { return ___m_TrackableId_0; }
inline TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 * get_address_of_m_TrackableId_0() { return &___m_TrackableId_0; }
inline void set_m_TrackableId_0(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 value)
{
___m_TrackableId_0 = value;
}
inline static int32_t get_offset_of_m_Pose_1() { return static_cast<int32_t>(offsetof(XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062, ___m_Pose_1)); }
inline Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 get_m_Pose_1() const { return ___m_Pose_1; }
inline Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 * get_address_of_m_Pose_1() { return &___m_Pose_1; }
inline void set_m_Pose_1(Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 value)
{
___m_Pose_1 = value;
}
inline static int32_t get_offset_of_m_TrackingState_2() { return static_cast<int32_t>(offsetof(XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062, ___m_TrackingState_2)); }
inline int32_t get_m_TrackingState_2() const { return ___m_TrackingState_2; }
inline int32_t* get_address_of_m_TrackingState_2() { return &___m_TrackingState_2; }
inline void set_m_TrackingState_2(int32_t value)
{
___m_TrackingState_2 = value;
}
inline static int32_t get_offset_of_m_NativePtr_3() { return static_cast<int32_t>(offsetof(XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062, ___m_NativePtr_3)); }
inline intptr_t get_m_NativePtr_3() const { return ___m_NativePtr_3; }
inline intptr_t* get_address_of_m_NativePtr_3() { return &___m_NativePtr_3; }
inline void set_m_NativePtr_3(intptr_t value)
{
___m_NativePtr_3 = value;
}
inline static int32_t get_offset_of_m_SessionId_4() { return static_cast<int32_t>(offsetof(XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062, ___m_SessionId_4)); }
inline Guid_t get_m_SessionId_4() const { return ___m_SessionId_4; }
inline Guid_t * get_address_of_m_SessionId_4() { return &___m_SessionId_4; }
inline void set_m_SessionId_4(Guid_t value)
{
___m_SessionId_4 = value;
}
};
struct XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062_StaticFields
{
public:
// UnityEngine.XR.ARSubsystems.XRParticipant UnityEngine.XR.ARSubsystems.XRParticipant::k_Default
XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 ___k_Default_5;
public:
inline static int32_t get_offset_of_k_Default_5() { return static_cast<int32_t>(offsetof(XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062_StaticFields, ___k_Default_5)); }
inline XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 get_k_Default_5() const { return ___k_Default_5; }
inline XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 * get_address_of_k_Default_5() { return &___k_Default_5; }
inline void set_k_Default_5(XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 value)
{
___k_Default_5 = value;
}
};
// UnityEngine.XR.ARSubsystems.XRPointCloud
struct XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0
{
public:
// UnityEngine.XR.ARSubsystems.TrackableId UnityEngine.XR.ARSubsystems.XRPointCloud::m_TrackableId
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___m_TrackableId_1;
// UnityEngine.Pose UnityEngine.XR.ARSubsystems.XRPointCloud::m_Pose
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 ___m_Pose_2;
// UnityEngine.XR.ARSubsystems.TrackingState UnityEngine.XR.ARSubsystems.XRPointCloud::m_TrackingState
int32_t ___m_TrackingState_3;
// System.IntPtr UnityEngine.XR.ARSubsystems.XRPointCloud::m_NativePtr
intptr_t ___m_NativePtr_4;
public:
inline static int32_t get_offset_of_m_TrackableId_1() { return static_cast<int32_t>(offsetof(XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0, ___m_TrackableId_1)); }
inline TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 get_m_TrackableId_1() const { return ___m_TrackableId_1; }
inline TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 * get_address_of_m_TrackableId_1() { return &___m_TrackableId_1; }
inline void set_m_TrackableId_1(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 value)
{
___m_TrackableId_1 = value;
}
inline static int32_t get_offset_of_m_Pose_2() { return static_cast<int32_t>(offsetof(XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0, ___m_Pose_2)); }
inline Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 get_m_Pose_2() const { return ___m_Pose_2; }
inline Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 * get_address_of_m_Pose_2() { return &___m_Pose_2; }
inline void set_m_Pose_2(Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 value)
{
___m_Pose_2 = value;
}
inline static int32_t get_offset_of_m_TrackingState_3() { return static_cast<int32_t>(offsetof(XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0, ___m_TrackingState_3)); }
inline int32_t get_m_TrackingState_3() const { return ___m_TrackingState_3; }
inline int32_t* get_address_of_m_TrackingState_3() { return &___m_TrackingState_3; }
inline void set_m_TrackingState_3(int32_t value)
{
___m_TrackingState_3 = value;
}
inline static int32_t get_offset_of_m_NativePtr_4() { return static_cast<int32_t>(offsetof(XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0, ___m_NativePtr_4)); }
inline intptr_t get_m_NativePtr_4() const { return ___m_NativePtr_4; }
inline intptr_t* get_address_of_m_NativePtr_4() { return &___m_NativePtr_4; }
inline void set_m_NativePtr_4(intptr_t value)
{
___m_NativePtr_4 = value;
}
};
struct XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0_StaticFields
{
public:
// UnityEngine.XR.ARSubsystems.XRPointCloud UnityEngine.XR.ARSubsystems.XRPointCloud::s_Default
XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 ___s_Default_0;
public:
inline static int32_t get_offset_of_s_Default_0() { return static_cast<int32_t>(offsetof(XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0_StaticFields, ___s_Default_0)); }
inline XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 get_s_Default_0() const { return ___s_Default_0; }
inline XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 * get_address_of_s_Default_0() { return &___s_Default_0; }
inline void set_s_Default_0(XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 value)
{
___s_Default_0 = value;
}
};
// UnityEngine.XR.ARSubsystems.XRRaycast
struct XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695
{
public:
// UnityEngine.XR.ARSubsystems.TrackableId UnityEngine.XR.ARSubsystems.XRRaycast::m_TrackableId
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___m_TrackableId_1;
// UnityEngine.Pose UnityEngine.XR.ARSubsystems.XRRaycast::m_Pose
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 ___m_Pose_2;
// UnityEngine.XR.ARSubsystems.TrackingState UnityEngine.XR.ARSubsystems.XRRaycast::m_TrackingState
int32_t ___m_TrackingState_3;
// System.IntPtr UnityEngine.XR.ARSubsystems.XRRaycast::m_NativePtr
intptr_t ___m_NativePtr_4;
// System.Single UnityEngine.XR.ARSubsystems.XRRaycast::m_Distance
float ___m_Distance_5;
// UnityEngine.XR.ARSubsystems.TrackableId UnityEngine.XR.ARSubsystems.XRRaycast::m_HitTrackableId
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___m_HitTrackableId_6;
public:
inline static int32_t get_offset_of_m_TrackableId_1() { return static_cast<int32_t>(offsetof(XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695, ___m_TrackableId_1)); }
inline TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 get_m_TrackableId_1() const { return ___m_TrackableId_1; }
inline TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 * get_address_of_m_TrackableId_1() { return &___m_TrackableId_1; }
inline void set_m_TrackableId_1(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 value)
{
___m_TrackableId_1 = value;
}
inline static int32_t get_offset_of_m_Pose_2() { return static_cast<int32_t>(offsetof(XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695, ___m_Pose_2)); }
inline Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 get_m_Pose_2() const { return ___m_Pose_2; }
inline Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 * get_address_of_m_Pose_2() { return &___m_Pose_2; }
inline void set_m_Pose_2(Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 value)
{
___m_Pose_2 = value;
}
inline static int32_t get_offset_of_m_TrackingState_3() { return static_cast<int32_t>(offsetof(XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695, ___m_TrackingState_3)); }
inline int32_t get_m_TrackingState_3() const { return ___m_TrackingState_3; }
inline int32_t* get_address_of_m_TrackingState_3() { return &___m_TrackingState_3; }
inline void set_m_TrackingState_3(int32_t value)
{
___m_TrackingState_3 = value;
}
inline static int32_t get_offset_of_m_NativePtr_4() { return static_cast<int32_t>(offsetof(XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695, ___m_NativePtr_4)); }
inline intptr_t get_m_NativePtr_4() const { return ___m_NativePtr_4; }
inline intptr_t* get_address_of_m_NativePtr_4() { return &___m_NativePtr_4; }
inline void set_m_NativePtr_4(intptr_t value)
{
___m_NativePtr_4 = value;
}
inline static int32_t get_offset_of_m_Distance_5() { return static_cast<int32_t>(offsetof(XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695, ___m_Distance_5)); }
inline float get_m_Distance_5() const { return ___m_Distance_5; }
inline float* get_address_of_m_Distance_5() { return &___m_Distance_5; }
inline void set_m_Distance_5(float value)
{
___m_Distance_5 = value;
}
inline static int32_t get_offset_of_m_HitTrackableId_6() { return static_cast<int32_t>(offsetof(XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695, ___m_HitTrackableId_6)); }
inline TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 get_m_HitTrackableId_6() const { return ___m_HitTrackableId_6; }
inline TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 * get_address_of_m_HitTrackableId_6() { return &___m_HitTrackableId_6; }
inline void set_m_HitTrackableId_6(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 value)
{
___m_HitTrackableId_6 = value;
}
};
struct XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695_StaticFields
{
public:
// UnityEngine.XR.ARSubsystems.XRRaycast UnityEngine.XR.ARSubsystems.XRRaycast::s_Default
XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 ___s_Default_0;
public:
inline static int32_t get_offset_of_s_Default_0() { return static_cast<int32_t>(offsetof(XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695_StaticFields, ___s_Default_0)); }
inline XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 get_s_Default_0() const { return ___s_Default_0; }
inline XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 * get_address_of_s_Default_0() { return &___s_Default_0; }
inline void set_s_Default_0(XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 value)
{
___s_Default_0 = value;
}
};
// UnityEngine.XR.ARSubsystems.XRReferencePoint
struct XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9
{
public:
// UnityEngine.XR.ARSubsystems.TrackableId UnityEngine.XR.ARSubsystems.XRReferencePoint::m_Id
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___m_Id_1;
// UnityEngine.Pose UnityEngine.XR.ARSubsystems.XRReferencePoint::m_Pose
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 ___m_Pose_2;
// UnityEngine.XR.ARSubsystems.TrackingState UnityEngine.XR.ARSubsystems.XRReferencePoint::m_TrackingState
int32_t ___m_TrackingState_3;
// System.IntPtr UnityEngine.XR.ARSubsystems.XRReferencePoint::m_NativePtr
intptr_t ___m_NativePtr_4;
// System.Guid UnityEngine.XR.ARSubsystems.XRReferencePoint::m_SessionId
Guid_t ___m_SessionId_5;
public:
inline static int32_t get_offset_of_m_Id_1() { return static_cast<int32_t>(offsetof(XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9, ___m_Id_1)); }
inline TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 get_m_Id_1() const { return ___m_Id_1; }
inline TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 * get_address_of_m_Id_1() { return &___m_Id_1; }
inline void set_m_Id_1(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 value)
{
___m_Id_1 = value;
}
inline static int32_t get_offset_of_m_Pose_2() { return static_cast<int32_t>(offsetof(XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9, ___m_Pose_2)); }
inline Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 get_m_Pose_2() const { return ___m_Pose_2; }
inline Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 * get_address_of_m_Pose_2() { return &___m_Pose_2; }
inline void set_m_Pose_2(Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 value)
{
___m_Pose_2 = value;
}
inline static int32_t get_offset_of_m_TrackingState_3() { return static_cast<int32_t>(offsetof(XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9, ___m_TrackingState_3)); }
inline int32_t get_m_TrackingState_3() const { return ___m_TrackingState_3; }
inline int32_t* get_address_of_m_TrackingState_3() { return &___m_TrackingState_3; }
inline void set_m_TrackingState_3(int32_t value)
{
___m_TrackingState_3 = value;
}
inline static int32_t get_offset_of_m_NativePtr_4() { return static_cast<int32_t>(offsetof(XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9, ___m_NativePtr_4)); }
inline intptr_t get_m_NativePtr_4() const { return ___m_NativePtr_4; }
inline intptr_t* get_address_of_m_NativePtr_4() { return &___m_NativePtr_4; }
inline void set_m_NativePtr_4(intptr_t value)
{
___m_NativePtr_4 = value;
}
inline static int32_t get_offset_of_m_SessionId_5() { return static_cast<int32_t>(offsetof(XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9, ___m_SessionId_5)); }
inline Guid_t get_m_SessionId_5() const { return ___m_SessionId_5; }
inline Guid_t * get_address_of_m_SessionId_5() { return &___m_SessionId_5; }
inline void set_m_SessionId_5(Guid_t value)
{
___m_SessionId_5 = value;
}
};
struct XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9_StaticFields
{
public:
// UnityEngine.XR.ARSubsystems.XRReferencePoint UnityEngine.XR.ARSubsystems.XRReferencePoint::s_Default
XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 ___s_Default_0;
public:
inline static int32_t get_offset_of_s_Default_0() { return static_cast<int32_t>(offsetof(XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9_StaticFields, ___s_Default_0)); }
inline XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 get_s_Default_0() const { return ___s_Default_0; }
inline XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 * get_address_of_s_Default_0() { return &___s_Default_0; }
inline void set_s_Default_0(XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 value)
{
___s_Default_0 = value;
}
};
// UnityEngine.XR.ARSubsystems.XRTextureDescriptor
struct XRTextureDescriptor_t56503F48CEBC183AF26EE86935E918F31D09E9FD
{
public:
// System.IntPtr UnityEngine.XR.ARSubsystems.XRTextureDescriptor::m_NativeTexture
intptr_t ___m_NativeTexture_0;
// System.Int32 UnityEngine.XR.ARSubsystems.XRTextureDescriptor::m_Width
int32_t ___m_Width_1;
// System.Int32 UnityEngine.XR.ARSubsystems.XRTextureDescriptor::m_Height
int32_t ___m_Height_2;
// System.Int32 UnityEngine.XR.ARSubsystems.XRTextureDescriptor::m_MipmapCount
int32_t ___m_MipmapCount_3;
// UnityEngine.TextureFormat UnityEngine.XR.ARSubsystems.XRTextureDescriptor::m_Format
int32_t ___m_Format_4;
// System.Int32 UnityEngine.XR.ARSubsystems.XRTextureDescriptor::m_PropertyNameId
int32_t ___m_PropertyNameId_5;
// System.Int32 UnityEngine.XR.ARSubsystems.XRTextureDescriptor::m_Depth
int32_t ___m_Depth_6;
// UnityEngine.Rendering.TextureDimension UnityEngine.XR.ARSubsystems.XRTextureDescriptor::m_Dimension
int32_t ___m_Dimension_7;
public:
inline static int32_t get_offset_of_m_NativeTexture_0() { return static_cast<int32_t>(offsetof(XRTextureDescriptor_t56503F48CEBC183AF26EE86935E918F31D09E9FD, ___m_NativeTexture_0)); }
inline intptr_t get_m_NativeTexture_0() const { return ___m_NativeTexture_0; }
inline intptr_t* get_address_of_m_NativeTexture_0() { return &___m_NativeTexture_0; }
inline void set_m_NativeTexture_0(intptr_t value)
{
___m_NativeTexture_0 = value;
}
inline static int32_t get_offset_of_m_Width_1() { return static_cast<int32_t>(offsetof(XRTextureDescriptor_t56503F48CEBC183AF26EE86935E918F31D09E9FD, ___m_Width_1)); }
inline int32_t get_m_Width_1() const { return ___m_Width_1; }
inline int32_t* get_address_of_m_Width_1() { return &___m_Width_1; }
inline void set_m_Width_1(int32_t value)
{
___m_Width_1 = value;
}
inline static int32_t get_offset_of_m_Height_2() { return static_cast<int32_t>(offsetof(XRTextureDescriptor_t56503F48CEBC183AF26EE86935E918F31D09E9FD, ___m_Height_2)); }
inline int32_t get_m_Height_2() const { return ___m_Height_2; }
inline int32_t* get_address_of_m_Height_2() { return &___m_Height_2; }
inline void set_m_Height_2(int32_t value)
{
___m_Height_2 = value;
}
inline static int32_t get_offset_of_m_MipmapCount_3() { return static_cast<int32_t>(offsetof(XRTextureDescriptor_t56503F48CEBC183AF26EE86935E918F31D09E9FD, ___m_MipmapCount_3)); }
inline int32_t get_m_MipmapCount_3() const { return ___m_MipmapCount_3; }
inline int32_t* get_address_of_m_MipmapCount_3() { return &___m_MipmapCount_3; }
inline void set_m_MipmapCount_3(int32_t value)
{
___m_MipmapCount_3 = value;
}
inline static int32_t get_offset_of_m_Format_4() { return static_cast<int32_t>(offsetof(XRTextureDescriptor_t56503F48CEBC183AF26EE86935E918F31D09E9FD, ___m_Format_4)); }
inline int32_t get_m_Format_4() const { return ___m_Format_4; }
inline int32_t* get_address_of_m_Format_4() { return &___m_Format_4; }
inline void set_m_Format_4(int32_t value)
{
___m_Format_4 = value;
}
inline static int32_t get_offset_of_m_PropertyNameId_5() { return static_cast<int32_t>(offsetof(XRTextureDescriptor_t56503F48CEBC183AF26EE86935E918F31D09E9FD, ___m_PropertyNameId_5)); }
inline int32_t get_m_PropertyNameId_5() const { return ___m_PropertyNameId_5; }
inline int32_t* get_address_of_m_PropertyNameId_5() { return &___m_PropertyNameId_5; }
inline void set_m_PropertyNameId_5(int32_t value)
{
___m_PropertyNameId_5 = value;
}
inline static int32_t get_offset_of_m_Depth_6() { return static_cast<int32_t>(offsetof(XRTextureDescriptor_t56503F48CEBC183AF26EE86935E918F31D09E9FD, ___m_Depth_6)); }
inline int32_t get_m_Depth_6() const { return ___m_Depth_6; }
inline int32_t* get_address_of_m_Depth_6() { return &___m_Depth_6; }
inline void set_m_Depth_6(int32_t value)
{
___m_Depth_6 = value;
}
inline static int32_t get_offset_of_m_Dimension_7() { return static_cast<int32_t>(offsetof(XRTextureDescriptor_t56503F48CEBC183AF26EE86935E918F31D09E9FD, ___m_Dimension_7)); }
inline int32_t get_m_Dimension_7() const { return ___m_Dimension_7; }
inline int32_t* get_address_of_m_Dimension_7() { return &___m_Dimension_7; }
inline void set_m_Dimension_7(int32_t value)
{
___m_Dimension_7 = value;
}
};
// UnityEngine.XR.ARSubsystems.XRTrackedImage
struct XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8
{
public:
// UnityEngine.XR.ARSubsystems.TrackableId UnityEngine.XR.ARSubsystems.XRTrackedImage::m_Id
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___m_Id_1;
// System.Guid UnityEngine.XR.ARSubsystems.XRTrackedImage::m_SourceImageId
Guid_t ___m_SourceImageId_2;
// UnityEngine.Pose UnityEngine.XR.ARSubsystems.XRTrackedImage::m_Pose
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 ___m_Pose_3;
// UnityEngine.Vector2 UnityEngine.XR.ARSubsystems.XRTrackedImage::m_Size
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___m_Size_4;
// UnityEngine.XR.ARSubsystems.TrackingState UnityEngine.XR.ARSubsystems.XRTrackedImage::m_TrackingState
int32_t ___m_TrackingState_5;
// System.IntPtr UnityEngine.XR.ARSubsystems.XRTrackedImage::m_NativePtr
intptr_t ___m_NativePtr_6;
public:
inline static int32_t get_offset_of_m_Id_1() { return static_cast<int32_t>(offsetof(XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8, ___m_Id_1)); }
inline TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 get_m_Id_1() const { return ___m_Id_1; }
inline TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 * get_address_of_m_Id_1() { return &___m_Id_1; }
inline void set_m_Id_1(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 value)
{
___m_Id_1 = value;
}
inline static int32_t get_offset_of_m_SourceImageId_2() { return static_cast<int32_t>(offsetof(XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8, ___m_SourceImageId_2)); }
inline Guid_t get_m_SourceImageId_2() const { return ___m_SourceImageId_2; }
inline Guid_t * get_address_of_m_SourceImageId_2() { return &___m_SourceImageId_2; }
inline void set_m_SourceImageId_2(Guid_t value)
{
___m_SourceImageId_2 = value;
}
inline static int32_t get_offset_of_m_Pose_3() { return static_cast<int32_t>(offsetof(XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8, ___m_Pose_3)); }
inline Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 get_m_Pose_3() const { return ___m_Pose_3; }
inline Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 * get_address_of_m_Pose_3() { return &___m_Pose_3; }
inline void set_m_Pose_3(Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 value)
{
___m_Pose_3 = value;
}
inline static int32_t get_offset_of_m_Size_4() { return static_cast<int32_t>(offsetof(XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8, ___m_Size_4)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_m_Size_4() const { return ___m_Size_4; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_m_Size_4() { return &___m_Size_4; }
inline void set_m_Size_4(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___m_Size_4 = value;
}
inline static int32_t get_offset_of_m_TrackingState_5() { return static_cast<int32_t>(offsetof(XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8, ___m_TrackingState_5)); }
inline int32_t get_m_TrackingState_5() const { return ___m_TrackingState_5; }
inline int32_t* get_address_of_m_TrackingState_5() { return &___m_TrackingState_5; }
inline void set_m_TrackingState_5(int32_t value)
{
___m_TrackingState_5 = value;
}
inline static int32_t get_offset_of_m_NativePtr_6() { return static_cast<int32_t>(offsetof(XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8, ___m_NativePtr_6)); }
inline intptr_t get_m_NativePtr_6() const { return ___m_NativePtr_6; }
inline intptr_t* get_address_of_m_NativePtr_6() { return &___m_NativePtr_6; }
inline void set_m_NativePtr_6(intptr_t value)
{
___m_NativePtr_6 = value;
}
};
struct XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8_StaticFields
{
public:
// UnityEngine.XR.ARSubsystems.XRTrackedImage UnityEngine.XR.ARSubsystems.XRTrackedImage::s_Default
XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 ___s_Default_0;
public:
inline static int32_t get_offset_of_s_Default_0() { return static_cast<int32_t>(offsetof(XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8_StaticFields, ___s_Default_0)); }
inline XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 get_s_Default_0() const { return ___s_Default_0; }
inline XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 * get_address_of_s_Default_0() { return &___s_Default_0; }
inline void set_s_Default_0(XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 value)
{
___s_Default_0 = value;
}
};
// UnityEngine.XR.ARSubsystems.XRTrackedObject
struct XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260
{
public:
// UnityEngine.XR.ARSubsystems.TrackableId UnityEngine.XR.ARSubsystems.XRTrackedObject::m_TrackableId
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___m_TrackableId_0;
// UnityEngine.Pose UnityEngine.XR.ARSubsystems.XRTrackedObject::m_Pose
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 ___m_Pose_1;
// UnityEngine.XR.ARSubsystems.TrackingState UnityEngine.XR.ARSubsystems.XRTrackedObject::m_TrackingState
int32_t ___m_TrackingState_2;
// System.IntPtr UnityEngine.XR.ARSubsystems.XRTrackedObject::m_NativePtr
intptr_t ___m_NativePtr_3;
// System.Guid UnityEngine.XR.ARSubsystems.XRTrackedObject::m_ReferenceObjectGuid
Guid_t ___m_ReferenceObjectGuid_4;
public:
inline static int32_t get_offset_of_m_TrackableId_0() { return static_cast<int32_t>(offsetof(XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260, ___m_TrackableId_0)); }
inline TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 get_m_TrackableId_0() const { return ___m_TrackableId_0; }
inline TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 * get_address_of_m_TrackableId_0() { return &___m_TrackableId_0; }
inline void set_m_TrackableId_0(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 value)
{
___m_TrackableId_0 = value;
}
inline static int32_t get_offset_of_m_Pose_1() { return static_cast<int32_t>(offsetof(XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260, ___m_Pose_1)); }
inline Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 get_m_Pose_1() const { return ___m_Pose_1; }
inline Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 * get_address_of_m_Pose_1() { return &___m_Pose_1; }
inline void set_m_Pose_1(Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 value)
{
___m_Pose_1 = value;
}
inline static int32_t get_offset_of_m_TrackingState_2() { return static_cast<int32_t>(offsetof(XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260, ___m_TrackingState_2)); }
inline int32_t get_m_TrackingState_2() const { return ___m_TrackingState_2; }
inline int32_t* get_address_of_m_TrackingState_2() { return &___m_TrackingState_2; }
inline void set_m_TrackingState_2(int32_t value)
{
___m_TrackingState_2 = value;
}
inline static int32_t get_offset_of_m_NativePtr_3() { return static_cast<int32_t>(offsetof(XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260, ___m_NativePtr_3)); }
inline intptr_t get_m_NativePtr_3() const { return ___m_NativePtr_3; }
inline intptr_t* get_address_of_m_NativePtr_3() { return &___m_NativePtr_3; }
inline void set_m_NativePtr_3(intptr_t value)
{
___m_NativePtr_3 = value;
}
inline static int32_t get_offset_of_m_ReferenceObjectGuid_4() { return static_cast<int32_t>(offsetof(XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260, ___m_ReferenceObjectGuid_4)); }
inline Guid_t get_m_ReferenceObjectGuid_4() const { return ___m_ReferenceObjectGuid_4; }
inline Guid_t * get_address_of_m_ReferenceObjectGuid_4() { return &___m_ReferenceObjectGuid_4; }
inline void set_m_ReferenceObjectGuid_4(Guid_t value)
{
___m_ReferenceObjectGuid_4 = value;
}
};
struct XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260_StaticFields
{
public:
// UnityEngine.XR.ARSubsystems.XRTrackedObject UnityEngine.XR.ARSubsystems.XRTrackedObject::s_Default
XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 ___s_Default_5;
public:
inline static int32_t get_offset_of_s_Default_5() { return static_cast<int32_t>(offsetof(XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260_StaticFields, ___s_Default_5)); }
inline XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 get_s_Default_5() const { return ___s_Default_5; }
inline XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 * get_address_of_s_Default_5() { return &___s_Default_5; }
inline void set_s_Default_5(XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 value)
{
___s_Default_5 = value;
}
};
// System.Action`1<UnityEngine.XR.ARFoundation.ARTrackablesParentTransformChangedEventArgs>
struct Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB : public MulticastDelegate_t
{
public:
public:
};
// System.ArgumentException
struct ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 : public SystemException_t5380468142AA850BE4A341D7AF3EAB9C78746782
{
public:
// System.String System.ArgumentException::m_paramName
String_t* ___m_paramName_17;
public:
inline static int32_t get_offset_of_m_paramName_17() { return static_cast<int32_t>(offsetof(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1, ___m_paramName_17)); }
inline String_t* get_m_paramName_17() const { return ___m_paramName_17; }
inline String_t** get_address_of_m_paramName_17() { return &___m_paramName_17; }
inline void set_m_paramName_17(String_t* value)
{
___m_paramName_17 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_paramName_17), (void*)value);
}
};
// Unity.Collections.NativeArray`1_Enumerator<UnityEngine.XR.ARSubsystems.TrackableId>
struct Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A
{
public:
// Unity.Collections.NativeArray`1<T> Unity.Collections.NativeArray`1_Enumerator::m_Array
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 ___m_Array_0;
// System.Int32 Unity.Collections.NativeArray`1_Enumerator::m_Index
int32_t ___m_Index_1;
public:
inline static int32_t get_offset_of_m_Array_0() { return static_cast<int32_t>(offsetof(Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A, ___m_Array_0)); }
inline NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 get_m_Array_0() const { return ___m_Array_0; }
inline NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 * get_address_of_m_Array_0() { return &___m_Array_0; }
inline void set_m_Array_0(NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 value)
{
___m_Array_0 = value;
}
inline static int32_t get_offset_of_m_Index_1() { return static_cast<int32_t>(offsetof(Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A, ___m_Index_1)); }
inline int32_t get_m_Index_1() const { return ___m_Index_1; }
inline int32_t* get_address_of_m_Index_1() { return &___m_Index_1; }
inline void set_m_Index_1(int32_t value)
{
___m_Index_1 = value;
}
};
// Unity.Collections.NativeArray`1_Enumerator<UnityEngine.XR.ARSubsystems.XREnvironmentProbe>
struct Enumerator_t158B5E773B6F750F2C6D7BD27EEC905FE29D4EC3
{
public:
// Unity.Collections.NativeArray`1<T> Unity.Collections.NativeArray`1_Enumerator::m_Array
NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 ___m_Array_0;
// System.Int32 Unity.Collections.NativeArray`1_Enumerator::m_Index
int32_t ___m_Index_1;
public:
inline static int32_t get_offset_of_m_Array_0() { return static_cast<int32_t>(offsetof(Enumerator_t158B5E773B6F750F2C6D7BD27EEC905FE29D4EC3, ___m_Array_0)); }
inline NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 get_m_Array_0() const { return ___m_Array_0; }
inline NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 * get_address_of_m_Array_0() { return &___m_Array_0; }
inline void set_m_Array_0(NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 value)
{
___m_Array_0 = value;
}
inline static int32_t get_offset_of_m_Index_1() { return static_cast<int32_t>(offsetof(Enumerator_t158B5E773B6F750F2C6D7BD27EEC905FE29D4EC3, ___m_Index_1)); }
inline int32_t get_m_Index_1() const { return ___m_Index_1; }
inline int32_t* get_address_of_m_Index_1() { return &___m_Index_1; }
inline void set_m_Index_1(int32_t value)
{
___m_Index_1 = value;
}
};
// Unity.Collections.NativeArray`1_Enumerator<UnityEngine.XR.ARSubsystems.XRFace>
struct Enumerator_t8015CDE67C698133A309A1B8CB3621037DCA753F
{
public:
// Unity.Collections.NativeArray`1<T> Unity.Collections.NativeArray`1_Enumerator::m_Array
NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 ___m_Array_0;
// System.Int32 Unity.Collections.NativeArray`1_Enumerator::m_Index
int32_t ___m_Index_1;
public:
inline static int32_t get_offset_of_m_Array_0() { return static_cast<int32_t>(offsetof(Enumerator_t8015CDE67C698133A309A1B8CB3621037DCA753F, ___m_Array_0)); }
inline NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 get_m_Array_0() const { return ___m_Array_0; }
inline NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 * get_address_of_m_Array_0() { return &___m_Array_0; }
inline void set_m_Array_0(NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 value)
{
___m_Array_0 = value;
}
inline static int32_t get_offset_of_m_Index_1() { return static_cast<int32_t>(offsetof(Enumerator_t8015CDE67C698133A309A1B8CB3621037DCA753F, ___m_Index_1)); }
inline int32_t get_m_Index_1() const { return ___m_Index_1; }
inline int32_t* get_address_of_m_Index_1() { return &___m_Index_1; }
inline void set_m_Index_1(int32_t value)
{
___m_Index_1 = value;
}
};
// Unity.Collections.NativeArray`1_Enumerator<UnityEngine.XR.ARSubsystems.XRHumanBody>
struct Enumerator_t7A9A8176FE6837923878CAD250C11AC9DC688AF9
{
public:
// Unity.Collections.NativeArray`1<T> Unity.Collections.NativeArray`1_Enumerator::m_Array
NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 ___m_Array_0;
// System.Int32 Unity.Collections.NativeArray`1_Enumerator::m_Index
int32_t ___m_Index_1;
public:
inline static int32_t get_offset_of_m_Array_0() { return static_cast<int32_t>(offsetof(Enumerator_t7A9A8176FE6837923878CAD250C11AC9DC688AF9, ___m_Array_0)); }
inline NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 get_m_Array_0() const { return ___m_Array_0; }
inline NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 * get_address_of_m_Array_0() { return &___m_Array_0; }
inline void set_m_Array_0(NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 value)
{
___m_Array_0 = value;
}
inline static int32_t get_offset_of_m_Index_1() { return static_cast<int32_t>(offsetof(Enumerator_t7A9A8176FE6837923878CAD250C11AC9DC688AF9, ___m_Index_1)); }
inline int32_t get_m_Index_1() const { return ___m_Index_1; }
inline int32_t* get_address_of_m_Index_1() { return &___m_Index_1; }
inline void set_m_Index_1(int32_t value)
{
___m_Index_1 = value;
}
};
// Unity.Collections.NativeArray`1_Enumerator<UnityEngine.XR.ARSubsystems.XRParticipant>
struct Enumerator_t2B2EEF1F6F4840ED342D7AB54AE9F09881F5A589
{
public:
// Unity.Collections.NativeArray`1<T> Unity.Collections.NativeArray`1_Enumerator::m_Array
NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 ___m_Array_0;
// System.Int32 Unity.Collections.NativeArray`1_Enumerator::m_Index
int32_t ___m_Index_1;
public:
inline static int32_t get_offset_of_m_Array_0() { return static_cast<int32_t>(offsetof(Enumerator_t2B2EEF1F6F4840ED342D7AB54AE9F09881F5A589, ___m_Array_0)); }
inline NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 get_m_Array_0() const { return ___m_Array_0; }
inline NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 * get_address_of_m_Array_0() { return &___m_Array_0; }
inline void set_m_Array_0(NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 value)
{
___m_Array_0 = value;
}
inline static int32_t get_offset_of_m_Index_1() { return static_cast<int32_t>(offsetof(Enumerator_t2B2EEF1F6F4840ED342D7AB54AE9F09881F5A589, ___m_Index_1)); }
inline int32_t get_m_Index_1() const { return ___m_Index_1; }
inline int32_t* get_address_of_m_Index_1() { return &___m_Index_1; }
inline void set_m_Index_1(int32_t value)
{
___m_Index_1 = value;
}
};
// Unity.Collections.NativeArray`1_Enumerator<UnityEngine.XR.ARSubsystems.XRPointCloud>
struct Enumerator_t1B7E0D23EF4C33682EFE99D8F58153FDA8CB6ACD
{
public:
// Unity.Collections.NativeArray`1<T> Unity.Collections.NativeArray`1_Enumerator::m_Array
NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 ___m_Array_0;
// System.Int32 Unity.Collections.NativeArray`1_Enumerator::m_Index
int32_t ___m_Index_1;
public:
inline static int32_t get_offset_of_m_Array_0() { return static_cast<int32_t>(offsetof(Enumerator_t1B7E0D23EF4C33682EFE99D8F58153FDA8CB6ACD, ___m_Array_0)); }
inline NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 get_m_Array_0() const { return ___m_Array_0; }
inline NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 * get_address_of_m_Array_0() { return &___m_Array_0; }
inline void set_m_Array_0(NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 value)
{
___m_Array_0 = value;
}
inline static int32_t get_offset_of_m_Index_1() { return static_cast<int32_t>(offsetof(Enumerator_t1B7E0D23EF4C33682EFE99D8F58153FDA8CB6ACD, ___m_Index_1)); }
inline int32_t get_m_Index_1() const { return ___m_Index_1; }
inline int32_t* get_address_of_m_Index_1() { return &___m_Index_1; }
inline void set_m_Index_1(int32_t value)
{
___m_Index_1 = value;
}
};
// Unity.Collections.NativeArray`1_Enumerator<UnityEngine.XR.ARSubsystems.XRRaycast>
struct Enumerator_tE835E58BDBE7B5AF5E743DD51D31DE7A87983FCD
{
public:
// Unity.Collections.NativeArray`1<T> Unity.Collections.NativeArray`1_Enumerator::m_Array
NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 ___m_Array_0;
// System.Int32 Unity.Collections.NativeArray`1_Enumerator::m_Index
int32_t ___m_Index_1;
public:
inline static int32_t get_offset_of_m_Array_0() { return static_cast<int32_t>(offsetof(Enumerator_tE835E58BDBE7B5AF5E743DD51D31DE7A87983FCD, ___m_Array_0)); }
inline NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 get_m_Array_0() const { return ___m_Array_0; }
inline NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 * get_address_of_m_Array_0() { return &___m_Array_0; }
inline void set_m_Array_0(NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 value)
{
___m_Array_0 = value;
}
inline static int32_t get_offset_of_m_Index_1() { return static_cast<int32_t>(offsetof(Enumerator_tE835E58BDBE7B5AF5E743DD51D31DE7A87983FCD, ___m_Index_1)); }
inline int32_t get_m_Index_1() const { return ___m_Index_1; }
inline int32_t* get_address_of_m_Index_1() { return &___m_Index_1; }
inline void set_m_Index_1(int32_t value)
{
___m_Index_1 = value;
}
};
// Unity.Collections.NativeArray`1_Enumerator<UnityEngine.XR.ARSubsystems.XRReferencePoint>
struct Enumerator_t533CE786298995A804A1B61701D6400CF4483B1E
{
public:
// Unity.Collections.NativeArray`1<T> Unity.Collections.NativeArray`1_Enumerator::m_Array
NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 ___m_Array_0;
// System.Int32 Unity.Collections.NativeArray`1_Enumerator::m_Index
int32_t ___m_Index_1;
public:
inline static int32_t get_offset_of_m_Array_0() { return static_cast<int32_t>(offsetof(Enumerator_t533CE786298995A804A1B61701D6400CF4483B1E, ___m_Array_0)); }
inline NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 get_m_Array_0() const { return ___m_Array_0; }
inline NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 * get_address_of_m_Array_0() { return &___m_Array_0; }
inline void set_m_Array_0(NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 value)
{
___m_Array_0 = value;
}
inline static int32_t get_offset_of_m_Index_1() { return static_cast<int32_t>(offsetof(Enumerator_t533CE786298995A804A1B61701D6400CF4483B1E, ___m_Index_1)); }
inline int32_t get_m_Index_1() const { return ___m_Index_1; }
inline int32_t* get_address_of_m_Index_1() { return &___m_Index_1; }
inline void set_m_Index_1(int32_t value)
{
___m_Index_1 = value;
}
};
// Unity.Collections.NativeArray`1_Enumerator<UnityEngine.XR.ARSubsystems.XRTrackedImage>
struct Enumerator_t24763C293EE3A5FF95D00AB6752E91A2F7940B76
{
public:
// Unity.Collections.NativeArray`1<T> Unity.Collections.NativeArray`1_Enumerator::m_Array
NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 ___m_Array_0;
// System.Int32 Unity.Collections.NativeArray`1_Enumerator::m_Index
int32_t ___m_Index_1;
public:
inline static int32_t get_offset_of_m_Array_0() { return static_cast<int32_t>(offsetof(Enumerator_t24763C293EE3A5FF95D00AB6752E91A2F7940B76, ___m_Array_0)); }
inline NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 get_m_Array_0() const { return ___m_Array_0; }
inline NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 * get_address_of_m_Array_0() { return &___m_Array_0; }
inline void set_m_Array_0(NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 value)
{
___m_Array_0 = value;
}
inline static int32_t get_offset_of_m_Index_1() { return static_cast<int32_t>(offsetof(Enumerator_t24763C293EE3A5FF95D00AB6752E91A2F7940B76, ___m_Index_1)); }
inline int32_t get_m_Index_1() const { return ___m_Index_1; }
inline int32_t* get_address_of_m_Index_1() { return &___m_Index_1; }
inline void set_m_Index_1(int32_t value)
{
___m_Index_1 = value;
}
};
// Unity.Collections.NativeArray`1_Enumerator<UnityEngine.XR.ARSubsystems.XRTrackedObject>
struct Enumerator_t8D990E98FC643A10DA193AAFF82900775BDBF362
{
public:
// Unity.Collections.NativeArray`1<T> Unity.Collections.NativeArray`1_Enumerator::m_Array
NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 ___m_Array_0;
// System.Int32 Unity.Collections.NativeArray`1_Enumerator::m_Index
int32_t ___m_Index_1;
public:
inline static int32_t get_offset_of_m_Array_0() { return static_cast<int32_t>(offsetof(Enumerator_t8D990E98FC643A10DA193AAFF82900775BDBF362, ___m_Array_0)); }
inline NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 get_m_Array_0() const { return ___m_Array_0; }
inline NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 * get_address_of_m_Array_0() { return &___m_Array_0; }
inline void set_m_Array_0(NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 value)
{
___m_Array_0 = value;
}
inline static int32_t get_offset_of_m_Index_1() { return static_cast<int32_t>(offsetof(Enumerator_t8D990E98FC643A10DA193AAFF82900775BDBF362, ___m_Index_1)); }
inline int32_t get_m_Index_1() const { return ___m_Index_1; }
inline int32_t* get_address_of_m_Index_1() { return &___m_Index_1; }
inline void set_m_Index_1(int32_t value)
{
___m_Index_1 = value;
}
};
// UnityEngine.Behaviour
struct Behaviour_tBDC7E9C3C898AD8348891B82D3E345801D920CA8 : public Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621
{
public:
public:
};
// UnityEngine.Transform
struct Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA : public Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621
{
public:
public:
};
// UnityEngine.XR.ARFoundation.TrackableCollection`1_Enumerator<System.Object>
struct Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED
{
public:
// System.Collections.Generic.Dictionary`2_Enumerator<UnityEngine.XR.ARSubsystems.TrackableId,TTrackable> UnityEngine.XR.ARFoundation.TrackableCollection`1_Enumerator::m_Enumerator
Enumerator_tCB68C098BACB0B88BCB7C2F0AE3E42B10364C565 ___m_Enumerator_0;
public:
inline static int32_t get_offset_of_m_Enumerator_0() { return static_cast<int32_t>(offsetof(Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED, ___m_Enumerator_0)); }
inline Enumerator_tCB68C098BACB0B88BCB7C2F0AE3E42B10364C565 get_m_Enumerator_0() const { return ___m_Enumerator_0; }
inline Enumerator_tCB68C098BACB0B88BCB7C2F0AE3E42B10364C565 * get_address_of_m_Enumerator_0() { return &___m_Enumerator_0; }
inline void set_m_Enumerator_0(Enumerator_tCB68C098BACB0B88BCB7C2F0AE3E42B10364C565 value)
{
___m_Enumerator_0 = value;
Il2CppCodeGenWriteBarrier((void**)&(((&___m_Enumerator_0))->___dictionary_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&(((&___m_Enumerator_0))->___current_3))->___value_1), (void*)NULL);
#endif
}
};
// UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XREnvironmentProbe>
struct TrackableChanges_1_t5B1E235F751BB96851611F0EE82810617DA588C7
{
public:
// System.Boolean UnityEngine.XR.ARSubsystems.TrackableChanges`1::<isCreated>k__BackingField
bool ___U3CisCreatedU3Ek__BackingField_0;
// Unity.Collections.NativeArray`1<T> UnityEngine.XR.ARSubsystems.TrackableChanges`1::m_Added
NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 ___m_Added_1;
// Unity.Collections.NativeArray`1<T> UnityEngine.XR.ARSubsystems.TrackableChanges`1::m_Updated
NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 ___m_Updated_2;
// Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.TrackableId> UnityEngine.XR.ARSubsystems.TrackableChanges`1::m_Removed
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 ___m_Removed_3;
public:
inline static int32_t get_offset_of_U3CisCreatedU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(TrackableChanges_1_t5B1E235F751BB96851611F0EE82810617DA588C7, ___U3CisCreatedU3Ek__BackingField_0)); }
inline bool get_U3CisCreatedU3Ek__BackingField_0() const { return ___U3CisCreatedU3Ek__BackingField_0; }
inline bool* get_address_of_U3CisCreatedU3Ek__BackingField_0() { return &___U3CisCreatedU3Ek__BackingField_0; }
inline void set_U3CisCreatedU3Ek__BackingField_0(bool value)
{
___U3CisCreatedU3Ek__BackingField_0 = value;
}
inline static int32_t get_offset_of_m_Added_1() { return static_cast<int32_t>(offsetof(TrackableChanges_1_t5B1E235F751BB96851611F0EE82810617DA588C7, ___m_Added_1)); }
inline NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 get_m_Added_1() const { return ___m_Added_1; }
inline NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 * get_address_of_m_Added_1() { return &___m_Added_1; }
inline void set_m_Added_1(NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 value)
{
___m_Added_1 = value;
}
inline static int32_t get_offset_of_m_Updated_2() { return static_cast<int32_t>(offsetof(TrackableChanges_1_t5B1E235F751BB96851611F0EE82810617DA588C7, ___m_Updated_2)); }
inline NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 get_m_Updated_2() const { return ___m_Updated_2; }
inline NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 * get_address_of_m_Updated_2() { return &___m_Updated_2; }
inline void set_m_Updated_2(NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 value)
{
___m_Updated_2 = value;
}
inline static int32_t get_offset_of_m_Removed_3() { return static_cast<int32_t>(offsetof(TrackableChanges_1_t5B1E235F751BB96851611F0EE82810617DA588C7, ___m_Removed_3)); }
inline NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 get_m_Removed_3() const { return ___m_Removed_3; }
inline NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 * get_address_of_m_Removed_3() { return &___m_Removed_3; }
inline void set_m_Removed_3(NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 value)
{
___m_Removed_3 = value;
}
};
// UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRFace>
struct TrackableChanges_1_t316F273AB927198D6305E965CDB7B0ED758920E6
{
public:
// System.Boolean UnityEngine.XR.ARSubsystems.TrackableChanges`1::<isCreated>k__BackingField
bool ___U3CisCreatedU3Ek__BackingField_0;
// Unity.Collections.NativeArray`1<T> UnityEngine.XR.ARSubsystems.TrackableChanges`1::m_Added
NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 ___m_Added_1;
// Unity.Collections.NativeArray`1<T> UnityEngine.XR.ARSubsystems.TrackableChanges`1::m_Updated
NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 ___m_Updated_2;
// Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.TrackableId> UnityEngine.XR.ARSubsystems.TrackableChanges`1::m_Removed
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 ___m_Removed_3;
public:
inline static int32_t get_offset_of_U3CisCreatedU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(TrackableChanges_1_t316F273AB927198D6305E965CDB7B0ED758920E6, ___U3CisCreatedU3Ek__BackingField_0)); }
inline bool get_U3CisCreatedU3Ek__BackingField_0() const { return ___U3CisCreatedU3Ek__BackingField_0; }
inline bool* get_address_of_U3CisCreatedU3Ek__BackingField_0() { return &___U3CisCreatedU3Ek__BackingField_0; }
inline void set_U3CisCreatedU3Ek__BackingField_0(bool value)
{
___U3CisCreatedU3Ek__BackingField_0 = value;
}
inline static int32_t get_offset_of_m_Added_1() { return static_cast<int32_t>(offsetof(TrackableChanges_1_t316F273AB927198D6305E965CDB7B0ED758920E6, ___m_Added_1)); }
inline NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 get_m_Added_1() const { return ___m_Added_1; }
inline NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 * get_address_of_m_Added_1() { return &___m_Added_1; }
inline void set_m_Added_1(NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 value)
{
___m_Added_1 = value;
}
inline static int32_t get_offset_of_m_Updated_2() { return static_cast<int32_t>(offsetof(TrackableChanges_1_t316F273AB927198D6305E965CDB7B0ED758920E6, ___m_Updated_2)); }
inline NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 get_m_Updated_2() const { return ___m_Updated_2; }
inline NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 * get_address_of_m_Updated_2() { return &___m_Updated_2; }
inline void set_m_Updated_2(NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 value)
{
___m_Updated_2 = value;
}
inline static int32_t get_offset_of_m_Removed_3() { return static_cast<int32_t>(offsetof(TrackableChanges_1_t316F273AB927198D6305E965CDB7B0ED758920E6, ___m_Removed_3)); }
inline NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 get_m_Removed_3() const { return ___m_Removed_3; }
inline NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 * get_address_of_m_Removed_3() { return &___m_Removed_3; }
inline void set_m_Removed_3(NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 value)
{
___m_Removed_3 = value;
}
};
// UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRHumanBody>
struct TrackableChanges_1_t8F77CF9D37FD0DCA052A7D6B34E1A489AF13C41B
{
public:
// System.Boolean UnityEngine.XR.ARSubsystems.TrackableChanges`1::<isCreated>k__BackingField
bool ___U3CisCreatedU3Ek__BackingField_0;
// Unity.Collections.NativeArray`1<T> UnityEngine.XR.ARSubsystems.TrackableChanges`1::m_Added
NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 ___m_Added_1;
// Unity.Collections.NativeArray`1<T> UnityEngine.XR.ARSubsystems.TrackableChanges`1::m_Updated
NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 ___m_Updated_2;
// Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.TrackableId> UnityEngine.XR.ARSubsystems.TrackableChanges`1::m_Removed
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 ___m_Removed_3;
public:
inline static int32_t get_offset_of_U3CisCreatedU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(TrackableChanges_1_t8F77CF9D37FD0DCA052A7D6B34E1A489AF13C41B, ___U3CisCreatedU3Ek__BackingField_0)); }
inline bool get_U3CisCreatedU3Ek__BackingField_0() const { return ___U3CisCreatedU3Ek__BackingField_0; }
inline bool* get_address_of_U3CisCreatedU3Ek__BackingField_0() { return &___U3CisCreatedU3Ek__BackingField_0; }
inline void set_U3CisCreatedU3Ek__BackingField_0(bool value)
{
___U3CisCreatedU3Ek__BackingField_0 = value;
}
inline static int32_t get_offset_of_m_Added_1() { return static_cast<int32_t>(offsetof(TrackableChanges_1_t8F77CF9D37FD0DCA052A7D6B34E1A489AF13C41B, ___m_Added_1)); }
inline NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 get_m_Added_1() const { return ___m_Added_1; }
inline NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 * get_address_of_m_Added_1() { return &___m_Added_1; }
inline void set_m_Added_1(NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 value)
{
___m_Added_1 = value;
}
inline static int32_t get_offset_of_m_Updated_2() { return static_cast<int32_t>(offsetof(TrackableChanges_1_t8F77CF9D37FD0DCA052A7D6B34E1A489AF13C41B, ___m_Updated_2)); }
inline NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 get_m_Updated_2() const { return ___m_Updated_2; }
inline NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 * get_address_of_m_Updated_2() { return &___m_Updated_2; }
inline void set_m_Updated_2(NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 value)
{
___m_Updated_2 = value;
}
inline static int32_t get_offset_of_m_Removed_3() { return static_cast<int32_t>(offsetof(TrackableChanges_1_t8F77CF9D37FD0DCA052A7D6B34E1A489AF13C41B, ___m_Removed_3)); }
inline NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 get_m_Removed_3() const { return ___m_Removed_3; }
inline NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 * get_address_of_m_Removed_3() { return &___m_Removed_3; }
inline void set_m_Removed_3(NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 value)
{
___m_Removed_3 = value;
}
};
// UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRParticipant>
struct TrackableChanges_1_tADA077C1D8520E93DBAF760C434863B1E46EABF7
{
public:
// System.Boolean UnityEngine.XR.ARSubsystems.TrackableChanges`1::<isCreated>k__BackingField
bool ___U3CisCreatedU3Ek__BackingField_0;
// Unity.Collections.NativeArray`1<T> UnityEngine.XR.ARSubsystems.TrackableChanges`1::m_Added
NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 ___m_Added_1;
// Unity.Collections.NativeArray`1<T> UnityEngine.XR.ARSubsystems.TrackableChanges`1::m_Updated
NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 ___m_Updated_2;
// Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.TrackableId> UnityEngine.XR.ARSubsystems.TrackableChanges`1::m_Removed
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 ___m_Removed_3;
public:
inline static int32_t get_offset_of_U3CisCreatedU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(TrackableChanges_1_tADA077C1D8520E93DBAF760C434863B1E46EABF7, ___U3CisCreatedU3Ek__BackingField_0)); }
inline bool get_U3CisCreatedU3Ek__BackingField_0() const { return ___U3CisCreatedU3Ek__BackingField_0; }
inline bool* get_address_of_U3CisCreatedU3Ek__BackingField_0() { return &___U3CisCreatedU3Ek__BackingField_0; }
inline void set_U3CisCreatedU3Ek__BackingField_0(bool value)
{
___U3CisCreatedU3Ek__BackingField_0 = value;
}
inline static int32_t get_offset_of_m_Added_1() { return static_cast<int32_t>(offsetof(TrackableChanges_1_tADA077C1D8520E93DBAF760C434863B1E46EABF7, ___m_Added_1)); }
inline NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 get_m_Added_1() const { return ___m_Added_1; }
inline NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 * get_address_of_m_Added_1() { return &___m_Added_1; }
inline void set_m_Added_1(NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 value)
{
___m_Added_1 = value;
}
inline static int32_t get_offset_of_m_Updated_2() { return static_cast<int32_t>(offsetof(TrackableChanges_1_tADA077C1D8520E93DBAF760C434863B1E46EABF7, ___m_Updated_2)); }
inline NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 get_m_Updated_2() const { return ___m_Updated_2; }
inline NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 * get_address_of_m_Updated_2() { return &___m_Updated_2; }
inline void set_m_Updated_2(NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 value)
{
___m_Updated_2 = value;
}
inline static int32_t get_offset_of_m_Removed_3() { return static_cast<int32_t>(offsetof(TrackableChanges_1_tADA077C1D8520E93DBAF760C434863B1E46EABF7, ___m_Removed_3)); }
inline NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 get_m_Removed_3() const { return ___m_Removed_3; }
inline NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 * get_address_of_m_Removed_3() { return &___m_Removed_3; }
inline void set_m_Removed_3(NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 value)
{
___m_Removed_3 = value;
}
};
// UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRPointCloud>
struct TrackableChanges_1_t67F5E50C0B7A063774AEC211C4C81BA7679876BB
{
public:
// System.Boolean UnityEngine.XR.ARSubsystems.TrackableChanges`1::<isCreated>k__BackingField
bool ___U3CisCreatedU3Ek__BackingField_0;
// Unity.Collections.NativeArray`1<T> UnityEngine.XR.ARSubsystems.TrackableChanges`1::m_Added
NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 ___m_Added_1;
// Unity.Collections.NativeArray`1<T> UnityEngine.XR.ARSubsystems.TrackableChanges`1::m_Updated
NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 ___m_Updated_2;
// Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.TrackableId> UnityEngine.XR.ARSubsystems.TrackableChanges`1::m_Removed
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 ___m_Removed_3;
public:
inline static int32_t get_offset_of_U3CisCreatedU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(TrackableChanges_1_t67F5E50C0B7A063774AEC211C4C81BA7679876BB, ___U3CisCreatedU3Ek__BackingField_0)); }
inline bool get_U3CisCreatedU3Ek__BackingField_0() const { return ___U3CisCreatedU3Ek__BackingField_0; }
inline bool* get_address_of_U3CisCreatedU3Ek__BackingField_0() { return &___U3CisCreatedU3Ek__BackingField_0; }
inline void set_U3CisCreatedU3Ek__BackingField_0(bool value)
{
___U3CisCreatedU3Ek__BackingField_0 = value;
}
inline static int32_t get_offset_of_m_Added_1() { return static_cast<int32_t>(offsetof(TrackableChanges_1_t67F5E50C0B7A063774AEC211C4C81BA7679876BB, ___m_Added_1)); }
inline NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 get_m_Added_1() const { return ___m_Added_1; }
inline NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 * get_address_of_m_Added_1() { return &___m_Added_1; }
inline void set_m_Added_1(NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 value)
{
___m_Added_1 = value;
}
inline static int32_t get_offset_of_m_Updated_2() { return static_cast<int32_t>(offsetof(TrackableChanges_1_t67F5E50C0B7A063774AEC211C4C81BA7679876BB, ___m_Updated_2)); }
inline NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 get_m_Updated_2() const { return ___m_Updated_2; }
inline NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 * get_address_of_m_Updated_2() { return &___m_Updated_2; }
inline void set_m_Updated_2(NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 value)
{
___m_Updated_2 = value;
}
inline static int32_t get_offset_of_m_Removed_3() { return static_cast<int32_t>(offsetof(TrackableChanges_1_t67F5E50C0B7A063774AEC211C4C81BA7679876BB, ___m_Removed_3)); }
inline NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 get_m_Removed_3() const { return ___m_Removed_3; }
inline NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 * get_address_of_m_Removed_3() { return &___m_Removed_3; }
inline void set_m_Removed_3(NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 value)
{
___m_Removed_3 = value;
}
};
// UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRRaycast>
struct TrackableChanges_1_t05F219FC68E80EA9891CEEB35CBABA06F836FDD3
{
public:
// System.Boolean UnityEngine.XR.ARSubsystems.TrackableChanges`1::<isCreated>k__BackingField
bool ___U3CisCreatedU3Ek__BackingField_0;
// Unity.Collections.NativeArray`1<T> UnityEngine.XR.ARSubsystems.TrackableChanges`1::m_Added
NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 ___m_Added_1;
// Unity.Collections.NativeArray`1<T> UnityEngine.XR.ARSubsystems.TrackableChanges`1::m_Updated
NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 ___m_Updated_2;
// Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.TrackableId> UnityEngine.XR.ARSubsystems.TrackableChanges`1::m_Removed
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 ___m_Removed_3;
public:
inline static int32_t get_offset_of_U3CisCreatedU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(TrackableChanges_1_t05F219FC68E80EA9891CEEB35CBABA06F836FDD3, ___U3CisCreatedU3Ek__BackingField_0)); }
inline bool get_U3CisCreatedU3Ek__BackingField_0() const { return ___U3CisCreatedU3Ek__BackingField_0; }
inline bool* get_address_of_U3CisCreatedU3Ek__BackingField_0() { return &___U3CisCreatedU3Ek__BackingField_0; }
inline void set_U3CisCreatedU3Ek__BackingField_0(bool value)
{
___U3CisCreatedU3Ek__BackingField_0 = value;
}
inline static int32_t get_offset_of_m_Added_1() { return static_cast<int32_t>(offsetof(TrackableChanges_1_t05F219FC68E80EA9891CEEB35CBABA06F836FDD3, ___m_Added_1)); }
inline NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 get_m_Added_1() const { return ___m_Added_1; }
inline NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 * get_address_of_m_Added_1() { return &___m_Added_1; }
inline void set_m_Added_1(NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 value)
{
___m_Added_1 = value;
}
inline static int32_t get_offset_of_m_Updated_2() { return static_cast<int32_t>(offsetof(TrackableChanges_1_t05F219FC68E80EA9891CEEB35CBABA06F836FDD3, ___m_Updated_2)); }
inline NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 get_m_Updated_2() const { return ___m_Updated_2; }
inline NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 * get_address_of_m_Updated_2() { return &___m_Updated_2; }
inline void set_m_Updated_2(NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 value)
{
___m_Updated_2 = value;
}
inline static int32_t get_offset_of_m_Removed_3() { return static_cast<int32_t>(offsetof(TrackableChanges_1_t05F219FC68E80EA9891CEEB35CBABA06F836FDD3, ___m_Removed_3)); }
inline NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 get_m_Removed_3() const { return ___m_Removed_3; }
inline NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 * get_address_of_m_Removed_3() { return &___m_Removed_3; }
inline void set_m_Removed_3(NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 value)
{
___m_Removed_3 = value;
}
};
// UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRReferencePoint>
struct TrackableChanges_1_t5C8C3FBA23E5BBC147A6991B68520A756EF54FDF
{
public:
// System.Boolean UnityEngine.XR.ARSubsystems.TrackableChanges`1::<isCreated>k__BackingField
bool ___U3CisCreatedU3Ek__BackingField_0;
// Unity.Collections.NativeArray`1<T> UnityEngine.XR.ARSubsystems.TrackableChanges`1::m_Added
NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 ___m_Added_1;
// Unity.Collections.NativeArray`1<T> UnityEngine.XR.ARSubsystems.TrackableChanges`1::m_Updated
NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 ___m_Updated_2;
// Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.TrackableId> UnityEngine.XR.ARSubsystems.TrackableChanges`1::m_Removed
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 ___m_Removed_3;
public:
inline static int32_t get_offset_of_U3CisCreatedU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(TrackableChanges_1_t5C8C3FBA23E5BBC147A6991B68520A756EF54FDF, ___U3CisCreatedU3Ek__BackingField_0)); }
inline bool get_U3CisCreatedU3Ek__BackingField_0() const { return ___U3CisCreatedU3Ek__BackingField_0; }
inline bool* get_address_of_U3CisCreatedU3Ek__BackingField_0() { return &___U3CisCreatedU3Ek__BackingField_0; }
inline void set_U3CisCreatedU3Ek__BackingField_0(bool value)
{
___U3CisCreatedU3Ek__BackingField_0 = value;
}
inline static int32_t get_offset_of_m_Added_1() { return static_cast<int32_t>(offsetof(TrackableChanges_1_t5C8C3FBA23E5BBC147A6991B68520A756EF54FDF, ___m_Added_1)); }
inline NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 get_m_Added_1() const { return ___m_Added_1; }
inline NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 * get_address_of_m_Added_1() { return &___m_Added_1; }
inline void set_m_Added_1(NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 value)
{
___m_Added_1 = value;
}
inline static int32_t get_offset_of_m_Updated_2() { return static_cast<int32_t>(offsetof(TrackableChanges_1_t5C8C3FBA23E5BBC147A6991B68520A756EF54FDF, ___m_Updated_2)); }
inline NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 get_m_Updated_2() const { return ___m_Updated_2; }
inline NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 * get_address_of_m_Updated_2() { return &___m_Updated_2; }
inline void set_m_Updated_2(NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 value)
{
___m_Updated_2 = value;
}
inline static int32_t get_offset_of_m_Removed_3() { return static_cast<int32_t>(offsetof(TrackableChanges_1_t5C8C3FBA23E5BBC147A6991B68520A756EF54FDF, ___m_Removed_3)); }
inline NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 get_m_Removed_3() const { return ___m_Removed_3; }
inline NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 * get_address_of_m_Removed_3() { return &___m_Removed_3; }
inline void set_m_Removed_3(NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 value)
{
___m_Removed_3 = value;
}
};
// UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRTrackedImage>
struct TrackableChanges_1_tE90399F00562881A054A3592F7AF134BA053AF4F
{
public:
// System.Boolean UnityEngine.XR.ARSubsystems.TrackableChanges`1::<isCreated>k__BackingField
bool ___U3CisCreatedU3Ek__BackingField_0;
// Unity.Collections.NativeArray`1<T> UnityEngine.XR.ARSubsystems.TrackableChanges`1::m_Added
NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 ___m_Added_1;
// Unity.Collections.NativeArray`1<T> UnityEngine.XR.ARSubsystems.TrackableChanges`1::m_Updated
NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 ___m_Updated_2;
// Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.TrackableId> UnityEngine.XR.ARSubsystems.TrackableChanges`1::m_Removed
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 ___m_Removed_3;
public:
inline static int32_t get_offset_of_U3CisCreatedU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(TrackableChanges_1_tE90399F00562881A054A3592F7AF134BA053AF4F, ___U3CisCreatedU3Ek__BackingField_0)); }
inline bool get_U3CisCreatedU3Ek__BackingField_0() const { return ___U3CisCreatedU3Ek__BackingField_0; }
inline bool* get_address_of_U3CisCreatedU3Ek__BackingField_0() { return &___U3CisCreatedU3Ek__BackingField_0; }
inline void set_U3CisCreatedU3Ek__BackingField_0(bool value)
{
___U3CisCreatedU3Ek__BackingField_0 = value;
}
inline static int32_t get_offset_of_m_Added_1() { return static_cast<int32_t>(offsetof(TrackableChanges_1_tE90399F00562881A054A3592F7AF134BA053AF4F, ___m_Added_1)); }
inline NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 get_m_Added_1() const { return ___m_Added_1; }
inline NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 * get_address_of_m_Added_1() { return &___m_Added_1; }
inline void set_m_Added_1(NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 value)
{
___m_Added_1 = value;
}
inline static int32_t get_offset_of_m_Updated_2() { return static_cast<int32_t>(offsetof(TrackableChanges_1_tE90399F00562881A054A3592F7AF134BA053AF4F, ___m_Updated_2)); }
inline NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 get_m_Updated_2() const { return ___m_Updated_2; }
inline NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 * get_address_of_m_Updated_2() { return &___m_Updated_2; }
inline void set_m_Updated_2(NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 value)
{
___m_Updated_2 = value;
}
inline static int32_t get_offset_of_m_Removed_3() { return static_cast<int32_t>(offsetof(TrackableChanges_1_tE90399F00562881A054A3592F7AF134BA053AF4F, ___m_Removed_3)); }
inline NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 get_m_Removed_3() const { return ___m_Removed_3; }
inline NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 * get_address_of_m_Removed_3() { return &___m_Removed_3; }
inline void set_m_Removed_3(NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 value)
{
___m_Removed_3 = value;
}
};
// UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRTrackedObject>
struct TrackableChanges_1_t03A664B58E58E32B5EC1F7CB7133E87F804EE874
{
public:
// System.Boolean UnityEngine.XR.ARSubsystems.TrackableChanges`1::<isCreated>k__BackingField
bool ___U3CisCreatedU3Ek__BackingField_0;
// Unity.Collections.NativeArray`1<T> UnityEngine.XR.ARSubsystems.TrackableChanges`1::m_Added
NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 ___m_Added_1;
// Unity.Collections.NativeArray`1<T> UnityEngine.XR.ARSubsystems.TrackableChanges`1::m_Updated
NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 ___m_Updated_2;
// Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.TrackableId> UnityEngine.XR.ARSubsystems.TrackableChanges`1::m_Removed
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 ___m_Removed_3;
public:
inline static int32_t get_offset_of_U3CisCreatedU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(TrackableChanges_1_t03A664B58E58E32B5EC1F7CB7133E87F804EE874, ___U3CisCreatedU3Ek__BackingField_0)); }
inline bool get_U3CisCreatedU3Ek__BackingField_0() const { return ___U3CisCreatedU3Ek__BackingField_0; }
inline bool* get_address_of_U3CisCreatedU3Ek__BackingField_0() { return &___U3CisCreatedU3Ek__BackingField_0; }
inline void set_U3CisCreatedU3Ek__BackingField_0(bool value)
{
___U3CisCreatedU3Ek__BackingField_0 = value;
}
inline static int32_t get_offset_of_m_Added_1() { return static_cast<int32_t>(offsetof(TrackableChanges_1_t03A664B58E58E32B5EC1F7CB7133E87F804EE874, ___m_Added_1)); }
inline NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 get_m_Added_1() const { return ___m_Added_1; }
inline NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 * get_address_of_m_Added_1() { return &___m_Added_1; }
inline void set_m_Added_1(NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 value)
{
___m_Added_1 = value;
}
inline static int32_t get_offset_of_m_Updated_2() { return static_cast<int32_t>(offsetof(TrackableChanges_1_t03A664B58E58E32B5EC1F7CB7133E87F804EE874, ___m_Updated_2)); }
inline NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 get_m_Updated_2() const { return ___m_Updated_2; }
inline NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 * get_address_of_m_Updated_2() { return &___m_Updated_2; }
inline void set_m_Updated_2(NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 value)
{
___m_Updated_2 = value;
}
inline static int32_t get_offset_of_m_Removed_3() { return static_cast<int32_t>(offsetof(TrackableChanges_1_t03A664B58E58E32B5EC1F7CB7133E87F804EE874, ___m_Removed_3)); }
inline NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 get_m_Removed_3() const { return ___m_Removed_3; }
inline NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 * get_address_of_m_Removed_3() { return &___m_Removed_3; }
inline void set_m_Removed_3(NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 value)
{
___m_Removed_3 = value;
}
};
// UnityEngine.XR.ARSubsystems.XREnvironmentProbe
struct XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2
{
public:
// UnityEngine.XR.ARSubsystems.TrackableId UnityEngine.XR.ARSubsystems.XREnvironmentProbe::m_TrackableId
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___m_TrackableId_1;
// UnityEngine.Vector3 UnityEngine.XR.ARSubsystems.XREnvironmentProbe::m_Scale
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___m_Scale_2;
// UnityEngine.Pose UnityEngine.XR.ARSubsystems.XREnvironmentProbe::m_Pose
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 ___m_Pose_3;
// UnityEngine.Vector3 UnityEngine.XR.ARSubsystems.XREnvironmentProbe::m_Size
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___m_Size_4;
// UnityEngine.XR.ARSubsystems.XRTextureDescriptor UnityEngine.XR.ARSubsystems.XREnvironmentProbe::m_TextureDescriptor
XRTextureDescriptor_t56503F48CEBC183AF26EE86935E918F31D09E9FD ___m_TextureDescriptor_5;
// UnityEngine.XR.ARSubsystems.TrackingState UnityEngine.XR.ARSubsystems.XREnvironmentProbe::m_TrackingState
int32_t ___m_TrackingState_6;
// System.IntPtr UnityEngine.XR.ARSubsystems.XREnvironmentProbe::m_NativePtr
intptr_t ___m_NativePtr_7;
public:
inline static int32_t get_offset_of_m_TrackableId_1() { return static_cast<int32_t>(offsetof(XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2, ___m_TrackableId_1)); }
inline TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 get_m_TrackableId_1() const { return ___m_TrackableId_1; }
inline TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 * get_address_of_m_TrackableId_1() { return &___m_TrackableId_1; }
inline void set_m_TrackableId_1(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 value)
{
___m_TrackableId_1 = value;
}
inline static int32_t get_offset_of_m_Scale_2() { return static_cast<int32_t>(offsetof(XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2, ___m_Scale_2)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_m_Scale_2() const { return ___m_Scale_2; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_m_Scale_2() { return &___m_Scale_2; }
inline void set_m_Scale_2(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___m_Scale_2 = value;
}
inline static int32_t get_offset_of_m_Pose_3() { return static_cast<int32_t>(offsetof(XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2, ___m_Pose_3)); }
inline Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 get_m_Pose_3() const { return ___m_Pose_3; }
inline Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 * get_address_of_m_Pose_3() { return &___m_Pose_3; }
inline void set_m_Pose_3(Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 value)
{
___m_Pose_3 = value;
}
inline static int32_t get_offset_of_m_Size_4() { return static_cast<int32_t>(offsetof(XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2, ___m_Size_4)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_m_Size_4() const { return ___m_Size_4; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_m_Size_4() { return &___m_Size_4; }
inline void set_m_Size_4(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___m_Size_4 = value;
}
inline static int32_t get_offset_of_m_TextureDescriptor_5() { return static_cast<int32_t>(offsetof(XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2, ___m_TextureDescriptor_5)); }
inline XRTextureDescriptor_t56503F48CEBC183AF26EE86935E918F31D09E9FD get_m_TextureDescriptor_5() const { return ___m_TextureDescriptor_5; }
inline XRTextureDescriptor_t56503F48CEBC183AF26EE86935E918F31D09E9FD * get_address_of_m_TextureDescriptor_5() { return &___m_TextureDescriptor_5; }
inline void set_m_TextureDescriptor_5(XRTextureDescriptor_t56503F48CEBC183AF26EE86935E918F31D09E9FD value)
{
___m_TextureDescriptor_5 = value;
}
inline static int32_t get_offset_of_m_TrackingState_6() { return static_cast<int32_t>(offsetof(XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2, ___m_TrackingState_6)); }
inline int32_t get_m_TrackingState_6() const { return ___m_TrackingState_6; }
inline int32_t* get_address_of_m_TrackingState_6() { return &___m_TrackingState_6; }
inline void set_m_TrackingState_6(int32_t value)
{
___m_TrackingState_6 = value;
}
inline static int32_t get_offset_of_m_NativePtr_7() { return static_cast<int32_t>(offsetof(XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2, ___m_NativePtr_7)); }
inline intptr_t get_m_NativePtr_7() const { return ___m_NativePtr_7; }
inline intptr_t* get_address_of_m_NativePtr_7() { return &___m_NativePtr_7; }
inline void set_m_NativePtr_7(intptr_t value)
{
___m_NativePtr_7 = value;
}
};
struct XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2_StaticFields
{
public:
// UnityEngine.XR.ARSubsystems.XREnvironmentProbe UnityEngine.XR.ARSubsystems.XREnvironmentProbe::s_Default
XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 ___s_Default_0;
public:
inline static int32_t get_offset_of_s_Default_0() { return static_cast<int32_t>(offsetof(XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2_StaticFields, ___s_Default_0)); }
inline XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 get_s_Default_0() const { return ___s_Default_0; }
inline XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 * get_address_of_s_Default_0() { return &___s_Default_0; }
inline void set_s_Default_0(XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 value)
{
___s_Default_0 = value;
}
};
// System.ArgumentNullException
struct ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD : public ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1
{
public:
public:
};
// UnityEngine.MonoBehaviour
struct MonoBehaviour_t4A60845CF505405AF8BE8C61CC07F75CADEF6429 : public Behaviour_tBDC7E9C3C898AD8348891B82D3E345801D920CA8
{
public:
public:
};
// UnityEngine.XR.ARFoundation.ARSessionOrigin
struct ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF : public MonoBehaviour_t4A60845CF505405AF8BE8C61CC07F75CADEF6429
{
public:
// UnityEngine.Camera UnityEngine.XR.ARFoundation.ARSessionOrigin::m_Camera
Camera_t48B2B9ECB3CE6108A98BF949A1CECF0FE3421F34 * ___m_Camera_4;
// UnityEngine.Transform UnityEngine.XR.ARFoundation.ARSessionOrigin::<trackablesParent>k__BackingField
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * ___U3CtrackablesParentU3Ek__BackingField_5;
// System.Action`1<UnityEngine.XR.ARFoundation.ARTrackablesParentTransformChangedEventArgs> UnityEngine.XR.ARFoundation.ARSessionOrigin::trackablesParentTransformChanged
Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB * ___trackablesParentTransformChanged_6;
// UnityEngine.GameObject UnityEngine.XR.ARFoundation.ARSessionOrigin::m_ContentOffsetGameObject
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * ___m_ContentOffsetGameObject_7;
public:
inline static int32_t get_offset_of_m_Camera_4() { return static_cast<int32_t>(offsetof(ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF, ___m_Camera_4)); }
inline Camera_t48B2B9ECB3CE6108A98BF949A1CECF0FE3421F34 * get_m_Camera_4() const { return ___m_Camera_4; }
inline Camera_t48B2B9ECB3CE6108A98BF949A1CECF0FE3421F34 ** get_address_of_m_Camera_4() { return &___m_Camera_4; }
inline void set_m_Camera_4(Camera_t48B2B9ECB3CE6108A98BF949A1CECF0FE3421F34 * value)
{
___m_Camera_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Camera_4), (void*)value);
}
inline static int32_t get_offset_of_U3CtrackablesParentU3Ek__BackingField_5() { return static_cast<int32_t>(offsetof(ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF, ___U3CtrackablesParentU3Ek__BackingField_5)); }
inline Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * get_U3CtrackablesParentU3Ek__BackingField_5() const { return ___U3CtrackablesParentU3Ek__BackingField_5; }
inline Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA ** get_address_of_U3CtrackablesParentU3Ek__BackingField_5() { return &___U3CtrackablesParentU3Ek__BackingField_5; }
inline void set_U3CtrackablesParentU3Ek__BackingField_5(Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * value)
{
___U3CtrackablesParentU3Ek__BackingField_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CtrackablesParentU3Ek__BackingField_5), (void*)value);
}
inline static int32_t get_offset_of_trackablesParentTransformChanged_6() { return static_cast<int32_t>(offsetof(ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF, ___trackablesParentTransformChanged_6)); }
inline Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB * get_trackablesParentTransformChanged_6() const { return ___trackablesParentTransformChanged_6; }
inline Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB ** get_address_of_trackablesParentTransformChanged_6() { return &___trackablesParentTransformChanged_6; }
inline void set_trackablesParentTransformChanged_6(Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB * value)
{
___trackablesParentTransformChanged_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___trackablesParentTransformChanged_6), (void*)value);
}
inline static int32_t get_offset_of_m_ContentOffsetGameObject_7() { return static_cast<int32_t>(offsetof(ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF, ___m_ContentOffsetGameObject_7)); }
inline GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * get_m_ContentOffsetGameObject_7() const { return ___m_ContentOffsetGameObject_7; }
inline GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F ** get_address_of_m_ContentOffsetGameObject_7() { return &___m_ContentOffsetGameObject_7; }
inline void set_m_ContentOffsetGameObject_7(GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * value)
{
___m_ContentOffsetGameObject_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_ContentOffsetGameObject_7), (void*)value);
}
};
// UnityEngine.XR.ARFoundation.ARTrackable
struct ARTrackable_t83B7DF3DDF0311EB7317A3D9A4E8D4363AA00D85 : public MonoBehaviour_t4A60845CF505405AF8BE8C61CC07F75CADEF6429
{
public:
public:
};
// UnityEngine.XR.ARFoundation.SubsystemLifecycleManager`2<System.Object,System.Object>
struct SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 : public MonoBehaviour_t4A60845CF505405AF8BE8C61CC07F75CADEF6429
{
public:
// TSubsystem UnityEngine.XR.ARFoundation.SubsystemLifecycleManager`2::<subsystem>k__BackingField
RuntimeObject * ___U3CsubsystemU3Ek__BackingField_4;
public:
inline static int32_t get_offset_of_U3CsubsystemU3Ek__BackingField_4() { return static_cast<int32_t>(offsetof(SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9, ___U3CsubsystemU3Ek__BackingField_4)); }
inline RuntimeObject * get_U3CsubsystemU3Ek__BackingField_4() const { return ___U3CsubsystemU3Ek__BackingField_4; }
inline RuntimeObject ** get_address_of_U3CsubsystemU3Ek__BackingField_4() { return &___U3CsubsystemU3Ek__BackingField_4; }
inline void set_U3CsubsystemU3Ek__BackingField_4(RuntimeObject * value)
{
___U3CsubsystemU3Ek__BackingField_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CsubsystemU3Ek__BackingField_4), (void*)value);
}
};
struct SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9_StaticFields
{
public:
// System.Collections.Generic.List`1<TSubsystemDescriptor> UnityEngine.XR.ARFoundation.SubsystemLifecycleManager`2::s_SubsystemDescriptors
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___s_SubsystemDescriptors_5;
// System.Collections.Generic.List`1<TSubsystem> UnityEngine.XR.ARFoundation.SubsystemLifecycleManager`2::s_SubsystemInstances
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___s_SubsystemInstances_6;
public:
inline static int32_t get_offset_of_s_SubsystemDescriptors_5() { return static_cast<int32_t>(offsetof(SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9_StaticFields, ___s_SubsystemDescriptors_5)); }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * get_s_SubsystemDescriptors_5() const { return ___s_SubsystemDescriptors_5; }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D ** get_address_of_s_SubsystemDescriptors_5() { return &___s_SubsystemDescriptors_5; }
inline void set_s_SubsystemDescriptors_5(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * value)
{
___s_SubsystemDescriptors_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_SubsystemDescriptors_5), (void*)value);
}
inline static int32_t get_offset_of_s_SubsystemInstances_6() { return static_cast<int32_t>(offsetof(SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9_StaticFields, ___s_SubsystemInstances_6)); }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * get_s_SubsystemInstances_6() const { return ___s_SubsystemInstances_6; }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D ** get_address_of_s_SubsystemInstances_6() { return &___s_SubsystemInstances_6; }
inline void set_s_SubsystemInstances_6(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * value)
{
___s_SubsystemInstances_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_SubsystemInstances_6), (void*)value);
}
};
// UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>
struct ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 : public SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9
{
public:
// UnityEngine.XR.ARFoundation.ARSessionOrigin UnityEngine.XR.ARFoundation.ARTrackableManager`4::<sessionOrigin>k__BackingField
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * ___U3CsessionOriginU3Ek__BackingField_8;
// System.Collections.Generic.Dictionary`2<UnityEngine.XR.ARSubsystems.TrackableId,TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::m_Trackables
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * ___m_Trackables_9;
// System.Collections.Generic.Dictionary`2<UnityEngine.XR.ARSubsystems.TrackableId,TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::m_PendingAdds
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * ___m_PendingAdds_10;
public:
inline static int32_t get_offset_of_U3CsessionOriginU3Ek__BackingField_8() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694, ___U3CsessionOriginU3Ek__BackingField_8)); }
inline ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * get_U3CsessionOriginU3Ek__BackingField_8() const { return ___U3CsessionOriginU3Ek__BackingField_8; }
inline ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF ** get_address_of_U3CsessionOriginU3Ek__BackingField_8() { return &___U3CsessionOriginU3Ek__BackingField_8; }
inline void set_U3CsessionOriginU3Ek__BackingField_8(ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * value)
{
___U3CsessionOriginU3Ek__BackingField_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CsessionOriginU3Ek__BackingField_8), (void*)value);
}
inline static int32_t get_offset_of_m_Trackables_9() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694, ___m_Trackables_9)); }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * get_m_Trackables_9() const { return ___m_Trackables_9; }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE ** get_address_of_m_Trackables_9() { return &___m_Trackables_9; }
inline void set_m_Trackables_9(Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * value)
{
___m_Trackables_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Trackables_9), (void*)value);
}
inline static int32_t get_offset_of_m_PendingAdds_10() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694, ___m_PendingAdds_10)); }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * get_m_PendingAdds_10() const { return ___m_PendingAdds_10; }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE ** get_address_of_m_PendingAdds_10() { return &___m_PendingAdds_10; }
inline void set_m_PendingAdds_10(Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * value)
{
___m_PendingAdds_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_PendingAdds_10), (void*)value);
}
};
struct ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694_StaticFields
{
public:
// UnityEngine.XR.ARFoundation.ARTrackableManager`4<TSubsystem,TSubsystemDescriptor,TSessionRelativeData,TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::<instance>k__BackingField
ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 * ___U3CinstanceU3Ek__BackingField_7;
// System.Collections.Generic.List`1<TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::s_Added
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___s_Added_11;
// System.Collections.Generic.List`1<TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::s_Updated
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___s_Updated_12;
// System.Collections.Generic.List`1<TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::s_Removed
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___s_Removed_13;
public:
inline static int32_t get_offset_of_U3CinstanceU3Ek__BackingField_7() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694_StaticFields, ___U3CinstanceU3Ek__BackingField_7)); }
inline ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 * get_U3CinstanceU3Ek__BackingField_7() const { return ___U3CinstanceU3Ek__BackingField_7; }
inline ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 ** get_address_of_U3CinstanceU3Ek__BackingField_7() { return &___U3CinstanceU3Ek__BackingField_7; }
inline void set_U3CinstanceU3Ek__BackingField_7(ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 * value)
{
___U3CinstanceU3Ek__BackingField_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CinstanceU3Ek__BackingField_7), (void*)value);
}
inline static int32_t get_offset_of_s_Added_11() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694_StaticFields, ___s_Added_11)); }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * get_s_Added_11() const { return ___s_Added_11; }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D ** get_address_of_s_Added_11() { return &___s_Added_11; }
inline void set_s_Added_11(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * value)
{
___s_Added_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_Added_11), (void*)value);
}
inline static int32_t get_offset_of_s_Updated_12() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694_StaticFields, ___s_Updated_12)); }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * get_s_Updated_12() const { return ___s_Updated_12; }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D ** get_address_of_s_Updated_12() { return &___s_Updated_12; }
inline void set_s_Updated_12(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * value)
{
___s_Updated_12 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_Updated_12), (void*)value);
}
inline static int32_t get_offset_of_s_Removed_13() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694_StaticFields, ___s_Removed_13)); }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * get_s_Removed_13() const { return ___s_Removed_13; }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D ** get_address_of_s_Removed_13() { return &___s_Removed_13; }
inline void set_s_Removed_13(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * value)
{
___s_Removed_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_Removed_13), (void*)value);
}
};
// UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRFace,System.Object>
struct ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 : public SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9
{
public:
// UnityEngine.XR.ARFoundation.ARSessionOrigin UnityEngine.XR.ARFoundation.ARTrackableManager`4::<sessionOrigin>k__BackingField
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * ___U3CsessionOriginU3Ek__BackingField_8;
// System.Collections.Generic.Dictionary`2<UnityEngine.XR.ARSubsystems.TrackableId,TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::m_Trackables
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * ___m_Trackables_9;
// System.Collections.Generic.Dictionary`2<UnityEngine.XR.ARSubsystems.TrackableId,TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::m_PendingAdds
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * ___m_PendingAdds_10;
public:
inline static int32_t get_offset_of_U3CsessionOriginU3Ek__BackingField_8() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282, ___U3CsessionOriginU3Ek__BackingField_8)); }
inline ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * get_U3CsessionOriginU3Ek__BackingField_8() const { return ___U3CsessionOriginU3Ek__BackingField_8; }
inline ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF ** get_address_of_U3CsessionOriginU3Ek__BackingField_8() { return &___U3CsessionOriginU3Ek__BackingField_8; }
inline void set_U3CsessionOriginU3Ek__BackingField_8(ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * value)
{
___U3CsessionOriginU3Ek__BackingField_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CsessionOriginU3Ek__BackingField_8), (void*)value);
}
inline static int32_t get_offset_of_m_Trackables_9() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282, ___m_Trackables_9)); }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * get_m_Trackables_9() const { return ___m_Trackables_9; }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE ** get_address_of_m_Trackables_9() { return &___m_Trackables_9; }
inline void set_m_Trackables_9(Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * value)
{
___m_Trackables_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Trackables_9), (void*)value);
}
inline static int32_t get_offset_of_m_PendingAdds_10() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282, ___m_PendingAdds_10)); }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * get_m_PendingAdds_10() const { return ___m_PendingAdds_10; }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE ** get_address_of_m_PendingAdds_10() { return &___m_PendingAdds_10; }
inline void set_m_PendingAdds_10(Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * value)
{
___m_PendingAdds_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_PendingAdds_10), (void*)value);
}
};
struct ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282_StaticFields
{
public:
// UnityEngine.XR.ARFoundation.ARTrackableManager`4<TSubsystem,TSubsystemDescriptor,TSessionRelativeData,TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::<instance>k__BackingField
ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 * ___U3CinstanceU3Ek__BackingField_7;
// System.Collections.Generic.List`1<TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::s_Added
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___s_Added_11;
// System.Collections.Generic.List`1<TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::s_Updated
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___s_Updated_12;
// System.Collections.Generic.List`1<TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::s_Removed
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___s_Removed_13;
public:
inline static int32_t get_offset_of_U3CinstanceU3Ek__BackingField_7() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282_StaticFields, ___U3CinstanceU3Ek__BackingField_7)); }
inline ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 * get_U3CinstanceU3Ek__BackingField_7() const { return ___U3CinstanceU3Ek__BackingField_7; }
inline ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 ** get_address_of_U3CinstanceU3Ek__BackingField_7() { return &___U3CinstanceU3Ek__BackingField_7; }
inline void set_U3CinstanceU3Ek__BackingField_7(ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 * value)
{
___U3CinstanceU3Ek__BackingField_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CinstanceU3Ek__BackingField_7), (void*)value);
}
inline static int32_t get_offset_of_s_Added_11() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282_StaticFields, ___s_Added_11)); }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * get_s_Added_11() const { return ___s_Added_11; }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D ** get_address_of_s_Added_11() { return &___s_Added_11; }
inline void set_s_Added_11(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * value)
{
___s_Added_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_Added_11), (void*)value);
}
inline static int32_t get_offset_of_s_Updated_12() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282_StaticFields, ___s_Updated_12)); }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * get_s_Updated_12() const { return ___s_Updated_12; }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D ** get_address_of_s_Updated_12() { return &___s_Updated_12; }
inline void set_s_Updated_12(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * value)
{
___s_Updated_12 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_Updated_12), (void*)value);
}
inline static int32_t get_offset_of_s_Removed_13() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282_StaticFields, ___s_Removed_13)); }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * get_s_Removed_13() const { return ___s_Removed_13; }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D ** get_address_of_s_Removed_13() { return &___s_Removed_13; }
inline void set_s_Removed_13(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * value)
{
___s_Removed_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_Removed_13), (void*)value);
}
};
// UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>
struct ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 : public SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9
{
public:
// UnityEngine.XR.ARFoundation.ARSessionOrigin UnityEngine.XR.ARFoundation.ARTrackableManager`4::<sessionOrigin>k__BackingField
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * ___U3CsessionOriginU3Ek__BackingField_8;
// System.Collections.Generic.Dictionary`2<UnityEngine.XR.ARSubsystems.TrackableId,TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::m_Trackables
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * ___m_Trackables_9;
// System.Collections.Generic.Dictionary`2<UnityEngine.XR.ARSubsystems.TrackableId,TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::m_PendingAdds
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * ___m_PendingAdds_10;
public:
inline static int32_t get_offset_of_U3CsessionOriginU3Ek__BackingField_8() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6, ___U3CsessionOriginU3Ek__BackingField_8)); }
inline ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * get_U3CsessionOriginU3Ek__BackingField_8() const { return ___U3CsessionOriginU3Ek__BackingField_8; }
inline ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF ** get_address_of_U3CsessionOriginU3Ek__BackingField_8() { return &___U3CsessionOriginU3Ek__BackingField_8; }
inline void set_U3CsessionOriginU3Ek__BackingField_8(ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * value)
{
___U3CsessionOriginU3Ek__BackingField_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CsessionOriginU3Ek__BackingField_8), (void*)value);
}
inline static int32_t get_offset_of_m_Trackables_9() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6, ___m_Trackables_9)); }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * get_m_Trackables_9() const { return ___m_Trackables_9; }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE ** get_address_of_m_Trackables_9() { return &___m_Trackables_9; }
inline void set_m_Trackables_9(Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * value)
{
___m_Trackables_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Trackables_9), (void*)value);
}
inline static int32_t get_offset_of_m_PendingAdds_10() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6, ___m_PendingAdds_10)); }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * get_m_PendingAdds_10() const { return ___m_PendingAdds_10; }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE ** get_address_of_m_PendingAdds_10() { return &___m_PendingAdds_10; }
inline void set_m_PendingAdds_10(Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * value)
{
___m_PendingAdds_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_PendingAdds_10), (void*)value);
}
};
struct ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6_StaticFields
{
public:
// UnityEngine.XR.ARFoundation.ARTrackableManager`4<TSubsystem,TSubsystemDescriptor,TSessionRelativeData,TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::<instance>k__BackingField
ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 * ___U3CinstanceU3Ek__BackingField_7;
// System.Collections.Generic.List`1<TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::s_Added
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___s_Added_11;
// System.Collections.Generic.List`1<TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::s_Updated
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___s_Updated_12;
// System.Collections.Generic.List`1<TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::s_Removed
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___s_Removed_13;
public:
inline static int32_t get_offset_of_U3CinstanceU3Ek__BackingField_7() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6_StaticFields, ___U3CinstanceU3Ek__BackingField_7)); }
inline ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 * get_U3CinstanceU3Ek__BackingField_7() const { return ___U3CinstanceU3Ek__BackingField_7; }
inline ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 ** get_address_of_U3CinstanceU3Ek__BackingField_7() { return &___U3CinstanceU3Ek__BackingField_7; }
inline void set_U3CinstanceU3Ek__BackingField_7(ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 * value)
{
___U3CinstanceU3Ek__BackingField_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CinstanceU3Ek__BackingField_7), (void*)value);
}
inline static int32_t get_offset_of_s_Added_11() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6_StaticFields, ___s_Added_11)); }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * get_s_Added_11() const { return ___s_Added_11; }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D ** get_address_of_s_Added_11() { return &___s_Added_11; }
inline void set_s_Added_11(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * value)
{
___s_Added_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_Added_11), (void*)value);
}
inline static int32_t get_offset_of_s_Updated_12() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6_StaticFields, ___s_Updated_12)); }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * get_s_Updated_12() const { return ___s_Updated_12; }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D ** get_address_of_s_Updated_12() { return &___s_Updated_12; }
inline void set_s_Updated_12(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * value)
{
___s_Updated_12 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_Updated_12), (void*)value);
}
inline static int32_t get_offset_of_s_Removed_13() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6_StaticFields, ___s_Removed_13)); }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * get_s_Removed_13() const { return ___s_Removed_13; }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D ** get_address_of_s_Removed_13() { return &___s_Removed_13; }
inline void set_s_Removed_13(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * value)
{
___s_Removed_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_Removed_13), (void*)value);
}
};
// UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>
struct ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 : public SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9
{
public:
// UnityEngine.XR.ARFoundation.ARSessionOrigin UnityEngine.XR.ARFoundation.ARTrackableManager`4::<sessionOrigin>k__BackingField
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * ___U3CsessionOriginU3Ek__BackingField_8;
// System.Collections.Generic.Dictionary`2<UnityEngine.XR.ARSubsystems.TrackableId,TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::m_Trackables
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * ___m_Trackables_9;
// System.Collections.Generic.Dictionary`2<UnityEngine.XR.ARSubsystems.TrackableId,TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::m_PendingAdds
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * ___m_PendingAdds_10;
public:
inline static int32_t get_offset_of_U3CsessionOriginU3Ek__BackingField_8() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7, ___U3CsessionOriginU3Ek__BackingField_8)); }
inline ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * get_U3CsessionOriginU3Ek__BackingField_8() const { return ___U3CsessionOriginU3Ek__BackingField_8; }
inline ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF ** get_address_of_U3CsessionOriginU3Ek__BackingField_8() { return &___U3CsessionOriginU3Ek__BackingField_8; }
inline void set_U3CsessionOriginU3Ek__BackingField_8(ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * value)
{
___U3CsessionOriginU3Ek__BackingField_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CsessionOriginU3Ek__BackingField_8), (void*)value);
}
inline static int32_t get_offset_of_m_Trackables_9() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7, ___m_Trackables_9)); }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * get_m_Trackables_9() const { return ___m_Trackables_9; }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE ** get_address_of_m_Trackables_9() { return &___m_Trackables_9; }
inline void set_m_Trackables_9(Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * value)
{
___m_Trackables_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Trackables_9), (void*)value);
}
inline static int32_t get_offset_of_m_PendingAdds_10() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7, ___m_PendingAdds_10)); }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * get_m_PendingAdds_10() const { return ___m_PendingAdds_10; }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE ** get_address_of_m_PendingAdds_10() { return &___m_PendingAdds_10; }
inline void set_m_PendingAdds_10(Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * value)
{
___m_PendingAdds_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_PendingAdds_10), (void*)value);
}
};
struct ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7_StaticFields
{
public:
// UnityEngine.XR.ARFoundation.ARTrackableManager`4<TSubsystem,TSubsystemDescriptor,TSessionRelativeData,TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::<instance>k__BackingField
ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 * ___U3CinstanceU3Ek__BackingField_7;
// System.Collections.Generic.List`1<TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::s_Added
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___s_Added_11;
// System.Collections.Generic.List`1<TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::s_Updated
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___s_Updated_12;
// System.Collections.Generic.List`1<TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::s_Removed
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___s_Removed_13;
public:
inline static int32_t get_offset_of_U3CinstanceU3Ek__BackingField_7() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7_StaticFields, ___U3CinstanceU3Ek__BackingField_7)); }
inline ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 * get_U3CinstanceU3Ek__BackingField_7() const { return ___U3CinstanceU3Ek__BackingField_7; }
inline ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 ** get_address_of_U3CinstanceU3Ek__BackingField_7() { return &___U3CinstanceU3Ek__BackingField_7; }
inline void set_U3CinstanceU3Ek__BackingField_7(ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 * value)
{
___U3CinstanceU3Ek__BackingField_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CinstanceU3Ek__BackingField_7), (void*)value);
}
inline static int32_t get_offset_of_s_Added_11() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7_StaticFields, ___s_Added_11)); }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * get_s_Added_11() const { return ___s_Added_11; }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D ** get_address_of_s_Added_11() { return &___s_Added_11; }
inline void set_s_Added_11(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * value)
{
___s_Added_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_Added_11), (void*)value);
}
inline static int32_t get_offset_of_s_Updated_12() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7_StaticFields, ___s_Updated_12)); }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * get_s_Updated_12() const { return ___s_Updated_12; }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D ** get_address_of_s_Updated_12() { return &___s_Updated_12; }
inline void set_s_Updated_12(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * value)
{
___s_Updated_12 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_Updated_12), (void*)value);
}
inline static int32_t get_offset_of_s_Removed_13() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7_StaticFields, ___s_Removed_13)); }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * get_s_Removed_13() const { return ___s_Removed_13; }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D ** get_address_of_s_Removed_13() { return &___s_Removed_13; }
inline void set_s_Removed_13(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * value)
{
___s_Removed_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_Removed_13), (void*)value);
}
};
// UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>
struct ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E : public SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9
{
public:
// UnityEngine.XR.ARFoundation.ARSessionOrigin UnityEngine.XR.ARFoundation.ARTrackableManager`4::<sessionOrigin>k__BackingField
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * ___U3CsessionOriginU3Ek__BackingField_8;
// System.Collections.Generic.Dictionary`2<UnityEngine.XR.ARSubsystems.TrackableId,TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::m_Trackables
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * ___m_Trackables_9;
// System.Collections.Generic.Dictionary`2<UnityEngine.XR.ARSubsystems.TrackableId,TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::m_PendingAdds
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * ___m_PendingAdds_10;
public:
inline static int32_t get_offset_of_U3CsessionOriginU3Ek__BackingField_8() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E, ___U3CsessionOriginU3Ek__BackingField_8)); }
inline ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * get_U3CsessionOriginU3Ek__BackingField_8() const { return ___U3CsessionOriginU3Ek__BackingField_8; }
inline ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF ** get_address_of_U3CsessionOriginU3Ek__BackingField_8() { return &___U3CsessionOriginU3Ek__BackingField_8; }
inline void set_U3CsessionOriginU3Ek__BackingField_8(ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * value)
{
___U3CsessionOriginU3Ek__BackingField_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CsessionOriginU3Ek__BackingField_8), (void*)value);
}
inline static int32_t get_offset_of_m_Trackables_9() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E, ___m_Trackables_9)); }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * get_m_Trackables_9() const { return ___m_Trackables_9; }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE ** get_address_of_m_Trackables_9() { return &___m_Trackables_9; }
inline void set_m_Trackables_9(Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * value)
{
___m_Trackables_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Trackables_9), (void*)value);
}
inline static int32_t get_offset_of_m_PendingAdds_10() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E, ___m_PendingAdds_10)); }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * get_m_PendingAdds_10() const { return ___m_PendingAdds_10; }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE ** get_address_of_m_PendingAdds_10() { return &___m_PendingAdds_10; }
inline void set_m_PendingAdds_10(Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * value)
{
___m_PendingAdds_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_PendingAdds_10), (void*)value);
}
};
struct ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E_StaticFields
{
public:
// UnityEngine.XR.ARFoundation.ARTrackableManager`4<TSubsystem,TSubsystemDescriptor,TSessionRelativeData,TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::<instance>k__BackingField
ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E * ___U3CinstanceU3Ek__BackingField_7;
// System.Collections.Generic.List`1<TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::s_Added
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___s_Added_11;
// System.Collections.Generic.List`1<TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::s_Updated
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___s_Updated_12;
// System.Collections.Generic.List`1<TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::s_Removed
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___s_Removed_13;
public:
inline static int32_t get_offset_of_U3CinstanceU3Ek__BackingField_7() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E_StaticFields, ___U3CinstanceU3Ek__BackingField_7)); }
inline ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E * get_U3CinstanceU3Ek__BackingField_7() const { return ___U3CinstanceU3Ek__BackingField_7; }
inline ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E ** get_address_of_U3CinstanceU3Ek__BackingField_7() { return &___U3CinstanceU3Ek__BackingField_7; }
inline void set_U3CinstanceU3Ek__BackingField_7(ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E * value)
{
___U3CinstanceU3Ek__BackingField_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CinstanceU3Ek__BackingField_7), (void*)value);
}
inline static int32_t get_offset_of_s_Added_11() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E_StaticFields, ___s_Added_11)); }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * get_s_Added_11() const { return ___s_Added_11; }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D ** get_address_of_s_Added_11() { return &___s_Added_11; }
inline void set_s_Added_11(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * value)
{
___s_Added_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_Added_11), (void*)value);
}
inline static int32_t get_offset_of_s_Updated_12() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E_StaticFields, ___s_Updated_12)); }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * get_s_Updated_12() const { return ___s_Updated_12; }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D ** get_address_of_s_Updated_12() { return &___s_Updated_12; }
inline void set_s_Updated_12(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * value)
{
___s_Updated_12 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_Updated_12), (void*)value);
}
inline static int32_t get_offset_of_s_Removed_13() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E_StaticFields, ___s_Removed_13)); }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * get_s_Removed_13() const { return ___s_Removed_13; }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D ** get_address_of_s_Removed_13() { return &___s_Removed_13; }
inline void set_s_Removed_13(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * value)
{
___s_Removed_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_Removed_13), (void*)value);
}
};
// UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>
struct ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 : public SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9
{
public:
// UnityEngine.XR.ARFoundation.ARSessionOrigin UnityEngine.XR.ARFoundation.ARTrackableManager`4::<sessionOrigin>k__BackingField
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * ___U3CsessionOriginU3Ek__BackingField_8;
// System.Collections.Generic.Dictionary`2<UnityEngine.XR.ARSubsystems.TrackableId,TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::m_Trackables
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * ___m_Trackables_9;
// System.Collections.Generic.Dictionary`2<UnityEngine.XR.ARSubsystems.TrackableId,TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::m_PendingAdds
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * ___m_PendingAdds_10;
public:
inline static int32_t get_offset_of_U3CsessionOriginU3Ek__BackingField_8() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53, ___U3CsessionOriginU3Ek__BackingField_8)); }
inline ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * get_U3CsessionOriginU3Ek__BackingField_8() const { return ___U3CsessionOriginU3Ek__BackingField_8; }
inline ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF ** get_address_of_U3CsessionOriginU3Ek__BackingField_8() { return &___U3CsessionOriginU3Ek__BackingField_8; }
inline void set_U3CsessionOriginU3Ek__BackingField_8(ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * value)
{
___U3CsessionOriginU3Ek__BackingField_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CsessionOriginU3Ek__BackingField_8), (void*)value);
}
inline static int32_t get_offset_of_m_Trackables_9() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53, ___m_Trackables_9)); }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * get_m_Trackables_9() const { return ___m_Trackables_9; }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE ** get_address_of_m_Trackables_9() { return &___m_Trackables_9; }
inline void set_m_Trackables_9(Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * value)
{
___m_Trackables_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Trackables_9), (void*)value);
}
inline static int32_t get_offset_of_m_PendingAdds_10() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53, ___m_PendingAdds_10)); }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * get_m_PendingAdds_10() const { return ___m_PendingAdds_10; }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE ** get_address_of_m_PendingAdds_10() { return &___m_PendingAdds_10; }
inline void set_m_PendingAdds_10(Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * value)
{
___m_PendingAdds_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_PendingAdds_10), (void*)value);
}
};
struct ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53_StaticFields
{
public:
// UnityEngine.XR.ARFoundation.ARTrackableManager`4<TSubsystem,TSubsystemDescriptor,TSessionRelativeData,TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::<instance>k__BackingField
ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 * ___U3CinstanceU3Ek__BackingField_7;
// System.Collections.Generic.List`1<TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::s_Added
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___s_Added_11;
// System.Collections.Generic.List`1<TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::s_Updated
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___s_Updated_12;
// System.Collections.Generic.List`1<TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::s_Removed
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___s_Removed_13;
public:
inline static int32_t get_offset_of_U3CinstanceU3Ek__BackingField_7() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53_StaticFields, ___U3CinstanceU3Ek__BackingField_7)); }
inline ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 * get_U3CinstanceU3Ek__BackingField_7() const { return ___U3CinstanceU3Ek__BackingField_7; }
inline ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 ** get_address_of_U3CinstanceU3Ek__BackingField_7() { return &___U3CinstanceU3Ek__BackingField_7; }
inline void set_U3CinstanceU3Ek__BackingField_7(ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 * value)
{
___U3CinstanceU3Ek__BackingField_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CinstanceU3Ek__BackingField_7), (void*)value);
}
inline static int32_t get_offset_of_s_Added_11() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53_StaticFields, ___s_Added_11)); }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * get_s_Added_11() const { return ___s_Added_11; }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D ** get_address_of_s_Added_11() { return &___s_Added_11; }
inline void set_s_Added_11(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * value)
{
___s_Added_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_Added_11), (void*)value);
}
inline static int32_t get_offset_of_s_Updated_12() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53_StaticFields, ___s_Updated_12)); }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * get_s_Updated_12() const { return ___s_Updated_12; }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D ** get_address_of_s_Updated_12() { return &___s_Updated_12; }
inline void set_s_Updated_12(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * value)
{
___s_Updated_12 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_Updated_12), (void*)value);
}
inline static int32_t get_offset_of_s_Removed_13() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53_StaticFields, ___s_Removed_13)); }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * get_s_Removed_13() const { return ___s_Removed_13; }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D ** get_address_of_s_Removed_13() { return &___s_Removed_13; }
inline void set_s_Removed_13(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * value)
{
___s_Removed_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_Removed_13), (void*)value);
}
};
// UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>
struct ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 : public SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9
{
public:
// UnityEngine.XR.ARFoundation.ARSessionOrigin UnityEngine.XR.ARFoundation.ARTrackableManager`4::<sessionOrigin>k__BackingField
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * ___U3CsessionOriginU3Ek__BackingField_8;
// System.Collections.Generic.Dictionary`2<UnityEngine.XR.ARSubsystems.TrackableId,TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::m_Trackables
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * ___m_Trackables_9;
// System.Collections.Generic.Dictionary`2<UnityEngine.XR.ARSubsystems.TrackableId,TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::m_PendingAdds
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * ___m_PendingAdds_10;
public:
inline static int32_t get_offset_of_U3CsessionOriginU3Ek__BackingField_8() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13, ___U3CsessionOriginU3Ek__BackingField_8)); }
inline ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * get_U3CsessionOriginU3Ek__BackingField_8() const { return ___U3CsessionOriginU3Ek__BackingField_8; }
inline ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF ** get_address_of_U3CsessionOriginU3Ek__BackingField_8() { return &___U3CsessionOriginU3Ek__BackingField_8; }
inline void set_U3CsessionOriginU3Ek__BackingField_8(ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * value)
{
___U3CsessionOriginU3Ek__BackingField_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CsessionOriginU3Ek__BackingField_8), (void*)value);
}
inline static int32_t get_offset_of_m_Trackables_9() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13, ___m_Trackables_9)); }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * get_m_Trackables_9() const { return ___m_Trackables_9; }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE ** get_address_of_m_Trackables_9() { return &___m_Trackables_9; }
inline void set_m_Trackables_9(Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * value)
{
___m_Trackables_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Trackables_9), (void*)value);
}
inline static int32_t get_offset_of_m_PendingAdds_10() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13, ___m_PendingAdds_10)); }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * get_m_PendingAdds_10() const { return ___m_PendingAdds_10; }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE ** get_address_of_m_PendingAdds_10() { return &___m_PendingAdds_10; }
inline void set_m_PendingAdds_10(Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * value)
{
___m_PendingAdds_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_PendingAdds_10), (void*)value);
}
};
struct ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13_StaticFields
{
public:
// UnityEngine.XR.ARFoundation.ARTrackableManager`4<TSubsystem,TSubsystemDescriptor,TSessionRelativeData,TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::<instance>k__BackingField
ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 * ___U3CinstanceU3Ek__BackingField_7;
// System.Collections.Generic.List`1<TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::s_Added
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___s_Added_11;
// System.Collections.Generic.List`1<TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::s_Updated
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___s_Updated_12;
// System.Collections.Generic.List`1<TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::s_Removed
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___s_Removed_13;
public:
inline static int32_t get_offset_of_U3CinstanceU3Ek__BackingField_7() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13_StaticFields, ___U3CinstanceU3Ek__BackingField_7)); }
inline ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 * get_U3CinstanceU3Ek__BackingField_7() const { return ___U3CinstanceU3Ek__BackingField_7; }
inline ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 ** get_address_of_U3CinstanceU3Ek__BackingField_7() { return &___U3CinstanceU3Ek__BackingField_7; }
inline void set_U3CinstanceU3Ek__BackingField_7(ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 * value)
{
___U3CinstanceU3Ek__BackingField_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CinstanceU3Ek__BackingField_7), (void*)value);
}
inline static int32_t get_offset_of_s_Added_11() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13_StaticFields, ___s_Added_11)); }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * get_s_Added_11() const { return ___s_Added_11; }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D ** get_address_of_s_Added_11() { return &___s_Added_11; }
inline void set_s_Added_11(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * value)
{
___s_Added_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_Added_11), (void*)value);
}
inline static int32_t get_offset_of_s_Updated_12() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13_StaticFields, ___s_Updated_12)); }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * get_s_Updated_12() const { return ___s_Updated_12; }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D ** get_address_of_s_Updated_12() { return &___s_Updated_12; }
inline void set_s_Updated_12(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * value)
{
___s_Updated_12 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_Updated_12), (void*)value);
}
inline static int32_t get_offset_of_s_Removed_13() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13_StaticFields, ___s_Removed_13)); }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * get_s_Removed_13() const { return ___s_Removed_13; }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D ** get_address_of_s_Removed_13() { return &___s_Removed_13; }
inline void set_s_Removed_13(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * value)
{
___s_Removed_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_Removed_13), (void*)value);
}
};
// UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>
struct ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 : public SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9
{
public:
// UnityEngine.XR.ARFoundation.ARSessionOrigin UnityEngine.XR.ARFoundation.ARTrackableManager`4::<sessionOrigin>k__BackingField
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * ___U3CsessionOriginU3Ek__BackingField_8;
// System.Collections.Generic.Dictionary`2<UnityEngine.XR.ARSubsystems.TrackableId,TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::m_Trackables
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * ___m_Trackables_9;
// System.Collections.Generic.Dictionary`2<UnityEngine.XR.ARSubsystems.TrackableId,TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::m_PendingAdds
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * ___m_PendingAdds_10;
public:
inline static int32_t get_offset_of_U3CsessionOriginU3Ek__BackingField_8() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436, ___U3CsessionOriginU3Ek__BackingField_8)); }
inline ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * get_U3CsessionOriginU3Ek__BackingField_8() const { return ___U3CsessionOriginU3Ek__BackingField_8; }
inline ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF ** get_address_of_U3CsessionOriginU3Ek__BackingField_8() { return &___U3CsessionOriginU3Ek__BackingField_8; }
inline void set_U3CsessionOriginU3Ek__BackingField_8(ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * value)
{
___U3CsessionOriginU3Ek__BackingField_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CsessionOriginU3Ek__BackingField_8), (void*)value);
}
inline static int32_t get_offset_of_m_Trackables_9() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436, ___m_Trackables_9)); }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * get_m_Trackables_9() const { return ___m_Trackables_9; }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE ** get_address_of_m_Trackables_9() { return &___m_Trackables_9; }
inline void set_m_Trackables_9(Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * value)
{
___m_Trackables_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Trackables_9), (void*)value);
}
inline static int32_t get_offset_of_m_PendingAdds_10() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436, ___m_PendingAdds_10)); }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * get_m_PendingAdds_10() const { return ___m_PendingAdds_10; }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE ** get_address_of_m_PendingAdds_10() { return &___m_PendingAdds_10; }
inline void set_m_PendingAdds_10(Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * value)
{
___m_PendingAdds_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_PendingAdds_10), (void*)value);
}
};
struct ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436_StaticFields
{
public:
// UnityEngine.XR.ARFoundation.ARTrackableManager`4<TSubsystem,TSubsystemDescriptor,TSessionRelativeData,TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::<instance>k__BackingField
ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 * ___U3CinstanceU3Ek__BackingField_7;
// System.Collections.Generic.List`1<TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::s_Added
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___s_Added_11;
// System.Collections.Generic.List`1<TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::s_Updated
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___s_Updated_12;
// System.Collections.Generic.List`1<TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::s_Removed
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___s_Removed_13;
public:
inline static int32_t get_offset_of_U3CinstanceU3Ek__BackingField_7() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436_StaticFields, ___U3CinstanceU3Ek__BackingField_7)); }
inline ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 * get_U3CinstanceU3Ek__BackingField_7() const { return ___U3CinstanceU3Ek__BackingField_7; }
inline ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 ** get_address_of_U3CinstanceU3Ek__BackingField_7() { return &___U3CinstanceU3Ek__BackingField_7; }
inline void set_U3CinstanceU3Ek__BackingField_7(ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 * value)
{
___U3CinstanceU3Ek__BackingField_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CinstanceU3Ek__BackingField_7), (void*)value);
}
inline static int32_t get_offset_of_s_Added_11() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436_StaticFields, ___s_Added_11)); }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * get_s_Added_11() const { return ___s_Added_11; }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D ** get_address_of_s_Added_11() { return &___s_Added_11; }
inline void set_s_Added_11(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * value)
{
___s_Added_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_Added_11), (void*)value);
}
inline static int32_t get_offset_of_s_Updated_12() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436_StaticFields, ___s_Updated_12)); }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * get_s_Updated_12() const { return ___s_Updated_12; }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D ** get_address_of_s_Updated_12() { return &___s_Updated_12; }
inline void set_s_Updated_12(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * value)
{
___s_Updated_12 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_Updated_12), (void*)value);
}
inline static int32_t get_offset_of_s_Removed_13() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436_StaticFields, ___s_Removed_13)); }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * get_s_Removed_13() const { return ___s_Removed_13; }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D ** get_address_of_s_Removed_13() { return &___s_Removed_13; }
inline void set_s_Removed_13(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * value)
{
___s_Removed_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_Removed_13), (void*)value);
}
};
// UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>
struct ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB : public SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9
{
public:
// UnityEngine.XR.ARFoundation.ARSessionOrigin UnityEngine.XR.ARFoundation.ARTrackableManager`4::<sessionOrigin>k__BackingField
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * ___U3CsessionOriginU3Ek__BackingField_8;
// System.Collections.Generic.Dictionary`2<UnityEngine.XR.ARSubsystems.TrackableId,TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::m_Trackables
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * ___m_Trackables_9;
// System.Collections.Generic.Dictionary`2<UnityEngine.XR.ARSubsystems.TrackableId,TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::m_PendingAdds
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * ___m_PendingAdds_10;
public:
inline static int32_t get_offset_of_U3CsessionOriginU3Ek__BackingField_8() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB, ___U3CsessionOriginU3Ek__BackingField_8)); }
inline ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * get_U3CsessionOriginU3Ek__BackingField_8() const { return ___U3CsessionOriginU3Ek__BackingField_8; }
inline ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF ** get_address_of_U3CsessionOriginU3Ek__BackingField_8() { return &___U3CsessionOriginU3Ek__BackingField_8; }
inline void set_U3CsessionOriginU3Ek__BackingField_8(ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * value)
{
___U3CsessionOriginU3Ek__BackingField_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CsessionOriginU3Ek__BackingField_8), (void*)value);
}
inline static int32_t get_offset_of_m_Trackables_9() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB, ___m_Trackables_9)); }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * get_m_Trackables_9() const { return ___m_Trackables_9; }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE ** get_address_of_m_Trackables_9() { return &___m_Trackables_9; }
inline void set_m_Trackables_9(Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * value)
{
___m_Trackables_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Trackables_9), (void*)value);
}
inline static int32_t get_offset_of_m_PendingAdds_10() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB, ___m_PendingAdds_10)); }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * get_m_PendingAdds_10() const { return ___m_PendingAdds_10; }
inline Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE ** get_address_of_m_PendingAdds_10() { return &___m_PendingAdds_10; }
inline void set_m_PendingAdds_10(Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * value)
{
___m_PendingAdds_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_PendingAdds_10), (void*)value);
}
};
struct ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB_StaticFields
{
public:
// UnityEngine.XR.ARFoundation.ARTrackableManager`4<TSubsystem,TSubsystemDescriptor,TSessionRelativeData,TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::<instance>k__BackingField
ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB * ___U3CinstanceU3Ek__BackingField_7;
// System.Collections.Generic.List`1<TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::s_Added
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___s_Added_11;
// System.Collections.Generic.List`1<TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::s_Updated
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___s_Updated_12;
// System.Collections.Generic.List`1<TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4::s_Removed
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___s_Removed_13;
public:
inline static int32_t get_offset_of_U3CinstanceU3Ek__BackingField_7() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB_StaticFields, ___U3CinstanceU3Ek__BackingField_7)); }
inline ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB * get_U3CinstanceU3Ek__BackingField_7() const { return ___U3CinstanceU3Ek__BackingField_7; }
inline ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB ** get_address_of_U3CinstanceU3Ek__BackingField_7() { return &___U3CinstanceU3Ek__BackingField_7; }
inline void set_U3CinstanceU3Ek__BackingField_7(ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB * value)
{
___U3CinstanceU3Ek__BackingField_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CinstanceU3Ek__BackingField_7), (void*)value);
}
inline static int32_t get_offset_of_s_Added_11() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB_StaticFields, ___s_Added_11)); }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * get_s_Added_11() const { return ___s_Added_11; }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D ** get_address_of_s_Added_11() { return &___s_Added_11; }
inline void set_s_Added_11(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * value)
{
___s_Added_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_Added_11), (void*)value);
}
inline static int32_t get_offset_of_s_Updated_12() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB_StaticFields, ___s_Updated_12)); }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * get_s_Updated_12() const { return ___s_Updated_12; }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D ** get_address_of_s_Updated_12() { return &___s_Updated_12; }
inline void set_s_Updated_12(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * value)
{
___s_Updated_12 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_Updated_12), (void*)value);
}
inline static int32_t get_offset_of_s_Removed_13() { return static_cast<int32_t>(offsetof(ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB_StaticFields, ___s_Removed_13)); }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * get_s_Removed_13() const { return ___s_Removed_13; }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D ** get_address_of_s_Removed_13() { return &___s_Removed_13; }
inline void set_s_Removed_13(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * value)
{
___s_Removed_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_Removed_13), (void*)value);
}
};
// UnityEngine.XR.ARFoundation.ARTrackable`2<UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>
struct ARTrackable_2_tFB5BC23D5FD3AB51B17B8063892C2549AEA887D2 : public ARTrackable_t83B7DF3DDF0311EB7317A3D9A4E8D4363AA00D85
{
public:
// System.Boolean UnityEngine.XR.ARFoundation.ARTrackable`2::m_DestroyOnRemoval
bool ___m_DestroyOnRemoval_4;
// System.Boolean UnityEngine.XR.ARFoundation.ARTrackable`2::<pending>k__BackingField
bool ___U3CpendingU3Ek__BackingField_5;
// TSessionRelativeData UnityEngine.XR.ARFoundation.ARTrackable`2::<sessionRelativeData>k__BackingField
XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 ___U3CsessionRelativeDataU3Ek__BackingField_6;
public:
inline static int32_t get_offset_of_m_DestroyOnRemoval_4() { return static_cast<int32_t>(offsetof(ARTrackable_2_tFB5BC23D5FD3AB51B17B8063892C2549AEA887D2, ___m_DestroyOnRemoval_4)); }
inline bool get_m_DestroyOnRemoval_4() const { return ___m_DestroyOnRemoval_4; }
inline bool* get_address_of_m_DestroyOnRemoval_4() { return &___m_DestroyOnRemoval_4; }
inline void set_m_DestroyOnRemoval_4(bool value)
{
___m_DestroyOnRemoval_4 = value;
}
inline static int32_t get_offset_of_U3CpendingU3Ek__BackingField_5() { return static_cast<int32_t>(offsetof(ARTrackable_2_tFB5BC23D5FD3AB51B17B8063892C2549AEA887D2, ___U3CpendingU3Ek__BackingField_5)); }
inline bool get_U3CpendingU3Ek__BackingField_5() const { return ___U3CpendingU3Ek__BackingField_5; }
inline bool* get_address_of_U3CpendingU3Ek__BackingField_5() { return &___U3CpendingU3Ek__BackingField_5; }
inline void set_U3CpendingU3Ek__BackingField_5(bool value)
{
___U3CpendingU3Ek__BackingField_5 = value;
}
inline static int32_t get_offset_of_U3CsessionRelativeDataU3Ek__BackingField_6() { return static_cast<int32_t>(offsetof(ARTrackable_2_tFB5BC23D5FD3AB51B17B8063892C2549AEA887D2, ___U3CsessionRelativeDataU3Ek__BackingField_6)); }
inline XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 get_U3CsessionRelativeDataU3Ek__BackingField_6() const { return ___U3CsessionRelativeDataU3Ek__BackingField_6; }
inline XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 * get_address_of_U3CsessionRelativeDataU3Ek__BackingField_6() { return &___U3CsessionRelativeDataU3Ek__BackingField_6; }
inline void set_U3CsessionRelativeDataU3Ek__BackingField_6(XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 value)
{
___U3CsessionRelativeDataU3Ek__BackingField_6 = value;
}
};
// UnityEngine.XR.ARFoundation.ARTrackable`2<UnityEngine.XR.ARSubsystems.XRFace,System.Object>
struct ARTrackable_2_tE4558CCBC5B711FE0CBCCC2E4DC1D9F0CA94E421 : public ARTrackable_t83B7DF3DDF0311EB7317A3D9A4E8D4363AA00D85
{
public:
// System.Boolean UnityEngine.XR.ARFoundation.ARTrackable`2::m_DestroyOnRemoval
bool ___m_DestroyOnRemoval_4;
// System.Boolean UnityEngine.XR.ARFoundation.ARTrackable`2::<pending>k__BackingField
bool ___U3CpendingU3Ek__BackingField_5;
// TSessionRelativeData UnityEngine.XR.ARFoundation.ARTrackable`2::<sessionRelativeData>k__BackingField
XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 ___U3CsessionRelativeDataU3Ek__BackingField_6;
public:
inline static int32_t get_offset_of_m_DestroyOnRemoval_4() { return static_cast<int32_t>(offsetof(ARTrackable_2_tE4558CCBC5B711FE0CBCCC2E4DC1D9F0CA94E421, ___m_DestroyOnRemoval_4)); }
inline bool get_m_DestroyOnRemoval_4() const { return ___m_DestroyOnRemoval_4; }
inline bool* get_address_of_m_DestroyOnRemoval_4() { return &___m_DestroyOnRemoval_4; }
inline void set_m_DestroyOnRemoval_4(bool value)
{
___m_DestroyOnRemoval_4 = value;
}
inline static int32_t get_offset_of_U3CpendingU3Ek__BackingField_5() { return static_cast<int32_t>(offsetof(ARTrackable_2_tE4558CCBC5B711FE0CBCCC2E4DC1D9F0CA94E421, ___U3CpendingU3Ek__BackingField_5)); }
inline bool get_U3CpendingU3Ek__BackingField_5() const { return ___U3CpendingU3Ek__BackingField_5; }
inline bool* get_address_of_U3CpendingU3Ek__BackingField_5() { return &___U3CpendingU3Ek__BackingField_5; }
inline void set_U3CpendingU3Ek__BackingField_5(bool value)
{
___U3CpendingU3Ek__BackingField_5 = value;
}
inline static int32_t get_offset_of_U3CsessionRelativeDataU3Ek__BackingField_6() { return static_cast<int32_t>(offsetof(ARTrackable_2_tE4558CCBC5B711FE0CBCCC2E4DC1D9F0CA94E421, ___U3CsessionRelativeDataU3Ek__BackingField_6)); }
inline XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 get_U3CsessionRelativeDataU3Ek__BackingField_6() const { return ___U3CsessionRelativeDataU3Ek__BackingField_6; }
inline XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 * get_address_of_U3CsessionRelativeDataU3Ek__BackingField_6() { return &___U3CsessionRelativeDataU3Ek__BackingField_6; }
inline void set_U3CsessionRelativeDataU3Ek__BackingField_6(XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 value)
{
___U3CsessionRelativeDataU3Ek__BackingField_6 = value;
}
};
// UnityEngine.XR.ARFoundation.ARTrackable`2<UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>
struct ARTrackable_2_tFA4BACEF6596DD739E012F98431A97E04019DD10 : public ARTrackable_t83B7DF3DDF0311EB7317A3D9A4E8D4363AA00D85
{
public:
// System.Boolean UnityEngine.XR.ARFoundation.ARTrackable`2::m_DestroyOnRemoval
bool ___m_DestroyOnRemoval_4;
// System.Boolean UnityEngine.XR.ARFoundation.ARTrackable`2::<pending>k__BackingField
bool ___U3CpendingU3Ek__BackingField_5;
// TSessionRelativeData UnityEngine.XR.ARFoundation.ARTrackable`2::<sessionRelativeData>k__BackingField
XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 ___U3CsessionRelativeDataU3Ek__BackingField_6;
public:
inline static int32_t get_offset_of_m_DestroyOnRemoval_4() { return static_cast<int32_t>(offsetof(ARTrackable_2_tFA4BACEF6596DD739E012F98431A97E04019DD10, ___m_DestroyOnRemoval_4)); }
inline bool get_m_DestroyOnRemoval_4() const { return ___m_DestroyOnRemoval_4; }
inline bool* get_address_of_m_DestroyOnRemoval_4() { return &___m_DestroyOnRemoval_4; }
inline void set_m_DestroyOnRemoval_4(bool value)
{
___m_DestroyOnRemoval_4 = value;
}
inline static int32_t get_offset_of_U3CpendingU3Ek__BackingField_5() { return static_cast<int32_t>(offsetof(ARTrackable_2_tFA4BACEF6596DD739E012F98431A97E04019DD10, ___U3CpendingU3Ek__BackingField_5)); }
inline bool get_U3CpendingU3Ek__BackingField_5() const { return ___U3CpendingU3Ek__BackingField_5; }
inline bool* get_address_of_U3CpendingU3Ek__BackingField_5() { return &___U3CpendingU3Ek__BackingField_5; }
inline void set_U3CpendingU3Ek__BackingField_5(bool value)
{
___U3CpendingU3Ek__BackingField_5 = value;
}
inline static int32_t get_offset_of_U3CsessionRelativeDataU3Ek__BackingField_6() { return static_cast<int32_t>(offsetof(ARTrackable_2_tFA4BACEF6596DD739E012F98431A97E04019DD10, ___U3CsessionRelativeDataU3Ek__BackingField_6)); }
inline XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 get_U3CsessionRelativeDataU3Ek__BackingField_6() const { return ___U3CsessionRelativeDataU3Ek__BackingField_6; }
inline XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 * get_address_of_U3CsessionRelativeDataU3Ek__BackingField_6() { return &___U3CsessionRelativeDataU3Ek__BackingField_6; }
inline void set_U3CsessionRelativeDataU3Ek__BackingField_6(XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 value)
{
___U3CsessionRelativeDataU3Ek__BackingField_6 = value;
}
};
// UnityEngine.XR.ARFoundation.ARTrackable`2<UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>
struct ARTrackable_2_t50AF7893F36D1184C6A1D4EAEC9B72228531C88C : public ARTrackable_t83B7DF3DDF0311EB7317A3D9A4E8D4363AA00D85
{
public:
// System.Boolean UnityEngine.XR.ARFoundation.ARTrackable`2::m_DestroyOnRemoval
bool ___m_DestroyOnRemoval_4;
// System.Boolean UnityEngine.XR.ARFoundation.ARTrackable`2::<pending>k__BackingField
bool ___U3CpendingU3Ek__BackingField_5;
// TSessionRelativeData UnityEngine.XR.ARFoundation.ARTrackable`2::<sessionRelativeData>k__BackingField
XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 ___U3CsessionRelativeDataU3Ek__BackingField_6;
public:
inline static int32_t get_offset_of_m_DestroyOnRemoval_4() { return static_cast<int32_t>(offsetof(ARTrackable_2_t50AF7893F36D1184C6A1D4EAEC9B72228531C88C, ___m_DestroyOnRemoval_4)); }
inline bool get_m_DestroyOnRemoval_4() const { return ___m_DestroyOnRemoval_4; }
inline bool* get_address_of_m_DestroyOnRemoval_4() { return &___m_DestroyOnRemoval_4; }
inline void set_m_DestroyOnRemoval_4(bool value)
{
___m_DestroyOnRemoval_4 = value;
}
inline static int32_t get_offset_of_U3CpendingU3Ek__BackingField_5() { return static_cast<int32_t>(offsetof(ARTrackable_2_t50AF7893F36D1184C6A1D4EAEC9B72228531C88C, ___U3CpendingU3Ek__BackingField_5)); }
inline bool get_U3CpendingU3Ek__BackingField_5() const { return ___U3CpendingU3Ek__BackingField_5; }
inline bool* get_address_of_U3CpendingU3Ek__BackingField_5() { return &___U3CpendingU3Ek__BackingField_5; }
inline void set_U3CpendingU3Ek__BackingField_5(bool value)
{
___U3CpendingU3Ek__BackingField_5 = value;
}
inline static int32_t get_offset_of_U3CsessionRelativeDataU3Ek__BackingField_6() { return static_cast<int32_t>(offsetof(ARTrackable_2_t50AF7893F36D1184C6A1D4EAEC9B72228531C88C, ___U3CsessionRelativeDataU3Ek__BackingField_6)); }
inline XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 get_U3CsessionRelativeDataU3Ek__BackingField_6() const { return ___U3CsessionRelativeDataU3Ek__BackingField_6; }
inline XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 * get_address_of_U3CsessionRelativeDataU3Ek__BackingField_6() { return &___U3CsessionRelativeDataU3Ek__BackingField_6; }
inline void set_U3CsessionRelativeDataU3Ek__BackingField_6(XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 value)
{
___U3CsessionRelativeDataU3Ek__BackingField_6 = value;
}
};
// UnityEngine.XR.ARFoundation.ARTrackable`2<UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>
struct ARTrackable_2_tFF59B3769C01557C3557231CD2A26810E2867CCD : public ARTrackable_t83B7DF3DDF0311EB7317A3D9A4E8D4363AA00D85
{
public:
// System.Boolean UnityEngine.XR.ARFoundation.ARTrackable`2::m_DestroyOnRemoval
bool ___m_DestroyOnRemoval_4;
// System.Boolean UnityEngine.XR.ARFoundation.ARTrackable`2::<pending>k__BackingField
bool ___U3CpendingU3Ek__BackingField_5;
// TSessionRelativeData UnityEngine.XR.ARFoundation.ARTrackable`2::<sessionRelativeData>k__BackingField
XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 ___U3CsessionRelativeDataU3Ek__BackingField_6;
public:
inline static int32_t get_offset_of_m_DestroyOnRemoval_4() { return static_cast<int32_t>(offsetof(ARTrackable_2_tFF59B3769C01557C3557231CD2A26810E2867CCD, ___m_DestroyOnRemoval_4)); }
inline bool get_m_DestroyOnRemoval_4() const { return ___m_DestroyOnRemoval_4; }
inline bool* get_address_of_m_DestroyOnRemoval_4() { return &___m_DestroyOnRemoval_4; }
inline void set_m_DestroyOnRemoval_4(bool value)
{
___m_DestroyOnRemoval_4 = value;
}
inline static int32_t get_offset_of_U3CpendingU3Ek__BackingField_5() { return static_cast<int32_t>(offsetof(ARTrackable_2_tFF59B3769C01557C3557231CD2A26810E2867CCD, ___U3CpendingU3Ek__BackingField_5)); }
inline bool get_U3CpendingU3Ek__BackingField_5() const { return ___U3CpendingU3Ek__BackingField_5; }
inline bool* get_address_of_U3CpendingU3Ek__BackingField_5() { return &___U3CpendingU3Ek__BackingField_5; }
inline void set_U3CpendingU3Ek__BackingField_5(bool value)
{
___U3CpendingU3Ek__BackingField_5 = value;
}
inline static int32_t get_offset_of_U3CsessionRelativeDataU3Ek__BackingField_6() { return static_cast<int32_t>(offsetof(ARTrackable_2_tFF59B3769C01557C3557231CD2A26810E2867CCD, ___U3CsessionRelativeDataU3Ek__BackingField_6)); }
inline XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 get_U3CsessionRelativeDataU3Ek__BackingField_6() const { return ___U3CsessionRelativeDataU3Ek__BackingField_6; }
inline XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 * get_address_of_U3CsessionRelativeDataU3Ek__BackingField_6() { return &___U3CsessionRelativeDataU3Ek__BackingField_6; }
inline void set_U3CsessionRelativeDataU3Ek__BackingField_6(XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 value)
{
___U3CsessionRelativeDataU3Ek__BackingField_6 = value;
}
};
// UnityEngine.XR.ARFoundation.ARTrackable`2<UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>
struct ARTrackable_2_tD581DD69B1FECE7B13BA4A4E09466F3E21D78D4E : public ARTrackable_t83B7DF3DDF0311EB7317A3D9A4E8D4363AA00D85
{
public:
// System.Boolean UnityEngine.XR.ARFoundation.ARTrackable`2::m_DestroyOnRemoval
bool ___m_DestroyOnRemoval_4;
// System.Boolean UnityEngine.XR.ARFoundation.ARTrackable`2::<pending>k__BackingField
bool ___U3CpendingU3Ek__BackingField_5;
// TSessionRelativeData UnityEngine.XR.ARFoundation.ARTrackable`2::<sessionRelativeData>k__BackingField
XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 ___U3CsessionRelativeDataU3Ek__BackingField_6;
public:
inline static int32_t get_offset_of_m_DestroyOnRemoval_4() { return static_cast<int32_t>(offsetof(ARTrackable_2_tD581DD69B1FECE7B13BA4A4E09466F3E21D78D4E, ___m_DestroyOnRemoval_4)); }
inline bool get_m_DestroyOnRemoval_4() const { return ___m_DestroyOnRemoval_4; }
inline bool* get_address_of_m_DestroyOnRemoval_4() { return &___m_DestroyOnRemoval_4; }
inline void set_m_DestroyOnRemoval_4(bool value)
{
___m_DestroyOnRemoval_4 = value;
}
inline static int32_t get_offset_of_U3CpendingU3Ek__BackingField_5() { return static_cast<int32_t>(offsetof(ARTrackable_2_tD581DD69B1FECE7B13BA4A4E09466F3E21D78D4E, ___U3CpendingU3Ek__BackingField_5)); }
inline bool get_U3CpendingU3Ek__BackingField_5() const { return ___U3CpendingU3Ek__BackingField_5; }
inline bool* get_address_of_U3CpendingU3Ek__BackingField_5() { return &___U3CpendingU3Ek__BackingField_5; }
inline void set_U3CpendingU3Ek__BackingField_5(bool value)
{
___U3CpendingU3Ek__BackingField_5 = value;
}
inline static int32_t get_offset_of_U3CsessionRelativeDataU3Ek__BackingField_6() { return static_cast<int32_t>(offsetof(ARTrackable_2_tD581DD69B1FECE7B13BA4A4E09466F3E21D78D4E, ___U3CsessionRelativeDataU3Ek__BackingField_6)); }
inline XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 get_U3CsessionRelativeDataU3Ek__BackingField_6() const { return ___U3CsessionRelativeDataU3Ek__BackingField_6; }
inline XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 * get_address_of_U3CsessionRelativeDataU3Ek__BackingField_6() { return &___U3CsessionRelativeDataU3Ek__BackingField_6; }
inline void set_U3CsessionRelativeDataU3Ek__BackingField_6(XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 value)
{
___U3CsessionRelativeDataU3Ek__BackingField_6 = value;
}
};
// UnityEngine.XR.ARFoundation.ARTrackable`2<UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>
struct ARTrackable_2_t88913A417566AF8EAF80C0FF131EC194E7A0E7B4 : public ARTrackable_t83B7DF3DDF0311EB7317A3D9A4E8D4363AA00D85
{
public:
// System.Boolean UnityEngine.XR.ARFoundation.ARTrackable`2::m_DestroyOnRemoval
bool ___m_DestroyOnRemoval_4;
// System.Boolean UnityEngine.XR.ARFoundation.ARTrackable`2::<pending>k__BackingField
bool ___U3CpendingU3Ek__BackingField_5;
// TSessionRelativeData UnityEngine.XR.ARFoundation.ARTrackable`2::<sessionRelativeData>k__BackingField
XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 ___U3CsessionRelativeDataU3Ek__BackingField_6;
public:
inline static int32_t get_offset_of_m_DestroyOnRemoval_4() { return static_cast<int32_t>(offsetof(ARTrackable_2_t88913A417566AF8EAF80C0FF131EC194E7A0E7B4, ___m_DestroyOnRemoval_4)); }
inline bool get_m_DestroyOnRemoval_4() const { return ___m_DestroyOnRemoval_4; }
inline bool* get_address_of_m_DestroyOnRemoval_4() { return &___m_DestroyOnRemoval_4; }
inline void set_m_DestroyOnRemoval_4(bool value)
{
___m_DestroyOnRemoval_4 = value;
}
inline static int32_t get_offset_of_U3CpendingU3Ek__BackingField_5() { return static_cast<int32_t>(offsetof(ARTrackable_2_t88913A417566AF8EAF80C0FF131EC194E7A0E7B4, ___U3CpendingU3Ek__BackingField_5)); }
inline bool get_U3CpendingU3Ek__BackingField_5() const { return ___U3CpendingU3Ek__BackingField_5; }
inline bool* get_address_of_U3CpendingU3Ek__BackingField_5() { return &___U3CpendingU3Ek__BackingField_5; }
inline void set_U3CpendingU3Ek__BackingField_5(bool value)
{
___U3CpendingU3Ek__BackingField_5 = value;
}
inline static int32_t get_offset_of_U3CsessionRelativeDataU3Ek__BackingField_6() { return static_cast<int32_t>(offsetof(ARTrackable_2_t88913A417566AF8EAF80C0FF131EC194E7A0E7B4, ___U3CsessionRelativeDataU3Ek__BackingField_6)); }
inline XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 get_U3CsessionRelativeDataU3Ek__BackingField_6() const { return ___U3CsessionRelativeDataU3Ek__BackingField_6; }
inline XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 * get_address_of_U3CsessionRelativeDataU3Ek__BackingField_6() { return &___U3CsessionRelativeDataU3Ek__BackingField_6; }
inline void set_U3CsessionRelativeDataU3Ek__BackingField_6(XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 value)
{
___U3CsessionRelativeDataU3Ek__BackingField_6 = value;
}
};
// UnityEngine.XR.ARFoundation.ARTrackable`2<UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>
struct ARTrackable_2_tDC22DD8BD2173402258A323598A3378BE19FACCB : public ARTrackable_t83B7DF3DDF0311EB7317A3D9A4E8D4363AA00D85
{
public:
// System.Boolean UnityEngine.XR.ARFoundation.ARTrackable`2::m_DestroyOnRemoval
bool ___m_DestroyOnRemoval_4;
// System.Boolean UnityEngine.XR.ARFoundation.ARTrackable`2::<pending>k__BackingField
bool ___U3CpendingU3Ek__BackingField_5;
// TSessionRelativeData UnityEngine.XR.ARFoundation.ARTrackable`2::<sessionRelativeData>k__BackingField
XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 ___U3CsessionRelativeDataU3Ek__BackingField_6;
public:
inline static int32_t get_offset_of_m_DestroyOnRemoval_4() { return static_cast<int32_t>(offsetof(ARTrackable_2_tDC22DD8BD2173402258A323598A3378BE19FACCB, ___m_DestroyOnRemoval_4)); }
inline bool get_m_DestroyOnRemoval_4() const { return ___m_DestroyOnRemoval_4; }
inline bool* get_address_of_m_DestroyOnRemoval_4() { return &___m_DestroyOnRemoval_4; }
inline void set_m_DestroyOnRemoval_4(bool value)
{
___m_DestroyOnRemoval_4 = value;
}
inline static int32_t get_offset_of_U3CpendingU3Ek__BackingField_5() { return static_cast<int32_t>(offsetof(ARTrackable_2_tDC22DD8BD2173402258A323598A3378BE19FACCB, ___U3CpendingU3Ek__BackingField_5)); }
inline bool get_U3CpendingU3Ek__BackingField_5() const { return ___U3CpendingU3Ek__BackingField_5; }
inline bool* get_address_of_U3CpendingU3Ek__BackingField_5() { return &___U3CpendingU3Ek__BackingField_5; }
inline void set_U3CpendingU3Ek__BackingField_5(bool value)
{
___U3CpendingU3Ek__BackingField_5 = value;
}
inline static int32_t get_offset_of_U3CsessionRelativeDataU3Ek__BackingField_6() { return static_cast<int32_t>(offsetof(ARTrackable_2_tDC22DD8BD2173402258A323598A3378BE19FACCB, ___U3CsessionRelativeDataU3Ek__BackingField_6)); }
inline XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 get_U3CsessionRelativeDataU3Ek__BackingField_6() const { return ___U3CsessionRelativeDataU3Ek__BackingField_6; }
inline XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 * get_address_of_U3CsessionRelativeDataU3Ek__BackingField_6() { return &___U3CsessionRelativeDataU3Ek__BackingField_6; }
inline void set_U3CsessionRelativeDataU3Ek__BackingField_6(XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 value)
{
___U3CsessionRelativeDataU3Ek__BackingField_6 = value;
}
};
// UnityEngine.XR.ARFoundation.ARTrackable`2<UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>
struct ARTrackable_2_tB66986CA75C35EC5327D37C0B46A3DB897824BDB : public ARTrackable_t83B7DF3DDF0311EB7317A3D9A4E8D4363AA00D85
{
public:
// System.Boolean UnityEngine.XR.ARFoundation.ARTrackable`2::m_DestroyOnRemoval
bool ___m_DestroyOnRemoval_4;
// System.Boolean UnityEngine.XR.ARFoundation.ARTrackable`2::<pending>k__BackingField
bool ___U3CpendingU3Ek__BackingField_5;
// TSessionRelativeData UnityEngine.XR.ARFoundation.ARTrackable`2::<sessionRelativeData>k__BackingField
XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 ___U3CsessionRelativeDataU3Ek__BackingField_6;
public:
inline static int32_t get_offset_of_m_DestroyOnRemoval_4() { return static_cast<int32_t>(offsetof(ARTrackable_2_tB66986CA75C35EC5327D37C0B46A3DB897824BDB, ___m_DestroyOnRemoval_4)); }
inline bool get_m_DestroyOnRemoval_4() const { return ___m_DestroyOnRemoval_4; }
inline bool* get_address_of_m_DestroyOnRemoval_4() { return &___m_DestroyOnRemoval_4; }
inline void set_m_DestroyOnRemoval_4(bool value)
{
___m_DestroyOnRemoval_4 = value;
}
inline static int32_t get_offset_of_U3CpendingU3Ek__BackingField_5() { return static_cast<int32_t>(offsetof(ARTrackable_2_tB66986CA75C35EC5327D37C0B46A3DB897824BDB, ___U3CpendingU3Ek__BackingField_5)); }
inline bool get_U3CpendingU3Ek__BackingField_5() const { return ___U3CpendingU3Ek__BackingField_5; }
inline bool* get_address_of_U3CpendingU3Ek__BackingField_5() { return &___U3CpendingU3Ek__BackingField_5; }
inline void set_U3CpendingU3Ek__BackingField_5(bool value)
{
___U3CpendingU3Ek__BackingField_5 = value;
}
inline static int32_t get_offset_of_U3CsessionRelativeDataU3Ek__BackingField_6() { return static_cast<int32_t>(offsetof(ARTrackable_2_tB66986CA75C35EC5327D37C0B46A3DB897824BDB, ___U3CsessionRelativeDataU3Ek__BackingField_6)); }
inline XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 get_U3CsessionRelativeDataU3Ek__BackingField_6() const { return ___U3CsessionRelativeDataU3Ek__BackingField_6; }
inline XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 * get_address_of_U3CsessionRelativeDataU3Ek__BackingField_6() { return &___U3CsessionRelativeDataU3Ek__BackingField_6; }
inline void set_U3CsessionRelativeDataU3Ek__BackingField_6(XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 value)
{
___U3CsessionRelativeDataU3Ek__BackingField_6 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// System.Void UnityEngine.XR.ARFoundation.TrackableCollection`1<System.Object>::.ctor(System.Collections.Generic.Dictionary`2<UnityEngine.XR.ARSubsystems.TrackableId,TTrackable>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TrackableCollection_1__ctor_mA99D3D41CAA02EF94BD2B96D6DC1B66450E226FF_gshared (TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 * __this, Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * ___trackables0, const RuntimeMethod* method);
// UnityEngine.XR.ARFoundation.TrackableCollection`1/Enumerator<TTrackable> UnityEngine.XR.ARFoundation.TrackableCollection`1<System.Object>::GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED TrackableCollection_1_GetEnumerator_mBAA3D036F160A053757196D57318EC6B3F368D02_gshared (TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 * __this, const RuntimeMethod* method);
// TTrackable UnityEngine.XR.ARFoundation.TrackableCollection`1/Enumerator<System.Object>::get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * Enumerator_get_Current_m6D82C8CA15561A8D32BA77CB304C80AF57C4C77E_gshared (Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED * __this, const RuntimeMethod* method);
// System.Boolean UnityEngine.XR.ARFoundation.TrackableCollection`1/Enumerator<System.Object>::MoveNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Enumerator_MoveNext_mF64DBEA38614B8A6E085DFC09DD2745BE2ACB9BE_gshared (Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED * __this, const RuntimeMethod* method);
// !!0 UnityEngine.Component::GetComponent<System.Object>()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * Component_GetComponent_TisRuntimeObject_m129DEF8A66683189ED44B21496135824743EF617_gshared (Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 * __this, const RuntimeMethod* method);
// System.Void System.Action`1<UnityEngine.XR.ARFoundation.ARTrackablesParentTransformChangedEventArgs>::.ctor(System.Object,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B_gshared (Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1<!0> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XREnvironmentProbe>::get_added()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 TrackableChanges_1_get_added_mE0848158257AE8C982CC5C7DD696842859B17723_gshared_inline (TrackableChanges_1_t5B1E235F751BB96851611F0EE82810617DA588C7 * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1/Enumerator<!0> Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.XREnvironmentProbe>::GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Enumerator_t158B5E773B6F750F2C6D7BD27EEC905FE29D4EC3 NativeArray_1_GetEnumerator_mD5FEB0B6EF497A65DE9187958E008723BE8981E7_gshared (NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 * __this, const RuntimeMethod* method);
// !0 Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.XREnvironmentProbe>::get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 Enumerator_get_Current_m81E1E9519EA58C5D399B6735E1B774FB93B8679B_gshared (Enumerator_t158B5E773B6F750F2C6D7BD27EEC905FE29D4EC3 * __this, const RuntimeMethod* method);
// System.Boolean Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.XREnvironmentProbe>::MoveNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Enumerator_MoveNext_m11411148FF107FC87205476D9278B77EC39F1428_gshared (Enumerator_t158B5E773B6F750F2C6D7BD27EEC905FE29D4EC3 * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1<!0> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XREnvironmentProbe>::get_updated()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 TrackableChanges_1_get_updated_mB2CED16796CCEF038435DE562D4559E8253C913C_gshared_inline (TrackableChanges_1_t5B1E235F751BB96851611F0EE82810617DA588C7 * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.TrackableId> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XREnvironmentProbe>::get_removed()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 TrackableChanges_1_get_removed_m069C4B80B5FE4272B0281B25ABD38C0505A9737F_gshared_inline (TrackableChanges_1_t5B1E235F751BB96851611F0EE82810617DA588C7 * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1/Enumerator<!0> Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.TrackableId>::GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A NativeArray_1_GetEnumerator_m3B6CA1981A8CE62A1C67FCEEBE1887CD32906DA2_gshared (NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 * __this, const RuntimeMethod* method);
// !0 Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.TrackableId>::get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 Enumerator_get_Current_m913D10AD892E19937C638773D208459E9862248D_gshared (Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A * __this, const RuntimeMethod* method);
// System.Boolean Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.TrackableId>::MoveNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Enumerator_MoveNext_m3C4C0B0B1AE71E65EF8255E6FC671DDBC829B6AA_gshared (Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A * __this, const RuntimeMethod* method);
// !0 System.Collections.Generic.List`1/Enumerator<System.Object>::get_Current()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR RuntimeObject * Enumerator_get_Current_mD7829C7E8CFBEDD463B15A951CDE9B90A12CC55C_gshared_inline (Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1/Enumerator<System.Object>::MoveNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Enumerator_MoveNext_m38B1099DDAD7EEDE2F4CDAB11C095AC784AC2E34_gshared (Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD * __this, const RuntimeMethod* method);
// System.Void System.ValueTuple`2<System.Object,System.Boolean>::.ctor(!0,!1)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ValueTuple_2__ctor_m6DAE3F23041A23757E33B0D197200FD0709652CA_gshared (ValueTuple_2_t1DB410112935A237E72E75E33A14CB6D236ADC24 * __this, RuntimeObject * ___item10, bool ___item21, const RuntimeMethod* method);
// !!0 UnityEngine.Object::Instantiate<System.Object>(!!0,UnityEngine.Transform)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * Object_Instantiate_TisRuntimeObject_m765EEDB3D86CE4EADC667B84C18E793D14144E1D_gshared (RuntimeObject * ___original0, Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * ___parent1, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1<!0> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRFace>::get_added()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 TrackableChanges_1_get_added_m6C3AA173D63B8181A147527E5D607363D4D7E3B9_gshared_inline (TrackableChanges_1_t316F273AB927198D6305E965CDB7B0ED758920E6 * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1/Enumerator<!0> Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.XRFace>::GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Enumerator_t8015CDE67C698133A309A1B8CB3621037DCA753F NativeArray_1_GetEnumerator_m1427900D7CC5D4A7FA35EAD7515D761E0E5D2294_gshared (NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 * __this, const RuntimeMethod* method);
// !0 Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.XRFace>::get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 Enumerator_get_Current_mF4BF5AB61B65C27B2941C863E12FF10D81FB65C7_gshared (Enumerator_t8015CDE67C698133A309A1B8CB3621037DCA753F * __this, const RuntimeMethod* method);
// System.Boolean Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.XRFace>::MoveNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Enumerator_MoveNext_m2377E6A14EF0938C4344911BE239E49789F6BEA3_gshared (Enumerator_t8015CDE67C698133A309A1B8CB3621037DCA753F * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1<!0> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRFace>::get_updated()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 TrackableChanges_1_get_updated_m4DD6B31059055267B3F98F003F7891F74052267D_gshared_inline (TrackableChanges_1_t316F273AB927198D6305E965CDB7B0ED758920E6 * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.TrackableId> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRFace>::get_removed()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 TrackableChanges_1_get_removed_m7C323DBD29E884085A21A82E9D5ABC458EF49AED_gshared_inline (TrackableChanges_1_t316F273AB927198D6305E965CDB7B0ED758920E6 * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1<!0> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRHumanBody>::get_added()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 TrackableChanges_1_get_added_mAC12696B7D12A00A3FE9C34A2FF8F22ED6A3BD6C_gshared_inline (TrackableChanges_1_t8F77CF9D37FD0DCA052A7D6B34E1A489AF13C41B * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1/Enumerator<!0> Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.XRHumanBody>::GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Enumerator_t7A9A8176FE6837923878CAD250C11AC9DC688AF9 NativeArray_1_GetEnumerator_m396AB3FBDE1CC728596A1C4C11026DF4CD4D2D19_gshared (NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 * __this, const RuntimeMethod* method);
// !0 Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.XRHumanBody>::get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 Enumerator_get_Current_mD2BCDF0D0C3D6C8C2B109E105D80E50DDB0E2B3D_gshared (Enumerator_t7A9A8176FE6837923878CAD250C11AC9DC688AF9 * __this, const RuntimeMethod* method);
// System.Boolean Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.XRHumanBody>::MoveNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Enumerator_MoveNext_m4D170F36845E7C8D8929AFEEF7610571597E1159_gshared (Enumerator_t7A9A8176FE6837923878CAD250C11AC9DC688AF9 * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1<!0> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRHumanBody>::get_updated()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 TrackableChanges_1_get_updated_mCD92C9A6154DC58C63992B59E6671BC8AE07F9C8_gshared_inline (TrackableChanges_1_t8F77CF9D37FD0DCA052A7D6B34E1A489AF13C41B * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.TrackableId> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRHumanBody>::get_removed()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 TrackableChanges_1_get_removed_m377C6A3BFE41CC689AFE09CE1529B79113140DD2_gshared_inline (TrackableChanges_1_t8F77CF9D37FD0DCA052A7D6B34E1A489AF13C41B * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1<!0> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRParticipant>::get_added()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 TrackableChanges_1_get_added_mB04DBD3BE41499A2EF2DE7526EAF99320F6A756C_gshared_inline (TrackableChanges_1_tADA077C1D8520E93DBAF760C434863B1E46EABF7 * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1/Enumerator<!0> Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.XRParticipant>::GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Enumerator_t2B2EEF1F6F4840ED342D7AB54AE9F09881F5A589 NativeArray_1_GetEnumerator_m8E2405F2EBA9FED85C13FB4C6CE8958AEC761E73_gshared (NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 * __this, const RuntimeMethod* method);
// !0 Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.XRParticipant>::get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 Enumerator_get_Current_m6B12E957308B76F91826A8D1DD1D7286D3A15041_gshared (Enumerator_t2B2EEF1F6F4840ED342D7AB54AE9F09881F5A589 * __this, const RuntimeMethod* method);
// System.Boolean Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.XRParticipant>::MoveNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Enumerator_MoveNext_m43A336A3ABA4C5F0FC86E532516E51C2F1A7C837_gshared (Enumerator_t2B2EEF1F6F4840ED342D7AB54AE9F09881F5A589 * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1<!0> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRParticipant>::get_updated()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 TrackableChanges_1_get_updated_m54F7E4A07B0A06215ACD1E258FECA69ADB35775A_gshared_inline (TrackableChanges_1_tADA077C1D8520E93DBAF760C434863B1E46EABF7 * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.TrackableId> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRParticipant>::get_removed()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 TrackableChanges_1_get_removed_mD4DBD0C1F36479738568BDFAD7593F18AD67E77D_gshared_inline (TrackableChanges_1_tADA077C1D8520E93DBAF760C434863B1E46EABF7 * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1<!0> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRPointCloud>::get_added()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 TrackableChanges_1_get_added_mBB3A80E298216A6D8826422F62A11A1A4CB7CBD9_gshared_inline (TrackableChanges_1_t67F5E50C0B7A063774AEC211C4C81BA7679876BB * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1/Enumerator<!0> Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.XRPointCloud>::GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Enumerator_t1B7E0D23EF4C33682EFE99D8F58153FDA8CB6ACD NativeArray_1_GetEnumerator_m2C26DDBD2232F1DC6F216C47B66A5CCEC71C8292_gshared (NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 * __this, const RuntimeMethod* method);
// !0 Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.XRPointCloud>::get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 Enumerator_get_Current_mAAA11BD869C8818266133A03BEC94087AB76BB57_gshared (Enumerator_t1B7E0D23EF4C33682EFE99D8F58153FDA8CB6ACD * __this, const RuntimeMethod* method);
// System.Boolean Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.XRPointCloud>::MoveNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Enumerator_MoveNext_mD818C7168685197B0033FF034038DE1441498637_gshared (Enumerator_t1B7E0D23EF4C33682EFE99D8F58153FDA8CB6ACD * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1<!0> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRPointCloud>::get_updated()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 TrackableChanges_1_get_updated_m80DB51775906B404AEE4C7454E7A517ECFD6A003_gshared_inline (TrackableChanges_1_t67F5E50C0B7A063774AEC211C4C81BA7679876BB * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.TrackableId> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRPointCloud>::get_removed()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 TrackableChanges_1_get_removed_mC49E91CAF67469CDD76DBCF18D1423DC3971AF99_gshared_inline (TrackableChanges_1_t67F5E50C0B7A063774AEC211C4C81BA7679876BB * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1<!0> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRRaycast>::get_added()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 TrackableChanges_1_get_added_m3D40B25E1DBFA2CE12A65E40E7AC06E818AD9E52_gshared_inline (TrackableChanges_1_t05F219FC68E80EA9891CEEB35CBABA06F836FDD3 * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1/Enumerator<!0> Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.XRRaycast>::GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Enumerator_tE835E58BDBE7B5AF5E743DD51D31DE7A87983FCD NativeArray_1_GetEnumerator_m233DB4025EE0159C3DF5F4444D8660447A948E77_gshared (NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 * __this, const RuntimeMethod* method);
// !0 Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.XRRaycast>::get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 Enumerator_get_Current_m9666277E7F7A9010D80F9B1C2A85998727195BA0_gshared (Enumerator_tE835E58BDBE7B5AF5E743DD51D31DE7A87983FCD * __this, const RuntimeMethod* method);
// System.Boolean Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.XRRaycast>::MoveNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Enumerator_MoveNext_m290B09E34B2A210F6C1F69C107D3E253C15892AA_gshared (Enumerator_tE835E58BDBE7B5AF5E743DD51D31DE7A87983FCD * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1<!0> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRRaycast>::get_updated()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 TrackableChanges_1_get_updated_mF70FB659BBDD40064C52ABA36021CCB637733421_gshared_inline (TrackableChanges_1_t05F219FC68E80EA9891CEEB35CBABA06F836FDD3 * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.TrackableId> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRRaycast>::get_removed()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 TrackableChanges_1_get_removed_mF48037B3FBE8CDCE917EF589128FEF13EB22466A_gshared_inline (TrackableChanges_1_t05F219FC68E80EA9891CEEB35CBABA06F836FDD3 * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1<!0> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRReferencePoint>::get_added()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 TrackableChanges_1_get_added_mC31FEFAAC8F70ABBBC324DC618B0DFAB08AAE934_gshared_inline (TrackableChanges_1_t5C8C3FBA23E5BBC147A6991B68520A756EF54FDF * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1/Enumerator<!0> Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.XRReferencePoint>::GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Enumerator_t533CE786298995A804A1B61701D6400CF4483B1E NativeArray_1_GetEnumerator_m0AE193D90C66BD2CB22C49D77323F1BD7775FBF9_gshared (NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 * __this, const RuntimeMethod* method);
// !0 Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.XRReferencePoint>::get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 Enumerator_get_Current_m1E16327F75D3A7E6496D252BD730CE3B55858FE7_gshared (Enumerator_t533CE786298995A804A1B61701D6400CF4483B1E * __this, const RuntimeMethod* method);
// System.Boolean Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.XRReferencePoint>::MoveNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Enumerator_MoveNext_m345699420F154E8E5508CE0A44444F14EFD566B2_gshared (Enumerator_t533CE786298995A804A1B61701D6400CF4483B1E * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1<!0> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRReferencePoint>::get_updated()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 TrackableChanges_1_get_updated_m54C710EFD531DFB25ABA289B60FAA4181D479DDF_gshared_inline (TrackableChanges_1_t5C8C3FBA23E5BBC147A6991B68520A756EF54FDF * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.TrackableId> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRReferencePoint>::get_removed()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 TrackableChanges_1_get_removed_m9781A441FA95E17CBDB3C4687247859A562AF077_gshared_inline (TrackableChanges_1_t5C8C3FBA23E5BBC147A6991B68520A756EF54FDF * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1<!0> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRTrackedImage>::get_added()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 TrackableChanges_1_get_added_mC35012A2E03A744ECF4A6E58D2DA1C34D85CA6ED_gshared_inline (TrackableChanges_1_tE90399F00562881A054A3592F7AF134BA053AF4F * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1/Enumerator<!0> Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.XRTrackedImage>::GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Enumerator_t24763C293EE3A5FF95D00AB6752E91A2F7940B76 NativeArray_1_GetEnumerator_m10A5016AB48E4AE47C995EA8FC33A4152C105F61_gshared (NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 * __this, const RuntimeMethod* method);
// !0 Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.XRTrackedImage>::get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 Enumerator_get_Current_mDA485C1222EA6776DA7CB0BFF0DD169DB5CB8E21_gshared (Enumerator_t24763C293EE3A5FF95D00AB6752E91A2F7940B76 * __this, const RuntimeMethod* method);
// System.Boolean Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.XRTrackedImage>::MoveNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Enumerator_MoveNext_m7A49AD4924ECF5F29DAB0298CCBB8171B5CB43DE_gshared (Enumerator_t24763C293EE3A5FF95D00AB6752E91A2F7940B76 * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1<!0> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRTrackedImage>::get_updated()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 TrackableChanges_1_get_updated_mF1CCDAA99909A241F138D24B4175AD6806E65323_gshared_inline (TrackableChanges_1_tE90399F00562881A054A3592F7AF134BA053AF4F * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.TrackableId> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRTrackedImage>::get_removed()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 TrackableChanges_1_get_removed_m7CF311E706E890B2CC9281BC392849E4DE880ECA_gshared_inline (TrackableChanges_1_tE90399F00562881A054A3592F7AF134BA053AF4F * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1<!0> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRTrackedObject>::get_added()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 TrackableChanges_1_get_added_m6B4AFC77B682299AFAB977EDEAF164E6B63E3670_gshared_inline (TrackableChanges_1_t03A664B58E58E32B5EC1F7CB7133E87F804EE874 * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1/Enumerator<!0> Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.XRTrackedObject>::GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Enumerator_t8D990E98FC643A10DA193AAFF82900775BDBF362 NativeArray_1_GetEnumerator_mD6D1A774D537C290064A60C7BA6FA540A62335E0_gshared (NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 * __this, const RuntimeMethod* method);
// !0 Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.XRTrackedObject>::get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 Enumerator_get_Current_m0E4558EE4194E642C17FD13159FB65DA47B0A72F_gshared (Enumerator_t8D990E98FC643A10DA193AAFF82900775BDBF362 * __this, const RuntimeMethod* method);
// System.Boolean Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.XRTrackedObject>::MoveNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Enumerator_MoveNext_m7551BFA9AB51FE9D58AE10C23F2466946A9CFD2D_gshared (Enumerator_t8D990E98FC643A10DA193AAFF82900775BDBF362 * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1<!0> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRTrackedObject>::get_updated()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 TrackableChanges_1_get_updated_mDDB738464599270A745A15C57FC941EEBEC00700_gshared_inline (TrackableChanges_1_t03A664B58E58E32B5EC1F7CB7133E87F804EE874 * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.TrackableId> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRTrackedObject>::get_removed()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 TrackableChanges_1_get_removed_m53E0E551E0ACC552E62D8BA2A0A234D72CAB6C74_gshared_inline (TrackableChanges_1_t03A664B58E58E32B5EC1F7CB7133E87F804EE874 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.XR.ARFoundation.TrackableCollection`1<System.Object>::.ctor(System.Collections.Generic.Dictionary`2<UnityEngine.XR.ARSubsystems.TrackableId,TTrackable>)
inline void TrackableCollection_1__ctor_mA99D3D41CAA02EF94BD2B96D6DC1B66450E226FF (TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 * __this, Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * ___trackables0, const RuntimeMethod* method)
{
(( void (*) (TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 *, Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, const RuntimeMethod*))TrackableCollection_1__ctor_mA99D3D41CAA02EF94BD2B96D6DC1B66450E226FF_gshared)(__this, ___trackables0, method);
}
// UnityEngine.XR.ARFoundation.TrackableCollection`1/Enumerator<TTrackable> UnityEngine.XR.ARFoundation.TrackableCollection`1<System.Object>::GetEnumerator()
inline Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED TrackableCollection_1_GetEnumerator_mBAA3D036F160A053757196D57318EC6B3F368D02 (TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 * __this, const RuntimeMethod* method)
{
return (( Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED (*) (TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 *, const RuntimeMethod*))TrackableCollection_1_GetEnumerator_mBAA3D036F160A053757196D57318EC6B3F368D02_gshared)(__this, method);
}
// TTrackable UnityEngine.XR.ARFoundation.TrackableCollection`1/Enumerator<System.Object>::get_Current()
inline RuntimeObject * Enumerator_get_Current_m6D82C8CA15561A8D32BA77CB304C80AF57C4C77E (Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED * __this, const RuntimeMethod* method)
{
return (( RuntimeObject * (*) (Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *, const RuntimeMethod*))Enumerator_get_Current_m6D82C8CA15561A8D32BA77CB304C80AF57C4C77E_gshared)(__this, method);
}
// UnityEngine.GameObject UnityEngine.Component::get_gameObject()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * Component_get_gameObject_m0B0570BA8DDD3CD78A9DB568EA18D7317686603C (Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.GameObject::SetActive(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04 (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * __this, bool ___value0, const RuntimeMethod* method);
// System.Boolean UnityEngine.XR.ARFoundation.TrackableCollection`1/Enumerator<System.Object>::MoveNext()
inline bool Enumerator_MoveNext_mF64DBEA38614B8A6E085DFC09DD2745BE2ACB9BE (Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED * __this, const RuntimeMethod* method)
{
return (( bool (*) (Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *, const RuntimeMethod*))Enumerator_MoveNext_mF64DBEA38614B8A6E085DFC09DD2745BE2ACB9BE_gshared)(__this, method);
}
// !!0 UnityEngine.Component::GetComponent<UnityEngine.XR.ARFoundation.ARSessionOrigin>()
inline ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * Component_GetComponent_TisARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF_m25BC8791B994BAE33BF9003FFC85124F480EFB17 (Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 * __this, const RuntimeMethod* method)
{
return (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *, const RuntimeMethod*))Component_GetComponent_TisRuntimeObject_m129DEF8A66683189ED44B21496135824743EF617_gshared)(__this, method);
}
// System.Void System.Action`1<UnityEngine.XR.ARFoundation.ARTrackablesParentTransformChangedEventArgs>::.ctor(System.Object,System.IntPtr)
inline void Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B (Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
{
(( void (*) (Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB *, RuntimeObject *, intptr_t, const RuntimeMethod*))Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B_gshared)(__this, ___object0, ___method1, method);
}
// System.Void UnityEngine.XR.ARFoundation.ARSessionOrigin::add_trackablesParentTransformChanged(System.Action`1<UnityEngine.XR.ARFoundation.ARTrackablesParentTransformChangedEventArgs>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARSessionOrigin_add_trackablesParentTransformChanged_m59165BB2C4BFB84AD169AF54D2D9B76DBD8A5235 (ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * __this, Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB * ___value0, const RuntimeMethod* method);
// System.Void UnityEngine.XR.ARFoundation.ARSessionOrigin::remove_trackablesParentTransformChanged(System.Action`1<UnityEngine.XR.ARFoundation.ARTrackablesParentTransformChangedEventArgs>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARSessionOrigin_remove_trackablesParentTransformChanged_mF790C29F00B85A00D500F3420855F4BF75DBA2A4 (ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * __this, Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB * ___value0, const RuntimeMethod* method);
// System.Boolean UnityEngine.Object::op_Equality(UnityEngine.Object,UnityEngine.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * ___x0, Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * ___y1, const RuntimeMethod* method);
// System.Void System.ArgumentNullException::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * __this, String_t* ___paramName0, const RuntimeMethod* method);
// UnityEngine.XR.ARSubsystems.TrackableId UnityEngine.XR.ARSubsystems.TrackableId::get_invalidId()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 TrackableId_get_invalidId_mBE9FA1EC8F2EC1575C1B31666EA928A3382DF1CD_inline (const RuntimeMethod* method);
// System.Boolean UnityEngine.XR.ARSubsystems.TrackableId::Equals(UnityEngine.XR.ARSubsystems.TrackableId)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TrackableId_Equals_mCE458E0FDCDD6E339FCC1926EE88EB7B3D45F943 (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 * __this, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___other0, const RuntimeMethod* method);
// System.Boolean UnityEngine.Behaviour::get_enabled()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Behaviour_get_enabled_mAA0C9ED5A3D1589C1C8AA22636543528DB353CFB (Behaviour_tBDC7E9C3C898AD8348891B82D3E345801D920CA8 * __this, const RuntimeMethod* method);
// System.Boolean UnityEngine.Object::op_Implicit(UnityEngine.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Implicit_m8B2A44B4B1406ED346D1AE6D962294FD58D0D534 (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * ___exists0, const RuntimeMethod* method);
// UnityEngine.Transform UnityEngine.XR.ARFoundation.ARSessionOrigin::get_trackablesParent()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * ARSessionOrigin_get_trackablesParent_m37049D7E75CF694834A140C2EACB15D2D1098505_inline (ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * __this, const RuntimeMethod* method);
// UnityEngine.Transform UnityEngine.Component::get_transform()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * Component_get_transform_m00F05BD782F920C301A7EBA480F3B7A904C07EC9 (Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 * __this, const RuntimeMethod* method);
// UnityEngine.Transform UnityEngine.Transform::get_parent()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * Transform_get_parent_m8FA24E38A1FA29D90CBF3CDC9F9F017C65BB3403 (Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * __this, const RuntimeMethod* method);
// UnityEngine.Transform UnityEngine.XR.ARFoundation.ARTrackablesParentTransformChangedEventArgs::get_trackablesParent()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * ARTrackablesParentTransformChangedEventArgs_get_trackablesParent_m124F9D34F6DA7E3FAB3E7CB9981820682219FE49_inline (ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 * __this, const RuntimeMethod* method);
// System.Boolean UnityEngine.Object::op_Inequality(UnityEngine.Object,UnityEngine.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1 (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * ___x0, Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * ___y1, const RuntimeMethod* method);
// UnityEngine.Pose UnityEngine.XR.ARFoundation.TransformExtensions::TransformPose(UnityEngine.Transform,UnityEngine.Pose)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 TransformExtensions_TransformPose_m677CE84C622BD23C3DDB2953DDB820E1934B0144 (Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * ___transform0, Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 ___pose1, const RuntimeMethod* method);
// System.Void UnityEngine.Transform::SetPositionAndRotation(UnityEngine.Vector3,UnityEngine.Quaternion)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_SetPositionAndRotation_mDB9B34321018846FD7E2315CBE8D4A6612E3DE43 (Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * __this, Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___position0, Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 ___rotation1, const RuntimeMethod* method);
// System.Void UnityEngine.XR.ARSubsystems.ScopedProfiler::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264 (ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 * __this, String_t* ___name0, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1<!0> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XREnvironmentProbe>::get_added()
inline NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 TrackableChanges_1_get_added_mE0848158257AE8C982CC5C7DD696842859B17723_inline (TrackableChanges_1_t5B1E235F751BB96851611F0EE82810617DA588C7 * __this, const RuntimeMethod* method)
{
return (( NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 (*) (TrackableChanges_1_t5B1E235F751BB96851611F0EE82810617DA588C7 *, const RuntimeMethod*))TrackableChanges_1_get_added_mE0848158257AE8C982CC5C7DD696842859B17723_gshared_inline)(__this, method);
}
// Unity.Collections.NativeArray`1/Enumerator<!0> Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.XREnvironmentProbe>::GetEnumerator()
inline Enumerator_t158B5E773B6F750F2C6D7BD27EEC905FE29D4EC3 NativeArray_1_GetEnumerator_mD5FEB0B6EF497A65DE9187958E008723BE8981E7 (NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 * __this, const RuntimeMethod* method)
{
return (( Enumerator_t158B5E773B6F750F2C6D7BD27EEC905FE29D4EC3 (*) (NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 *, const RuntimeMethod*))NativeArray_1_GetEnumerator_mD5FEB0B6EF497A65DE9187958E008723BE8981E7_gshared)(__this, method);
}
// !0 Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.XREnvironmentProbe>::get_Current()
inline XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 Enumerator_get_Current_m81E1E9519EA58C5D399B6735E1B774FB93B8679B (Enumerator_t158B5E773B6F750F2C6D7BD27EEC905FE29D4EC3 * __this, const RuntimeMethod* method)
{
return (( XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 (*) (Enumerator_t158B5E773B6F750F2C6D7BD27EEC905FE29D4EC3 *, const RuntimeMethod*))Enumerator_get_Current_m81E1E9519EA58C5D399B6735E1B774FB93B8679B_gshared)(__this, method);
}
// System.Boolean Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.XREnvironmentProbe>::MoveNext()
inline bool Enumerator_MoveNext_m11411148FF107FC87205476D9278B77EC39F1428 (Enumerator_t158B5E773B6F750F2C6D7BD27EEC905FE29D4EC3 * __this, const RuntimeMethod* method)
{
return (( bool (*) (Enumerator_t158B5E773B6F750F2C6D7BD27EEC905FE29D4EC3 *, const RuntimeMethod*))Enumerator_MoveNext_m11411148FF107FC87205476D9278B77EC39F1428_gshared)(__this, method);
}
// System.Void UnityEngine.XR.ARSubsystems.ScopedProfiler::Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887 (ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1<!0> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XREnvironmentProbe>::get_updated()
inline NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 TrackableChanges_1_get_updated_mB2CED16796CCEF038435DE562D4559E8253C913C_inline (TrackableChanges_1_t5B1E235F751BB96851611F0EE82810617DA588C7 * __this, const RuntimeMethod* method)
{
return (( NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 (*) (TrackableChanges_1_t5B1E235F751BB96851611F0EE82810617DA588C7 *, const RuntimeMethod*))TrackableChanges_1_get_updated_mB2CED16796CCEF038435DE562D4559E8253C913C_gshared_inline)(__this, method);
}
// Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.TrackableId> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XREnvironmentProbe>::get_removed()
inline NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 TrackableChanges_1_get_removed_m069C4B80B5FE4272B0281B25ABD38C0505A9737F_inline (TrackableChanges_1_t5B1E235F751BB96851611F0EE82810617DA588C7 * __this, const RuntimeMethod* method)
{
return (( NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 (*) (TrackableChanges_1_t5B1E235F751BB96851611F0EE82810617DA588C7 *, const RuntimeMethod*))TrackableChanges_1_get_removed_m069C4B80B5FE4272B0281B25ABD38C0505A9737F_gshared_inline)(__this, method);
}
// Unity.Collections.NativeArray`1/Enumerator<!0> Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.TrackableId>::GetEnumerator()
inline Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A NativeArray_1_GetEnumerator_m3B6CA1981A8CE62A1C67FCEEBE1887CD32906DA2 (NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 * __this, const RuntimeMethod* method)
{
return (( Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A (*) (NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 *, const RuntimeMethod*))NativeArray_1_GetEnumerator_m3B6CA1981A8CE62A1C67FCEEBE1887CD32906DA2_gshared)(__this, method);
}
// !0 Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.TrackableId>::get_Current()
inline TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 Enumerator_get_Current_m913D10AD892E19937C638773D208459E9862248D (Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A * __this, const RuntimeMethod* method)
{
return (( TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 (*) (Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A *, const RuntimeMethod*))Enumerator_get_Current_m913D10AD892E19937C638773D208459E9862248D_gshared)(__this, method);
}
// System.Boolean Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.TrackableId>::MoveNext()
inline bool Enumerator_MoveNext_m3C4C0B0B1AE71E65EF8255E6FC671DDBC829B6AA (Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A * __this, const RuntimeMethod* method)
{
return (( bool (*) (Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A *, const RuntimeMethod*))Enumerator_MoveNext_m3C4C0B0B1AE71E65EF8255E6FC671DDBC829B6AA_gshared)(__this, method);
}
// !0 System.Collections.Generic.List`1/Enumerator<System.Object>::get_Current()
inline RuntimeObject * Enumerator_get_Current_mD7829C7E8CFBEDD463B15A951CDE9B90A12CC55C_inline (Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD * __this, const RuntimeMethod* method)
{
return (( RuntimeObject * (*) (Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD *, const RuntimeMethod*))Enumerator_get_Current_mD7829C7E8CFBEDD463B15A951CDE9B90A12CC55C_gshared_inline)(__this, method);
}
// System.Boolean System.Collections.Generic.List`1/Enumerator<System.Object>::MoveNext()
inline bool Enumerator_MoveNext_m38B1099DDAD7EEDE2F4CDAB11C095AC784AC2E34 (Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD * __this, const RuntimeMethod* method)
{
return (( bool (*) (Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD *, const RuntimeMethod*))Enumerator_MoveNext_m38B1099DDAD7EEDE2F4CDAB11C095AC784AC2E34_gshared)(__this, method);
}
// System.String UnityEngine.XR.ARSubsystems.TrackableId::ToString()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TrackableId_ToString_mBA49191865E57697F4279D2781B182590726A215 (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 * __this, const RuntimeMethod* method);
// System.String System.String::Concat(System.String,System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_mF4626905368D6558695A823466A1AF65EADB9923 (String_t* ___str00, String_t* ___str11, String_t* ___str22, const RuntimeMethod* method);
// System.Void UnityEngine.GameObject::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GameObject__ctor_mA4DFA8F4471418C248E95B55070665EF344B4B2D (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * __this, const RuntimeMethod* method);
// UnityEngine.Transform UnityEngine.GameObject::get_transform()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * GameObject_get_transform_mA5C38857137F137CB96C69FAA624199EB1C2FB2C (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * __this, const RuntimeMethod* method);
// System.Void UnityEngine.Transform::set_parent(UnityEngine.Transform)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_set_parent_m65B8E4660B2C554069C57A957D9E55FECA7AA73E (Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * __this, Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * ___value0, const RuntimeMethod* method);
// System.Void System.ValueTuple`2<UnityEngine.GameObject,System.Boolean>::.ctor(!0,!1)
inline void ValueTuple_2__ctor_m73A57D85868E9347B9DCD08AB9585E9B191478F7 (ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 * __this, GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * ___item10, bool ___item21, const RuntimeMethod* method)
{
(( void (*) (ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 *, GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *, bool, const RuntimeMethod*))ValueTuple_2__ctor_m6DAE3F23041A23757E33B0D197200FD0709652CA_gshared)(__this, ___item10, ___item21, method);
}
// System.Boolean UnityEngine.GameObject::get_activeSelf()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GameObject_get_activeSelf_mFE1834886CAE59884AC2BE707A3B821A1DB61F44 (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * __this, const RuntimeMethod* method);
// !!0 UnityEngine.Object::Instantiate<UnityEngine.GameObject>(!!0,UnityEngine.Transform)
inline GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * Object_Instantiate_TisGameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F_m1CDF66D563B03D37B37264800222D4F3B307EDA0 (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * ___original0, Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * ___parent1, const RuntimeMethod* method)
{
return (( GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * (*) (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *, Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *, const RuntimeMethod*))Object_Instantiate_TisRuntimeObject_m765EEDB3D86CE4EADC667B84C18E793D14144E1D_gshared)(___original0, ___parent1, method);
}
// System.Void UnityEngine.Object::set_name(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object_set_name_m538711B144CDE30F929376BCF72D0DC8F85D0826 (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * __this, String_t* ___value0, const RuntimeMethod* method);
// UnityEngine.XR.ARSubsystems.TrackableId UnityEngine.XR.ARSubsystems.XREnvironmentProbe::get_trackableId()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 XREnvironmentProbe_get_trackableId_m2F7F8DCE954C099E60807742B6A4B27DA2F30085_inline (XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 * __this, const RuntimeMethod* method);
// UnityEngine.Pose UnityEngine.XR.ARSubsystems.XREnvironmentProbe::get_pose()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 XREnvironmentProbe_get_pose_m2CF6BF7E554B1225E99947B620D2C029499E7996_inline (XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.Object::Destroy(UnityEngine.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object_Destroy_m23B4562495BA35A74266D4372D45368F8C05109A (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * ___obj0, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1<!0> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRFace>::get_added()
inline NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 TrackableChanges_1_get_added_m6C3AA173D63B8181A147527E5D607363D4D7E3B9_inline (TrackableChanges_1_t316F273AB927198D6305E965CDB7B0ED758920E6 * __this, const RuntimeMethod* method)
{
return (( NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 (*) (TrackableChanges_1_t316F273AB927198D6305E965CDB7B0ED758920E6 *, const RuntimeMethod*))TrackableChanges_1_get_added_m6C3AA173D63B8181A147527E5D607363D4D7E3B9_gshared_inline)(__this, method);
}
// Unity.Collections.NativeArray`1/Enumerator<!0> Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.XRFace>::GetEnumerator()
inline Enumerator_t8015CDE67C698133A309A1B8CB3621037DCA753F NativeArray_1_GetEnumerator_m1427900D7CC5D4A7FA35EAD7515D761E0E5D2294 (NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 * __this, const RuntimeMethod* method)
{
return (( Enumerator_t8015CDE67C698133A309A1B8CB3621037DCA753F (*) (NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 *, const RuntimeMethod*))NativeArray_1_GetEnumerator_m1427900D7CC5D4A7FA35EAD7515D761E0E5D2294_gshared)(__this, method);
}
// !0 Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.XRFace>::get_Current()
inline XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 Enumerator_get_Current_mF4BF5AB61B65C27B2941C863E12FF10D81FB65C7 (Enumerator_t8015CDE67C698133A309A1B8CB3621037DCA753F * __this, const RuntimeMethod* method)
{
return (( XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 (*) (Enumerator_t8015CDE67C698133A309A1B8CB3621037DCA753F *, const RuntimeMethod*))Enumerator_get_Current_mF4BF5AB61B65C27B2941C863E12FF10D81FB65C7_gshared)(__this, method);
}
// System.Boolean Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.XRFace>::MoveNext()
inline bool Enumerator_MoveNext_m2377E6A14EF0938C4344911BE239E49789F6BEA3 (Enumerator_t8015CDE67C698133A309A1B8CB3621037DCA753F * __this, const RuntimeMethod* method)
{
return (( bool (*) (Enumerator_t8015CDE67C698133A309A1B8CB3621037DCA753F *, const RuntimeMethod*))Enumerator_MoveNext_m2377E6A14EF0938C4344911BE239E49789F6BEA3_gshared)(__this, method);
}
// Unity.Collections.NativeArray`1<!0> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRFace>::get_updated()
inline NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 TrackableChanges_1_get_updated_m4DD6B31059055267B3F98F003F7891F74052267D_inline (TrackableChanges_1_t316F273AB927198D6305E965CDB7B0ED758920E6 * __this, const RuntimeMethod* method)
{
return (( NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 (*) (TrackableChanges_1_t316F273AB927198D6305E965CDB7B0ED758920E6 *, const RuntimeMethod*))TrackableChanges_1_get_updated_m4DD6B31059055267B3F98F003F7891F74052267D_gshared_inline)(__this, method);
}
// Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.TrackableId> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRFace>::get_removed()
inline NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 TrackableChanges_1_get_removed_m7C323DBD29E884085A21A82E9D5ABC458EF49AED_inline (TrackableChanges_1_t316F273AB927198D6305E965CDB7B0ED758920E6 * __this, const RuntimeMethod* method)
{
return (( NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 (*) (TrackableChanges_1_t316F273AB927198D6305E965CDB7B0ED758920E6 *, const RuntimeMethod*))TrackableChanges_1_get_removed_m7C323DBD29E884085A21A82E9D5ABC458EF49AED_gshared_inline)(__this, method);
}
// UnityEngine.XR.ARSubsystems.TrackableId UnityEngine.XR.ARSubsystems.XRFace::get_trackableId()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 XRFace_get_trackableId_mC7AA3B622C6B16A9E8B5A3BEA524C7ED54A6188D_inline (XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 * __this, const RuntimeMethod* method);
// UnityEngine.Pose UnityEngine.XR.ARSubsystems.XRFace::get_pose()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 XRFace_get_pose_m3792AF11CBB24361529B7291ED46B9DD2970AC54_inline (XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1<!0> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRHumanBody>::get_added()
inline NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 TrackableChanges_1_get_added_mAC12696B7D12A00A3FE9C34A2FF8F22ED6A3BD6C_inline (TrackableChanges_1_t8F77CF9D37FD0DCA052A7D6B34E1A489AF13C41B * __this, const RuntimeMethod* method)
{
return (( NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 (*) (TrackableChanges_1_t8F77CF9D37FD0DCA052A7D6B34E1A489AF13C41B *, const RuntimeMethod*))TrackableChanges_1_get_added_mAC12696B7D12A00A3FE9C34A2FF8F22ED6A3BD6C_gshared_inline)(__this, method);
}
// Unity.Collections.NativeArray`1/Enumerator<!0> Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.XRHumanBody>::GetEnumerator()
inline Enumerator_t7A9A8176FE6837923878CAD250C11AC9DC688AF9 NativeArray_1_GetEnumerator_m396AB3FBDE1CC728596A1C4C11026DF4CD4D2D19 (NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 * __this, const RuntimeMethod* method)
{
return (( Enumerator_t7A9A8176FE6837923878CAD250C11AC9DC688AF9 (*) (NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 *, const RuntimeMethod*))NativeArray_1_GetEnumerator_m396AB3FBDE1CC728596A1C4C11026DF4CD4D2D19_gshared)(__this, method);
}
// !0 Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.XRHumanBody>::get_Current()
inline XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 Enumerator_get_Current_mD2BCDF0D0C3D6C8C2B109E105D80E50DDB0E2B3D (Enumerator_t7A9A8176FE6837923878CAD250C11AC9DC688AF9 * __this, const RuntimeMethod* method)
{
return (( XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 (*) (Enumerator_t7A9A8176FE6837923878CAD250C11AC9DC688AF9 *, const RuntimeMethod*))Enumerator_get_Current_mD2BCDF0D0C3D6C8C2B109E105D80E50DDB0E2B3D_gshared)(__this, method);
}
// System.Boolean Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.XRHumanBody>::MoveNext()
inline bool Enumerator_MoveNext_m4D170F36845E7C8D8929AFEEF7610571597E1159 (Enumerator_t7A9A8176FE6837923878CAD250C11AC9DC688AF9 * __this, const RuntimeMethod* method)
{
return (( bool (*) (Enumerator_t7A9A8176FE6837923878CAD250C11AC9DC688AF9 *, const RuntimeMethod*))Enumerator_MoveNext_m4D170F36845E7C8D8929AFEEF7610571597E1159_gshared)(__this, method);
}
// Unity.Collections.NativeArray`1<!0> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRHumanBody>::get_updated()
inline NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 TrackableChanges_1_get_updated_mCD92C9A6154DC58C63992B59E6671BC8AE07F9C8_inline (TrackableChanges_1_t8F77CF9D37FD0DCA052A7D6B34E1A489AF13C41B * __this, const RuntimeMethod* method)
{
return (( NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 (*) (TrackableChanges_1_t8F77CF9D37FD0DCA052A7D6B34E1A489AF13C41B *, const RuntimeMethod*))TrackableChanges_1_get_updated_mCD92C9A6154DC58C63992B59E6671BC8AE07F9C8_gshared_inline)(__this, method);
}
// Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.TrackableId> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRHumanBody>::get_removed()
inline NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 TrackableChanges_1_get_removed_m377C6A3BFE41CC689AFE09CE1529B79113140DD2_inline (TrackableChanges_1_t8F77CF9D37FD0DCA052A7D6B34E1A489AF13C41B * __this, const RuntimeMethod* method)
{
return (( NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 (*) (TrackableChanges_1_t8F77CF9D37FD0DCA052A7D6B34E1A489AF13C41B *, const RuntimeMethod*))TrackableChanges_1_get_removed_m377C6A3BFE41CC689AFE09CE1529B79113140DD2_gshared_inline)(__this, method);
}
// UnityEngine.XR.ARSubsystems.TrackableId UnityEngine.XR.ARSubsystems.XRHumanBody::get_trackableId()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 XRHumanBody_get_trackableId_m6932327AA835FDFFA3A8AC2C11C45E2491E998AA_inline (XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 * __this, const RuntimeMethod* method);
// UnityEngine.Pose UnityEngine.XR.ARSubsystems.XRHumanBody::get_pose()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 XRHumanBody_get_pose_m3E48843E383A32DF5ED22BFD89FB52C9C7AD1E5B_inline (XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1<!0> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRParticipant>::get_added()
inline NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 TrackableChanges_1_get_added_mB04DBD3BE41499A2EF2DE7526EAF99320F6A756C_inline (TrackableChanges_1_tADA077C1D8520E93DBAF760C434863B1E46EABF7 * __this, const RuntimeMethod* method)
{
return (( NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 (*) (TrackableChanges_1_tADA077C1D8520E93DBAF760C434863B1E46EABF7 *, const RuntimeMethod*))TrackableChanges_1_get_added_mB04DBD3BE41499A2EF2DE7526EAF99320F6A756C_gshared_inline)(__this, method);
}
// Unity.Collections.NativeArray`1/Enumerator<!0> Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.XRParticipant>::GetEnumerator()
inline Enumerator_t2B2EEF1F6F4840ED342D7AB54AE9F09881F5A589 NativeArray_1_GetEnumerator_m8E2405F2EBA9FED85C13FB4C6CE8958AEC761E73 (NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 * __this, const RuntimeMethod* method)
{
return (( Enumerator_t2B2EEF1F6F4840ED342D7AB54AE9F09881F5A589 (*) (NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 *, const RuntimeMethod*))NativeArray_1_GetEnumerator_m8E2405F2EBA9FED85C13FB4C6CE8958AEC761E73_gshared)(__this, method);
}
// !0 Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.XRParticipant>::get_Current()
inline XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 Enumerator_get_Current_m6B12E957308B76F91826A8D1DD1D7286D3A15041 (Enumerator_t2B2EEF1F6F4840ED342D7AB54AE9F09881F5A589 * __this, const RuntimeMethod* method)
{
return (( XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 (*) (Enumerator_t2B2EEF1F6F4840ED342D7AB54AE9F09881F5A589 *, const RuntimeMethod*))Enumerator_get_Current_m6B12E957308B76F91826A8D1DD1D7286D3A15041_gshared)(__this, method);
}
// System.Boolean Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.XRParticipant>::MoveNext()
inline bool Enumerator_MoveNext_m43A336A3ABA4C5F0FC86E532516E51C2F1A7C837 (Enumerator_t2B2EEF1F6F4840ED342D7AB54AE9F09881F5A589 * __this, const RuntimeMethod* method)
{
return (( bool (*) (Enumerator_t2B2EEF1F6F4840ED342D7AB54AE9F09881F5A589 *, const RuntimeMethod*))Enumerator_MoveNext_m43A336A3ABA4C5F0FC86E532516E51C2F1A7C837_gshared)(__this, method);
}
// Unity.Collections.NativeArray`1<!0> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRParticipant>::get_updated()
inline NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 TrackableChanges_1_get_updated_m54F7E4A07B0A06215ACD1E258FECA69ADB35775A_inline (TrackableChanges_1_tADA077C1D8520E93DBAF760C434863B1E46EABF7 * __this, const RuntimeMethod* method)
{
return (( NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 (*) (TrackableChanges_1_tADA077C1D8520E93DBAF760C434863B1E46EABF7 *, const RuntimeMethod*))TrackableChanges_1_get_updated_m54F7E4A07B0A06215ACD1E258FECA69ADB35775A_gshared_inline)(__this, method);
}
// Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.TrackableId> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRParticipant>::get_removed()
inline NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 TrackableChanges_1_get_removed_mD4DBD0C1F36479738568BDFAD7593F18AD67E77D_inline (TrackableChanges_1_tADA077C1D8520E93DBAF760C434863B1E46EABF7 * __this, const RuntimeMethod* method)
{
return (( NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 (*) (TrackableChanges_1_tADA077C1D8520E93DBAF760C434863B1E46EABF7 *, const RuntimeMethod*))TrackableChanges_1_get_removed_mD4DBD0C1F36479738568BDFAD7593F18AD67E77D_gshared_inline)(__this, method);
}
// UnityEngine.XR.ARSubsystems.TrackableId UnityEngine.XR.ARSubsystems.XRParticipant::get_trackableId()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 XRParticipant_get_trackableId_mAF0DAE2613E96C830102678EA49DA306402C7700_inline (XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 * __this, const RuntimeMethod* method);
// UnityEngine.Pose UnityEngine.XR.ARSubsystems.XRParticipant::get_pose()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 XRParticipant_get_pose_m9FDF90F628DF1FC812226F06F196A113644C1717_inline (XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1<!0> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRPointCloud>::get_added()
inline NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 TrackableChanges_1_get_added_mBB3A80E298216A6D8826422F62A11A1A4CB7CBD9_inline (TrackableChanges_1_t67F5E50C0B7A063774AEC211C4C81BA7679876BB * __this, const RuntimeMethod* method)
{
return (( NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 (*) (TrackableChanges_1_t67F5E50C0B7A063774AEC211C4C81BA7679876BB *, const RuntimeMethod*))TrackableChanges_1_get_added_mBB3A80E298216A6D8826422F62A11A1A4CB7CBD9_gshared_inline)(__this, method);
}
// Unity.Collections.NativeArray`1/Enumerator<!0> Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.XRPointCloud>::GetEnumerator()
inline Enumerator_t1B7E0D23EF4C33682EFE99D8F58153FDA8CB6ACD NativeArray_1_GetEnumerator_m2C26DDBD2232F1DC6F216C47B66A5CCEC71C8292 (NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 * __this, const RuntimeMethod* method)
{
return (( Enumerator_t1B7E0D23EF4C33682EFE99D8F58153FDA8CB6ACD (*) (NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 *, const RuntimeMethod*))NativeArray_1_GetEnumerator_m2C26DDBD2232F1DC6F216C47B66A5CCEC71C8292_gshared)(__this, method);
}
// !0 Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.XRPointCloud>::get_Current()
inline XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 Enumerator_get_Current_mAAA11BD869C8818266133A03BEC94087AB76BB57 (Enumerator_t1B7E0D23EF4C33682EFE99D8F58153FDA8CB6ACD * __this, const RuntimeMethod* method)
{
return (( XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 (*) (Enumerator_t1B7E0D23EF4C33682EFE99D8F58153FDA8CB6ACD *, const RuntimeMethod*))Enumerator_get_Current_mAAA11BD869C8818266133A03BEC94087AB76BB57_gshared)(__this, method);
}
// System.Boolean Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.XRPointCloud>::MoveNext()
inline bool Enumerator_MoveNext_mD818C7168685197B0033FF034038DE1441498637 (Enumerator_t1B7E0D23EF4C33682EFE99D8F58153FDA8CB6ACD * __this, const RuntimeMethod* method)
{
return (( bool (*) (Enumerator_t1B7E0D23EF4C33682EFE99D8F58153FDA8CB6ACD *, const RuntimeMethod*))Enumerator_MoveNext_mD818C7168685197B0033FF034038DE1441498637_gshared)(__this, method);
}
// Unity.Collections.NativeArray`1<!0> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRPointCloud>::get_updated()
inline NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 TrackableChanges_1_get_updated_m80DB51775906B404AEE4C7454E7A517ECFD6A003_inline (TrackableChanges_1_t67F5E50C0B7A063774AEC211C4C81BA7679876BB * __this, const RuntimeMethod* method)
{
return (( NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 (*) (TrackableChanges_1_t67F5E50C0B7A063774AEC211C4C81BA7679876BB *, const RuntimeMethod*))TrackableChanges_1_get_updated_m80DB51775906B404AEE4C7454E7A517ECFD6A003_gshared_inline)(__this, method);
}
// Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.TrackableId> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRPointCloud>::get_removed()
inline NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 TrackableChanges_1_get_removed_mC49E91CAF67469CDD76DBCF18D1423DC3971AF99_inline (TrackableChanges_1_t67F5E50C0B7A063774AEC211C4C81BA7679876BB * __this, const RuntimeMethod* method)
{
return (( NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 (*) (TrackableChanges_1_t67F5E50C0B7A063774AEC211C4C81BA7679876BB *, const RuntimeMethod*))TrackableChanges_1_get_removed_mC49E91CAF67469CDD76DBCF18D1423DC3971AF99_gshared_inline)(__this, method);
}
// UnityEngine.XR.ARSubsystems.TrackableId UnityEngine.XR.ARSubsystems.XRPointCloud::get_trackableId()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 XRPointCloud_get_trackableId_mA394197EAD026665FC02A1118CBBB46FF6873EF1_inline (XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 * __this, const RuntimeMethod* method);
// UnityEngine.Pose UnityEngine.XR.ARSubsystems.XRPointCloud::get_pose()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 XRPointCloud_get_pose_m09C2DF1AD7F1220B547BD2EBCCA6E35F85A87EB0_inline (XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1<!0> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRRaycast>::get_added()
inline NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 TrackableChanges_1_get_added_m3D40B25E1DBFA2CE12A65E40E7AC06E818AD9E52_inline (TrackableChanges_1_t05F219FC68E80EA9891CEEB35CBABA06F836FDD3 * __this, const RuntimeMethod* method)
{
return (( NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 (*) (TrackableChanges_1_t05F219FC68E80EA9891CEEB35CBABA06F836FDD3 *, const RuntimeMethod*))TrackableChanges_1_get_added_m3D40B25E1DBFA2CE12A65E40E7AC06E818AD9E52_gshared_inline)(__this, method);
}
// Unity.Collections.NativeArray`1/Enumerator<!0> Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.XRRaycast>::GetEnumerator()
inline Enumerator_tE835E58BDBE7B5AF5E743DD51D31DE7A87983FCD NativeArray_1_GetEnumerator_m233DB4025EE0159C3DF5F4444D8660447A948E77 (NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 * __this, const RuntimeMethod* method)
{
return (( Enumerator_tE835E58BDBE7B5AF5E743DD51D31DE7A87983FCD (*) (NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 *, const RuntimeMethod*))NativeArray_1_GetEnumerator_m233DB4025EE0159C3DF5F4444D8660447A948E77_gshared)(__this, method);
}
// !0 Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.XRRaycast>::get_Current()
inline XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 Enumerator_get_Current_m9666277E7F7A9010D80F9B1C2A85998727195BA0 (Enumerator_tE835E58BDBE7B5AF5E743DD51D31DE7A87983FCD * __this, const RuntimeMethod* method)
{
return (( XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 (*) (Enumerator_tE835E58BDBE7B5AF5E743DD51D31DE7A87983FCD *, const RuntimeMethod*))Enumerator_get_Current_m9666277E7F7A9010D80F9B1C2A85998727195BA0_gshared)(__this, method);
}
// System.Boolean Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.XRRaycast>::MoveNext()
inline bool Enumerator_MoveNext_m290B09E34B2A210F6C1F69C107D3E253C15892AA (Enumerator_tE835E58BDBE7B5AF5E743DD51D31DE7A87983FCD * __this, const RuntimeMethod* method)
{
return (( bool (*) (Enumerator_tE835E58BDBE7B5AF5E743DD51D31DE7A87983FCD *, const RuntimeMethod*))Enumerator_MoveNext_m290B09E34B2A210F6C1F69C107D3E253C15892AA_gshared)(__this, method);
}
// Unity.Collections.NativeArray`1<!0> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRRaycast>::get_updated()
inline NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 TrackableChanges_1_get_updated_mF70FB659BBDD40064C52ABA36021CCB637733421_inline (TrackableChanges_1_t05F219FC68E80EA9891CEEB35CBABA06F836FDD3 * __this, const RuntimeMethod* method)
{
return (( NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 (*) (TrackableChanges_1_t05F219FC68E80EA9891CEEB35CBABA06F836FDD3 *, const RuntimeMethod*))TrackableChanges_1_get_updated_mF70FB659BBDD40064C52ABA36021CCB637733421_gshared_inline)(__this, method);
}
// Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.TrackableId> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRRaycast>::get_removed()
inline NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 TrackableChanges_1_get_removed_mF48037B3FBE8CDCE917EF589128FEF13EB22466A_inline (TrackableChanges_1_t05F219FC68E80EA9891CEEB35CBABA06F836FDD3 * __this, const RuntimeMethod* method)
{
return (( NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 (*) (TrackableChanges_1_t05F219FC68E80EA9891CEEB35CBABA06F836FDD3 *, const RuntimeMethod*))TrackableChanges_1_get_removed_mF48037B3FBE8CDCE917EF589128FEF13EB22466A_gshared_inline)(__this, method);
}
// UnityEngine.XR.ARSubsystems.TrackableId UnityEngine.XR.ARSubsystems.XRRaycast::get_trackableId()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 XRRaycast_get_trackableId_m6DBE200F60327FBBD8C1852FD50F5881AFDEE90B_inline (XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 * __this, const RuntimeMethod* method);
// UnityEngine.Pose UnityEngine.XR.ARSubsystems.XRRaycast::get_pose()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 XRRaycast_get_pose_m6EAC1A67DCD90871104B13EE918B1F19C9B8083A_inline (XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1<!0> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRReferencePoint>::get_added()
inline NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 TrackableChanges_1_get_added_mC31FEFAAC8F70ABBBC324DC618B0DFAB08AAE934_inline (TrackableChanges_1_t5C8C3FBA23E5BBC147A6991B68520A756EF54FDF * __this, const RuntimeMethod* method)
{
return (( NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 (*) (TrackableChanges_1_t5C8C3FBA23E5BBC147A6991B68520A756EF54FDF *, const RuntimeMethod*))TrackableChanges_1_get_added_mC31FEFAAC8F70ABBBC324DC618B0DFAB08AAE934_gshared_inline)(__this, method);
}
// Unity.Collections.NativeArray`1/Enumerator<!0> Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.XRReferencePoint>::GetEnumerator()
inline Enumerator_t533CE786298995A804A1B61701D6400CF4483B1E NativeArray_1_GetEnumerator_m0AE193D90C66BD2CB22C49D77323F1BD7775FBF9 (NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 * __this, const RuntimeMethod* method)
{
return (( Enumerator_t533CE786298995A804A1B61701D6400CF4483B1E (*) (NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 *, const RuntimeMethod*))NativeArray_1_GetEnumerator_m0AE193D90C66BD2CB22C49D77323F1BD7775FBF9_gshared)(__this, method);
}
// !0 Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.XRReferencePoint>::get_Current()
inline XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 Enumerator_get_Current_m1E16327F75D3A7E6496D252BD730CE3B55858FE7 (Enumerator_t533CE786298995A804A1B61701D6400CF4483B1E * __this, const RuntimeMethod* method)
{
return (( XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 (*) (Enumerator_t533CE786298995A804A1B61701D6400CF4483B1E *, const RuntimeMethod*))Enumerator_get_Current_m1E16327F75D3A7E6496D252BD730CE3B55858FE7_gshared)(__this, method);
}
// System.Boolean Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.XRReferencePoint>::MoveNext()
inline bool Enumerator_MoveNext_m345699420F154E8E5508CE0A44444F14EFD566B2 (Enumerator_t533CE786298995A804A1B61701D6400CF4483B1E * __this, const RuntimeMethod* method)
{
return (( bool (*) (Enumerator_t533CE786298995A804A1B61701D6400CF4483B1E *, const RuntimeMethod*))Enumerator_MoveNext_m345699420F154E8E5508CE0A44444F14EFD566B2_gshared)(__this, method);
}
// Unity.Collections.NativeArray`1<!0> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRReferencePoint>::get_updated()
inline NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 TrackableChanges_1_get_updated_m54C710EFD531DFB25ABA289B60FAA4181D479DDF_inline (TrackableChanges_1_t5C8C3FBA23E5BBC147A6991B68520A756EF54FDF * __this, const RuntimeMethod* method)
{
return (( NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 (*) (TrackableChanges_1_t5C8C3FBA23E5BBC147A6991B68520A756EF54FDF *, const RuntimeMethod*))TrackableChanges_1_get_updated_m54C710EFD531DFB25ABA289B60FAA4181D479DDF_gshared_inline)(__this, method);
}
// Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.TrackableId> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRReferencePoint>::get_removed()
inline NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 TrackableChanges_1_get_removed_m9781A441FA95E17CBDB3C4687247859A562AF077_inline (TrackableChanges_1_t5C8C3FBA23E5BBC147A6991B68520A756EF54FDF * __this, const RuntimeMethod* method)
{
return (( NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 (*) (TrackableChanges_1_t5C8C3FBA23E5BBC147A6991B68520A756EF54FDF *, const RuntimeMethod*))TrackableChanges_1_get_removed_m9781A441FA95E17CBDB3C4687247859A562AF077_gshared_inline)(__this, method);
}
// UnityEngine.XR.ARSubsystems.TrackableId UnityEngine.XR.ARSubsystems.XRReferencePoint::get_trackableId()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 XRReferencePoint_get_trackableId_m6D53542802F2444CE58861B8868274F9A8296D88_inline (XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 * __this, const RuntimeMethod* method);
// UnityEngine.Pose UnityEngine.XR.ARSubsystems.XRReferencePoint::get_pose()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 XRReferencePoint_get_pose_mA4320629B8C7AE23D97FCD8E2C5FB9C9FB6AED9C_inline (XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1<!0> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRTrackedImage>::get_added()
inline NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 TrackableChanges_1_get_added_mC35012A2E03A744ECF4A6E58D2DA1C34D85CA6ED_inline (TrackableChanges_1_tE90399F00562881A054A3592F7AF134BA053AF4F * __this, const RuntimeMethod* method)
{
return (( NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 (*) (TrackableChanges_1_tE90399F00562881A054A3592F7AF134BA053AF4F *, const RuntimeMethod*))TrackableChanges_1_get_added_mC35012A2E03A744ECF4A6E58D2DA1C34D85CA6ED_gshared_inline)(__this, method);
}
// Unity.Collections.NativeArray`1/Enumerator<!0> Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.XRTrackedImage>::GetEnumerator()
inline Enumerator_t24763C293EE3A5FF95D00AB6752E91A2F7940B76 NativeArray_1_GetEnumerator_m10A5016AB48E4AE47C995EA8FC33A4152C105F61 (NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 * __this, const RuntimeMethod* method)
{
return (( Enumerator_t24763C293EE3A5FF95D00AB6752E91A2F7940B76 (*) (NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 *, const RuntimeMethod*))NativeArray_1_GetEnumerator_m10A5016AB48E4AE47C995EA8FC33A4152C105F61_gshared)(__this, method);
}
// !0 Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.XRTrackedImage>::get_Current()
inline XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 Enumerator_get_Current_mDA485C1222EA6776DA7CB0BFF0DD169DB5CB8E21 (Enumerator_t24763C293EE3A5FF95D00AB6752E91A2F7940B76 * __this, const RuntimeMethod* method)
{
return (( XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 (*) (Enumerator_t24763C293EE3A5FF95D00AB6752E91A2F7940B76 *, const RuntimeMethod*))Enumerator_get_Current_mDA485C1222EA6776DA7CB0BFF0DD169DB5CB8E21_gshared)(__this, method);
}
// System.Boolean Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.XRTrackedImage>::MoveNext()
inline bool Enumerator_MoveNext_m7A49AD4924ECF5F29DAB0298CCBB8171B5CB43DE (Enumerator_t24763C293EE3A5FF95D00AB6752E91A2F7940B76 * __this, const RuntimeMethod* method)
{
return (( bool (*) (Enumerator_t24763C293EE3A5FF95D00AB6752E91A2F7940B76 *, const RuntimeMethod*))Enumerator_MoveNext_m7A49AD4924ECF5F29DAB0298CCBB8171B5CB43DE_gshared)(__this, method);
}
// Unity.Collections.NativeArray`1<!0> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRTrackedImage>::get_updated()
inline NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 TrackableChanges_1_get_updated_mF1CCDAA99909A241F138D24B4175AD6806E65323_inline (TrackableChanges_1_tE90399F00562881A054A3592F7AF134BA053AF4F * __this, const RuntimeMethod* method)
{
return (( NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 (*) (TrackableChanges_1_tE90399F00562881A054A3592F7AF134BA053AF4F *, const RuntimeMethod*))TrackableChanges_1_get_updated_mF1CCDAA99909A241F138D24B4175AD6806E65323_gshared_inline)(__this, method);
}
// Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.TrackableId> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRTrackedImage>::get_removed()
inline NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 TrackableChanges_1_get_removed_m7CF311E706E890B2CC9281BC392849E4DE880ECA_inline (TrackableChanges_1_tE90399F00562881A054A3592F7AF134BA053AF4F * __this, const RuntimeMethod* method)
{
return (( NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 (*) (TrackableChanges_1_tE90399F00562881A054A3592F7AF134BA053AF4F *, const RuntimeMethod*))TrackableChanges_1_get_removed_m7CF311E706E890B2CC9281BC392849E4DE880ECA_gshared_inline)(__this, method);
}
// UnityEngine.XR.ARSubsystems.TrackableId UnityEngine.XR.ARSubsystems.XRTrackedImage::get_trackableId()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 XRTrackedImage_get_trackableId_m6EB6DBACC95E5EE2AFEE3CE421F4C123F32E9CB8_inline (XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 * __this, const RuntimeMethod* method);
// UnityEngine.Pose UnityEngine.XR.ARSubsystems.XRTrackedImage::get_pose()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 XRTrackedImage_get_pose_m0566E087CA2DC99DF749E80277510C61DCF13186_inline (XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 * __this, const RuntimeMethod* method);
// Unity.Collections.NativeArray`1<!0> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRTrackedObject>::get_added()
inline NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 TrackableChanges_1_get_added_m6B4AFC77B682299AFAB977EDEAF164E6B63E3670_inline (TrackableChanges_1_t03A664B58E58E32B5EC1F7CB7133E87F804EE874 * __this, const RuntimeMethod* method)
{
return (( NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 (*) (TrackableChanges_1_t03A664B58E58E32B5EC1F7CB7133E87F804EE874 *, const RuntimeMethod*))TrackableChanges_1_get_added_m6B4AFC77B682299AFAB977EDEAF164E6B63E3670_gshared_inline)(__this, method);
}
// Unity.Collections.NativeArray`1/Enumerator<!0> Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.XRTrackedObject>::GetEnumerator()
inline Enumerator_t8D990E98FC643A10DA193AAFF82900775BDBF362 NativeArray_1_GetEnumerator_mD6D1A774D537C290064A60C7BA6FA540A62335E0 (NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 * __this, const RuntimeMethod* method)
{
return (( Enumerator_t8D990E98FC643A10DA193AAFF82900775BDBF362 (*) (NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 *, const RuntimeMethod*))NativeArray_1_GetEnumerator_mD6D1A774D537C290064A60C7BA6FA540A62335E0_gshared)(__this, method);
}
// !0 Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.XRTrackedObject>::get_Current()
inline XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 Enumerator_get_Current_m0E4558EE4194E642C17FD13159FB65DA47B0A72F (Enumerator_t8D990E98FC643A10DA193AAFF82900775BDBF362 * __this, const RuntimeMethod* method)
{
return (( XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 (*) (Enumerator_t8D990E98FC643A10DA193AAFF82900775BDBF362 *, const RuntimeMethod*))Enumerator_get_Current_m0E4558EE4194E642C17FD13159FB65DA47B0A72F_gshared)(__this, method);
}
// System.Boolean Unity.Collections.NativeArray`1/Enumerator<UnityEngine.XR.ARSubsystems.XRTrackedObject>::MoveNext()
inline bool Enumerator_MoveNext_m7551BFA9AB51FE9D58AE10C23F2466946A9CFD2D (Enumerator_t8D990E98FC643A10DA193AAFF82900775BDBF362 * __this, const RuntimeMethod* method)
{
return (( bool (*) (Enumerator_t8D990E98FC643A10DA193AAFF82900775BDBF362 *, const RuntimeMethod*))Enumerator_MoveNext_m7551BFA9AB51FE9D58AE10C23F2466946A9CFD2D_gshared)(__this, method);
}
// Unity.Collections.NativeArray`1<!0> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRTrackedObject>::get_updated()
inline NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 TrackableChanges_1_get_updated_mDDB738464599270A745A15C57FC941EEBEC00700_inline (TrackableChanges_1_t03A664B58E58E32B5EC1F7CB7133E87F804EE874 * __this, const RuntimeMethod* method)
{
return (( NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 (*) (TrackableChanges_1_t03A664B58E58E32B5EC1F7CB7133E87F804EE874 *, const RuntimeMethod*))TrackableChanges_1_get_updated_mDDB738464599270A745A15C57FC941EEBEC00700_gshared_inline)(__this, method);
}
// Unity.Collections.NativeArray`1<UnityEngine.XR.ARSubsystems.TrackableId> UnityEngine.XR.ARSubsystems.TrackableChanges`1<UnityEngine.XR.ARSubsystems.XRTrackedObject>::get_removed()
inline NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 TrackableChanges_1_get_removed_m53E0E551E0ACC552E62D8BA2A0A234D72CAB6C74_inline (TrackableChanges_1_t03A664B58E58E32B5EC1F7CB7133E87F804EE874 * __this, const RuntimeMethod* method)
{
return (( NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 (*) (TrackableChanges_1_t03A664B58E58E32B5EC1F7CB7133E87F804EE874 *, const RuntimeMethod*))TrackableChanges_1_get_removed_m53E0E551E0ACC552E62D8BA2A0A234D72CAB6C74_gshared_inline)(__this, method);
}
// UnityEngine.XR.ARSubsystems.TrackableId UnityEngine.XR.ARSubsystems.XRTrackedObject::get_trackableId()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 XRTrackedObject_get_trackableId_mB720981791DE599B20879640517A33BE2FE2D84D_inline (XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 * __this, const RuntimeMethod* method);
// UnityEngine.Pose UnityEngine.XR.ARSubsystems.XRTrackedObject::get_pose()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 XRTrackedObject_get_pose_mF865EAF61AE8767D6A0CCF59494A51F2D670F603_inline (XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 * __this, const RuntimeMethod* method);
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.XR.ARFoundation.ARTrackableManager`4<TSubsystem,TSubsystemDescriptor,TSessionRelativeData,TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::get_instance()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 * ARTrackableManager_4_get_instance_mA8BE2F292D2D100DEA31BBE91E48A370ED92984F_gshared (const RuntimeMethod* method)
{
{
// internal static ARTrackableManager<TSubsystem, TSubsystemDescriptor, TSessionRelativeData, TTrackable> instance { get; private set; }
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0));
ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 * L_0 = ((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->get_U3CinstanceU3Ek__BackingField_7();
return L_0;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::set_instance(UnityEngine.XR.ARFoundation.ARTrackableManager`4<TSubsystem,TSubsystemDescriptor,TSessionRelativeData,TTrackable>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_set_instance_mDABE4D2E8DB2575EBD03367DC843014D7BE83B80_gshared (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 * ___value0, const RuntimeMethod* method)
{
{
// internal static ARTrackableManager<TSubsystem, TSubsystemDescriptor, TSessionRelativeData, TTrackable> instance { get; private set; }
ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 * L_0 = ___value0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0));
((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set_U3CinstanceU3Ek__BackingField_7(L_0);
return;
}
}
// UnityEngine.XR.ARFoundation.TrackableCollection`1<TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::get_trackables()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 ARTrackableManager_4_get_trackables_m0C68DD3DCC5862B5FD5D95EA39798419F95A79F4_gshared (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 * __this, const RuntimeMethod* method)
{
{
// public TrackableCollection<TTrackable> trackables => new TrackableCollection<TTrackable>(m_Trackables);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_0 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 L_1;
memset((&L_1), 0, sizeof(L_1));
TrackableCollection_1__ctor_mA99D3D41CAA02EF94BD2B96D6DC1B66450E226FF((&L_1), (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 3));
return L_1;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::SetTrackablesActive(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_SetTrackablesActive_mCED57FABBE7CEB0423B9FF0196E3F95555975C3E_gshared (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 * __this, bool ___active0, const RuntimeMethod* method)
{
Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED V_0;
memset((&V_0), 0, sizeof(V_0));
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 V_1;
memset((&V_1), 0, sizeof(V_1));
{
// foreach (var trackable in trackables)
NullCheck((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this);
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 L_0 = (( TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 (*) (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 4)->methodPointer)((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 4));
V_1 = (TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 )L_0;
Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED L_1 = TrackableCollection_1_GetEnumerator_mBAA3D036F160A053757196D57318EC6B3F368D02((TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 *)(TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
V_0 = (Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED )L_1;
goto IL_0028;
}
IL_0011:
{
// foreach (var trackable in trackables)
RuntimeObject * L_2 = Enumerator_get_Current_m6D82C8CA15561A8D32BA77CB304C80AF57C4C77E((Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6));
// trackable.gameObject.SetActive(active);
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_2);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_3 = Component_get_gameObject_m0B0570BA8DDD3CD78A9DB568EA18D7317686603C((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_2, /*hidden argument*/NULL);
bool L_4 = ___active0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_3);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_3, (bool)L_4, /*hidden argument*/NULL);
}
IL_0028:
{
// foreach (var trackable in trackables)
bool L_5 = Enumerator_MoveNext_mF64DBEA38614B8A6E085DFC09DD2745BE2ACB9BE((Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
if (L_5)
{
goto IL_0011;
}
}
{
// }
return;
}
}
// UnityEngine.XR.ARFoundation.ARSessionOrigin UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::get_sessionOrigin()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * ARTrackableManager_4_get_sessionOrigin_mDC0F4DD73FD4E599D704D46805454AD64B6BAE24_gshared (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 * __this, const RuntimeMethod* method)
{
{
// protected ARSessionOrigin sessionOrigin { get; private set; }
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = (ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)__this->get_U3CsessionOriginU3Ek__BackingField_8();
return L_0;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::set_sessionOrigin(UnityEngine.XR.ARFoundation.ARSessionOrigin)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_set_sessionOrigin_m2DAD83B92AA5A563F96AA56DCF8D1BB008001B7B_gshared (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 * __this, ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * ___value0, const RuntimeMethod* method)
{
{
// protected ARSessionOrigin sessionOrigin { get; private set; }
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = ___value0;
__this->set_U3CsessionOriginU3Ek__BackingField_8(L_0);
return;
}
}
// UnityEngine.GameObject UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::GetPrefab()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * ARTrackableManager_4_GetPrefab_m829D494C7600DC5F2DF6C3F8FC38888D04406B3B_gshared (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 * __this, const RuntimeMethod* method)
{
{
// protected virtual GameObject GetPrefab() => null;
return (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)NULL;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::Awake()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_Awake_m8FBA4D1CD31EC3DB27968FA17747115D57DDBC55_gshared (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_Awake_m8FBA4D1CD31EC3DB27968FA17747115D57DDBC55_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// sessionOrigin = GetComponent<ARSessionOrigin>();
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = Component_GetComponent_TisARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF_m25BC8791B994BAE33BF9003FFC85124F480EFB17((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)__this, /*hidden argument*/Component_GetComponent_TisARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF_m25BC8791B994BAE33BF9003FFC85124F480EFB17_RuntimeMethod_var);
NullCheck((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this);
(( void (*) (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *, ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this, (ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::OnEnable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnEnable_m53F0C84464A72F8E44987708E06C4C779C163DE8_gshared (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_OnEnable_m53F0C84464A72F8E44987708E06C4C779C163DE8_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// base.OnEnable();
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
(( void (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10));
// instance = this;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
(( void (*) (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 11)->methodPointer)((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 11));
// sessionOrigin.trackablesParentTransformChanged += OnTrackablesParentTransformChanged;
NullCheck((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB * L_1 = (Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB *)il2cpp_codegen_object_new(Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB_il2cpp_TypeInfo_var);
Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B(L_1, (RuntimeObject *)__this, (intptr_t)((intptr_t)IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)), /*hidden argument*/Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B_RuntimeMethod_var);
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0);
ARSessionOrigin_add_trackablesParentTransformChanged_m59165BB2C4BFB84AD169AF54D2D9B76DBD8A5235((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0, (Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB *)L_1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::OnDisable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnDisable_mEEF8DDA8A34E4E27A76F3C38A3D41C6515EFBF24_gshared (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_OnDisable_mEEF8DDA8A34E4E27A76F3C38A3D41C6515EFBF24_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// base.OnDisable();
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
(( void (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14));
// sessionOrigin.trackablesParentTransformChanged -= OnTrackablesParentTransformChanged;
NullCheck((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB * L_1 = (Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB *)il2cpp_codegen_object_new(Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB_il2cpp_TypeInfo_var);
Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B(L_1, (RuntimeObject *)__this, (intptr_t)((intptr_t)IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)), /*hidden argument*/Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B_RuntimeMethod_var);
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0);
ARSessionOrigin_remove_trackablesParentTransformChanged_mF790C29F00B85A00D500F3420855F4BF75DBA2A4((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0, (Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB *)L_1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Boolean UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::CanBeAddedToSubsystem(TTrackable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ARTrackableManager_4_CanBeAddedToSubsystem_m192A127C8F1D1D3BF4CC6209F3BEFCAEBE4D95CC_gshared (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 * __this, RuntimeObject * ___trackable0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_CanBeAddedToSubsystem_m192A127C8F1D1D3BF4CC6209F3BEFCAEBE4D95CC_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// if (trackable == null)
RuntimeObject * L_0 = ___trackable0;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_0, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0019;
}
}
{
// throw new ArgumentNullException(nameof(trackable));
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_2 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_2, (String_t*)_stringLiteral05E5EBD9D5908CC9215021F08ACFBC4B58571C5C, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, ARTrackableManager_4_CanBeAddedToSubsystem_m192A127C8F1D1D3BF4CC6209F3BEFCAEBE4D95CC_RuntimeMethod_var);
}
IL_0019:
{
// if (!trackable.trackableId.Equals(TrackableId.invalidId))
RuntimeObject * L_3 = ___trackable0;
NullCheck((ARTrackable_2_tFB5BC23D5FD3AB51B17B8063892C2549AEA887D2 *)L_3);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_4 = (( TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 (*) (ARTrackable_2_tFB5BC23D5FD3AB51B17B8063892C2549AEA887D2 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)((ARTrackable_2_tFB5BC23D5FD3AB51B17B8063892C2549AEA887D2 *)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
V_0 = (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_4;
IL2CPP_RUNTIME_CLASS_INIT(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47_il2cpp_TypeInfo_var);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_5 = TrackableId_get_invalidId_mBE9FA1EC8F2EC1575C1B31666EA928A3382DF1CD_inline(/*hidden argument*/NULL);
bool L_6 = TrackableId_Equals_mCE458E0FDCDD6E339FCC1926EE88EB7B3D45F943((TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 *)(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 *)(&V_0), (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_5, /*hidden argument*/NULL);
if (L_6)
{
goto IL_0035;
}
}
{
// return false;
return (bool)0;
}
IL_0035:
{
// if (m_Trackables.ContainsKey(trackable.trackableId))
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_7 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
RuntimeObject * L_8 = ___trackable0;
NullCheck((ARTrackable_2_tFB5BC23D5FD3AB51B17B8063892C2549AEA887D2 *)L_8);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_9 = (( TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 (*) (ARTrackable_2_tFB5BC23D5FD3AB51B17B8063892C2549AEA887D2 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)((ARTrackable_2_tFB5BC23D5FD3AB51B17B8063892C2549AEA887D2 *)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_7);
bool L_10 = (( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_7, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16));
if (!L_10)
{
goto IL_004f;
}
}
{
// return false;
return (bool)0;
}
IL_004f:
{
// if (!enabled || subsystem == null)
NullCheck((Behaviour_tBDC7E9C3C898AD8348891B82D3E345801D920CA8 *)__this);
bool L_11 = Behaviour_get_enabled_mAA0C9ED5A3D1589C1C8AA22636543528DB353CFB((Behaviour_tBDC7E9C3C898AD8348891B82D3E345801D920CA8 *)__this, /*hidden argument*/NULL);
if (!L_11)
{
goto IL_0064;
}
}
{
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
RuntimeObject * L_12 = (( RuntimeObject * (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
if (L_12)
{
goto IL_0072;
}
}
IL_0064:
{
// trackable.pending = true;
RuntimeObject * L_13 = ___trackable0;
NullCheck((ARTrackable_2_tFB5BC23D5FD3AB51B17B8063892C2549AEA887D2 *)L_13);
(( void (*) (ARTrackable_2_tFB5BC23D5FD3AB51B17B8063892C2549AEA887D2 *, bool, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((ARTrackable_2_tFB5BC23D5FD3AB51B17B8063892C2549AEA887D2 *)L_13, (bool)1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
// return false;
return (bool)0;
}
IL_0072:
{
// return sessionOrigin && sessionOrigin.trackablesParent;
NullCheck((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_14 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_15 = Object_op_Implicit_m8B2A44B4B1406ED346D1AE6D962294FD58D0D534((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_14, /*hidden argument*/NULL);
if (!L_15)
{
goto IL_0090;
}
}
{
NullCheck((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_16 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_16);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_17 = ARSessionOrigin_get_trackablesParent_m37049D7E75CF694834A140C2EACB15D2D1098505_inline((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_16, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_18 = Object_op_Implicit_m8B2A44B4B1406ED346D1AE6D962294FD58D0D534((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_17, /*hidden argument*/NULL);
return L_18;
}
IL_0090:
{
return (bool)0;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::OnTrackablesParentTransformChanged(UnityEngine.XR.ARFoundation.ARTrackablesParentTransformChangedEventArgs)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnTrackablesParentTransformChanged_mB517A1E5668E0A7F1141DA3EB54E8D7CF3358BA2_gshared (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 * __this, ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 ___eventArgs0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_OnTrackablesParentTransformChanged_mB517A1E5668E0A7F1141DA3EB54E8D7CF3358BA2_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED V_0;
memset((&V_0), 0, sizeof(V_0));
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 V_1;
memset((&V_1), 0, sizeof(V_1));
RuntimeObject * V_2 = NULL;
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * V_3 = NULL;
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 V_4;
memset((&V_4), 0, sizeof(V_4));
{
// foreach (var trackable in trackables)
NullCheck((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this);
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 L_0 = (( TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 (*) (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 4)->methodPointer)((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 4));
V_1 = (TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 )L_0;
Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED L_1 = TrackableCollection_1_GetEnumerator_mBAA3D036F160A053757196D57318EC6B3F368D02((TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 *)(TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
V_0 = (Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED )L_1;
goto IL_0066;
}
IL_0011:
{
// foreach (var trackable in trackables)
RuntimeObject * L_2 = Enumerator_get_Current_m6D82C8CA15561A8D32BA77CB304C80AF57C4C77E((Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6));
V_2 = (RuntimeObject *)L_2;
// var transform = trackable.transform;
RuntimeObject * L_3 = V_2;
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_3);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_4 = Component_get_transform_m00F05BD782F920C301A7EBA480F3B7A904C07EC9((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_3, /*hidden argument*/NULL);
V_3 = (Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_4;
// if (transform.parent != eventArgs.trackablesParent)
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_5 = V_3;
NullCheck((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_5);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_6 = Transform_get_parent_m8FA24E38A1FA29D90CBF3CDC9F9F017C65BB3403((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_5, /*hidden argument*/NULL);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_7 = ARTrackablesParentTransformChangedEventArgs_get_trackablesParent_m124F9D34F6DA7E3FAB3E7CB9981820682219FE49_inline((ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 *)(ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 *)(&___eventArgs0), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_8 = Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_6, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_7, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_0066;
}
}
{
// var desiredPose = eventArgs.trackablesParent.TransformPose(trackable.sessionRelativePose);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_9 = ARTrackablesParentTransformChangedEventArgs_get_trackablesParent_m124F9D34F6DA7E3FAB3E7CB9981820682219FE49_inline((ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 *)(ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 *)(&___eventArgs0), /*hidden argument*/NULL);
RuntimeObject * L_10 = V_2;
NullCheck((ARTrackable_2_tFB5BC23D5FD3AB51B17B8063892C2549AEA887D2 *)L_10);
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_11 = (( Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 (*) (ARTrackable_2_tFB5BC23D5FD3AB51B17B8063892C2549AEA887D2 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20)->methodPointer)((ARTrackable_2_tFB5BC23D5FD3AB51B17B8063892C2549AEA887D2 *)L_10, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20));
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_12 = TransformExtensions_TransformPose_m677CE84C622BD23C3DDB2953DDB820E1934B0144((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_9, (Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 )L_11, /*hidden argument*/NULL);
V_4 = (Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 )L_12;
// transform.SetPositionAndRotation(desiredPose.position, desiredPose.rotation);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_13 = V_3;
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_14 = V_4;
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_15 = (Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 )L_14.get_position_0();
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_16 = V_4;
Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 L_17 = (Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 )L_16.get_rotation_1();
NullCheck((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_13);
Transform_SetPositionAndRotation_mDB9B34321018846FD7E2315CBE8D4A6612E3DE43((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_13, (Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 )L_15, (Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 )L_17, /*hidden argument*/NULL);
}
IL_0066:
{
// foreach (var trackable in trackables)
bool L_18 = Enumerator_MoveNext_mF64DBEA38614B8A6E085DFC09DD2745BE2ACB9BE((Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
if (L_18)
{
goto IL_0011;
}
}
{
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::Update()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_Update_m3E8E5734915EDB40E56CC550FD6524977638E62D_gshared (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_Update_m3E8E5734915EDB40E56CC550FD6524977638E62D_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 V_0;
memset((&V_0), 0, sizeof(V_0));
TrackableChanges_1_t5B1E235F751BB96851611F0EE82810617DA588C7 V_1;
memset((&V_1), 0, sizeof(V_1));
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 V_2;
memset((&V_2), 0, sizeof(V_2));
NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 V_3;
memset((&V_3), 0, sizeof(V_3));
Enumerator_t158B5E773B6F750F2C6D7BD27EEC905FE29D4EC3 V_4;
memset((&V_4), 0, sizeof(V_4));
XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 V_5;
memset((&V_5), 0, sizeof(V_5));
XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 V_6;
memset((&V_6), 0, sizeof(V_6));
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 V_7;
memset((&V_7), 0, sizeof(V_7));
Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A V_8;
memset((&V_8), 0, sizeof(V_8));
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 V_9;
memset((&V_9), 0, sizeof(V_9));
RuntimeObject * V_10 = NULL;
Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD V_11;
memset((&V_11), 0, sizeof(V_11));
RuntimeObject * V_12 = 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) * 5);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
// if (subsystem == null || !subsystem.running)
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
RuntimeObject * L_0 = (( RuntimeObject * (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
if (!L_0)
{
goto IL_001f;
}
}
{
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
RuntimeObject * L_1 = (( RuntimeObject * (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
NullCheck((Subsystem_t17E4AEB5537DC8AECC37EC3F6FCB46CC7D2C73F6 *)L_1);
bool L_2 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.Subsystem::get_running() */, (Subsystem_t17E4AEB5537DC8AECC37EC3F6FCB46CC7D2C73F6 *)L_1);
if (L_2)
{
goto IL_0020;
}
}
IL_001f:
{
// return;
return;
}
IL_0020:
{
// using (new ScopedProfiler("GetChanges"))
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_0), (String_t*)_stringLiteralE68C28CA8FA3E38258B2081639EE5D1C7F58849B, /*hidden argument*/NULL);
}
IL_002c:
try
{ // begin try (depth: 1)
{
// using (var changes = subsystem.GetChanges(Allocator.Temp))
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
RuntimeObject * L_3 = (( RuntimeObject * (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
NullCheck((TrackingSubsystem_2_tF85E28B67FC3325EEB52CE2A8DA0361B2BD80909 *)L_3);
TrackableChanges_1_t5B1E235F751BB96851611F0EE82810617DA588C7 L_4 = VirtFuncInvoker1< TrackableChanges_1_t5B1E235F751BB96851611F0EE82810617DA588C7 , int32_t >::Invoke(14 /* UnityEngine.XR.ARSubsystems.TrackableChanges`1<!0> UnityEngine.XR.ARSubsystems.TrackingSubsystem`2<UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::GetChanges(Unity.Collections.Allocator) */, (TrackingSubsystem_2_tF85E28B67FC3325EEB52CE2A8DA0361B2BD80909 *)L_3, (int32_t)2);
V_1 = (TrackableChanges_1_t5B1E235F751BB96851611F0EE82810617DA588C7 )L_4;
}
IL_003e:
try
{ // begin try (depth: 2)
{
// using (new ScopedProfiler("ProcessAdded"))
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 L_5;
memset((&L_5), 0, sizeof(L_5));
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((&L_5), (String_t*)_stringLiteral8CC52613125F0E802A5E603C37A6CAE800639F62, /*hidden argument*/NULL);
V_2 = (ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 )L_5;
}
IL_0049:
try
{ // begin try (depth: 3)
{
// ClearAndSetCapacity(s_Added, changes.added.Length);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_6 = ((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Added_11();
NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 L_7 = TrackableChanges_1_get_added_mE0848158257AE8C982CC5C7DD696842859B17723_inline((TrackableChanges_1_t5B1E235F751BB96851611F0EE82810617DA588C7 *)(TrackableChanges_1_t5B1E235F751BB96851611F0EE82810617DA588C7 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
V_3 = (NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 )L_7;
int32_t L_8 = IL2CPP_NATIVEARRAY_GET_LENGTH(((NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 *)(NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 *)(&V_3))->___m_Length_1);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_6, (int32_t)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24));
// foreach (var added in changes.added)
NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 L_9 = TrackableChanges_1_get_added_mE0848158257AE8C982CC5C7DD696842859B17723_inline((TrackableChanges_1_t5B1E235F751BB96851611F0EE82810617DA588C7 *)(TrackableChanges_1_t5B1E235F751BB96851611F0EE82810617DA588C7 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
V_3 = (NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 )L_9;
Enumerator_t158B5E773B6F750F2C6D7BD27EEC905FE29D4EC3 L_10 = NativeArray_1_GetEnumerator_mD5FEB0B6EF497A65DE9187958E008723BE8981E7((NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 *)(NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 *)(&V_3), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
V_4 = (Enumerator_t158B5E773B6F750F2C6D7BD27EEC905FE29D4EC3 )L_10;
}
IL_0073:
try
{ // begin try (depth: 4)
{
goto IL_0090;
}
IL_0075:
{
// foreach (var added in changes.added)
XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 L_11 = Enumerator_get_Current_m81E1E9519EA58C5D399B6735E1B774FB93B8679B((Enumerator_t158B5E773B6F750F2C6D7BD27EEC905FE29D4EC3 *)(Enumerator_t158B5E773B6F750F2C6D7BD27EEC905FE29D4EC3 *)(&V_4), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
V_5 = (XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 )L_11;
// s_Added.Add(CreateOrUpdateTrackable(added));
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_12 = ((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Added_11();
XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 L_13 = V_5;
NullCheck((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this);
RuntimeObject * L_14 = (( RuntimeObject * (*) (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *, XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this, (XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 )L_13, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_12);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_12, (RuntimeObject *)L_14, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_0090:
{
// foreach (var added in changes.added)
bool L_15 = Enumerator_MoveNext_m11411148FF107FC87205476D9278B77EC39F1428((Enumerator_t158B5E773B6F750F2C6D7BD27EEC905FE29D4EC3 *)(Enumerator_t158B5E773B6F750F2C6D7BD27EEC905FE29D4EC3 *)(&V_4), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29));
if (L_15)
{
goto IL_0075;
}
}
IL_0099:
{
IL2CPP_LEAVE(0xB7, FINALLY_009b);
}
} // end try (depth: 4)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_009b;
}
FINALLY_009b:
{ // begin finally (depth: 4)
Il2CppFakeBox<Enumerator_t158B5E773B6F750F2C6D7BD27EEC905FE29D4EC3 > L_16(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 30), (&V_4));
const VirtualInvokeData& il2cpp_virtual_invoke_data__163 = il2cpp_codegen_get_interface_invoke_data(0, (&L_16), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__163.methodPtr)((RuntimeObject*)(&L_16), /*hidden argument*/il2cpp_virtual_invoke_data__163.method);
V_4 = L_16.m_Value;
IL2CPP_END_FINALLY(155)
} // end finally (depth: 4)
IL2CPP_CLEANUP(155)
{
IL2CPP_END_CLEANUP(0xB7, FINALLY_00a9);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 3)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00a9;
}
FINALLY_00a9:
{ // begin finally (depth: 3)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_2), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(169)
} // end finally (depth: 3)
IL2CPP_CLEANUP(169)
{
IL2CPP_JUMP_TBL(0xB7, IL_00b7)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00b7:
{
// using (new ScopedProfiler("ProcessUpdated"))
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 L_17;
memset((&L_17), 0, sizeof(L_17));
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((&L_17), (String_t*)_stringLiteralD84182942D9EE680B64113858F0F32DEDC108F25, /*hidden argument*/NULL);
V_2 = (ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 )L_17;
}
IL_00c2:
try
{ // begin try (depth: 3)
{
// ClearAndSetCapacity(s_Updated, changes.updated.Length);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_18 = ((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Updated_12();
NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 L_19 = TrackableChanges_1_get_updated_mB2CED16796CCEF038435DE562D4559E8253C913C_inline((TrackableChanges_1_t5B1E235F751BB96851611F0EE82810617DA588C7 *)(TrackableChanges_1_t5B1E235F751BB96851611F0EE82810617DA588C7 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
V_3 = (NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 )L_19;
int32_t L_20 = IL2CPP_NATIVEARRAY_GET_LENGTH(((NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 *)(NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 *)(&V_3))->___m_Length_1);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_18, (int32_t)L_20, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24));
// foreach (var updated in changes.updated)
NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 L_21 = TrackableChanges_1_get_updated_mB2CED16796CCEF038435DE562D4559E8253C913C_inline((TrackableChanges_1_t5B1E235F751BB96851611F0EE82810617DA588C7 *)(TrackableChanges_1_t5B1E235F751BB96851611F0EE82810617DA588C7 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
V_3 = (NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 )L_21;
Enumerator_t158B5E773B6F750F2C6D7BD27EEC905FE29D4EC3 L_22 = NativeArray_1_GetEnumerator_mD5FEB0B6EF497A65DE9187958E008723BE8981E7((NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 *)(NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 *)(&V_3), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
V_4 = (Enumerator_t158B5E773B6F750F2C6D7BD27EEC905FE29D4EC3 )L_22;
}
IL_00ec:
try
{ // begin try (depth: 4)
{
goto IL_0109;
}
IL_00ee:
{
// foreach (var updated in changes.updated)
XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 L_23 = Enumerator_get_Current_m81E1E9519EA58C5D399B6735E1B774FB93B8679B((Enumerator_t158B5E773B6F750F2C6D7BD27EEC905FE29D4EC3 *)(Enumerator_t158B5E773B6F750F2C6D7BD27EEC905FE29D4EC3 *)(&V_4), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
V_6 = (XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 )L_23;
// s_Updated.Add(CreateOrUpdateTrackable(updated));
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_24 = ((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Updated_12();
XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 L_25 = V_6;
NullCheck((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this);
RuntimeObject * L_26 = (( RuntimeObject * (*) (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *, XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this, (XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 )L_25, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_24);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_24, (RuntimeObject *)L_26, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_0109:
{
// foreach (var updated in changes.updated)
bool L_27 = Enumerator_MoveNext_m11411148FF107FC87205476D9278B77EC39F1428((Enumerator_t158B5E773B6F750F2C6D7BD27EEC905FE29D4EC3 *)(Enumerator_t158B5E773B6F750F2C6D7BD27EEC905FE29D4EC3 *)(&V_4), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29));
if (L_27)
{
goto IL_00ee;
}
}
IL_0112:
{
IL2CPP_LEAVE(0x130, FINALLY_0114);
}
} // end try (depth: 4)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0114;
}
FINALLY_0114:
{ // begin finally (depth: 4)
Il2CppFakeBox<Enumerator_t158B5E773B6F750F2C6D7BD27EEC905FE29D4EC3 > L_28(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 30), (&V_4));
const VirtualInvokeData& il2cpp_virtual_invoke_data__284 = il2cpp_codegen_get_interface_invoke_data(0, (&L_28), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__284.methodPtr)((RuntimeObject*)(&L_28), /*hidden argument*/il2cpp_virtual_invoke_data__284.method);
V_4 = L_28.m_Value;
IL2CPP_END_FINALLY(276)
} // end finally (depth: 4)
IL2CPP_CLEANUP(276)
{
IL2CPP_END_CLEANUP(0x130, FINALLY_0122);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 3)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0122;
}
FINALLY_0122:
{ // begin finally (depth: 3)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_2), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(290)
} // end finally (depth: 3)
IL2CPP_CLEANUP(290)
{
IL2CPP_JUMP_TBL(0x130, IL_0130)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0130:
{
// using (new ScopedProfiler("ProcessRemoved"))
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 L_29;
memset((&L_29), 0, sizeof(L_29));
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((&L_29), (String_t*)_stringLiteralC0371E7E1DB9F795AC51193C554BD9BEF51AD664, /*hidden argument*/NULL);
V_2 = (ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 )L_29;
}
IL_013b:
try
{ // begin try (depth: 3)
{
// ClearAndSetCapacity(s_Removed, changes.removed.Length);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_30 = ((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 L_31 = TrackableChanges_1_get_removed_m069C4B80B5FE4272B0281B25ABD38C0505A9737F_inline((TrackableChanges_1_t5B1E235F751BB96851611F0EE82810617DA588C7 *)(TrackableChanges_1_t5B1E235F751BB96851611F0EE82810617DA588C7 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
V_7 = (NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 )L_31;
int32_t L_32 = IL2CPP_NATIVEARRAY_GET_LENGTH(((NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 *)(NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 *)(&V_7))->___m_Length_1);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_30, (int32_t)L_32, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24));
// foreach (var trackableId in changes.removed)
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 L_33 = TrackableChanges_1_get_removed_m069C4B80B5FE4272B0281B25ABD38C0505A9737F_inline((TrackableChanges_1_t5B1E235F751BB96851611F0EE82810617DA588C7 *)(TrackableChanges_1_t5B1E235F751BB96851611F0EE82810617DA588C7 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
V_7 = (NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 )L_33;
Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A L_34 = NativeArray_1_GetEnumerator_m3B6CA1981A8CE62A1C67FCEEBE1887CD32906DA2((NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 *)(NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 *)(&V_7), /*hidden argument*/NativeArray_1_GetEnumerator_m3B6CA1981A8CE62A1C67FCEEBE1887CD32906DA2_RuntimeMethod_var);
V_8 = (Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A )L_34;
}
IL_0167:
try
{ // begin try (depth: 4)
{
goto IL_01ab;
}
IL_0169:
{
// foreach (var trackableId in changes.removed)
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_35 = Enumerator_get_Current_m913D10AD892E19937C638773D208459E9862248D((Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A *)(Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A *)(&V_8), /*hidden argument*/Enumerator_get_Current_m913D10AD892E19937C638773D208459E9862248D_RuntimeMethod_var);
V_9 = (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_35;
// if (m_Trackables.TryGetValue(trackableId, out var trackable))
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_36 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_37 = V_9;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_36);
bool L_38 = (( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject **, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_36, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_37, (RuntimeObject **)(RuntimeObject **)(&V_10), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
if (!L_38)
{
goto IL_01ab;
}
}
IL_0183:
{
// m_Trackables.Remove(trackableId);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_39 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_40 = V_9;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_39);
(( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_39, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_40, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
// if (trackable)
RuntimeObject * L_41 = V_10;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_42 = Object_op_Implicit_m8B2A44B4B1406ED346D1AE6D962294FD58D0D534((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_41, /*hidden argument*/NULL);
if (!L_42)
{
goto IL_01ab;
}
}
IL_019f:
{
// s_Removed.Add(trackable);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_43 = ((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
RuntimeObject * L_44 = V_10;
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_43);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_43, (RuntimeObject *)L_44, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_01ab:
{
// foreach (var trackableId in changes.removed)
bool L_45 = Enumerator_MoveNext_m3C4C0B0B1AE71E65EF8255E6FC671DDBC829B6AA((Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A *)(Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A *)(&V_8), /*hidden argument*/Enumerator_MoveNext_m3C4C0B0B1AE71E65EF8255E6FC671DDBC829B6AA_RuntimeMethod_var);
if (L_45)
{
goto IL_0169;
}
}
IL_01b4:
{
IL2CPP_LEAVE(0x1EE, FINALLY_01b6);
}
} // end try (depth: 4)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01b6;
}
FINALLY_01b6:
{ // begin finally (depth: 4)
Il2CppFakeBox<Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A > L_46(Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A_il2cpp_TypeInfo_var, (&V_8));
const VirtualInvokeData& il2cpp_virtual_invoke_data__446 = il2cpp_codegen_get_interface_invoke_data(0, (&L_46), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__446.methodPtr)((RuntimeObject*)(&L_46), /*hidden argument*/il2cpp_virtual_invoke_data__446.method);
V_8 = L_46.m_Value;
IL2CPP_END_FINALLY(438)
} // end finally (depth: 4)
IL2CPP_CLEANUP(438)
{
IL2CPP_END_CLEANUP(0x1EE, FINALLY_01c4);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 3)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01c4;
}
FINALLY_01c4:
{ // begin finally (depth: 3)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_2), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(452)
} // end finally (depth: 3)
IL2CPP_CLEANUP(452)
{
IL2CPP_END_CLEANUP(0x1EE, FINALLY_01d2);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01d2;
}
FINALLY_01d2:
{ // begin finally (depth: 2)
Il2CppFakeBox<TrackableChanges_1_t5B1E235F751BB96851611F0EE82810617DA588C7 > L_47(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 35), (&V_1));
const VirtualInvokeData& il2cpp_virtual_invoke_data__474 = il2cpp_codegen_get_interface_invoke_data(0, (&L_47), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__474.methodPtr)((RuntimeObject*)(&L_47), /*hidden argument*/il2cpp_virtual_invoke_data__474.method);
V_1 = L_47.m_Value;
IL2CPP_END_FINALLY(466)
} // end finally (depth: 2)
IL2CPP_CLEANUP(466)
{
IL2CPP_END_CLEANUP(0x1EE, FINALLY_01e0);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01e0;
}
FINALLY_01e0:
{ // begin finally (depth: 1)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_0), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(480)
} // end finally (depth: 1)
IL2CPP_CLEANUP(480)
{
IL2CPP_JUMP_TBL(0x1EE, IL_01ee)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_01ee:
{
}
IL_01ef:
try
{ // begin try (depth: 1)
{
// if ((s_Added.Count) > 0 ||
// (s_Updated.Count) > 0 ||
// (s_Removed.Count) > 0)
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_48 = ((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Added_11();
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_48);
int32_t L_49 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_48, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36));
if ((((int32_t)L_49) > ((int32_t)0)))
{
goto IL_0216;
}
}
IL_01fc:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_50 = ((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Updated_12();
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_50);
int32_t L_51 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_50, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36));
if ((((int32_t)L_51) > ((int32_t)0)))
{
goto IL_0216;
}
}
IL_0209:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_52 = ((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_52);
int32_t L_53 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_52, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36));
if ((((int32_t)L_53) <= ((int32_t)0)))
{
goto IL_022b;
}
}
IL_0216:
{
// OnTrackablesChanged(s_Added, s_Updated, s_Removed);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_54 = ((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Added_11();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_55 = ((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Updated_12();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_56 = ((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
NullCheck((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this);
VirtActionInvoker3< List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * >::Invoke(13 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::OnTrackablesChanged(System.Collections.Generic.List`1<TTrackable>,System.Collections.Generic.List`1<TTrackable>,System.Collections.Generic.List`1<TTrackable>) */, (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this, (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_54, (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_55, (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_56);
}
IL_022b:
{
// }
IL2CPP_LEAVE(0x266, FINALLY_022d);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_022d;
}
FINALLY_022d:
{ // begin finally (depth: 1)
{
// foreach (var removed in s_Removed)
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_57 = ((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_57);
Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD L_58 = (( Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_57, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38));
V_11 = (Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD )L_58;
}
IL_0239:
try
{ // begin try (depth: 2)
{
goto IL_024c;
}
IL_023b:
{
// foreach (var removed in s_Removed)
RuntimeObject * L_59 = Enumerator_get_Current_mD7829C7E8CFBEDD463B15A951CDE9B90A12CC55C_inline((Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD *)(Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD *)(&V_11), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 39));
V_12 = (RuntimeObject *)L_59;
// DestroyTrackable(removed);
RuntimeObject * L_60 = V_12;
NullCheck((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this);
(( void (*) (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40)->methodPointer)((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this, (RuntimeObject *)L_60, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40));
}
IL_024c:
{
// foreach (var removed in s_Removed)
bool L_61 = Enumerator_MoveNext_m38B1099DDAD7EEDE2F4CDAB11C095AC784AC2E34((Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD *)(Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD *)(&V_11), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 41));
if (L_61)
{
goto IL_023b;
}
}
IL_0255:
{
IL2CPP_LEAVE(0x265, FINALLY_0257);
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0257;
}
FINALLY_0257:
{ // begin finally (depth: 2)
Il2CppFakeBox<Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD > L_62(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 42), (&V_11));
const VirtualInvokeData& il2cpp_virtual_invoke_data__607 = il2cpp_codegen_get_interface_invoke_data(0, (&L_62), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__607.methodPtr)((RuntimeObject*)(&L_62), /*hidden argument*/il2cpp_virtual_invoke_data__607.method);
V_11 = L_62.m_Value;
IL2CPP_END_FINALLY(599)
} // end finally (depth: 2)
IL2CPP_CLEANUP(599)
{
IL2CPP_JUMP_TBL(0x265, IL_0265)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0265:
{
// }
IL2CPP_END_FINALLY(557)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(557)
{
IL2CPP_JUMP_TBL(0x266, IL_0266)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0266:
{
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::OnTrackablesChanged(System.Collections.Generic.List`1<TTrackable>,System.Collections.Generic.List`1<TTrackable>,System.Collections.Generic.List`1<TTrackable>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnTrackablesChanged_m991828FD886C2AB1ED19B003EB88666E7F5678E5_gshared (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 * __this, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___added0, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___updated1, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___removed2, const RuntimeMethod* method)
{
{
// { }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::OnCreateTrackable(TTrackable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnCreateTrackable_m5FE21177E496D265FD40D001AB11BA1437C47F9E_gshared (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 * __this, RuntimeObject * ___trackable0, const RuntimeMethod* method)
{
{
// { }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::OnAfterSetSessionRelativeData(TTrackable,TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnAfterSetSessionRelativeData_mA9C018F271C73AE5DA65E191BDEFEEFF77B1602E_gshared (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 * __this, RuntimeObject * ___trackable0, XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 ___sessionRelativeData1, const RuntimeMethod* method)
{
{
// { }
return;
}
}
// TTrackable UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::CreateTrackableImmediate(TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * ARTrackableManager_4_CreateTrackableImmediate_mDE535BABFB0A2331DE38106B61B4E3C9562328D1_gshared (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 * __this, XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 ___sessionRelativeData0, const RuntimeMethod* method)
{
RuntimeObject * V_0 = NULL;
{
// var trackable = CreateOrUpdateTrackable(sessionRelativeData);
XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 L_0 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this);
RuntimeObject * L_1 = (( RuntimeObject * (*) (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *, XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this, (XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
V_0 = (RuntimeObject *)L_1;
// trackable.pending = true;
RuntimeObject * L_2 = V_0;
NullCheck((ARTrackable_2_tFB5BC23D5FD3AB51B17B8063892C2549AEA887D2 *)L_2);
(( void (*) (ARTrackable_2_tFB5BC23D5FD3AB51B17B8063892C2549AEA887D2 *, bool, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((ARTrackable_2_tFB5BC23D5FD3AB51B17B8063892C2549AEA887D2 *)L_2, (bool)1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
// m_PendingAdds.Add(trackable.trackableId, trackable);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_3 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
RuntimeObject * L_4 = V_0;
NullCheck((ARTrackable_2_tFB5BC23D5FD3AB51B17B8063892C2549AEA887D2 *)L_4);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_5 = (( TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 (*) (ARTrackable_2_tFB5BC23D5FD3AB51B17B8063892C2549AEA887D2 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)((ARTrackable_2_tFB5BC23D5FD3AB51B17B8063892C2549AEA887D2 *)L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
RuntimeObject * L_6 = V_0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_3);
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_3, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_5, (RuntimeObject *)L_6, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43));
// return trackable;
RuntimeObject * L_7 = V_0;
return L_7;
}
}
// System.Boolean UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::DestroyPendingTrackable(UnityEngine.XR.ARSubsystems.TrackableId)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ARTrackableManager_4_DestroyPendingTrackable_m38C8677B1921DEB849E90D322E78D3E735991287_gshared (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 * __this, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___trackableId0, const RuntimeMethod* method)
{
RuntimeObject * V_0 = NULL;
{
// if (m_PendingAdds.TryGetValue(trackableId, out var trackable))
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_0 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_1 = ___trackableId0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_0);
bool L_2 = (( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject **, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_0, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_1, (RuntimeObject **)(RuntimeObject **)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
if (!L_2)
{
goto IL_0033;
}
}
{
// m_PendingAdds.Remove(trackableId);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_3 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_4 = ___trackableId0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_3);
(( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_3, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
// m_Trackables.Remove(trackableId);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_5 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_6 = ___trackableId0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_5);
(( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_5, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_6, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
// DestroyTrackable(trackable);
RuntimeObject * L_7 = V_0;
NullCheck((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this);
(( void (*) (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40)->methodPointer)((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this, (RuntimeObject *)L_7, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40));
// return true;
return (bool)1;
}
IL_0033:
{
// return false;
return (bool)0;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::ClearAndSetCapacity(System.Collections.Generic.List`1<TTrackable>,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_ClearAndSetCapacity_mBB0F0FB3E066922FCC30C9114F4D59B1D6EAD645_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___list0, int32_t ___capacity1, const RuntimeMethod* method)
{
{
// list.Clear();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_0 = ___list0;
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_0);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 44)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 44));
// if (list.Capacity < capacity)
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_1 = ___list0;
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_1);
int32_t L_2 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 45)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 45));
int32_t L_3 = ___capacity1;
if ((((int32_t)L_2) >= ((int32_t)L_3)))
{
goto IL_0016;
}
}
{
// list.Capacity = capacity;
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_4 = ___list0;
int32_t L_5 = ___capacity1;
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_4);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 46)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_4, (int32_t)L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 46));
}
IL_0016:
{
// }
return;
}
}
// System.String UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::GetTrackableName(UnityEngine.XR.ARSubsystems.TrackableId)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* ARTrackableManager_4_GetTrackableName_m543806D46614E1A6555A74B0C20DD8C68F20CFD7_gshared (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 * __this, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___trackableId0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_GetTrackableName_m543806D46614E1A6555A74B0C20DD8C68F20CFD7_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// return gameObjectName + " " + trackableId.ToString();
NullCheck((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this);
String_t* L_0 = VirtFuncInvoker0< String_t* >::Invoke(9 /* System.String UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::get_gameObjectName() */, (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this);
String_t* L_1 = TrackableId_ToString_mBA49191865E57697F4279D2781B182590726A215((TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 *)(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 *)(&___trackableId0), /*hidden argument*/NULL);
String_t* L_2 = String_Concat_mF4626905368D6558695A823466A1AF65EADB9923((String_t*)L_0, (String_t*)_stringLiteralB858CB282617FB0956D960215C8E84D1CCF909C6, (String_t*)L_1, /*hidden argument*/NULL);
return L_2;
}
}
// System.ValueTuple`2<UnityEngine.GameObject,System.Boolean> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::CreateGameObjectDeactivated()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 ARTrackableManager_4_CreateGameObjectDeactivated_m6BDB60717D4C75AC4CAC9D66C5104DD2DAA30B93_gshared (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_CreateGameObjectDeactivated_m6BDB60717D4C75AC4CAC9D66C5104DD2DAA30B93_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * V_0 = NULL;
bool V_1 = false;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * V_2 = NULL;
{
// var prefab = GetPrefab();
NullCheck((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_0 = VirtFuncInvoker0< GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * >::Invoke(10 /* UnityEngine.GameObject UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::GetPrefab() */, (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this);
V_0 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_0;
// if (prefab == null)
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_1 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_1, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0039;
}
}
{
// var gameObject = new GameObject();
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_3 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)il2cpp_codegen_object_new(GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F_il2cpp_TypeInfo_var);
GameObject__ctor_mA4DFA8F4471418C248E95B55070665EF344B4B2D(L_3, /*hidden argument*/NULL);
// gameObject.SetActive(false);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_4 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_3;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_4);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_4, (bool)0, /*hidden argument*/NULL);
// gameObject.transform.parent = sessionOrigin.trackablesParent;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_5 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_4;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_6 = GameObject_get_transform_mA5C38857137F137CB96C69FAA624199EB1C2FB2C((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5, /*hidden argument*/NULL);
NullCheck((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_7 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_7);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_8 = ARSessionOrigin_get_trackablesParent_m37049D7E75CF694834A140C2EACB15D2D1098505_inline((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_7, /*hidden argument*/NULL);
NullCheck((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_6);
Transform_set_parent_m65B8E4660B2C554069C57A957D9E55FECA7AA73E((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_6, (Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_8, /*hidden argument*/NULL);
// return (gameObject, true);
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_9;
memset((&L_9), 0, sizeof(L_9));
ValueTuple_2__ctor_m73A57D85868E9347B9DCD08AB9585E9B191478F7((&L_9), (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5, (bool)1, /*hidden argument*/ValueTuple_2__ctor_m73A57D85868E9347B9DCD08AB9585E9B191478F7_RuntimeMethod_var);
return L_9;
}
IL_0039:
{
// var active = prefab.activeSelf;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_10 = V_0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_10);
bool L_11 = GameObject_get_activeSelf_mFE1834886CAE59884AC2BE707A3B821A1DB61F44((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_10, /*hidden argument*/NULL);
V_1 = (bool)L_11;
// prefab.SetActive(false);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_12 = V_0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_12);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_12, (bool)0, /*hidden argument*/NULL);
// var gameObject = Instantiate(prefab, sessionOrigin.trackablesParent);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_13 = V_0;
NullCheck((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_14 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_14);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_15 = ARSessionOrigin_get_trackablesParent_m37049D7E75CF694834A140C2EACB15D2D1098505_inline((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_14, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_16 = Object_Instantiate_TisGameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F_m1CDF66D563B03D37B37264800222D4F3B307EDA0((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_13, (Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_15, /*hidden argument*/Object_Instantiate_TisGameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F_m1CDF66D563B03D37B37264800222D4F3B307EDA0_RuntimeMethod_var);
V_2 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_16;
// prefab.SetActive(active);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_17 = V_0;
bool L_18 = V_1;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_17);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_17, (bool)L_18, /*hidden argument*/NULL);
// return (gameObject, active);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_19 = V_2;
bool L_20 = V_1;
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_21;
memset((&L_21), 0, sizeof(L_21));
ValueTuple_2__ctor_m73A57D85868E9347B9DCD08AB9585E9B191478F7((&L_21), (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_19, (bool)L_20, /*hidden argument*/ValueTuple_2__ctor_m73A57D85868E9347B9DCD08AB9585E9B191478F7_RuntimeMethod_var);
return L_21;
}
}
// System.ValueTuple`2<UnityEngine.GameObject,System.Boolean> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::CreateGameObjectDeactivated(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 ARTrackableManager_4_CreateGameObjectDeactivated_m4A394AA90AEA3A38436166DE448557C1B09F9335_gshared (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 * __this, String_t* ___name0, const RuntimeMethod* method)
{
{
// var tuple = CreateGameObjectDeactivated();
NullCheck((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this);
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_0 = (( ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 (*) (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 49)->methodPointer)((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 49));
// tuple.gameObject.name = name;
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_1 = (ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 )L_0;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_2 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_1.get_Item1_0();
String_t* L_3 = ___name0;
NullCheck((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_2);
Object_set_name_m538711B144CDE30F929376BCF72D0DC8F85D0826((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_2, (String_t*)L_3, /*hidden argument*/NULL);
// return tuple;
return L_1;
}
}
// System.ValueTuple`2<UnityEngine.GameObject,System.Boolean> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::CreateGameObjectDeactivated(UnityEngine.XR.ARSubsystems.TrackableId)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 ARTrackableManager_4_CreateGameObjectDeactivated_m6B06DF37D443A1996F2E86C48B5F2F7177AD1C78_gshared (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 * __this, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___trackableId0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_CreateGameObjectDeactivated_m6B06DF37D443A1996F2E86C48B5F2F7177AD1C78_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 V_0;
memset((&V_0), 0, sizeof(V_0));
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 V_1;
memset((&V_1), 0, sizeof(V_1));
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);
{
// using (new ScopedProfiler("CreateGameObject"))
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_0), (String_t*)_stringLiteralA1BA014E93BB1085A758A3F66948C9CAC874B9BD, /*hidden argument*/NULL);
}
IL_000c:
try
{ // begin try (depth: 1)
// return CreateGameObjectDeactivated(GetTrackableName(trackableId));
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = ___trackableId0;
NullCheck((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this);
String_t* L_1 = (( String_t* (*) (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 50)->methodPointer)((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 50));
NullCheck((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this);
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_2 = (( ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 (*) (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *, String_t*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 51)->methodPointer)((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this, (String_t*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 51));
V_1 = (ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 )L_2;
IL2CPP_LEAVE(0x2A, FINALLY_001c);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_001c;
}
FINALLY_001c:
{ // begin finally (depth: 1)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_0), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(28)
} // end finally (depth: 1)
IL2CPP_CLEANUP(28)
{
IL2CPP_JUMP_TBL(0x2A, IL_002a)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_002a:
{
// }
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_3 = V_1;
return L_3;
}
}
// TTrackable UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::CreateTrackable(TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * ARTrackableManager_4_CreateTrackable_m616791A94DABEB3EB866916D14FD456600B08DFE_gshared (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 * __this, XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 ___sessionRelativeData0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_CreateTrackable_m616791A94DABEB3EB866916D14FD456600B08DFE_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * V_0 = NULL;
bool V_1 = false;
RuntimeObject * V_2 = NULL;
{
// var (gameObject, shouldBeActive) = CreateGameObjectDeactivated(sessionRelativeData.trackableId);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = XREnvironmentProbe_get_trackableId_m2F7F8DCE954C099E60807742B6A4B27DA2F30085_inline((XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 *)(XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 *)(&___sessionRelativeData0), /*hidden argument*/NULL);
NullCheck((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this);
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_1 = (( ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 (*) (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 53)->methodPointer)((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 53));
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_2 = (ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 )L_1;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_3 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_2.get_Item1_0();
V_0 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_3;
bool L_4 = (bool)L_2.get_Item2_1();
V_1 = (bool)L_4;
// var trackable = gameObject.GetComponent<TTrackable>();
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_5 = V_0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5);
RuntimeObject * L_6 = (( RuntimeObject * (*) (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 54)->methodPointer)((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 54));
V_2 = (RuntimeObject *)L_6;
// if (trackable == null)
RuntimeObject * L_7 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_8 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_7, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_003c;
}
}
{
// trackable = gameObject.AddComponent<TTrackable>();
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_9 = V_0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_9);
RuntimeObject * L_10 = (( RuntimeObject * (*) (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 55)->methodPointer)((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 55));
V_2 = (RuntimeObject *)L_10;
}
IL_003c:
{
// m_Trackables.Add(sessionRelativeData.trackableId, trackable);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_11 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_12 = XREnvironmentProbe_get_trackableId_m2F7F8DCE954C099E60807742B6A4B27DA2F30085_inline((XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 *)(XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 *)(&___sessionRelativeData0), /*hidden argument*/NULL);
RuntimeObject * L_13 = V_2;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_11);
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_11, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_12, (RuntimeObject *)L_13, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43));
// SetSessionRelativeData(trackable, sessionRelativeData);
RuntimeObject * L_14 = V_2;
XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 L_15 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this);
(( void (*) (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *, RuntimeObject *, XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56)->methodPointer)((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this, (RuntimeObject *)L_14, (XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 )L_15, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56));
// trackable.gameObject.SetActive(shouldBeActive);
RuntimeObject * L_16 = V_2;
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_16);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_17 = Component_get_gameObject_m0B0570BA8DDD3CD78A9DB568EA18D7317686603C((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_16, /*hidden argument*/NULL);
bool L_18 = V_1;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_17);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_17, (bool)L_18, /*hidden argument*/NULL);
// return trackable;
RuntimeObject * L_19 = V_2;
return L_19;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::SetSessionRelativeData(TTrackable,TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_SetSessionRelativeData_mB69B40B9244DA56FF15595BE40C879F3C03A52E0_gshared (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 * __this, RuntimeObject * ___trackable0, XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 ___data1, const RuntimeMethod* method)
{
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// trackable.SetSessionRelativeData(data);
RuntimeObject * L_0 = ___trackable0;
XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 L_1 = ___data1;
NullCheck((ARTrackable_2_tFB5BC23D5FD3AB51B17B8063892C2549AEA887D2 *)L_0);
(( void (*) (ARTrackable_2_tFB5BC23D5FD3AB51B17B8063892C2549AEA887D2 *, XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 57)->methodPointer)((ARTrackable_2_tFB5BC23D5FD3AB51B17B8063892C2549AEA887D2 *)L_0, (XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 )L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 57));
// var worldSpacePose = sessionOrigin.trackablesParent.TransformPose(data.pose);
NullCheck((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_2 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_2);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_3 = ARSessionOrigin_get_trackablesParent_m37049D7E75CF694834A140C2EACB15D2D1098505_inline((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_2, /*hidden argument*/NULL);
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_4 = XREnvironmentProbe_get_pose_m2CF6BF7E554B1225E99947B620D2C029499E7996_inline((XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 *)(XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 *)(&___data1), /*hidden argument*/NULL);
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_5 = TransformExtensions_TransformPose_m677CE84C622BD23C3DDB2953DDB820E1934B0144((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_3, (Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 )L_4, /*hidden argument*/NULL);
V_0 = (Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 )L_5;
// trackable.transform.SetPositionAndRotation(worldSpacePose.position, worldSpacePose.rotation);
RuntimeObject * L_6 = ___trackable0;
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_6);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_7 = Component_get_transform_m00F05BD782F920C301A7EBA480F3B7A904C07EC9((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_6, /*hidden argument*/NULL);
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_8 = V_0;
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_9 = (Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 )L_8.get_position_0();
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_10 = V_0;
Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 L_11 = (Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 )L_10.get_rotation_1();
NullCheck((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_7);
Transform_SetPositionAndRotation_mDB9B34321018846FD7E2315CBE8D4A6612E3DE43((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_7, (Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 )L_9, (Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 )L_11, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::CreateTrackableFromExisting(TTrackable,TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_CreateTrackableFromExisting_m6342F13DCC814E44187197E719B7EF7892B21599_gshared (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 * __this, RuntimeObject * ___existingTrackable0, XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 ___sessionRelativeData1, const RuntimeMethod* method)
{
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// var trackableId = sessionRelativeData.trackableId;
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = XREnvironmentProbe_get_trackableId_m2F7F8DCE954C099E60807742B6A4B27DA2F30085_inline((XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 *)(XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 *)(&___sessionRelativeData1), /*hidden argument*/NULL);
V_0 = (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_0;
// m_Trackables.Add(trackableId, existingTrackable);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_1 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_2 = V_0;
RuntimeObject * L_3 = ___existingTrackable0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_1);
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_1, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_2, (RuntimeObject *)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43));
// SetSessionRelativeData(existingTrackable, sessionRelativeData);
RuntimeObject * L_4 = ___existingTrackable0;
XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 L_5 = ___sessionRelativeData1;
NullCheck((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this);
(( void (*) (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *, RuntimeObject *, XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56)->methodPointer)((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this, (RuntimeObject *)L_4, (XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 )L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56));
// OnCreateTrackable(existingTrackable);
RuntimeObject * L_6 = ___existingTrackable0;
NullCheck((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this);
VirtActionInvoker1< RuntimeObject * >::Invoke(14 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::OnCreateTrackable(TTrackable) */, (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this, (RuntimeObject *)L_6);
// OnAfterSetSessionRelativeData(existingTrackable, sessionRelativeData);
RuntimeObject * L_7 = ___existingTrackable0;
XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 L_8 = ___sessionRelativeData1;
NullCheck((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this);
VirtActionInvoker2< RuntimeObject *, XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 >::Invoke(15 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::OnAfterSetSessionRelativeData(TTrackable,TSessionRelativeData) */, (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this, (RuntimeObject *)L_7, (XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 )L_8);
// existingTrackable.OnAfterSetSessionRelativeData();
RuntimeObject * L_9 = ___existingTrackable0;
NullCheck((ARTrackable_2_tFB5BC23D5FD3AB51B17B8063892C2549AEA887D2 *)L_9);
VirtActionInvoker0::Invoke(4 /* System.Void UnityEngine.XR.ARFoundation.ARTrackable`2<UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::OnAfterSetSessionRelativeData() */, (ARTrackable_2_tFB5BC23D5FD3AB51B17B8063892C2549AEA887D2 *)L_9);
// m_PendingAdds.Add(trackableId, existingTrackable);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_10 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_11 = V_0;
RuntimeObject * L_12 = ___existingTrackable0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_10);
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_10, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_11, (RuntimeObject *)L_12, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43));
// existingTrackable.pending = true;
RuntimeObject * L_13 = ___existingTrackable0;
NullCheck((ARTrackable_2_tFB5BC23D5FD3AB51B17B8063892C2549AEA887D2 *)L_13);
(( void (*) (ARTrackable_2_tFB5BC23D5FD3AB51B17B8063892C2549AEA887D2 *, bool, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((ARTrackable_2_tFB5BC23D5FD3AB51B17B8063892C2549AEA887D2 *)L_13, (bool)1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
// }
return;
}
}
// TTrackable UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::CreateOrUpdateTrackable(TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * ARTrackableManager_4_CreateOrUpdateTrackable_m70BE5DB9EEAFAF6CD32C9DC666C00C8DE77F1A1D_gshared (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 * __this, XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 ___sessionRelativeData0, const RuntimeMethod* method)
{
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 V_0;
memset((&V_0), 0, sizeof(V_0));
RuntimeObject * V_1 = NULL;
{
// var trackableId = sessionRelativeData.trackableId;
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = XREnvironmentProbe_get_trackableId_m2F7F8DCE954C099E60807742B6A4B27DA2F30085_inline((XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 *)(XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 *)(&___sessionRelativeData0), /*hidden argument*/NULL);
V_0 = (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_0;
// if (m_Trackables.TryGetValue(trackableId, out var trackable))
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_1 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_2 = V_0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_1);
bool L_3 = (( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject **, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_1, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_2, (RuntimeObject **)(RuntimeObject **)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
if (!L_3)
{
goto IL_0041;
}
}
{
// m_PendingAdds.Remove(trackableId);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_4 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_5 = V_0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_4);
(( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_4, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
// trackable.pending = false;
RuntimeObject * L_6 = V_1;
NullCheck((ARTrackable_2_tFB5BC23D5FD3AB51B17B8063892C2549AEA887D2 *)L_6);
(( void (*) (ARTrackable_2_tFB5BC23D5FD3AB51B17B8063892C2549AEA887D2 *, bool, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((ARTrackable_2_tFB5BC23D5FD3AB51B17B8063892C2549AEA887D2 *)L_6, (bool)0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
// SetSessionRelativeData(trackable, sessionRelativeData);
RuntimeObject * L_7 = V_1;
XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 L_8 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this);
(( void (*) (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *, RuntimeObject *, XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56)->methodPointer)((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this, (RuntimeObject *)L_7, (XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 )L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56));
// }
goto IL_0050;
}
IL_0041:
{
// trackable = CreateTrackable(sessionRelativeData);
XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 L_9 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this);
RuntimeObject * L_10 = (( RuntimeObject * (*) (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *, XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 61)->methodPointer)((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this, (XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 )L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 61));
V_1 = (RuntimeObject *)L_10;
// OnCreateTrackable(trackable);
RuntimeObject * L_11 = V_1;
NullCheck((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this);
VirtActionInvoker1< RuntimeObject * >::Invoke(14 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::OnCreateTrackable(TTrackable) */, (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this, (RuntimeObject *)L_11);
}
IL_0050:
{
// OnAfterSetSessionRelativeData(trackable, sessionRelativeData);
RuntimeObject * L_12 = V_1;
XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 L_13 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this);
VirtActionInvoker2< RuntimeObject *, XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 >::Invoke(15 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::OnAfterSetSessionRelativeData(TTrackable,TSessionRelativeData) */, (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 *)__this, (RuntimeObject *)L_12, (XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 )L_13);
// trackable.OnAfterSetSessionRelativeData();
RuntimeObject * L_14 = V_1;
NullCheck((ARTrackable_2_tFB5BC23D5FD3AB51B17B8063892C2549AEA887D2 *)L_14);
VirtActionInvoker0::Invoke(4 /* System.Void UnityEngine.XR.ARFoundation.ARTrackable`2<UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::OnAfterSetSessionRelativeData() */, (ARTrackable_2_tFB5BC23D5FD3AB51B17B8063892C2549AEA887D2 *)L_14);
// return trackable;
RuntimeObject * L_15 = V_1;
return L_15;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::DestroyTrackable(TTrackable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_DestroyTrackable_m459C4791CE4B85E79BE2E9768BDF1BA764A35E7F_gshared (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 * __this, RuntimeObject * ___trackable0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_DestroyTrackable_m459C4791CE4B85E79BE2E9768BDF1BA764A35E7F_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (trackable.destroyOnRemoval)
RuntimeObject * L_0 = ___trackable0;
NullCheck((ARTrackable_2_tFB5BC23D5FD3AB51B17B8063892C2549AEA887D2 *)L_0);
bool L_1 = (( bool (*) (ARTrackable_2_tFB5BC23D5FD3AB51B17B8063892C2549AEA887D2 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 62)->methodPointer)((ARTrackable_2_tFB5BC23D5FD3AB51B17B8063892C2549AEA887D2 *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 62));
if (!L_1)
{
goto IL_001d;
}
}
{
// Destroy(trackable.gameObject);
RuntimeObject * L_2 = ___trackable0;
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_2);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_3 = Component_get_gameObject_m0B0570BA8DDD3CD78A9DB568EA18D7317686603C((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_2, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
Object_Destroy_m23B4562495BA35A74266D4372D45368F8C05109A((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_3, /*hidden argument*/NULL);
}
IL_001d:
{
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4__ctor_mEF516C2739A28A0147F3570E007CEDB516B85EB6_gshared (ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694 * __this, const RuntimeMethod* method)
{
{
// protected Dictionary<TrackableId, TTrackable> m_Trackables = new Dictionary<TrackableId, TTrackable>();
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_0 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 63));
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 64)->methodPointer)(L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 64));
__this->set_m_Trackables_9(L_0);
// protected Dictionary<TrackableId, TTrackable> m_PendingAdds = new Dictionary<TrackableId, TTrackable>();
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_1 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 63));
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 64)->methodPointer)(L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 64));
__this->set_m_PendingAdds_10(L_1);
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1));
(( void (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 65)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 65));
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XREnvironmentProbe,System.Object>::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4__cctor_m49BA086BE5863D0D101CF3731E22C0E8A15D9EC1_gshared (const RuntimeMethod* method)
{
{
// static List<TTrackable> s_Added = new List<TTrackable>();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_0 = (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 66));
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67)->methodPointer)(L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67));
((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set_s_Added_11(L_0);
// static List<TTrackable> s_Updated = new List<TTrackable>();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_1 = (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 66));
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67)->methodPointer)(L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67));
((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set_s_Updated_12(L_1);
// static List<TTrackable> s_Removed = new List<TTrackable>();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_2 = (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 66));
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67)->methodPointer)(L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67));
((ARTrackableManager_4_t31A8830D9EAF935533D475105CFB62A0FB7EE694_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set_s_Removed_13(L_2);
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
// UnityEngine.XR.ARFoundation.ARTrackableManager`4<TSubsystem,TSubsystemDescriptor,TSessionRelativeData,TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRFace,System.Object>::get_instance()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 * ARTrackableManager_4_get_instance_m387007F14C537F70A776C5510E054B7684D1EC2F_gshared (const RuntimeMethod* method)
{
{
// internal static ARTrackableManager<TSubsystem, TSubsystemDescriptor, TSessionRelativeData, TTrackable> instance { get; private set; }
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0));
ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 * L_0 = ((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->get_U3CinstanceU3Ek__BackingField_7();
return L_0;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRFace,System.Object>::set_instance(UnityEngine.XR.ARFoundation.ARTrackableManager`4<TSubsystem,TSubsystemDescriptor,TSessionRelativeData,TTrackable>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_set_instance_m794BCBB12F52587C447053CDE46EE1B04F737E01_gshared (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 * ___value0, const RuntimeMethod* method)
{
{
// internal static ARTrackableManager<TSubsystem, TSubsystemDescriptor, TSessionRelativeData, TTrackable> instance { get; private set; }
ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 * L_0 = ___value0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0));
((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set_U3CinstanceU3Ek__BackingField_7(L_0);
return;
}
}
// UnityEngine.XR.ARFoundation.TrackableCollection`1<TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRFace,System.Object>::get_trackables()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 ARTrackableManager_4_get_trackables_m58C163F5489606771662FBDABE0BBB5349F482AB_gshared (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 * __this, const RuntimeMethod* method)
{
{
// public TrackableCollection<TTrackable> trackables => new TrackableCollection<TTrackable>(m_Trackables);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_0 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 L_1;
memset((&L_1), 0, sizeof(L_1));
TrackableCollection_1__ctor_mA99D3D41CAA02EF94BD2B96D6DC1B66450E226FF((&L_1), (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 3));
return L_1;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRFace,System.Object>::SetTrackablesActive(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_SetTrackablesActive_mA32BE035257483C5566F2A2274EE07C3BDA5B8A9_gshared (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 * __this, bool ___active0, const RuntimeMethod* method)
{
Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED V_0;
memset((&V_0), 0, sizeof(V_0));
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 V_1;
memset((&V_1), 0, sizeof(V_1));
{
// foreach (var trackable in trackables)
NullCheck((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this);
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 L_0 = (( TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 (*) (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 4)->methodPointer)((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 4));
V_1 = (TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 )L_0;
Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED L_1 = TrackableCollection_1_GetEnumerator_mBAA3D036F160A053757196D57318EC6B3F368D02((TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 *)(TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
V_0 = (Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED )L_1;
goto IL_0028;
}
IL_0011:
{
// foreach (var trackable in trackables)
RuntimeObject * L_2 = Enumerator_get_Current_m6D82C8CA15561A8D32BA77CB304C80AF57C4C77E((Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6));
// trackable.gameObject.SetActive(active);
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_2);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_3 = Component_get_gameObject_m0B0570BA8DDD3CD78A9DB568EA18D7317686603C((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_2, /*hidden argument*/NULL);
bool L_4 = ___active0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_3);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_3, (bool)L_4, /*hidden argument*/NULL);
}
IL_0028:
{
// foreach (var trackable in trackables)
bool L_5 = Enumerator_MoveNext_mF64DBEA38614B8A6E085DFC09DD2745BE2ACB9BE((Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
if (L_5)
{
goto IL_0011;
}
}
{
// }
return;
}
}
// UnityEngine.XR.ARFoundation.ARSessionOrigin UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRFace,System.Object>::get_sessionOrigin()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * ARTrackableManager_4_get_sessionOrigin_m6D3172948231A22D1BFA36D299409472EE4622B3_gshared (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 * __this, const RuntimeMethod* method)
{
{
// protected ARSessionOrigin sessionOrigin { get; private set; }
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = (ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)__this->get_U3CsessionOriginU3Ek__BackingField_8();
return L_0;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRFace,System.Object>::set_sessionOrigin(UnityEngine.XR.ARFoundation.ARSessionOrigin)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_set_sessionOrigin_mCEACB5E4CCF2D40590A76BEFFF17069E03FFD48D_gshared (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 * __this, ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * ___value0, const RuntimeMethod* method)
{
{
// protected ARSessionOrigin sessionOrigin { get; private set; }
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = ___value0;
__this->set_U3CsessionOriginU3Ek__BackingField_8(L_0);
return;
}
}
// UnityEngine.GameObject UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRFace,System.Object>::GetPrefab()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * ARTrackableManager_4_GetPrefab_m94D881D39E7D17A8A2D2E24F01B95692B960D3D1_gshared (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 * __this, const RuntimeMethod* method)
{
{
// protected virtual GameObject GetPrefab() => null;
return (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)NULL;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRFace,System.Object>::Awake()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_Awake_mDEA3C2FA0FC9A0BB112BFD50F24A9BBE185F9B48_gshared (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_Awake_mDEA3C2FA0FC9A0BB112BFD50F24A9BBE185F9B48_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// sessionOrigin = GetComponent<ARSessionOrigin>();
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = Component_GetComponent_TisARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF_m25BC8791B994BAE33BF9003FFC85124F480EFB17((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)__this, /*hidden argument*/Component_GetComponent_TisARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF_m25BC8791B994BAE33BF9003FFC85124F480EFB17_RuntimeMethod_var);
NullCheck((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this);
(( void (*) (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *, ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this, (ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRFace,System.Object>::OnEnable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnEnable_mC9050B708F3E5DC947B6C91CA30281C7DC4294F0_gshared (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_OnEnable_mC9050B708F3E5DC947B6C91CA30281C7DC4294F0_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// base.OnEnable();
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
(( void (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10));
// instance = this;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
(( void (*) (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 11)->methodPointer)((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 11));
// sessionOrigin.trackablesParentTransformChanged += OnTrackablesParentTransformChanged;
NullCheck((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB * L_1 = (Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB *)il2cpp_codegen_object_new(Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB_il2cpp_TypeInfo_var);
Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B(L_1, (RuntimeObject *)__this, (intptr_t)((intptr_t)IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)), /*hidden argument*/Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B_RuntimeMethod_var);
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0);
ARSessionOrigin_add_trackablesParentTransformChanged_m59165BB2C4BFB84AD169AF54D2D9B76DBD8A5235((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0, (Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB *)L_1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRFace,System.Object>::OnDisable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnDisable_m4CE6CA22D216EA05A7757830FC8E9AFCB08E5118_gshared (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_OnDisable_m4CE6CA22D216EA05A7757830FC8E9AFCB08E5118_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// base.OnDisable();
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
(( void (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14));
// sessionOrigin.trackablesParentTransformChanged -= OnTrackablesParentTransformChanged;
NullCheck((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB * L_1 = (Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB *)il2cpp_codegen_object_new(Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB_il2cpp_TypeInfo_var);
Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B(L_1, (RuntimeObject *)__this, (intptr_t)((intptr_t)IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)), /*hidden argument*/Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B_RuntimeMethod_var);
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0);
ARSessionOrigin_remove_trackablesParentTransformChanged_mF790C29F00B85A00D500F3420855F4BF75DBA2A4((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0, (Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB *)L_1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Boolean UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRFace,System.Object>::CanBeAddedToSubsystem(TTrackable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ARTrackableManager_4_CanBeAddedToSubsystem_m4089B01A7BCB3DC4870C3DA8203D2137C1ABEF5D_gshared (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 * __this, RuntimeObject * ___trackable0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_CanBeAddedToSubsystem_m4089B01A7BCB3DC4870C3DA8203D2137C1ABEF5D_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// if (trackable == null)
RuntimeObject * L_0 = ___trackable0;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_0, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0019;
}
}
{
// throw new ArgumentNullException(nameof(trackable));
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_2 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_2, (String_t*)_stringLiteral05E5EBD9D5908CC9215021F08ACFBC4B58571C5C, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, ARTrackableManager_4_CanBeAddedToSubsystem_m4089B01A7BCB3DC4870C3DA8203D2137C1ABEF5D_RuntimeMethod_var);
}
IL_0019:
{
// if (!trackable.trackableId.Equals(TrackableId.invalidId))
RuntimeObject * L_3 = ___trackable0;
NullCheck((ARTrackable_2_tE4558CCBC5B711FE0CBCCC2E4DC1D9F0CA94E421 *)L_3);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_4 = (( TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 (*) (ARTrackable_2_tE4558CCBC5B711FE0CBCCC2E4DC1D9F0CA94E421 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)((ARTrackable_2_tE4558CCBC5B711FE0CBCCC2E4DC1D9F0CA94E421 *)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
V_0 = (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_4;
IL2CPP_RUNTIME_CLASS_INIT(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47_il2cpp_TypeInfo_var);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_5 = TrackableId_get_invalidId_mBE9FA1EC8F2EC1575C1B31666EA928A3382DF1CD_inline(/*hidden argument*/NULL);
bool L_6 = TrackableId_Equals_mCE458E0FDCDD6E339FCC1926EE88EB7B3D45F943((TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 *)(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 *)(&V_0), (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_5, /*hidden argument*/NULL);
if (L_6)
{
goto IL_0035;
}
}
{
// return false;
return (bool)0;
}
IL_0035:
{
// if (m_Trackables.ContainsKey(trackable.trackableId))
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_7 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
RuntimeObject * L_8 = ___trackable0;
NullCheck((ARTrackable_2_tE4558CCBC5B711FE0CBCCC2E4DC1D9F0CA94E421 *)L_8);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_9 = (( TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 (*) (ARTrackable_2_tE4558CCBC5B711FE0CBCCC2E4DC1D9F0CA94E421 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)((ARTrackable_2_tE4558CCBC5B711FE0CBCCC2E4DC1D9F0CA94E421 *)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_7);
bool L_10 = (( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_7, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16));
if (!L_10)
{
goto IL_004f;
}
}
{
// return false;
return (bool)0;
}
IL_004f:
{
// if (!enabled || subsystem == null)
NullCheck((Behaviour_tBDC7E9C3C898AD8348891B82D3E345801D920CA8 *)__this);
bool L_11 = Behaviour_get_enabled_mAA0C9ED5A3D1589C1C8AA22636543528DB353CFB((Behaviour_tBDC7E9C3C898AD8348891B82D3E345801D920CA8 *)__this, /*hidden argument*/NULL);
if (!L_11)
{
goto IL_0064;
}
}
{
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
RuntimeObject * L_12 = (( RuntimeObject * (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
if (L_12)
{
goto IL_0072;
}
}
IL_0064:
{
// trackable.pending = true;
RuntimeObject * L_13 = ___trackable0;
NullCheck((ARTrackable_2_tE4558CCBC5B711FE0CBCCC2E4DC1D9F0CA94E421 *)L_13);
(( void (*) (ARTrackable_2_tE4558CCBC5B711FE0CBCCC2E4DC1D9F0CA94E421 *, bool, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((ARTrackable_2_tE4558CCBC5B711FE0CBCCC2E4DC1D9F0CA94E421 *)L_13, (bool)1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
// return false;
return (bool)0;
}
IL_0072:
{
// return sessionOrigin && sessionOrigin.trackablesParent;
NullCheck((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_14 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_15 = Object_op_Implicit_m8B2A44B4B1406ED346D1AE6D962294FD58D0D534((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_14, /*hidden argument*/NULL);
if (!L_15)
{
goto IL_0090;
}
}
{
NullCheck((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_16 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_16);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_17 = ARSessionOrigin_get_trackablesParent_m37049D7E75CF694834A140C2EACB15D2D1098505_inline((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_16, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_18 = Object_op_Implicit_m8B2A44B4B1406ED346D1AE6D962294FD58D0D534((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_17, /*hidden argument*/NULL);
return L_18;
}
IL_0090:
{
return (bool)0;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRFace,System.Object>::OnTrackablesParentTransformChanged(UnityEngine.XR.ARFoundation.ARTrackablesParentTransformChangedEventArgs)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnTrackablesParentTransformChanged_m681BFBB21B92BEED9A0FD5EC57A3E68DD4B7D436_gshared (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 * __this, ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 ___eventArgs0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_OnTrackablesParentTransformChanged_m681BFBB21B92BEED9A0FD5EC57A3E68DD4B7D436_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED V_0;
memset((&V_0), 0, sizeof(V_0));
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 V_1;
memset((&V_1), 0, sizeof(V_1));
RuntimeObject * V_2 = NULL;
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * V_3 = NULL;
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 V_4;
memset((&V_4), 0, sizeof(V_4));
{
// foreach (var trackable in trackables)
NullCheck((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this);
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 L_0 = (( TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 (*) (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 4)->methodPointer)((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 4));
V_1 = (TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 )L_0;
Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED L_1 = TrackableCollection_1_GetEnumerator_mBAA3D036F160A053757196D57318EC6B3F368D02((TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 *)(TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
V_0 = (Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED )L_1;
goto IL_0066;
}
IL_0011:
{
// foreach (var trackable in trackables)
RuntimeObject * L_2 = Enumerator_get_Current_m6D82C8CA15561A8D32BA77CB304C80AF57C4C77E((Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6));
V_2 = (RuntimeObject *)L_2;
// var transform = trackable.transform;
RuntimeObject * L_3 = V_2;
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_3);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_4 = Component_get_transform_m00F05BD782F920C301A7EBA480F3B7A904C07EC9((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_3, /*hidden argument*/NULL);
V_3 = (Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_4;
// if (transform.parent != eventArgs.trackablesParent)
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_5 = V_3;
NullCheck((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_5);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_6 = Transform_get_parent_m8FA24E38A1FA29D90CBF3CDC9F9F017C65BB3403((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_5, /*hidden argument*/NULL);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_7 = ARTrackablesParentTransformChangedEventArgs_get_trackablesParent_m124F9D34F6DA7E3FAB3E7CB9981820682219FE49_inline((ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 *)(ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 *)(&___eventArgs0), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_8 = Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_6, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_7, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_0066;
}
}
{
// var desiredPose = eventArgs.trackablesParent.TransformPose(trackable.sessionRelativePose);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_9 = ARTrackablesParentTransformChangedEventArgs_get_trackablesParent_m124F9D34F6DA7E3FAB3E7CB9981820682219FE49_inline((ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 *)(ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 *)(&___eventArgs0), /*hidden argument*/NULL);
RuntimeObject * L_10 = V_2;
NullCheck((ARTrackable_2_tE4558CCBC5B711FE0CBCCC2E4DC1D9F0CA94E421 *)L_10);
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_11 = (( Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 (*) (ARTrackable_2_tE4558CCBC5B711FE0CBCCC2E4DC1D9F0CA94E421 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20)->methodPointer)((ARTrackable_2_tE4558CCBC5B711FE0CBCCC2E4DC1D9F0CA94E421 *)L_10, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20));
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_12 = TransformExtensions_TransformPose_m677CE84C622BD23C3DDB2953DDB820E1934B0144((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_9, (Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 )L_11, /*hidden argument*/NULL);
V_4 = (Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 )L_12;
// transform.SetPositionAndRotation(desiredPose.position, desiredPose.rotation);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_13 = V_3;
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_14 = V_4;
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_15 = (Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 )L_14.get_position_0();
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_16 = V_4;
Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 L_17 = (Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 )L_16.get_rotation_1();
NullCheck((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_13);
Transform_SetPositionAndRotation_mDB9B34321018846FD7E2315CBE8D4A6612E3DE43((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_13, (Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 )L_15, (Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 )L_17, /*hidden argument*/NULL);
}
IL_0066:
{
// foreach (var trackable in trackables)
bool L_18 = Enumerator_MoveNext_mF64DBEA38614B8A6E085DFC09DD2745BE2ACB9BE((Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
if (L_18)
{
goto IL_0011;
}
}
{
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRFace,System.Object>::Update()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_Update_m733EEF84D1ABBFC064A83532A65AA133074DA7B1_gshared (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_Update_m733EEF84D1ABBFC064A83532A65AA133074DA7B1_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 V_0;
memset((&V_0), 0, sizeof(V_0));
TrackableChanges_1_t316F273AB927198D6305E965CDB7B0ED758920E6 V_1;
memset((&V_1), 0, sizeof(V_1));
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 V_2;
memset((&V_2), 0, sizeof(V_2));
NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 V_3;
memset((&V_3), 0, sizeof(V_3));
Enumerator_t8015CDE67C698133A309A1B8CB3621037DCA753F V_4;
memset((&V_4), 0, sizeof(V_4));
XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 V_5;
memset((&V_5), 0, sizeof(V_5));
XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 V_6;
memset((&V_6), 0, sizeof(V_6));
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 V_7;
memset((&V_7), 0, sizeof(V_7));
Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A V_8;
memset((&V_8), 0, sizeof(V_8));
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 V_9;
memset((&V_9), 0, sizeof(V_9));
RuntimeObject * V_10 = NULL;
Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD V_11;
memset((&V_11), 0, sizeof(V_11));
RuntimeObject * V_12 = 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) * 5);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
// if (subsystem == null || !subsystem.running)
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
RuntimeObject * L_0 = (( RuntimeObject * (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
if (!L_0)
{
goto IL_001f;
}
}
{
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
RuntimeObject * L_1 = (( RuntimeObject * (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
NullCheck((Subsystem_t17E4AEB5537DC8AECC37EC3F6FCB46CC7D2C73F6 *)L_1);
bool L_2 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.Subsystem::get_running() */, (Subsystem_t17E4AEB5537DC8AECC37EC3F6FCB46CC7D2C73F6 *)L_1);
if (L_2)
{
goto IL_0020;
}
}
IL_001f:
{
// return;
return;
}
IL_0020:
{
// using (new ScopedProfiler("GetChanges"))
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_0), (String_t*)_stringLiteralE68C28CA8FA3E38258B2081639EE5D1C7F58849B, /*hidden argument*/NULL);
}
IL_002c:
try
{ // begin try (depth: 1)
{
// using (var changes = subsystem.GetChanges(Allocator.Temp))
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
RuntimeObject * L_3 = (( RuntimeObject * (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
NullCheck((TrackingSubsystem_2_t810E285415E1644FA85391E12F95806CEE3C50EB *)L_3);
TrackableChanges_1_t316F273AB927198D6305E965CDB7B0ED758920E6 L_4 = VirtFuncInvoker1< TrackableChanges_1_t316F273AB927198D6305E965CDB7B0ED758920E6 , int32_t >::Invoke(14 /* UnityEngine.XR.ARSubsystems.TrackableChanges`1<!0> UnityEngine.XR.ARSubsystems.TrackingSubsystem`2<UnityEngine.XR.ARSubsystems.XRFace,System.Object>::GetChanges(Unity.Collections.Allocator) */, (TrackingSubsystem_2_t810E285415E1644FA85391E12F95806CEE3C50EB *)L_3, (int32_t)2);
V_1 = (TrackableChanges_1_t316F273AB927198D6305E965CDB7B0ED758920E6 )L_4;
}
IL_003e:
try
{ // begin try (depth: 2)
{
// using (new ScopedProfiler("ProcessAdded"))
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 L_5;
memset((&L_5), 0, sizeof(L_5));
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((&L_5), (String_t*)_stringLiteral8CC52613125F0E802A5E603C37A6CAE800639F62, /*hidden argument*/NULL);
V_2 = (ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 )L_5;
}
IL_0049:
try
{ // begin try (depth: 3)
{
// ClearAndSetCapacity(s_Added, changes.added.Length);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_6 = ((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Added_11();
NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 L_7 = TrackableChanges_1_get_added_m6C3AA173D63B8181A147527E5D607363D4D7E3B9_inline((TrackableChanges_1_t316F273AB927198D6305E965CDB7B0ED758920E6 *)(TrackableChanges_1_t316F273AB927198D6305E965CDB7B0ED758920E6 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
V_3 = (NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 )L_7;
int32_t L_8 = IL2CPP_NATIVEARRAY_GET_LENGTH(((NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 *)(NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 *)(&V_3))->___m_Length_1);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_6, (int32_t)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24));
// foreach (var added in changes.added)
NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 L_9 = TrackableChanges_1_get_added_m6C3AA173D63B8181A147527E5D607363D4D7E3B9_inline((TrackableChanges_1_t316F273AB927198D6305E965CDB7B0ED758920E6 *)(TrackableChanges_1_t316F273AB927198D6305E965CDB7B0ED758920E6 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
V_3 = (NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 )L_9;
Enumerator_t8015CDE67C698133A309A1B8CB3621037DCA753F L_10 = NativeArray_1_GetEnumerator_m1427900D7CC5D4A7FA35EAD7515D761E0E5D2294((NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 *)(NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 *)(&V_3), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
V_4 = (Enumerator_t8015CDE67C698133A309A1B8CB3621037DCA753F )L_10;
}
IL_0073:
try
{ // begin try (depth: 4)
{
goto IL_0090;
}
IL_0075:
{
// foreach (var added in changes.added)
XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 L_11 = Enumerator_get_Current_mF4BF5AB61B65C27B2941C863E12FF10D81FB65C7((Enumerator_t8015CDE67C698133A309A1B8CB3621037DCA753F *)(Enumerator_t8015CDE67C698133A309A1B8CB3621037DCA753F *)(&V_4), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
V_5 = (XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 )L_11;
// s_Added.Add(CreateOrUpdateTrackable(added));
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_12 = ((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Added_11();
XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 L_13 = V_5;
NullCheck((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this);
RuntimeObject * L_14 = (( RuntimeObject * (*) (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *, XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this, (XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 )L_13, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_12);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_12, (RuntimeObject *)L_14, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_0090:
{
// foreach (var added in changes.added)
bool L_15 = Enumerator_MoveNext_m2377E6A14EF0938C4344911BE239E49789F6BEA3((Enumerator_t8015CDE67C698133A309A1B8CB3621037DCA753F *)(Enumerator_t8015CDE67C698133A309A1B8CB3621037DCA753F *)(&V_4), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29));
if (L_15)
{
goto IL_0075;
}
}
IL_0099:
{
IL2CPP_LEAVE(0xB7, FINALLY_009b);
}
} // end try (depth: 4)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_009b;
}
FINALLY_009b:
{ // begin finally (depth: 4)
Il2CppFakeBox<Enumerator_t8015CDE67C698133A309A1B8CB3621037DCA753F > L_16(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 30), (&V_4));
const VirtualInvokeData& il2cpp_virtual_invoke_data__163 = il2cpp_codegen_get_interface_invoke_data(0, (&L_16), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__163.methodPtr)((RuntimeObject*)(&L_16), /*hidden argument*/il2cpp_virtual_invoke_data__163.method);
V_4 = L_16.m_Value;
IL2CPP_END_FINALLY(155)
} // end finally (depth: 4)
IL2CPP_CLEANUP(155)
{
IL2CPP_END_CLEANUP(0xB7, FINALLY_00a9);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 3)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00a9;
}
FINALLY_00a9:
{ // begin finally (depth: 3)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_2), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(169)
} // end finally (depth: 3)
IL2CPP_CLEANUP(169)
{
IL2CPP_JUMP_TBL(0xB7, IL_00b7)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00b7:
{
// using (new ScopedProfiler("ProcessUpdated"))
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 L_17;
memset((&L_17), 0, sizeof(L_17));
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((&L_17), (String_t*)_stringLiteralD84182942D9EE680B64113858F0F32DEDC108F25, /*hidden argument*/NULL);
V_2 = (ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 )L_17;
}
IL_00c2:
try
{ // begin try (depth: 3)
{
// ClearAndSetCapacity(s_Updated, changes.updated.Length);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_18 = ((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Updated_12();
NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 L_19 = TrackableChanges_1_get_updated_m4DD6B31059055267B3F98F003F7891F74052267D_inline((TrackableChanges_1_t316F273AB927198D6305E965CDB7B0ED758920E6 *)(TrackableChanges_1_t316F273AB927198D6305E965CDB7B0ED758920E6 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
V_3 = (NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 )L_19;
int32_t L_20 = IL2CPP_NATIVEARRAY_GET_LENGTH(((NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 *)(NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 *)(&V_3))->___m_Length_1);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_18, (int32_t)L_20, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24));
// foreach (var updated in changes.updated)
NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 L_21 = TrackableChanges_1_get_updated_m4DD6B31059055267B3F98F003F7891F74052267D_inline((TrackableChanges_1_t316F273AB927198D6305E965CDB7B0ED758920E6 *)(TrackableChanges_1_t316F273AB927198D6305E965CDB7B0ED758920E6 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
V_3 = (NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 )L_21;
Enumerator_t8015CDE67C698133A309A1B8CB3621037DCA753F L_22 = NativeArray_1_GetEnumerator_m1427900D7CC5D4A7FA35EAD7515D761E0E5D2294((NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 *)(NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 *)(&V_3), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
V_4 = (Enumerator_t8015CDE67C698133A309A1B8CB3621037DCA753F )L_22;
}
IL_00ec:
try
{ // begin try (depth: 4)
{
goto IL_0109;
}
IL_00ee:
{
// foreach (var updated in changes.updated)
XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 L_23 = Enumerator_get_Current_mF4BF5AB61B65C27B2941C863E12FF10D81FB65C7((Enumerator_t8015CDE67C698133A309A1B8CB3621037DCA753F *)(Enumerator_t8015CDE67C698133A309A1B8CB3621037DCA753F *)(&V_4), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
V_6 = (XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 )L_23;
// s_Updated.Add(CreateOrUpdateTrackable(updated));
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_24 = ((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Updated_12();
XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 L_25 = V_6;
NullCheck((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this);
RuntimeObject * L_26 = (( RuntimeObject * (*) (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *, XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this, (XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 )L_25, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_24);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_24, (RuntimeObject *)L_26, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_0109:
{
// foreach (var updated in changes.updated)
bool L_27 = Enumerator_MoveNext_m2377E6A14EF0938C4344911BE239E49789F6BEA3((Enumerator_t8015CDE67C698133A309A1B8CB3621037DCA753F *)(Enumerator_t8015CDE67C698133A309A1B8CB3621037DCA753F *)(&V_4), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29));
if (L_27)
{
goto IL_00ee;
}
}
IL_0112:
{
IL2CPP_LEAVE(0x130, FINALLY_0114);
}
} // end try (depth: 4)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0114;
}
FINALLY_0114:
{ // begin finally (depth: 4)
Il2CppFakeBox<Enumerator_t8015CDE67C698133A309A1B8CB3621037DCA753F > L_28(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 30), (&V_4));
const VirtualInvokeData& il2cpp_virtual_invoke_data__284 = il2cpp_codegen_get_interface_invoke_data(0, (&L_28), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__284.methodPtr)((RuntimeObject*)(&L_28), /*hidden argument*/il2cpp_virtual_invoke_data__284.method);
V_4 = L_28.m_Value;
IL2CPP_END_FINALLY(276)
} // end finally (depth: 4)
IL2CPP_CLEANUP(276)
{
IL2CPP_END_CLEANUP(0x130, FINALLY_0122);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 3)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0122;
}
FINALLY_0122:
{ // begin finally (depth: 3)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_2), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(290)
} // end finally (depth: 3)
IL2CPP_CLEANUP(290)
{
IL2CPP_JUMP_TBL(0x130, IL_0130)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0130:
{
// using (new ScopedProfiler("ProcessRemoved"))
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 L_29;
memset((&L_29), 0, sizeof(L_29));
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((&L_29), (String_t*)_stringLiteralC0371E7E1DB9F795AC51193C554BD9BEF51AD664, /*hidden argument*/NULL);
V_2 = (ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 )L_29;
}
IL_013b:
try
{ // begin try (depth: 3)
{
// ClearAndSetCapacity(s_Removed, changes.removed.Length);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_30 = ((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 L_31 = TrackableChanges_1_get_removed_m7C323DBD29E884085A21A82E9D5ABC458EF49AED_inline((TrackableChanges_1_t316F273AB927198D6305E965CDB7B0ED758920E6 *)(TrackableChanges_1_t316F273AB927198D6305E965CDB7B0ED758920E6 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
V_7 = (NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 )L_31;
int32_t L_32 = IL2CPP_NATIVEARRAY_GET_LENGTH(((NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 *)(NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 *)(&V_7))->___m_Length_1);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_30, (int32_t)L_32, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24));
// foreach (var trackableId in changes.removed)
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 L_33 = TrackableChanges_1_get_removed_m7C323DBD29E884085A21A82E9D5ABC458EF49AED_inline((TrackableChanges_1_t316F273AB927198D6305E965CDB7B0ED758920E6 *)(TrackableChanges_1_t316F273AB927198D6305E965CDB7B0ED758920E6 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
V_7 = (NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 )L_33;
Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A L_34 = NativeArray_1_GetEnumerator_m3B6CA1981A8CE62A1C67FCEEBE1887CD32906DA2((NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 *)(NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 *)(&V_7), /*hidden argument*/NativeArray_1_GetEnumerator_m3B6CA1981A8CE62A1C67FCEEBE1887CD32906DA2_RuntimeMethod_var);
V_8 = (Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A )L_34;
}
IL_0167:
try
{ // begin try (depth: 4)
{
goto IL_01ab;
}
IL_0169:
{
// foreach (var trackableId in changes.removed)
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_35 = Enumerator_get_Current_m913D10AD892E19937C638773D208459E9862248D((Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A *)(Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A *)(&V_8), /*hidden argument*/Enumerator_get_Current_m913D10AD892E19937C638773D208459E9862248D_RuntimeMethod_var);
V_9 = (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_35;
// if (m_Trackables.TryGetValue(trackableId, out var trackable))
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_36 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_37 = V_9;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_36);
bool L_38 = (( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject **, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_36, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_37, (RuntimeObject **)(RuntimeObject **)(&V_10), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
if (!L_38)
{
goto IL_01ab;
}
}
IL_0183:
{
// m_Trackables.Remove(trackableId);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_39 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_40 = V_9;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_39);
(( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_39, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_40, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
// if (trackable)
RuntimeObject * L_41 = V_10;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_42 = Object_op_Implicit_m8B2A44B4B1406ED346D1AE6D962294FD58D0D534((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_41, /*hidden argument*/NULL);
if (!L_42)
{
goto IL_01ab;
}
}
IL_019f:
{
// s_Removed.Add(trackable);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_43 = ((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
RuntimeObject * L_44 = V_10;
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_43);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_43, (RuntimeObject *)L_44, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_01ab:
{
// foreach (var trackableId in changes.removed)
bool L_45 = Enumerator_MoveNext_m3C4C0B0B1AE71E65EF8255E6FC671DDBC829B6AA((Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A *)(Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A *)(&V_8), /*hidden argument*/Enumerator_MoveNext_m3C4C0B0B1AE71E65EF8255E6FC671DDBC829B6AA_RuntimeMethod_var);
if (L_45)
{
goto IL_0169;
}
}
IL_01b4:
{
IL2CPP_LEAVE(0x1EE, FINALLY_01b6);
}
} // end try (depth: 4)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01b6;
}
FINALLY_01b6:
{ // begin finally (depth: 4)
Il2CppFakeBox<Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A > L_46(Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A_il2cpp_TypeInfo_var, (&V_8));
const VirtualInvokeData& il2cpp_virtual_invoke_data__446 = il2cpp_codegen_get_interface_invoke_data(0, (&L_46), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__446.methodPtr)((RuntimeObject*)(&L_46), /*hidden argument*/il2cpp_virtual_invoke_data__446.method);
V_8 = L_46.m_Value;
IL2CPP_END_FINALLY(438)
} // end finally (depth: 4)
IL2CPP_CLEANUP(438)
{
IL2CPP_END_CLEANUP(0x1EE, FINALLY_01c4);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 3)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01c4;
}
FINALLY_01c4:
{ // begin finally (depth: 3)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_2), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(452)
} // end finally (depth: 3)
IL2CPP_CLEANUP(452)
{
IL2CPP_END_CLEANUP(0x1EE, FINALLY_01d2);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01d2;
}
FINALLY_01d2:
{ // begin finally (depth: 2)
Il2CppFakeBox<TrackableChanges_1_t316F273AB927198D6305E965CDB7B0ED758920E6 > L_47(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 35), (&V_1));
const VirtualInvokeData& il2cpp_virtual_invoke_data__474 = il2cpp_codegen_get_interface_invoke_data(0, (&L_47), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__474.methodPtr)((RuntimeObject*)(&L_47), /*hidden argument*/il2cpp_virtual_invoke_data__474.method);
V_1 = L_47.m_Value;
IL2CPP_END_FINALLY(466)
} // end finally (depth: 2)
IL2CPP_CLEANUP(466)
{
IL2CPP_END_CLEANUP(0x1EE, FINALLY_01e0);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01e0;
}
FINALLY_01e0:
{ // begin finally (depth: 1)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_0), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(480)
} // end finally (depth: 1)
IL2CPP_CLEANUP(480)
{
IL2CPP_JUMP_TBL(0x1EE, IL_01ee)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_01ee:
{
}
IL_01ef:
try
{ // begin try (depth: 1)
{
// if ((s_Added.Count) > 0 ||
// (s_Updated.Count) > 0 ||
// (s_Removed.Count) > 0)
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_48 = ((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Added_11();
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_48);
int32_t L_49 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_48, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36));
if ((((int32_t)L_49) > ((int32_t)0)))
{
goto IL_0216;
}
}
IL_01fc:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_50 = ((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Updated_12();
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_50);
int32_t L_51 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_50, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36));
if ((((int32_t)L_51) > ((int32_t)0)))
{
goto IL_0216;
}
}
IL_0209:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_52 = ((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_52);
int32_t L_53 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_52, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36));
if ((((int32_t)L_53) <= ((int32_t)0)))
{
goto IL_022b;
}
}
IL_0216:
{
// OnTrackablesChanged(s_Added, s_Updated, s_Removed);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_54 = ((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Added_11();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_55 = ((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Updated_12();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_56 = ((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
NullCheck((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this);
VirtActionInvoker3< List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * >::Invoke(13 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRFace,System.Object>::OnTrackablesChanged(System.Collections.Generic.List`1<TTrackable>,System.Collections.Generic.List`1<TTrackable>,System.Collections.Generic.List`1<TTrackable>) */, (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this, (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_54, (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_55, (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_56);
}
IL_022b:
{
// }
IL2CPP_LEAVE(0x266, FINALLY_022d);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_022d;
}
FINALLY_022d:
{ // begin finally (depth: 1)
{
// foreach (var removed in s_Removed)
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_57 = ((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_57);
Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD L_58 = (( Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_57, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38));
V_11 = (Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD )L_58;
}
IL_0239:
try
{ // begin try (depth: 2)
{
goto IL_024c;
}
IL_023b:
{
// foreach (var removed in s_Removed)
RuntimeObject * L_59 = Enumerator_get_Current_mD7829C7E8CFBEDD463B15A951CDE9B90A12CC55C_inline((Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD *)(Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD *)(&V_11), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 39));
V_12 = (RuntimeObject *)L_59;
// DestroyTrackable(removed);
RuntimeObject * L_60 = V_12;
NullCheck((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this);
(( void (*) (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40)->methodPointer)((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this, (RuntimeObject *)L_60, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40));
}
IL_024c:
{
// foreach (var removed in s_Removed)
bool L_61 = Enumerator_MoveNext_m38B1099DDAD7EEDE2F4CDAB11C095AC784AC2E34((Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD *)(Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD *)(&V_11), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 41));
if (L_61)
{
goto IL_023b;
}
}
IL_0255:
{
IL2CPP_LEAVE(0x265, FINALLY_0257);
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0257;
}
FINALLY_0257:
{ // begin finally (depth: 2)
Il2CppFakeBox<Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD > L_62(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 42), (&V_11));
const VirtualInvokeData& il2cpp_virtual_invoke_data__607 = il2cpp_codegen_get_interface_invoke_data(0, (&L_62), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__607.methodPtr)((RuntimeObject*)(&L_62), /*hidden argument*/il2cpp_virtual_invoke_data__607.method);
V_11 = L_62.m_Value;
IL2CPP_END_FINALLY(599)
} // end finally (depth: 2)
IL2CPP_CLEANUP(599)
{
IL2CPP_JUMP_TBL(0x265, IL_0265)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0265:
{
// }
IL2CPP_END_FINALLY(557)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(557)
{
IL2CPP_JUMP_TBL(0x266, IL_0266)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0266:
{
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRFace,System.Object>::OnTrackablesChanged(System.Collections.Generic.List`1<TTrackable>,System.Collections.Generic.List`1<TTrackable>,System.Collections.Generic.List`1<TTrackable>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnTrackablesChanged_m6044DD0ED9D2F9068691F0B8BD7A99F3EEC15856_gshared (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 * __this, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___added0, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___updated1, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___removed2, const RuntimeMethod* method)
{
{
// { }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRFace,System.Object>::OnCreateTrackable(TTrackable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnCreateTrackable_m7EE2F4831C8FAB2F8167BB64E1699FD7831B2BAD_gshared (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 * __this, RuntimeObject * ___trackable0, const RuntimeMethod* method)
{
{
// { }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRFace,System.Object>::OnAfterSetSessionRelativeData(TTrackable,TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnAfterSetSessionRelativeData_m2C83B459E857ED7E5FA0C6B4446A78E1870BA5C6_gshared (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 * __this, RuntimeObject * ___trackable0, XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 ___sessionRelativeData1, const RuntimeMethod* method)
{
{
// { }
return;
}
}
// TTrackable UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRFace,System.Object>::CreateTrackableImmediate(TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * ARTrackableManager_4_CreateTrackableImmediate_m80BE649FE51F9941373B7980C1DF3BB8C152B028_gshared (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 * __this, XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 ___sessionRelativeData0, const RuntimeMethod* method)
{
RuntimeObject * V_0 = NULL;
{
// var trackable = CreateOrUpdateTrackable(sessionRelativeData);
XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 L_0 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this);
RuntimeObject * L_1 = (( RuntimeObject * (*) (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *, XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this, (XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
V_0 = (RuntimeObject *)L_1;
// trackable.pending = true;
RuntimeObject * L_2 = V_0;
NullCheck((ARTrackable_2_tE4558CCBC5B711FE0CBCCC2E4DC1D9F0CA94E421 *)L_2);
(( void (*) (ARTrackable_2_tE4558CCBC5B711FE0CBCCC2E4DC1D9F0CA94E421 *, bool, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((ARTrackable_2_tE4558CCBC5B711FE0CBCCC2E4DC1D9F0CA94E421 *)L_2, (bool)1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
// m_PendingAdds.Add(trackable.trackableId, trackable);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_3 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
RuntimeObject * L_4 = V_0;
NullCheck((ARTrackable_2_tE4558CCBC5B711FE0CBCCC2E4DC1D9F0CA94E421 *)L_4);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_5 = (( TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 (*) (ARTrackable_2_tE4558CCBC5B711FE0CBCCC2E4DC1D9F0CA94E421 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)((ARTrackable_2_tE4558CCBC5B711FE0CBCCC2E4DC1D9F0CA94E421 *)L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
RuntimeObject * L_6 = V_0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_3);
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_3, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_5, (RuntimeObject *)L_6, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43));
// return trackable;
RuntimeObject * L_7 = V_0;
return L_7;
}
}
// System.Boolean UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRFace,System.Object>::DestroyPendingTrackable(UnityEngine.XR.ARSubsystems.TrackableId)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ARTrackableManager_4_DestroyPendingTrackable_m82DE12C5101B4767F208A09F51E3AD349606FEBC_gshared (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 * __this, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___trackableId0, const RuntimeMethod* method)
{
RuntimeObject * V_0 = NULL;
{
// if (m_PendingAdds.TryGetValue(trackableId, out var trackable))
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_0 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_1 = ___trackableId0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_0);
bool L_2 = (( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject **, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_0, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_1, (RuntimeObject **)(RuntimeObject **)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
if (!L_2)
{
goto IL_0033;
}
}
{
// m_PendingAdds.Remove(trackableId);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_3 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_4 = ___trackableId0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_3);
(( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_3, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
// m_Trackables.Remove(trackableId);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_5 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_6 = ___trackableId0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_5);
(( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_5, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_6, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
// DestroyTrackable(trackable);
RuntimeObject * L_7 = V_0;
NullCheck((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this);
(( void (*) (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40)->methodPointer)((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this, (RuntimeObject *)L_7, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40));
// return true;
return (bool)1;
}
IL_0033:
{
// return false;
return (bool)0;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRFace,System.Object>::ClearAndSetCapacity(System.Collections.Generic.List`1<TTrackable>,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_ClearAndSetCapacity_m471E9C128BC1619230767A6E80E3625C8981BF46_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___list0, int32_t ___capacity1, const RuntimeMethod* method)
{
{
// list.Clear();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_0 = ___list0;
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_0);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 44)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 44));
// if (list.Capacity < capacity)
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_1 = ___list0;
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_1);
int32_t L_2 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 45)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 45));
int32_t L_3 = ___capacity1;
if ((((int32_t)L_2) >= ((int32_t)L_3)))
{
goto IL_0016;
}
}
{
// list.Capacity = capacity;
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_4 = ___list0;
int32_t L_5 = ___capacity1;
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_4);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 46)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_4, (int32_t)L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 46));
}
IL_0016:
{
// }
return;
}
}
// System.String UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRFace,System.Object>::GetTrackableName(UnityEngine.XR.ARSubsystems.TrackableId)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* ARTrackableManager_4_GetTrackableName_mC5218274E2C6130E36F020016A6E9748503E1C62_gshared (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 * __this, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___trackableId0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_GetTrackableName_mC5218274E2C6130E36F020016A6E9748503E1C62_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// return gameObjectName + " " + trackableId.ToString();
NullCheck((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this);
String_t* L_0 = VirtFuncInvoker0< String_t* >::Invoke(9 /* System.String UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRFace,System.Object>::get_gameObjectName() */, (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this);
String_t* L_1 = TrackableId_ToString_mBA49191865E57697F4279D2781B182590726A215((TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 *)(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 *)(&___trackableId0), /*hidden argument*/NULL);
String_t* L_2 = String_Concat_mF4626905368D6558695A823466A1AF65EADB9923((String_t*)L_0, (String_t*)_stringLiteralB858CB282617FB0956D960215C8E84D1CCF909C6, (String_t*)L_1, /*hidden argument*/NULL);
return L_2;
}
}
// System.ValueTuple`2<UnityEngine.GameObject,System.Boolean> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRFace,System.Object>::CreateGameObjectDeactivated()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 ARTrackableManager_4_CreateGameObjectDeactivated_mAC8D0897D7AAD2254DA469C8F7FFA1F9C79D69C1_gshared (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_CreateGameObjectDeactivated_mAC8D0897D7AAD2254DA469C8F7FFA1F9C79D69C1_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * V_0 = NULL;
bool V_1 = false;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * V_2 = NULL;
{
// var prefab = GetPrefab();
NullCheck((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_0 = VirtFuncInvoker0< GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * >::Invoke(10 /* UnityEngine.GameObject UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRFace,System.Object>::GetPrefab() */, (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this);
V_0 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_0;
// if (prefab == null)
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_1 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_1, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0039;
}
}
{
// var gameObject = new GameObject();
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_3 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)il2cpp_codegen_object_new(GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F_il2cpp_TypeInfo_var);
GameObject__ctor_mA4DFA8F4471418C248E95B55070665EF344B4B2D(L_3, /*hidden argument*/NULL);
// gameObject.SetActive(false);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_4 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_3;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_4);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_4, (bool)0, /*hidden argument*/NULL);
// gameObject.transform.parent = sessionOrigin.trackablesParent;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_5 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_4;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_6 = GameObject_get_transform_mA5C38857137F137CB96C69FAA624199EB1C2FB2C((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5, /*hidden argument*/NULL);
NullCheck((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_7 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_7);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_8 = ARSessionOrigin_get_trackablesParent_m37049D7E75CF694834A140C2EACB15D2D1098505_inline((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_7, /*hidden argument*/NULL);
NullCheck((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_6);
Transform_set_parent_m65B8E4660B2C554069C57A957D9E55FECA7AA73E((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_6, (Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_8, /*hidden argument*/NULL);
// return (gameObject, true);
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_9;
memset((&L_9), 0, sizeof(L_9));
ValueTuple_2__ctor_m73A57D85868E9347B9DCD08AB9585E9B191478F7((&L_9), (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5, (bool)1, /*hidden argument*/ValueTuple_2__ctor_m73A57D85868E9347B9DCD08AB9585E9B191478F7_RuntimeMethod_var);
return L_9;
}
IL_0039:
{
// var active = prefab.activeSelf;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_10 = V_0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_10);
bool L_11 = GameObject_get_activeSelf_mFE1834886CAE59884AC2BE707A3B821A1DB61F44((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_10, /*hidden argument*/NULL);
V_1 = (bool)L_11;
// prefab.SetActive(false);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_12 = V_0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_12);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_12, (bool)0, /*hidden argument*/NULL);
// var gameObject = Instantiate(prefab, sessionOrigin.trackablesParent);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_13 = V_0;
NullCheck((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_14 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_14);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_15 = ARSessionOrigin_get_trackablesParent_m37049D7E75CF694834A140C2EACB15D2D1098505_inline((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_14, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_16 = Object_Instantiate_TisGameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F_m1CDF66D563B03D37B37264800222D4F3B307EDA0((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_13, (Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_15, /*hidden argument*/Object_Instantiate_TisGameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F_m1CDF66D563B03D37B37264800222D4F3B307EDA0_RuntimeMethod_var);
V_2 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_16;
// prefab.SetActive(active);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_17 = V_0;
bool L_18 = V_1;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_17);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_17, (bool)L_18, /*hidden argument*/NULL);
// return (gameObject, active);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_19 = V_2;
bool L_20 = V_1;
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_21;
memset((&L_21), 0, sizeof(L_21));
ValueTuple_2__ctor_m73A57D85868E9347B9DCD08AB9585E9B191478F7((&L_21), (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_19, (bool)L_20, /*hidden argument*/ValueTuple_2__ctor_m73A57D85868E9347B9DCD08AB9585E9B191478F7_RuntimeMethod_var);
return L_21;
}
}
// System.ValueTuple`2<UnityEngine.GameObject,System.Boolean> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRFace,System.Object>::CreateGameObjectDeactivated(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 ARTrackableManager_4_CreateGameObjectDeactivated_m0E7021EB2A6D3F5D8FA82C40DBA6261D8710C785_gshared (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 * __this, String_t* ___name0, const RuntimeMethod* method)
{
{
// var tuple = CreateGameObjectDeactivated();
NullCheck((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this);
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_0 = (( ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 (*) (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 49)->methodPointer)((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 49));
// tuple.gameObject.name = name;
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_1 = (ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 )L_0;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_2 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_1.get_Item1_0();
String_t* L_3 = ___name0;
NullCheck((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_2);
Object_set_name_m538711B144CDE30F929376BCF72D0DC8F85D0826((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_2, (String_t*)L_3, /*hidden argument*/NULL);
// return tuple;
return L_1;
}
}
// System.ValueTuple`2<UnityEngine.GameObject,System.Boolean> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRFace,System.Object>::CreateGameObjectDeactivated(UnityEngine.XR.ARSubsystems.TrackableId)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 ARTrackableManager_4_CreateGameObjectDeactivated_m74D81AC0F57162914EB35BC3EA1A5BEB3FB93771_gshared (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 * __this, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___trackableId0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_CreateGameObjectDeactivated_m74D81AC0F57162914EB35BC3EA1A5BEB3FB93771_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 V_0;
memset((&V_0), 0, sizeof(V_0));
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 V_1;
memset((&V_1), 0, sizeof(V_1));
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);
{
// using (new ScopedProfiler("CreateGameObject"))
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_0), (String_t*)_stringLiteralA1BA014E93BB1085A758A3F66948C9CAC874B9BD, /*hidden argument*/NULL);
}
IL_000c:
try
{ // begin try (depth: 1)
// return CreateGameObjectDeactivated(GetTrackableName(trackableId));
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = ___trackableId0;
NullCheck((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this);
String_t* L_1 = (( String_t* (*) (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 50)->methodPointer)((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 50));
NullCheck((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this);
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_2 = (( ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 (*) (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *, String_t*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 51)->methodPointer)((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this, (String_t*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 51));
V_1 = (ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 )L_2;
IL2CPP_LEAVE(0x2A, FINALLY_001c);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_001c;
}
FINALLY_001c:
{ // begin finally (depth: 1)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_0), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(28)
} // end finally (depth: 1)
IL2CPP_CLEANUP(28)
{
IL2CPP_JUMP_TBL(0x2A, IL_002a)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_002a:
{
// }
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_3 = V_1;
return L_3;
}
}
// TTrackable UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRFace,System.Object>::CreateTrackable(TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * ARTrackableManager_4_CreateTrackable_m6D7BDEC820ED292DC38D715B4CE37D4B4EB8DEF9_gshared (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 * __this, XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 ___sessionRelativeData0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_CreateTrackable_m6D7BDEC820ED292DC38D715B4CE37D4B4EB8DEF9_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * V_0 = NULL;
bool V_1 = false;
RuntimeObject * V_2 = NULL;
{
// var (gameObject, shouldBeActive) = CreateGameObjectDeactivated(sessionRelativeData.trackableId);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = XRFace_get_trackableId_mC7AA3B622C6B16A9E8B5A3BEA524C7ED54A6188D_inline((XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 *)(XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 *)(&___sessionRelativeData0), /*hidden argument*/NULL);
NullCheck((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this);
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_1 = (( ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 (*) (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 53)->methodPointer)((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 53));
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_2 = (ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 )L_1;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_3 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_2.get_Item1_0();
V_0 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_3;
bool L_4 = (bool)L_2.get_Item2_1();
V_1 = (bool)L_4;
// var trackable = gameObject.GetComponent<TTrackable>();
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_5 = V_0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5);
RuntimeObject * L_6 = (( RuntimeObject * (*) (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 54)->methodPointer)((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 54));
V_2 = (RuntimeObject *)L_6;
// if (trackable == null)
RuntimeObject * L_7 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_8 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_7, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_003c;
}
}
{
// trackable = gameObject.AddComponent<TTrackable>();
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_9 = V_0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_9);
RuntimeObject * L_10 = (( RuntimeObject * (*) (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 55)->methodPointer)((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 55));
V_2 = (RuntimeObject *)L_10;
}
IL_003c:
{
// m_Trackables.Add(sessionRelativeData.trackableId, trackable);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_11 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_12 = XRFace_get_trackableId_mC7AA3B622C6B16A9E8B5A3BEA524C7ED54A6188D_inline((XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 *)(XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 *)(&___sessionRelativeData0), /*hidden argument*/NULL);
RuntimeObject * L_13 = V_2;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_11);
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_11, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_12, (RuntimeObject *)L_13, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43));
// SetSessionRelativeData(trackable, sessionRelativeData);
RuntimeObject * L_14 = V_2;
XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 L_15 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this);
(( void (*) (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *, RuntimeObject *, XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56)->methodPointer)((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this, (RuntimeObject *)L_14, (XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 )L_15, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56));
// trackable.gameObject.SetActive(shouldBeActive);
RuntimeObject * L_16 = V_2;
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_16);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_17 = Component_get_gameObject_m0B0570BA8DDD3CD78A9DB568EA18D7317686603C((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_16, /*hidden argument*/NULL);
bool L_18 = V_1;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_17);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_17, (bool)L_18, /*hidden argument*/NULL);
// return trackable;
RuntimeObject * L_19 = V_2;
return L_19;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRFace,System.Object>::SetSessionRelativeData(TTrackable,TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_SetSessionRelativeData_m9DE9F87DDB906A5480FF1A99A7DB6C1D45F66A31_gshared (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 * __this, RuntimeObject * ___trackable0, XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 ___data1, const RuntimeMethod* method)
{
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// trackable.SetSessionRelativeData(data);
RuntimeObject * L_0 = ___trackable0;
XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 L_1 = ___data1;
NullCheck((ARTrackable_2_tE4558CCBC5B711FE0CBCCC2E4DC1D9F0CA94E421 *)L_0);
(( void (*) (ARTrackable_2_tE4558CCBC5B711FE0CBCCC2E4DC1D9F0CA94E421 *, XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 57)->methodPointer)((ARTrackable_2_tE4558CCBC5B711FE0CBCCC2E4DC1D9F0CA94E421 *)L_0, (XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 )L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 57));
// var worldSpacePose = sessionOrigin.trackablesParent.TransformPose(data.pose);
NullCheck((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_2 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_2);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_3 = ARSessionOrigin_get_trackablesParent_m37049D7E75CF694834A140C2EACB15D2D1098505_inline((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_2, /*hidden argument*/NULL);
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_4 = XRFace_get_pose_m3792AF11CBB24361529B7291ED46B9DD2970AC54_inline((XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 *)(XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 *)(&___data1), /*hidden argument*/NULL);
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_5 = TransformExtensions_TransformPose_m677CE84C622BD23C3DDB2953DDB820E1934B0144((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_3, (Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 )L_4, /*hidden argument*/NULL);
V_0 = (Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 )L_5;
// trackable.transform.SetPositionAndRotation(worldSpacePose.position, worldSpacePose.rotation);
RuntimeObject * L_6 = ___trackable0;
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_6);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_7 = Component_get_transform_m00F05BD782F920C301A7EBA480F3B7A904C07EC9((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_6, /*hidden argument*/NULL);
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_8 = V_0;
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_9 = (Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 )L_8.get_position_0();
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_10 = V_0;
Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 L_11 = (Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 )L_10.get_rotation_1();
NullCheck((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_7);
Transform_SetPositionAndRotation_mDB9B34321018846FD7E2315CBE8D4A6612E3DE43((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_7, (Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 )L_9, (Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 )L_11, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRFace,System.Object>::CreateTrackableFromExisting(TTrackable,TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_CreateTrackableFromExisting_m3B2D06D9B7485105190892D41066AE90C2F3647B_gshared (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 * __this, RuntimeObject * ___existingTrackable0, XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 ___sessionRelativeData1, const RuntimeMethod* method)
{
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// var trackableId = sessionRelativeData.trackableId;
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = XRFace_get_trackableId_mC7AA3B622C6B16A9E8B5A3BEA524C7ED54A6188D_inline((XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 *)(XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 *)(&___sessionRelativeData1), /*hidden argument*/NULL);
V_0 = (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_0;
// m_Trackables.Add(trackableId, existingTrackable);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_1 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_2 = V_0;
RuntimeObject * L_3 = ___existingTrackable0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_1);
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_1, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_2, (RuntimeObject *)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43));
// SetSessionRelativeData(existingTrackable, sessionRelativeData);
RuntimeObject * L_4 = ___existingTrackable0;
XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 L_5 = ___sessionRelativeData1;
NullCheck((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this);
(( void (*) (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *, RuntimeObject *, XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56)->methodPointer)((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this, (RuntimeObject *)L_4, (XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 )L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56));
// OnCreateTrackable(existingTrackable);
RuntimeObject * L_6 = ___existingTrackable0;
NullCheck((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this);
VirtActionInvoker1< RuntimeObject * >::Invoke(14 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRFace,System.Object>::OnCreateTrackable(TTrackable) */, (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this, (RuntimeObject *)L_6);
// OnAfterSetSessionRelativeData(existingTrackable, sessionRelativeData);
RuntimeObject * L_7 = ___existingTrackable0;
XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 L_8 = ___sessionRelativeData1;
NullCheck((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this);
VirtActionInvoker2< RuntimeObject *, XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 >::Invoke(15 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRFace,System.Object>::OnAfterSetSessionRelativeData(TTrackable,TSessionRelativeData) */, (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this, (RuntimeObject *)L_7, (XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 )L_8);
// existingTrackable.OnAfterSetSessionRelativeData();
RuntimeObject * L_9 = ___existingTrackable0;
NullCheck((ARTrackable_2_tE4558CCBC5B711FE0CBCCC2E4DC1D9F0CA94E421 *)L_9);
VirtActionInvoker0::Invoke(4 /* System.Void UnityEngine.XR.ARFoundation.ARTrackable`2<UnityEngine.XR.ARSubsystems.XRFace,System.Object>::OnAfterSetSessionRelativeData() */, (ARTrackable_2_tE4558CCBC5B711FE0CBCCC2E4DC1D9F0CA94E421 *)L_9);
// m_PendingAdds.Add(trackableId, existingTrackable);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_10 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_11 = V_0;
RuntimeObject * L_12 = ___existingTrackable0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_10);
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_10, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_11, (RuntimeObject *)L_12, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43));
// existingTrackable.pending = true;
RuntimeObject * L_13 = ___existingTrackable0;
NullCheck((ARTrackable_2_tE4558CCBC5B711FE0CBCCC2E4DC1D9F0CA94E421 *)L_13);
(( void (*) (ARTrackable_2_tE4558CCBC5B711FE0CBCCC2E4DC1D9F0CA94E421 *, bool, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((ARTrackable_2_tE4558CCBC5B711FE0CBCCC2E4DC1D9F0CA94E421 *)L_13, (bool)1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
// }
return;
}
}
// TTrackable UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRFace,System.Object>::CreateOrUpdateTrackable(TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * ARTrackableManager_4_CreateOrUpdateTrackable_mF98895E5A50B14AC7602888B35A4C55500F16097_gshared (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 * __this, XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 ___sessionRelativeData0, const RuntimeMethod* method)
{
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 V_0;
memset((&V_0), 0, sizeof(V_0));
RuntimeObject * V_1 = NULL;
{
// var trackableId = sessionRelativeData.trackableId;
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = XRFace_get_trackableId_mC7AA3B622C6B16A9E8B5A3BEA524C7ED54A6188D_inline((XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 *)(XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 *)(&___sessionRelativeData0), /*hidden argument*/NULL);
V_0 = (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_0;
// if (m_Trackables.TryGetValue(trackableId, out var trackable))
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_1 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_2 = V_0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_1);
bool L_3 = (( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject **, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_1, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_2, (RuntimeObject **)(RuntimeObject **)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
if (!L_3)
{
goto IL_0041;
}
}
{
// m_PendingAdds.Remove(trackableId);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_4 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_5 = V_0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_4);
(( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_4, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
// trackable.pending = false;
RuntimeObject * L_6 = V_1;
NullCheck((ARTrackable_2_tE4558CCBC5B711FE0CBCCC2E4DC1D9F0CA94E421 *)L_6);
(( void (*) (ARTrackable_2_tE4558CCBC5B711FE0CBCCC2E4DC1D9F0CA94E421 *, bool, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((ARTrackable_2_tE4558CCBC5B711FE0CBCCC2E4DC1D9F0CA94E421 *)L_6, (bool)0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
// SetSessionRelativeData(trackable, sessionRelativeData);
RuntimeObject * L_7 = V_1;
XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 L_8 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this);
(( void (*) (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *, RuntimeObject *, XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56)->methodPointer)((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this, (RuntimeObject *)L_7, (XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 )L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56));
// }
goto IL_0050;
}
IL_0041:
{
// trackable = CreateTrackable(sessionRelativeData);
XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 L_9 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this);
RuntimeObject * L_10 = (( RuntimeObject * (*) (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *, XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 61)->methodPointer)((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this, (XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 )L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 61));
V_1 = (RuntimeObject *)L_10;
// OnCreateTrackable(trackable);
RuntimeObject * L_11 = V_1;
NullCheck((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this);
VirtActionInvoker1< RuntimeObject * >::Invoke(14 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRFace,System.Object>::OnCreateTrackable(TTrackable) */, (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this, (RuntimeObject *)L_11);
}
IL_0050:
{
// OnAfterSetSessionRelativeData(trackable, sessionRelativeData);
RuntimeObject * L_12 = V_1;
XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 L_13 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this);
VirtActionInvoker2< RuntimeObject *, XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 >::Invoke(15 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRFace,System.Object>::OnAfterSetSessionRelativeData(TTrackable,TSessionRelativeData) */, (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 *)__this, (RuntimeObject *)L_12, (XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 )L_13);
// trackable.OnAfterSetSessionRelativeData();
RuntimeObject * L_14 = V_1;
NullCheck((ARTrackable_2_tE4558CCBC5B711FE0CBCCC2E4DC1D9F0CA94E421 *)L_14);
VirtActionInvoker0::Invoke(4 /* System.Void UnityEngine.XR.ARFoundation.ARTrackable`2<UnityEngine.XR.ARSubsystems.XRFace,System.Object>::OnAfterSetSessionRelativeData() */, (ARTrackable_2_tE4558CCBC5B711FE0CBCCC2E4DC1D9F0CA94E421 *)L_14);
// return trackable;
RuntimeObject * L_15 = V_1;
return L_15;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRFace,System.Object>::DestroyTrackable(TTrackable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_DestroyTrackable_m9AED1F2FCEA9A8F212A8DFA4A5388B7443FD2806_gshared (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 * __this, RuntimeObject * ___trackable0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_DestroyTrackable_m9AED1F2FCEA9A8F212A8DFA4A5388B7443FD2806_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (trackable.destroyOnRemoval)
RuntimeObject * L_0 = ___trackable0;
NullCheck((ARTrackable_2_tE4558CCBC5B711FE0CBCCC2E4DC1D9F0CA94E421 *)L_0);
bool L_1 = (( bool (*) (ARTrackable_2_tE4558CCBC5B711FE0CBCCC2E4DC1D9F0CA94E421 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 62)->methodPointer)((ARTrackable_2_tE4558CCBC5B711FE0CBCCC2E4DC1D9F0CA94E421 *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 62));
if (!L_1)
{
goto IL_001d;
}
}
{
// Destroy(trackable.gameObject);
RuntimeObject * L_2 = ___trackable0;
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_2);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_3 = Component_get_gameObject_m0B0570BA8DDD3CD78A9DB568EA18D7317686603C((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_2, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
Object_Destroy_m23B4562495BA35A74266D4372D45368F8C05109A((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_3, /*hidden argument*/NULL);
}
IL_001d:
{
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRFace,System.Object>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4__ctor_m5427BBC788A2ECF23E8C7EBBEB57526389DF72F1_gshared (ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282 * __this, const RuntimeMethod* method)
{
{
// protected Dictionary<TrackableId, TTrackable> m_Trackables = new Dictionary<TrackableId, TTrackable>();
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_0 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 63));
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 64)->methodPointer)(L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 64));
__this->set_m_Trackables_9(L_0);
// protected Dictionary<TrackableId, TTrackable> m_PendingAdds = new Dictionary<TrackableId, TTrackable>();
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_1 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 63));
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 64)->methodPointer)(L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 64));
__this->set_m_PendingAdds_10(L_1);
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1));
(( void (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 65)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 65));
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRFace,System.Object>::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4__cctor_mE53F54A65568F0CE8745148D875FDDD2598E0069_gshared (const RuntimeMethod* method)
{
{
// static List<TTrackable> s_Added = new List<TTrackable>();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_0 = (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 66));
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67)->methodPointer)(L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67));
((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set_s_Added_11(L_0);
// static List<TTrackable> s_Updated = new List<TTrackable>();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_1 = (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 66));
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67)->methodPointer)(L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67));
((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set_s_Updated_12(L_1);
// static List<TTrackable> s_Removed = new List<TTrackable>();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_2 = (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 66));
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67)->methodPointer)(L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67));
((ARTrackableManager_4_t8F7E69B035C51DE93EA31E7C6D80AEC8300D6282_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set_s_Removed_13(L_2);
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
// UnityEngine.XR.ARFoundation.ARTrackableManager`4<TSubsystem,TSubsystemDescriptor,TSessionRelativeData,TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::get_instance()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 * ARTrackableManager_4_get_instance_m683D1ADF7CC28A238B38D598DC9E18D90B861411_gshared (const RuntimeMethod* method)
{
{
// internal static ARTrackableManager<TSubsystem, TSubsystemDescriptor, TSessionRelativeData, TTrackable> instance { get; private set; }
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0));
ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 * L_0 = ((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->get_U3CinstanceU3Ek__BackingField_7();
return L_0;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::set_instance(UnityEngine.XR.ARFoundation.ARTrackableManager`4<TSubsystem,TSubsystemDescriptor,TSessionRelativeData,TTrackable>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_set_instance_m3585D30B0FC7DC91F8BD7C127EB855EE94A81E7E_gshared (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 * ___value0, const RuntimeMethod* method)
{
{
// internal static ARTrackableManager<TSubsystem, TSubsystemDescriptor, TSessionRelativeData, TTrackable> instance { get; private set; }
ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 * L_0 = ___value0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0));
((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set_U3CinstanceU3Ek__BackingField_7(L_0);
return;
}
}
// UnityEngine.XR.ARFoundation.TrackableCollection`1<TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::get_trackables()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 ARTrackableManager_4_get_trackables_m73896DDC5267174819CE533B0591CCE9E7DB3642_gshared (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 * __this, const RuntimeMethod* method)
{
{
// public TrackableCollection<TTrackable> trackables => new TrackableCollection<TTrackable>(m_Trackables);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_0 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 L_1;
memset((&L_1), 0, sizeof(L_1));
TrackableCollection_1__ctor_mA99D3D41CAA02EF94BD2B96D6DC1B66450E226FF((&L_1), (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 3));
return L_1;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::SetTrackablesActive(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_SetTrackablesActive_m284EE47FB9941A903CEE60FFB420BD4E280396E5_gshared (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 * __this, bool ___active0, const RuntimeMethod* method)
{
Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED V_0;
memset((&V_0), 0, sizeof(V_0));
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 V_1;
memset((&V_1), 0, sizeof(V_1));
{
// foreach (var trackable in trackables)
NullCheck((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this);
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 L_0 = (( TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 (*) (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 4)->methodPointer)((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 4));
V_1 = (TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 )L_0;
Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED L_1 = TrackableCollection_1_GetEnumerator_mBAA3D036F160A053757196D57318EC6B3F368D02((TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 *)(TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
V_0 = (Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED )L_1;
goto IL_0028;
}
IL_0011:
{
// foreach (var trackable in trackables)
RuntimeObject * L_2 = Enumerator_get_Current_m6D82C8CA15561A8D32BA77CB304C80AF57C4C77E((Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6));
// trackable.gameObject.SetActive(active);
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_2);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_3 = Component_get_gameObject_m0B0570BA8DDD3CD78A9DB568EA18D7317686603C((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_2, /*hidden argument*/NULL);
bool L_4 = ___active0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_3);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_3, (bool)L_4, /*hidden argument*/NULL);
}
IL_0028:
{
// foreach (var trackable in trackables)
bool L_5 = Enumerator_MoveNext_mF64DBEA38614B8A6E085DFC09DD2745BE2ACB9BE((Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
if (L_5)
{
goto IL_0011;
}
}
{
// }
return;
}
}
// UnityEngine.XR.ARFoundation.ARSessionOrigin UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::get_sessionOrigin()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * ARTrackableManager_4_get_sessionOrigin_m9178354E82941B9EC990CA8790F0EA7359AA837A_gshared (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 * __this, const RuntimeMethod* method)
{
{
// protected ARSessionOrigin sessionOrigin { get; private set; }
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = (ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)__this->get_U3CsessionOriginU3Ek__BackingField_8();
return L_0;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::set_sessionOrigin(UnityEngine.XR.ARFoundation.ARSessionOrigin)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_set_sessionOrigin_mBD19EC3BFB5AAB43F4B0CF9A3DF72C3DBEB4EA71_gshared (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 * __this, ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * ___value0, const RuntimeMethod* method)
{
{
// protected ARSessionOrigin sessionOrigin { get; private set; }
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = ___value0;
__this->set_U3CsessionOriginU3Ek__BackingField_8(L_0);
return;
}
}
// UnityEngine.GameObject UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::GetPrefab()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * ARTrackableManager_4_GetPrefab_m7F8B933EE19A05FAA7BD017B0FB11F569D463D08_gshared (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 * __this, const RuntimeMethod* method)
{
{
// protected virtual GameObject GetPrefab() => null;
return (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)NULL;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::Awake()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_Awake_mF6A6E65E3444A3B0E94B67BC525CDEF9B1726E76_gshared (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_Awake_mF6A6E65E3444A3B0E94B67BC525CDEF9B1726E76_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// sessionOrigin = GetComponent<ARSessionOrigin>();
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = Component_GetComponent_TisARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF_m25BC8791B994BAE33BF9003FFC85124F480EFB17((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)__this, /*hidden argument*/Component_GetComponent_TisARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF_m25BC8791B994BAE33BF9003FFC85124F480EFB17_RuntimeMethod_var);
NullCheck((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this);
(( void (*) (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *, ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this, (ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::OnEnable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnEnable_mD3D21D6C5C31A0959BF6F54B21116BF26FE16583_gshared (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_OnEnable_mD3D21D6C5C31A0959BF6F54B21116BF26FE16583_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// base.OnEnable();
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
(( void (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10));
// instance = this;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
(( void (*) (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 11)->methodPointer)((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 11));
// sessionOrigin.trackablesParentTransformChanged += OnTrackablesParentTransformChanged;
NullCheck((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB * L_1 = (Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB *)il2cpp_codegen_object_new(Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB_il2cpp_TypeInfo_var);
Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B(L_1, (RuntimeObject *)__this, (intptr_t)((intptr_t)IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)), /*hidden argument*/Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B_RuntimeMethod_var);
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0);
ARSessionOrigin_add_trackablesParentTransformChanged_m59165BB2C4BFB84AD169AF54D2D9B76DBD8A5235((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0, (Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB *)L_1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::OnDisable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnDisable_mD4A7256A9FF1EDA6612A8D5AA5C4EAA81D172ACD_gshared (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_OnDisable_mD4A7256A9FF1EDA6612A8D5AA5C4EAA81D172ACD_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// base.OnDisable();
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
(( void (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14));
// sessionOrigin.trackablesParentTransformChanged -= OnTrackablesParentTransformChanged;
NullCheck((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB * L_1 = (Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB *)il2cpp_codegen_object_new(Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB_il2cpp_TypeInfo_var);
Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B(L_1, (RuntimeObject *)__this, (intptr_t)((intptr_t)IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)), /*hidden argument*/Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B_RuntimeMethod_var);
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0);
ARSessionOrigin_remove_trackablesParentTransformChanged_mF790C29F00B85A00D500F3420855F4BF75DBA2A4((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0, (Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB *)L_1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Boolean UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::CanBeAddedToSubsystem(TTrackable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ARTrackableManager_4_CanBeAddedToSubsystem_mF628524B0C72085D595000FC219D5C29A7510AA8_gshared (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 * __this, RuntimeObject * ___trackable0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_CanBeAddedToSubsystem_mF628524B0C72085D595000FC219D5C29A7510AA8_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// if (trackable == null)
RuntimeObject * L_0 = ___trackable0;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_0, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0019;
}
}
{
// throw new ArgumentNullException(nameof(trackable));
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_2 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_2, (String_t*)_stringLiteral05E5EBD9D5908CC9215021F08ACFBC4B58571C5C, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, ARTrackableManager_4_CanBeAddedToSubsystem_mF628524B0C72085D595000FC219D5C29A7510AA8_RuntimeMethod_var);
}
IL_0019:
{
// if (!trackable.trackableId.Equals(TrackableId.invalidId))
RuntimeObject * L_3 = ___trackable0;
NullCheck((ARTrackable_2_tFA4BACEF6596DD739E012F98431A97E04019DD10 *)L_3);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_4 = (( TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 (*) (ARTrackable_2_tFA4BACEF6596DD739E012F98431A97E04019DD10 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)((ARTrackable_2_tFA4BACEF6596DD739E012F98431A97E04019DD10 *)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
V_0 = (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_4;
IL2CPP_RUNTIME_CLASS_INIT(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47_il2cpp_TypeInfo_var);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_5 = TrackableId_get_invalidId_mBE9FA1EC8F2EC1575C1B31666EA928A3382DF1CD_inline(/*hidden argument*/NULL);
bool L_6 = TrackableId_Equals_mCE458E0FDCDD6E339FCC1926EE88EB7B3D45F943((TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 *)(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 *)(&V_0), (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_5, /*hidden argument*/NULL);
if (L_6)
{
goto IL_0035;
}
}
{
// return false;
return (bool)0;
}
IL_0035:
{
// if (m_Trackables.ContainsKey(trackable.trackableId))
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_7 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
RuntimeObject * L_8 = ___trackable0;
NullCheck((ARTrackable_2_tFA4BACEF6596DD739E012F98431A97E04019DD10 *)L_8);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_9 = (( TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 (*) (ARTrackable_2_tFA4BACEF6596DD739E012F98431A97E04019DD10 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)((ARTrackable_2_tFA4BACEF6596DD739E012F98431A97E04019DD10 *)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_7);
bool L_10 = (( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_7, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16));
if (!L_10)
{
goto IL_004f;
}
}
{
// return false;
return (bool)0;
}
IL_004f:
{
// if (!enabled || subsystem == null)
NullCheck((Behaviour_tBDC7E9C3C898AD8348891B82D3E345801D920CA8 *)__this);
bool L_11 = Behaviour_get_enabled_mAA0C9ED5A3D1589C1C8AA22636543528DB353CFB((Behaviour_tBDC7E9C3C898AD8348891B82D3E345801D920CA8 *)__this, /*hidden argument*/NULL);
if (!L_11)
{
goto IL_0064;
}
}
{
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
RuntimeObject * L_12 = (( RuntimeObject * (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
if (L_12)
{
goto IL_0072;
}
}
IL_0064:
{
// trackable.pending = true;
RuntimeObject * L_13 = ___trackable0;
NullCheck((ARTrackable_2_tFA4BACEF6596DD739E012F98431A97E04019DD10 *)L_13);
(( void (*) (ARTrackable_2_tFA4BACEF6596DD739E012F98431A97E04019DD10 *, bool, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((ARTrackable_2_tFA4BACEF6596DD739E012F98431A97E04019DD10 *)L_13, (bool)1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
// return false;
return (bool)0;
}
IL_0072:
{
// return sessionOrigin && sessionOrigin.trackablesParent;
NullCheck((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_14 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_15 = Object_op_Implicit_m8B2A44B4B1406ED346D1AE6D962294FD58D0D534((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_14, /*hidden argument*/NULL);
if (!L_15)
{
goto IL_0090;
}
}
{
NullCheck((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_16 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_16);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_17 = ARSessionOrigin_get_trackablesParent_m37049D7E75CF694834A140C2EACB15D2D1098505_inline((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_16, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_18 = Object_op_Implicit_m8B2A44B4B1406ED346D1AE6D962294FD58D0D534((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_17, /*hidden argument*/NULL);
return L_18;
}
IL_0090:
{
return (bool)0;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::OnTrackablesParentTransformChanged(UnityEngine.XR.ARFoundation.ARTrackablesParentTransformChangedEventArgs)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnTrackablesParentTransformChanged_m3428A9B81A36D235AC0577593E21F5858482D617_gshared (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 * __this, ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 ___eventArgs0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_OnTrackablesParentTransformChanged_m3428A9B81A36D235AC0577593E21F5858482D617_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED V_0;
memset((&V_0), 0, sizeof(V_0));
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 V_1;
memset((&V_1), 0, sizeof(V_1));
RuntimeObject * V_2 = NULL;
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * V_3 = NULL;
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 V_4;
memset((&V_4), 0, sizeof(V_4));
{
// foreach (var trackable in trackables)
NullCheck((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this);
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 L_0 = (( TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 (*) (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 4)->methodPointer)((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 4));
V_1 = (TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 )L_0;
Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED L_1 = TrackableCollection_1_GetEnumerator_mBAA3D036F160A053757196D57318EC6B3F368D02((TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 *)(TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
V_0 = (Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED )L_1;
goto IL_0066;
}
IL_0011:
{
// foreach (var trackable in trackables)
RuntimeObject * L_2 = Enumerator_get_Current_m6D82C8CA15561A8D32BA77CB304C80AF57C4C77E((Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6));
V_2 = (RuntimeObject *)L_2;
// var transform = trackable.transform;
RuntimeObject * L_3 = V_2;
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_3);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_4 = Component_get_transform_m00F05BD782F920C301A7EBA480F3B7A904C07EC9((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_3, /*hidden argument*/NULL);
V_3 = (Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_4;
// if (transform.parent != eventArgs.trackablesParent)
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_5 = V_3;
NullCheck((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_5);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_6 = Transform_get_parent_m8FA24E38A1FA29D90CBF3CDC9F9F017C65BB3403((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_5, /*hidden argument*/NULL);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_7 = ARTrackablesParentTransformChangedEventArgs_get_trackablesParent_m124F9D34F6DA7E3FAB3E7CB9981820682219FE49_inline((ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 *)(ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 *)(&___eventArgs0), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_8 = Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_6, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_7, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_0066;
}
}
{
// var desiredPose = eventArgs.trackablesParent.TransformPose(trackable.sessionRelativePose);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_9 = ARTrackablesParentTransformChangedEventArgs_get_trackablesParent_m124F9D34F6DA7E3FAB3E7CB9981820682219FE49_inline((ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 *)(ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 *)(&___eventArgs0), /*hidden argument*/NULL);
RuntimeObject * L_10 = V_2;
NullCheck((ARTrackable_2_tFA4BACEF6596DD739E012F98431A97E04019DD10 *)L_10);
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_11 = (( Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 (*) (ARTrackable_2_tFA4BACEF6596DD739E012F98431A97E04019DD10 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20)->methodPointer)((ARTrackable_2_tFA4BACEF6596DD739E012F98431A97E04019DD10 *)L_10, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20));
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_12 = TransformExtensions_TransformPose_m677CE84C622BD23C3DDB2953DDB820E1934B0144((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_9, (Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 )L_11, /*hidden argument*/NULL);
V_4 = (Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 )L_12;
// transform.SetPositionAndRotation(desiredPose.position, desiredPose.rotation);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_13 = V_3;
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_14 = V_4;
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_15 = (Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 )L_14.get_position_0();
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_16 = V_4;
Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 L_17 = (Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 )L_16.get_rotation_1();
NullCheck((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_13);
Transform_SetPositionAndRotation_mDB9B34321018846FD7E2315CBE8D4A6612E3DE43((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_13, (Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 )L_15, (Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 )L_17, /*hidden argument*/NULL);
}
IL_0066:
{
// foreach (var trackable in trackables)
bool L_18 = Enumerator_MoveNext_mF64DBEA38614B8A6E085DFC09DD2745BE2ACB9BE((Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
if (L_18)
{
goto IL_0011;
}
}
{
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::Update()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_Update_m9BCE6E93077166E2B026D44F56B0B33A2AEEE96F_gshared (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_Update_m9BCE6E93077166E2B026D44F56B0B33A2AEEE96F_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 V_0;
memset((&V_0), 0, sizeof(V_0));
TrackableChanges_1_t8F77CF9D37FD0DCA052A7D6B34E1A489AF13C41B V_1;
memset((&V_1), 0, sizeof(V_1));
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 V_2;
memset((&V_2), 0, sizeof(V_2));
NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 V_3;
memset((&V_3), 0, sizeof(V_3));
Enumerator_t7A9A8176FE6837923878CAD250C11AC9DC688AF9 V_4;
memset((&V_4), 0, sizeof(V_4));
XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 V_5;
memset((&V_5), 0, sizeof(V_5));
XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 V_6;
memset((&V_6), 0, sizeof(V_6));
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 V_7;
memset((&V_7), 0, sizeof(V_7));
Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A V_8;
memset((&V_8), 0, sizeof(V_8));
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 V_9;
memset((&V_9), 0, sizeof(V_9));
RuntimeObject * V_10 = NULL;
Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD V_11;
memset((&V_11), 0, sizeof(V_11));
RuntimeObject * V_12 = 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) * 5);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
// if (subsystem == null || !subsystem.running)
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
RuntimeObject * L_0 = (( RuntimeObject * (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
if (!L_0)
{
goto IL_001f;
}
}
{
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
RuntimeObject * L_1 = (( RuntimeObject * (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
NullCheck((Subsystem_t17E4AEB5537DC8AECC37EC3F6FCB46CC7D2C73F6 *)L_1);
bool L_2 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.Subsystem::get_running() */, (Subsystem_t17E4AEB5537DC8AECC37EC3F6FCB46CC7D2C73F6 *)L_1);
if (L_2)
{
goto IL_0020;
}
}
IL_001f:
{
// return;
return;
}
IL_0020:
{
// using (new ScopedProfiler("GetChanges"))
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_0), (String_t*)_stringLiteralE68C28CA8FA3E38258B2081639EE5D1C7F58849B, /*hidden argument*/NULL);
}
IL_002c:
try
{ // begin try (depth: 1)
{
// using (var changes = subsystem.GetChanges(Allocator.Temp))
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
RuntimeObject * L_3 = (( RuntimeObject * (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
NullCheck((TrackingSubsystem_2_tBB99F93D6653B71E3A2C1E2116F8599311DC72D6 *)L_3);
TrackableChanges_1_t8F77CF9D37FD0DCA052A7D6B34E1A489AF13C41B L_4 = VirtFuncInvoker1< TrackableChanges_1_t8F77CF9D37FD0DCA052A7D6B34E1A489AF13C41B , int32_t >::Invoke(14 /* UnityEngine.XR.ARSubsystems.TrackableChanges`1<!0> UnityEngine.XR.ARSubsystems.TrackingSubsystem`2<UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::GetChanges(Unity.Collections.Allocator) */, (TrackingSubsystem_2_tBB99F93D6653B71E3A2C1E2116F8599311DC72D6 *)L_3, (int32_t)2);
V_1 = (TrackableChanges_1_t8F77CF9D37FD0DCA052A7D6B34E1A489AF13C41B )L_4;
}
IL_003e:
try
{ // begin try (depth: 2)
{
// using (new ScopedProfiler("ProcessAdded"))
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 L_5;
memset((&L_5), 0, sizeof(L_5));
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((&L_5), (String_t*)_stringLiteral8CC52613125F0E802A5E603C37A6CAE800639F62, /*hidden argument*/NULL);
V_2 = (ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 )L_5;
}
IL_0049:
try
{ // begin try (depth: 3)
{
// ClearAndSetCapacity(s_Added, changes.added.Length);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_6 = ((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Added_11();
NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 L_7 = TrackableChanges_1_get_added_mAC12696B7D12A00A3FE9C34A2FF8F22ED6A3BD6C_inline((TrackableChanges_1_t8F77CF9D37FD0DCA052A7D6B34E1A489AF13C41B *)(TrackableChanges_1_t8F77CF9D37FD0DCA052A7D6B34E1A489AF13C41B *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
V_3 = (NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 )L_7;
int32_t L_8 = IL2CPP_NATIVEARRAY_GET_LENGTH(((NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 *)(NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 *)(&V_3))->___m_Length_1);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_6, (int32_t)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24));
// foreach (var added in changes.added)
NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 L_9 = TrackableChanges_1_get_added_mAC12696B7D12A00A3FE9C34A2FF8F22ED6A3BD6C_inline((TrackableChanges_1_t8F77CF9D37FD0DCA052A7D6B34E1A489AF13C41B *)(TrackableChanges_1_t8F77CF9D37FD0DCA052A7D6B34E1A489AF13C41B *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
V_3 = (NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 )L_9;
Enumerator_t7A9A8176FE6837923878CAD250C11AC9DC688AF9 L_10 = NativeArray_1_GetEnumerator_m396AB3FBDE1CC728596A1C4C11026DF4CD4D2D19((NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 *)(NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 *)(&V_3), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
V_4 = (Enumerator_t7A9A8176FE6837923878CAD250C11AC9DC688AF9 )L_10;
}
IL_0073:
try
{ // begin try (depth: 4)
{
goto IL_0090;
}
IL_0075:
{
// foreach (var added in changes.added)
XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 L_11 = Enumerator_get_Current_mD2BCDF0D0C3D6C8C2B109E105D80E50DDB0E2B3D((Enumerator_t7A9A8176FE6837923878CAD250C11AC9DC688AF9 *)(Enumerator_t7A9A8176FE6837923878CAD250C11AC9DC688AF9 *)(&V_4), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
V_5 = (XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 )L_11;
// s_Added.Add(CreateOrUpdateTrackable(added));
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_12 = ((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Added_11();
XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 L_13 = V_5;
NullCheck((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this);
RuntimeObject * L_14 = (( RuntimeObject * (*) (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *, XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this, (XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 )L_13, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_12);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_12, (RuntimeObject *)L_14, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_0090:
{
// foreach (var added in changes.added)
bool L_15 = Enumerator_MoveNext_m4D170F36845E7C8D8929AFEEF7610571597E1159((Enumerator_t7A9A8176FE6837923878CAD250C11AC9DC688AF9 *)(Enumerator_t7A9A8176FE6837923878CAD250C11AC9DC688AF9 *)(&V_4), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29));
if (L_15)
{
goto IL_0075;
}
}
IL_0099:
{
IL2CPP_LEAVE(0xB7, FINALLY_009b);
}
} // end try (depth: 4)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_009b;
}
FINALLY_009b:
{ // begin finally (depth: 4)
Il2CppFakeBox<Enumerator_t7A9A8176FE6837923878CAD250C11AC9DC688AF9 > L_16(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 30), (&V_4));
const VirtualInvokeData& il2cpp_virtual_invoke_data__163 = il2cpp_codegen_get_interface_invoke_data(0, (&L_16), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__163.methodPtr)((RuntimeObject*)(&L_16), /*hidden argument*/il2cpp_virtual_invoke_data__163.method);
V_4 = L_16.m_Value;
IL2CPP_END_FINALLY(155)
} // end finally (depth: 4)
IL2CPP_CLEANUP(155)
{
IL2CPP_END_CLEANUP(0xB7, FINALLY_00a9);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 3)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00a9;
}
FINALLY_00a9:
{ // begin finally (depth: 3)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_2), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(169)
} // end finally (depth: 3)
IL2CPP_CLEANUP(169)
{
IL2CPP_JUMP_TBL(0xB7, IL_00b7)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00b7:
{
// using (new ScopedProfiler("ProcessUpdated"))
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 L_17;
memset((&L_17), 0, sizeof(L_17));
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((&L_17), (String_t*)_stringLiteralD84182942D9EE680B64113858F0F32DEDC108F25, /*hidden argument*/NULL);
V_2 = (ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 )L_17;
}
IL_00c2:
try
{ // begin try (depth: 3)
{
// ClearAndSetCapacity(s_Updated, changes.updated.Length);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_18 = ((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Updated_12();
NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 L_19 = TrackableChanges_1_get_updated_mCD92C9A6154DC58C63992B59E6671BC8AE07F9C8_inline((TrackableChanges_1_t8F77CF9D37FD0DCA052A7D6B34E1A489AF13C41B *)(TrackableChanges_1_t8F77CF9D37FD0DCA052A7D6B34E1A489AF13C41B *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
V_3 = (NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 )L_19;
int32_t L_20 = IL2CPP_NATIVEARRAY_GET_LENGTH(((NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 *)(NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 *)(&V_3))->___m_Length_1);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_18, (int32_t)L_20, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24));
// foreach (var updated in changes.updated)
NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 L_21 = TrackableChanges_1_get_updated_mCD92C9A6154DC58C63992B59E6671BC8AE07F9C8_inline((TrackableChanges_1_t8F77CF9D37FD0DCA052A7D6B34E1A489AF13C41B *)(TrackableChanges_1_t8F77CF9D37FD0DCA052A7D6B34E1A489AF13C41B *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
V_3 = (NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 )L_21;
Enumerator_t7A9A8176FE6837923878CAD250C11AC9DC688AF9 L_22 = NativeArray_1_GetEnumerator_m396AB3FBDE1CC728596A1C4C11026DF4CD4D2D19((NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 *)(NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 *)(&V_3), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
V_4 = (Enumerator_t7A9A8176FE6837923878CAD250C11AC9DC688AF9 )L_22;
}
IL_00ec:
try
{ // begin try (depth: 4)
{
goto IL_0109;
}
IL_00ee:
{
// foreach (var updated in changes.updated)
XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 L_23 = Enumerator_get_Current_mD2BCDF0D0C3D6C8C2B109E105D80E50DDB0E2B3D((Enumerator_t7A9A8176FE6837923878CAD250C11AC9DC688AF9 *)(Enumerator_t7A9A8176FE6837923878CAD250C11AC9DC688AF9 *)(&V_4), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
V_6 = (XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 )L_23;
// s_Updated.Add(CreateOrUpdateTrackable(updated));
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_24 = ((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Updated_12();
XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 L_25 = V_6;
NullCheck((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this);
RuntimeObject * L_26 = (( RuntimeObject * (*) (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *, XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this, (XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 )L_25, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_24);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_24, (RuntimeObject *)L_26, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_0109:
{
// foreach (var updated in changes.updated)
bool L_27 = Enumerator_MoveNext_m4D170F36845E7C8D8929AFEEF7610571597E1159((Enumerator_t7A9A8176FE6837923878CAD250C11AC9DC688AF9 *)(Enumerator_t7A9A8176FE6837923878CAD250C11AC9DC688AF9 *)(&V_4), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29));
if (L_27)
{
goto IL_00ee;
}
}
IL_0112:
{
IL2CPP_LEAVE(0x130, FINALLY_0114);
}
} // end try (depth: 4)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0114;
}
FINALLY_0114:
{ // begin finally (depth: 4)
Il2CppFakeBox<Enumerator_t7A9A8176FE6837923878CAD250C11AC9DC688AF9 > L_28(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 30), (&V_4));
const VirtualInvokeData& il2cpp_virtual_invoke_data__284 = il2cpp_codegen_get_interface_invoke_data(0, (&L_28), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__284.methodPtr)((RuntimeObject*)(&L_28), /*hidden argument*/il2cpp_virtual_invoke_data__284.method);
V_4 = L_28.m_Value;
IL2CPP_END_FINALLY(276)
} // end finally (depth: 4)
IL2CPP_CLEANUP(276)
{
IL2CPP_END_CLEANUP(0x130, FINALLY_0122);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 3)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0122;
}
FINALLY_0122:
{ // begin finally (depth: 3)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_2), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(290)
} // end finally (depth: 3)
IL2CPP_CLEANUP(290)
{
IL2CPP_JUMP_TBL(0x130, IL_0130)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0130:
{
// using (new ScopedProfiler("ProcessRemoved"))
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 L_29;
memset((&L_29), 0, sizeof(L_29));
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((&L_29), (String_t*)_stringLiteralC0371E7E1DB9F795AC51193C554BD9BEF51AD664, /*hidden argument*/NULL);
V_2 = (ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 )L_29;
}
IL_013b:
try
{ // begin try (depth: 3)
{
// ClearAndSetCapacity(s_Removed, changes.removed.Length);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_30 = ((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 L_31 = TrackableChanges_1_get_removed_m377C6A3BFE41CC689AFE09CE1529B79113140DD2_inline((TrackableChanges_1_t8F77CF9D37FD0DCA052A7D6B34E1A489AF13C41B *)(TrackableChanges_1_t8F77CF9D37FD0DCA052A7D6B34E1A489AF13C41B *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
V_7 = (NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 )L_31;
int32_t L_32 = IL2CPP_NATIVEARRAY_GET_LENGTH(((NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 *)(NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 *)(&V_7))->___m_Length_1);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_30, (int32_t)L_32, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24));
// foreach (var trackableId in changes.removed)
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 L_33 = TrackableChanges_1_get_removed_m377C6A3BFE41CC689AFE09CE1529B79113140DD2_inline((TrackableChanges_1_t8F77CF9D37FD0DCA052A7D6B34E1A489AF13C41B *)(TrackableChanges_1_t8F77CF9D37FD0DCA052A7D6B34E1A489AF13C41B *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
V_7 = (NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 )L_33;
Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A L_34 = NativeArray_1_GetEnumerator_m3B6CA1981A8CE62A1C67FCEEBE1887CD32906DA2((NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 *)(NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 *)(&V_7), /*hidden argument*/NativeArray_1_GetEnumerator_m3B6CA1981A8CE62A1C67FCEEBE1887CD32906DA2_RuntimeMethod_var);
V_8 = (Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A )L_34;
}
IL_0167:
try
{ // begin try (depth: 4)
{
goto IL_01ab;
}
IL_0169:
{
// foreach (var trackableId in changes.removed)
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_35 = Enumerator_get_Current_m913D10AD892E19937C638773D208459E9862248D((Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A *)(Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A *)(&V_8), /*hidden argument*/Enumerator_get_Current_m913D10AD892E19937C638773D208459E9862248D_RuntimeMethod_var);
V_9 = (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_35;
// if (m_Trackables.TryGetValue(trackableId, out var trackable))
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_36 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_37 = V_9;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_36);
bool L_38 = (( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject **, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_36, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_37, (RuntimeObject **)(RuntimeObject **)(&V_10), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
if (!L_38)
{
goto IL_01ab;
}
}
IL_0183:
{
// m_Trackables.Remove(trackableId);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_39 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_40 = V_9;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_39);
(( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_39, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_40, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
// if (trackable)
RuntimeObject * L_41 = V_10;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_42 = Object_op_Implicit_m8B2A44B4B1406ED346D1AE6D962294FD58D0D534((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_41, /*hidden argument*/NULL);
if (!L_42)
{
goto IL_01ab;
}
}
IL_019f:
{
// s_Removed.Add(trackable);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_43 = ((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
RuntimeObject * L_44 = V_10;
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_43);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_43, (RuntimeObject *)L_44, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_01ab:
{
// foreach (var trackableId in changes.removed)
bool L_45 = Enumerator_MoveNext_m3C4C0B0B1AE71E65EF8255E6FC671DDBC829B6AA((Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A *)(Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A *)(&V_8), /*hidden argument*/Enumerator_MoveNext_m3C4C0B0B1AE71E65EF8255E6FC671DDBC829B6AA_RuntimeMethod_var);
if (L_45)
{
goto IL_0169;
}
}
IL_01b4:
{
IL2CPP_LEAVE(0x1EE, FINALLY_01b6);
}
} // end try (depth: 4)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01b6;
}
FINALLY_01b6:
{ // begin finally (depth: 4)
Il2CppFakeBox<Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A > L_46(Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A_il2cpp_TypeInfo_var, (&V_8));
const VirtualInvokeData& il2cpp_virtual_invoke_data__446 = il2cpp_codegen_get_interface_invoke_data(0, (&L_46), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__446.methodPtr)((RuntimeObject*)(&L_46), /*hidden argument*/il2cpp_virtual_invoke_data__446.method);
V_8 = L_46.m_Value;
IL2CPP_END_FINALLY(438)
} // end finally (depth: 4)
IL2CPP_CLEANUP(438)
{
IL2CPP_END_CLEANUP(0x1EE, FINALLY_01c4);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 3)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01c4;
}
FINALLY_01c4:
{ // begin finally (depth: 3)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_2), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(452)
} // end finally (depth: 3)
IL2CPP_CLEANUP(452)
{
IL2CPP_END_CLEANUP(0x1EE, FINALLY_01d2);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01d2;
}
FINALLY_01d2:
{ // begin finally (depth: 2)
Il2CppFakeBox<TrackableChanges_1_t8F77CF9D37FD0DCA052A7D6B34E1A489AF13C41B > L_47(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 35), (&V_1));
const VirtualInvokeData& il2cpp_virtual_invoke_data__474 = il2cpp_codegen_get_interface_invoke_data(0, (&L_47), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__474.methodPtr)((RuntimeObject*)(&L_47), /*hidden argument*/il2cpp_virtual_invoke_data__474.method);
V_1 = L_47.m_Value;
IL2CPP_END_FINALLY(466)
} // end finally (depth: 2)
IL2CPP_CLEANUP(466)
{
IL2CPP_END_CLEANUP(0x1EE, FINALLY_01e0);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01e0;
}
FINALLY_01e0:
{ // begin finally (depth: 1)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_0), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(480)
} // end finally (depth: 1)
IL2CPP_CLEANUP(480)
{
IL2CPP_JUMP_TBL(0x1EE, IL_01ee)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_01ee:
{
}
IL_01ef:
try
{ // begin try (depth: 1)
{
// if ((s_Added.Count) > 0 ||
// (s_Updated.Count) > 0 ||
// (s_Removed.Count) > 0)
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_48 = ((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Added_11();
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_48);
int32_t L_49 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_48, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36));
if ((((int32_t)L_49) > ((int32_t)0)))
{
goto IL_0216;
}
}
IL_01fc:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_50 = ((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Updated_12();
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_50);
int32_t L_51 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_50, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36));
if ((((int32_t)L_51) > ((int32_t)0)))
{
goto IL_0216;
}
}
IL_0209:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_52 = ((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_52);
int32_t L_53 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_52, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36));
if ((((int32_t)L_53) <= ((int32_t)0)))
{
goto IL_022b;
}
}
IL_0216:
{
// OnTrackablesChanged(s_Added, s_Updated, s_Removed);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_54 = ((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Added_11();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_55 = ((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Updated_12();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_56 = ((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
NullCheck((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this);
VirtActionInvoker3< List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * >::Invoke(13 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::OnTrackablesChanged(System.Collections.Generic.List`1<TTrackable>,System.Collections.Generic.List`1<TTrackable>,System.Collections.Generic.List`1<TTrackable>) */, (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this, (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_54, (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_55, (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_56);
}
IL_022b:
{
// }
IL2CPP_LEAVE(0x266, FINALLY_022d);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_022d;
}
FINALLY_022d:
{ // begin finally (depth: 1)
{
// foreach (var removed in s_Removed)
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_57 = ((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_57);
Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD L_58 = (( Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_57, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38));
V_11 = (Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD )L_58;
}
IL_0239:
try
{ // begin try (depth: 2)
{
goto IL_024c;
}
IL_023b:
{
// foreach (var removed in s_Removed)
RuntimeObject * L_59 = Enumerator_get_Current_mD7829C7E8CFBEDD463B15A951CDE9B90A12CC55C_inline((Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD *)(Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD *)(&V_11), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 39));
V_12 = (RuntimeObject *)L_59;
// DestroyTrackable(removed);
RuntimeObject * L_60 = V_12;
NullCheck((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this);
(( void (*) (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40)->methodPointer)((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this, (RuntimeObject *)L_60, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40));
}
IL_024c:
{
// foreach (var removed in s_Removed)
bool L_61 = Enumerator_MoveNext_m38B1099DDAD7EEDE2F4CDAB11C095AC784AC2E34((Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD *)(Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD *)(&V_11), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 41));
if (L_61)
{
goto IL_023b;
}
}
IL_0255:
{
IL2CPP_LEAVE(0x265, FINALLY_0257);
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0257;
}
FINALLY_0257:
{ // begin finally (depth: 2)
Il2CppFakeBox<Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD > L_62(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 42), (&V_11));
const VirtualInvokeData& il2cpp_virtual_invoke_data__607 = il2cpp_codegen_get_interface_invoke_data(0, (&L_62), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__607.methodPtr)((RuntimeObject*)(&L_62), /*hidden argument*/il2cpp_virtual_invoke_data__607.method);
V_11 = L_62.m_Value;
IL2CPP_END_FINALLY(599)
} // end finally (depth: 2)
IL2CPP_CLEANUP(599)
{
IL2CPP_JUMP_TBL(0x265, IL_0265)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0265:
{
// }
IL2CPP_END_FINALLY(557)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(557)
{
IL2CPP_JUMP_TBL(0x266, IL_0266)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0266:
{
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::OnTrackablesChanged(System.Collections.Generic.List`1<TTrackable>,System.Collections.Generic.List`1<TTrackable>,System.Collections.Generic.List`1<TTrackable>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnTrackablesChanged_mF7A209B67723437F5A6818BF0D83918F5A25C16C_gshared (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 * __this, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___added0, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___updated1, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___removed2, const RuntimeMethod* method)
{
{
// { }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::OnCreateTrackable(TTrackable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnCreateTrackable_mA8A428DE220637889C32B4B0A172BDC0D7D66B0F_gshared (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 * __this, RuntimeObject * ___trackable0, const RuntimeMethod* method)
{
{
// { }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::OnAfterSetSessionRelativeData(TTrackable,TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnAfterSetSessionRelativeData_m1ADB437C84573AB49CECD5D328F7F6BBF170CACB_gshared (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 * __this, RuntimeObject * ___trackable0, XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 ___sessionRelativeData1, const RuntimeMethod* method)
{
{
// { }
return;
}
}
// TTrackable UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::CreateTrackableImmediate(TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * ARTrackableManager_4_CreateTrackableImmediate_m3461953CB5F58677D74A2233D62289980C4A5332_gshared (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 * __this, XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 ___sessionRelativeData0, const RuntimeMethod* method)
{
RuntimeObject * V_0 = NULL;
{
// var trackable = CreateOrUpdateTrackable(sessionRelativeData);
XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 L_0 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this);
RuntimeObject * L_1 = (( RuntimeObject * (*) (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *, XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this, (XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
V_0 = (RuntimeObject *)L_1;
// trackable.pending = true;
RuntimeObject * L_2 = V_0;
NullCheck((ARTrackable_2_tFA4BACEF6596DD739E012F98431A97E04019DD10 *)L_2);
(( void (*) (ARTrackable_2_tFA4BACEF6596DD739E012F98431A97E04019DD10 *, bool, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((ARTrackable_2_tFA4BACEF6596DD739E012F98431A97E04019DD10 *)L_2, (bool)1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
// m_PendingAdds.Add(trackable.trackableId, trackable);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_3 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
RuntimeObject * L_4 = V_0;
NullCheck((ARTrackable_2_tFA4BACEF6596DD739E012F98431A97E04019DD10 *)L_4);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_5 = (( TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 (*) (ARTrackable_2_tFA4BACEF6596DD739E012F98431A97E04019DD10 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)((ARTrackable_2_tFA4BACEF6596DD739E012F98431A97E04019DD10 *)L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
RuntimeObject * L_6 = V_0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_3);
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_3, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_5, (RuntimeObject *)L_6, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43));
// return trackable;
RuntimeObject * L_7 = V_0;
return L_7;
}
}
// System.Boolean UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::DestroyPendingTrackable(UnityEngine.XR.ARSubsystems.TrackableId)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ARTrackableManager_4_DestroyPendingTrackable_mDDB88A0E20954C7316EB8029B3DD702E6128E134_gshared (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 * __this, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___trackableId0, const RuntimeMethod* method)
{
RuntimeObject * V_0 = NULL;
{
// if (m_PendingAdds.TryGetValue(trackableId, out var trackable))
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_0 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_1 = ___trackableId0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_0);
bool L_2 = (( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject **, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_0, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_1, (RuntimeObject **)(RuntimeObject **)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
if (!L_2)
{
goto IL_0033;
}
}
{
// m_PendingAdds.Remove(trackableId);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_3 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_4 = ___trackableId0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_3);
(( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_3, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
// m_Trackables.Remove(trackableId);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_5 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_6 = ___trackableId0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_5);
(( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_5, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_6, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
// DestroyTrackable(trackable);
RuntimeObject * L_7 = V_0;
NullCheck((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this);
(( void (*) (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40)->methodPointer)((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this, (RuntimeObject *)L_7, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40));
// return true;
return (bool)1;
}
IL_0033:
{
// return false;
return (bool)0;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::ClearAndSetCapacity(System.Collections.Generic.List`1<TTrackable>,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_ClearAndSetCapacity_mF4961FE0A391C11ED5DCA1968DE038F0854B3014_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___list0, int32_t ___capacity1, const RuntimeMethod* method)
{
{
// list.Clear();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_0 = ___list0;
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_0);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 44)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 44));
// if (list.Capacity < capacity)
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_1 = ___list0;
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_1);
int32_t L_2 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 45)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 45));
int32_t L_3 = ___capacity1;
if ((((int32_t)L_2) >= ((int32_t)L_3)))
{
goto IL_0016;
}
}
{
// list.Capacity = capacity;
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_4 = ___list0;
int32_t L_5 = ___capacity1;
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_4);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 46)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_4, (int32_t)L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 46));
}
IL_0016:
{
// }
return;
}
}
// System.String UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::GetTrackableName(UnityEngine.XR.ARSubsystems.TrackableId)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* ARTrackableManager_4_GetTrackableName_mB12A3A6D480F4B3B16DFAD73A179B38BFDA3ED8C_gshared (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 * __this, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___trackableId0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_GetTrackableName_mB12A3A6D480F4B3B16DFAD73A179B38BFDA3ED8C_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// return gameObjectName + " " + trackableId.ToString();
NullCheck((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this);
String_t* L_0 = VirtFuncInvoker0< String_t* >::Invoke(9 /* System.String UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::get_gameObjectName() */, (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this);
String_t* L_1 = TrackableId_ToString_mBA49191865E57697F4279D2781B182590726A215((TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 *)(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 *)(&___trackableId0), /*hidden argument*/NULL);
String_t* L_2 = String_Concat_mF4626905368D6558695A823466A1AF65EADB9923((String_t*)L_0, (String_t*)_stringLiteralB858CB282617FB0956D960215C8E84D1CCF909C6, (String_t*)L_1, /*hidden argument*/NULL);
return L_2;
}
}
// System.ValueTuple`2<UnityEngine.GameObject,System.Boolean> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::CreateGameObjectDeactivated()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 ARTrackableManager_4_CreateGameObjectDeactivated_mE098BA38188854F9649550DAAF285D1E9C1E7393_gshared (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_CreateGameObjectDeactivated_mE098BA38188854F9649550DAAF285D1E9C1E7393_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * V_0 = NULL;
bool V_1 = false;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * V_2 = NULL;
{
// var prefab = GetPrefab();
NullCheck((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_0 = VirtFuncInvoker0< GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * >::Invoke(10 /* UnityEngine.GameObject UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::GetPrefab() */, (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this);
V_0 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_0;
// if (prefab == null)
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_1 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_1, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0039;
}
}
{
// var gameObject = new GameObject();
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_3 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)il2cpp_codegen_object_new(GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F_il2cpp_TypeInfo_var);
GameObject__ctor_mA4DFA8F4471418C248E95B55070665EF344B4B2D(L_3, /*hidden argument*/NULL);
// gameObject.SetActive(false);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_4 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_3;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_4);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_4, (bool)0, /*hidden argument*/NULL);
// gameObject.transform.parent = sessionOrigin.trackablesParent;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_5 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_4;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_6 = GameObject_get_transform_mA5C38857137F137CB96C69FAA624199EB1C2FB2C((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5, /*hidden argument*/NULL);
NullCheck((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_7 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_7);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_8 = ARSessionOrigin_get_trackablesParent_m37049D7E75CF694834A140C2EACB15D2D1098505_inline((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_7, /*hidden argument*/NULL);
NullCheck((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_6);
Transform_set_parent_m65B8E4660B2C554069C57A957D9E55FECA7AA73E((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_6, (Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_8, /*hidden argument*/NULL);
// return (gameObject, true);
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_9;
memset((&L_9), 0, sizeof(L_9));
ValueTuple_2__ctor_m73A57D85868E9347B9DCD08AB9585E9B191478F7((&L_9), (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5, (bool)1, /*hidden argument*/ValueTuple_2__ctor_m73A57D85868E9347B9DCD08AB9585E9B191478F7_RuntimeMethod_var);
return L_9;
}
IL_0039:
{
// var active = prefab.activeSelf;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_10 = V_0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_10);
bool L_11 = GameObject_get_activeSelf_mFE1834886CAE59884AC2BE707A3B821A1DB61F44((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_10, /*hidden argument*/NULL);
V_1 = (bool)L_11;
// prefab.SetActive(false);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_12 = V_0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_12);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_12, (bool)0, /*hidden argument*/NULL);
// var gameObject = Instantiate(prefab, sessionOrigin.trackablesParent);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_13 = V_0;
NullCheck((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_14 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_14);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_15 = ARSessionOrigin_get_trackablesParent_m37049D7E75CF694834A140C2EACB15D2D1098505_inline((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_14, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_16 = Object_Instantiate_TisGameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F_m1CDF66D563B03D37B37264800222D4F3B307EDA0((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_13, (Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_15, /*hidden argument*/Object_Instantiate_TisGameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F_m1CDF66D563B03D37B37264800222D4F3B307EDA0_RuntimeMethod_var);
V_2 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_16;
// prefab.SetActive(active);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_17 = V_0;
bool L_18 = V_1;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_17);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_17, (bool)L_18, /*hidden argument*/NULL);
// return (gameObject, active);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_19 = V_2;
bool L_20 = V_1;
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_21;
memset((&L_21), 0, sizeof(L_21));
ValueTuple_2__ctor_m73A57D85868E9347B9DCD08AB9585E9B191478F7((&L_21), (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_19, (bool)L_20, /*hidden argument*/ValueTuple_2__ctor_m73A57D85868E9347B9DCD08AB9585E9B191478F7_RuntimeMethod_var);
return L_21;
}
}
// System.ValueTuple`2<UnityEngine.GameObject,System.Boolean> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::CreateGameObjectDeactivated(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 ARTrackableManager_4_CreateGameObjectDeactivated_mC8564B864B4E95462B5F6C8A53E97F6D1CB1DC7D_gshared (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 * __this, String_t* ___name0, const RuntimeMethod* method)
{
{
// var tuple = CreateGameObjectDeactivated();
NullCheck((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this);
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_0 = (( ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 (*) (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 49)->methodPointer)((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 49));
// tuple.gameObject.name = name;
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_1 = (ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 )L_0;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_2 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_1.get_Item1_0();
String_t* L_3 = ___name0;
NullCheck((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_2);
Object_set_name_m538711B144CDE30F929376BCF72D0DC8F85D0826((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_2, (String_t*)L_3, /*hidden argument*/NULL);
// return tuple;
return L_1;
}
}
// System.ValueTuple`2<UnityEngine.GameObject,System.Boolean> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::CreateGameObjectDeactivated(UnityEngine.XR.ARSubsystems.TrackableId)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 ARTrackableManager_4_CreateGameObjectDeactivated_mBB324A98259F7C88E47F1F8F2373A4DC9E41C042_gshared (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 * __this, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___trackableId0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_CreateGameObjectDeactivated_mBB324A98259F7C88E47F1F8F2373A4DC9E41C042_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 V_0;
memset((&V_0), 0, sizeof(V_0));
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 V_1;
memset((&V_1), 0, sizeof(V_1));
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);
{
// using (new ScopedProfiler("CreateGameObject"))
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_0), (String_t*)_stringLiteralA1BA014E93BB1085A758A3F66948C9CAC874B9BD, /*hidden argument*/NULL);
}
IL_000c:
try
{ // begin try (depth: 1)
// return CreateGameObjectDeactivated(GetTrackableName(trackableId));
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = ___trackableId0;
NullCheck((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this);
String_t* L_1 = (( String_t* (*) (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 50)->methodPointer)((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 50));
NullCheck((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this);
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_2 = (( ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 (*) (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *, String_t*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 51)->methodPointer)((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this, (String_t*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 51));
V_1 = (ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 )L_2;
IL2CPP_LEAVE(0x2A, FINALLY_001c);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_001c;
}
FINALLY_001c:
{ // begin finally (depth: 1)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_0), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(28)
} // end finally (depth: 1)
IL2CPP_CLEANUP(28)
{
IL2CPP_JUMP_TBL(0x2A, IL_002a)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_002a:
{
// }
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_3 = V_1;
return L_3;
}
}
// TTrackable UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::CreateTrackable(TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * ARTrackableManager_4_CreateTrackable_m31E47CF46CB25D43738369D0E76FD4006C196C27_gshared (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 * __this, XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 ___sessionRelativeData0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_CreateTrackable_m31E47CF46CB25D43738369D0E76FD4006C196C27_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * V_0 = NULL;
bool V_1 = false;
RuntimeObject * V_2 = NULL;
{
// var (gameObject, shouldBeActive) = CreateGameObjectDeactivated(sessionRelativeData.trackableId);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = XRHumanBody_get_trackableId_m6932327AA835FDFFA3A8AC2C11C45E2491E998AA_inline((XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 *)(XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 *)(&___sessionRelativeData0), /*hidden argument*/NULL);
NullCheck((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this);
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_1 = (( ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 (*) (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 53)->methodPointer)((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 53));
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_2 = (ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 )L_1;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_3 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_2.get_Item1_0();
V_0 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_3;
bool L_4 = (bool)L_2.get_Item2_1();
V_1 = (bool)L_4;
// var trackable = gameObject.GetComponent<TTrackable>();
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_5 = V_0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5);
RuntimeObject * L_6 = (( RuntimeObject * (*) (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 54)->methodPointer)((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 54));
V_2 = (RuntimeObject *)L_6;
// if (trackable == null)
RuntimeObject * L_7 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_8 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_7, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_003c;
}
}
{
// trackable = gameObject.AddComponent<TTrackable>();
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_9 = V_0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_9);
RuntimeObject * L_10 = (( RuntimeObject * (*) (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 55)->methodPointer)((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 55));
V_2 = (RuntimeObject *)L_10;
}
IL_003c:
{
// m_Trackables.Add(sessionRelativeData.trackableId, trackable);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_11 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_12 = XRHumanBody_get_trackableId_m6932327AA835FDFFA3A8AC2C11C45E2491E998AA_inline((XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 *)(XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 *)(&___sessionRelativeData0), /*hidden argument*/NULL);
RuntimeObject * L_13 = V_2;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_11);
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_11, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_12, (RuntimeObject *)L_13, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43));
// SetSessionRelativeData(trackable, sessionRelativeData);
RuntimeObject * L_14 = V_2;
XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 L_15 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this);
(( void (*) (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *, RuntimeObject *, XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56)->methodPointer)((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this, (RuntimeObject *)L_14, (XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 )L_15, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56));
// trackable.gameObject.SetActive(shouldBeActive);
RuntimeObject * L_16 = V_2;
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_16);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_17 = Component_get_gameObject_m0B0570BA8DDD3CD78A9DB568EA18D7317686603C((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_16, /*hidden argument*/NULL);
bool L_18 = V_1;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_17);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_17, (bool)L_18, /*hidden argument*/NULL);
// return trackable;
RuntimeObject * L_19 = V_2;
return L_19;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::SetSessionRelativeData(TTrackable,TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_SetSessionRelativeData_mCD04FE04385C6598E41EE44766BD79B3E5E926A0_gshared (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 * __this, RuntimeObject * ___trackable0, XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 ___data1, const RuntimeMethod* method)
{
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// trackable.SetSessionRelativeData(data);
RuntimeObject * L_0 = ___trackable0;
XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 L_1 = ___data1;
NullCheck((ARTrackable_2_tFA4BACEF6596DD739E012F98431A97E04019DD10 *)L_0);
(( void (*) (ARTrackable_2_tFA4BACEF6596DD739E012F98431A97E04019DD10 *, XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 57)->methodPointer)((ARTrackable_2_tFA4BACEF6596DD739E012F98431A97E04019DD10 *)L_0, (XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 )L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 57));
// var worldSpacePose = sessionOrigin.trackablesParent.TransformPose(data.pose);
NullCheck((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_2 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_2);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_3 = ARSessionOrigin_get_trackablesParent_m37049D7E75CF694834A140C2EACB15D2D1098505_inline((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_2, /*hidden argument*/NULL);
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_4 = XRHumanBody_get_pose_m3E48843E383A32DF5ED22BFD89FB52C9C7AD1E5B_inline((XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 *)(XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 *)(&___data1), /*hidden argument*/NULL);
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_5 = TransformExtensions_TransformPose_m677CE84C622BD23C3DDB2953DDB820E1934B0144((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_3, (Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 )L_4, /*hidden argument*/NULL);
V_0 = (Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 )L_5;
// trackable.transform.SetPositionAndRotation(worldSpacePose.position, worldSpacePose.rotation);
RuntimeObject * L_6 = ___trackable0;
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_6);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_7 = Component_get_transform_m00F05BD782F920C301A7EBA480F3B7A904C07EC9((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_6, /*hidden argument*/NULL);
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_8 = V_0;
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_9 = (Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 )L_8.get_position_0();
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_10 = V_0;
Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 L_11 = (Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 )L_10.get_rotation_1();
NullCheck((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_7);
Transform_SetPositionAndRotation_mDB9B34321018846FD7E2315CBE8D4A6612E3DE43((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_7, (Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 )L_9, (Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 )L_11, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::CreateTrackableFromExisting(TTrackable,TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_CreateTrackableFromExisting_m5ED16F3FA441279BBCE0DC1ADF86C9C834665DB5_gshared (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 * __this, RuntimeObject * ___existingTrackable0, XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 ___sessionRelativeData1, const RuntimeMethod* method)
{
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// var trackableId = sessionRelativeData.trackableId;
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = XRHumanBody_get_trackableId_m6932327AA835FDFFA3A8AC2C11C45E2491E998AA_inline((XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 *)(XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 *)(&___sessionRelativeData1), /*hidden argument*/NULL);
V_0 = (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_0;
// m_Trackables.Add(trackableId, existingTrackable);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_1 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_2 = V_0;
RuntimeObject * L_3 = ___existingTrackable0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_1);
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_1, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_2, (RuntimeObject *)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43));
// SetSessionRelativeData(existingTrackable, sessionRelativeData);
RuntimeObject * L_4 = ___existingTrackable0;
XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 L_5 = ___sessionRelativeData1;
NullCheck((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this);
(( void (*) (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *, RuntimeObject *, XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56)->methodPointer)((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this, (RuntimeObject *)L_4, (XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 )L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56));
// OnCreateTrackable(existingTrackable);
RuntimeObject * L_6 = ___existingTrackable0;
NullCheck((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this);
VirtActionInvoker1< RuntimeObject * >::Invoke(14 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::OnCreateTrackable(TTrackable) */, (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this, (RuntimeObject *)L_6);
// OnAfterSetSessionRelativeData(existingTrackable, sessionRelativeData);
RuntimeObject * L_7 = ___existingTrackable0;
XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 L_8 = ___sessionRelativeData1;
NullCheck((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this);
VirtActionInvoker2< RuntimeObject *, XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 >::Invoke(15 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::OnAfterSetSessionRelativeData(TTrackable,TSessionRelativeData) */, (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this, (RuntimeObject *)L_7, (XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 )L_8);
// existingTrackable.OnAfterSetSessionRelativeData();
RuntimeObject * L_9 = ___existingTrackable0;
NullCheck((ARTrackable_2_tFA4BACEF6596DD739E012F98431A97E04019DD10 *)L_9);
VirtActionInvoker0::Invoke(4 /* System.Void UnityEngine.XR.ARFoundation.ARTrackable`2<UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::OnAfterSetSessionRelativeData() */, (ARTrackable_2_tFA4BACEF6596DD739E012F98431A97E04019DD10 *)L_9);
// m_PendingAdds.Add(trackableId, existingTrackable);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_10 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_11 = V_0;
RuntimeObject * L_12 = ___existingTrackable0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_10);
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_10, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_11, (RuntimeObject *)L_12, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43));
// existingTrackable.pending = true;
RuntimeObject * L_13 = ___existingTrackable0;
NullCheck((ARTrackable_2_tFA4BACEF6596DD739E012F98431A97E04019DD10 *)L_13);
(( void (*) (ARTrackable_2_tFA4BACEF6596DD739E012F98431A97E04019DD10 *, bool, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((ARTrackable_2_tFA4BACEF6596DD739E012F98431A97E04019DD10 *)L_13, (bool)1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
// }
return;
}
}
// TTrackable UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::CreateOrUpdateTrackable(TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * ARTrackableManager_4_CreateOrUpdateTrackable_m19FF818E1B637B8898FD490495A42D3A360E03C7_gshared (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 * __this, XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 ___sessionRelativeData0, const RuntimeMethod* method)
{
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 V_0;
memset((&V_0), 0, sizeof(V_0));
RuntimeObject * V_1 = NULL;
{
// var trackableId = sessionRelativeData.trackableId;
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = XRHumanBody_get_trackableId_m6932327AA835FDFFA3A8AC2C11C45E2491E998AA_inline((XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 *)(XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 *)(&___sessionRelativeData0), /*hidden argument*/NULL);
V_0 = (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_0;
// if (m_Trackables.TryGetValue(trackableId, out var trackable))
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_1 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_2 = V_0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_1);
bool L_3 = (( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject **, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_1, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_2, (RuntimeObject **)(RuntimeObject **)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
if (!L_3)
{
goto IL_0041;
}
}
{
// m_PendingAdds.Remove(trackableId);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_4 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_5 = V_0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_4);
(( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_4, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
// trackable.pending = false;
RuntimeObject * L_6 = V_1;
NullCheck((ARTrackable_2_tFA4BACEF6596DD739E012F98431A97E04019DD10 *)L_6);
(( void (*) (ARTrackable_2_tFA4BACEF6596DD739E012F98431A97E04019DD10 *, bool, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((ARTrackable_2_tFA4BACEF6596DD739E012F98431A97E04019DD10 *)L_6, (bool)0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
// SetSessionRelativeData(trackable, sessionRelativeData);
RuntimeObject * L_7 = V_1;
XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 L_8 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this);
(( void (*) (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *, RuntimeObject *, XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56)->methodPointer)((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this, (RuntimeObject *)L_7, (XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 )L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56));
// }
goto IL_0050;
}
IL_0041:
{
// trackable = CreateTrackable(sessionRelativeData);
XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 L_9 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this);
RuntimeObject * L_10 = (( RuntimeObject * (*) (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *, XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 61)->methodPointer)((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this, (XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 )L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 61));
V_1 = (RuntimeObject *)L_10;
// OnCreateTrackable(trackable);
RuntimeObject * L_11 = V_1;
NullCheck((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this);
VirtActionInvoker1< RuntimeObject * >::Invoke(14 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::OnCreateTrackable(TTrackable) */, (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this, (RuntimeObject *)L_11);
}
IL_0050:
{
// OnAfterSetSessionRelativeData(trackable, sessionRelativeData);
RuntimeObject * L_12 = V_1;
XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 L_13 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this);
VirtActionInvoker2< RuntimeObject *, XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 >::Invoke(15 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::OnAfterSetSessionRelativeData(TTrackable,TSessionRelativeData) */, (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 *)__this, (RuntimeObject *)L_12, (XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 )L_13);
// trackable.OnAfterSetSessionRelativeData();
RuntimeObject * L_14 = V_1;
NullCheck((ARTrackable_2_tFA4BACEF6596DD739E012F98431A97E04019DD10 *)L_14);
VirtActionInvoker0::Invoke(4 /* System.Void UnityEngine.XR.ARFoundation.ARTrackable`2<UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::OnAfterSetSessionRelativeData() */, (ARTrackable_2_tFA4BACEF6596DD739E012F98431A97E04019DD10 *)L_14);
// return trackable;
RuntimeObject * L_15 = V_1;
return L_15;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::DestroyTrackable(TTrackable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_DestroyTrackable_m98C855D9223D018127DC98B1C491B04BD7C9ACDB_gshared (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 * __this, RuntimeObject * ___trackable0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_DestroyTrackable_m98C855D9223D018127DC98B1C491B04BD7C9ACDB_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (trackable.destroyOnRemoval)
RuntimeObject * L_0 = ___trackable0;
NullCheck((ARTrackable_2_tFA4BACEF6596DD739E012F98431A97E04019DD10 *)L_0);
bool L_1 = (( bool (*) (ARTrackable_2_tFA4BACEF6596DD739E012F98431A97E04019DD10 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 62)->methodPointer)((ARTrackable_2_tFA4BACEF6596DD739E012F98431A97E04019DD10 *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 62));
if (!L_1)
{
goto IL_001d;
}
}
{
// Destroy(trackable.gameObject);
RuntimeObject * L_2 = ___trackable0;
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_2);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_3 = Component_get_gameObject_m0B0570BA8DDD3CD78A9DB568EA18D7317686603C((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_2, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
Object_Destroy_m23B4562495BA35A74266D4372D45368F8C05109A((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_3, /*hidden argument*/NULL);
}
IL_001d:
{
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4__ctor_mB711DD6A96DAB686A283A74414413B10CC68393D_gshared (ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6 * __this, const RuntimeMethod* method)
{
{
// protected Dictionary<TrackableId, TTrackable> m_Trackables = new Dictionary<TrackableId, TTrackable>();
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_0 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 63));
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 64)->methodPointer)(L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 64));
__this->set_m_Trackables_9(L_0);
// protected Dictionary<TrackableId, TTrackable> m_PendingAdds = new Dictionary<TrackableId, TTrackable>();
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_1 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 63));
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 64)->methodPointer)(L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 64));
__this->set_m_PendingAdds_10(L_1);
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1));
(( void (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 65)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 65));
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRHumanBody,System.Object>::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4__cctor_mB50149D61B015ADF807DC50BEE30023F5D52C166_gshared (const RuntimeMethod* method)
{
{
// static List<TTrackable> s_Added = new List<TTrackable>();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_0 = (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 66));
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67)->methodPointer)(L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67));
((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set_s_Added_11(L_0);
// static List<TTrackable> s_Updated = new List<TTrackable>();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_1 = (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 66));
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67)->methodPointer)(L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67));
((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set_s_Updated_12(L_1);
// static List<TTrackable> s_Removed = new List<TTrackable>();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_2 = (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 66));
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67)->methodPointer)(L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67));
((ARTrackableManager_4_t992000058D25C52C00313367D10F6AD7BA7DE5E6_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set_s_Removed_13(L_2);
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
// UnityEngine.XR.ARFoundation.ARTrackableManager`4<TSubsystem,TSubsystemDescriptor,TSessionRelativeData,TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::get_instance()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 * ARTrackableManager_4_get_instance_mD9D634F782836620F01E1FB00B4D7CEC5EE9F1A7_gshared (const RuntimeMethod* method)
{
{
// internal static ARTrackableManager<TSubsystem, TSubsystemDescriptor, TSessionRelativeData, TTrackable> instance { get; private set; }
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0));
ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 * L_0 = ((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->get_U3CinstanceU3Ek__BackingField_7();
return L_0;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::set_instance(UnityEngine.XR.ARFoundation.ARTrackableManager`4<TSubsystem,TSubsystemDescriptor,TSessionRelativeData,TTrackable>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_set_instance_mBE354A8BD81DEE41386E1C358CE8E061BA4528E2_gshared (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 * ___value0, const RuntimeMethod* method)
{
{
// internal static ARTrackableManager<TSubsystem, TSubsystemDescriptor, TSessionRelativeData, TTrackable> instance { get; private set; }
ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 * L_0 = ___value0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0));
((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set_U3CinstanceU3Ek__BackingField_7(L_0);
return;
}
}
// UnityEngine.XR.ARFoundation.TrackableCollection`1<TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::get_trackables()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 ARTrackableManager_4_get_trackables_m6B0E9B7906E224AF93036D65F5E9265BE143D1B6_gshared (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 * __this, const RuntimeMethod* method)
{
{
// public TrackableCollection<TTrackable> trackables => new TrackableCollection<TTrackable>(m_Trackables);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_0 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 L_1;
memset((&L_1), 0, sizeof(L_1));
TrackableCollection_1__ctor_mA99D3D41CAA02EF94BD2B96D6DC1B66450E226FF((&L_1), (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 3));
return L_1;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::SetTrackablesActive(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_SetTrackablesActive_mD1E51826E175ABEC20AC81606C0D1CE7DE7834D8_gshared (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 * __this, bool ___active0, const RuntimeMethod* method)
{
Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED V_0;
memset((&V_0), 0, sizeof(V_0));
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 V_1;
memset((&V_1), 0, sizeof(V_1));
{
// foreach (var trackable in trackables)
NullCheck((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this);
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 L_0 = (( TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 (*) (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 4)->methodPointer)((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 4));
V_1 = (TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 )L_0;
Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED L_1 = TrackableCollection_1_GetEnumerator_mBAA3D036F160A053757196D57318EC6B3F368D02((TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 *)(TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
V_0 = (Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED )L_1;
goto IL_0028;
}
IL_0011:
{
// foreach (var trackable in trackables)
RuntimeObject * L_2 = Enumerator_get_Current_m6D82C8CA15561A8D32BA77CB304C80AF57C4C77E((Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6));
// trackable.gameObject.SetActive(active);
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_2);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_3 = Component_get_gameObject_m0B0570BA8DDD3CD78A9DB568EA18D7317686603C((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_2, /*hidden argument*/NULL);
bool L_4 = ___active0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_3);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_3, (bool)L_4, /*hidden argument*/NULL);
}
IL_0028:
{
// foreach (var trackable in trackables)
bool L_5 = Enumerator_MoveNext_mF64DBEA38614B8A6E085DFC09DD2745BE2ACB9BE((Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
if (L_5)
{
goto IL_0011;
}
}
{
// }
return;
}
}
// UnityEngine.XR.ARFoundation.ARSessionOrigin UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::get_sessionOrigin()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * ARTrackableManager_4_get_sessionOrigin_mE01E49FC2229E35F78CD38302E7D0FB8DD6E4709_gshared (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 * __this, const RuntimeMethod* method)
{
{
// protected ARSessionOrigin sessionOrigin { get; private set; }
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = (ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)__this->get_U3CsessionOriginU3Ek__BackingField_8();
return L_0;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::set_sessionOrigin(UnityEngine.XR.ARFoundation.ARSessionOrigin)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_set_sessionOrigin_m711557F4CF49E0EA0BB1F8C64073E3222F9418EA_gshared (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 * __this, ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * ___value0, const RuntimeMethod* method)
{
{
// protected ARSessionOrigin sessionOrigin { get; private set; }
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = ___value0;
__this->set_U3CsessionOriginU3Ek__BackingField_8(L_0);
return;
}
}
// UnityEngine.GameObject UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::GetPrefab()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * ARTrackableManager_4_GetPrefab_mBB02A64621ECF978D206AFF2F324FA66727216BC_gshared (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 * __this, const RuntimeMethod* method)
{
{
// protected virtual GameObject GetPrefab() => null;
return (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)NULL;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::Awake()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_Awake_mF8C5EACC4BCD9279223705EC3C2BCCD3DBD7D656_gshared (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_Awake_mF8C5EACC4BCD9279223705EC3C2BCCD3DBD7D656_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// sessionOrigin = GetComponent<ARSessionOrigin>();
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = Component_GetComponent_TisARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF_m25BC8791B994BAE33BF9003FFC85124F480EFB17((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)__this, /*hidden argument*/Component_GetComponent_TisARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF_m25BC8791B994BAE33BF9003FFC85124F480EFB17_RuntimeMethod_var);
NullCheck((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this);
(( void (*) (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *, ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this, (ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::OnEnable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnEnable_m029BF624D012BE79F8D04E2D30C2ADE77E86F92A_gshared (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_OnEnable_m029BF624D012BE79F8D04E2D30C2ADE77E86F92A_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// base.OnEnable();
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
(( void (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10));
// instance = this;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
(( void (*) (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 11)->methodPointer)((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 11));
// sessionOrigin.trackablesParentTransformChanged += OnTrackablesParentTransformChanged;
NullCheck((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB * L_1 = (Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB *)il2cpp_codegen_object_new(Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB_il2cpp_TypeInfo_var);
Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B(L_1, (RuntimeObject *)__this, (intptr_t)((intptr_t)IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)), /*hidden argument*/Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B_RuntimeMethod_var);
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0);
ARSessionOrigin_add_trackablesParentTransformChanged_m59165BB2C4BFB84AD169AF54D2D9B76DBD8A5235((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0, (Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB *)L_1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::OnDisable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnDisable_m5BA10C3ED790B67063300A84A1899E5367D9CD42_gshared (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_OnDisable_m5BA10C3ED790B67063300A84A1899E5367D9CD42_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// base.OnDisable();
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
(( void (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14));
// sessionOrigin.trackablesParentTransformChanged -= OnTrackablesParentTransformChanged;
NullCheck((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB * L_1 = (Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB *)il2cpp_codegen_object_new(Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB_il2cpp_TypeInfo_var);
Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B(L_1, (RuntimeObject *)__this, (intptr_t)((intptr_t)IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)), /*hidden argument*/Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B_RuntimeMethod_var);
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0);
ARSessionOrigin_remove_trackablesParentTransformChanged_mF790C29F00B85A00D500F3420855F4BF75DBA2A4((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0, (Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB *)L_1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Boolean UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::CanBeAddedToSubsystem(TTrackable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ARTrackableManager_4_CanBeAddedToSubsystem_m1105B51243D04630468D135CE0A82EB56F4FE0C2_gshared (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 * __this, RuntimeObject * ___trackable0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_CanBeAddedToSubsystem_m1105B51243D04630468D135CE0A82EB56F4FE0C2_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// if (trackable == null)
RuntimeObject * L_0 = ___trackable0;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_0, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0019;
}
}
{
// throw new ArgumentNullException(nameof(trackable));
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_2 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_2, (String_t*)_stringLiteral05E5EBD9D5908CC9215021F08ACFBC4B58571C5C, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, ARTrackableManager_4_CanBeAddedToSubsystem_m1105B51243D04630468D135CE0A82EB56F4FE0C2_RuntimeMethod_var);
}
IL_0019:
{
// if (!trackable.trackableId.Equals(TrackableId.invalidId))
RuntimeObject * L_3 = ___trackable0;
NullCheck((ARTrackable_2_t50AF7893F36D1184C6A1D4EAEC9B72228531C88C *)L_3);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_4 = (( TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 (*) (ARTrackable_2_t50AF7893F36D1184C6A1D4EAEC9B72228531C88C *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)((ARTrackable_2_t50AF7893F36D1184C6A1D4EAEC9B72228531C88C *)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
V_0 = (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_4;
IL2CPP_RUNTIME_CLASS_INIT(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47_il2cpp_TypeInfo_var);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_5 = TrackableId_get_invalidId_mBE9FA1EC8F2EC1575C1B31666EA928A3382DF1CD_inline(/*hidden argument*/NULL);
bool L_6 = TrackableId_Equals_mCE458E0FDCDD6E339FCC1926EE88EB7B3D45F943((TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 *)(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 *)(&V_0), (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_5, /*hidden argument*/NULL);
if (L_6)
{
goto IL_0035;
}
}
{
// return false;
return (bool)0;
}
IL_0035:
{
// if (m_Trackables.ContainsKey(trackable.trackableId))
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_7 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
RuntimeObject * L_8 = ___trackable0;
NullCheck((ARTrackable_2_t50AF7893F36D1184C6A1D4EAEC9B72228531C88C *)L_8);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_9 = (( TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 (*) (ARTrackable_2_t50AF7893F36D1184C6A1D4EAEC9B72228531C88C *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)((ARTrackable_2_t50AF7893F36D1184C6A1D4EAEC9B72228531C88C *)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_7);
bool L_10 = (( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_7, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16));
if (!L_10)
{
goto IL_004f;
}
}
{
// return false;
return (bool)0;
}
IL_004f:
{
// if (!enabled || subsystem == null)
NullCheck((Behaviour_tBDC7E9C3C898AD8348891B82D3E345801D920CA8 *)__this);
bool L_11 = Behaviour_get_enabled_mAA0C9ED5A3D1589C1C8AA22636543528DB353CFB((Behaviour_tBDC7E9C3C898AD8348891B82D3E345801D920CA8 *)__this, /*hidden argument*/NULL);
if (!L_11)
{
goto IL_0064;
}
}
{
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
RuntimeObject * L_12 = (( RuntimeObject * (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
if (L_12)
{
goto IL_0072;
}
}
IL_0064:
{
// trackable.pending = true;
RuntimeObject * L_13 = ___trackable0;
NullCheck((ARTrackable_2_t50AF7893F36D1184C6A1D4EAEC9B72228531C88C *)L_13);
(( void (*) (ARTrackable_2_t50AF7893F36D1184C6A1D4EAEC9B72228531C88C *, bool, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((ARTrackable_2_t50AF7893F36D1184C6A1D4EAEC9B72228531C88C *)L_13, (bool)1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
// return false;
return (bool)0;
}
IL_0072:
{
// return sessionOrigin && sessionOrigin.trackablesParent;
NullCheck((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_14 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_15 = Object_op_Implicit_m8B2A44B4B1406ED346D1AE6D962294FD58D0D534((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_14, /*hidden argument*/NULL);
if (!L_15)
{
goto IL_0090;
}
}
{
NullCheck((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_16 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_16);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_17 = ARSessionOrigin_get_trackablesParent_m37049D7E75CF694834A140C2EACB15D2D1098505_inline((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_16, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_18 = Object_op_Implicit_m8B2A44B4B1406ED346D1AE6D962294FD58D0D534((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_17, /*hidden argument*/NULL);
return L_18;
}
IL_0090:
{
return (bool)0;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::OnTrackablesParentTransformChanged(UnityEngine.XR.ARFoundation.ARTrackablesParentTransformChangedEventArgs)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnTrackablesParentTransformChanged_mB76E7D4570763E433348EBC43652EEE0930B4079_gshared (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 * __this, ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 ___eventArgs0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_OnTrackablesParentTransformChanged_mB76E7D4570763E433348EBC43652EEE0930B4079_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED V_0;
memset((&V_0), 0, sizeof(V_0));
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 V_1;
memset((&V_1), 0, sizeof(V_1));
RuntimeObject * V_2 = NULL;
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * V_3 = NULL;
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 V_4;
memset((&V_4), 0, sizeof(V_4));
{
// foreach (var trackable in trackables)
NullCheck((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this);
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 L_0 = (( TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 (*) (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 4)->methodPointer)((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 4));
V_1 = (TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 )L_0;
Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED L_1 = TrackableCollection_1_GetEnumerator_mBAA3D036F160A053757196D57318EC6B3F368D02((TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 *)(TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
V_0 = (Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED )L_1;
goto IL_0066;
}
IL_0011:
{
// foreach (var trackable in trackables)
RuntimeObject * L_2 = Enumerator_get_Current_m6D82C8CA15561A8D32BA77CB304C80AF57C4C77E((Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6));
V_2 = (RuntimeObject *)L_2;
// var transform = trackable.transform;
RuntimeObject * L_3 = V_2;
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_3);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_4 = Component_get_transform_m00F05BD782F920C301A7EBA480F3B7A904C07EC9((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_3, /*hidden argument*/NULL);
V_3 = (Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_4;
// if (transform.parent != eventArgs.trackablesParent)
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_5 = V_3;
NullCheck((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_5);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_6 = Transform_get_parent_m8FA24E38A1FA29D90CBF3CDC9F9F017C65BB3403((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_5, /*hidden argument*/NULL);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_7 = ARTrackablesParentTransformChangedEventArgs_get_trackablesParent_m124F9D34F6DA7E3FAB3E7CB9981820682219FE49_inline((ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 *)(ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 *)(&___eventArgs0), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_8 = Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_6, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_7, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_0066;
}
}
{
// var desiredPose = eventArgs.trackablesParent.TransformPose(trackable.sessionRelativePose);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_9 = ARTrackablesParentTransformChangedEventArgs_get_trackablesParent_m124F9D34F6DA7E3FAB3E7CB9981820682219FE49_inline((ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 *)(ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 *)(&___eventArgs0), /*hidden argument*/NULL);
RuntimeObject * L_10 = V_2;
NullCheck((ARTrackable_2_t50AF7893F36D1184C6A1D4EAEC9B72228531C88C *)L_10);
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_11 = (( Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 (*) (ARTrackable_2_t50AF7893F36D1184C6A1D4EAEC9B72228531C88C *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20)->methodPointer)((ARTrackable_2_t50AF7893F36D1184C6A1D4EAEC9B72228531C88C *)L_10, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20));
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_12 = TransformExtensions_TransformPose_m677CE84C622BD23C3DDB2953DDB820E1934B0144((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_9, (Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 )L_11, /*hidden argument*/NULL);
V_4 = (Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 )L_12;
// transform.SetPositionAndRotation(desiredPose.position, desiredPose.rotation);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_13 = V_3;
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_14 = V_4;
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_15 = (Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 )L_14.get_position_0();
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_16 = V_4;
Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 L_17 = (Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 )L_16.get_rotation_1();
NullCheck((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_13);
Transform_SetPositionAndRotation_mDB9B34321018846FD7E2315CBE8D4A6612E3DE43((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_13, (Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 )L_15, (Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 )L_17, /*hidden argument*/NULL);
}
IL_0066:
{
// foreach (var trackable in trackables)
bool L_18 = Enumerator_MoveNext_mF64DBEA38614B8A6E085DFC09DD2745BE2ACB9BE((Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
if (L_18)
{
goto IL_0011;
}
}
{
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::Update()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_Update_m82460346B9A365C30E335232717901F28ABB2AE7_gshared (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_Update_m82460346B9A365C30E335232717901F28ABB2AE7_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 V_0;
memset((&V_0), 0, sizeof(V_0));
TrackableChanges_1_tADA077C1D8520E93DBAF760C434863B1E46EABF7 V_1;
memset((&V_1), 0, sizeof(V_1));
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 V_2;
memset((&V_2), 0, sizeof(V_2));
NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 V_3;
memset((&V_3), 0, sizeof(V_3));
Enumerator_t2B2EEF1F6F4840ED342D7AB54AE9F09881F5A589 V_4;
memset((&V_4), 0, sizeof(V_4));
XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 V_5;
memset((&V_5), 0, sizeof(V_5));
XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 V_6;
memset((&V_6), 0, sizeof(V_6));
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 V_7;
memset((&V_7), 0, sizeof(V_7));
Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A V_8;
memset((&V_8), 0, sizeof(V_8));
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 V_9;
memset((&V_9), 0, sizeof(V_9));
RuntimeObject * V_10 = NULL;
Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD V_11;
memset((&V_11), 0, sizeof(V_11));
RuntimeObject * V_12 = 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) * 5);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
// if (subsystem == null || !subsystem.running)
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
RuntimeObject * L_0 = (( RuntimeObject * (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
if (!L_0)
{
goto IL_001f;
}
}
{
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
RuntimeObject * L_1 = (( RuntimeObject * (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
NullCheck((Subsystem_t17E4AEB5537DC8AECC37EC3F6FCB46CC7D2C73F6 *)L_1);
bool L_2 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.Subsystem::get_running() */, (Subsystem_t17E4AEB5537DC8AECC37EC3F6FCB46CC7D2C73F6 *)L_1);
if (L_2)
{
goto IL_0020;
}
}
IL_001f:
{
// return;
return;
}
IL_0020:
{
// using (new ScopedProfiler("GetChanges"))
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_0), (String_t*)_stringLiteralE68C28CA8FA3E38258B2081639EE5D1C7F58849B, /*hidden argument*/NULL);
}
IL_002c:
try
{ // begin try (depth: 1)
{
// using (var changes = subsystem.GetChanges(Allocator.Temp))
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
RuntimeObject * L_3 = (( RuntimeObject * (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
NullCheck((TrackingSubsystem_2_tE2F49A29D690020049C702A06ED3969AE2A39863 *)L_3);
TrackableChanges_1_tADA077C1D8520E93DBAF760C434863B1E46EABF7 L_4 = VirtFuncInvoker1< TrackableChanges_1_tADA077C1D8520E93DBAF760C434863B1E46EABF7 , int32_t >::Invoke(14 /* UnityEngine.XR.ARSubsystems.TrackableChanges`1<!0> UnityEngine.XR.ARSubsystems.TrackingSubsystem`2<UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::GetChanges(Unity.Collections.Allocator) */, (TrackingSubsystem_2_tE2F49A29D690020049C702A06ED3969AE2A39863 *)L_3, (int32_t)2);
V_1 = (TrackableChanges_1_tADA077C1D8520E93DBAF760C434863B1E46EABF7 )L_4;
}
IL_003e:
try
{ // begin try (depth: 2)
{
// using (new ScopedProfiler("ProcessAdded"))
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 L_5;
memset((&L_5), 0, sizeof(L_5));
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((&L_5), (String_t*)_stringLiteral8CC52613125F0E802A5E603C37A6CAE800639F62, /*hidden argument*/NULL);
V_2 = (ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 )L_5;
}
IL_0049:
try
{ // begin try (depth: 3)
{
// ClearAndSetCapacity(s_Added, changes.added.Length);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_6 = ((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Added_11();
NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 L_7 = TrackableChanges_1_get_added_mB04DBD3BE41499A2EF2DE7526EAF99320F6A756C_inline((TrackableChanges_1_tADA077C1D8520E93DBAF760C434863B1E46EABF7 *)(TrackableChanges_1_tADA077C1D8520E93DBAF760C434863B1E46EABF7 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
V_3 = (NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 )L_7;
int32_t L_8 = IL2CPP_NATIVEARRAY_GET_LENGTH(((NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 *)(NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 *)(&V_3))->___m_Length_1);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_6, (int32_t)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24));
// foreach (var added in changes.added)
NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 L_9 = TrackableChanges_1_get_added_mB04DBD3BE41499A2EF2DE7526EAF99320F6A756C_inline((TrackableChanges_1_tADA077C1D8520E93DBAF760C434863B1E46EABF7 *)(TrackableChanges_1_tADA077C1D8520E93DBAF760C434863B1E46EABF7 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
V_3 = (NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 )L_9;
Enumerator_t2B2EEF1F6F4840ED342D7AB54AE9F09881F5A589 L_10 = NativeArray_1_GetEnumerator_m8E2405F2EBA9FED85C13FB4C6CE8958AEC761E73((NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 *)(NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 *)(&V_3), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
V_4 = (Enumerator_t2B2EEF1F6F4840ED342D7AB54AE9F09881F5A589 )L_10;
}
IL_0073:
try
{ // begin try (depth: 4)
{
goto IL_0090;
}
IL_0075:
{
// foreach (var added in changes.added)
XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 L_11 = Enumerator_get_Current_m6B12E957308B76F91826A8D1DD1D7286D3A15041((Enumerator_t2B2EEF1F6F4840ED342D7AB54AE9F09881F5A589 *)(Enumerator_t2B2EEF1F6F4840ED342D7AB54AE9F09881F5A589 *)(&V_4), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
V_5 = (XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 )L_11;
// s_Added.Add(CreateOrUpdateTrackable(added));
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_12 = ((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Added_11();
XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 L_13 = V_5;
NullCheck((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this);
RuntimeObject * L_14 = (( RuntimeObject * (*) (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *, XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this, (XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 )L_13, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_12);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_12, (RuntimeObject *)L_14, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_0090:
{
// foreach (var added in changes.added)
bool L_15 = Enumerator_MoveNext_m43A336A3ABA4C5F0FC86E532516E51C2F1A7C837((Enumerator_t2B2EEF1F6F4840ED342D7AB54AE9F09881F5A589 *)(Enumerator_t2B2EEF1F6F4840ED342D7AB54AE9F09881F5A589 *)(&V_4), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29));
if (L_15)
{
goto IL_0075;
}
}
IL_0099:
{
IL2CPP_LEAVE(0xB7, FINALLY_009b);
}
} // end try (depth: 4)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_009b;
}
FINALLY_009b:
{ // begin finally (depth: 4)
Il2CppFakeBox<Enumerator_t2B2EEF1F6F4840ED342D7AB54AE9F09881F5A589 > L_16(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 30), (&V_4));
const VirtualInvokeData& il2cpp_virtual_invoke_data__163 = il2cpp_codegen_get_interface_invoke_data(0, (&L_16), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__163.methodPtr)((RuntimeObject*)(&L_16), /*hidden argument*/il2cpp_virtual_invoke_data__163.method);
V_4 = L_16.m_Value;
IL2CPP_END_FINALLY(155)
} // end finally (depth: 4)
IL2CPP_CLEANUP(155)
{
IL2CPP_END_CLEANUP(0xB7, FINALLY_00a9);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 3)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00a9;
}
FINALLY_00a9:
{ // begin finally (depth: 3)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_2), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(169)
} // end finally (depth: 3)
IL2CPP_CLEANUP(169)
{
IL2CPP_JUMP_TBL(0xB7, IL_00b7)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00b7:
{
// using (new ScopedProfiler("ProcessUpdated"))
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 L_17;
memset((&L_17), 0, sizeof(L_17));
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((&L_17), (String_t*)_stringLiteralD84182942D9EE680B64113858F0F32DEDC108F25, /*hidden argument*/NULL);
V_2 = (ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 )L_17;
}
IL_00c2:
try
{ // begin try (depth: 3)
{
// ClearAndSetCapacity(s_Updated, changes.updated.Length);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_18 = ((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Updated_12();
NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 L_19 = TrackableChanges_1_get_updated_m54F7E4A07B0A06215ACD1E258FECA69ADB35775A_inline((TrackableChanges_1_tADA077C1D8520E93DBAF760C434863B1E46EABF7 *)(TrackableChanges_1_tADA077C1D8520E93DBAF760C434863B1E46EABF7 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
V_3 = (NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 )L_19;
int32_t L_20 = IL2CPP_NATIVEARRAY_GET_LENGTH(((NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 *)(NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 *)(&V_3))->___m_Length_1);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_18, (int32_t)L_20, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24));
// foreach (var updated in changes.updated)
NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 L_21 = TrackableChanges_1_get_updated_m54F7E4A07B0A06215ACD1E258FECA69ADB35775A_inline((TrackableChanges_1_tADA077C1D8520E93DBAF760C434863B1E46EABF7 *)(TrackableChanges_1_tADA077C1D8520E93DBAF760C434863B1E46EABF7 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
V_3 = (NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 )L_21;
Enumerator_t2B2EEF1F6F4840ED342D7AB54AE9F09881F5A589 L_22 = NativeArray_1_GetEnumerator_m8E2405F2EBA9FED85C13FB4C6CE8958AEC761E73((NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 *)(NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 *)(&V_3), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
V_4 = (Enumerator_t2B2EEF1F6F4840ED342D7AB54AE9F09881F5A589 )L_22;
}
IL_00ec:
try
{ // begin try (depth: 4)
{
goto IL_0109;
}
IL_00ee:
{
// foreach (var updated in changes.updated)
XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 L_23 = Enumerator_get_Current_m6B12E957308B76F91826A8D1DD1D7286D3A15041((Enumerator_t2B2EEF1F6F4840ED342D7AB54AE9F09881F5A589 *)(Enumerator_t2B2EEF1F6F4840ED342D7AB54AE9F09881F5A589 *)(&V_4), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
V_6 = (XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 )L_23;
// s_Updated.Add(CreateOrUpdateTrackable(updated));
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_24 = ((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Updated_12();
XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 L_25 = V_6;
NullCheck((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this);
RuntimeObject * L_26 = (( RuntimeObject * (*) (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *, XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this, (XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 )L_25, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_24);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_24, (RuntimeObject *)L_26, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_0109:
{
// foreach (var updated in changes.updated)
bool L_27 = Enumerator_MoveNext_m43A336A3ABA4C5F0FC86E532516E51C2F1A7C837((Enumerator_t2B2EEF1F6F4840ED342D7AB54AE9F09881F5A589 *)(Enumerator_t2B2EEF1F6F4840ED342D7AB54AE9F09881F5A589 *)(&V_4), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29));
if (L_27)
{
goto IL_00ee;
}
}
IL_0112:
{
IL2CPP_LEAVE(0x130, FINALLY_0114);
}
} // end try (depth: 4)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0114;
}
FINALLY_0114:
{ // begin finally (depth: 4)
Il2CppFakeBox<Enumerator_t2B2EEF1F6F4840ED342D7AB54AE9F09881F5A589 > L_28(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 30), (&V_4));
const VirtualInvokeData& il2cpp_virtual_invoke_data__284 = il2cpp_codegen_get_interface_invoke_data(0, (&L_28), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__284.methodPtr)((RuntimeObject*)(&L_28), /*hidden argument*/il2cpp_virtual_invoke_data__284.method);
V_4 = L_28.m_Value;
IL2CPP_END_FINALLY(276)
} // end finally (depth: 4)
IL2CPP_CLEANUP(276)
{
IL2CPP_END_CLEANUP(0x130, FINALLY_0122);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 3)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0122;
}
FINALLY_0122:
{ // begin finally (depth: 3)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_2), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(290)
} // end finally (depth: 3)
IL2CPP_CLEANUP(290)
{
IL2CPP_JUMP_TBL(0x130, IL_0130)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0130:
{
// using (new ScopedProfiler("ProcessRemoved"))
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 L_29;
memset((&L_29), 0, sizeof(L_29));
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((&L_29), (String_t*)_stringLiteralC0371E7E1DB9F795AC51193C554BD9BEF51AD664, /*hidden argument*/NULL);
V_2 = (ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 )L_29;
}
IL_013b:
try
{ // begin try (depth: 3)
{
// ClearAndSetCapacity(s_Removed, changes.removed.Length);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_30 = ((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 L_31 = TrackableChanges_1_get_removed_mD4DBD0C1F36479738568BDFAD7593F18AD67E77D_inline((TrackableChanges_1_tADA077C1D8520E93DBAF760C434863B1E46EABF7 *)(TrackableChanges_1_tADA077C1D8520E93DBAF760C434863B1E46EABF7 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
V_7 = (NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 )L_31;
int32_t L_32 = IL2CPP_NATIVEARRAY_GET_LENGTH(((NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 *)(NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 *)(&V_7))->___m_Length_1);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_30, (int32_t)L_32, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24));
// foreach (var trackableId in changes.removed)
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 L_33 = TrackableChanges_1_get_removed_mD4DBD0C1F36479738568BDFAD7593F18AD67E77D_inline((TrackableChanges_1_tADA077C1D8520E93DBAF760C434863B1E46EABF7 *)(TrackableChanges_1_tADA077C1D8520E93DBAF760C434863B1E46EABF7 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
V_7 = (NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 )L_33;
Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A L_34 = NativeArray_1_GetEnumerator_m3B6CA1981A8CE62A1C67FCEEBE1887CD32906DA2((NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 *)(NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 *)(&V_7), /*hidden argument*/NativeArray_1_GetEnumerator_m3B6CA1981A8CE62A1C67FCEEBE1887CD32906DA2_RuntimeMethod_var);
V_8 = (Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A )L_34;
}
IL_0167:
try
{ // begin try (depth: 4)
{
goto IL_01ab;
}
IL_0169:
{
// foreach (var trackableId in changes.removed)
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_35 = Enumerator_get_Current_m913D10AD892E19937C638773D208459E9862248D((Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A *)(Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A *)(&V_8), /*hidden argument*/Enumerator_get_Current_m913D10AD892E19937C638773D208459E9862248D_RuntimeMethod_var);
V_9 = (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_35;
// if (m_Trackables.TryGetValue(trackableId, out var trackable))
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_36 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_37 = V_9;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_36);
bool L_38 = (( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject **, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_36, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_37, (RuntimeObject **)(RuntimeObject **)(&V_10), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
if (!L_38)
{
goto IL_01ab;
}
}
IL_0183:
{
// m_Trackables.Remove(trackableId);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_39 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_40 = V_9;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_39);
(( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_39, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_40, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
// if (trackable)
RuntimeObject * L_41 = V_10;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_42 = Object_op_Implicit_m8B2A44B4B1406ED346D1AE6D962294FD58D0D534((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_41, /*hidden argument*/NULL);
if (!L_42)
{
goto IL_01ab;
}
}
IL_019f:
{
// s_Removed.Add(trackable);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_43 = ((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
RuntimeObject * L_44 = V_10;
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_43);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_43, (RuntimeObject *)L_44, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_01ab:
{
// foreach (var trackableId in changes.removed)
bool L_45 = Enumerator_MoveNext_m3C4C0B0B1AE71E65EF8255E6FC671DDBC829B6AA((Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A *)(Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A *)(&V_8), /*hidden argument*/Enumerator_MoveNext_m3C4C0B0B1AE71E65EF8255E6FC671DDBC829B6AA_RuntimeMethod_var);
if (L_45)
{
goto IL_0169;
}
}
IL_01b4:
{
IL2CPP_LEAVE(0x1EE, FINALLY_01b6);
}
} // end try (depth: 4)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01b6;
}
FINALLY_01b6:
{ // begin finally (depth: 4)
Il2CppFakeBox<Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A > L_46(Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A_il2cpp_TypeInfo_var, (&V_8));
const VirtualInvokeData& il2cpp_virtual_invoke_data__446 = il2cpp_codegen_get_interface_invoke_data(0, (&L_46), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__446.methodPtr)((RuntimeObject*)(&L_46), /*hidden argument*/il2cpp_virtual_invoke_data__446.method);
V_8 = L_46.m_Value;
IL2CPP_END_FINALLY(438)
} // end finally (depth: 4)
IL2CPP_CLEANUP(438)
{
IL2CPP_END_CLEANUP(0x1EE, FINALLY_01c4);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 3)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01c4;
}
FINALLY_01c4:
{ // begin finally (depth: 3)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_2), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(452)
} // end finally (depth: 3)
IL2CPP_CLEANUP(452)
{
IL2CPP_END_CLEANUP(0x1EE, FINALLY_01d2);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01d2;
}
FINALLY_01d2:
{ // begin finally (depth: 2)
Il2CppFakeBox<TrackableChanges_1_tADA077C1D8520E93DBAF760C434863B1E46EABF7 > L_47(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 35), (&V_1));
const VirtualInvokeData& il2cpp_virtual_invoke_data__474 = il2cpp_codegen_get_interface_invoke_data(0, (&L_47), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__474.methodPtr)((RuntimeObject*)(&L_47), /*hidden argument*/il2cpp_virtual_invoke_data__474.method);
V_1 = L_47.m_Value;
IL2CPP_END_FINALLY(466)
} // end finally (depth: 2)
IL2CPP_CLEANUP(466)
{
IL2CPP_END_CLEANUP(0x1EE, FINALLY_01e0);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01e0;
}
FINALLY_01e0:
{ // begin finally (depth: 1)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_0), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(480)
} // end finally (depth: 1)
IL2CPP_CLEANUP(480)
{
IL2CPP_JUMP_TBL(0x1EE, IL_01ee)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_01ee:
{
}
IL_01ef:
try
{ // begin try (depth: 1)
{
// if ((s_Added.Count) > 0 ||
// (s_Updated.Count) > 0 ||
// (s_Removed.Count) > 0)
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_48 = ((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Added_11();
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_48);
int32_t L_49 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_48, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36));
if ((((int32_t)L_49) > ((int32_t)0)))
{
goto IL_0216;
}
}
IL_01fc:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_50 = ((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Updated_12();
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_50);
int32_t L_51 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_50, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36));
if ((((int32_t)L_51) > ((int32_t)0)))
{
goto IL_0216;
}
}
IL_0209:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_52 = ((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_52);
int32_t L_53 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_52, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36));
if ((((int32_t)L_53) <= ((int32_t)0)))
{
goto IL_022b;
}
}
IL_0216:
{
// OnTrackablesChanged(s_Added, s_Updated, s_Removed);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_54 = ((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Added_11();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_55 = ((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Updated_12();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_56 = ((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
NullCheck((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this);
VirtActionInvoker3< List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * >::Invoke(13 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::OnTrackablesChanged(System.Collections.Generic.List`1<TTrackable>,System.Collections.Generic.List`1<TTrackable>,System.Collections.Generic.List`1<TTrackable>) */, (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this, (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_54, (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_55, (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_56);
}
IL_022b:
{
// }
IL2CPP_LEAVE(0x266, FINALLY_022d);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_022d;
}
FINALLY_022d:
{ // begin finally (depth: 1)
{
// foreach (var removed in s_Removed)
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_57 = ((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_57);
Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD L_58 = (( Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_57, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38));
V_11 = (Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD )L_58;
}
IL_0239:
try
{ // begin try (depth: 2)
{
goto IL_024c;
}
IL_023b:
{
// foreach (var removed in s_Removed)
RuntimeObject * L_59 = Enumerator_get_Current_mD7829C7E8CFBEDD463B15A951CDE9B90A12CC55C_inline((Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD *)(Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD *)(&V_11), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 39));
V_12 = (RuntimeObject *)L_59;
// DestroyTrackable(removed);
RuntimeObject * L_60 = V_12;
NullCheck((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this);
(( void (*) (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40)->methodPointer)((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this, (RuntimeObject *)L_60, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40));
}
IL_024c:
{
// foreach (var removed in s_Removed)
bool L_61 = Enumerator_MoveNext_m38B1099DDAD7EEDE2F4CDAB11C095AC784AC2E34((Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD *)(Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD *)(&V_11), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 41));
if (L_61)
{
goto IL_023b;
}
}
IL_0255:
{
IL2CPP_LEAVE(0x265, FINALLY_0257);
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0257;
}
FINALLY_0257:
{ // begin finally (depth: 2)
Il2CppFakeBox<Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD > L_62(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 42), (&V_11));
const VirtualInvokeData& il2cpp_virtual_invoke_data__607 = il2cpp_codegen_get_interface_invoke_data(0, (&L_62), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__607.methodPtr)((RuntimeObject*)(&L_62), /*hidden argument*/il2cpp_virtual_invoke_data__607.method);
V_11 = L_62.m_Value;
IL2CPP_END_FINALLY(599)
} // end finally (depth: 2)
IL2CPP_CLEANUP(599)
{
IL2CPP_JUMP_TBL(0x265, IL_0265)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0265:
{
// }
IL2CPP_END_FINALLY(557)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(557)
{
IL2CPP_JUMP_TBL(0x266, IL_0266)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0266:
{
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::OnTrackablesChanged(System.Collections.Generic.List`1<TTrackable>,System.Collections.Generic.List`1<TTrackable>,System.Collections.Generic.List`1<TTrackable>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnTrackablesChanged_m852A802440A05E80E12A8EB04201F01AE57CFF26_gshared (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 * __this, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___added0, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___updated1, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___removed2, const RuntimeMethod* method)
{
{
// { }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::OnCreateTrackable(TTrackable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnCreateTrackable_m31CEF61EE1880C4F2F816F092BFF751F8CDB96D1_gshared (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 * __this, RuntimeObject * ___trackable0, const RuntimeMethod* method)
{
{
// { }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::OnAfterSetSessionRelativeData(TTrackable,TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnAfterSetSessionRelativeData_m8EE21373F385D317084622F8933C4F8EE86EA6A6_gshared (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 * __this, RuntimeObject * ___trackable0, XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 ___sessionRelativeData1, const RuntimeMethod* method)
{
{
// { }
return;
}
}
// TTrackable UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::CreateTrackableImmediate(TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * ARTrackableManager_4_CreateTrackableImmediate_mBCA8115541B67B6ED0598144A9A9DF622B67535F_gshared (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 * __this, XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 ___sessionRelativeData0, const RuntimeMethod* method)
{
RuntimeObject * V_0 = NULL;
{
// var trackable = CreateOrUpdateTrackable(sessionRelativeData);
XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 L_0 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this);
RuntimeObject * L_1 = (( RuntimeObject * (*) (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *, XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this, (XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
V_0 = (RuntimeObject *)L_1;
// trackable.pending = true;
RuntimeObject * L_2 = V_0;
NullCheck((ARTrackable_2_t50AF7893F36D1184C6A1D4EAEC9B72228531C88C *)L_2);
(( void (*) (ARTrackable_2_t50AF7893F36D1184C6A1D4EAEC9B72228531C88C *, bool, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((ARTrackable_2_t50AF7893F36D1184C6A1D4EAEC9B72228531C88C *)L_2, (bool)1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
// m_PendingAdds.Add(trackable.trackableId, trackable);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_3 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
RuntimeObject * L_4 = V_0;
NullCheck((ARTrackable_2_t50AF7893F36D1184C6A1D4EAEC9B72228531C88C *)L_4);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_5 = (( TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 (*) (ARTrackable_2_t50AF7893F36D1184C6A1D4EAEC9B72228531C88C *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)((ARTrackable_2_t50AF7893F36D1184C6A1D4EAEC9B72228531C88C *)L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
RuntimeObject * L_6 = V_0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_3);
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_3, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_5, (RuntimeObject *)L_6, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43));
// return trackable;
RuntimeObject * L_7 = V_0;
return L_7;
}
}
// System.Boolean UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::DestroyPendingTrackable(UnityEngine.XR.ARSubsystems.TrackableId)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ARTrackableManager_4_DestroyPendingTrackable_m60D56A9C908315723BEC531E2F8E4896D02CCD46_gshared (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 * __this, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___trackableId0, const RuntimeMethod* method)
{
RuntimeObject * V_0 = NULL;
{
// if (m_PendingAdds.TryGetValue(trackableId, out var trackable))
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_0 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_1 = ___trackableId0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_0);
bool L_2 = (( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject **, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_0, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_1, (RuntimeObject **)(RuntimeObject **)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
if (!L_2)
{
goto IL_0033;
}
}
{
// m_PendingAdds.Remove(trackableId);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_3 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_4 = ___trackableId0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_3);
(( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_3, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
// m_Trackables.Remove(trackableId);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_5 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_6 = ___trackableId0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_5);
(( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_5, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_6, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
// DestroyTrackable(trackable);
RuntimeObject * L_7 = V_0;
NullCheck((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this);
(( void (*) (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40)->methodPointer)((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this, (RuntimeObject *)L_7, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40));
// return true;
return (bool)1;
}
IL_0033:
{
// return false;
return (bool)0;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::ClearAndSetCapacity(System.Collections.Generic.List`1<TTrackable>,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_ClearAndSetCapacity_m0960C8833D35266824451F49E2C6A6A4E34CD6ED_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___list0, int32_t ___capacity1, const RuntimeMethod* method)
{
{
// list.Clear();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_0 = ___list0;
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_0);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 44)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 44));
// if (list.Capacity < capacity)
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_1 = ___list0;
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_1);
int32_t L_2 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 45)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 45));
int32_t L_3 = ___capacity1;
if ((((int32_t)L_2) >= ((int32_t)L_3)))
{
goto IL_0016;
}
}
{
// list.Capacity = capacity;
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_4 = ___list0;
int32_t L_5 = ___capacity1;
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_4);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 46)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_4, (int32_t)L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 46));
}
IL_0016:
{
// }
return;
}
}
// System.String UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::GetTrackableName(UnityEngine.XR.ARSubsystems.TrackableId)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* ARTrackableManager_4_GetTrackableName_m0AEE25159E7E1BAFA57CBAE50B169C9B4319C506_gshared (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 * __this, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___trackableId0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_GetTrackableName_m0AEE25159E7E1BAFA57CBAE50B169C9B4319C506_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// return gameObjectName + " " + trackableId.ToString();
NullCheck((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this);
String_t* L_0 = VirtFuncInvoker0< String_t* >::Invoke(9 /* System.String UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::get_gameObjectName() */, (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this);
String_t* L_1 = TrackableId_ToString_mBA49191865E57697F4279D2781B182590726A215((TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 *)(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 *)(&___trackableId0), /*hidden argument*/NULL);
String_t* L_2 = String_Concat_mF4626905368D6558695A823466A1AF65EADB9923((String_t*)L_0, (String_t*)_stringLiteralB858CB282617FB0956D960215C8E84D1CCF909C6, (String_t*)L_1, /*hidden argument*/NULL);
return L_2;
}
}
// System.ValueTuple`2<UnityEngine.GameObject,System.Boolean> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::CreateGameObjectDeactivated()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 ARTrackableManager_4_CreateGameObjectDeactivated_m27DB3CF062FC0AEC117ABD98037F147A309BC650_gshared (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_CreateGameObjectDeactivated_m27DB3CF062FC0AEC117ABD98037F147A309BC650_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * V_0 = NULL;
bool V_1 = false;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * V_2 = NULL;
{
// var prefab = GetPrefab();
NullCheck((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_0 = VirtFuncInvoker0< GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * >::Invoke(10 /* UnityEngine.GameObject UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::GetPrefab() */, (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this);
V_0 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_0;
// if (prefab == null)
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_1 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_1, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0039;
}
}
{
// var gameObject = new GameObject();
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_3 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)il2cpp_codegen_object_new(GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F_il2cpp_TypeInfo_var);
GameObject__ctor_mA4DFA8F4471418C248E95B55070665EF344B4B2D(L_3, /*hidden argument*/NULL);
// gameObject.SetActive(false);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_4 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_3;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_4);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_4, (bool)0, /*hidden argument*/NULL);
// gameObject.transform.parent = sessionOrigin.trackablesParent;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_5 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_4;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_6 = GameObject_get_transform_mA5C38857137F137CB96C69FAA624199EB1C2FB2C((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5, /*hidden argument*/NULL);
NullCheck((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_7 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_7);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_8 = ARSessionOrigin_get_trackablesParent_m37049D7E75CF694834A140C2EACB15D2D1098505_inline((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_7, /*hidden argument*/NULL);
NullCheck((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_6);
Transform_set_parent_m65B8E4660B2C554069C57A957D9E55FECA7AA73E((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_6, (Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_8, /*hidden argument*/NULL);
// return (gameObject, true);
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_9;
memset((&L_9), 0, sizeof(L_9));
ValueTuple_2__ctor_m73A57D85868E9347B9DCD08AB9585E9B191478F7((&L_9), (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5, (bool)1, /*hidden argument*/ValueTuple_2__ctor_m73A57D85868E9347B9DCD08AB9585E9B191478F7_RuntimeMethod_var);
return L_9;
}
IL_0039:
{
// var active = prefab.activeSelf;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_10 = V_0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_10);
bool L_11 = GameObject_get_activeSelf_mFE1834886CAE59884AC2BE707A3B821A1DB61F44((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_10, /*hidden argument*/NULL);
V_1 = (bool)L_11;
// prefab.SetActive(false);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_12 = V_0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_12);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_12, (bool)0, /*hidden argument*/NULL);
// var gameObject = Instantiate(prefab, sessionOrigin.trackablesParent);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_13 = V_0;
NullCheck((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_14 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_14);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_15 = ARSessionOrigin_get_trackablesParent_m37049D7E75CF694834A140C2EACB15D2D1098505_inline((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_14, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_16 = Object_Instantiate_TisGameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F_m1CDF66D563B03D37B37264800222D4F3B307EDA0((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_13, (Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_15, /*hidden argument*/Object_Instantiate_TisGameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F_m1CDF66D563B03D37B37264800222D4F3B307EDA0_RuntimeMethod_var);
V_2 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_16;
// prefab.SetActive(active);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_17 = V_0;
bool L_18 = V_1;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_17);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_17, (bool)L_18, /*hidden argument*/NULL);
// return (gameObject, active);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_19 = V_2;
bool L_20 = V_1;
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_21;
memset((&L_21), 0, sizeof(L_21));
ValueTuple_2__ctor_m73A57D85868E9347B9DCD08AB9585E9B191478F7((&L_21), (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_19, (bool)L_20, /*hidden argument*/ValueTuple_2__ctor_m73A57D85868E9347B9DCD08AB9585E9B191478F7_RuntimeMethod_var);
return L_21;
}
}
// System.ValueTuple`2<UnityEngine.GameObject,System.Boolean> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::CreateGameObjectDeactivated(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 ARTrackableManager_4_CreateGameObjectDeactivated_mCD6BB8D10BFE4F9905205BA046E0DBBC3B8A8C0A_gshared (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 * __this, String_t* ___name0, const RuntimeMethod* method)
{
{
// var tuple = CreateGameObjectDeactivated();
NullCheck((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this);
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_0 = (( ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 (*) (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 49)->methodPointer)((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 49));
// tuple.gameObject.name = name;
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_1 = (ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 )L_0;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_2 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_1.get_Item1_0();
String_t* L_3 = ___name0;
NullCheck((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_2);
Object_set_name_m538711B144CDE30F929376BCF72D0DC8F85D0826((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_2, (String_t*)L_3, /*hidden argument*/NULL);
// return tuple;
return L_1;
}
}
// System.ValueTuple`2<UnityEngine.GameObject,System.Boolean> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::CreateGameObjectDeactivated(UnityEngine.XR.ARSubsystems.TrackableId)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 ARTrackableManager_4_CreateGameObjectDeactivated_m55E969001A592B014DD59312758E522988FBB54D_gshared (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 * __this, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___trackableId0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_CreateGameObjectDeactivated_m55E969001A592B014DD59312758E522988FBB54D_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 V_0;
memset((&V_0), 0, sizeof(V_0));
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 V_1;
memset((&V_1), 0, sizeof(V_1));
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);
{
// using (new ScopedProfiler("CreateGameObject"))
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_0), (String_t*)_stringLiteralA1BA014E93BB1085A758A3F66948C9CAC874B9BD, /*hidden argument*/NULL);
}
IL_000c:
try
{ // begin try (depth: 1)
// return CreateGameObjectDeactivated(GetTrackableName(trackableId));
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = ___trackableId0;
NullCheck((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this);
String_t* L_1 = (( String_t* (*) (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 50)->methodPointer)((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 50));
NullCheck((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this);
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_2 = (( ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 (*) (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *, String_t*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 51)->methodPointer)((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this, (String_t*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 51));
V_1 = (ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 )L_2;
IL2CPP_LEAVE(0x2A, FINALLY_001c);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_001c;
}
FINALLY_001c:
{ // begin finally (depth: 1)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_0), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(28)
} // end finally (depth: 1)
IL2CPP_CLEANUP(28)
{
IL2CPP_JUMP_TBL(0x2A, IL_002a)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_002a:
{
// }
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_3 = V_1;
return L_3;
}
}
// TTrackable UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::CreateTrackable(TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * ARTrackableManager_4_CreateTrackable_mD053D98595FC9DE3B0BA5E9C4891BCAB49E8E882_gshared (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 * __this, XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 ___sessionRelativeData0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_CreateTrackable_mD053D98595FC9DE3B0BA5E9C4891BCAB49E8E882_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * V_0 = NULL;
bool V_1 = false;
RuntimeObject * V_2 = NULL;
{
// var (gameObject, shouldBeActive) = CreateGameObjectDeactivated(sessionRelativeData.trackableId);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = XRParticipant_get_trackableId_mAF0DAE2613E96C830102678EA49DA306402C7700_inline((XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 *)(XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 *)(&___sessionRelativeData0), /*hidden argument*/NULL);
NullCheck((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this);
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_1 = (( ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 (*) (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 53)->methodPointer)((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 53));
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_2 = (ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 )L_1;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_3 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_2.get_Item1_0();
V_0 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_3;
bool L_4 = (bool)L_2.get_Item2_1();
V_1 = (bool)L_4;
// var trackable = gameObject.GetComponent<TTrackable>();
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_5 = V_0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5);
RuntimeObject * L_6 = (( RuntimeObject * (*) (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 54)->methodPointer)((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 54));
V_2 = (RuntimeObject *)L_6;
// if (trackable == null)
RuntimeObject * L_7 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_8 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_7, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_003c;
}
}
{
// trackable = gameObject.AddComponent<TTrackable>();
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_9 = V_0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_9);
RuntimeObject * L_10 = (( RuntimeObject * (*) (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 55)->methodPointer)((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 55));
V_2 = (RuntimeObject *)L_10;
}
IL_003c:
{
// m_Trackables.Add(sessionRelativeData.trackableId, trackable);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_11 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_12 = XRParticipant_get_trackableId_mAF0DAE2613E96C830102678EA49DA306402C7700_inline((XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 *)(XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 *)(&___sessionRelativeData0), /*hidden argument*/NULL);
RuntimeObject * L_13 = V_2;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_11);
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_11, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_12, (RuntimeObject *)L_13, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43));
// SetSessionRelativeData(trackable, sessionRelativeData);
RuntimeObject * L_14 = V_2;
XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 L_15 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this);
(( void (*) (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *, RuntimeObject *, XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56)->methodPointer)((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this, (RuntimeObject *)L_14, (XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 )L_15, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56));
// trackable.gameObject.SetActive(shouldBeActive);
RuntimeObject * L_16 = V_2;
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_16);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_17 = Component_get_gameObject_m0B0570BA8DDD3CD78A9DB568EA18D7317686603C((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_16, /*hidden argument*/NULL);
bool L_18 = V_1;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_17);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_17, (bool)L_18, /*hidden argument*/NULL);
// return trackable;
RuntimeObject * L_19 = V_2;
return L_19;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::SetSessionRelativeData(TTrackable,TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_SetSessionRelativeData_m0E47BB9726F1E02250A6075D50742DF11B64E8D3_gshared (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 * __this, RuntimeObject * ___trackable0, XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 ___data1, const RuntimeMethod* method)
{
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// trackable.SetSessionRelativeData(data);
RuntimeObject * L_0 = ___trackable0;
XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 L_1 = ___data1;
NullCheck((ARTrackable_2_t50AF7893F36D1184C6A1D4EAEC9B72228531C88C *)L_0);
(( void (*) (ARTrackable_2_t50AF7893F36D1184C6A1D4EAEC9B72228531C88C *, XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 57)->methodPointer)((ARTrackable_2_t50AF7893F36D1184C6A1D4EAEC9B72228531C88C *)L_0, (XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 )L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 57));
// var worldSpacePose = sessionOrigin.trackablesParent.TransformPose(data.pose);
NullCheck((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_2 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_2);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_3 = ARSessionOrigin_get_trackablesParent_m37049D7E75CF694834A140C2EACB15D2D1098505_inline((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_2, /*hidden argument*/NULL);
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_4 = XRParticipant_get_pose_m9FDF90F628DF1FC812226F06F196A113644C1717_inline((XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 *)(XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 *)(&___data1), /*hidden argument*/NULL);
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_5 = TransformExtensions_TransformPose_m677CE84C622BD23C3DDB2953DDB820E1934B0144((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_3, (Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 )L_4, /*hidden argument*/NULL);
V_0 = (Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 )L_5;
// trackable.transform.SetPositionAndRotation(worldSpacePose.position, worldSpacePose.rotation);
RuntimeObject * L_6 = ___trackable0;
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_6);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_7 = Component_get_transform_m00F05BD782F920C301A7EBA480F3B7A904C07EC9((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_6, /*hidden argument*/NULL);
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_8 = V_0;
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_9 = (Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 )L_8.get_position_0();
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_10 = V_0;
Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 L_11 = (Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 )L_10.get_rotation_1();
NullCheck((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_7);
Transform_SetPositionAndRotation_mDB9B34321018846FD7E2315CBE8D4A6612E3DE43((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_7, (Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 )L_9, (Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 )L_11, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::CreateTrackableFromExisting(TTrackable,TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_CreateTrackableFromExisting_m60F747A09934CBC1A741D8785616EADDA0F5E73B_gshared (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 * __this, RuntimeObject * ___existingTrackable0, XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 ___sessionRelativeData1, const RuntimeMethod* method)
{
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// var trackableId = sessionRelativeData.trackableId;
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = XRParticipant_get_trackableId_mAF0DAE2613E96C830102678EA49DA306402C7700_inline((XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 *)(XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 *)(&___sessionRelativeData1), /*hidden argument*/NULL);
V_0 = (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_0;
// m_Trackables.Add(trackableId, existingTrackable);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_1 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_2 = V_0;
RuntimeObject * L_3 = ___existingTrackable0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_1);
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_1, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_2, (RuntimeObject *)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43));
// SetSessionRelativeData(existingTrackable, sessionRelativeData);
RuntimeObject * L_4 = ___existingTrackable0;
XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 L_5 = ___sessionRelativeData1;
NullCheck((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this);
(( void (*) (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *, RuntimeObject *, XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56)->methodPointer)((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this, (RuntimeObject *)L_4, (XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 )L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56));
// OnCreateTrackable(existingTrackable);
RuntimeObject * L_6 = ___existingTrackable0;
NullCheck((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this);
VirtActionInvoker1< RuntimeObject * >::Invoke(14 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::OnCreateTrackable(TTrackable) */, (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this, (RuntimeObject *)L_6);
// OnAfterSetSessionRelativeData(existingTrackable, sessionRelativeData);
RuntimeObject * L_7 = ___existingTrackable0;
XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 L_8 = ___sessionRelativeData1;
NullCheck((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this);
VirtActionInvoker2< RuntimeObject *, XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 >::Invoke(15 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::OnAfterSetSessionRelativeData(TTrackable,TSessionRelativeData) */, (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this, (RuntimeObject *)L_7, (XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 )L_8);
// existingTrackable.OnAfterSetSessionRelativeData();
RuntimeObject * L_9 = ___existingTrackable0;
NullCheck((ARTrackable_2_t50AF7893F36D1184C6A1D4EAEC9B72228531C88C *)L_9);
VirtActionInvoker0::Invoke(4 /* System.Void UnityEngine.XR.ARFoundation.ARTrackable`2<UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::OnAfterSetSessionRelativeData() */, (ARTrackable_2_t50AF7893F36D1184C6A1D4EAEC9B72228531C88C *)L_9);
// m_PendingAdds.Add(trackableId, existingTrackable);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_10 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_11 = V_0;
RuntimeObject * L_12 = ___existingTrackable0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_10);
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_10, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_11, (RuntimeObject *)L_12, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43));
// existingTrackable.pending = true;
RuntimeObject * L_13 = ___existingTrackable0;
NullCheck((ARTrackable_2_t50AF7893F36D1184C6A1D4EAEC9B72228531C88C *)L_13);
(( void (*) (ARTrackable_2_t50AF7893F36D1184C6A1D4EAEC9B72228531C88C *, bool, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((ARTrackable_2_t50AF7893F36D1184C6A1D4EAEC9B72228531C88C *)L_13, (bool)1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
// }
return;
}
}
// TTrackable UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::CreateOrUpdateTrackable(TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * ARTrackableManager_4_CreateOrUpdateTrackable_m579D90ACD435A6D4E8008D81E8DB7475B57463F7_gshared (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 * __this, XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 ___sessionRelativeData0, const RuntimeMethod* method)
{
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 V_0;
memset((&V_0), 0, sizeof(V_0));
RuntimeObject * V_1 = NULL;
{
// var trackableId = sessionRelativeData.trackableId;
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = XRParticipant_get_trackableId_mAF0DAE2613E96C830102678EA49DA306402C7700_inline((XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 *)(XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 *)(&___sessionRelativeData0), /*hidden argument*/NULL);
V_0 = (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_0;
// if (m_Trackables.TryGetValue(trackableId, out var trackable))
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_1 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_2 = V_0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_1);
bool L_3 = (( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject **, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_1, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_2, (RuntimeObject **)(RuntimeObject **)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
if (!L_3)
{
goto IL_0041;
}
}
{
// m_PendingAdds.Remove(trackableId);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_4 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_5 = V_0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_4);
(( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_4, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
// trackable.pending = false;
RuntimeObject * L_6 = V_1;
NullCheck((ARTrackable_2_t50AF7893F36D1184C6A1D4EAEC9B72228531C88C *)L_6);
(( void (*) (ARTrackable_2_t50AF7893F36D1184C6A1D4EAEC9B72228531C88C *, bool, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((ARTrackable_2_t50AF7893F36D1184C6A1D4EAEC9B72228531C88C *)L_6, (bool)0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
// SetSessionRelativeData(trackable, sessionRelativeData);
RuntimeObject * L_7 = V_1;
XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 L_8 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this);
(( void (*) (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *, RuntimeObject *, XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56)->methodPointer)((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this, (RuntimeObject *)L_7, (XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 )L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56));
// }
goto IL_0050;
}
IL_0041:
{
// trackable = CreateTrackable(sessionRelativeData);
XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 L_9 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this);
RuntimeObject * L_10 = (( RuntimeObject * (*) (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *, XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 61)->methodPointer)((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this, (XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 )L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 61));
V_1 = (RuntimeObject *)L_10;
// OnCreateTrackable(trackable);
RuntimeObject * L_11 = V_1;
NullCheck((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this);
VirtActionInvoker1< RuntimeObject * >::Invoke(14 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::OnCreateTrackable(TTrackable) */, (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this, (RuntimeObject *)L_11);
}
IL_0050:
{
// OnAfterSetSessionRelativeData(trackable, sessionRelativeData);
RuntimeObject * L_12 = V_1;
XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 L_13 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this);
VirtActionInvoker2< RuntimeObject *, XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 >::Invoke(15 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::OnAfterSetSessionRelativeData(TTrackable,TSessionRelativeData) */, (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 *)__this, (RuntimeObject *)L_12, (XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 )L_13);
// trackable.OnAfterSetSessionRelativeData();
RuntimeObject * L_14 = V_1;
NullCheck((ARTrackable_2_t50AF7893F36D1184C6A1D4EAEC9B72228531C88C *)L_14);
VirtActionInvoker0::Invoke(4 /* System.Void UnityEngine.XR.ARFoundation.ARTrackable`2<UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::OnAfterSetSessionRelativeData() */, (ARTrackable_2_t50AF7893F36D1184C6A1D4EAEC9B72228531C88C *)L_14);
// return trackable;
RuntimeObject * L_15 = V_1;
return L_15;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::DestroyTrackable(TTrackable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_DestroyTrackable_mEA847813820C5F7ED7BC28580AC5286310838146_gshared (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 * __this, RuntimeObject * ___trackable0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_DestroyTrackable_mEA847813820C5F7ED7BC28580AC5286310838146_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (trackable.destroyOnRemoval)
RuntimeObject * L_0 = ___trackable0;
NullCheck((ARTrackable_2_t50AF7893F36D1184C6A1D4EAEC9B72228531C88C *)L_0);
bool L_1 = (( bool (*) (ARTrackable_2_t50AF7893F36D1184C6A1D4EAEC9B72228531C88C *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 62)->methodPointer)((ARTrackable_2_t50AF7893F36D1184C6A1D4EAEC9B72228531C88C *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 62));
if (!L_1)
{
goto IL_001d;
}
}
{
// Destroy(trackable.gameObject);
RuntimeObject * L_2 = ___trackable0;
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_2);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_3 = Component_get_gameObject_m0B0570BA8DDD3CD78A9DB568EA18D7317686603C((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_2, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
Object_Destroy_m23B4562495BA35A74266D4372D45368F8C05109A((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_3, /*hidden argument*/NULL);
}
IL_001d:
{
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4__ctor_mB20CA2D2D70522A9E381DDE4051712013C45E181_gshared (ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7 * __this, const RuntimeMethod* method)
{
{
// protected Dictionary<TrackableId, TTrackable> m_Trackables = new Dictionary<TrackableId, TTrackable>();
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_0 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 63));
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 64)->methodPointer)(L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 64));
__this->set_m_Trackables_9(L_0);
// protected Dictionary<TrackableId, TTrackable> m_PendingAdds = new Dictionary<TrackableId, TTrackable>();
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_1 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 63));
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 64)->methodPointer)(L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 64));
__this->set_m_PendingAdds_10(L_1);
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1));
(( void (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 65)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 65));
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRParticipant,System.Object>::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4__cctor_mFA7AEEE932BE14FF64B9FC112F26DC60CD13CCE1_gshared (const RuntimeMethod* method)
{
{
// static List<TTrackable> s_Added = new List<TTrackable>();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_0 = (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 66));
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67)->methodPointer)(L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67));
((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set_s_Added_11(L_0);
// static List<TTrackable> s_Updated = new List<TTrackable>();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_1 = (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 66));
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67)->methodPointer)(L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67));
((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set_s_Updated_12(L_1);
// static List<TTrackable> s_Removed = new List<TTrackable>();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_2 = (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 66));
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67)->methodPointer)(L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67));
((ARTrackableManager_4_t33248C1D65A8781527B6AB4089FDE18699E9F2E7_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set_s_Removed_13(L_2);
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
// UnityEngine.XR.ARFoundation.ARTrackableManager`4<TSubsystem,TSubsystemDescriptor,TSessionRelativeData,TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::get_instance()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E * ARTrackableManager_4_get_instance_mA37293BEAA9259D29F605DF5A7D4F05400EAAC8F_gshared (const RuntimeMethod* method)
{
{
// internal static ARTrackableManager<TSubsystem, TSubsystemDescriptor, TSessionRelativeData, TTrackable> instance { get; private set; }
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0));
ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E * L_0 = ((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->get_U3CinstanceU3Ek__BackingField_7();
return L_0;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::set_instance(UnityEngine.XR.ARFoundation.ARTrackableManager`4<TSubsystem,TSubsystemDescriptor,TSessionRelativeData,TTrackable>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_set_instance_m2F12AA6FB3920658D0756F0E08C3F5BA85B50A5A_gshared (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E * ___value0, const RuntimeMethod* method)
{
{
// internal static ARTrackableManager<TSubsystem, TSubsystemDescriptor, TSessionRelativeData, TTrackable> instance { get; private set; }
ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E * L_0 = ___value0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0));
((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set_U3CinstanceU3Ek__BackingField_7(L_0);
return;
}
}
// UnityEngine.XR.ARFoundation.TrackableCollection`1<TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::get_trackables()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 ARTrackableManager_4_get_trackables_mEBE20ABFD56D97C275BF603BDDD66CBBF7BAA874_gshared (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E * __this, const RuntimeMethod* method)
{
{
// public TrackableCollection<TTrackable> trackables => new TrackableCollection<TTrackable>(m_Trackables);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_0 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 L_1;
memset((&L_1), 0, sizeof(L_1));
TrackableCollection_1__ctor_mA99D3D41CAA02EF94BD2B96D6DC1B66450E226FF((&L_1), (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 3));
return L_1;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::SetTrackablesActive(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_SetTrackablesActive_m7D105F0E3D477FF2314B6B757EC3802A21CF2614_gshared (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E * __this, bool ___active0, const RuntimeMethod* method)
{
Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED V_0;
memset((&V_0), 0, sizeof(V_0));
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 V_1;
memset((&V_1), 0, sizeof(V_1));
{
// foreach (var trackable in trackables)
NullCheck((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this);
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 L_0 = (( TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 (*) (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 4)->methodPointer)((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 4));
V_1 = (TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 )L_0;
Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED L_1 = TrackableCollection_1_GetEnumerator_mBAA3D036F160A053757196D57318EC6B3F368D02((TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 *)(TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
V_0 = (Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED )L_1;
goto IL_0028;
}
IL_0011:
{
// foreach (var trackable in trackables)
RuntimeObject * L_2 = Enumerator_get_Current_m6D82C8CA15561A8D32BA77CB304C80AF57C4C77E((Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6));
// trackable.gameObject.SetActive(active);
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_2);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_3 = Component_get_gameObject_m0B0570BA8DDD3CD78A9DB568EA18D7317686603C((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_2, /*hidden argument*/NULL);
bool L_4 = ___active0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_3);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_3, (bool)L_4, /*hidden argument*/NULL);
}
IL_0028:
{
// foreach (var trackable in trackables)
bool L_5 = Enumerator_MoveNext_mF64DBEA38614B8A6E085DFC09DD2745BE2ACB9BE((Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
if (L_5)
{
goto IL_0011;
}
}
{
// }
return;
}
}
// UnityEngine.XR.ARFoundation.ARSessionOrigin UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::get_sessionOrigin()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * ARTrackableManager_4_get_sessionOrigin_m892201565A27DF3560D50CE75D03430240ADB5B5_gshared (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E * __this, const RuntimeMethod* method)
{
{
// protected ARSessionOrigin sessionOrigin { get; private set; }
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = (ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)__this->get_U3CsessionOriginU3Ek__BackingField_8();
return L_0;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::set_sessionOrigin(UnityEngine.XR.ARFoundation.ARSessionOrigin)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_set_sessionOrigin_m9B5A1BA5BEC958947F00B0EEFBDC2F8C1D4CB36D_gshared (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E * __this, ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * ___value0, const RuntimeMethod* method)
{
{
// protected ARSessionOrigin sessionOrigin { get; private set; }
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = ___value0;
__this->set_U3CsessionOriginU3Ek__BackingField_8(L_0);
return;
}
}
// UnityEngine.GameObject UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::GetPrefab()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * ARTrackableManager_4_GetPrefab_m2AF25399D2CC10D0046342A934C2176D74D3A0A1_gshared (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E * __this, const RuntimeMethod* method)
{
{
// protected virtual GameObject GetPrefab() => null;
return (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)NULL;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::Awake()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_Awake_mD4E9BB4AB7CCFB56C4B1B0529475C7F6C90839E1_gshared (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_Awake_mD4E9BB4AB7CCFB56C4B1B0529475C7F6C90839E1_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// sessionOrigin = GetComponent<ARSessionOrigin>();
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = Component_GetComponent_TisARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF_m25BC8791B994BAE33BF9003FFC85124F480EFB17((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)__this, /*hidden argument*/Component_GetComponent_TisARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF_m25BC8791B994BAE33BF9003FFC85124F480EFB17_RuntimeMethod_var);
NullCheck((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this);
(( void (*) (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *, ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this, (ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::OnEnable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnEnable_m6F8F52AECCFAA01E5C77A076BCF7428DC895AF9D_gshared (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_OnEnable_m6F8F52AECCFAA01E5C77A076BCF7428DC895AF9D_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// base.OnEnable();
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
(( void (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10));
// instance = this;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
(( void (*) (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 11)->methodPointer)((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 11));
// sessionOrigin.trackablesParentTransformChanged += OnTrackablesParentTransformChanged;
NullCheck((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB * L_1 = (Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB *)il2cpp_codegen_object_new(Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB_il2cpp_TypeInfo_var);
Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B(L_1, (RuntimeObject *)__this, (intptr_t)((intptr_t)IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)), /*hidden argument*/Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B_RuntimeMethod_var);
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0);
ARSessionOrigin_add_trackablesParentTransformChanged_m59165BB2C4BFB84AD169AF54D2D9B76DBD8A5235((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0, (Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB *)L_1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::OnDisable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnDisable_mF7ACB41643F0619216B29F0806C2429CE2223A15_gshared (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_OnDisable_mF7ACB41643F0619216B29F0806C2429CE2223A15_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// base.OnDisable();
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
(( void (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14));
// sessionOrigin.trackablesParentTransformChanged -= OnTrackablesParentTransformChanged;
NullCheck((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB * L_1 = (Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB *)il2cpp_codegen_object_new(Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB_il2cpp_TypeInfo_var);
Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B(L_1, (RuntimeObject *)__this, (intptr_t)((intptr_t)IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)), /*hidden argument*/Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B_RuntimeMethod_var);
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0);
ARSessionOrigin_remove_trackablesParentTransformChanged_mF790C29F00B85A00D500F3420855F4BF75DBA2A4((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0, (Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB *)L_1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Boolean UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::CanBeAddedToSubsystem(TTrackable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ARTrackableManager_4_CanBeAddedToSubsystem_mA6879FE95CC537345CD02B4620B0420B4B32795D_gshared (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E * __this, RuntimeObject * ___trackable0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_CanBeAddedToSubsystem_mA6879FE95CC537345CD02B4620B0420B4B32795D_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// if (trackable == null)
RuntimeObject * L_0 = ___trackable0;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_0, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0019;
}
}
{
// throw new ArgumentNullException(nameof(trackable));
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_2 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_2, (String_t*)_stringLiteral05E5EBD9D5908CC9215021F08ACFBC4B58571C5C, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, ARTrackableManager_4_CanBeAddedToSubsystem_mA6879FE95CC537345CD02B4620B0420B4B32795D_RuntimeMethod_var);
}
IL_0019:
{
// if (!trackable.trackableId.Equals(TrackableId.invalidId))
RuntimeObject * L_3 = ___trackable0;
NullCheck((ARTrackable_2_tFF59B3769C01557C3557231CD2A26810E2867CCD *)L_3);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_4 = (( TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 (*) (ARTrackable_2_tFF59B3769C01557C3557231CD2A26810E2867CCD *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)((ARTrackable_2_tFF59B3769C01557C3557231CD2A26810E2867CCD *)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
V_0 = (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_4;
IL2CPP_RUNTIME_CLASS_INIT(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47_il2cpp_TypeInfo_var);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_5 = TrackableId_get_invalidId_mBE9FA1EC8F2EC1575C1B31666EA928A3382DF1CD_inline(/*hidden argument*/NULL);
bool L_6 = TrackableId_Equals_mCE458E0FDCDD6E339FCC1926EE88EB7B3D45F943((TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 *)(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 *)(&V_0), (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_5, /*hidden argument*/NULL);
if (L_6)
{
goto IL_0035;
}
}
{
// return false;
return (bool)0;
}
IL_0035:
{
// if (m_Trackables.ContainsKey(trackable.trackableId))
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_7 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
RuntimeObject * L_8 = ___trackable0;
NullCheck((ARTrackable_2_tFF59B3769C01557C3557231CD2A26810E2867CCD *)L_8);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_9 = (( TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 (*) (ARTrackable_2_tFF59B3769C01557C3557231CD2A26810E2867CCD *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)((ARTrackable_2_tFF59B3769C01557C3557231CD2A26810E2867CCD *)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_7);
bool L_10 = (( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_7, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16));
if (!L_10)
{
goto IL_004f;
}
}
{
// return false;
return (bool)0;
}
IL_004f:
{
// if (!enabled || subsystem == null)
NullCheck((Behaviour_tBDC7E9C3C898AD8348891B82D3E345801D920CA8 *)__this);
bool L_11 = Behaviour_get_enabled_mAA0C9ED5A3D1589C1C8AA22636543528DB353CFB((Behaviour_tBDC7E9C3C898AD8348891B82D3E345801D920CA8 *)__this, /*hidden argument*/NULL);
if (!L_11)
{
goto IL_0064;
}
}
{
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
RuntimeObject * L_12 = (( RuntimeObject * (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
if (L_12)
{
goto IL_0072;
}
}
IL_0064:
{
// trackable.pending = true;
RuntimeObject * L_13 = ___trackable0;
NullCheck((ARTrackable_2_tFF59B3769C01557C3557231CD2A26810E2867CCD *)L_13);
(( void (*) (ARTrackable_2_tFF59B3769C01557C3557231CD2A26810E2867CCD *, bool, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((ARTrackable_2_tFF59B3769C01557C3557231CD2A26810E2867CCD *)L_13, (bool)1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
// return false;
return (bool)0;
}
IL_0072:
{
// return sessionOrigin && sessionOrigin.trackablesParent;
NullCheck((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_14 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_15 = Object_op_Implicit_m8B2A44B4B1406ED346D1AE6D962294FD58D0D534((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_14, /*hidden argument*/NULL);
if (!L_15)
{
goto IL_0090;
}
}
{
NullCheck((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_16 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_16);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_17 = ARSessionOrigin_get_trackablesParent_m37049D7E75CF694834A140C2EACB15D2D1098505_inline((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_16, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_18 = Object_op_Implicit_m8B2A44B4B1406ED346D1AE6D962294FD58D0D534((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_17, /*hidden argument*/NULL);
return L_18;
}
IL_0090:
{
return (bool)0;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::OnTrackablesParentTransformChanged(UnityEngine.XR.ARFoundation.ARTrackablesParentTransformChangedEventArgs)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnTrackablesParentTransformChanged_m0CD369321F60A987D9F631304984F070FA452916_gshared (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E * __this, ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 ___eventArgs0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_OnTrackablesParentTransformChanged_m0CD369321F60A987D9F631304984F070FA452916_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED V_0;
memset((&V_0), 0, sizeof(V_0));
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 V_1;
memset((&V_1), 0, sizeof(V_1));
RuntimeObject * V_2 = NULL;
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * V_3 = NULL;
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 V_4;
memset((&V_4), 0, sizeof(V_4));
{
// foreach (var trackable in trackables)
NullCheck((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this);
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 L_0 = (( TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 (*) (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 4)->methodPointer)((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 4));
V_1 = (TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 )L_0;
Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED L_1 = TrackableCollection_1_GetEnumerator_mBAA3D036F160A053757196D57318EC6B3F368D02((TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 *)(TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
V_0 = (Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED )L_1;
goto IL_0066;
}
IL_0011:
{
// foreach (var trackable in trackables)
RuntimeObject * L_2 = Enumerator_get_Current_m6D82C8CA15561A8D32BA77CB304C80AF57C4C77E((Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6));
V_2 = (RuntimeObject *)L_2;
// var transform = trackable.transform;
RuntimeObject * L_3 = V_2;
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_3);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_4 = Component_get_transform_m00F05BD782F920C301A7EBA480F3B7A904C07EC9((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_3, /*hidden argument*/NULL);
V_3 = (Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_4;
// if (transform.parent != eventArgs.trackablesParent)
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_5 = V_3;
NullCheck((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_5);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_6 = Transform_get_parent_m8FA24E38A1FA29D90CBF3CDC9F9F017C65BB3403((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_5, /*hidden argument*/NULL);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_7 = ARTrackablesParentTransformChangedEventArgs_get_trackablesParent_m124F9D34F6DA7E3FAB3E7CB9981820682219FE49_inline((ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 *)(ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 *)(&___eventArgs0), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_8 = Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_6, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_7, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_0066;
}
}
{
// var desiredPose = eventArgs.trackablesParent.TransformPose(trackable.sessionRelativePose);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_9 = ARTrackablesParentTransformChangedEventArgs_get_trackablesParent_m124F9D34F6DA7E3FAB3E7CB9981820682219FE49_inline((ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 *)(ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 *)(&___eventArgs0), /*hidden argument*/NULL);
RuntimeObject * L_10 = V_2;
NullCheck((ARTrackable_2_tFF59B3769C01557C3557231CD2A26810E2867CCD *)L_10);
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_11 = (( Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 (*) (ARTrackable_2_tFF59B3769C01557C3557231CD2A26810E2867CCD *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20)->methodPointer)((ARTrackable_2_tFF59B3769C01557C3557231CD2A26810E2867CCD *)L_10, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20));
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_12 = TransformExtensions_TransformPose_m677CE84C622BD23C3DDB2953DDB820E1934B0144((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_9, (Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 )L_11, /*hidden argument*/NULL);
V_4 = (Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 )L_12;
// transform.SetPositionAndRotation(desiredPose.position, desiredPose.rotation);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_13 = V_3;
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_14 = V_4;
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_15 = (Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 )L_14.get_position_0();
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_16 = V_4;
Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 L_17 = (Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 )L_16.get_rotation_1();
NullCheck((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_13);
Transform_SetPositionAndRotation_mDB9B34321018846FD7E2315CBE8D4A6612E3DE43((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_13, (Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 )L_15, (Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 )L_17, /*hidden argument*/NULL);
}
IL_0066:
{
// foreach (var trackable in trackables)
bool L_18 = Enumerator_MoveNext_mF64DBEA38614B8A6E085DFC09DD2745BE2ACB9BE((Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
if (L_18)
{
goto IL_0011;
}
}
{
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::Update()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_Update_mCAA957D4837B34BC150341165DAEDBBAD2AF33EB_gshared (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_Update_mCAA957D4837B34BC150341165DAEDBBAD2AF33EB_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 V_0;
memset((&V_0), 0, sizeof(V_0));
TrackableChanges_1_t67F5E50C0B7A063774AEC211C4C81BA7679876BB V_1;
memset((&V_1), 0, sizeof(V_1));
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 V_2;
memset((&V_2), 0, sizeof(V_2));
NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 V_3;
memset((&V_3), 0, sizeof(V_3));
Enumerator_t1B7E0D23EF4C33682EFE99D8F58153FDA8CB6ACD V_4;
memset((&V_4), 0, sizeof(V_4));
XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 V_5;
memset((&V_5), 0, sizeof(V_5));
XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 V_6;
memset((&V_6), 0, sizeof(V_6));
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 V_7;
memset((&V_7), 0, sizeof(V_7));
Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A V_8;
memset((&V_8), 0, sizeof(V_8));
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 V_9;
memset((&V_9), 0, sizeof(V_9));
RuntimeObject * V_10 = NULL;
Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD V_11;
memset((&V_11), 0, sizeof(V_11));
RuntimeObject * V_12 = 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) * 5);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
// if (subsystem == null || !subsystem.running)
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
RuntimeObject * L_0 = (( RuntimeObject * (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
if (!L_0)
{
goto IL_001f;
}
}
{
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
RuntimeObject * L_1 = (( RuntimeObject * (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
NullCheck((Subsystem_t17E4AEB5537DC8AECC37EC3F6FCB46CC7D2C73F6 *)L_1);
bool L_2 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.Subsystem::get_running() */, (Subsystem_t17E4AEB5537DC8AECC37EC3F6FCB46CC7D2C73F6 *)L_1);
if (L_2)
{
goto IL_0020;
}
}
IL_001f:
{
// return;
return;
}
IL_0020:
{
// using (new ScopedProfiler("GetChanges"))
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_0), (String_t*)_stringLiteralE68C28CA8FA3E38258B2081639EE5D1C7F58849B, /*hidden argument*/NULL);
}
IL_002c:
try
{ // begin try (depth: 1)
{
// using (var changes = subsystem.GetChanges(Allocator.Temp))
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
RuntimeObject * L_3 = (( RuntimeObject * (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
NullCheck((TrackingSubsystem_2_t1EC759A75AE7EFD4E4446A20009C8472E1C8AED1 *)L_3);
TrackableChanges_1_t67F5E50C0B7A063774AEC211C4C81BA7679876BB L_4 = VirtFuncInvoker1< TrackableChanges_1_t67F5E50C0B7A063774AEC211C4C81BA7679876BB , int32_t >::Invoke(14 /* UnityEngine.XR.ARSubsystems.TrackableChanges`1<!0> UnityEngine.XR.ARSubsystems.TrackingSubsystem`2<UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::GetChanges(Unity.Collections.Allocator) */, (TrackingSubsystem_2_t1EC759A75AE7EFD4E4446A20009C8472E1C8AED1 *)L_3, (int32_t)2);
V_1 = (TrackableChanges_1_t67F5E50C0B7A063774AEC211C4C81BA7679876BB )L_4;
}
IL_003e:
try
{ // begin try (depth: 2)
{
// using (new ScopedProfiler("ProcessAdded"))
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 L_5;
memset((&L_5), 0, sizeof(L_5));
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((&L_5), (String_t*)_stringLiteral8CC52613125F0E802A5E603C37A6CAE800639F62, /*hidden argument*/NULL);
V_2 = (ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 )L_5;
}
IL_0049:
try
{ // begin try (depth: 3)
{
// ClearAndSetCapacity(s_Added, changes.added.Length);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_6 = ((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Added_11();
NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 L_7 = TrackableChanges_1_get_added_mBB3A80E298216A6D8826422F62A11A1A4CB7CBD9_inline((TrackableChanges_1_t67F5E50C0B7A063774AEC211C4C81BA7679876BB *)(TrackableChanges_1_t67F5E50C0B7A063774AEC211C4C81BA7679876BB *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
V_3 = (NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 )L_7;
int32_t L_8 = IL2CPP_NATIVEARRAY_GET_LENGTH(((NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 *)(NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 *)(&V_3))->___m_Length_1);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_6, (int32_t)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24));
// foreach (var added in changes.added)
NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 L_9 = TrackableChanges_1_get_added_mBB3A80E298216A6D8826422F62A11A1A4CB7CBD9_inline((TrackableChanges_1_t67F5E50C0B7A063774AEC211C4C81BA7679876BB *)(TrackableChanges_1_t67F5E50C0B7A063774AEC211C4C81BA7679876BB *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
V_3 = (NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 )L_9;
Enumerator_t1B7E0D23EF4C33682EFE99D8F58153FDA8CB6ACD L_10 = NativeArray_1_GetEnumerator_m2C26DDBD2232F1DC6F216C47B66A5CCEC71C8292((NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 *)(NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 *)(&V_3), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
V_4 = (Enumerator_t1B7E0D23EF4C33682EFE99D8F58153FDA8CB6ACD )L_10;
}
IL_0073:
try
{ // begin try (depth: 4)
{
goto IL_0090;
}
IL_0075:
{
// foreach (var added in changes.added)
XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 L_11 = Enumerator_get_Current_mAAA11BD869C8818266133A03BEC94087AB76BB57((Enumerator_t1B7E0D23EF4C33682EFE99D8F58153FDA8CB6ACD *)(Enumerator_t1B7E0D23EF4C33682EFE99D8F58153FDA8CB6ACD *)(&V_4), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
V_5 = (XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 )L_11;
// s_Added.Add(CreateOrUpdateTrackable(added));
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_12 = ((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Added_11();
XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 L_13 = V_5;
NullCheck((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this);
RuntimeObject * L_14 = (( RuntimeObject * (*) (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *, XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this, (XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 )L_13, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_12);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_12, (RuntimeObject *)L_14, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_0090:
{
// foreach (var added in changes.added)
bool L_15 = Enumerator_MoveNext_mD818C7168685197B0033FF034038DE1441498637((Enumerator_t1B7E0D23EF4C33682EFE99D8F58153FDA8CB6ACD *)(Enumerator_t1B7E0D23EF4C33682EFE99D8F58153FDA8CB6ACD *)(&V_4), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29));
if (L_15)
{
goto IL_0075;
}
}
IL_0099:
{
IL2CPP_LEAVE(0xB7, FINALLY_009b);
}
} // end try (depth: 4)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_009b;
}
FINALLY_009b:
{ // begin finally (depth: 4)
Il2CppFakeBox<Enumerator_t1B7E0D23EF4C33682EFE99D8F58153FDA8CB6ACD > L_16(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 30), (&V_4));
const VirtualInvokeData& il2cpp_virtual_invoke_data__163 = il2cpp_codegen_get_interface_invoke_data(0, (&L_16), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__163.methodPtr)((RuntimeObject*)(&L_16), /*hidden argument*/il2cpp_virtual_invoke_data__163.method);
V_4 = L_16.m_Value;
IL2CPP_END_FINALLY(155)
} // end finally (depth: 4)
IL2CPP_CLEANUP(155)
{
IL2CPP_END_CLEANUP(0xB7, FINALLY_00a9);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 3)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00a9;
}
FINALLY_00a9:
{ // begin finally (depth: 3)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_2), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(169)
} // end finally (depth: 3)
IL2CPP_CLEANUP(169)
{
IL2CPP_JUMP_TBL(0xB7, IL_00b7)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00b7:
{
// using (new ScopedProfiler("ProcessUpdated"))
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 L_17;
memset((&L_17), 0, sizeof(L_17));
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((&L_17), (String_t*)_stringLiteralD84182942D9EE680B64113858F0F32DEDC108F25, /*hidden argument*/NULL);
V_2 = (ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 )L_17;
}
IL_00c2:
try
{ // begin try (depth: 3)
{
// ClearAndSetCapacity(s_Updated, changes.updated.Length);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_18 = ((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Updated_12();
NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 L_19 = TrackableChanges_1_get_updated_m80DB51775906B404AEE4C7454E7A517ECFD6A003_inline((TrackableChanges_1_t67F5E50C0B7A063774AEC211C4C81BA7679876BB *)(TrackableChanges_1_t67F5E50C0B7A063774AEC211C4C81BA7679876BB *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
V_3 = (NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 )L_19;
int32_t L_20 = IL2CPP_NATIVEARRAY_GET_LENGTH(((NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 *)(NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 *)(&V_3))->___m_Length_1);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_18, (int32_t)L_20, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24));
// foreach (var updated in changes.updated)
NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 L_21 = TrackableChanges_1_get_updated_m80DB51775906B404AEE4C7454E7A517ECFD6A003_inline((TrackableChanges_1_t67F5E50C0B7A063774AEC211C4C81BA7679876BB *)(TrackableChanges_1_t67F5E50C0B7A063774AEC211C4C81BA7679876BB *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
V_3 = (NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 )L_21;
Enumerator_t1B7E0D23EF4C33682EFE99D8F58153FDA8CB6ACD L_22 = NativeArray_1_GetEnumerator_m2C26DDBD2232F1DC6F216C47B66A5CCEC71C8292((NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 *)(NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 *)(&V_3), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
V_4 = (Enumerator_t1B7E0D23EF4C33682EFE99D8F58153FDA8CB6ACD )L_22;
}
IL_00ec:
try
{ // begin try (depth: 4)
{
goto IL_0109;
}
IL_00ee:
{
// foreach (var updated in changes.updated)
XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 L_23 = Enumerator_get_Current_mAAA11BD869C8818266133A03BEC94087AB76BB57((Enumerator_t1B7E0D23EF4C33682EFE99D8F58153FDA8CB6ACD *)(Enumerator_t1B7E0D23EF4C33682EFE99D8F58153FDA8CB6ACD *)(&V_4), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
V_6 = (XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 )L_23;
// s_Updated.Add(CreateOrUpdateTrackable(updated));
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_24 = ((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Updated_12();
XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 L_25 = V_6;
NullCheck((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this);
RuntimeObject * L_26 = (( RuntimeObject * (*) (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *, XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this, (XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 )L_25, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_24);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_24, (RuntimeObject *)L_26, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_0109:
{
// foreach (var updated in changes.updated)
bool L_27 = Enumerator_MoveNext_mD818C7168685197B0033FF034038DE1441498637((Enumerator_t1B7E0D23EF4C33682EFE99D8F58153FDA8CB6ACD *)(Enumerator_t1B7E0D23EF4C33682EFE99D8F58153FDA8CB6ACD *)(&V_4), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29));
if (L_27)
{
goto IL_00ee;
}
}
IL_0112:
{
IL2CPP_LEAVE(0x130, FINALLY_0114);
}
} // end try (depth: 4)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0114;
}
FINALLY_0114:
{ // begin finally (depth: 4)
Il2CppFakeBox<Enumerator_t1B7E0D23EF4C33682EFE99D8F58153FDA8CB6ACD > L_28(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 30), (&V_4));
const VirtualInvokeData& il2cpp_virtual_invoke_data__284 = il2cpp_codegen_get_interface_invoke_data(0, (&L_28), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__284.methodPtr)((RuntimeObject*)(&L_28), /*hidden argument*/il2cpp_virtual_invoke_data__284.method);
V_4 = L_28.m_Value;
IL2CPP_END_FINALLY(276)
} // end finally (depth: 4)
IL2CPP_CLEANUP(276)
{
IL2CPP_END_CLEANUP(0x130, FINALLY_0122);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 3)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0122;
}
FINALLY_0122:
{ // begin finally (depth: 3)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_2), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(290)
} // end finally (depth: 3)
IL2CPP_CLEANUP(290)
{
IL2CPP_JUMP_TBL(0x130, IL_0130)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0130:
{
// using (new ScopedProfiler("ProcessRemoved"))
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 L_29;
memset((&L_29), 0, sizeof(L_29));
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((&L_29), (String_t*)_stringLiteralC0371E7E1DB9F795AC51193C554BD9BEF51AD664, /*hidden argument*/NULL);
V_2 = (ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 )L_29;
}
IL_013b:
try
{ // begin try (depth: 3)
{
// ClearAndSetCapacity(s_Removed, changes.removed.Length);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_30 = ((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 L_31 = TrackableChanges_1_get_removed_mC49E91CAF67469CDD76DBCF18D1423DC3971AF99_inline((TrackableChanges_1_t67F5E50C0B7A063774AEC211C4C81BA7679876BB *)(TrackableChanges_1_t67F5E50C0B7A063774AEC211C4C81BA7679876BB *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
V_7 = (NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 )L_31;
int32_t L_32 = IL2CPP_NATIVEARRAY_GET_LENGTH(((NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 *)(NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 *)(&V_7))->___m_Length_1);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_30, (int32_t)L_32, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24));
// foreach (var trackableId in changes.removed)
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 L_33 = TrackableChanges_1_get_removed_mC49E91CAF67469CDD76DBCF18D1423DC3971AF99_inline((TrackableChanges_1_t67F5E50C0B7A063774AEC211C4C81BA7679876BB *)(TrackableChanges_1_t67F5E50C0B7A063774AEC211C4C81BA7679876BB *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
V_7 = (NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 )L_33;
Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A L_34 = NativeArray_1_GetEnumerator_m3B6CA1981A8CE62A1C67FCEEBE1887CD32906DA2((NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 *)(NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 *)(&V_7), /*hidden argument*/NativeArray_1_GetEnumerator_m3B6CA1981A8CE62A1C67FCEEBE1887CD32906DA2_RuntimeMethod_var);
V_8 = (Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A )L_34;
}
IL_0167:
try
{ // begin try (depth: 4)
{
goto IL_01ab;
}
IL_0169:
{
// foreach (var trackableId in changes.removed)
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_35 = Enumerator_get_Current_m913D10AD892E19937C638773D208459E9862248D((Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A *)(Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A *)(&V_8), /*hidden argument*/Enumerator_get_Current_m913D10AD892E19937C638773D208459E9862248D_RuntimeMethod_var);
V_9 = (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_35;
// if (m_Trackables.TryGetValue(trackableId, out var trackable))
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_36 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_37 = V_9;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_36);
bool L_38 = (( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject **, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_36, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_37, (RuntimeObject **)(RuntimeObject **)(&V_10), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
if (!L_38)
{
goto IL_01ab;
}
}
IL_0183:
{
// m_Trackables.Remove(trackableId);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_39 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_40 = V_9;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_39);
(( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_39, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_40, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
// if (trackable)
RuntimeObject * L_41 = V_10;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_42 = Object_op_Implicit_m8B2A44B4B1406ED346D1AE6D962294FD58D0D534((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_41, /*hidden argument*/NULL);
if (!L_42)
{
goto IL_01ab;
}
}
IL_019f:
{
// s_Removed.Add(trackable);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_43 = ((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
RuntimeObject * L_44 = V_10;
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_43);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_43, (RuntimeObject *)L_44, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_01ab:
{
// foreach (var trackableId in changes.removed)
bool L_45 = Enumerator_MoveNext_m3C4C0B0B1AE71E65EF8255E6FC671DDBC829B6AA((Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A *)(Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A *)(&V_8), /*hidden argument*/Enumerator_MoveNext_m3C4C0B0B1AE71E65EF8255E6FC671DDBC829B6AA_RuntimeMethod_var);
if (L_45)
{
goto IL_0169;
}
}
IL_01b4:
{
IL2CPP_LEAVE(0x1EE, FINALLY_01b6);
}
} // end try (depth: 4)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01b6;
}
FINALLY_01b6:
{ // begin finally (depth: 4)
Il2CppFakeBox<Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A > L_46(Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A_il2cpp_TypeInfo_var, (&V_8));
const VirtualInvokeData& il2cpp_virtual_invoke_data__446 = il2cpp_codegen_get_interface_invoke_data(0, (&L_46), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__446.methodPtr)((RuntimeObject*)(&L_46), /*hidden argument*/il2cpp_virtual_invoke_data__446.method);
V_8 = L_46.m_Value;
IL2CPP_END_FINALLY(438)
} // end finally (depth: 4)
IL2CPP_CLEANUP(438)
{
IL2CPP_END_CLEANUP(0x1EE, FINALLY_01c4);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 3)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01c4;
}
FINALLY_01c4:
{ // begin finally (depth: 3)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_2), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(452)
} // end finally (depth: 3)
IL2CPP_CLEANUP(452)
{
IL2CPP_END_CLEANUP(0x1EE, FINALLY_01d2);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01d2;
}
FINALLY_01d2:
{ // begin finally (depth: 2)
Il2CppFakeBox<TrackableChanges_1_t67F5E50C0B7A063774AEC211C4C81BA7679876BB > L_47(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 35), (&V_1));
const VirtualInvokeData& il2cpp_virtual_invoke_data__474 = il2cpp_codegen_get_interface_invoke_data(0, (&L_47), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__474.methodPtr)((RuntimeObject*)(&L_47), /*hidden argument*/il2cpp_virtual_invoke_data__474.method);
V_1 = L_47.m_Value;
IL2CPP_END_FINALLY(466)
} // end finally (depth: 2)
IL2CPP_CLEANUP(466)
{
IL2CPP_END_CLEANUP(0x1EE, FINALLY_01e0);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01e0;
}
FINALLY_01e0:
{ // begin finally (depth: 1)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_0), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(480)
} // end finally (depth: 1)
IL2CPP_CLEANUP(480)
{
IL2CPP_JUMP_TBL(0x1EE, IL_01ee)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_01ee:
{
}
IL_01ef:
try
{ // begin try (depth: 1)
{
// if ((s_Added.Count) > 0 ||
// (s_Updated.Count) > 0 ||
// (s_Removed.Count) > 0)
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_48 = ((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Added_11();
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_48);
int32_t L_49 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_48, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36));
if ((((int32_t)L_49) > ((int32_t)0)))
{
goto IL_0216;
}
}
IL_01fc:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_50 = ((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Updated_12();
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_50);
int32_t L_51 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_50, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36));
if ((((int32_t)L_51) > ((int32_t)0)))
{
goto IL_0216;
}
}
IL_0209:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_52 = ((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_52);
int32_t L_53 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_52, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36));
if ((((int32_t)L_53) <= ((int32_t)0)))
{
goto IL_022b;
}
}
IL_0216:
{
// OnTrackablesChanged(s_Added, s_Updated, s_Removed);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_54 = ((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Added_11();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_55 = ((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Updated_12();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_56 = ((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
NullCheck((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this);
VirtActionInvoker3< List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * >::Invoke(13 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::OnTrackablesChanged(System.Collections.Generic.List`1<TTrackable>,System.Collections.Generic.List`1<TTrackable>,System.Collections.Generic.List`1<TTrackable>) */, (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this, (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_54, (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_55, (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_56);
}
IL_022b:
{
// }
IL2CPP_LEAVE(0x266, FINALLY_022d);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_022d;
}
FINALLY_022d:
{ // begin finally (depth: 1)
{
// foreach (var removed in s_Removed)
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_57 = ((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_57);
Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD L_58 = (( Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_57, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38));
V_11 = (Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD )L_58;
}
IL_0239:
try
{ // begin try (depth: 2)
{
goto IL_024c;
}
IL_023b:
{
// foreach (var removed in s_Removed)
RuntimeObject * L_59 = Enumerator_get_Current_mD7829C7E8CFBEDD463B15A951CDE9B90A12CC55C_inline((Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD *)(Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD *)(&V_11), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 39));
V_12 = (RuntimeObject *)L_59;
// DestroyTrackable(removed);
RuntimeObject * L_60 = V_12;
NullCheck((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this);
(( void (*) (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40)->methodPointer)((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this, (RuntimeObject *)L_60, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40));
}
IL_024c:
{
// foreach (var removed in s_Removed)
bool L_61 = Enumerator_MoveNext_m38B1099DDAD7EEDE2F4CDAB11C095AC784AC2E34((Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD *)(Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD *)(&V_11), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 41));
if (L_61)
{
goto IL_023b;
}
}
IL_0255:
{
IL2CPP_LEAVE(0x265, FINALLY_0257);
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0257;
}
FINALLY_0257:
{ // begin finally (depth: 2)
Il2CppFakeBox<Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD > L_62(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 42), (&V_11));
const VirtualInvokeData& il2cpp_virtual_invoke_data__607 = il2cpp_codegen_get_interface_invoke_data(0, (&L_62), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__607.methodPtr)((RuntimeObject*)(&L_62), /*hidden argument*/il2cpp_virtual_invoke_data__607.method);
V_11 = L_62.m_Value;
IL2CPP_END_FINALLY(599)
} // end finally (depth: 2)
IL2CPP_CLEANUP(599)
{
IL2CPP_JUMP_TBL(0x265, IL_0265)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0265:
{
// }
IL2CPP_END_FINALLY(557)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(557)
{
IL2CPP_JUMP_TBL(0x266, IL_0266)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0266:
{
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::OnTrackablesChanged(System.Collections.Generic.List`1<TTrackable>,System.Collections.Generic.List`1<TTrackable>,System.Collections.Generic.List`1<TTrackable>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnTrackablesChanged_m34033A9D69C3705FDF08CFA840279230CF33161E_gshared (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E * __this, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___added0, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___updated1, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___removed2, const RuntimeMethod* method)
{
{
// { }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::OnCreateTrackable(TTrackable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnCreateTrackable_m3002ED4DB1FE73EEE114CEC27C621E8D052DC2B6_gshared (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E * __this, RuntimeObject * ___trackable0, const RuntimeMethod* method)
{
{
// { }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::OnAfterSetSessionRelativeData(TTrackable,TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnAfterSetSessionRelativeData_m38E25115F46983A9A0D31957B64C46C1F5DF73D7_gshared (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E * __this, RuntimeObject * ___trackable0, XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 ___sessionRelativeData1, const RuntimeMethod* method)
{
{
// { }
return;
}
}
// TTrackable UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::CreateTrackableImmediate(TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * ARTrackableManager_4_CreateTrackableImmediate_mCA36D9E90162DEF068DFB7D88477A2E759B54667_gshared (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E * __this, XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 ___sessionRelativeData0, const RuntimeMethod* method)
{
RuntimeObject * V_0 = NULL;
{
// var trackable = CreateOrUpdateTrackable(sessionRelativeData);
XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 L_0 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this);
RuntimeObject * L_1 = (( RuntimeObject * (*) (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *, XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this, (XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
V_0 = (RuntimeObject *)L_1;
// trackable.pending = true;
RuntimeObject * L_2 = V_0;
NullCheck((ARTrackable_2_tFF59B3769C01557C3557231CD2A26810E2867CCD *)L_2);
(( void (*) (ARTrackable_2_tFF59B3769C01557C3557231CD2A26810E2867CCD *, bool, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((ARTrackable_2_tFF59B3769C01557C3557231CD2A26810E2867CCD *)L_2, (bool)1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
// m_PendingAdds.Add(trackable.trackableId, trackable);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_3 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
RuntimeObject * L_4 = V_0;
NullCheck((ARTrackable_2_tFF59B3769C01557C3557231CD2A26810E2867CCD *)L_4);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_5 = (( TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 (*) (ARTrackable_2_tFF59B3769C01557C3557231CD2A26810E2867CCD *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)((ARTrackable_2_tFF59B3769C01557C3557231CD2A26810E2867CCD *)L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
RuntimeObject * L_6 = V_0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_3);
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_3, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_5, (RuntimeObject *)L_6, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43));
// return trackable;
RuntimeObject * L_7 = V_0;
return L_7;
}
}
// System.Boolean UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::DestroyPendingTrackable(UnityEngine.XR.ARSubsystems.TrackableId)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ARTrackableManager_4_DestroyPendingTrackable_mB88D4ABB39893E76847DDE6CDEA885F977C554DB_gshared (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E * __this, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___trackableId0, const RuntimeMethod* method)
{
RuntimeObject * V_0 = NULL;
{
// if (m_PendingAdds.TryGetValue(trackableId, out var trackable))
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_0 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_1 = ___trackableId0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_0);
bool L_2 = (( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject **, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_0, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_1, (RuntimeObject **)(RuntimeObject **)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
if (!L_2)
{
goto IL_0033;
}
}
{
// m_PendingAdds.Remove(trackableId);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_3 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_4 = ___trackableId0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_3);
(( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_3, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
// m_Trackables.Remove(trackableId);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_5 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_6 = ___trackableId0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_5);
(( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_5, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_6, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
// DestroyTrackable(trackable);
RuntimeObject * L_7 = V_0;
NullCheck((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this);
(( void (*) (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40)->methodPointer)((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this, (RuntimeObject *)L_7, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40));
// return true;
return (bool)1;
}
IL_0033:
{
// return false;
return (bool)0;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::ClearAndSetCapacity(System.Collections.Generic.List`1<TTrackable>,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_ClearAndSetCapacity_mC67D963FB26EFC585804556D424D414F0F149AE7_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___list0, int32_t ___capacity1, const RuntimeMethod* method)
{
{
// list.Clear();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_0 = ___list0;
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_0);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 44)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 44));
// if (list.Capacity < capacity)
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_1 = ___list0;
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_1);
int32_t L_2 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 45)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 45));
int32_t L_3 = ___capacity1;
if ((((int32_t)L_2) >= ((int32_t)L_3)))
{
goto IL_0016;
}
}
{
// list.Capacity = capacity;
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_4 = ___list0;
int32_t L_5 = ___capacity1;
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_4);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 46)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_4, (int32_t)L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 46));
}
IL_0016:
{
// }
return;
}
}
// System.String UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::GetTrackableName(UnityEngine.XR.ARSubsystems.TrackableId)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* ARTrackableManager_4_GetTrackableName_m80A43841E26C94988E274207DD5A22031B949BD2_gshared (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E * __this, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___trackableId0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_GetTrackableName_m80A43841E26C94988E274207DD5A22031B949BD2_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// return gameObjectName + " " + trackableId.ToString();
NullCheck((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this);
String_t* L_0 = VirtFuncInvoker0< String_t* >::Invoke(9 /* System.String UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::get_gameObjectName() */, (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this);
String_t* L_1 = TrackableId_ToString_mBA49191865E57697F4279D2781B182590726A215((TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 *)(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 *)(&___trackableId0), /*hidden argument*/NULL);
String_t* L_2 = String_Concat_mF4626905368D6558695A823466A1AF65EADB9923((String_t*)L_0, (String_t*)_stringLiteralB858CB282617FB0956D960215C8E84D1CCF909C6, (String_t*)L_1, /*hidden argument*/NULL);
return L_2;
}
}
// System.ValueTuple`2<UnityEngine.GameObject,System.Boolean> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::CreateGameObjectDeactivated()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 ARTrackableManager_4_CreateGameObjectDeactivated_m3D7971615FAFB34BE5A5AF093275E19E3CE12051_gshared (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_CreateGameObjectDeactivated_m3D7971615FAFB34BE5A5AF093275E19E3CE12051_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * V_0 = NULL;
bool V_1 = false;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * V_2 = NULL;
{
// var prefab = GetPrefab();
NullCheck((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_0 = VirtFuncInvoker0< GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * >::Invoke(10 /* UnityEngine.GameObject UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::GetPrefab() */, (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this);
V_0 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_0;
// if (prefab == null)
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_1 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_1, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0039;
}
}
{
// var gameObject = new GameObject();
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_3 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)il2cpp_codegen_object_new(GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F_il2cpp_TypeInfo_var);
GameObject__ctor_mA4DFA8F4471418C248E95B55070665EF344B4B2D(L_3, /*hidden argument*/NULL);
// gameObject.SetActive(false);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_4 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_3;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_4);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_4, (bool)0, /*hidden argument*/NULL);
// gameObject.transform.parent = sessionOrigin.trackablesParent;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_5 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_4;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_6 = GameObject_get_transform_mA5C38857137F137CB96C69FAA624199EB1C2FB2C((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5, /*hidden argument*/NULL);
NullCheck((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_7 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_7);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_8 = ARSessionOrigin_get_trackablesParent_m37049D7E75CF694834A140C2EACB15D2D1098505_inline((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_7, /*hidden argument*/NULL);
NullCheck((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_6);
Transform_set_parent_m65B8E4660B2C554069C57A957D9E55FECA7AA73E((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_6, (Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_8, /*hidden argument*/NULL);
// return (gameObject, true);
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_9;
memset((&L_9), 0, sizeof(L_9));
ValueTuple_2__ctor_m73A57D85868E9347B9DCD08AB9585E9B191478F7((&L_9), (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5, (bool)1, /*hidden argument*/ValueTuple_2__ctor_m73A57D85868E9347B9DCD08AB9585E9B191478F7_RuntimeMethod_var);
return L_9;
}
IL_0039:
{
// var active = prefab.activeSelf;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_10 = V_0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_10);
bool L_11 = GameObject_get_activeSelf_mFE1834886CAE59884AC2BE707A3B821A1DB61F44((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_10, /*hidden argument*/NULL);
V_1 = (bool)L_11;
// prefab.SetActive(false);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_12 = V_0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_12);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_12, (bool)0, /*hidden argument*/NULL);
// var gameObject = Instantiate(prefab, sessionOrigin.trackablesParent);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_13 = V_0;
NullCheck((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_14 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_14);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_15 = ARSessionOrigin_get_trackablesParent_m37049D7E75CF694834A140C2EACB15D2D1098505_inline((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_14, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_16 = Object_Instantiate_TisGameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F_m1CDF66D563B03D37B37264800222D4F3B307EDA0((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_13, (Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_15, /*hidden argument*/Object_Instantiate_TisGameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F_m1CDF66D563B03D37B37264800222D4F3B307EDA0_RuntimeMethod_var);
V_2 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_16;
// prefab.SetActive(active);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_17 = V_0;
bool L_18 = V_1;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_17);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_17, (bool)L_18, /*hidden argument*/NULL);
// return (gameObject, active);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_19 = V_2;
bool L_20 = V_1;
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_21;
memset((&L_21), 0, sizeof(L_21));
ValueTuple_2__ctor_m73A57D85868E9347B9DCD08AB9585E9B191478F7((&L_21), (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_19, (bool)L_20, /*hidden argument*/ValueTuple_2__ctor_m73A57D85868E9347B9DCD08AB9585E9B191478F7_RuntimeMethod_var);
return L_21;
}
}
// System.ValueTuple`2<UnityEngine.GameObject,System.Boolean> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::CreateGameObjectDeactivated(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 ARTrackableManager_4_CreateGameObjectDeactivated_m2040E561CC151ED3A6EC37EB18777693CA1C8F3F_gshared (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E * __this, String_t* ___name0, const RuntimeMethod* method)
{
{
// var tuple = CreateGameObjectDeactivated();
NullCheck((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this);
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_0 = (( ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 (*) (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 49)->methodPointer)((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 49));
// tuple.gameObject.name = name;
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_1 = (ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 )L_0;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_2 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_1.get_Item1_0();
String_t* L_3 = ___name0;
NullCheck((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_2);
Object_set_name_m538711B144CDE30F929376BCF72D0DC8F85D0826((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_2, (String_t*)L_3, /*hidden argument*/NULL);
// return tuple;
return L_1;
}
}
// System.ValueTuple`2<UnityEngine.GameObject,System.Boolean> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::CreateGameObjectDeactivated(UnityEngine.XR.ARSubsystems.TrackableId)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 ARTrackableManager_4_CreateGameObjectDeactivated_m9D48CD133EB3586E94B07E7203CDBE94A10C4033_gshared (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E * __this, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___trackableId0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_CreateGameObjectDeactivated_m9D48CD133EB3586E94B07E7203CDBE94A10C4033_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 V_0;
memset((&V_0), 0, sizeof(V_0));
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 V_1;
memset((&V_1), 0, sizeof(V_1));
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);
{
// using (new ScopedProfiler("CreateGameObject"))
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_0), (String_t*)_stringLiteralA1BA014E93BB1085A758A3F66948C9CAC874B9BD, /*hidden argument*/NULL);
}
IL_000c:
try
{ // begin try (depth: 1)
// return CreateGameObjectDeactivated(GetTrackableName(trackableId));
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = ___trackableId0;
NullCheck((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this);
String_t* L_1 = (( String_t* (*) (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 50)->methodPointer)((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 50));
NullCheck((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this);
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_2 = (( ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 (*) (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *, String_t*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 51)->methodPointer)((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this, (String_t*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 51));
V_1 = (ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 )L_2;
IL2CPP_LEAVE(0x2A, FINALLY_001c);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_001c;
}
FINALLY_001c:
{ // begin finally (depth: 1)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_0), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(28)
} // end finally (depth: 1)
IL2CPP_CLEANUP(28)
{
IL2CPP_JUMP_TBL(0x2A, IL_002a)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_002a:
{
// }
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_3 = V_1;
return L_3;
}
}
// TTrackable UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::CreateTrackable(TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * ARTrackableManager_4_CreateTrackable_m1B9439A8DEDE9BD7CEE336868C26FDADD0291FB1_gshared (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E * __this, XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 ___sessionRelativeData0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_CreateTrackable_m1B9439A8DEDE9BD7CEE336868C26FDADD0291FB1_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * V_0 = NULL;
bool V_1 = false;
RuntimeObject * V_2 = NULL;
{
// var (gameObject, shouldBeActive) = CreateGameObjectDeactivated(sessionRelativeData.trackableId);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = XRPointCloud_get_trackableId_mA394197EAD026665FC02A1118CBBB46FF6873EF1_inline((XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 *)(XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 *)(&___sessionRelativeData0), /*hidden argument*/NULL);
NullCheck((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this);
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_1 = (( ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 (*) (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 53)->methodPointer)((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 53));
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_2 = (ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 )L_1;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_3 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_2.get_Item1_0();
V_0 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_3;
bool L_4 = (bool)L_2.get_Item2_1();
V_1 = (bool)L_4;
// var trackable = gameObject.GetComponent<TTrackable>();
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_5 = V_0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5);
RuntimeObject * L_6 = (( RuntimeObject * (*) (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 54)->methodPointer)((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 54));
V_2 = (RuntimeObject *)L_6;
// if (trackable == null)
RuntimeObject * L_7 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_8 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_7, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_003c;
}
}
{
// trackable = gameObject.AddComponent<TTrackable>();
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_9 = V_0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_9);
RuntimeObject * L_10 = (( RuntimeObject * (*) (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 55)->methodPointer)((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 55));
V_2 = (RuntimeObject *)L_10;
}
IL_003c:
{
// m_Trackables.Add(sessionRelativeData.trackableId, trackable);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_11 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_12 = XRPointCloud_get_trackableId_mA394197EAD026665FC02A1118CBBB46FF6873EF1_inline((XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 *)(XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 *)(&___sessionRelativeData0), /*hidden argument*/NULL);
RuntimeObject * L_13 = V_2;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_11);
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_11, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_12, (RuntimeObject *)L_13, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43));
// SetSessionRelativeData(trackable, sessionRelativeData);
RuntimeObject * L_14 = V_2;
XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 L_15 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this);
(( void (*) (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *, RuntimeObject *, XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56)->methodPointer)((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this, (RuntimeObject *)L_14, (XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 )L_15, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56));
// trackable.gameObject.SetActive(shouldBeActive);
RuntimeObject * L_16 = V_2;
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_16);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_17 = Component_get_gameObject_m0B0570BA8DDD3CD78A9DB568EA18D7317686603C((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_16, /*hidden argument*/NULL);
bool L_18 = V_1;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_17);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_17, (bool)L_18, /*hidden argument*/NULL);
// return trackable;
RuntimeObject * L_19 = V_2;
return L_19;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::SetSessionRelativeData(TTrackable,TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_SetSessionRelativeData_mB39503A1B32E9EDA8FA6FDC4EC5577E430DE6198_gshared (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E * __this, RuntimeObject * ___trackable0, XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 ___data1, const RuntimeMethod* method)
{
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// trackable.SetSessionRelativeData(data);
RuntimeObject * L_0 = ___trackable0;
XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 L_1 = ___data1;
NullCheck((ARTrackable_2_tFF59B3769C01557C3557231CD2A26810E2867CCD *)L_0);
(( void (*) (ARTrackable_2_tFF59B3769C01557C3557231CD2A26810E2867CCD *, XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 57)->methodPointer)((ARTrackable_2_tFF59B3769C01557C3557231CD2A26810E2867CCD *)L_0, (XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 )L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 57));
// var worldSpacePose = sessionOrigin.trackablesParent.TransformPose(data.pose);
NullCheck((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_2 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_2);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_3 = ARSessionOrigin_get_trackablesParent_m37049D7E75CF694834A140C2EACB15D2D1098505_inline((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_2, /*hidden argument*/NULL);
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_4 = XRPointCloud_get_pose_m09C2DF1AD7F1220B547BD2EBCCA6E35F85A87EB0_inline((XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 *)(XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 *)(&___data1), /*hidden argument*/NULL);
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_5 = TransformExtensions_TransformPose_m677CE84C622BD23C3DDB2953DDB820E1934B0144((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_3, (Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 )L_4, /*hidden argument*/NULL);
V_0 = (Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 )L_5;
// trackable.transform.SetPositionAndRotation(worldSpacePose.position, worldSpacePose.rotation);
RuntimeObject * L_6 = ___trackable0;
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_6);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_7 = Component_get_transform_m00F05BD782F920C301A7EBA480F3B7A904C07EC9((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_6, /*hidden argument*/NULL);
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_8 = V_0;
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_9 = (Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 )L_8.get_position_0();
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_10 = V_0;
Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 L_11 = (Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 )L_10.get_rotation_1();
NullCheck((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_7);
Transform_SetPositionAndRotation_mDB9B34321018846FD7E2315CBE8D4A6612E3DE43((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_7, (Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 )L_9, (Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 )L_11, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::CreateTrackableFromExisting(TTrackable,TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_CreateTrackableFromExisting_mF1D1CCF3B7F5ADCBD0363124C6CF1A15F6229B88_gshared (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E * __this, RuntimeObject * ___existingTrackable0, XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 ___sessionRelativeData1, const RuntimeMethod* method)
{
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// var trackableId = sessionRelativeData.trackableId;
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = XRPointCloud_get_trackableId_mA394197EAD026665FC02A1118CBBB46FF6873EF1_inline((XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 *)(XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 *)(&___sessionRelativeData1), /*hidden argument*/NULL);
V_0 = (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_0;
// m_Trackables.Add(trackableId, existingTrackable);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_1 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_2 = V_0;
RuntimeObject * L_3 = ___existingTrackable0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_1);
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_1, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_2, (RuntimeObject *)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43));
// SetSessionRelativeData(existingTrackable, sessionRelativeData);
RuntimeObject * L_4 = ___existingTrackable0;
XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 L_5 = ___sessionRelativeData1;
NullCheck((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this);
(( void (*) (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *, RuntimeObject *, XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56)->methodPointer)((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this, (RuntimeObject *)L_4, (XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 )L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56));
// OnCreateTrackable(existingTrackable);
RuntimeObject * L_6 = ___existingTrackable0;
NullCheck((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this);
VirtActionInvoker1< RuntimeObject * >::Invoke(14 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::OnCreateTrackable(TTrackable) */, (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this, (RuntimeObject *)L_6);
// OnAfterSetSessionRelativeData(existingTrackable, sessionRelativeData);
RuntimeObject * L_7 = ___existingTrackable0;
XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 L_8 = ___sessionRelativeData1;
NullCheck((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this);
VirtActionInvoker2< RuntimeObject *, XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 >::Invoke(15 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::OnAfterSetSessionRelativeData(TTrackable,TSessionRelativeData) */, (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this, (RuntimeObject *)L_7, (XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 )L_8);
// existingTrackable.OnAfterSetSessionRelativeData();
RuntimeObject * L_9 = ___existingTrackable0;
NullCheck((ARTrackable_2_tFF59B3769C01557C3557231CD2A26810E2867CCD *)L_9);
VirtActionInvoker0::Invoke(4 /* System.Void UnityEngine.XR.ARFoundation.ARTrackable`2<UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::OnAfterSetSessionRelativeData() */, (ARTrackable_2_tFF59B3769C01557C3557231CD2A26810E2867CCD *)L_9);
// m_PendingAdds.Add(trackableId, existingTrackable);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_10 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_11 = V_0;
RuntimeObject * L_12 = ___existingTrackable0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_10);
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_10, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_11, (RuntimeObject *)L_12, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43));
// existingTrackable.pending = true;
RuntimeObject * L_13 = ___existingTrackable0;
NullCheck((ARTrackable_2_tFF59B3769C01557C3557231CD2A26810E2867CCD *)L_13);
(( void (*) (ARTrackable_2_tFF59B3769C01557C3557231CD2A26810E2867CCD *, bool, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((ARTrackable_2_tFF59B3769C01557C3557231CD2A26810E2867CCD *)L_13, (bool)1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
// }
return;
}
}
// TTrackable UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::CreateOrUpdateTrackable(TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * ARTrackableManager_4_CreateOrUpdateTrackable_m4BBD5964487FF41BF86C544D43BD32BD50F502D5_gshared (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E * __this, XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 ___sessionRelativeData0, const RuntimeMethod* method)
{
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 V_0;
memset((&V_0), 0, sizeof(V_0));
RuntimeObject * V_1 = NULL;
{
// var trackableId = sessionRelativeData.trackableId;
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = XRPointCloud_get_trackableId_mA394197EAD026665FC02A1118CBBB46FF6873EF1_inline((XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 *)(XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 *)(&___sessionRelativeData0), /*hidden argument*/NULL);
V_0 = (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_0;
// if (m_Trackables.TryGetValue(trackableId, out var trackable))
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_1 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_2 = V_0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_1);
bool L_3 = (( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject **, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_1, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_2, (RuntimeObject **)(RuntimeObject **)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
if (!L_3)
{
goto IL_0041;
}
}
{
// m_PendingAdds.Remove(trackableId);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_4 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_5 = V_0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_4);
(( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_4, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
// trackable.pending = false;
RuntimeObject * L_6 = V_1;
NullCheck((ARTrackable_2_tFF59B3769C01557C3557231CD2A26810E2867CCD *)L_6);
(( void (*) (ARTrackable_2_tFF59B3769C01557C3557231CD2A26810E2867CCD *, bool, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((ARTrackable_2_tFF59B3769C01557C3557231CD2A26810E2867CCD *)L_6, (bool)0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
// SetSessionRelativeData(trackable, sessionRelativeData);
RuntimeObject * L_7 = V_1;
XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 L_8 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this);
(( void (*) (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *, RuntimeObject *, XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56)->methodPointer)((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this, (RuntimeObject *)L_7, (XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 )L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56));
// }
goto IL_0050;
}
IL_0041:
{
// trackable = CreateTrackable(sessionRelativeData);
XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 L_9 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this);
RuntimeObject * L_10 = (( RuntimeObject * (*) (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *, XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 61)->methodPointer)((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this, (XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 )L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 61));
V_1 = (RuntimeObject *)L_10;
// OnCreateTrackable(trackable);
RuntimeObject * L_11 = V_1;
NullCheck((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this);
VirtActionInvoker1< RuntimeObject * >::Invoke(14 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::OnCreateTrackable(TTrackable) */, (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this, (RuntimeObject *)L_11);
}
IL_0050:
{
// OnAfterSetSessionRelativeData(trackable, sessionRelativeData);
RuntimeObject * L_12 = V_1;
XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 L_13 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this);
VirtActionInvoker2< RuntimeObject *, XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 >::Invoke(15 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::OnAfterSetSessionRelativeData(TTrackable,TSessionRelativeData) */, (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E *)__this, (RuntimeObject *)L_12, (XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 )L_13);
// trackable.OnAfterSetSessionRelativeData();
RuntimeObject * L_14 = V_1;
NullCheck((ARTrackable_2_tFF59B3769C01557C3557231CD2A26810E2867CCD *)L_14);
VirtActionInvoker0::Invoke(4 /* System.Void UnityEngine.XR.ARFoundation.ARTrackable`2<UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::OnAfterSetSessionRelativeData() */, (ARTrackable_2_tFF59B3769C01557C3557231CD2A26810E2867CCD *)L_14);
// return trackable;
RuntimeObject * L_15 = V_1;
return L_15;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::DestroyTrackable(TTrackable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_DestroyTrackable_m5C77DDD122C825943130C2C446F6544082A075F0_gshared (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E * __this, RuntimeObject * ___trackable0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_DestroyTrackable_m5C77DDD122C825943130C2C446F6544082A075F0_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (trackable.destroyOnRemoval)
RuntimeObject * L_0 = ___trackable0;
NullCheck((ARTrackable_2_tFF59B3769C01557C3557231CD2A26810E2867CCD *)L_0);
bool L_1 = (( bool (*) (ARTrackable_2_tFF59B3769C01557C3557231CD2A26810E2867CCD *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 62)->methodPointer)((ARTrackable_2_tFF59B3769C01557C3557231CD2A26810E2867CCD *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 62));
if (!L_1)
{
goto IL_001d;
}
}
{
// Destroy(trackable.gameObject);
RuntimeObject * L_2 = ___trackable0;
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_2);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_3 = Component_get_gameObject_m0B0570BA8DDD3CD78A9DB568EA18D7317686603C((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_2, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
Object_Destroy_m23B4562495BA35A74266D4372D45368F8C05109A((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_3, /*hidden argument*/NULL);
}
IL_001d:
{
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4__ctor_m8614FAC9615C64E6CCB0A0C83C9567D69DB04794_gshared (ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E * __this, const RuntimeMethod* method)
{
{
// protected Dictionary<TrackableId, TTrackable> m_Trackables = new Dictionary<TrackableId, TTrackable>();
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_0 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 63));
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 64)->methodPointer)(L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 64));
__this->set_m_Trackables_9(L_0);
// protected Dictionary<TrackableId, TTrackable> m_PendingAdds = new Dictionary<TrackableId, TTrackable>();
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_1 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 63));
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 64)->methodPointer)(L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 64));
__this->set_m_PendingAdds_10(L_1);
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1));
(( void (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 65)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 65));
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRPointCloud,System.Object>::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4__cctor_mF634280B75354D207BA476C0A356D928CADB0BFD_gshared (const RuntimeMethod* method)
{
{
// static List<TTrackable> s_Added = new List<TTrackable>();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_0 = (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 66));
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67)->methodPointer)(L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67));
((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set_s_Added_11(L_0);
// static List<TTrackable> s_Updated = new List<TTrackable>();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_1 = (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 66));
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67)->methodPointer)(L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67));
((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set_s_Updated_12(L_1);
// static List<TTrackable> s_Removed = new List<TTrackable>();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_2 = (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 66));
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67)->methodPointer)(L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67));
((ARTrackableManager_4_tD292080F1B580A94C9A31C8B1B976FA9F51B8E2E_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set_s_Removed_13(L_2);
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
// UnityEngine.XR.ARFoundation.ARTrackableManager`4<TSubsystem,TSubsystemDescriptor,TSessionRelativeData,TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::get_instance()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 * ARTrackableManager_4_get_instance_mBCC20FA41F480DE7423A17FE6109F81304CE9CFD_gshared (const RuntimeMethod* method)
{
{
// internal static ARTrackableManager<TSubsystem, TSubsystemDescriptor, TSessionRelativeData, TTrackable> instance { get; private set; }
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0));
ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 * L_0 = ((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->get_U3CinstanceU3Ek__BackingField_7();
return L_0;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::set_instance(UnityEngine.XR.ARFoundation.ARTrackableManager`4<TSubsystem,TSubsystemDescriptor,TSessionRelativeData,TTrackable>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_set_instance_mF4B901BAEA25A64C6286A9827F437A9EC6759B37_gshared (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 * ___value0, const RuntimeMethod* method)
{
{
// internal static ARTrackableManager<TSubsystem, TSubsystemDescriptor, TSessionRelativeData, TTrackable> instance { get; private set; }
ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 * L_0 = ___value0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0));
((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set_U3CinstanceU3Ek__BackingField_7(L_0);
return;
}
}
// UnityEngine.XR.ARFoundation.TrackableCollection`1<TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::get_trackables()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 ARTrackableManager_4_get_trackables_mD57BC38F04B8406F3B4F2B00FD70CCBD641AF407_gshared (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 * __this, const RuntimeMethod* method)
{
{
// public TrackableCollection<TTrackable> trackables => new TrackableCollection<TTrackable>(m_Trackables);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_0 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 L_1;
memset((&L_1), 0, sizeof(L_1));
TrackableCollection_1__ctor_mA99D3D41CAA02EF94BD2B96D6DC1B66450E226FF((&L_1), (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 3));
return L_1;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::SetTrackablesActive(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_SetTrackablesActive_m41DBB5481282CD853A2F730C6989EFD32629280D_gshared (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 * __this, bool ___active0, const RuntimeMethod* method)
{
Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED V_0;
memset((&V_0), 0, sizeof(V_0));
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 V_1;
memset((&V_1), 0, sizeof(V_1));
{
// foreach (var trackable in trackables)
NullCheck((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this);
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 L_0 = (( TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 (*) (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 4)->methodPointer)((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 4));
V_1 = (TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 )L_0;
Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED L_1 = TrackableCollection_1_GetEnumerator_mBAA3D036F160A053757196D57318EC6B3F368D02((TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 *)(TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
V_0 = (Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED )L_1;
goto IL_0028;
}
IL_0011:
{
// foreach (var trackable in trackables)
RuntimeObject * L_2 = Enumerator_get_Current_m6D82C8CA15561A8D32BA77CB304C80AF57C4C77E((Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6));
// trackable.gameObject.SetActive(active);
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_2);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_3 = Component_get_gameObject_m0B0570BA8DDD3CD78A9DB568EA18D7317686603C((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_2, /*hidden argument*/NULL);
bool L_4 = ___active0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_3);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_3, (bool)L_4, /*hidden argument*/NULL);
}
IL_0028:
{
// foreach (var trackable in trackables)
bool L_5 = Enumerator_MoveNext_mF64DBEA38614B8A6E085DFC09DD2745BE2ACB9BE((Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
if (L_5)
{
goto IL_0011;
}
}
{
// }
return;
}
}
// UnityEngine.XR.ARFoundation.ARSessionOrigin UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::get_sessionOrigin()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * ARTrackableManager_4_get_sessionOrigin_m7450FE50F8BD80C0EDE7B2EDF8F59C2C7BE36C4D_gshared (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 * __this, const RuntimeMethod* method)
{
{
// protected ARSessionOrigin sessionOrigin { get; private set; }
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = (ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)__this->get_U3CsessionOriginU3Ek__BackingField_8();
return L_0;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::set_sessionOrigin(UnityEngine.XR.ARFoundation.ARSessionOrigin)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_set_sessionOrigin_m4188A04575F1787AC5A5E1FC289B02B639D3DC76_gshared (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 * __this, ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * ___value0, const RuntimeMethod* method)
{
{
// protected ARSessionOrigin sessionOrigin { get; private set; }
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = ___value0;
__this->set_U3CsessionOriginU3Ek__BackingField_8(L_0);
return;
}
}
// UnityEngine.GameObject UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::GetPrefab()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * ARTrackableManager_4_GetPrefab_m40BF7BE0EAAFB9609E223E445C13B2BB9FD96636_gshared (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 * __this, const RuntimeMethod* method)
{
{
// protected virtual GameObject GetPrefab() => null;
return (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)NULL;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::Awake()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_Awake_m670496D77E5E054307AC96EDB8C1B2A8A470DF0C_gshared (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_Awake_m670496D77E5E054307AC96EDB8C1B2A8A470DF0C_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// sessionOrigin = GetComponent<ARSessionOrigin>();
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = Component_GetComponent_TisARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF_m25BC8791B994BAE33BF9003FFC85124F480EFB17((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)__this, /*hidden argument*/Component_GetComponent_TisARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF_m25BC8791B994BAE33BF9003FFC85124F480EFB17_RuntimeMethod_var);
NullCheck((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this);
(( void (*) (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *, ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this, (ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::OnEnable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnEnable_m587FAEA72C44AF6ACAB7EEF7BE78F12ECC5D8BAE_gshared (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_OnEnable_m587FAEA72C44AF6ACAB7EEF7BE78F12ECC5D8BAE_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// base.OnEnable();
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
(( void (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10));
// instance = this;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
(( void (*) (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 11)->methodPointer)((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 11));
// sessionOrigin.trackablesParentTransformChanged += OnTrackablesParentTransformChanged;
NullCheck((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB * L_1 = (Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB *)il2cpp_codegen_object_new(Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB_il2cpp_TypeInfo_var);
Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B(L_1, (RuntimeObject *)__this, (intptr_t)((intptr_t)IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)), /*hidden argument*/Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B_RuntimeMethod_var);
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0);
ARSessionOrigin_add_trackablesParentTransformChanged_m59165BB2C4BFB84AD169AF54D2D9B76DBD8A5235((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0, (Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB *)L_1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::OnDisable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnDisable_m9D3E980363AA965C573586138ED98EB9172F77B7_gshared (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_OnDisable_m9D3E980363AA965C573586138ED98EB9172F77B7_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// base.OnDisable();
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
(( void (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14));
// sessionOrigin.trackablesParentTransformChanged -= OnTrackablesParentTransformChanged;
NullCheck((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB * L_1 = (Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB *)il2cpp_codegen_object_new(Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB_il2cpp_TypeInfo_var);
Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B(L_1, (RuntimeObject *)__this, (intptr_t)((intptr_t)IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)), /*hidden argument*/Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B_RuntimeMethod_var);
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0);
ARSessionOrigin_remove_trackablesParentTransformChanged_mF790C29F00B85A00D500F3420855F4BF75DBA2A4((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0, (Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB *)L_1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Boolean UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::CanBeAddedToSubsystem(TTrackable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ARTrackableManager_4_CanBeAddedToSubsystem_m8B567A81700381011762F7D0F760343D325D466B_gshared (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 * __this, RuntimeObject * ___trackable0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_CanBeAddedToSubsystem_m8B567A81700381011762F7D0F760343D325D466B_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// if (trackable == null)
RuntimeObject * L_0 = ___trackable0;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_0, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0019;
}
}
{
// throw new ArgumentNullException(nameof(trackable));
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_2 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_2, (String_t*)_stringLiteral05E5EBD9D5908CC9215021F08ACFBC4B58571C5C, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, ARTrackableManager_4_CanBeAddedToSubsystem_m8B567A81700381011762F7D0F760343D325D466B_RuntimeMethod_var);
}
IL_0019:
{
// if (!trackable.trackableId.Equals(TrackableId.invalidId))
RuntimeObject * L_3 = ___trackable0;
NullCheck((ARTrackable_2_tD581DD69B1FECE7B13BA4A4E09466F3E21D78D4E *)L_3);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_4 = (( TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 (*) (ARTrackable_2_tD581DD69B1FECE7B13BA4A4E09466F3E21D78D4E *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)((ARTrackable_2_tD581DD69B1FECE7B13BA4A4E09466F3E21D78D4E *)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
V_0 = (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_4;
IL2CPP_RUNTIME_CLASS_INIT(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47_il2cpp_TypeInfo_var);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_5 = TrackableId_get_invalidId_mBE9FA1EC8F2EC1575C1B31666EA928A3382DF1CD_inline(/*hidden argument*/NULL);
bool L_6 = TrackableId_Equals_mCE458E0FDCDD6E339FCC1926EE88EB7B3D45F943((TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 *)(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 *)(&V_0), (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_5, /*hidden argument*/NULL);
if (L_6)
{
goto IL_0035;
}
}
{
// return false;
return (bool)0;
}
IL_0035:
{
// if (m_Trackables.ContainsKey(trackable.trackableId))
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_7 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
RuntimeObject * L_8 = ___trackable0;
NullCheck((ARTrackable_2_tD581DD69B1FECE7B13BA4A4E09466F3E21D78D4E *)L_8);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_9 = (( TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 (*) (ARTrackable_2_tD581DD69B1FECE7B13BA4A4E09466F3E21D78D4E *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)((ARTrackable_2_tD581DD69B1FECE7B13BA4A4E09466F3E21D78D4E *)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_7);
bool L_10 = (( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_7, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16));
if (!L_10)
{
goto IL_004f;
}
}
{
// return false;
return (bool)0;
}
IL_004f:
{
// if (!enabled || subsystem == null)
NullCheck((Behaviour_tBDC7E9C3C898AD8348891B82D3E345801D920CA8 *)__this);
bool L_11 = Behaviour_get_enabled_mAA0C9ED5A3D1589C1C8AA22636543528DB353CFB((Behaviour_tBDC7E9C3C898AD8348891B82D3E345801D920CA8 *)__this, /*hidden argument*/NULL);
if (!L_11)
{
goto IL_0064;
}
}
{
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
RuntimeObject * L_12 = (( RuntimeObject * (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
if (L_12)
{
goto IL_0072;
}
}
IL_0064:
{
// trackable.pending = true;
RuntimeObject * L_13 = ___trackable0;
NullCheck((ARTrackable_2_tD581DD69B1FECE7B13BA4A4E09466F3E21D78D4E *)L_13);
(( void (*) (ARTrackable_2_tD581DD69B1FECE7B13BA4A4E09466F3E21D78D4E *, bool, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((ARTrackable_2_tD581DD69B1FECE7B13BA4A4E09466F3E21D78D4E *)L_13, (bool)1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
// return false;
return (bool)0;
}
IL_0072:
{
// return sessionOrigin && sessionOrigin.trackablesParent;
NullCheck((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_14 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_15 = Object_op_Implicit_m8B2A44B4B1406ED346D1AE6D962294FD58D0D534((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_14, /*hidden argument*/NULL);
if (!L_15)
{
goto IL_0090;
}
}
{
NullCheck((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_16 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_16);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_17 = ARSessionOrigin_get_trackablesParent_m37049D7E75CF694834A140C2EACB15D2D1098505_inline((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_16, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_18 = Object_op_Implicit_m8B2A44B4B1406ED346D1AE6D962294FD58D0D534((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_17, /*hidden argument*/NULL);
return L_18;
}
IL_0090:
{
return (bool)0;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::OnTrackablesParentTransformChanged(UnityEngine.XR.ARFoundation.ARTrackablesParentTransformChangedEventArgs)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnTrackablesParentTransformChanged_m7BC0EBE59AB3B35DD7E3309DD3B04AEDBAB9BD6A_gshared (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 * __this, ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 ___eventArgs0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_OnTrackablesParentTransformChanged_m7BC0EBE59AB3B35DD7E3309DD3B04AEDBAB9BD6A_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED V_0;
memset((&V_0), 0, sizeof(V_0));
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 V_1;
memset((&V_1), 0, sizeof(V_1));
RuntimeObject * V_2 = NULL;
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * V_3 = NULL;
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 V_4;
memset((&V_4), 0, sizeof(V_4));
{
// foreach (var trackable in trackables)
NullCheck((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this);
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 L_0 = (( TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 (*) (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 4)->methodPointer)((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 4));
V_1 = (TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 )L_0;
Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED L_1 = TrackableCollection_1_GetEnumerator_mBAA3D036F160A053757196D57318EC6B3F368D02((TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 *)(TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
V_0 = (Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED )L_1;
goto IL_0066;
}
IL_0011:
{
// foreach (var trackable in trackables)
RuntimeObject * L_2 = Enumerator_get_Current_m6D82C8CA15561A8D32BA77CB304C80AF57C4C77E((Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6));
V_2 = (RuntimeObject *)L_2;
// var transform = trackable.transform;
RuntimeObject * L_3 = V_2;
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_3);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_4 = Component_get_transform_m00F05BD782F920C301A7EBA480F3B7A904C07EC9((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_3, /*hidden argument*/NULL);
V_3 = (Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_4;
// if (transform.parent != eventArgs.trackablesParent)
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_5 = V_3;
NullCheck((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_5);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_6 = Transform_get_parent_m8FA24E38A1FA29D90CBF3CDC9F9F017C65BB3403((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_5, /*hidden argument*/NULL);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_7 = ARTrackablesParentTransformChangedEventArgs_get_trackablesParent_m124F9D34F6DA7E3FAB3E7CB9981820682219FE49_inline((ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 *)(ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 *)(&___eventArgs0), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_8 = Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_6, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_7, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_0066;
}
}
{
// var desiredPose = eventArgs.trackablesParent.TransformPose(trackable.sessionRelativePose);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_9 = ARTrackablesParentTransformChangedEventArgs_get_trackablesParent_m124F9D34F6DA7E3FAB3E7CB9981820682219FE49_inline((ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 *)(ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 *)(&___eventArgs0), /*hidden argument*/NULL);
RuntimeObject * L_10 = V_2;
NullCheck((ARTrackable_2_tD581DD69B1FECE7B13BA4A4E09466F3E21D78D4E *)L_10);
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_11 = (( Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 (*) (ARTrackable_2_tD581DD69B1FECE7B13BA4A4E09466F3E21D78D4E *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20)->methodPointer)((ARTrackable_2_tD581DD69B1FECE7B13BA4A4E09466F3E21D78D4E *)L_10, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20));
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_12 = TransformExtensions_TransformPose_m677CE84C622BD23C3DDB2953DDB820E1934B0144((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_9, (Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 )L_11, /*hidden argument*/NULL);
V_4 = (Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 )L_12;
// transform.SetPositionAndRotation(desiredPose.position, desiredPose.rotation);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_13 = V_3;
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_14 = V_4;
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_15 = (Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 )L_14.get_position_0();
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_16 = V_4;
Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 L_17 = (Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 )L_16.get_rotation_1();
NullCheck((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_13);
Transform_SetPositionAndRotation_mDB9B34321018846FD7E2315CBE8D4A6612E3DE43((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_13, (Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 )L_15, (Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 )L_17, /*hidden argument*/NULL);
}
IL_0066:
{
// foreach (var trackable in trackables)
bool L_18 = Enumerator_MoveNext_mF64DBEA38614B8A6E085DFC09DD2745BE2ACB9BE((Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
if (L_18)
{
goto IL_0011;
}
}
{
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::Update()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_Update_m6825A5D4D99D839FAEA8D7F7BE61DD172DEEACD5_gshared (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_Update_m6825A5D4D99D839FAEA8D7F7BE61DD172DEEACD5_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 V_0;
memset((&V_0), 0, sizeof(V_0));
TrackableChanges_1_t05F219FC68E80EA9891CEEB35CBABA06F836FDD3 V_1;
memset((&V_1), 0, sizeof(V_1));
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 V_2;
memset((&V_2), 0, sizeof(V_2));
NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 V_3;
memset((&V_3), 0, sizeof(V_3));
Enumerator_tE835E58BDBE7B5AF5E743DD51D31DE7A87983FCD V_4;
memset((&V_4), 0, sizeof(V_4));
XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 V_5;
memset((&V_5), 0, sizeof(V_5));
XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 V_6;
memset((&V_6), 0, sizeof(V_6));
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 V_7;
memset((&V_7), 0, sizeof(V_7));
Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A V_8;
memset((&V_8), 0, sizeof(V_8));
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 V_9;
memset((&V_9), 0, sizeof(V_9));
RuntimeObject * V_10 = NULL;
Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD V_11;
memset((&V_11), 0, sizeof(V_11));
RuntimeObject * V_12 = 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) * 5);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
// if (subsystem == null || !subsystem.running)
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
RuntimeObject * L_0 = (( RuntimeObject * (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
if (!L_0)
{
goto IL_001f;
}
}
{
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
RuntimeObject * L_1 = (( RuntimeObject * (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
NullCheck((Subsystem_t17E4AEB5537DC8AECC37EC3F6FCB46CC7D2C73F6 *)L_1);
bool L_2 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.Subsystem::get_running() */, (Subsystem_t17E4AEB5537DC8AECC37EC3F6FCB46CC7D2C73F6 *)L_1);
if (L_2)
{
goto IL_0020;
}
}
IL_001f:
{
// return;
return;
}
IL_0020:
{
// using (new ScopedProfiler("GetChanges"))
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_0), (String_t*)_stringLiteralE68C28CA8FA3E38258B2081639EE5D1C7F58849B, /*hidden argument*/NULL);
}
IL_002c:
try
{ // begin try (depth: 1)
{
// using (var changes = subsystem.GetChanges(Allocator.Temp))
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
RuntimeObject * L_3 = (( RuntimeObject * (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
NullCheck((TrackingSubsystem_2_tAE9BB8C8235205F41DFEA520A6AD8877415FA95B *)L_3);
TrackableChanges_1_t05F219FC68E80EA9891CEEB35CBABA06F836FDD3 L_4 = VirtFuncInvoker1< TrackableChanges_1_t05F219FC68E80EA9891CEEB35CBABA06F836FDD3 , int32_t >::Invoke(14 /* UnityEngine.XR.ARSubsystems.TrackableChanges`1<!0> UnityEngine.XR.ARSubsystems.TrackingSubsystem`2<UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::GetChanges(Unity.Collections.Allocator) */, (TrackingSubsystem_2_tAE9BB8C8235205F41DFEA520A6AD8877415FA95B *)L_3, (int32_t)2);
V_1 = (TrackableChanges_1_t05F219FC68E80EA9891CEEB35CBABA06F836FDD3 )L_4;
}
IL_003e:
try
{ // begin try (depth: 2)
{
// using (new ScopedProfiler("ProcessAdded"))
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 L_5;
memset((&L_5), 0, sizeof(L_5));
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((&L_5), (String_t*)_stringLiteral8CC52613125F0E802A5E603C37A6CAE800639F62, /*hidden argument*/NULL);
V_2 = (ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 )L_5;
}
IL_0049:
try
{ // begin try (depth: 3)
{
// ClearAndSetCapacity(s_Added, changes.added.Length);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_6 = ((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Added_11();
NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 L_7 = TrackableChanges_1_get_added_m3D40B25E1DBFA2CE12A65E40E7AC06E818AD9E52_inline((TrackableChanges_1_t05F219FC68E80EA9891CEEB35CBABA06F836FDD3 *)(TrackableChanges_1_t05F219FC68E80EA9891CEEB35CBABA06F836FDD3 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
V_3 = (NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 )L_7;
int32_t L_8 = IL2CPP_NATIVEARRAY_GET_LENGTH(((NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 *)(NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 *)(&V_3))->___m_Length_1);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_6, (int32_t)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24));
// foreach (var added in changes.added)
NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 L_9 = TrackableChanges_1_get_added_m3D40B25E1DBFA2CE12A65E40E7AC06E818AD9E52_inline((TrackableChanges_1_t05F219FC68E80EA9891CEEB35CBABA06F836FDD3 *)(TrackableChanges_1_t05F219FC68E80EA9891CEEB35CBABA06F836FDD3 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
V_3 = (NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 )L_9;
Enumerator_tE835E58BDBE7B5AF5E743DD51D31DE7A87983FCD L_10 = NativeArray_1_GetEnumerator_m233DB4025EE0159C3DF5F4444D8660447A948E77((NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 *)(NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 *)(&V_3), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
V_4 = (Enumerator_tE835E58BDBE7B5AF5E743DD51D31DE7A87983FCD )L_10;
}
IL_0073:
try
{ // begin try (depth: 4)
{
goto IL_0090;
}
IL_0075:
{
// foreach (var added in changes.added)
XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 L_11 = Enumerator_get_Current_m9666277E7F7A9010D80F9B1C2A85998727195BA0((Enumerator_tE835E58BDBE7B5AF5E743DD51D31DE7A87983FCD *)(Enumerator_tE835E58BDBE7B5AF5E743DD51D31DE7A87983FCD *)(&V_4), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
V_5 = (XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 )L_11;
// s_Added.Add(CreateOrUpdateTrackable(added));
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_12 = ((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Added_11();
XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 L_13 = V_5;
NullCheck((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this);
RuntimeObject * L_14 = (( RuntimeObject * (*) (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *, XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this, (XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 )L_13, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_12);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_12, (RuntimeObject *)L_14, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_0090:
{
// foreach (var added in changes.added)
bool L_15 = Enumerator_MoveNext_m290B09E34B2A210F6C1F69C107D3E253C15892AA((Enumerator_tE835E58BDBE7B5AF5E743DD51D31DE7A87983FCD *)(Enumerator_tE835E58BDBE7B5AF5E743DD51D31DE7A87983FCD *)(&V_4), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29));
if (L_15)
{
goto IL_0075;
}
}
IL_0099:
{
IL2CPP_LEAVE(0xB7, FINALLY_009b);
}
} // end try (depth: 4)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_009b;
}
FINALLY_009b:
{ // begin finally (depth: 4)
Il2CppFakeBox<Enumerator_tE835E58BDBE7B5AF5E743DD51D31DE7A87983FCD > L_16(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 30), (&V_4));
const VirtualInvokeData& il2cpp_virtual_invoke_data__163 = il2cpp_codegen_get_interface_invoke_data(0, (&L_16), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__163.methodPtr)((RuntimeObject*)(&L_16), /*hidden argument*/il2cpp_virtual_invoke_data__163.method);
V_4 = L_16.m_Value;
IL2CPP_END_FINALLY(155)
} // end finally (depth: 4)
IL2CPP_CLEANUP(155)
{
IL2CPP_END_CLEANUP(0xB7, FINALLY_00a9);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 3)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00a9;
}
FINALLY_00a9:
{ // begin finally (depth: 3)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_2), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(169)
} // end finally (depth: 3)
IL2CPP_CLEANUP(169)
{
IL2CPP_JUMP_TBL(0xB7, IL_00b7)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00b7:
{
// using (new ScopedProfiler("ProcessUpdated"))
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 L_17;
memset((&L_17), 0, sizeof(L_17));
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((&L_17), (String_t*)_stringLiteralD84182942D9EE680B64113858F0F32DEDC108F25, /*hidden argument*/NULL);
V_2 = (ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 )L_17;
}
IL_00c2:
try
{ // begin try (depth: 3)
{
// ClearAndSetCapacity(s_Updated, changes.updated.Length);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_18 = ((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Updated_12();
NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 L_19 = TrackableChanges_1_get_updated_mF70FB659BBDD40064C52ABA36021CCB637733421_inline((TrackableChanges_1_t05F219FC68E80EA9891CEEB35CBABA06F836FDD3 *)(TrackableChanges_1_t05F219FC68E80EA9891CEEB35CBABA06F836FDD3 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
V_3 = (NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 )L_19;
int32_t L_20 = IL2CPP_NATIVEARRAY_GET_LENGTH(((NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 *)(NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 *)(&V_3))->___m_Length_1);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_18, (int32_t)L_20, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24));
// foreach (var updated in changes.updated)
NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 L_21 = TrackableChanges_1_get_updated_mF70FB659BBDD40064C52ABA36021CCB637733421_inline((TrackableChanges_1_t05F219FC68E80EA9891CEEB35CBABA06F836FDD3 *)(TrackableChanges_1_t05F219FC68E80EA9891CEEB35CBABA06F836FDD3 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
V_3 = (NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 )L_21;
Enumerator_tE835E58BDBE7B5AF5E743DD51D31DE7A87983FCD L_22 = NativeArray_1_GetEnumerator_m233DB4025EE0159C3DF5F4444D8660447A948E77((NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 *)(NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 *)(&V_3), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
V_4 = (Enumerator_tE835E58BDBE7B5AF5E743DD51D31DE7A87983FCD )L_22;
}
IL_00ec:
try
{ // begin try (depth: 4)
{
goto IL_0109;
}
IL_00ee:
{
// foreach (var updated in changes.updated)
XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 L_23 = Enumerator_get_Current_m9666277E7F7A9010D80F9B1C2A85998727195BA0((Enumerator_tE835E58BDBE7B5AF5E743DD51D31DE7A87983FCD *)(Enumerator_tE835E58BDBE7B5AF5E743DD51D31DE7A87983FCD *)(&V_4), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
V_6 = (XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 )L_23;
// s_Updated.Add(CreateOrUpdateTrackable(updated));
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_24 = ((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Updated_12();
XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 L_25 = V_6;
NullCheck((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this);
RuntimeObject * L_26 = (( RuntimeObject * (*) (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *, XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this, (XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 )L_25, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_24);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_24, (RuntimeObject *)L_26, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_0109:
{
// foreach (var updated in changes.updated)
bool L_27 = Enumerator_MoveNext_m290B09E34B2A210F6C1F69C107D3E253C15892AA((Enumerator_tE835E58BDBE7B5AF5E743DD51D31DE7A87983FCD *)(Enumerator_tE835E58BDBE7B5AF5E743DD51D31DE7A87983FCD *)(&V_4), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29));
if (L_27)
{
goto IL_00ee;
}
}
IL_0112:
{
IL2CPP_LEAVE(0x130, FINALLY_0114);
}
} // end try (depth: 4)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0114;
}
FINALLY_0114:
{ // begin finally (depth: 4)
Il2CppFakeBox<Enumerator_tE835E58BDBE7B5AF5E743DD51D31DE7A87983FCD > L_28(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 30), (&V_4));
const VirtualInvokeData& il2cpp_virtual_invoke_data__284 = il2cpp_codegen_get_interface_invoke_data(0, (&L_28), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__284.methodPtr)((RuntimeObject*)(&L_28), /*hidden argument*/il2cpp_virtual_invoke_data__284.method);
V_4 = L_28.m_Value;
IL2CPP_END_FINALLY(276)
} // end finally (depth: 4)
IL2CPP_CLEANUP(276)
{
IL2CPP_END_CLEANUP(0x130, FINALLY_0122);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 3)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0122;
}
FINALLY_0122:
{ // begin finally (depth: 3)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_2), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(290)
} // end finally (depth: 3)
IL2CPP_CLEANUP(290)
{
IL2CPP_JUMP_TBL(0x130, IL_0130)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0130:
{
// using (new ScopedProfiler("ProcessRemoved"))
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 L_29;
memset((&L_29), 0, sizeof(L_29));
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((&L_29), (String_t*)_stringLiteralC0371E7E1DB9F795AC51193C554BD9BEF51AD664, /*hidden argument*/NULL);
V_2 = (ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 )L_29;
}
IL_013b:
try
{ // begin try (depth: 3)
{
// ClearAndSetCapacity(s_Removed, changes.removed.Length);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_30 = ((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 L_31 = TrackableChanges_1_get_removed_mF48037B3FBE8CDCE917EF589128FEF13EB22466A_inline((TrackableChanges_1_t05F219FC68E80EA9891CEEB35CBABA06F836FDD3 *)(TrackableChanges_1_t05F219FC68E80EA9891CEEB35CBABA06F836FDD3 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
V_7 = (NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 )L_31;
int32_t L_32 = IL2CPP_NATIVEARRAY_GET_LENGTH(((NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 *)(NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 *)(&V_7))->___m_Length_1);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_30, (int32_t)L_32, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24));
// foreach (var trackableId in changes.removed)
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 L_33 = TrackableChanges_1_get_removed_mF48037B3FBE8CDCE917EF589128FEF13EB22466A_inline((TrackableChanges_1_t05F219FC68E80EA9891CEEB35CBABA06F836FDD3 *)(TrackableChanges_1_t05F219FC68E80EA9891CEEB35CBABA06F836FDD3 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
V_7 = (NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 )L_33;
Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A L_34 = NativeArray_1_GetEnumerator_m3B6CA1981A8CE62A1C67FCEEBE1887CD32906DA2((NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 *)(NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 *)(&V_7), /*hidden argument*/NativeArray_1_GetEnumerator_m3B6CA1981A8CE62A1C67FCEEBE1887CD32906DA2_RuntimeMethod_var);
V_8 = (Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A )L_34;
}
IL_0167:
try
{ // begin try (depth: 4)
{
goto IL_01ab;
}
IL_0169:
{
// foreach (var trackableId in changes.removed)
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_35 = Enumerator_get_Current_m913D10AD892E19937C638773D208459E9862248D((Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A *)(Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A *)(&V_8), /*hidden argument*/Enumerator_get_Current_m913D10AD892E19937C638773D208459E9862248D_RuntimeMethod_var);
V_9 = (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_35;
// if (m_Trackables.TryGetValue(trackableId, out var trackable))
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_36 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_37 = V_9;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_36);
bool L_38 = (( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject **, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_36, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_37, (RuntimeObject **)(RuntimeObject **)(&V_10), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
if (!L_38)
{
goto IL_01ab;
}
}
IL_0183:
{
// m_Trackables.Remove(trackableId);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_39 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_40 = V_9;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_39);
(( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_39, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_40, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
// if (trackable)
RuntimeObject * L_41 = V_10;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_42 = Object_op_Implicit_m8B2A44B4B1406ED346D1AE6D962294FD58D0D534((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_41, /*hidden argument*/NULL);
if (!L_42)
{
goto IL_01ab;
}
}
IL_019f:
{
// s_Removed.Add(trackable);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_43 = ((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
RuntimeObject * L_44 = V_10;
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_43);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_43, (RuntimeObject *)L_44, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_01ab:
{
// foreach (var trackableId in changes.removed)
bool L_45 = Enumerator_MoveNext_m3C4C0B0B1AE71E65EF8255E6FC671DDBC829B6AA((Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A *)(Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A *)(&V_8), /*hidden argument*/Enumerator_MoveNext_m3C4C0B0B1AE71E65EF8255E6FC671DDBC829B6AA_RuntimeMethod_var);
if (L_45)
{
goto IL_0169;
}
}
IL_01b4:
{
IL2CPP_LEAVE(0x1EE, FINALLY_01b6);
}
} // end try (depth: 4)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01b6;
}
FINALLY_01b6:
{ // begin finally (depth: 4)
Il2CppFakeBox<Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A > L_46(Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A_il2cpp_TypeInfo_var, (&V_8));
const VirtualInvokeData& il2cpp_virtual_invoke_data__446 = il2cpp_codegen_get_interface_invoke_data(0, (&L_46), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__446.methodPtr)((RuntimeObject*)(&L_46), /*hidden argument*/il2cpp_virtual_invoke_data__446.method);
V_8 = L_46.m_Value;
IL2CPP_END_FINALLY(438)
} // end finally (depth: 4)
IL2CPP_CLEANUP(438)
{
IL2CPP_END_CLEANUP(0x1EE, FINALLY_01c4);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 3)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01c4;
}
FINALLY_01c4:
{ // begin finally (depth: 3)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_2), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(452)
} // end finally (depth: 3)
IL2CPP_CLEANUP(452)
{
IL2CPP_END_CLEANUP(0x1EE, FINALLY_01d2);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01d2;
}
FINALLY_01d2:
{ // begin finally (depth: 2)
Il2CppFakeBox<TrackableChanges_1_t05F219FC68E80EA9891CEEB35CBABA06F836FDD3 > L_47(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 35), (&V_1));
const VirtualInvokeData& il2cpp_virtual_invoke_data__474 = il2cpp_codegen_get_interface_invoke_data(0, (&L_47), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__474.methodPtr)((RuntimeObject*)(&L_47), /*hidden argument*/il2cpp_virtual_invoke_data__474.method);
V_1 = L_47.m_Value;
IL2CPP_END_FINALLY(466)
} // end finally (depth: 2)
IL2CPP_CLEANUP(466)
{
IL2CPP_END_CLEANUP(0x1EE, FINALLY_01e0);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01e0;
}
FINALLY_01e0:
{ // begin finally (depth: 1)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_0), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(480)
} // end finally (depth: 1)
IL2CPP_CLEANUP(480)
{
IL2CPP_JUMP_TBL(0x1EE, IL_01ee)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_01ee:
{
}
IL_01ef:
try
{ // begin try (depth: 1)
{
// if ((s_Added.Count) > 0 ||
// (s_Updated.Count) > 0 ||
// (s_Removed.Count) > 0)
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_48 = ((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Added_11();
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_48);
int32_t L_49 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_48, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36));
if ((((int32_t)L_49) > ((int32_t)0)))
{
goto IL_0216;
}
}
IL_01fc:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_50 = ((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Updated_12();
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_50);
int32_t L_51 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_50, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36));
if ((((int32_t)L_51) > ((int32_t)0)))
{
goto IL_0216;
}
}
IL_0209:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_52 = ((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_52);
int32_t L_53 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_52, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36));
if ((((int32_t)L_53) <= ((int32_t)0)))
{
goto IL_022b;
}
}
IL_0216:
{
// OnTrackablesChanged(s_Added, s_Updated, s_Removed);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_54 = ((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Added_11();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_55 = ((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Updated_12();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_56 = ((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
NullCheck((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this);
VirtActionInvoker3< List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * >::Invoke(13 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::OnTrackablesChanged(System.Collections.Generic.List`1<TTrackable>,System.Collections.Generic.List`1<TTrackable>,System.Collections.Generic.List`1<TTrackable>) */, (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this, (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_54, (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_55, (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_56);
}
IL_022b:
{
// }
IL2CPP_LEAVE(0x266, FINALLY_022d);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_022d;
}
FINALLY_022d:
{ // begin finally (depth: 1)
{
// foreach (var removed in s_Removed)
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_57 = ((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_57);
Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD L_58 = (( Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_57, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38));
V_11 = (Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD )L_58;
}
IL_0239:
try
{ // begin try (depth: 2)
{
goto IL_024c;
}
IL_023b:
{
// foreach (var removed in s_Removed)
RuntimeObject * L_59 = Enumerator_get_Current_mD7829C7E8CFBEDD463B15A951CDE9B90A12CC55C_inline((Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD *)(Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD *)(&V_11), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 39));
V_12 = (RuntimeObject *)L_59;
// DestroyTrackable(removed);
RuntimeObject * L_60 = V_12;
NullCheck((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this);
(( void (*) (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40)->methodPointer)((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this, (RuntimeObject *)L_60, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40));
}
IL_024c:
{
// foreach (var removed in s_Removed)
bool L_61 = Enumerator_MoveNext_m38B1099DDAD7EEDE2F4CDAB11C095AC784AC2E34((Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD *)(Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD *)(&V_11), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 41));
if (L_61)
{
goto IL_023b;
}
}
IL_0255:
{
IL2CPP_LEAVE(0x265, FINALLY_0257);
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0257;
}
FINALLY_0257:
{ // begin finally (depth: 2)
Il2CppFakeBox<Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD > L_62(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 42), (&V_11));
const VirtualInvokeData& il2cpp_virtual_invoke_data__607 = il2cpp_codegen_get_interface_invoke_data(0, (&L_62), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__607.methodPtr)((RuntimeObject*)(&L_62), /*hidden argument*/il2cpp_virtual_invoke_data__607.method);
V_11 = L_62.m_Value;
IL2CPP_END_FINALLY(599)
} // end finally (depth: 2)
IL2CPP_CLEANUP(599)
{
IL2CPP_JUMP_TBL(0x265, IL_0265)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0265:
{
// }
IL2CPP_END_FINALLY(557)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(557)
{
IL2CPP_JUMP_TBL(0x266, IL_0266)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0266:
{
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::OnTrackablesChanged(System.Collections.Generic.List`1<TTrackable>,System.Collections.Generic.List`1<TTrackable>,System.Collections.Generic.List`1<TTrackable>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnTrackablesChanged_m8EAB9D54A2847F8F66AA4622C7855F36637AE2A5_gshared (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 * __this, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___added0, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___updated1, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___removed2, const RuntimeMethod* method)
{
{
// { }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::OnCreateTrackable(TTrackable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnCreateTrackable_mDAF5C6677FE6F594E3154FEAD0CCB19055156C6B_gshared (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 * __this, RuntimeObject * ___trackable0, const RuntimeMethod* method)
{
{
// { }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::OnAfterSetSessionRelativeData(TTrackable,TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnAfterSetSessionRelativeData_m1E5DD5218AF4777762553D2134CFD3E9D44BC5CC_gshared (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 * __this, RuntimeObject * ___trackable0, XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 ___sessionRelativeData1, const RuntimeMethod* method)
{
{
// { }
return;
}
}
// TTrackable UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::CreateTrackableImmediate(TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * ARTrackableManager_4_CreateTrackableImmediate_m2228832C4A2B6ABD3B3356879273CAB24980F94A_gshared (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 * __this, XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 ___sessionRelativeData0, const RuntimeMethod* method)
{
RuntimeObject * V_0 = NULL;
{
// var trackable = CreateOrUpdateTrackable(sessionRelativeData);
XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 L_0 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this);
RuntimeObject * L_1 = (( RuntimeObject * (*) (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *, XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this, (XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
V_0 = (RuntimeObject *)L_1;
// trackable.pending = true;
RuntimeObject * L_2 = V_0;
NullCheck((ARTrackable_2_tD581DD69B1FECE7B13BA4A4E09466F3E21D78D4E *)L_2);
(( void (*) (ARTrackable_2_tD581DD69B1FECE7B13BA4A4E09466F3E21D78D4E *, bool, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((ARTrackable_2_tD581DD69B1FECE7B13BA4A4E09466F3E21D78D4E *)L_2, (bool)1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
// m_PendingAdds.Add(trackable.trackableId, trackable);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_3 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
RuntimeObject * L_4 = V_0;
NullCheck((ARTrackable_2_tD581DD69B1FECE7B13BA4A4E09466F3E21D78D4E *)L_4);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_5 = (( TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 (*) (ARTrackable_2_tD581DD69B1FECE7B13BA4A4E09466F3E21D78D4E *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)((ARTrackable_2_tD581DD69B1FECE7B13BA4A4E09466F3E21D78D4E *)L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
RuntimeObject * L_6 = V_0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_3);
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_3, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_5, (RuntimeObject *)L_6, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43));
// return trackable;
RuntimeObject * L_7 = V_0;
return L_7;
}
}
// System.Boolean UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::DestroyPendingTrackable(UnityEngine.XR.ARSubsystems.TrackableId)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ARTrackableManager_4_DestroyPendingTrackable_m6BED2EC975EEED290869F0F4C1096883074FE064_gshared (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 * __this, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___trackableId0, const RuntimeMethod* method)
{
RuntimeObject * V_0 = NULL;
{
// if (m_PendingAdds.TryGetValue(trackableId, out var trackable))
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_0 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_1 = ___trackableId0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_0);
bool L_2 = (( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject **, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_0, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_1, (RuntimeObject **)(RuntimeObject **)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
if (!L_2)
{
goto IL_0033;
}
}
{
// m_PendingAdds.Remove(trackableId);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_3 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_4 = ___trackableId0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_3);
(( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_3, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
// m_Trackables.Remove(trackableId);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_5 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_6 = ___trackableId0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_5);
(( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_5, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_6, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
// DestroyTrackable(trackable);
RuntimeObject * L_7 = V_0;
NullCheck((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this);
(( void (*) (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40)->methodPointer)((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this, (RuntimeObject *)L_7, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40));
// return true;
return (bool)1;
}
IL_0033:
{
// return false;
return (bool)0;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::ClearAndSetCapacity(System.Collections.Generic.List`1<TTrackable>,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_ClearAndSetCapacity_mB2C63E90341B9588CAB6165DC5C489C7FDDB16E9_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___list0, int32_t ___capacity1, const RuntimeMethod* method)
{
{
// list.Clear();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_0 = ___list0;
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_0);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 44)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 44));
// if (list.Capacity < capacity)
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_1 = ___list0;
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_1);
int32_t L_2 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 45)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 45));
int32_t L_3 = ___capacity1;
if ((((int32_t)L_2) >= ((int32_t)L_3)))
{
goto IL_0016;
}
}
{
// list.Capacity = capacity;
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_4 = ___list0;
int32_t L_5 = ___capacity1;
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_4);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 46)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_4, (int32_t)L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 46));
}
IL_0016:
{
// }
return;
}
}
// System.String UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::GetTrackableName(UnityEngine.XR.ARSubsystems.TrackableId)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* ARTrackableManager_4_GetTrackableName_m3DBEA71DAE86DAC9F4FC40D598F282C83C65AE3B_gshared (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 * __this, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___trackableId0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_GetTrackableName_m3DBEA71DAE86DAC9F4FC40D598F282C83C65AE3B_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// return gameObjectName + " " + trackableId.ToString();
NullCheck((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this);
String_t* L_0 = VirtFuncInvoker0< String_t* >::Invoke(9 /* System.String UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::get_gameObjectName() */, (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this);
String_t* L_1 = TrackableId_ToString_mBA49191865E57697F4279D2781B182590726A215((TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 *)(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 *)(&___trackableId0), /*hidden argument*/NULL);
String_t* L_2 = String_Concat_mF4626905368D6558695A823466A1AF65EADB9923((String_t*)L_0, (String_t*)_stringLiteralB858CB282617FB0956D960215C8E84D1CCF909C6, (String_t*)L_1, /*hidden argument*/NULL);
return L_2;
}
}
// System.ValueTuple`2<UnityEngine.GameObject,System.Boolean> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::CreateGameObjectDeactivated()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 ARTrackableManager_4_CreateGameObjectDeactivated_m29ABD404CBDE2E500B55BFDA2F750CDAA225C2C2_gshared (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_CreateGameObjectDeactivated_m29ABD404CBDE2E500B55BFDA2F750CDAA225C2C2_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * V_0 = NULL;
bool V_1 = false;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * V_2 = NULL;
{
// var prefab = GetPrefab();
NullCheck((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_0 = VirtFuncInvoker0< GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * >::Invoke(10 /* UnityEngine.GameObject UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::GetPrefab() */, (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this);
V_0 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_0;
// if (prefab == null)
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_1 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_1, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0039;
}
}
{
// var gameObject = new GameObject();
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_3 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)il2cpp_codegen_object_new(GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F_il2cpp_TypeInfo_var);
GameObject__ctor_mA4DFA8F4471418C248E95B55070665EF344B4B2D(L_3, /*hidden argument*/NULL);
// gameObject.SetActive(false);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_4 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_3;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_4);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_4, (bool)0, /*hidden argument*/NULL);
// gameObject.transform.parent = sessionOrigin.trackablesParent;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_5 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_4;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_6 = GameObject_get_transform_mA5C38857137F137CB96C69FAA624199EB1C2FB2C((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5, /*hidden argument*/NULL);
NullCheck((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_7 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_7);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_8 = ARSessionOrigin_get_trackablesParent_m37049D7E75CF694834A140C2EACB15D2D1098505_inline((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_7, /*hidden argument*/NULL);
NullCheck((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_6);
Transform_set_parent_m65B8E4660B2C554069C57A957D9E55FECA7AA73E((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_6, (Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_8, /*hidden argument*/NULL);
// return (gameObject, true);
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_9;
memset((&L_9), 0, sizeof(L_9));
ValueTuple_2__ctor_m73A57D85868E9347B9DCD08AB9585E9B191478F7((&L_9), (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5, (bool)1, /*hidden argument*/ValueTuple_2__ctor_m73A57D85868E9347B9DCD08AB9585E9B191478F7_RuntimeMethod_var);
return L_9;
}
IL_0039:
{
// var active = prefab.activeSelf;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_10 = V_0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_10);
bool L_11 = GameObject_get_activeSelf_mFE1834886CAE59884AC2BE707A3B821A1DB61F44((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_10, /*hidden argument*/NULL);
V_1 = (bool)L_11;
// prefab.SetActive(false);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_12 = V_0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_12);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_12, (bool)0, /*hidden argument*/NULL);
// var gameObject = Instantiate(prefab, sessionOrigin.trackablesParent);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_13 = V_0;
NullCheck((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_14 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_14);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_15 = ARSessionOrigin_get_trackablesParent_m37049D7E75CF694834A140C2EACB15D2D1098505_inline((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_14, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_16 = Object_Instantiate_TisGameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F_m1CDF66D563B03D37B37264800222D4F3B307EDA0((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_13, (Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_15, /*hidden argument*/Object_Instantiate_TisGameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F_m1CDF66D563B03D37B37264800222D4F3B307EDA0_RuntimeMethod_var);
V_2 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_16;
// prefab.SetActive(active);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_17 = V_0;
bool L_18 = V_1;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_17);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_17, (bool)L_18, /*hidden argument*/NULL);
// return (gameObject, active);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_19 = V_2;
bool L_20 = V_1;
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_21;
memset((&L_21), 0, sizeof(L_21));
ValueTuple_2__ctor_m73A57D85868E9347B9DCD08AB9585E9B191478F7((&L_21), (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_19, (bool)L_20, /*hidden argument*/ValueTuple_2__ctor_m73A57D85868E9347B9DCD08AB9585E9B191478F7_RuntimeMethod_var);
return L_21;
}
}
// System.ValueTuple`2<UnityEngine.GameObject,System.Boolean> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::CreateGameObjectDeactivated(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 ARTrackableManager_4_CreateGameObjectDeactivated_m026E700308D64BA08A7500A488B165A1AFBE7690_gshared (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 * __this, String_t* ___name0, const RuntimeMethod* method)
{
{
// var tuple = CreateGameObjectDeactivated();
NullCheck((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this);
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_0 = (( ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 (*) (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 49)->methodPointer)((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 49));
// tuple.gameObject.name = name;
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_1 = (ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 )L_0;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_2 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_1.get_Item1_0();
String_t* L_3 = ___name0;
NullCheck((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_2);
Object_set_name_m538711B144CDE30F929376BCF72D0DC8F85D0826((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_2, (String_t*)L_3, /*hidden argument*/NULL);
// return tuple;
return L_1;
}
}
// System.ValueTuple`2<UnityEngine.GameObject,System.Boolean> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::CreateGameObjectDeactivated(UnityEngine.XR.ARSubsystems.TrackableId)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 ARTrackableManager_4_CreateGameObjectDeactivated_m0B110F7CD18EA968036DA560D08342ED76436C3A_gshared (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 * __this, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___trackableId0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_CreateGameObjectDeactivated_m0B110F7CD18EA968036DA560D08342ED76436C3A_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 V_0;
memset((&V_0), 0, sizeof(V_0));
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 V_1;
memset((&V_1), 0, sizeof(V_1));
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);
{
// using (new ScopedProfiler("CreateGameObject"))
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_0), (String_t*)_stringLiteralA1BA014E93BB1085A758A3F66948C9CAC874B9BD, /*hidden argument*/NULL);
}
IL_000c:
try
{ // begin try (depth: 1)
// return CreateGameObjectDeactivated(GetTrackableName(trackableId));
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = ___trackableId0;
NullCheck((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this);
String_t* L_1 = (( String_t* (*) (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 50)->methodPointer)((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 50));
NullCheck((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this);
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_2 = (( ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 (*) (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *, String_t*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 51)->methodPointer)((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this, (String_t*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 51));
V_1 = (ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 )L_2;
IL2CPP_LEAVE(0x2A, FINALLY_001c);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_001c;
}
FINALLY_001c:
{ // begin finally (depth: 1)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_0), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(28)
} // end finally (depth: 1)
IL2CPP_CLEANUP(28)
{
IL2CPP_JUMP_TBL(0x2A, IL_002a)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_002a:
{
// }
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_3 = V_1;
return L_3;
}
}
// TTrackable UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::CreateTrackable(TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * ARTrackableManager_4_CreateTrackable_m95192899DBE9F42315C1FCA84E971C784001A310_gshared (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 * __this, XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 ___sessionRelativeData0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_CreateTrackable_m95192899DBE9F42315C1FCA84E971C784001A310_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * V_0 = NULL;
bool V_1 = false;
RuntimeObject * V_2 = NULL;
{
// var (gameObject, shouldBeActive) = CreateGameObjectDeactivated(sessionRelativeData.trackableId);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = XRRaycast_get_trackableId_m6DBE200F60327FBBD8C1852FD50F5881AFDEE90B_inline((XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 *)(XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 *)(&___sessionRelativeData0), /*hidden argument*/NULL);
NullCheck((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this);
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_1 = (( ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 (*) (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 53)->methodPointer)((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 53));
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_2 = (ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 )L_1;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_3 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_2.get_Item1_0();
V_0 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_3;
bool L_4 = (bool)L_2.get_Item2_1();
V_1 = (bool)L_4;
// var trackable = gameObject.GetComponent<TTrackable>();
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_5 = V_0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5);
RuntimeObject * L_6 = (( RuntimeObject * (*) (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 54)->methodPointer)((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 54));
V_2 = (RuntimeObject *)L_6;
// if (trackable == null)
RuntimeObject * L_7 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_8 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_7, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_003c;
}
}
{
// trackable = gameObject.AddComponent<TTrackable>();
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_9 = V_0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_9);
RuntimeObject * L_10 = (( RuntimeObject * (*) (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 55)->methodPointer)((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 55));
V_2 = (RuntimeObject *)L_10;
}
IL_003c:
{
// m_Trackables.Add(sessionRelativeData.trackableId, trackable);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_11 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_12 = XRRaycast_get_trackableId_m6DBE200F60327FBBD8C1852FD50F5881AFDEE90B_inline((XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 *)(XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 *)(&___sessionRelativeData0), /*hidden argument*/NULL);
RuntimeObject * L_13 = V_2;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_11);
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_11, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_12, (RuntimeObject *)L_13, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43));
// SetSessionRelativeData(trackable, sessionRelativeData);
RuntimeObject * L_14 = V_2;
XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 L_15 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this);
(( void (*) (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *, RuntimeObject *, XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56)->methodPointer)((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this, (RuntimeObject *)L_14, (XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 )L_15, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56));
// trackable.gameObject.SetActive(shouldBeActive);
RuntimeObject * L_16 = V_2;
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_16);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_17 = Component_get_gameObject_m0B0570BA8DDD3CD78A9DB568EA18D7317686603C((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_16, /*hidden argument*/NULL);
bool L_18 = V_1;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_17);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_17, (bool)L_18, /*hidden argument*/NULL);
// return trackable;
RuntimeObject * L_19 = V_2;
return L_19;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::SetSessionRelativeData(TTrackable,TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_SetSessionRelativeData_m70744823BB72127E355DAAFFF99281BE0867E579_gshared (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 * __this, RuntimeObject * ___trackable0, XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 ___data1, const RuntimeMethod* method)
{
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// trackable.SetSessionRelativeData(data);
RuntimeObject * L_0 = ___trackable0;
XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 L_1 = ___data1;
NullCheck((ARTrackable_2_tD581DD69B1FECE7B13BA4A4E09466F3E21D78D4E *)L_0);
(( void (*) (ARTrackable_2_tD581DD69B1FECE7B13BA4A4E09466F3E21D78D4E *, XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 57)->methodPointer)((ARTrackable_2_tD581DD69B1FECE7B13BA4A4E09466F3E21D78D4E *)L_0, (XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 )L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 57));
// var worldSpacePose = sessionOrigin.trackablesParent.TransformPose(data.pose);
NullCheck((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_2 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_2);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_3 = ARSessionOrigin_get_trackablesParent_m37049D7E75CF694834A140C2EACB15D2D1098505_inline((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_2, /*hidden argument*/NULL);
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_4 = XRRaycast_get_pose_m6EAC1A67DCD90871104B13EE918B1F19C9B8083A_inline((XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 *)(XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 *)(&___data1), /*hidden argument*/NULL);
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_5 = TransformExtensions_TransformPose_m677CE84C622BD23C3DDB2953DDB820E1934B0144((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_3, (Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 )L_4, /*hidden argument*/NULL);
V_0 = (Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 )L_5;
// trackable.transform.SetPositionAndRotation(worldSpacePose.position, worldSpacePose.rotation);
RuntimeObject * L_6 = ___trackable0;
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_6);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_7 = Component_get_transform_m00F05BD782F920C301A7EBA480F3B7A904C07EC9((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_6, /*hidden argument*/NULL);
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_8 = V_0;
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_9 = (Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 )L_8.get_position_0();
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_10 = V_0;
Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 L_11 = (Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 )L_10.get_rotation_1();
NullCheck((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_7);
Transform_SetPositionAndRotation_mDB9B34321018846FD7E2315CBE8D4A6612E3DE43((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_7, (Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 )L_9, (Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 )L_11, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::CreateTrackableFromExisting(TTrackable,TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_CreateTrackableFromExisting_m9262D2C9361A9FEF3AF772227169CCD5E5490992_gshared (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 * __this, RuntimeObject * ___existingTrackable0, XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 ___sessionRelativeData1, const RuntimeMethod* method)
{
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// var trackableId = sessionRelativeData.trackableId;
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = XRRaycast_get_trackableId_m6DBE200F60327FBBD8C1852FD50F5881AFDEE90B_inline((XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 *)(XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 *)(&___sessionRelativeData1), /*hidden argument*/NULL);
V_0 = (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_0;
// m_Trackables.Add(trackableId, existingTrackable);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_1 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_2 = V_0;
RuntimeObject * L_3 = ___existingTrackable0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_1);
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_1, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_2, (RuntimeObject *)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43));
// SetSessionRelativeData(existingTrackable, sessionRelativeData);
RuntimeObject * L_4 = ___existingTrackable0;
XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 L_5 = ___sessionRelativeData1;
NullCheck((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this);
(( void (*) (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *, RuntimeObject *, XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56)->methodPointer)((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this, (RuntimeObject *)L_4, (XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 )L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56));
// OnCreateTrackable(existingTrackable);
RuntimeObject * L_6 = ___existingTrackable0;
NullCheck((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this);
VirtActionInvoker1< RuntimeObject * >::Invoke(14 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::OnCreateTrackable(TTrackable) */, (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this, (RuntimeObject *)L_6);
// OnAfterSetSessionRelativeData(existingTrackable, sessionRelativeData);
RuntimeObject * L_7 = ___existingTrackable0;
XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 L_8 = ___sessionRelativeData1;
NullCheck((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this);
VirtActionInvoker2< RuntimeObject *, XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 >::Invoke(15 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::OnAfterSetSessionRelativeData(TTrackable,TSessionRelativeData) */, (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this, (RuntimeObject *)L_7, (XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 )L_8);
// existingTrackable.OnAfterSetSessionRelativeData();
RuntimeObject * L_9 = ___existingTrackable0;
NullCheck((ARTrackable_2_tD581DD69B1FECE7B13BA4A4E09466F3E21D78D4E *)L_9);
VirtActionInvoker0::Invoke(4 /* System.Void UnityEngine.XR.ARFoundation.ARTrackable`2<UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::OnAfterSetSessionRelativeData() */, (ARTrackable_2_tD581DD69B1FECE7B13BA4A4E09466F3E21D78D4E *)L_9);
// m_PendingAdds.Add(trackableId, existingTrackable);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_10 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_11 = V_0;
RuntimeObject * L_12 = ___existingTrackable0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_10);
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_10, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_11, (RuntimeObject *)L_12, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43));
// existingTrackable.pending = true;
RuntimeObject * L_13 = ___existingTrackable0;
NullCheck((ARTrackable_2_tD581DD69B1FECE7B13BA4A4E09466F3E21D78D4E *)L_13);
(( void (*) (ARTrackable_2_tD581DD69B1FECE7B13BA4A4E09466F3E21D78D4E *, bool, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((ARTrackable_2_tD581DD69B1FECE7B13BA4A4E09466F3E21D78D4E *)L_13, (bool)1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
// }
return;
}
}
// TTrackable UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::CreateOrUpdateTrackable(TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * ARTrackableManager_4_CreateOrUpdateTrackable_m1832DF121AF926AFB69AA6C9A9DE2D3FBEAEBC03_gshared (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 * __this, XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 ___sessionRelativeData0, const RuntimeMethod* method)
{
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 V_0;
memset((&V_0), 0, sizeof(V_0));
RuntimeObject * V_1 = NULL;
{
// var trackableId = sessionRelativeData.trackableId;
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = XRRaycast_get_trackableId_m6DBE200F60327FBBD8C1852FD50F5881AFDEE90B_inline((XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 *)(XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 *)(&___sessionRelativeData0), /*hidden argument*/NULL);
V_0 = (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_0;
// if (m_Trackables.TryGetValue(trackableId, out var trackable))
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_1 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_2 = V_0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_1);
bool L_3 = (( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject **, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_1, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_2, (RuntimeObject **)(RuntimeObject **)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
if (!L_3)
{
goto IL_0041;
}
}
{
// m_PendingAdds.Remove(trackableId);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_4 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_5 = V_0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_4);
(( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_4, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
// trackable.pending = false;
RuntimeObject * L_6 = V_1;
NullCheck((ARTrackable_2_tD581DD69B1FECE7B13BA4A4E09466F3E21D78D4E *)L_6);
(( void (*) (ARTrackable_2_tD581DD69B1FECE7B13BA4A4E09466F3E21D78D4E *, bool, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((ARTrackable_2_tD581DD69B1FECE7B13BA4A4E09466F3E21D78D4E *)L_6, (bool)0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
// SetSessionRelativeData(trackable, sessionRelativeData);
RuntimeObject * L_7 = V_1;
XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 L_8 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this);
(( void (*) (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *, RuntimeObject *, XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56)->methodPointer)((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this, (RuntimeObject *)L_7, (XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 )L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56));
// }
goto IL_0050;
}
IL_0041:
{
// trackable = CreateTrackable(sessionRelativeData);
XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 L_9 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this);
RuntimeObject * L_10 = (( RuntimeObject * (*) (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *, XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 61)->methodPointer)((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this, (XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 )L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 61));
V_1 = (RuntimeObject *)L_10;
// OnCreateTrackable(trackable);
RuntimeObject * L_11 = V_1;
NullCheck((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this);
VirtActionInvoker1< RuntimeObject * >::Invoke(14 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::OnCreateTrackable(TTrackable) */, (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this, (RuntimeObject *)L_11);
}
IL_0050:
{
// OnAfterSetSessionRelativeData(trackable, sessionRelativeData);
RuntimeObject * L_12 = V_1;
XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 L_13 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this);
VirtActionInvoker2< RuntimeObject *, XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 >::Invoke(15 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::OnAfterSetSessionRelativeData(TTrackable,TSessionRelativeData) */, (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 *)__this, (RuntimeObject *)L_12, (XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 )L_13);
// trackable.OnAfterSetSessionRelativeData();
RuntimeObject * L_14 = V_1;
NullCheck((ARTrackable_2_tD581DD69B1FECE7B13BA4A4E09466F3E21D78D4E *)L_14);
VirtActionInvoker0::Invoke(4 /* System.Void UnityEngine.XR.ARFoundation.ARTrackable`2<UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::OnAfterSetSessionRelativeData() */, (ARTrackable_2_tD581DD69B1FECE7B13BA4A4E09466F3E21D78D4E *)L_14);
// return trackable;
RuntimeObject * L_15 = V_1;
return L_15;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::DestroyTrackable(TTrackable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_DestroyTrackable_m9678D9ECF964FEECE14E8FFE8659F5C88987F4D7_gshared (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 * __this, RuntimeObject * ___trackable0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_DestroyTrackable_m9678D9ECF964FEECE14E8FFE8659F5C88987F4D7_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (trackable.destroyOnRemoval)
RuntimeObject * L_0 = ___trackable0;
NullCheck((ARTrackable_2_tD581DD69B1FECE7B13BA4A4E09466F3E21D78D4E *)L_0);
bool L_1 = (( bool (*) (ARTrackable_2_tD581DD69B1FECE7B13BA4A4E09466F3E21D78D4E *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 62)->methodPointer)((ARTrackable_2_tD581DD69B1FECE7B13BA4A4E09466F3E21D78D4E *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 62));
if (!L_1)
{
goto IL_001d;
}
}
{
// Destroy(trackable.gameObject);
RuntimeObject * L_2 = ___trackable0;
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_2);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_3 = Component_get_gameObject_m0B0570BA8DDD3CD78A9DB568EA18D7317686603C((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_2, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
Object_Destroy_m23B4562495BA35A74266D4372D45368F8C05109A((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_3, /*hidden argument*/NULL);
}
IL_001d:
{
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4__ctor_m689533FE3805687F5C4EC099622623D0AD327CCF_gshared (ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53 * __this, const RuntimeMethod* method)
{
{
// protected Dictionary<TrackableId, TTrackable> m_Trackables = new Dictionary<TrackableId, TTrackable>();
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_0 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 63));
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 64)->methodPointer)(L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 64));
__this->set_m_Trackables_9(L_0);
// protected Dictionary<TrackableId, TTrackable> m_PendingAdds = new Dictionary<TrackableId, TTrackable>();
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_1 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 63));
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 64)->methodPointer)(L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 64));
__this->set_m_PendingAdds_10(L_1);
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1));
(( void (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 65)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 65));
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRRaycast,System.Object>::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4__cctor_m95822E04BFD63A12A8220EF61E1EF451E82B16AC_gshared (const RuntimeMethod* method)
{
{
// static List<TTrackable> s_Added = new List<TTrackable>();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_0 = (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 66));
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67)->methodPointer)(L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67));
((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set_s_Added_11(L_0);
// static List<TTrackable> s_Updated = new List<TTrackable>();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_1 = (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 66));
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67)->methodPointer)(L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67));
((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set_s_Updated_12(L_1);
// static List<TTrackable> s_Removed = new List<TTrackable>();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_2 = (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 66));
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67)->methodPointer)(L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67));
((ARTrackableManager_4_t2889954848B78F6BAAB3CDCFC1260DF22FEA2D53_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set_s_Removed_13(L_2);
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
// UnityEngine.XR.ARFoundation.ARTrackableManager`4<TSubsystem,TSubsystemDescriptor,TSessionRelativeData,TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::get_instance()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 * ARTrackableManager_4_get_instance_mCCFC860215F36CD21E9D17C372AB99EC2FE0DAF2_gshared (const RuntimeMethod* method)
{
{
// internal static ARTrackableManager<TSubsystem, TSubsystemDescriptor, TSessionRelativeData, TTrackable> instance { get; private set; }
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0));
ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 * L_0 = ((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->get_U3CinstanceU3Ek__BackingField_7();
return L_0;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::set_instance(UnityEngine.XR.ARFoundation.ARTrackableManager`4<TSubsystem,TSubsystemDescriptor,TSessionRelativeData,TTrackable>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_set_instance_m28ABB527D045706E13E55602DE0034FB22669D40_gshared (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 * ___value0, const RuntimeMethod* method)
{
{
// internal static ARTrackableManager<TSubsystem, TSubsystemDescriptor, TSessionRelativeData, TTrackable> instance { get; private set; }
ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 * L_0 = ___value0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0));
((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set_U3CinstanceU3Ek__BackingField_7(L_0);
return;
}
}
// UnityEngine.XR.ARFoundation.TrackableCollection`1<TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::get_trackables()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 ARTrackableManager_4_get_trackables_m6CE4280BC89E0B96C1B6EDB67FDAE107FFB748DE_gshared (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 * __this, const RuntimeMethod* method)
{
{
// public TrackableCollection<TTrackable> trackables => new TrackableCollection<TTrackable>(m_Trackables);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_0 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 L_1;
memset((&L_1), 0, sizeof(L_1));
TrackableCollection_1__ctor_mA99D3D41CAA02EF94BD2B96D6DC1B66450E226FF((&L_1), (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 3));
return L_1;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::SetTrackablesActive(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_SetTrackablesActive_m2FA9ABA0DD7E94009844A1475FB54C2E3F76111C_gshared (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 * __this, bool ___active0, const RuntimeMethod* method)
{
Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED V_0;
memset((&V_0), 0, sizeof(V_0));
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 V_1;
memset((&V_1), 0, sizeof(V_1));
{
// foreach (var trackable in trackables)
NullCheck((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this);
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 L_0 = (( TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 (*) (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 4)->methodPointer)((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 4));
V_1 = (TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 )L_0;
Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED L_1 = TrackableCollection_1_GetEnumerator_mBAA3D036F160A053757196D57318EC6B3F368D02((TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 *)(TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
V_0 = (Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED )L_1;
goto IL_0028;
}
IL_0011:
{
// foreach (var trackable in trackables)
RuntimeObject * L_2 = Enumerator_get_Current_m6D82C8CA15561A8D32BA77CB304C80AF57C4C77E((Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6));
// trackable.gameObject.SetActive(active);
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_2);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_3 = Component_get_gameObject_m0B0570BA8DDD3CD78A9DB568EA18D7317686603C((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_2, /*hidden argument*/NULL);
bool L_4 = ___active0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_3);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_3, (bool)L_4, /*hidden argument*/NULL);
}
IL_0028:
{
// foreach (var trackable in trackables)
bool L_5 = Enumerator_MoveNext_mF64DBEA38614B8A6E085DFC09DD2745BE2ACB9BE((Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
if (L_5)
{
goto IL_0011;
}
}
{
// }
return;
}
}
// UnityEngine.XR.ARFoundation.ARSessionOrigin UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::get_sessionOrigin()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * ARTrackableManager_4_get_sessionOrigin_m39BF6390C2FAD618E1A7A5452B5F6CD3BE7A7D87_gshared (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 * __this, const RuntimeMethod* method)
{
{
// protected ARSessionOrigin sessionOrigin { get; private set; }
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = (ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)__this->get_U3CsessionOriginU3Ek__BackingField_8();
return L_0;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::set_sessionOrigin(UnityEngine.XR.ARFoundation.ARSessionOrigin)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_set_sessionOrigin_m189DBA06B0D6D01E951CF0674C2054A0EB5D3B99_gshared (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 * __this, ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * ___value0, const RuntimeMethod* method)
{
{
// protected ARSessionOrigin sessionOrigin { get; private set; }
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = ___value0;
__this->set_U3CsessionOriginU3Ek__BackingField_8(L_0);
return;
}
}
// UnityEngine.GameObject UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::GetPrefab()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * ARTrackableManager_4_GetPrefab_mE7E2DCC7682486B1E3658018B205D6CCB78F8F18_gshared (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 * __this, const RuntimeMethod* method)
{
{
// protected virtual GameObject GetPrefab() => null;
return (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)NULL;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::Awake()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_Awake_mE74D7D15F5EE5CB93D096FE4CA47D8C541C96454_gshared (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_Awake_mE74D7D15F5EE5CB93D096FE4CA47D8C541C96454_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// sessionOrigin = GetComponent<ARSessionOrigin>();
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = Component_GetComponent_TisARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF_m25BC8791B994BAE33BF9003FFC85124F480EFB17((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)__this, /*hidden argument*/Component_GetComponent_TisARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF_m25BC8791B994BAE33BF9003FFC85124F480EFB17_RuntimeMethod_var);
NullCheck((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this);
(( void (*) (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *, ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this, (ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::OnEnable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnEnable_mD8FC2E81F30A0B8ACC3427612146011463839754_gshared (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_OnEnable_mD8FC2E81F30A0B8ACC3427612146011463839754_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// base.OnEnable();
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
(( void (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10));
// instance = this;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
(( void (*) (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 11)->methodPointer)((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 11));
// sessionOrigin.trackablesParentTransformChanged += OnTrackablesParentTransformChanged;
NullCheck((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB * L_1 = (Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB *)il2cpp_codegen_object_new(Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB_il2cpp_TypeInfo_var);
Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B(L_1, (RuntimeObject *)__this, (intptr_t)((intptr_t)IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)), /*hidden argument*/Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B_RuntimeMethod_var);
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0);
ARSessionOrigin_add_trackablesParentTransformChanged_m59165BB2C4BFB84AD169AF54D2D9B76DBD8A5235((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0, (Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB *)L_1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::OnDisable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnDisable_m0905B23B252286461AFC31D62EC5DCE6AF9A4FBA_gshared (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_OnDisable_m0905B23B252286461AFC31D62EC5DCE6AF9A4FBA_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// base.OnDisable();
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
(( void (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14));
// sessionOrigin.trackablesParentTransformChanged -= OnTrackablesParentTransformChanged;
NullCheck((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB * L_1 = (Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB *)il2cpp_codegen_object_new(Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB_il2cpp_TypeInfo_var);
Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B(L_1, (RuntimeObject *)__this, (intptr_t)((intptr_t)IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)), /*hidden argument*/Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B_RuntimeMethod_var);
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0);
ARSessionOrigin_remove_trackablesParentTransformChanged_mF790C29F00B85A00D500F3420855F4BF75DBA2A4((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0, (Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB *)L_1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Boolean UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::CanBeAddedToSubsystem(TTrackable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ARTrackableManager_4_CanBeAddedToSubsystem_m76FFAF900C196C4E0009F027867C435CD7ED9758_gshared (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 * __this, RuntimeObject * ___trackable0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_CanBeAddedToSubsystem_m76FFAF900C196C4E0009F027867C435CD7ED9758_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// if (trackable == null)
RuntimeObject * L_0 = ___trackable0;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_0, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0019;
}
}
{
// throw new ArgumentNullException(nameof(trackable));
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_2 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_2, (String_t*)_stringLiteral05E5EBD9D5908CC9215021F08ACFBC4B58571C5C, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, ARTrackableManager_4_CanBeAddedToSubsystem_m76FFAF900C196C4E0009F027867C435CD7ED9758_RuntimeMethod_var);
}
IL_0019:
{
// if (!trackable.trackableId.Equals(TrackableId.invalidId))
RuntimeObject * L_3 = ___trackable0;
NullCheck((ARTrackable_2_t88913A417566AF8EAF80C0FF131EC194E7A0E7B4 *)L_3);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_4 = (( TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 (*) (ARTrackable_2_t88913A417566AF8EAF80C0FF131EC194E7A0E7B4 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)((ARTrackable_2_t88913A417566AF8EAF80C0FF131EC194E7A0E7B4 *)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
V_0 = (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_4;
IL2CPP_RUNTIME_CLASS_INIT(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47_il2cpp_TypeInfo_var);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_5 = TrackableId_get_invalidId_mBE9FA1EC8F2EC1575C1B31666EA928A3382DF1CD_inline(/*hidden argument*/NULL);
bool L_6 = TrackableId_Equals_mCE458E0FDCDD6E339FCC1926EE88EB7B3D45F943((TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 *)(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 *)(&V_0), (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_5, /*hidden argument*/NULL);
if (L_6)
{
goto IL_0035;
}
}
{
// return false;
return (bool)0;
}
IL_0035:
{
// if (m_Trackables.ContainsKey(trackable.trackableId))
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_7 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
RuntimeObject * L_8 = ___trackable0;
NullCheck((ARTrackable_2_t88913A417566AF8EAF80C0FF131EC194E7A0E7B4 *)L_8);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_9 = (( TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 (*) (ARTrackable_2_t88913A417566AF8EAF80C0FF131EC194E7A0E7B4 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)((ARTrackable_2_t88913A417566AF8EAF80C0FF131EC194E7A0E7B4 *)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_7);
bool L_10 = (( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_7, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16));
if (!L_10)
{
goto IL_004f;
}
}
{
// return false;
return (bool)0;
}
IL_004f:
{
// if (!enabled || subsystem == null)
NullCheck((Behaviour_tBDC7E9C3C898AD8348891B82D3E345801D920CA8 *)__this);
bool L_11 = Behaviour_get_enabled_mAA0C9ED5A3D1589C1C8AA22636543528DB353CFB((Behaviour_tBDC7E9C3C898AD8348891B82D3E345801D920CA8 *)__this, /*hidden argument*/NULL);
if (!L_11)
{
goto IL_0064;
}
}
{
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
RuntimeObject * L_12 = (( RuntimeObject * (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
if (L_12)
{
goto IL_0072;
}
}
IL_0064:
{
// trackable.pending = true;
RuntimeObject * L_13 = ___trackable0;
NullCheck((ARTrackable_2_t88913A417566AF8EAF80C0FF131EC194E7A0E7B4 *)L_13);
(( void (*) (ARTrackable_2_t88913A417566AF8EAF80C0FF131EC194E7A0E7B4 *, bool, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((ARTrackable_2_t88913A417566AF8EAF80C0FF131EC194E7A0E7B4 *)L_13, (bool)1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
// return false;
return (bool)0;
}
IL_0072:
{
// return sessionOrigin && sessionOrigin.trackablesParent;
NullCheck((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_14 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_15 = Object_op_Implicit_m8B2A44B4B1406ED346D1AE6D962294FD58D0D534((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_14, /*hidden argument*/NULL);
if (!L_15)
{
goto IL_0090;
}
}
{
NullCheck((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_16 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_16);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_17 = ARSessionOrigin_get_trackablesParent_m37049D7E75CF694834A140C2EACB15D2D1098505_inline((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_16, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_18 = Object_op_Implicit_m8B2A44B4B1406ED346D1AE6D962294FD58D0D534((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_17, /*hidden argument*/NULL);
return L_18;
}
IL_0090:
{
return (bool)0;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::OnTrackablesParentTransformChanged(UnityEngine.XR.ARFoundation.ARTrackablesParentTransformChangedEventArgs)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnTrackablesParentTransformChanged_m9D560F9436E0C793A8189DC0E92F3AA14EB6BF2C_gshared (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 * __this, ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 ___eventArgs0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_OnTrackablesParentTransformChanged_m9D560F9436E0C793A8189DC0E92F3AA14EB6BF2C_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED V_0;
memset((&V_0), 0, sizeof(V_0));
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 V_1;
memset((&V_1), 0, sizeof(V_1));
RuntimeObject * V_2 = NULL;
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * V_3 = NULL;
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 V_4;
memset((&V_4), 0, sizeof(V_4));
{
// foreach (var trackable in trackables)
NullCheck((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this);
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 L_0 = (( TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 (*) (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 4)->methodPointer)((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 4));
V_1 = (TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 )L_0;
Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED L_1 = TrackableCollection_1_GetEnumerator_mBAA3D036F160A053757196D57318EC6B3F368D02((TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 *)(TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
V_0 = (Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED )L_1;
goto IL_0066;
}
IL_0011:
{
// foreach (var trackable in trackables)
RuntimeObject * L_2 = Enumerator_get_Current_m6D82C8CA15561A8D32BA77CB304C80AF57C4C77E((Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6));
V_2 = (RuntimeObject *)L_2;
// var transform = trackable.transform;
RuntimeObject * L_3 = V_2;
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_3);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_4 = Component_get_transform_m00F05BD782F920C301A7EBA480F3B7A904C07EC9((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_3, /*hidden argument*/NULL);
V_3 = (Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_4;
// if (transform.parent != eventArgs.trackablesParent)
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_5 = V_3;
NullCheck((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_5);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_6 = Transform_get_parent_m8FA24E38A1FA29D90CBF3CDC9F9F017C65BB3403((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_5, /*hidden argument*/NULL);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_7 = ARTrackablesParentTransformChangedEventArgs_get_trackablesParent_m124F9D34F6DA7E3FAB3E7CB9981820682219FE49_inline((ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 *)(ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 *)(&___eventArgs0), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_8 = Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_6, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_7, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_0066;
}
}
{
// var desiredPose = eventArgs.trackablesParent.TransformPose(trackable.sessionRelativePose);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_9 = ARTrackablesParentTransformChangedEventArgs_get_trackablesParent_m124F9D34F6DA7E3FAB3E7CB9981820682219FE49_inline((ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 *)(ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 *)(&___eventArgs0), /*hidden argument*/NULL);
RuntimeObject * L_10 = V_2;
NullCheck((ARTrackable_2_t88913A417566AF8EAF80C0FF131EC194E7A0E7B4 *)L_10);
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_11 = (( Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 (*) (ARTrackable_2_t88913A417566AF8EAF80C0FF131EC194E7A0E7B4 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20)->methodPointer)((ARTrackable_2_t88913A417566AF8EAF80C0FF131EC194E7A0E7B4 *)L_10, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20));
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_12 = TransformExtensions_TransformPose_m677CE84C622BD23C3DDB2953DDB820E1934B0144((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_9, (Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 )L_11, /*hidden argument*/NULL);
V_4 = (Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 )L_12;
// transform.SetPositionAndRotation(desiredPose.position, desiredPose.rotation);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_13 = V_3;
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_14 = V_4;
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_15 = (Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 )L_14.get_position_0();
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_16 = V_4;
Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 L_17 = (Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 )L_16.get_rotation_1();
NullCheck((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_13);
Transform_SetPositionAndRotation_mDB9B34321018846FD7E2315CBE8D4A6612E3DE43((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_13, (Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 )L_15, (Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 )L_17, /*hidden argument*/NULL);
}
IL_0066:
{
// foreach (var trackable in trackables)
bool L_18 = Enumerator_MoveNext_mF64DBEA38614B8A6E085DFC09DD2745BE2ACB9BE((Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
if (L_18)
{
goto IL_0011;
}
}
{
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::Update()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_Update_mFCCE7C2A3D4569CD1E50995E00066A9A603D706E_gshared (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_Update_mFCCE7C2A3D4569CD1E50995E00066A9A603D706E_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 V_0;
memset((&V_0), 0, sizeof(V_0));
TrackableChanges_1_t5C8C3FBA23E5BBC147A6991B68520A756EF54FDF V_1;
memset((&V_1), 0, sizeof(V_1));
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 V_2;
memset((&V_2), 0, sizeof(V_2));
NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 V_3;
memset((&V_3), 0, sizeof(V_3));
Enumerator_t533CE786298995A804A1B61701D6400CF4483B1E V_4;
memset((&V_4), 0, sizeof(V_4));
XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 V_5;
memset((&V_5), 0, sizeof(V_5));
XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 V_6;
memset((&V_6), 0, sizeof(V_6));
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 V_7;
memset((&V_7), 0, sizeof(V_7));
Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A V_8;
memset((&V_8), 0, sizeof(V_8));
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 V_9;
memset((&V_9), 0, sizeof(V_9));
RuntimeObject * V_10 = NULL;
Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD V_11;
memset((&V_11), 0, sizeof(V_11));
RuntimeObject * V_12 = 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) * 5);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
// if (subsystem == null || !subsystem.running)
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
RuntimeObject * L_0 = (( RuntimeObject * (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
if (!L_0)
{
goto IL_001f;
}
}
{
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
RuntimeObject * L_1 = (( RuntimeObject * (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
NullCheck((Subsystem_t17E4AEB5537DC8AECC37EC3F6FCB46CC7D2C73F6 *)L_1);
bool L_2 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.Subsystem::get_running() */, (Subsystem_t17E4AEB5537DC8AECC37EC3F6FCB46CC7D2C73F6 *)L_1);
if (L_2)
{
goto IL_0020;
}
}
IL_001f:
{
// return;
return;
}
IL_0020:
{
// using (new ScopedProfiler("GetChanges"))
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_0), (String_t*)_stringLiteralE68C28CA8FA3E38258B2081639EE5D1C7F58849B, /*hidden argument*/NULL);
}
IL_002c:
try
{ // begin try (depth: 1)
{
// using (var changes = subsystem.GetChanges(Allocator.Temp))
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
RuntimeObject * L_3 = (( RuntimeObject * (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
NullCheck((TrackingSubsystem_2_tA3D4B822865BAE0754B253CF8551A3EBB7073851 *)L_3);
TrackableChanges_1_t5C8C3FBA23E5BBC147A6991B68520A756EF54FDF L_4 = VirtFuncInvoker1< TrackableChanges_1_t5C8C3FBA23E5BBC147A6991B68520A756EF54FDF , int32_t >::Invoke(14 /* UnityEngine.XR.ARSubsystems.TrackableChanges`1<!0> UnityEngine.XR.ARSubsystems.TrackingSubsystem`2<UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::GetChanges(Unity.Collections.Allocator) */, (TrackingSubsystem_2_tA3D4B822865BAE0754B253CF8551A3EBB7073851 *)L_3, (int32_t)2);
V_1 = (TrackableChanges_1_t5C8C3FBA23E5BBC147A6991B68520A756EF54FDF )L_4;
}
IL_003e:
try
{ // begin try (depth: 2)
{
// using (new ScopedProfiler("ProcessAdded"))
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 L_5;
memset((&L_5), 0, sizeof(L_5));
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((&L_5), (String_t*)_stringLiteral8CC52613125F0E802A5E603C37A6CAE800639F62, /*hidden argument*/NULL);
V_2 = (ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 )L_5;
}
IL_0049:
try
{ // begin try (depth: 3)
{
// ClearAndSetCapacity(s_Added, changes.added.Length);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_6 = ((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Added_11();
NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 L_7 = TrackableChanges_1_get_added_mC31FEFAAC8F70ABBBC324DC618B0DFAB08AAE934_inline((TrackableChanges_1_t5C8C3FBA23E5BBC147A6991B68520A756EF54FDF *)(TrackableChanges_1_t5C8C3FBA23E5BBC147A6991B68520A756EF54FDF *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
V_3 = (NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 )L_7;
int32_t L_8 = IL2CPP_NATIVEARRAY_GET_LENGTH(((NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 *)(NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 *)(&V_3))->___m_Length_1);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_6, (int32_t)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24));
// foreach (var added in changes.added)
NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 L_9 = TrackableChanges_1_get_added_mC31FEFAAC8F70ABBBC324DC618B0DFAB08AAE934_inline((TrackableChanges_1_t5C8C3FBA23E5BBC147A6991B68520A756EF54FDF *)(TrackableChanges_1_t5C8C3FBA23E5BBC147A6991B68520A756EF54FDF *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
V_3 = (NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 )L_9;
Enumerator_t533CE786298995A804A1B61701D6400CF4483B1E L_10 = NativeArray_1_GetEnumerator_m0AE193D90C66BD2CB22C49D77323F1BD7775FBF9((NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 *)(NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 *)(&V_3), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
V_4 = (Enumerator_t533CE786298995A804A1B61701D6400CF4483B1E )L_10;
}
IL_0073:
try
{ // begin try (depth: 4)
{
goto IL_0090;
}
IL_0075:
{
// foreach (var added in changes.added)
XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 L_11 = Enumerator_get_Current_m1E16327F75D3A7E6496D252BD730CE3B55858FE7((Enumerator_t533CE786298995A804A1B61701D6400CF4483B1E *)(Enumerator_t533CE786298995A804A1B61701D6400CF4483B1E *)(&V_4), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
V_5 = (XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 )L_11;
// s_Added.Add(CreateOrUpdateTrackable(added));
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_12 = ((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Added_11();
XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 L_13 = V_5;
NullCheck((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this);
RuntimeObject * L_14 = (( RuntimeObject * (*) (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *, XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this, (XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 )L_13, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_12);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_12, (RuntimeObject *)L_14, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_0090:
{
// foreach (var added in changes.added)
bool L_15 = Enumerator_MoveNext_m345699420F154E8E5508CE0A44444F14EFD566B2((Enumerator_t533CE786298995A804A1B61701D6400CF4483B1E *)(Enumerator_t533CE786298995A804A1B61701D6400CF4483B1E *)(&V_4), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29));
if (L_15)
{
goto IL_0075;
}
}
IL_0099:
{
IL2CPP_LEAVE(0xB7, FINALLY_009b);
}
} // end try (depth: 4)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_009b;
}
FINALLY_009b:
{ // begin finally (depth: 4)
Il2CppFakeBox<Enumerator_t533CE786298995A804A1B61701D6400CF4483B1E > L_16(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 30), (&V_4));
const VirtualInvokeData& il2cpp_virtual_invoke_data__163 = il2cpp_codegen_get_interface_invoke_data(0, (&L_16), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__163.methodPtr)((RuntimeObject*)(&L_16), /*hidden argument*/il2cpp_virtual_invoke_data__163.method);
V_4 = L_16.m_Value;
IL2CPP_END_FINALLY(155)
} // end finally (depth: 4)
IL2CPP_CLEANUP(155)
{
IL2CPP_END_CLEANUP(0xB7, FINALLY_00a9);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 3)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00a9;
}
FINALLY_00a9:
{ // begin finally (depth: 3)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_2), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(169)
} // end finally (depth: 3)
IL2CPP_CLEANUP(169)
{
IL2CPP_JUMP_TBL(0xB7, IL_00b7)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00b7:
{
// using (new ScopedProfiler("ProcessUpdated"))
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 L_17;
memset((&L_17), 0, sizeof(L_17));
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((&L_17), (String_t*)_stringLiteralD84182942D9EE680B64113858F0F32DEDC108F25, /*hidden argument*/NULL);
V_2 = (ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 )L_17;
}
IL_00c2:
try
{ // begin try (depth: 3)
{
// ClearAndSetCapacity(s_Updated, changes.updated.Length);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_18 = ((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Updated_12();
NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 L_19 = TrackableChanges_1_get_updated_m54C710EFD531DFB25ABA289B60FAA4181D479DDF_inline((TrackableChanges_1_t5C8C3FBA23E5BBC147A6991B68520A756EF54FDF *)(TrackableChanges_1_t5C8C3FBA23E5BBC147A6991B68520A756EF54FDF *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
V_3 = (NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 )L_19;
int32_t L_20 = IL2CPP_NATIVEARRAY_GET_LENGTH(((NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 *)(NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 *)(&V_3))->___m_Length_1);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_18, (int32_t)L_20, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24));
// foreach (var updated in changes.updated)
NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 L_21 = TrackableChanges_1_get_updated_m54C710EFD531DFB25ABA289B60FAA4181D479DDF_inline((TrackableChanges_1_t5C8C3FBA23E5BBC147A6991B68520A756EF54FDF *)(TrackableChanges_1_t5C8C3FBA23E5BBC147A6991B68520A756EF54FDF *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
V_3 = (NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 )L_21;
Enumerator_t533CE786298995A804A1B61701D6400CF4483B1E L_22 = NativeArray_1_GetEnumerator_m0AE193D90C66BD2CB22C49D77323F1BD7775FBF9((NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 *)(NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 *)(&V_3), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
V_4 = (Enumerator_t533CE786298995A804A1B61701D6400CF4483B1E )L_22;
}
IL_00ec:
try
{ // begin try (depth: 4)
{
goto IL_0109;
}
IL_00ee:
{
// foreach (var updated in changes.updated)
XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 L_23 = Enumerator_get_Current_m1E16327F75D3A7E6496D252BD730CE3B55858FE7((Enumerator_t533CE786298995A804A1B61701D6400CF4483B1E *)(Enumerator_t533CE786298995A804A1B61701D6400CF4483B1E *)(&V_4), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
V_6 = (XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 )L_23;
// s_Updated.Add(CreateOrUpdateTrackable(updated));
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_24 = ((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Updated_12();
XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 L_25 = V_6;
NullCheck((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this);
RuntimeObject * L_26 = (( RuntimeObject * (*) (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *, XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this, (XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 )L_25, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_24);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_24, (RuntimeObject *)L_26, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_0109:
{
// foreach (var updated in changes.updated)
bool L_27 = Enumerator_MoveNext_m345699420F154E8E5508CE0A44444F14EFD566B2((Enumerator_t533CE786298995A804A1B61701D6400CF4483B1E *)(Enumerator_t533CE786298995A804A1B61701D6400CF4483B1E *)(&V_4), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29));
if (L_27)
{
goto IL_00ee;
}
}
IL_0112:
{
IL2CPP_LEAVE(0x130, FINALLY_0114);
}
} // end try (depth: 4)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0114;
}
FINALLY_0114:
{ // begin finally (depth: 4)
Il2CppFakeBox<Enumerator_t533CE786298995A804A1B61701D6400CF4483B1E > L_28(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 30), (&V_4));
const VirtualInvokeData& il2cpp_virtual_invoke_data__284 = il2cpp_codegen_get_interface_invoke_data(0, (&L_28), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__284.methodPtr)((RuntimeObject*)(&L_28), /*hidden argument*/il2cpp_virtual_invoke_data__284.method);
V_4 = L_28.m_Value;
IL2CPP_END_FINALLY(276)
} // end finally (depth: 4)
IL2CPP_CLEANUP(276)
{
IL2CPP_END_CLEANUP(0x130, FINALLY_0122);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 3)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0122;
}
FINALLY_0122:
{ // begin finally (depth: 3)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_2), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(290)
} // end finally (depth: 3)
IL2CPP_CLEANUP(290)
{
IL2CPP_JUMP_TBL(0x130, IL_0130)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0130:
{
// using (new ScopedProfiler("ProcessRemoved"))
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 L_29;
memset((&L_29), 0, sizeof(L_29));
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((&L_29), (String_t*)_stringLiteralC0371E7E1DB9F795AC51193C554BD9BEF51AD664, /*hidden argument*/NULL);
V_2 = (ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 )L_29;
}
IL_013b:
try
{ // begin try (depth: 3)
{
// ClearAndSetCapacity(s_Removed, changes.removed.Length);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_30 = ((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 L_31 = TrackableChanges_1_get_removed_m9781A441FA95E17CBDB3C4687247859A562AF077_inline((TrackableChanges_1_t5C8C3FBA23E5BBC147A6991B68520A756EF54FDF *)(TrackableChanges_1_t5C8C3FBA23E5BBC147A6991B68520A756EF54FDF *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
V_7 = (NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 )L_31;
int32_t L_32 = IL2CPP_NATIVEARRAY_GET_LENGTH(((NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 *)(NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 *)(&V_7))->___m_Length_1);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_30, (int32_t)L_32, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24));
// foreach (var trackableId in changes.removed)
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 L_33 = TrackableChanges_1_get_removed_m9781A441FA95E17CBDB3C4687247859A562AF077_inline((TrackableChanges_1_t5C8C3FBA23E5BBC147A6991B68520A756EF54FDF *)(TrackableChanges_1_t5C8C3FBA23E5BBC147A6991B68520A756EF54FDF *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
V_7 = (NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 )L_33;
Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A L_34 = NativeArray_1_GetEnumerator_m3B6CA1981A8CE62A1C67FCEEBE1887CD32906DA2((NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 *)(NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 *)(&V_7), /*hidden argument*/NativeArray_1_GetEnumerator_m3B6CA1981A8CE62A1C67FCEEBE1887CD32906DA2_RuntimeMethod_var);
V_8 = (Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A )L_34;
}
IL_0167:
try
{ // begin try (depth: 4)
{
goto IL_01ab;
}
IL_0169:
{
// foreach (var trackableId in changes.removed)
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_35 = Enumerator_get_Current_m913D10AD892E19937C638773D208459E9862248D((Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A *)(Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A *)(&V_8), /*hidden argument*/Enumerator_get_Current_m913D10AD892E19937C638773D208459E9862248D_RuntimeMethod_var);
V_9 = (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_35;
// if (m_Trackables.TryGetValue(trackableId, out var trackable))
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_36 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_37 = V_9;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_36);
bool L_38 = (( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject **, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_36, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_37, (RuntimeObject **)(RuntimeObject **)(&V_10), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
if (!L_38)
{
goto IL_01ab;
}
}
IL_0183:
{
// m_Trackables.Remove(trackableId);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_39 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_40 = V_9;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_39);
(( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_39, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_40, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
// if (trackable)
RuntimeObject * L_41 = V_10;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_42 = Object_op_Implicit_m8B2A44B4B1406ED346D1AE6D962294FD58D0D534((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_41, /*hidden argument*/NULL);
if (!L_42)
{
goto IL_01ab;
}
}
IL_019f:
{
// s_Removed.Add(trackable);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_43 = ((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
RuntimeObject * L_44 = V_10;
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_43);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_43, (RuntimeObject *)L_44, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_01ab:
{
// foreach (var trackableId in changes.removed)
bool L_45 = Enumerator_MoveNext_m3C4C0B0B1AE71E65EF8255E6FC671DDBC829B6AA((Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A *)(Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A *)(&V_8), /*hidden argument*/Enumerator_MoveNext_m3C4C0B0B1AE71E65EF8255E6FC671DDBC829B6AA_RuntimeMethod_var);
if (L_45)
{
goto IL_0169;
}
}
IL_01b4:
{
IL2CPP_LEAVE(0x1EE, FINALLY_01b6);
}
} // end try (depth: 4)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01b6;
}
FINALLY_01b6:
{ // begin finally (depth: 4)
Il2CppFakeBox<Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A > L_46(Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A_il2cpp_TypeInfo_var, (&V_8));
const VirtualInvokeData& il2cpp_virtual_invoke_data__446 = il2cpp_codegen_get_interface_invoke_data(0, (&L_46), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__446.methodPtr)((RuntimeObject*)(&L_46), /*hidden argument*/il2cpp_virtual_invoke_data__446.method);
V_8 = L_46.m_Value;
IL2CPP_END_FINALLY(438)
} // end finally (depth: 4)
IL2CPP_CLEANUP(438)
{
IL2CPP_END_CLEANUP(0x1EE, FINALLY_01c4);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 3)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01c4;
}
FINALLY_01c4:
{ // begin finally (depth: 3)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_2), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(452)
} // end finally (depth: 3)
IL2CPP_CLEANUP(452)
{
IL2CPP_END_CLEANUP(0x1EE, FINALLY_01d2);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01d2;
}
FINALLY_01d2:
{ // begin finally (depth: 2)
Il2CppFakeBox<TrackableChanges_1_t5C8C3FBA23E5BBC147A6991B68520A756EF54FDF > L_47(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 35), (&V_1));
const VirtualInvokeData& il2cpp_virtual_invoke_data__474 = il2cpp_codegen_get_interface_invoke_data(0, (&L_47), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__474.methodPtr)((RuntimeObject*)(&L_47), /*hidden argument*/il2cpp_virtual_invoke_data__474.method);
V_1 = L_47.m_Value;
IL2CPP_END_FINALLY(466)
} // end finally (depth: 2)
IL2CPP_CLEANUP(466)
{
IL2CPP_END_CLEANUP(0x1EE, FINALLY_01e0);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01e0;
}
FINALLY_01e0:
{ // begin finally (depth: 1)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_0), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(480)
} // end finally (depth: 1)
IL2CPP_CLEANUP(480)
{
IL2CPP_JUMP_TBL(0x1EE, IL_01ee)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_01ee:
{
}
IL_01ef:
try
{ // begin try (depth: 1)
{
// if ((s_Added.Count) > 0 ||
// (s_Updated.Count) > 0 ||
// (s_Removed.Count) > 0)
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_48 = ((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Added_11();
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_48);
int32_t L_49 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_48, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36));
if ((((int32_t)L_49) > ((int32_t)0)))
{
goto IL_0216;
}
}
IL_01fc:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_50 = ((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Updated_12();
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_50);
int32_t L_51 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_50, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36));
if ((((int32_t)L_51) > ((int32_t)0)))
{
goto IL_0216;
}
}
IL_0209:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_52 = ((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_52);
int32_t L_53 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_52, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36));
if ((((int32_t)L_53) <= ((int32_t)0)))
{
goto IL_022b;
}
}
IL_0216:
{
// OnTrackablesChanged(s_Added, s_Updated, s_Removed);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_54 = ((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Added_11();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_55 = ((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Updated_12();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_56 = ((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
NullCheck((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this);
VirtActionInvoker3< List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * >::Invoke(13 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::OnTrackablesChanged(System.Collections.Generic.List`1<TTrackable>,System.Collections.Generic.List`1<TTrackable>,System.Collections.Generic.List`1<TTrackable>) */, (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this, (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_54, (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_55, (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_56);
}
IL_022b:
{
// }
IL2CPP_LEAVE(0x266, FINALLY_022d);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_022d;
}
FINALLY_022d:
{ // begin finally (depth: 1)
{
// foreach (var removed in s_Removed)
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_57 = ((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_57);
Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD L_58 = (( Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_57, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38));
V_11 = (Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD )L_58;
}
IL_0239:
try
{ // begin try (depth: 2)
{
goto IL_024c;
}
IL_023b:
{
// foreach (var removed in s_Removed)
RuntimeObject * L_59 = Enumerator_get_Current_mD7829C7E8CFBEDD463B15A951CDE9B90A12CC55C_inline((Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD *)(Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD *)(&V_11), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 39));
V_12 = (RuntimeObject *)L_59;
// DestroyTrackable(removed);
RuntimeObject * L_60 = V_12;
NullCheck((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this);
(( void (*) (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40)->methodPointer)((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this, (RuntimeObject *)L_60, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40));
}
IL_024c:
{
// foreach (var removed in s_Removed)
bool L_61 = Enumerator_MoveNext_m38B1099DDAD7EEDE2F4CDAB11C095AC784AC2E34((Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD *)(Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD *)(&V_11), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 41));
if (L_61)
{
goto IL_023b;
}
}
IL_0255:
{
IL2CPP_LEAVE(0x265, FINALLY_0257);
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0257;
}
FINALLY_0257:
{ // begin finally (depth: 2)
Il2CppFakeBox<Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD > L_62(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 42), (&V_11));
const VirtualInvokeData& il2cpp_virtual_invoke_data__607 = il2cpp_codegen_get_interface_invoke_data(0, (&L_62), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__607.methodPtr)((RuntimeObject*)(&L_62), /*hidden argument*/il2cpp_virtual_invoke_data__607.method);
V_11 = L_62.m_Value;
IL2CPP_END_FINALLY(599)
} // end finally (depth: 2)
IL2CPP_CLEANUP(599)
{
IL2CPP_JUMP_TBL(0x265, IL_0265)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0265:
{
// }
IL2CPP_END_FINALLY(557)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(557)
{
IL2CPP_JUMP_TBL(0x266, IL_0266)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0266:
{
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::OnTrackablesChanged(System.Collections.Generic.List`1<TTrackable>,System.Collections.Generic.List`1<TTrackable>,System.Collections.Generic.List`1<TTrackable>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnTrackablesChanged_mEE77BD11633108F80C07BECBB0F8FADDA12C03C8_gshared (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 * __this, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___added0, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___updated1, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___removed2, const RuntimeMethod* method)
{
{
// { }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::OnCreateTrackable(TTrackable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnCreateTrackable_m3557A610975DF0EBC4D059073039A0E9EDB37DAC_gshared (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 * __this, RuntimeObject * ___trackable0, const RuntimeMethod* method)
{
{
// { }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::OnAfterSetSessionRelativeData(TTrackable,TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnAfterSetSessionRelativeData_m4FA9343E6D237386B87C185EB9197BB0FFADD3EA_gshared (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 * __this, RuntimeObject * ___trackable0, XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 ___sessionRelativeData1, const RuntimeMethod* method)
{
{
// { }
return;
}
}
// TTrackable UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::CreateTrackableImmediate(TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * ARTrackableManager_4_CreateTrackableImmediate_m11F02086CC33E98CDF78DD77A0E62C9A8FFB6339_gshared (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 * __this, XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 ___sessionRelativeData0, const RuntimeMethod* method)
{
RuntimeObject * V_0 = NULL;
{
// var trackable = CreateOrUpdateTrackable(sessionRelativeData);
XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 L_0 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this);
RuntimeObject * L_1 = (( RuntimeObject * (*) (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *, XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this, (XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
V_0 = (RuntimeObject *)L_1;
// trackable.pending = true;
RuntimeObject * L_2 = V_0;
NullCheck((ARTrackable_2_t88913A417566AF8EAF80C0FF131EC194E7A0E7B4 *)L_2);
(( void (*) (ARTrackable_2_t88913A417566AF8EAF80C0FF131EC194E7A0E7B4 *, bool, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((ARTrackable_2_t88913A417566AF8EAF80C0FF131EC194E7A0E7B4 *)L_2, (bool)1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
// m_PendingAdds.Add(trackable.trackableId, trackable);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_3 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
RuntimeObject * L_4 = V_0;
NullCheck((ARTrackable_2_t88913A417566AF8EAF80C0FF131EC194E7A0E7B4 *)L_4);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_5 = (( TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 (*) (ARTrackable_2_t88913A417566AF8EAF80C0FF131EC194E7A0E7B4 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)((ARTrackable_2_t88913A417566AF8EAF80C0FF131EC194E7A0E7B4 *)L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
RuntimeObject * L_6 = V_0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_3);
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_3, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_5, (RuntimeObject *)L_6, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43));
// return trackable;
RuntimeObject * L_7 = V_0;
return L_7;
}
}
// System.Boolean UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::DestroyPendingTrackable(UnityEngine.XR.ARSubsystems.TrackableId)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ARTrackableManager_4_DestroyPendingTrackable_m654D1A0BD40A323AFA8DA8E44CAB579207C8F027_gshared (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 * __this, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___trackableId0, const RuntimeMethod* method)
{
RuntimeObject * V_0 = NULL;
{
// if (m_PendingAdds.TryGetValue(trackableId, out var trackable))
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_0 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_1 = ___trackableId0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_0);
bool L_2 = (( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject **, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_0, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_1, (RuntimeObject **)(RuntimeObject **)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
if (!L_2)
{
goto IL_0033;
}
}
{
// m_PendingAdds.Remove(trackableId);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_3 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_4 = ___trackableId0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_3);
(( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_3, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
// m_Trackables.Remove(trackableId);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_5 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_6 = ___trackableId0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_5);
(( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_5, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_6, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
// DestroyTrackable(trackable);
RuntimeObject * L_7 = V_0;
NullCheck((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this);
(( void (*) (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40)->methodPointer)((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this, (RuntimeObject *)L_7, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40));
// return true;
return (bool)1;
}
IL_0033:
{
// return false;
return (bool)0;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::ClearAndSetCapacity(System.Collections.Generic.List`1<TTrackable>,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_ClearAndSetCapacity_mC8ADC7FCBB09C3F5639249F689AEA8BC1E587087_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___list0, int32_t ___capacity1, const RuntimeMethod* method)
{
{
// list.Clear();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_0 = ___list0;
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_0);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 44)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 44));
// if (list.Capacity < capacity)
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_1 = ___list0;
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_1);
int32_t L_2 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 45)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 45));
int32_t L_3 = ___capacity1;
if ((((int32_t)L_2) >= ((int32_t)L_3)))
{
goto IL_0016;
}
}
{
// list.Capacity = capacity;
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_4 = ___list0;
int32_t L_5 = ___capacity1;
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_4);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 46)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_4, (int32_t)L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 46));
}
IL_0016:
{
// }
return;
}
}
// System.String UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::GetTrackableName(UnityEngine.XR.ARSubsystems.TrackableId)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* ARTrackableManager_4_GetTrackableName_m3A729E918B8EE0054C786CDE02ECF256277A5D6D_gshared (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 * __this, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___trackableId0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_GetTrackableName_m3A729E918B8EE0054C786CDE02ECF256277A5D6D_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// return gameObjectName + " " + trackableId.ToString();
NullCheck((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this);
String_t* L_0 = VirtFuncInvoker0< String_t* >::Invoke(9 /* System.String UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::get_gameObjectName() */, (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this);
String_t* L_1 = TrackableId_ToString_mBA49191865E57697F4279D2781B182590726A215((TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 *)(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 *)(&___trackableId0), /*hidden argument*/NULL);
String_t* L_2 = String_Concat_mF4626905368D6558695A823466A1AF65EADB9923((String_t*)L_0, (String_t*)_stringLiteralB858CB282617FB0956D960215C8E84D1CCF909C6, (String_t*)L_1, /*hidden argument*/NULL);
return L_2;
}
}
// System.ValueTuple`2<UnityEngine.GameObject,System.Boolean> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::CreateGameObjectDeactivated()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 ARTrackableManager_4_CreateGameObjectDeactivated_m797369AB188901177383607E606113EBAA5F04C5_gshared (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_CreateGameObjectDeactivated_m797369AB188901177383607E606113EBAA5F04C5_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * V_0 = NULL;
bool V_1 = false;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * V_2 = NULL;
{
// var prefab = GetPrefab();
NullCheck((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_0 = VirtFuncInvoker0< GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * >::Invoke(10 /* UnityEngine.GameObject UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::GetPrefab() */, (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this);
V_0 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_0;
// if (prefab == null)
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_1 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_1, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0039;
}
}
{
// var gameObject = new GameObject();
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_3 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)il2cpp_codegen_object_new(GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F_il2cpp_TypeInfo_var);
GameObject__ctor_mA4DFA8F4471418C248E95B55070665EF344B4B2D(L_3, /*hidden argument*/NULL);
// gameObject.SetActive(false);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_4 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_3;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_4);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_4, (bool)0, /*hidden argument*/NULL);
// gameObject.transform.parent = sessionOrigin.trackablesParent;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_5 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_4;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_6 = GameObject_get_transform_mA5C38857137F137CB96C69FAA624199EB1C2FB2C((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5, /*hidden argument*/NULL);
NullCheck((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_7 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_7);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_8 = ARSessionOrigin_get_trackablesParent_m37049D7E75CF694834A140C2EACB15D2D1098505_inline((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_7, /*hidden argument*/NULL);
NullCheck((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_6);
Transform_set_parent_m65B8E4660B2C554069C57A957D9E55FECA7AA73E((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_6, (Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_8, /*hidden argument*/NULL);
// return (gameObject, true);
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_9;
memset((&L_9), 0, sizeof(L_9));
ValueTuple_2__ctor_m73A57D85868E9347B9DCD08AB9585E9B191478F7((&L_9), (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5, (bool)1, /*hidden argument*/ValueTuple_2__ctor_m73A57D85868E9347B9DCD08AB9585E9B191478F7_RuntimeMethod_var);
return L_9;
}
IL_0039:
{
// var active = prefab.activeSelf;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_10 = V_0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_10);
bool L_11 = GameObject_get_activeSelf_mFE1834886CAE59884AC2BE707A3B821A1DB61F44((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_10, /*hidden argument*/NULL);
V_1 = (bool)L_11;
// prefab.SetActive(false);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_12 = V_0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_12);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_12, (bool)0, /*hidden argument*/NULL);
// var gameObject = Instantiate(prefab, sessionOrigin.trackablesParent);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_13 = V_0;
NullCheck((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_14 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_14);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_15 = ARSessionOrigin_get_trackablesParent_m37049D7E75CF694834A140C2EACB15D2D1098505_inline((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_14, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_16 = Object_Instantiate_TisGameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F_m1CDF66D563B03D37B37264800222D4F3B307EDA0((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_13, (Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_15, /*hidden argument*/Object_Instantiate_TisGameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F_m1CDF66D563B03D37B37264800222D4F3B307EDA0_RuntimeMethod_var);
V_2 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_16;
// prefab.SetActive(active);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_17 = V_0;
bool L_18 = V_1;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_17);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_17, (bool)L_18, /*hidden argument*/NULL);
// return (gameObject, active);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_19 = V_2;
bool L_20 = V_1;
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_21;
memset((&L_21), 0, sizeof(L_21));
ValueTuple_2__ctor_m73A57D85868E9347B9DCD08AB9585E9B191478F7((&L_21), (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_19, (bool)L_20, /*hidden argument*/ValueTuple_2__ctor_m73A57D85868E9347B9DCD08AB9585E9B191478F7_RuntimeMethod_var);
return L_21;
}
}
// System.ValueTuple`2<UnityEngine.GameObject,System.Boolean> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::CreateGameObjectDeactivated(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 ARTrackableManager_4_CreateGameObjectDeactivated_mB9DFF90CCBB32101FABEDEC77CA9A51AAFA801FB_gshared (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 * __this, String_t* ___name0, const RuntimeMethod* method)
{
{
// var tuple = CreateGameObjectDeactivated();
NullCheck((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this);
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_0 = (( ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 (*) (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 49)->methodPointer)((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 49));
// tuple.gameObject.name = name;
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_1 = (ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 )L_0;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_2 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_1.get_Item1_0();
String_t* L_3 = ___name0;
NullCheck((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_2);
Object_set_name_m538711B144CDE30F929376BCF72D0DC8F85D0826((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_2, (String_t*)L_3, /*hidden argument*/NULL);
// return tuple;
return L_1;
}
}
// System.ValueTuple`2<UnityEngine.GameObject,System.Boolean> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::CreateGameObjectDeactivated(UnityEngine.XR.ARSubsystems.TrackableId)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 ARTrackableManager_4_CreateGameObjectDeactivated_m1BD8FC11A1123FC88F0E55452D66E43B0812C8C0_gshared (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 * __this, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___trackableId0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_CreateGameObjectDeactivated_m1BD8FC11A1123FC88F0E55452D66E43B0812C8C0_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 V_0;
memset((&V_0), 0, sizeof(V_0));
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 V_1;
memset((&V_1), 0, sizeof(V_1));
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);
{
// using (new ScopedProfiler("CreateGameObject"))
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_0), (String_t*)_stringLiteralA1BA014E93BB1085A758A3F66948C9CAC874B9BD, /*hidden argument*/NULL);
}
IL_000c:
try
{ // begin try (depth: 1)
// return CreateGameObjectDeactivated(GetTrackableName(trackableId));
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = ___trackableId0;
NullCheck((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this);
String_t* L_1 = (( String_t* (*) (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 50)->methodPointer)((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 50));
NullCheck((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this);
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_2 = (( ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 (*) (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *, String_t*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 51)->methodPointer)((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this, (String_t*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 51));
V_1 = (ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 )L_2;
IL2CPP_LEAVE(0x2A, FINALLY_001c);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_001c;
}
FINALLY_001c:
{ // begin finally (depth: 1)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_0), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(28)
} // end finally (depth: 1)
IL2CPP_CLEANUP(28)
{
IL2CPP_JUMP_TBL(0x2A, IL_002a)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_002a:
{
// }
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_3 = V_1;
return L_3;
}
}
// TTrackable UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::CreateTrackable(TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * ARTrackableManager_4_CreateTrackable_mD780DF98A090F7D6AD235EDD4EEDFC03D5782E70_gshared (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 * __this, XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 ___sessionRelativeData0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_CreateTrackable_mD780DF98A090F7D6AD235EDD4EEDFC03D5782E70_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * V_0 = NULL;
bool V_1 = false;
RuntimeObject * V_2 = NULL;
{
// var (gameObject, shouldBeActive) = CreateGameObjectDeactivated(sessionRelativeData.trackableId);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = XRReferencePoint_get_trackableId_m6D53542802F2444CE58861B8868274F9A8296D88_inline((XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 *)(XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 *)(&___sessionRelativeData0), /*hidden argument*/NULL);
NullCheck((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this);
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_1 = (( ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 (*) (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 53)->methodPointer)((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 53));
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_2 = (ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 )L_1;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_3 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_2.get_Item1_0();
V_0 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_3;
bool L_4 = (bool)L_2.get_Item2_1();
V_1 = (bool)L_4;
// var trackable = gameObject.GetComponent<TTrackable>();
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_5 = V_0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5);
RuntimeObject * L_6 = (( RuntimeObject * (*) (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 54)->methodPointer)((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 54));
V_2 = (RuntimeObject *)L_6;
// if (trackable == null)
RuntimeObject * L_7 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_8 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_7, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_003c;
}
}
{
// trackable = gameObject.AddComponent<TTrackable>();
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_9 = V_0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_9);
RuntimeObject * L_10 = (( RuntimeObject * (*) (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 55)->methodPointer)((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 55));
V_2 = (RuntimeObject *)L_10;
}
IL_003c:
{
// m_Trackables.Add(sessionRelativeData.trackableId, trackable);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_11 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_12 = XRReferencePoint_get_trackableId_m6D53542802F2444CE58861B8868274F9A8296D88_inline((XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 *)(XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 *)(&___sessionRelativeData0), /*hidden argument*/NULL);
RuntimeObject * L_13 = V_2;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_11);
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_11, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_12, (RuntimeObject *)L_13, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43));
// SetSessionRelativeData(trackable, sessionRelativeData);
RuntimeObject * L_14 = V_2;
XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 L_15 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this);
(( void (*) (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *, RuntimeObject *, XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56)->methodPointer)((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this, (RuntimeObject *)L_14, (XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 )L_15, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56));
// trackable.gameObject.SetActive(shouldBeActive);
RuntimeObject * L_16 = V_2;
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_16);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_17 = Component_get_gameObject_m0B0570BA8DDD3CD78A9DB568EA18D7317686603C((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_16, /*hidden argument*/NULL);
bool L_18 = V_1;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_17);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_17, (bool)L_18, /*hidden argument*/NULL);
// return trackable;
RuntimeObject * L_19 = V_2;
return L_19;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::SetSessionRelativeData(TTrackable,TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_SetSessionRelativeData_m0C6C98F42EF35DBEF0CE1B798A4D5687F87E206C_gshared (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 * __this, RuntimeObject * ___trackable0, XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 ___data1, const RuntimeMethod* method)
{
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// trackable.SetSessionRelativeData(data);
RuntimeObject * L_0 = ___trackable0;
XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 L_1 = ___data1;
NullCheck((ARTrackable_2_t88913A417566AF8EAF80C0FF131EC194E7A0E7B4 *)L_0);
(( void (*) (ARTrackable_2_t88913A417566AF8EAF80C0FF131EC194E7A0E7B4 *, XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 57)->methodPointer)((ARTrackable_2_t88913A417566AF8EAF80C0FF131EC194E7A0E7B4 *)L_0, (XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 )L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 57));
// var worldSpacePose = sessionOrigin.trackablesParent.TransformPose(data.pose);
NullCheck((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_2 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_2);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_3 = ARSessionOrigin_get_trackablesParent_m37049D7E75CF694834A140C2EACB15D2D1098505_inline((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_2, /*hidden argument*/NULL);
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_4 = XRReferencePoint_get_pose_mA4320629B8C7AE23D97FCD8E2C5FB9C9FB6AED9C_inline((XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 *)(XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 *)(&___data1), /*hidden argument*/NULL);
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_5 = TransformExtensions_TransformPose_m677CE84C622BD23C3DDB2953DDB820E1934B0144((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_3, (Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 )L_4, /*hidden argument*/NULL);
V_0 = (Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 )L_5;
// trackable.transform.SetPositionAndRotation(worldSpacePose.position, worldSpacePose.rotation);
RuntimeObject * L_6 = ___trackable0;
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_6);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_7 = Component_get_transform_m00F05BD782F920C301A7EBA480F3B7A904C07EC9((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_6, /*hidden argument*/NULL);
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_8 = V_0;
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_9 = (Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 )L_8.get_position_0();
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_10 = V_0;
Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 L_11 = (Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 )L_10.get_rotation_1();
NullCheck((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_7);
Transform_SetPositionAndRotation_mDB9B34321018846FD7E2315CBE8D4A6612E3DE43((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_7, (Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 )L_9, (Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 )L_11, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::CreateTrackableFromExisting(TTrackable,TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_CreateTrackableFromExisting_m1A161DC4233A7CA5A25C386E7A23876C2CC19517_gshared (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 * __this, RuntimeObject * ___existingTrackable0, XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 ___sessionRelativeData1, const RuntimeMethod* method)
{
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// var trackableId = sessionRelativeData.trackableId;
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = XRReferencePoint_get_trackableId_m6D53542802F2444CE58861B8868274F9A8296D88_inline((XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 *)(XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 *)(&___sessionRelativeData1), /*hidden argument*/NULL);
V_0 = (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_0;
// m_Trackables.Add(trackableId, existingTrackable);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_1 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_2 = V_0;
RuntimeObject * L_3 = ___existingTrackable0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_1);
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_1, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_2, (RuntimeObject *)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43));
// SetSessionRelativeData(existingTrackable, sessionRelativeData);
RuntimeObject * L_4 = ___existingTrackable0;
XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 L_5 = ___sessionRelativeData1;
NullCheck((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this);
(( void (*) (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *, RuntimeObject *, XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56)->methodPointer)((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this, (RuntimeObject *)L_4, (XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 )L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56));
// OnCreateTrackable(existingTrackable);
RuntimeObject * L_6 = ___existingTrackable0;
NullCheck((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this);
VirtActionInvoker1< RuntimeObject * >::Invoke(14 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::OnCreateTrackable(TTrackable) */, (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this, (RuntimeObject *)L_6);
// OnAfterSetSessionRelativeData(existingTrackable, sessionRelativeData);
RuntimeObject * L_7 = ___existingTrackable0;
XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 L_8 = ___sessionRelativeData1;
NullCheck((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this);
VirtActionInvoker2< RuntimeObject *, XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 >::Invoke(15 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::OnAfterSetSessionRelativeData(TTrackable,TSessionRelativeData) */, (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this, (RuntimeObject *)L_7, (XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 )L_8);
// existingTrackable.OnAfterSetSessionRelativeData();
RuntimeObject * L_9 = ___existingTrackable0;
NullCheck((ARTrackable_2_t88913A417566AF8EAF80C0FF131EC194E7A0E7B4 *)L_9);
VirtActionInvoker0::Invoke(4 /* System.Void UnityEngine.XR.ARFoundation.ARTrackable`2<UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::OnAfterSetSessionRelativeData() */, (ARTrackable_2_t88913A417566AF8EAF80C0FF131EC194E7A0E7B4 *)L_9);
// m_PendingAdds.Add(trackableId, existingTrackable);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_10 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_11 = V_0;
RuntimeObject * L_12 = ___existingTrackable0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_10);
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_10, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_11, (RuntimeObject *)L_12, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43));
// existingTrackable.pending = true;
RuntimeObject * L_13 = ___existingTrackable0;
NullCheck((ARTrackable_2_t88913A417566AF8EAF80C0FF131EC194E7A0E7B4 *)L_13);
(( void (*) (ARTrackable_2_t88913A417566AF8EAF80C0FF131EC194E7A0E7B4 *, bool, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((ARTrackable_2_t88913A417566AF8EAF80C0FF131EC194E7A0E7B4 *)L_13, (bool)1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
// }
return;
}
}
// TTrackable UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::CreateOrUpdateTrackable(TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * ARTrackableManager_4_CreateOrUpdateTrackable_m7CA67CD541A3A99C2EA242B24217B4E933923459_gshared (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 * __this, XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 ___sessionRelativeData0, const RuntimeMethod* method)
{
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 V_0;
memset((&V_0), 0, sizeof(V_0));
RuntimeObject * V_1 = NULL;
{
// var trackableId = sessionRelativeData.trackableId;
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = XRReferencePoint_get_trackableId_m6D53542802F2444CE58861B8868274F9A8296D88_inline((XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 *)(XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 *)(&___sessionRelativeData0), /*hidden argument*/NULL);
V_0 = (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_0;
// if (m_Trackables.TryGetValue(trackableId, out var trackable))
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_1 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_2 = V_0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_1);
bool L_3 = (( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject **, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_1, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_2, (RuntimeObject **)(RuntimeObject **)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
if (!L_3)
{
goto IL_0041;
}
}
{
// m_PendingAdds.Remove(trackableId);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_4 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_5 = V_0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_4);
(( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_4, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
// trackable.pending = false;
RuntimeObject * L_6 = V_1;
NullCheck((ARTrackable_2_t88913A417566AF8EAF80C0FF131EC194E7A0E7B4 *)L_6);
(( void (*) (ARTrackable_2_t88913A417566AF8EAF80C0FF131EC194E7A0E7B4 *, bool, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((ARTrackable_2_t88913A417566AF8EAF80C0FF131EC194E7A0E7B4 *)L_6, (bool)0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
// SetSessionRelativeData(trackable, sessionRelativeData);
RuntimeObject * L_7 = V_1;
XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 L_8 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this);
(( void (*) (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *, RuntimeObject *, XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56)->methodPointer)((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this, (RuntimeObject *)L_7, (XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 )L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56));
// }
goto IL_0050;
}
IL_0041:
{
// trackable = CreateTrackable(sessionRelativeData);
XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 L_9 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this);
RuntimeObject * L_10 = (( RuntimeObject * (*) (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *, XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 61)->methodPointer)((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this, (XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 )L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 61));
V_1 = (RuntimeObject *)L_10;
// OnCreateTrackable(trackable);
RuntimeObject * L_11 = V_1;
NullCheck((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this);
VirtActionInvoker1< RuntimeObject * >::Invoke(14 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::OnCreateTrackable(TTrackable) */, (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this, (RuntimeObject *)L_11);
}
IL_0050:
{
// OnAfterSetSessionRelativeData(trackable, sessionRelativeData);
RuntimeObject * L_12 = V_1;
XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 L_13 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this);
VirtActionInvoker2< RuntimeObject *, XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 >::Invoke(15 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::OnAfterSetSessionRelativeData(TTrackable,TSessionRelativeData) */, (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 *)__this, (RuntimeObject *)L_12, (XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 )L_13);
// trackable.OnAfterSetSessionRelativeData();
RuntimeObject * L_14 = V_1;
NullCheck((ARTrackable_2_t88913A417566AF8EAF80C0FF131EC194E7A0E7B4 *)L_14);
VirtActionInvoker0::Invoke(4 /* System.Void UnityEngine.XR.ARFoundation.ARTrackable`2<UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::OnAfterSetSessionRelativeData() */, (ARTrackable_2_t88913A417566AF8EAF80C0FF131EC194E7A0E7B4 *)L_14);
// return trackable;
RuntimeObject * L_15 = V_1;
return L_15;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::DestroyTrackable(TTrackable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_DestroyTrackable_mA6474494ED47CBFE2012D28208C70CD244C3C3AD_gshared (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 * __this, RuntimeObject * ___trackable0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_DestroyTrackable_mA6474494ED47CBFE2012D28208C70CD244C3C3AD_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (trackable.destroyOnRemoval)
RuntimeObject * L_0 = ___trackable0;
NullCheck((ARTrackable_2_t88913A417566AF8EAF80C0FF131EC194E7A0E7B4 *)L_0);
bool L_1 = (( bool (*) (ARTrackable_2_t88913A417566AF8EAF80C0FF131EC194E7A0E7B4 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 62)->methodPointer)((ARTrackable_2_t88913A417566AF8EAF80C0FF131EC194E7A0E7B4 *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 62));
if (!L_1)
{
goto IL_001d;
}
}
{
// Destroy(trackable.gameObject);
RuntimeObject * L_2 = ___trackable0;
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_2);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_3 = Component_get_gameObject_m0B0570BA8DDD3CD78A9DB568EA18D7317686603C((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_2, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
Object_Destroy_m23B4562495BA35A74266D4372D45368F8C05109A((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_3, /*hidden argument*/NULL);
}
IL_001d:
{
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4__ctor_mDCE43C733D585FF120193156AC2D620707EBFD86_gshared (ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13 * __this, const RuntimeMethod* method)
{
{
// protected Dictionary<TrackableId, TTrackable> m_Trackables = new Dictionary<TrackableId, TTrackable>();
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_0 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 63));
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 64)->methodPointer)(L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 64));
__this->set_m_Trackables_9(L_0);
// protected Dictionary<TrackableId, TTrackable> m_PendingAdds = new Dictionary<TrackableId, TTrackable>();
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_1 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 63));
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 64)->methodPointer)(L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 64));
__this->set_m_PendingAdds_10(L_1);
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1));
(( void (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 65)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 65));
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRReferencePoint,System.Object>::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4__cctor_m9BB2F81F00E707AE117C25D0B5DC2C4AF577A113_gshared (const RuntimeMethod* method)
{
{
// static List<TTrackable> s_Added = new List<TTrackable>();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_0 = (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 66));
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67)->methodPointer)(L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67));
((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set_s_Added_11(L_0);
// static List<TTrackable> s_Updated = new List<TTrackable>();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_1 = (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 66));
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67)->methodPointer)(L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67));
((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set_s_Updated_12(L_1);
// static List<TTrackable> s_Removed = new List<TTrackable>();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_2 = (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 66));
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67)->methodPointer)(L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67));
((ARTrackableManager_4_t3F7454DAB341B63418D48A8B61002625B021BF13_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set_s_Removed_13(L_2);
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
// UnityEngine.XR.ARFoundation.ARTrackableManager`4<TSubsystem,TSubsystemDescriptor,TSessionRelativeData,TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::get_instance()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 * ARTrackableManager_4_get_instance_m04877DDE3768408DDEB4218B8211EED7097D98D3_gshared (const RuntimeMethod* method)
{
{
// internal static ARTrackableManager<TSubsystem, TSubsystemDescriptor, TSessionRelativeData, TTrackable> instance { get; private set; }
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0));
ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 * L_0 = ((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->get_U3CinstanceU3Ek__BackingField_7();
return L_0;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::set_instance(UnityEngine.XR.ARFoundation.ARTrackableManager`4<TSubsystem,TSubsystemDescriptor,TSessionRelativeData,TTrackable>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_set_instance_m44818EE46E74532F0EF3482949099F329226DAFA_gshared (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 * ___value0, const RuntimeMethod* method)
{
{
// internal static ARTrackableManager<TSubsystem, TSubsystemDescriptor, TSessionRelativeData, TTrackable> instance { get; private set; }
ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 * L_0 = ___value0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0));
((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set_U3CinstanceU3Ek__BackingField_7(L_0);
return;
}
}
// UnityEngine.XR.ARFoundation.TrackableCollection`1<TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::get_trackables()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 ARTrackableManager_4_get_trackables_mEF8C2818150FC35541B76B6C1F971387ECA91C3E_gshared (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 * __this, const RuntimeMethod* method)
{
{
// public TrackableCollection<TTrackable> trackables => new TrackableCollection<TTrackable>(m_Trackables);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_0 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 L_1;
memset((&L_1), 0, sizeof(L_1));
TrackableCollection_1__ctor_mA99D3D41CAA02EF94BD2B96D6DC1B66450E226FF((&L_1), (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 3));
return L_1;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::SetTrackablesActive(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_SetTrackablesActive_m96132F8C822F75B9198EC1FA460F35A2235BB9B0_gshared (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 * __this, bool ___active0, const RuntimeMethod* method)
{
Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED V_0;
memset((&V_0), 0, sizeof(V_0));
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 V_1;
memset((&V_1), 0, sizeof(V_1));
{
// foreach (var trackable in trackables)
NullCheck((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this);
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 L_0 = (( TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 (*) (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 4)->methodPointer)((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 4));
V_1 = (TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 )L_0;
Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED L_1 = TrackableCollection_1_GetEnumerator_mBAA3D036F160A053757196D57318EC6B3F368D02((TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 *)(TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
V_0 = (Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED )L_1;
goto IL_0028;
}
IL_0011:
{
// foreach (var trackable in trackables)
RuntimeObject * L_2 = Enumerator_get_Current_m6D82C8CA15561A8D32BA77CB304C80AF57C4C77E((Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6));
// trackable.gameObject.SetActive(active);
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_2);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_3 = Component_get_gameObject_m0B0570BA8DDD3CD78A9DB568EA18D7317686603C((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_2, /*hidden argument*/NULL);
bool L_4 = ___active0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_3);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_3, (bool)L_4, /*hidden argument*/NULL);
}
IL_0028:
{
// foreach (var trackable in trackables)
bool L_5 = Enumerator_MoveNext_mF64DBEA38614B8A6E085DFC09DD2745BE2ACB9BE((Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
if (L_5)
{
goto IL_0011;
}
}
{
// }
return;
}
}
// UnityEngine.XR.ARFoundation.ARSessionOrigin UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::get_sessionOrigin()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * ARTrackableManager_4_get_sessionOrigin_m3A85DABB41E0256286B347FEA5A1B2F25C2087B6_gshared (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 * __this, const RuntimeMethod* method)
{
{
// protected ARSessionOrigin sessionOrigin { get; private set; }
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = (ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)__this->get_U3CsessionOriginU3Ek__BackingField_8();
return L_0;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::set_sessionOrigin(UnityEngine.XR.ARFoundation.ARSessionOrigin)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_set_sessionOrigin_mB7194DE30294FDC359CFC91BFDD64EEE77D4CA59_gshared (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 * __this, ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * ___value0, const RuntimeMethod* method)
{
{
// protected ARSessionOrigin sessionOrigin { get; private set; }
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = ___value0;
__this->set_U3CsessionOriginU3Ek__BackingField_8(L_0);
return;
}
}
// UnityEngine.GameObject UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::GetPrefab()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * ARTrackableManager_4_GetPrefab_mC7FF80006E952B45C9A7740DCAB7C096DE969529_gshared (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 * __this, const RuntimeMethod* method)
{
{
// protected virtual GameObject GetPrefab() => null;
return (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)NULL;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::Awake()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_Awake_mC7D5B2CA8D1E90C5214A03C8F372C2F045A287DF_gshared (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_Awake_mC7D5B2CA8D1E90C5214A03C8F372C2F045A287DF_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// sessionOrigin = GetComponent<ARSessionOrigin>();
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = Component_GetComponent_TisARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF_m25BC8791B994BAE33BF9003FFC85124F480EFB17((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)__this, /*hidden argument*/Component_GetComponent_TisARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF_m25BC8791B994BAE33BF9003FFC85124F480EFB17_RuntimeMethod_var);
NullCheck((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this);
(( void (*) (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *, ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this, (ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::OnEnable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnEnable_m199A2C1160B139EF6B85F05963CF84A45DC80111_gshared (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_OnEnable_m199A2C1160B139EF6B85F05963CF84A45DC80111_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// base.OnEnable();
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
(( void (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10));
// instance = this;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
(( void (*) (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 11)->methodPointer)((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 11));
// sessionOrigin.trackablesParentTransformChanged += OnTrackablesParentTransformChanged;
NullCheck((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB * L_1 = (Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB *)il2cpp_codegen_object_new(Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB_il2cpp_TypeInfo_var);
Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B(L_1, (RuntimeObject *)__this, (intptr_t)((intptr_t)IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)), /*hidden argument*/Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B_RuntimeMethod_var);
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0);
ARSessionOrigin_add_trackablesParentTransformChanged_m59165BB2C4BFB84AD169AF54D2D9B76DBD8A5235((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0, (Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB *)L_1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::OnDisable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnDisable_m1497B58F6E6CFC3647A90A32410A39B72D5B4BA1_gshared (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_OnDisable_m1497B58F6E6CFC3647A90A32410A39B72D5B4BA1_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// base.OnDisable();
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
(( void (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14));
// sessionOrigin.trackablesParentTransformChanged -= OnTrackablesParentTransformChanged;
NullCheck((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB * L_1 = (Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB *)il2cpp_codegen_object_new(Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB_il2cpp_TypeInfo_var);
Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B(L_1, (RuntimeObject *)__this, (intptr_t)((intptr_t)IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)), /*hidden argument*/Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B_RuntimeMethod_var);
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0);
ARSessionOrigin_remove_trackablesParentTransformChanged_mF790C29F00B85A00D500F3420855F4BF75DBA2A4((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0, (Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB *)L_1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Boolean UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::CanBeAddedToSubsystem(TTrackable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ARTrackableManager_4_CanBeAddedToSubsystem_m5214D6A39E6817D5AA77F69984FEFC2137EC1AB7_gshared (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 * __this, RuntimeObject * ___trackable0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_CanBeAddedToSubsystem_m5214D6A39E6817D5AA77F69984FEFC2137EC1AB7_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// if (trackable == null)
RuntimeObject * L_0 = ___trackable0;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_0, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0019;
}
}
{
// throw new ArgumentNullException(nameof(trackable));
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_2 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_2, (String_t*)_stringLiteral05E5EBD9D5908CC9215021F08ACFBC4B58571C5C, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, ARTrackableManager_4_CanBeAddedToSubsystem_m5214D6A39E6817D5AA77F69984FEFC2137EC1AB7_RuntimeMethod_var);
}
IL_0019:
{
// if (!trackable.trackableId.Equals(TrackableId.invalidId))
RuntimeObject * L_3 = ___trackable0;
NullCheck((ARTrackable_2_tDC22DD8BD2173402258A323598A3378BE19FACCB *)L_3);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_4 = (( TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 (*) (ARTrackable_2_tDC22DD8BD2173402258A323598A3378BE19FACCB *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)((ARTrackable_2_tDC22DD8BD2173402258A323598A3378BE19FACCB *)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
V_0 = (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_4;
IL2CPP_RUNTIME_CLASS_INIT(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47_il2cpp_TypeInfo_var);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_5 = TrackableId_get_invalidId_mBE9FA1EC8F2EC1575C1B31666EA928A3382DF1CD_inline(/*hidden argument*/NULL);
bool L_6 = TrackableId_Equals_mCE458E0FDCDD6E339FCC1926EE88EB7B3D45F943((TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 *)(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 *)(&V_0), (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_5, /*hidden argument*/NULL);
if (L_6)
{
goto IL_0035;
}
}
{
// return false;
return (bool)0;
}
IL_0035:
{
// if (m_Trackables.ContainsKey(trackable.trackableId))
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_7 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
RuntimeObject * L_8 = ___trackable0;
NullCheck((ARTrackable_2_tDC22DD8BD2173402258A323598A3378BE19FACCB *)L_8);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_9 = (( TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 (*) (ARTrackable_2_tDC22DD8BD2173402258A323598A3378BE19FACCB *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)((ARTrackable_2_tDC22DD8BD2173402258A323598A3378BE19FACCB *)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_7);
bool L_10 = (( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_7, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16));
if (!L_10)
{
goto IL_004f;
}
}
{
// return false;
return (bool)0;
}
IL_004f:
{
// if (!enabled || subsystem == null)
NullCheck((Behaviour_tBDC7E9C3C898AD8348891B82D3E345801D920CA8 *)__this);
bool L_11 = Behaviour_get_enabled_mAA0C9ED5A3D1589C1C8AA22636543528DB353CFB((Behaviour_tBDC7E9C3C898AD8348891B82D3E345801D920CA8 *)__this, /*hidden argument*/NULL);
if (!L_11)
{
goto IL_0064;
}
}
{
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
RuntimeObject * L_12 = (( RuntimeObject * (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
if (L_12)
{
goto IL_0072;
}
}
IL_0064:
{
// trackable.pending = true;
RuntimeObject * L_13 = ___trackable0;
NullCheck((ARTrackable_2_tDC22DD8BD2173402258A323598A3378BE19FACCB *)L_13);
(( void (*) (ARTrackable_2_tDC22DD8BD2173402258A323598A3378BE19FACCB *, bool, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((ARTrackable_2_tDC22DD8BD2173402258A323598A3378BE19FACCB *)L_13, (bool)1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
// return false;
return (bool)0;
}
IL_0072:
{
// return sessionOrigin && sessionOrigin.trackablesParent;
NullCheck((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_14 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_15 = Object_op_Implicit_m8B2A44B4B1406ED346D1AE6D962294FD58D0D534((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_14, /*hidden argument*/NULL);
if (!L_15)
{
goto IL_0090;
}
}
{
NullCheck((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_16 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_16);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_17 = ARSessionOrigin_get_trackablesParent_m37049D7E75CF694834A140C2EACB15D2D1098505_inline((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_16, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_18 = Object_op_Implicit_m8B2A44B4B1406ED346D1AE6D962294FD58D0D534((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_17, /*hidden argument*/NULL);
return L_18;
}
IL_0090:
{
return (bool)0;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::OnTrackablesParentTransformChanged(UnityEngine.XR.ARFoundation.ARTrackablesParentTransformChangedEventArgs)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnTrackablesParentTransformChanged_mE347D1051D74DF08B1D2B77324573BA94C074D0E_gshared (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 * __this, ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 ___eventArgs0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_OnTrackablesParentTransformChanged_mE347D1051D74DF08B1D2B77324573BA94C074D0E_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED V_0;
memset((&V_0), 0, sizeof(V_0));
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 V_1;
memset((&V_1), 0, sizeof(V_1));
RuntimeObject * V_2 = NULL;
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * V_3 = NULL;
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 V_4;
memset((&V_4), 0, sizeof(V_4));
{
// foreach (var trackable in trackables)
NullCheck((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this);
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 L_0 = (( TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 (*) (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 4)->methodPointer)((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 4));
V_1 = (TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 )L_0;
Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED L_1 = TrackableCollection_1_GetEnumerator_mBAA3D036F160A053757196D57318EC6B3F368D02((TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 *)(TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
V_0 = (Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED )L_1;
goto IL_0066;
}
IL_0011:
{
// foreach (var trackable in trackables)
RuntimeObject * L_2 = Enumerator_get_Current_m6D82C8CA15561A8D32BA77CB304C80AF57C4C77E((Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6));
V_2 = (RuntimeObject *)L_2;
// var transform = trackable.transform;
RuntimeObject * L_3 = V_2;
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_3);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_4 = Component_get_transform_m00F05BD782F920C301A7EBA480F3B7A904C07EC9((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_3, /*hidden argument*/NULL);
V_3 = (Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_4;
// if (transform.parent != eventArgs.trackablesParent)
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_5 = V_3;
NullCheck((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_5);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_6 = Transform_get_parent_m8FA24E38A1FA29D90CBF3CDC9F9F017C65BB3403((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_5, /*hidden argument*/NULL);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_7 = ARTrackablesParentTransformChangedEventArgs_get_trackablesParent_m124F9D34F6DA7E3FAB3E7CB9981820682219FE49_inline((ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 *)(ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 *)(&___eventArgs0), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_8 = Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_6, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_7, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_0066;
}
}
{
// var desiredPose = eventArgs.trackablesParent.TransformPose(trackable.sessionRelativePose);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_9 = ARTrackablesParentTransformChangedEventArgs_get_trackablesParent_m124F9D34F6DA7E3FAB3E7CB9981820682219FE49_inline((ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 *)(ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 *)(&___eventArgs0), /*hidden argument*/NULL);
RuntimeObject * L_10 = V_2;
NullCheck((ARTrackable_2_tDC22DD8BD2173402258A323598A3378BE19FACCB *)L_10);
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_11 = (( Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 (*) (ARTrackable_2_tDC22DD8BD2173402258A323598A3378BE19FACCB *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20)->methodPointer)((ARTrackable_2_tDC22DD8BD2173402258A323598A3378BE19FACCB *)L_10, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20));
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_12 = TransformExtensions_TransformPose_m677CE84C622BD23C3DDB2953DDB820E1934B0144((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_9, (Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 )L_11, /*hidden argument*/NULL);
V_4 = (Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 )L_12;
// transform.SetPositionAndRotation(desiredPose.position, desiredPose.rotation);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_13 = V_3;
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_14 = V_4;
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_15 = (Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 )L_14.get_position_0();
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_16 = V_4;
Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 L_17 = (Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 )L_16.get_rotation_1();
NullCheck((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_13);
Transform_SetPositionAndRotation_mDB9B34321018846FD7E2315CBE8D4A6612E3DE43((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_13, (Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 )L_15, (Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 )L_17, /*hidden argument*/NULL);
}
IL_0066:
{
// foreach (var trackable in trackables)
bool L_18 = Enumerator_MoveNext_mF64DBEA38614B8A6E085DFC09DD2745BE2ACB9BE((Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
if (L_18)
{
goto IL_0011;
}
}
{
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::Update()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_Update_m607CD536A884309BBDA0DFE3FAA1CA05F9CA7659_gshared (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_Update_m607CD536A884309BBDA0DFE3FAA1CA05F9CA7659_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 V_0;
memset((&V_0), 0, sizeof(V_0));
TrackableChanges_1_tE90399F00562881A054A3592F7AF134BA053AF4F V_1;
memset((&V_1), 0, sizeof(V_1));
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 V_2;
memset((&V_2), 0, sizeof(V_2));
NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 V_3;
memset((&V_3), 0, sizeof(V_3));
Enumerator_t24763C293EE3A5FF95D00AB6752E91A2F7940B76 V_4;
memset((&V_4), 0, sizeof(V_4));
XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 V_5;
memset((&V_5), 0, sizeof(V_5));
XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 V_6;
memset((&V_6), 0, sizeof(V_6));
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 V_7;
memset((&V_7), 0, sizeof(V_7));
Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A V_8;
memset((&V_8), 0, sizeof(V_8));
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 V_9;
memset((&V_9), 0, sizeof(V_9));
RuntimeObject * V_10 = NULL;
Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD V_11;
memset((&V_11), 0, sizeof(V_11));
RuntimeObject * V_12 = 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) * 5);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
// if (subsystem == null || !subsystem.running)
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
RuntimeObject * L_0 = (( RuntimeObject * (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
if (!L_0)
{
goto IL_001f;
}
}
{
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
RuntimeObject * L_1 = (( RuntimeObject * (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
NullCheck((Subsystem_t17E4AEB5537DC8AECC37EC3F6FCB46CC7D2C73F6 *)L_1);
bool L_2 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.Subsystem::get_running() */, (Subsystem_t17E4AEB5537DC8AECC37EC3F6FCB46CC7D2C73F6 *)L_1);
if (L_2)
{
goto IL_0020;
}
}
IL_001f:
{
// return;
return;
}
IL_0020:
{
// using (new ScopedProfiler("GetChanges"))
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_0), (String_t*)_stringLiteralE68C28CA8FA3E38258B2081639EE5D1C7F58849B, /*hidden argument*/NULL);
}
IL_002c:
try
{ // begin try (depth: 1)
{
// using (var changes = subsystem.GetChanges(Allocator.Temp))
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
RuntimeObject * L_3 = (( RuntimeObject * (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
NullCheck((TrackingSubsystem_2_t9DCCF84BEF8FF140325BC90B18398D78CACAFF00 *)L_3);
TrackableChanges_1_tE90399F00562881A054A3592F7AF134BA053AF4F L_4 = VirtFuncInvoker1< TrackableChanges_1_tE90399F00562881A054A3592F7AF134BA053AF4F , int32_t >::Invoke(14 /* UnityEngine.XR.ARSubsystems.TrackableChanges`1<!0> UnityEngine.XR.ARSubsystems.TrackingSubsystem`2<UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::GetChanges(Unity.Collections.Allocator) */, (TrackingSubsystem_2_t9DCCF84BEF8FF140325BC90B18398D78CACAFF00 *)L_3, (int32_t)2);
V_1 = (TrackableChanges_1_tE90399F00562881A054A3592F7AF134BA053AF4F )L_4;
}
IL_003e:
try
{ // begin try (depth: 2)
{
// using (new ScopedProfiler("ProcessAdded"))
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 L_5;
memset((&L_5), 0, sizeof(L_5));
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((&L_5), (String_t*)_stringLiteral8CC52613125F0E802A5E603C37A6CAE800639F62, /*hidden argument*/NULL);
V_2 = (ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 )L_5;
}
IL_0049:
try
{ // begin try (depth: 3)
{
// ClearAndSetCapacity(s_Added, changes.added.Length);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_6 = ((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Added_11();
NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 L_7 = TrackableChanges_1_get_added_mC35012A2E03A744ECF4A6E58D2DA1C34D85CA6ED_inline((TrackableChanges_1_tE90399F00562881A054A3592F7AF134BA053AF4F *)(TrackableChanges_1_tE90399F00562881A054A3592F7AF134BA053AF4F *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
V_3 = (NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 )L_7;
int32_t L_8 = IL2CPP_NATIVEARRAY_GET_LENGTH(((NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 *)(NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 *)(&V_3))->___m_Length_1);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_6, (int32_t)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24));
// foreach (var added in changes.added)
NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 L_9 = TrackableChanges_1_get_added_mC35012A2E03A744ECF4A6E58D2DA1C34D85CA6ED_inline((TrackableChanges_1_tE90399F00562881A054A3592F7AF134BA053AF4F *)(TrackableChanges_1_tE90399F00562881A054A3592F7AF134BA053AF4F *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
V_3 = (NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 )L_9;
Enumerator_t24763C293EE3A5FF95D00AB6752E91A2F7940B76 L_10 = NativeArray_1_GetEnumerator_m10A5016AB48E4AE47C995EA8FC33A4152C105F61((NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 *)(NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 *)(&V_3), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
V_4 = (Enumerator_t24763C293EE3A5FF95D00AB6752E91A2F7940B76 )L_10;
}
IL_0073:
try
{ // begin try (depth: 4)
{
goto IL_0090;
}
IL_0075:
{
// foreach (var added in changes.added)
XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 L_11 = Enumerator_get_Current_mDA485C1222EA6776DA7CB0BFF0DD169DB5CB8E21((Enumerator_t24763C293EE3A5FF95D00AB6752E91A2F7940B76 *)(Enumerator_t24763C293EE3A5FF95D00AB6752E91A2F7940B76 *)(&V_4), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
V_5 = (XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 )L_11;
// s_Added.Add(CreateOrUpdateTrackable(added));
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_12 = ((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Added_11();
XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 L_13 = V_5;
NullCheck((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this);
RuntimeObject * L_14 = (( RuntimeObject * (*) (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *, XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this, (XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 )L_13, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_12);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_12, (RuntimeObject *)L_14, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_0090:
{
// foreach (var added in changes.added)
bool L_15 = Enumerator_MoveNext_m7A49AD4924ECF5F29DAB0298CCBB8171B5CB43DE((Enumerator_t24763C293EE3A5FF95D00AB6752E91A2F7940B76 *)(Enumerator_t24763C293EE3A5FF95D00AB6752E91A2F7940B76 *)(&V_4), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29));
if (L_15)
{
goto IL_0075;
}
}
IL_0099:
{
IL2CPP_LEAVE(0xB7, FINALLY_009b);
}
} // end try (depth: 4)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_009b;
}
FINALLY_009b:
{ // begin finally (depth: 4)
Il2CppFakeBox<Enumerator_t24763C293EE3A5FF95D00AB6752E91A2F7940B76 > L_16(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 30), (&V_4));
const VirtualInvokeData& il2cpp_virtual_invoke_data__163 = il2cpp_codegen_get_interface_invoke_data(0, (&L_16), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__163.methodPtr)((RuntimeObject*)(&L_16), /*hidden argument*/il2cpp_virtual_invoke_data__163.method);
V_4 = L_16.m_Value;
IL2CPP_END_FINALLY(155)
} // end finally (depth: 4)
IL2CPP_CLEANUP(155)
{
IL2CPP_END_CLEANUP(0xB7, FINALLY_00a9);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 3)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00a9;
}
FINALLY_00a9:
{ // begin finally (depth: 3)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_2), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(169)
} // end finally (depth: 3)
IL2CPP_CLEANUP(169)
{
IL2CPP_JUMP_TBL(0xB7, IL_00b7)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00b7:
{
// using (new ScopedProfiler("ProcessUpdated"))
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 L_17;
memset((&L_17), 0, sizeof(L_17));
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((&L_17), (String_t*)_stringLiteralD84182942D9EE680B64113858F0F32DEDC108F25, /*hidden argument*/NULL);
V_2 = (ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 )L_17;
}
IL_00c2:
try
{ // begin try (depth: 3)
{
// ClearAndSetCapacity(s_Updated, changes.updated.Length);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_18 = ((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Updated_12();
NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 L_19 = TrackableChanges_1_get_updated_mF1CCDAA99909A241F138D24B4175AD6806E65323_inline((TrackableChanges_1_tE90399F00562881A054A3592F7AF134BA053AF4F *)(TrackableChanges_1_tE90399F00562881A054A3592F7AF134BA053AF4F *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
V_3 = (NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 )L_19;
int32_t L_20 = IL2CPP_NATIVEARRAY_GET_LENGTH(((NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 *)(NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 *)(&V_3))->___m_Length_1);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_18, (int32_t)L_20, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24));
// foreach (var updated in changes.updated)
NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 L_21 = TrackableChanges_1_get_updated_mF1CCDAA99909A241F138D24B4175AD6806E65323_inline((TrackableChanges_1_tE90399F00562881A054A3592F7AF134BA053AF4F *)(TrackableChanges_1_tE90399F00562881A054A3592F7AF134BA053AF4F *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
V_3 = (NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 )L_21;
Enumerator_t24763C293EE3A5FF95D00AB6752E91A2F7940B76 L_22 = NativeArray_1_GetEnumerator_m10A5016AB48E4AE47C995EA8FC33A4152C105F61((NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 *)(NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 *)(&V_3), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
V_4 = (Enumerator_t24763C293EE3A5FF95D00AB6752E91A2F7940B76 )L_22;
}
IL_00ec:
try
{ // begin try (depth: 4)
{
goto IL_0109;
}
IL_00ee:
{
// foreach (var updated in changes.updated)
XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 L_23 = Enumerator_get_Current_mDA485C1222EA6776DA7CB0BFF0DD169DB5CB8E21((Enumerator_t24763C293EE3A5FF95D00AB6752E91A2F7940B76 *)(Enumerator_t24763C293EE3A5FF95D00AB6752E91A2F7940B76 *)(&V_4), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
V_6 = (XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 )L_23;
// s_Updated.Add(CreateOrUpdateTrackable(updated));
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_24 = ((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Updated_12();
XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 L_25 = V_6;
NullCheck((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this);
RuntimeObject * L_26 = (( RuntimeObject * (*) (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *, XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this, (XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 )L_25, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_24);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_24, (RuntimeObject *)L_26, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_0109:
{
// foreach (var updated in changes.updated)
bool L_27 = Enumerator_MoveNext_m7A49AD4924ECF5F29DAB0298CCBB8171B5CB43DE((Enumerator_t24763C293EE3A5FF95D00AB6752E91A2F7940B76 *)(Enumerator_t24763C293EE3A5FF95D00AB6752E91A2F7940B76 *)(&V_4), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29));
if (L_27)
{
goto IL_00ee;
}
}
IL_0112:
{
IL2CPP_LEAVE(0x130, FINALLY_0114);
}
} // end try (depth: 4)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0114;
}
FINALLY_0114:
{ // begin finally (depth: 4)
Il2CppFakeBox<Enumerator_t24763C293EE3A5FF95D00AB6752E91A2F7940B76 > L_28(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 30), (&V_4));
const VirtualInvokeData& il2cpp_virtual_invoke_data__284 = il2cpp_codegen_get_interface_invoke_data(0, (&L_28), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__284.methodPtr)((RuntimeObject*)(&L_28), /*hidden argument*/il2cpp_virtual_invoke_data__284.method);
V_4 = L_28.m_Value;
IL2CPP_END_FINALLY(276)
} // end finally (depth: 4)
IL2CPP_CLEANUP(276)
{
IL2CPP_END_CLEANUP(0x130, FINALLY_0122);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 3)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0122;
}
FINALLY_0122:
{ // begin finally (depth: 3)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_2), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(290)
} // end finally (depth: 3)
IL2CPP_CLEANUP(290)
{
IL2CPP_JUMP_TBL(0x130, IL_0130)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0130:
{
// using (new ScopedProfiler("ProcessRemoved"))
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 L_29;
memset((&L_29), 0, sizeof(L_29));
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((&L_29), (String_t*)_stringLiteralC0371E7E1DB9F795AC51193C554BD9BEF51AD664, /*hidden argument*/NULL);
V_2 = (ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 )L_29;
}
IL_013b:
try
{ // begin try (depth: 3)
{
// ClearAndSetCapacity(s_Removed, changes.removed.Length);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_30 = ((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 L_31 = TrackableChanges_1_get_removed_m7CF311E706E890B2CC9281BC392849E4DE880ECA_inline((TrackableChanges_1_tE90399F00562881A054A3592F7AF134BA053AF4F *)(TrackableChanges_1_tE90399F00562881A054A3592F7AF134BA053AF4F *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
V_7 = (NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 )L_31;
int32_t L_32 = IL2CPP_NATIVEARRAY_GET_LENGTH(((NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 *)(NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 *)(&V_7))->___m_Length_1);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_30, (int32_t)L_32, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24));
// foreach (var trackableId in changes.removed)
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 L_33 = TrackableChanges_1_get_removed_m7CF311E706E890B2CC9281BC392849E4DE880ECA_inline((TrackableChanges_1_tE90399F00562881A054A3592F7AF134BA053AF4F *)(TrackableChanges_1_tE90399F00562881A054A3592F7AF134BA053AF4F *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
V_7 = (NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 )L_33;
Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A L_34 = NativeArray_1_GetEnumerator_m3B6CA1981A8CE62A1C67FCEEBE1887CD32906DA2((NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 *)(NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 *)(&V_7), /*hidden argument*/NativeArray_1_GetEnumerator_m3B6CA1981A8CE62A1C67FCEEBE1887CD32906DA2_RuntimeMethod_var);
V_8 = (Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A )L_34;
}
IL_0167:
try
{ // begin try (depth: 4)
{
goto IL_01ab;
}
IL_0169:
{
// foreach (var trackableId in changes.removed)
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_35 = Enumerator_get_Current_m913D10AD892E19937C638773D208459E9862248D((Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A *)(Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A *)(&V_8), /*hidden argument*/Enumerator_get_Current_m913D10AD892E19937C638773D208459E9862248D_RuntimeMethod_var);
V_9 = (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_35;
// if (m_Trackables.TryGetValue(trackableId, out var trackable))
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_36 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_37 = V_9;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_36);
bool L_38 = (( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject **, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_36, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_37, (RuntimeObject **)(RuntimeObject **)(&V_10), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
if (!L_38)
{
goto IL_01ab;
}
}
IL_0183:
{
// m_Trackables.Remove(trackableId);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_39 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_40 = V_9;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_39);
(( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_39, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_40, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
// if (trackable)
RuntimeObject * L_41 = V_10;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_42 = Object_op_Implicit_m8B2A44B4B1406ED346D1AE6D962294FD58D0D534((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_41, /*hidden argument*/NULL);
if (!L_42)
{
goto IL_01ab;
}
}
IL_019f:
{
// s_Removed.Add(trackable);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_43 = ((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
RuntimeObject * L_44 = V_10;
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_43);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_43, (RuntimeObject *)L_44, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_01ab:
{
// foreach (var trackableId in changes.removed)
bool L_45 = Enumerator_MoveNext_m3C4C0B0B1AE71E65EF8255E6FC671DDBC829B6AA((Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A *)(Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A *)(&V_8), /*hidden argument*/Enumerator_MoveNext_m3C4C0B0B1AE71E65EF8255E6FC671DDBC829B6AA_RuntimeMethod_var);
if (L_45)
{
goto IL_0169;
}
}
IL_01b4:
{
IL2CPP_LEAVE(0x1EE, FINALLY_01b6);
}
} // end try (depth: 4)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01b6;
}
FINALLY_01b6:
{ // begin finally (depth: 4)
Il2CppFakeBox<Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A > L_46(Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A_il2cpp_TypeInfo_var, (&V_8));
const VirtualInvokeData& il2cpp_virtual_invoke_data__446 = il2cpp_codegen_get_interface_invoke_data(0, (&L_46), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__446.methodPtr)((RuntimeObject*)(&L_46), /*hidden argument*/il2cpp_virtual_invoke_data__446.method);
V_8 = L_46.m_Value;
IL2CPP_END_FINALLY(438)
} // end finally (depth: 4)
IL2CPP_CLEANUP(438)
{
IL2CPP_END_CLEANUP(0x1EE, FINALLY_01c4);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 3)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01c4;
}
FINALLY_01c4:
{ // begin finally (depth: 3)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_2), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(452)
} // end finally (depth: 3)
IL2CPP_CLEANUP(452)
{
IL2CPP_END_CLEANUP(0x1EE, FINALLY_01d2);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01d2;
}
FINALLY_01d2:
{ // begin finally (depth: 2)
Il2CppFakeBox<TrackableChanges_1_tE90399F00562881A054A3592F7AF134BA053AF4F > L_47(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 35), (&V_1));
const VirtualInvokeData& il2cpp_virtual_invoke_data__474 = il2cpp_codegen_get_interface_invoke_data(0, (&L_47), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__474.methodPtr)((RuntimeObject*)(&L_47), /*hidden argument*/il2cpp_virtual_invoke_data__474.method);
V_1 = L_47.m_Value;
IL2CPP_END_FINALLY(466)
} // end finally (depth: 2)
IL2CPP_CLEANUP(466)
{
IL2CPP_END_CLEANUP(0x1EE, FINALLY_01e0);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01e0;
}
FINALLY_01e0:
{ // begin finally (depth: 1)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_0), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(480)
} // end finally (depth: 1)
IL2CPP_CLEANUP(480)
{
IL2CPP_JUMP_TBL(0x1EE, IL_01ee)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_01ee:
{
}
IL_01ef:
try
{ // begin try (depth: 1)
{
// if ((s_Added.Count) > 0 ||
// (s_Updated.Count) > 0 ||
// (s_Removed.Count) > 0)
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_48 = ((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Added_11();
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_48);
int32_t L_49 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_48, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36));
if ((((int32_t)L_49) > ((int32_t)0)))
{
goto IL_0216;
}
}
IL_01fc:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_50 = ((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Updated_12();
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_50);
int32_t L_51 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_50, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36));
if ((((int32_t)L_51) > ((int32_t)0)))
{
goto IL_0216;
}
}
IL_0209:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_52 = ((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_52);
int32_t L_53 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_52, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36));
if ((((int32_t)L_53) <= ((int32_t)0)))
{
goto IL_022b;
}
}
IL_0216:
{
// OnTrackablesChanged(s_Added, s_Updated, s_Removed);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_54 = ((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Added_11();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_55 = ((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Updated_12();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_56 = ((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
NullCheck((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this);
VirtActionInvoker3< List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * >::Invoke(13 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::OnTrackablesChanged(System.Collections.Generic.List`1<TTrackable>,System.Collections.Generic.List`1<TTrackable>,System.Collections.Generic.List`1<TTrackable>) */, (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this, (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_54, (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_55, (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_56);
}
IL_022b:
{
// }
IL2CPP_LEAVE(0x266, FINALLY_022d);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_022d;
}
FINALLY_022d:
{ // begin finally (depth: 1)
{
// foreach (var removed in s_Removed)
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_57 = ((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_57);
Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD L_58 = (( Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_57, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38));
V_11 = (Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD )L_58;
}
IL_0239:
try
{ // begin try (depth: 2)
{
goto IL_024c;
}
IL_023b:
{
// foreach (var removed in s_Removed)
RuntimeObject * L_59 = Enumerator_get_Current_mD7829C7E8CFBEDD463B15A951CDE9B90A12CC55C_inline((Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD *)(Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD *)(&V_11), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 39));
V_12 = (RuntimeObject *)L_59;
// DestroyTrackable(removed);
RuntimeObject * L_60 = V_12;
NullCheck((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this);
(( void (*) (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40)->methodPointer)((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this, (RuntimeObject *)L_60, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40));
}
IL_024c:
{
// foreach (var removed in s_Removed)
bool L_61 = Enumerator_MoveNext_m38B1099DDAD7EEDE2F4CDAB11C095AC784AC2E34((Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD *)(Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD *)(&V_11), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 41));
if (L_61)
{
goto IL_023b;
}
}
IL_0255:
{
IL2CPP_LEAVE(0x265, FINALLY_0257);
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0257;
}
FINALLY_0257:
{ // begin finally (depth: 2)
Il2CppFakeBox<Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD > L_62(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 42), (&V_11));
const VirtualInvokeData& il2cpp_virtual_invoke_data__607 = il2cpp_codegen_get_interface_invoke_data(0, (&L_62), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__607.methodPtr)((RuntimeObject*)(&L_62), /*hidden argument*/il2cpp_virtual_invoke_data__607.method);
V_11 = L_62.m_Value;
IL2CPP_END_FINALLY(599)
} // end finally (depth: 2)
IL2CPP_CLEANUP(599)
{
IL2CPP_JUMP_TBL(0x265, IL_0265)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0265:
{
// }
IL2CPP_END_FINALLY(557)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(557)
{
IL2CPP_JUMP_TBL(0x266, IL_0266)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0266:
{
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::OnTrackablesChanged(System.Collections.Generic.List`1<TTrackable>,System.Collections.Generic.List`1<TTrackable>,System.Collections.Generic.List`1<TTrackable>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnTrackablesChanged_mF4167CC6877CE6593FE0226FD35FA329D69B7C5E_gshared (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 * __this, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___added0, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___updated1, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___removed2, const RuntimeMethod* method)
{
{
// { }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::OnCreateTrackable(TTrackable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnCreateTrackable_mBBCD16128EB772E70A0A4EA19E8BF082DC3C0EF5_gshared (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 * __this, RuntimeObject * ___trackable0, const RuntimeMethod* method)
{
{
// { }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::OnAfterSetSessionRelativeData(TTrackable,TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnAfterSetSessionRelativeData_m5969A332A1FDA7438B94F3D9EE8E054C9BFCF1B7_gshared (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 * __this, RuntimeObject * ___trackable0, XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 ___sessionRelativeData1, const RuntimeMethod* method)
{
{
// { }
return;
}
}
// TTrackable UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::CreateTrackableImmediate(TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * ARTrackableManager_4_CreateTrackableImmediate_m8A59DB23BA07E708F0ED2094EEFFF7728235AA5D_gshared (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 * __this, XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 ___sessionRelativeData0, const RuntimeMethod* method)
{
RuntimeObject * V_0 = NULL;
{
// var trackable = CreateOrUpdateTrackable(sessionRelativeData);
XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 L_0 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this);
RuntimeObject * L_1 = (( RuntimeObject * (*) (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *, XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this, (XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
V_0 = (RuntimeObject *)L_1;
// trackable.pending = true;
RuntimeObject * L_2 = V_0;
NullCheck((ARTrackable_2_tDC22DD8BD2173402258A323598A3378BE19FACCB *)L_2);
(( void (*) (ARTrackable_2_tDC22DD8BD2173402258A323598A3378BE19FACCB *, bool, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((ARTrackable_2_tDC22DD8BD2173402258A323598A3378BE19FACCB *)L_2, (bool)1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
// m_PendingAdds.Add(trackable.trackableId, trackable);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_3 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
RuntimeObject * L_4 = V_0;
NullCheck((ARTrackable_2_tDC22DD8BD2173402258A323598A3378BE19FACCB *)L_4);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_5 = (( TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 (*) (ARTrackable_2_tDC22DD8BD2173402258A323598A3378BE19FACCB *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)((ARTrackable_2_tDC22DD8BD2173402258A323598A3378BE19FACCB *)L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
RuntimeObject * L_6 = V_0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_3);
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_3, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_5, (RuntimeObject *)L_6, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43));
// return trackable;
RuntimeObject * L_7 = V_0;
return L_7;
}
}
// System.Boolean UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::DestroyPendingTrackable(UnityEngine.XR.ARSubsystems.TrackableId)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ARTrackableManager_4_DestroyPendingTrackable_m1381BD11B2CCA30E14282A8BD9A16EC989FE4B14_gshared (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 * __this, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___trackableId0, const RuntimeMethod* method)
{
RuntimeObject * V_0 = NULL;
{
// if (m_PendingAdds.TryGetValue(trackableId, out var trackable))
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_0 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_1 = ___trackableId0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_0);
bool L_2 = (( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject **, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_0, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_1, (RuntimeObject **)(RuntimeObject **)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
if (!L_2)
{
goto IL_0033;
}
}
{
// m_PendingAdds.Remove(trackableId);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_3 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_4 = ___trackableId0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_3);
(( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_3, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
// m_Trackables.Remove(trackableId);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_5 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_6 = ___trackableId0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_5);
(( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_5, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_6, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
// DestroyTrackable(trackable);
RuntimeObject * L_7 = V_0;
NullCheck((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this);
(( void (*) (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40)->methodPointer)((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this, (RuntimeObject *)L_7, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40));
// return true;
return (bool)1;
}
IL_0033:
{
// return false;
return (bool)0;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::ClearAndSetCapacity(System.Collections.Generic.List`1<TTrackable>,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_ClearAndSetCapacity_mFF831F2818957079979773CA65B2EF16534B1168_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___list0, int32_t ___capacity1, const RuntimeMethod* method)
{
{
// list.Clear();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_0 = ___list0;
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_0);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 44)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 44));
// if (list.Capacity < capacity)
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_1 = ___list0;
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_1);
int32_t L_2 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 45)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 45));
int32_t L_3 = ___capacity1;
if ((((int32_t)L_2) >= ((int32_t)L_3)))
{
goto IL_0016;
}
}
{
// list.Capacity = capacity;
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_4 = ___list0;
int32_t L_5 = ___capacity1;
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_4);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 46)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_4, (int32_t)L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 46));
}
IL_0016:
{
// }
return;
}
}
// System.String UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::GetTrackableName(UnityEngine.XR.ARSubsystems.TrackableId)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* ARTrackableManager_4_GetTrackableName_mFC0AAEA10C78E5DE6AEE2F0D7C43FD71C7E975BD_gshared (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 * __this, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___trackableId0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_GetTrackableName_mFC0AAEA10C78E5DE6AEE2F0D7C43FD71C7E975BD_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// return gameObjectName + " " + trackableId.ToString();
NullCheck((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this);
String_t* L_0 = VirtFuncInvoker0< String_t* >::Invoke(9 /* System.String UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::get_gameObjectName() */, (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this);
String_t* L_1 = TrackableId_ToString_mBA49191865E57697F4279D2781B182590726A215((TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 *)(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 *)(&___trackableId0), /*hidden argument*/NULL);
String_t* L_2 = String_Concat_mF4626905368D6558695A823466A1AF65EADB9923((String_t*)L_0, (String_t*)_stringLiteralB858CB282617FB0956D960215C8E84D1CCF909C6, (String_t*)L_1, /*hidden argument*/NULL);
return L_2;
}
}
// System.ValueTuple`2<UnityEngine.GameObject,System.Boolean> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::CreateGameObjectDeactivated()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 ARTrackableManager_4_CreateGameObjectDeactivated_mFBDFCC7BE41D910CEC4E9B2C910E2AF6CCAF2EF3_gshared (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_CreateGameObjectDeactivated_mFBDFCC7BE41D910CEC4E9B2C910E2AF6CCAF2EF3_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * V_0 = NULL;
bool V_1 = false;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * V_2 = NULL;
{
// var prefab = GetPrefab();
NullCheck((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_0 = VirtFuncInvoker0< GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * >::Invoke(10 /* UnityEngine.GameObject UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::GetPrefab() */, (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this);
V_0 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_0;
// if (prefab == null)
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_1 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_1, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0039;
}
}
{
// var gameObject = new GameObject();
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_3 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)il2cpp_codegen_object_new(GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F_il2cpp_TypeInfo_var);
GameObject__ctor_mA4DFA8F4471418C248E95B55070665EF344B4B2D(L_3, /*hidden argument*/NULL);
// gameObject.SetActive(false);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_4 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_3;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_4);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_4, (bool)0, /*hidden argument*/NULL);
// gameObject.transform.parent = sessionOrigin.trackablesParent;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_5 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_4;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_6 = GameObject_get_transform_mA5C38857137F137CB96C69FAA624199EB1C2FB2C((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5, /*hidden argument*/NULL);
NullCheck((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_7 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_7);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_8 = ARSessionOrigin_get_trackablesParent_m37049D7E75CF694834A140C2EACB15D2D1098505_inline((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_7, /*hidden argument*/NULL);
NullCheck((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_6);
Transform_set_parent_m65B8E4660B2C554069C57A957D9E55FECA7AA73E((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_6, (Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_8, /*hidden argument*/NULL);
// return (gameObject, true);
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_9;
memset((&L_9), 0, sizeof(L_9));
ValueTuple_2__ctor_m73A57D85868E9347B9DCD08AB9585E9B191478F7((&L_9), (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5, (bool)1, /*hidden argument*/ValueTuple_2__ctor_m73A57D85868E9347B9DCD08AB9585E9B191478F7_RuntimeMethod_var);
return L_9;
}
IL_0039:
{
// var active = prefab.activeSelf;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_10 = V_0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_10);
bool L_11 = GameObject_get_activeSelf_mFE1834886CAE59884AC2BE707A3B821A1DB61F44((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_10, /*hidden argument*/NULL);
V_1 = (bool)L_11;
// prefab.SetActive(false);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_12 = V_0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_12);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_12, (bool)0, /*hidden argument*/NULL);
// var gameObject = Instantiate(prefab, sessionOrigin.trackablesParent);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_13 = V_0;
NullCheck((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_14 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_14);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_15 = ARSessionOrigin_get_trackablesParent_m37049D7E75CF694834A140C2EACB15D2D1098505_inline((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_14, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_16 = Object_Instantiate_TisGameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F_m1CDF66D563B03D37B37264800222D4F3B307EDA0((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_13, (Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_15, /*hidden argument*/Object_Instantiate_TisGameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F_m1CDF66D563B03D37B37264800222D4F3B307EDA0_RuntimeMethod_var);
V_2 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_16;
// prefab.SetActive(active);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_17 = V_0;
bool L_18 = V_1;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_17);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_17, (bool)L_18, /*hidden argument*/NULL);
// return (gameObject, active);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_19 = V_2;
bool L_20 = V_1;
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_21;
memset((&L_21), 0, sizeof(L_21));
ValueTuple_2__ctor_m73A57D85868E9347B9DCD08AB9585E9B191478F7((&L_21), (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_19, (bool)L_20, /*hidden argument*/ValueTuple_2__ctor_m73A57D85868E9347B9DCD08AB9585E9B191478F7_RuntimeMethod_var);
return L_21;
}
}
// System.ValueTuple`2<UnityEngine.GameObject,System.Boolean> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::CreateGameObjectDeactivated(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 ARTrackableManager_4_CreateGameObjectDeactivated_mA8FF0EFD4E32BD61BA26E5B95C2927903402C7A4_gshared (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 * __this, String_t* ___name0, const RuntimeMethod* method)
{
{
// var tuple = CreateGameObjectDeactivated();
NullCheck((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this);
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_0 = (( ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 (*) (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 49)->methodPointer)((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 49));
// tuple.gameObject.name = name;
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_1 = (ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 )L_0;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_2 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_1.get_Item1_0();
String_t* L_3 = ___name0;
NullCheck((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_2);
Object_set_name_m538711B144CDE30F929376BCF72D0DC8F85D0826((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_2, (String_t*)L_3, /*hidden argument*/NULL);
// return tuple;
return L_1;
}
}
// System.ValueTuple`2<UnityEngine.GameObject,System.Boolean> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::CreateGameObjectDeactivated(UnityEngine.XR.ARSubsystems.TrackableId)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 ARTrackableManager_4_CreateGameObjectDeactivated_mF518A9D3868A5A6B9A836BB5D5D5EF275D02124B_gshared (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 * __this, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___trackableId0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_CreateGameObjectDeactivated_mF518A9D3868A5A6B9A836BB5D5D5EF275D02124B_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 V_0;
memset((&V_0), 0, sizeof(V_0));
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 V_1;
memset((&V_1), 0, sizeof(V_1));
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);
{
// using (new ScopedProfiler("CreateGameObject"))
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_0), (String_t*)_stringLiteralA1BA014E93BB1085A758A3F66948C9CAC874B9BD, /*hidden argument*/NULL);
}
IL_000c:
try
{ // begin try (depth: 1)
// return CreateGameObjectDeactivated(GetTrackableName(trackableId));
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = ___trackableId0;
NullCheck((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this);
String_t* L_1 = (( String_t* (*) (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 50)->methodPointer)((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 50));
NullCheck((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this);
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_2 = (( ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 (*) (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *, String_t*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 51)->methodPointer)((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this, (String_t*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 51));
V_1 = (ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 )L_2;
IL2CPP_LEAVE(0x2A, FINALLY_001c);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_001c;
}
FINALLY_001c:
{ // begin finally (depth: 1)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_0), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(28)
} // end finally (depth: 1)
IL2CPP_CLEANUP(28)
{
IL2CPP_JUMP_TBL(0x2A, IL_002a)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_002a:
{
// }
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_3 = V_1;
return L_3;
}
}
// TTrackable UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::CreateTrackable(TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * ARTrackableManager_4_CreateTrackable_m3EEDE840D050633B1E76C0363A320D0328D93A51_gshared (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 * __this, XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 ___sessionRelativeData0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_CreateTrackable_m3EEDE840D050633B1E76C0363A320D0328D93A51_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * V_0 = NULL;
bool V_1 = false;
RuntimeObject * V_2 = NULL;
{
// var (gameObject, shouldBeActive) = CreateGameObjectDeactivated(sessionRelativeData.trackableId);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = XRTrackedImage_get_trackableId_m6EB6DBACC95E5EE2AFEE3CE421F4C123F32E9CB8_inline((XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 *)(XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 *)(&___sessionRelativeData0), /*hidden argument*/NULL);
NullCheck((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this);
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_1 = (( ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 (*) (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 53)->methodPointer)((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 53));
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_2 = (ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 )L_1;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_3 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_2.get_Item1_0();
V_0 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_3;
bool L_4 = (bool)L_2.get_Item2_1();
V_1 = (bool)L_4;
// var trackable = gameObject.GetComponent<TTrackable>();
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_5 = V_0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5);
RuntimeObject * L_6 = (( RuntimeObject * (*) (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 54)->methodPointer)((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 54));
V_2 = (RuntimeObject *)L_6;
// if (trackable == null)
RuntimeObject * L_7 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_8 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_7, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_003c;
}
}
{
// trackable = gameObject.AddComponent<TTrackable>();
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_9 = V_0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_9);
RuntimeObject * L_10 = (( RuntimeObject * (*) (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 55)->methodPointer)((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 55));
V_2 = (RuntimeObject *)L_10;
}
IL_003c:
{
// m_Trackables.Add(sessionRelativeData.trackableId, trackable);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_11 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_12 = XRTrackedImage_get_trackableId_m6EB6DBACC95E5EE2AFEE3CE421F4C123F32E9CB8_inline((XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 *)(XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 *)(&___sessionRelativeData0), /*hidden argument*/NULL);
RuntimeObject * L_13 = V_2;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_11);
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_11, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_12, (RuntimeObject *)L_13, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43));
// SetSessionRelativeData(trackable, sessionRelativeData);
RuntimeObject * L_14 = V_2;
XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 L_15 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this);
(( void (*) (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *, RuntimeObject *, XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56)->methodPointer)((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this, (RuntimeObject *)L_14, (XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 )L_15, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56));
// trackable.gameObject.SetActive(shouldBeActive);
RuntimeObject * L_16 = V_2;
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_16);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_17 = Component_get_gameObject_m0B0570BA8DDD3CD78A9DB568EA18D7317686603C((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_16, /*hidden argument*/NULL);
bool L_18 = V_1;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_17);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_17, (bool)L_18, /*hidden argument*/NULL);
// return trackable;
RuntimeObject * L_19 = V_2;
return L_19;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::SetSessionRelativeData(TTrackable,TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_SetSessionRelativeData_m127CCAE219DC75BC92B6B7A6E3C59DB582A422B5_gshared (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 * __this, RuntimeObject * ___trackable0, XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 ___data1, const RuntimeMethod* method)
{
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// trackable.SetSessionRelativeData(data);
RuntimeObject * L_0 = ___trackable0;
XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 L_1 = ___data1;
NullCheck((ARTrackable_2_tDC22DD8BD2173402258A323598A3378BE19FACCB *)L_0);
(( void (*) (ARTrackable_2_tDC22DD8BD2173402258A323598A3378BE19FACCB *, XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 57)->methodPointer)((ARTrackable_2_tDC22DD8BD2173402258A323598A3378BE19FACCB *)L_0, (XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 )L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 57));
// var worldSpacePose = sessionOrigin.trackablesParent.TransformPose(data.pose);
NullCheck((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_2 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_2);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_3 = ARSessionOrigin_get_trackablesParent_m37049D7E75CF694834A140C2EACB15D2D1098505_inline((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_2, /*hidden argument*/NULL);
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_4 = XRTrackedImage_get_pose_m0566E087CA2DC99DF749E80277510C61DCF13186_inline((XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 *)(XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 *)(&___data1), /*hidden argument*/NULL);
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_5 = TransformExtensions_TransformPose_m677CE84C622BD23C3DDB2953DDB820E1934B0144((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_3, (Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 )L_4, /*hidden argument*/NULL);
V_0 = (Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 )L_5;
// trackable.transform.SetPositionAndRotation(worldSpacePose.position, worldSpacePose.rotation);
RuntimeObject * L_6 = ___trackable0;
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_6);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_7 = Component_get_transform_m00F05BD782F920C301A7EBA480F3B7A904C07EC9((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_6, /*hidden argument*/NULL);
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_8 = V_0;
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_9 = (Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 )L_8.get_position_0();
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_10 = V_0;
Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 L_11 = (Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 )L_10.get_rotation_1();
NullCheck((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_7);
Transform_SetPositionAndRotation_mDB9B34321018846FD7E2315CBE8D4A6612E3DE43((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_7, (Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 )L_9, (Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 )L_11, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::CreateTrackableFromExisting(TTrackable,TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_CreateTrackableFromExisting_m1F6407149BB0244F2BB3349C0AD2969B81185EE9_gshared (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 * __this, RuntimeObject * ___existingTrackable0, XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 ___sessionRelativeData1, const RuntimeMethod* method)
{
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// var trackableId = sessionRelativeData.trackableId;
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = XRTrackedImage_get_trackableId_m6EB6DBACC95E5EE2AFEE3CE421F4C123F32E9CB8_inline((XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 *)(XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 *)(&___sessionRelativeData1), /*hidden argument*/NULL);
V_0 = (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_0;
// m_Trackables.Add(trackableId, existingTrackable);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_1 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_2 = V_0;
RuntimeObject * L_3 = ___existingTrackable0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_1);
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_1, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_2, (RuntimeObject *)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43));
// SetSessionRelativeData(existingTrackable, sessionRelativeData);
RuntimeObject * L_4 = ___existingTrackable0;
XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 L_5 = ___sessionRelativeData1;
NullCheck((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this);
(( void (*) (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *, RuntimeObject *, XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56)->methodPointer)((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this, (RuntimeObject *)L_4, (XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 )L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56));
// OnCreateTrackable(existingTrackable);
RuntimeObject * L_6 = ___existingTrackable0;
NullCheck((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this);
VirtActionInvoker1< RuntimeObject * >::Invoke(14 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::OnCreateTrackable(TTrackable) */, (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this, (RuntimeObject *)L_6);
// OnAfterSetSessionRelativeData(existingTrackable, sessionRelativeData);
RuntimeObject * L_7 = ___existingTrackable0;
XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 L_8 = ___sessionRelativeData1;
NullCheck((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this);
VirtActionInvoker2< RuntimeObject *, XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 >::Invoke(15 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::OnAfterSetSessionRelativeData(TTrackable,TSessionRelativeData) */, (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this, (RuntimeObject *)L_7, (XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 )L_8);
// existingTrackable.OnAfterSetSessionRelativeData();
RuntimeObject * L_9 = ___existingTrackable0;
NullCheck((ARTrackable_2_tDC22DD8BD2173402258A323598A3378BE19FACCB *)L_9);
VirtActionInvoker0::Invoke(4 /* System.Void UnityEngine.XR.ARFoundation.ARTrackable`2<UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::OnAfterSetSessionRelativeData() */, (ARTrackable_2_tDC22DD8BD2173402258A323598A3378BE19FACCB *)L_9);
// m_PendingAdds.Add(trackableId, existingTrackable);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_10 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_11 = V_0;
RuntimeObject * L_12 = ___existingTrackable0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_10);
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_10, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_11, (RuntimeObject *)L_12, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43));
// existingTrackable.pending = true;
RuntimeObject * L_13 = ___existingTrackable0;
NullCheck((ARTrackable_2_tDC22DD8BD2173402258A323598A3378BE19FACCB *)L_13);
(( void (*) (ARTrackable_2_tDC22DD8BD2173402258A323598A3378BE19FACCB *, bool, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((ARTrackable_2_tDC22DD8BD2173402258A323598A3378BE19FACCB *)L_13, (bool)1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
// }
return;
}
}
// TTrackable UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::CreateOrUpdateTrackable(TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * ARTrackableManager_4_CreateOrUpdateTrackable_mB9B59BF4255973AC89471718C0E88B7CE6BD9F77_gshared (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 * __this, XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 ___sessionRelativeData0, const RuntimeMethod* method)
{
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 V_0;
memset((&V_0), 0, sizeof(V_0));
RuntimeObject * V_1 = NULL;
{
// var trackableId = sessionRelativeData.trackableId;
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = XRTrackedImage_get_trackableId_m6EB6DBACC95E5EE2AFEE3CE421F4C123F32E9CB8_inline((XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 *)(XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 *)(&___sessionRelativeData0), /*hidden argument*/NULL);
V_0 = (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_0;
// if (m_Trackables.TryGetValue(trackableId, out var trackable))
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_1 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_2 = V_0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_1);
bool L_3 = (( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject **, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_1, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_2, (RuntimeObject **)(RuntimeObject **)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
if (!L_3)
{
goto IL_0041;
}
}
{
// m_PendingAdds.Remove(trackableId);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_4 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_5 = V_0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_4);
(( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_4, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
// trackable.pending = false;
RuntimeObject * L_6 = V_1;
NullCheck((ARTrackable_2_tDC22DD8BD2173402258A323598A3378BE19FACCB *)L_6);
(( void (*) (ARTrackable_2_tDC22DD8BD2173402258A323598A3378BE19FACCB *, bool, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((ARTrackable_2_tDC22DD8BD2173402258A323598A3378BE19FACCB *)L_6, (bool)0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
// SetSessionRelativeData(trackable, sessionRelativeData);
RuntimeObject * L_7 = V_1;
XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 L_8 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this);
(( void (*) (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *, RuntimeObject *, XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56)->methodPointer)((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this, (RuntimeObject *)L_7, (XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 )L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56));
// }
goto IL_0050;
}
IL_0041:
{
// trackable = CreateTrackable(sessionRelativeData);
XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 L_9 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this);
RuntimeObject * L_10 = (( RuntimeObject * (*) (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *, XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 61)->methodPointer)((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this, (XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 )L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 61));
V_1 = (RuntimeObject *)L_10;
// OnCreateTrackable(trackable);
RuntimeObject * L_11 = V_1;
NullCheck((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this);
VirtActionInvoker1< RuntimeObject * >::Invoke(14 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::OnCreateTrackable(TTrackable) */, (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this, (RuntimeObject *)L_11);
}
IL_0050:
{
// OnAfterSetSessionRelativeData(trackable, sessionRelativeData);
RuntimeObject * L_12 = V_1;
XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 L_13 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this);
VirtActionInvoker2< RuntimeObject *, XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 >::Invoke(15 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::OnAfterSetSessionRelativeData(TTrackable,TSessionRelativeData) */, (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 *)__this, (RuntimeObject *)L_12, (XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 )L_13);
// trackable.OnAfterSetSessionRelativeData();
RuntimeObject * L_14 = V_1;
NullCheck((ARTrackable_2_tDC22DD8BD2173402258A323598A3378BE19FACCB *)L_14);
VirtActionInvoker0::Invoke(4 /* System.Void UnityEngine.XR.ARFoundation.ARTrackable`2<UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::OnAfterSetSessionRelativeData() */, (ARTrackable_2_tDC22DD8BD2173402258A323598A3378BE19FACCB *)L_14);
// return trackable;
RuntimeObject * L_15 = V_1;
return L_15;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::DestroyTrackable(TTrackable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_DestroyTrackable_mD72CF9F11D33C1A4D448457C0C5B5C409F6C1DFA_gshared (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 * __this, RuntimeObject * ___trackable0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_DestroyTrackable_mD72CF9F11D33C1A4D448457C0C5B5C409F6C1DFA_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (trackable.destroyOnRemoval)
RuntimeObject * L_0 = ___trackable0;
NullCheck((ARTrackable_2_tDC22DD8BD2173402258A323598A3378BE19FACCB *)L_0);
bool L_1 = (( bool (*) (ARTrackable_2_tDC22DD8BD2173402258A323598A3378BE19FACCB *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 62)->methodPointer)((ARTrackable_2_tDC22DD8BD2173402258A323598A3378BE19FACCB *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 62));
if (!L_1)
{
goto IL_001d;
}
}
{
// Destroy(trackable.gameObject);
RuntimeObject * L_2 = ___trackable0;
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_2);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_3 = Component_get_gameObject_m0B0570BA8DDD3CD78A9DB568EA18D7317686603C((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_2, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
Object_Destroy_m23B4562495BA35A74266D4372D45368F8C05109A((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_3, /*hidden argument*/NULL);
}
IL_001d:
{
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4__ctor_m3F8201E207E67BFC577634976C51351297FDF1FB_gshared (ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436 * __this, const RuntimeMethod* method)
{
{
// protected Dictionary<TrackableId, TTrackable> m_Trackables = new Dictionary<TrackableId, TTrackable>();
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_0 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 63));
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 64)->methodPointer)(L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 64));
__this->set_m_Trackables_9(L_0);
// protected Dictionary<TrackableId, TTrackable> m_PendingAdds = new Dictionary<TrackableId, TTrackable>();
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_1 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 63));
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 64)->methodPointer)(L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 64));
__this->set_m_PendingAdds_10(L_1);
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1));
(( void (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 65)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 65));
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedImage,System.Object>::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4__cctor_mAD24345ECB6F4B9733987879043EE3E819C79094_gshared (const RuntimeMethod* method)
{
{
// static List<TTrackable> s_Added = new List<TTrackable>();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_0 = (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 66));
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67)->methodPointer)(L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67));
((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set_s_Added_11(L_0);
// static List<TTrackable> s_Updated = new List<TTrackable>();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_1 = (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 66));
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67)->methodPointer)(L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67));
((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set_s_Updated_12(L_1);
// static List<TTrackable> s_Removed = new List<TTrackable>();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_2 = (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 66));
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67)->methodPointer)(L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67));
((ARTrackableManager_4_tFB4E4D902668BAA772D1AC6F223F5E1A761D7436_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set_s_Removed_13(L_2);
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
// UnityEngine.XR.ARFoundation.ARTrackableManager`4<TSubsystem,TSubsystemDescriptor,TSessionRelativeData,TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::get_instance()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB * ARTrackableManager_4_get_instance_m40231AAB1BB5C565386DAA6561DF99F3E05C4450_gshared (const RuntimeMethod* method)
{
{
// internal static ARTrackableManager<TSubsystem, TSubsystemDescriptor, TSessionRelativeData, TTrackable> instance { get; private set; }
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0));
ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB * L_0 = ((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->get_U3CinstanceU3Ek__BackingField_7();
return L_0;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::set_instance(UnityEngine.XR.ARFoundation.ARTrackableManager`4<TSubsystem,TSubsystemDescriptor,TSessionRelativeData,TTrackable>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_set_instance_mB541D808C14DB8829C862E2ABE074B36FC5DF090_gshared (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB * ___value0, const RuntimeMethod* method)
{
{
// internal static ARTrackableManager<TSubsystem, TSubsystemDescriptor, TSessionRelativeData, TTrackable> instance { get; private set; }
ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB * L_0 = ___value0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0));
((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set_U3CinstanceU3Ek__BackingField_7(L_0);
return;
}
}
// UnityEngine.XR.ARFoundation.TrackableCollection`1<TTrackable> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::get_trackables()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 ARTrackableManager_4_get_trackables_m68E70F9FFBCFFB07EC8C77EF9622AA916F57D912_gshared (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB * __this, const RuntimeMethod* method)
{
{
// public TrackableCollection<TTrackable> trackables => new TrackableCollection<TTrackable>(m_Trackables);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_0 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 L_1;
memset((&L_1), 0, sizeof(L_1));
TrackableCollection_1__ctor_mA99D3D41CAA02EF94BD2B96D6DC1B66450E226FF((&L_1), (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 3));
return L_1;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::SetTrackablesActive(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_SetTrackablesActive_m0ED2D7969482EBA731763D56E9CF11A49F5A14ED_gshared (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB * __this, bool ___active0, const RuntimeMethod* method)
{
Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED V_0;
memset((&V_0), 0, sizeof(V_0));
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 V_1;
memset((&V_1), 0, sizeof(V_1));
{
// foreach (var trackable in trackables)
NullCheck((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this);
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 L_0 = (( TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 (*) (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 4)->methodPointer)((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 4));
V_1 = (TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 )L_0;
Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED L_1 = TrackableCollection_1_GetEnumerator_mBAA3D036F160A053757196D57318EC6B3F368D02((TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 *)(TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
V_0 = (Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED )L_1;
goto IL_0028;
}
IL_0011:
{
// foreach (var trackable in trackables)
RuntimeObject * L_2 = Enumerator_get_Current_m6D82C8CA15561A8D32BA77CB304C80AF57C4C77E((Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6));
// trackable.gameObject.SetActive(active);
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_2);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_3 = Component_get_gameObject_m0B0570BA8DDD3CD78A9DB568EA18D7317686603C((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_2, /*hidden argument*/NULL);
bool L_4 = ___active0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_3);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_3, (bool)L_4, /*hidden argument*/NULL);
}
IL_0028:
{
// foreach (var trackable in trackables)
bool L_5 = Enumerator_MoveNext_mF64DBEA38614B8A6E085DFC09DD2745BE2ACB9BE((Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
if (L_5)
{
goto IL_0011;
}
}
{
// }
return;
}
}
// UnityEngine.XR.ARFoundation.ARSessionOrigin UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::get_sessionOrigin()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * ARTrackableManager_4_get_sessionOrigin_m7586BF41F7E15005BBAB400B15D68986289D465A_gshared (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB * __this, const RuntimeMethod* method)
{
{
// protected ARSessionOrigin sessionOrigin { get; private set; }
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = (ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)__this->get_U3CsessionOriginU3Ek__BackingField_8();
return L_0;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::set_sessionOrigin(UnityEngine.XR.ARFoundation.ARSessionOrigin)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_set_sessionOrigin_mC7F85158D00F7C9F3E2015E0835114A86EF1873E_gshared (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB * __this, ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * ___value0, const RuntimeMethod* method)
{
{
// protected ARSessionOrigin sessionOrigin { get; private set; }
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = ___value0;
__this->set_U3CsessionOriginU3Ek__BackingField_8(L_0);
return;
}
}
// UnityEngine.GameObject UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::GetPrefab()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * ARTrackableManager_4_GetPrefab_m2A6A4026948AF3CCDB5C40F869D99C4EAF222B52_gshared (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB * __this, const RuntimeMethod* method)
{
{
// protected virtual GameObject GetPrefab() => null;
return (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)NULL;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::Awake()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_Awake_m44AB216DC5C0581048DFFBC5F3473B129B1E2071_gshared (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_Awake_m44AB216DC5C0581048DFFBC5F3473B129B1E2071_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// sessionOrigin = GetComponent<ARSessionOrigin>();
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = Component_GetComponent_TisARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF_m25BC8791B994BAE33BF9003FFC85124F480EFB17((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)__this, /*hidden argument*/Component_GetComponent_TisARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF_m25BC8791B994BAE33BF9003FFC85124F480EFB17_RuntimeMethod_var);
NullCheck((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this);
(( void (*) (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *, ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this, (ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::OnEnable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnEnable_m9D78A084C3D37024672DE681A97B22328F329500_gshared (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_OnEnable_m9D78A084C3D37024672DE681A97B22328F329500_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// base.OnEnable();
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
(( void (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10));
// instance = this;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
(( void (*) (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 11)->methodPointer)((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 11));
// sessionOrigin.trackablesParentTransformChanged += OnTrackablesParentTransformChanged;
NullCheck((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB * L_1 = (Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB *)il2cpp_codegen_object_new(Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB_il2cpp_TypeInfo_var);
Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B(L_1, (RuntimeObject *)__this, (intptr_t)((intptr_t)IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)), /*hidden argument*/Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B_RuntimeMethod_var);
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0);
ARSessionOrigin_add_trackablesParentTransformChanged_m59165BB2C4BFB84AD169AF54D2D9B76DBD8A5235((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0, (Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB *)L_1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::OnDisable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnDisable_m8DFF20B4C65C4864E1D4275064A362F063D75AF4_gshared (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_OnDisable_m8DFF20B4C65C4864E1D4275064A362F063D75AF4_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// base.OnDisable();
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
(( void (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14));
// sessionOrigin.trackablesParentTransformChanged -= OnTrackablesParentTransformChanged;
NullCheck((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_0 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB * L_1 = (Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB *)il2cpp_codegen_object_new(Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB_il2cpp_TypeInfo_var);
Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B(L_1, (RuntimeObject *)__this, (intptr_t)((intptr_t)IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)), /*hidden argument*/Action_1__ctor_mD4953DB3DE150F2CB9F78CE8A7E8C5D65D346D3B_RuntimeMethod_var);
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0);
ARSessionOrigin_remove_trackablesParentTransformChanged_mF790C29F00B85A00D500F3420855F4BF75DBA2A4((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_0, (Action_1_t588A683DC5F7A8D1E018F565A7F879499E7209CB *)L_1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Boolean UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::CanBeAddedToSubsystem(TTrackable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ARTrackableManager_4_CanBeAddedToSubsystem_m44FB7253FDD9122A9D5EA0C7F84900C5328EA118_gshared (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB * __this, RuntimeObject * ___trackable0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_CanBeAddedToSubsystem_m44FB7253FDD9122A9D5EA0C7F84900C5328EA118_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// if (trackable == null)
RuntimeObject * L_0 = ___trackable0;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_0, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0019;
}
}
{
// throw new ArgumentNullException(nameof(trackable));
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_2 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_2, (String_t*)_stringLiteral05E5EBD9D5908CC9215021F08ACFBC4B58571C5C, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, ARTrackableManager_4_CanBeAddedToSubsystem_m44FB7253FDD9122A9D5EA0C7F84900C5328EA118_RuntimeMethod_var);
}
IL_0019:
{
// if (!trackable.trackableId.Equals(TrackableId.invalidId))
RuntimeObject * L_3 = ___trackable0;
NullCheck((ARTrackable_2_tB66986CA75C35EC5327D37C0B46A3DB897824BDB *)L_3);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_4 = (( TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 (*) (ARTrackable_2_tB66986CA75C35EC5327D37C0B46A3DB897824BDB *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)((ARTrackable_2_tB66986CA75C35EC5327D37C0B46A3DB897824BDB *)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
V_0 = (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_4;
IL2CPP_RUNTIME_CLASS_INIT(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47_il2cpp_TypeInfo_var);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_5 = TrackableId_get_invalidId_mBE9FA1EC8F2EC1575C1B31666EA928A3382DF1CD_inline(/*hidden argument*/NULL);
bool L_6 = TrackableId_Equals_mCE458E0FDCDD6E339FCC1926EE88EB7B3D45F943((TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 *)(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 *)(&V_0), (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_5, /*hidden argument*/NULL);
if (L_6)
{
goto IL_0035;
}
}
{
// return false;
return (bool)0;
}
IL_0035:
{
// if (m_Trackables.ContainsKey(trackable.trackableId))
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_7 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
RuntimeObject * L_8 = ___trackable0;
NullCheck((ARTrackable_2_tB66986CA75C35EC5327D37C0B46A3DB897824BDB *)L_8);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_9 = (( TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 (*) (ARTrackable_2_tB66986CA75C35EC5327D37C0B46A3DB897824BDB *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)((ARTrackable_2_tB66986CA75C35EC5327D37C0B46A3DB897824BDB *)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_7);
bool L_10 = (( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_7, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16));
if (!L_10)
{
goto IL_004f;
}
}
{
// return false;
return (bool)0;
}
IL_004f:
{
// if (!enabled || subsystem == null)
NullCheck((Behaviour_tBDC7E9C3C898AD8348891B82D3E345801D920CA8 *)__this);
bool L_11 = Behaviour_get_enabled_mAA0C9ED5A3D1589C1C8AA22636543528DB353CFB((Behaviour_tBDC7E9C3C898AD8348891B82D3E345801D920CA8 *)__this, /*hidden argument*/NULL);
if (!L_11)
{
goto IL_0064;
}
}
{
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
RuntimeObject * L_12 = (( RuntimeObject * (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
if (L_12)
{
goto IL_0072;
}
}
IL_0064:
{
// trackable.pending = true;
RuntimeObject * L_13 = ___trackable0;
NullCheck((ARTrackable_2_tB66986CA75C35EC5327D37C0B46A3DB897824BDB *)L_13);
(( void (*) (ARTrackable_2_tB66986CA75C35EC5327D37C0B46A3DB897824BDB *, bool, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((ARTrackable_2_tB66986CA75C35EC5327D37C0B46A3DB897824BDB *)L_13, (bool)1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
// return false;
return (bool)0;
}
IL_0072:
{
// return sessionOrigin && sessionOrigin.trackablesParent;
NullCheck((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_14 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_15 = Object_op_Implicit_m8B2A44B4B1406ED346D1AE6D962294FD58D0D534((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_14, /*hidden argument*/NULL);
if (!L_15)
{
goto IL_0090;
}
}
{
NullCheck((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_16 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_16);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_17 = ARSessionOrigin_get_trackablesParent_m37049D7E75CF694834A140C2EACB15D2D1098505_inline((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_16, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_18 = Object_op_Implicit_m8B2A44B4B1406ED346D1AE6D962294FD58D0D534((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_17, /*hidden argument*/NULL);
return L_18;
}
IL_0090:
{
return (bool)0;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::OnTrackablesParentTransformChanged(UnityEngine.XR.ARFoundation.ARTrackablesParentTransformChangedEventArgs)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnTrackablesParentTransformChanged_mF4D156EBFDD3548C3B164604C992C52FE6A4F30D_gshared (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB * __this, ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 ___eventArgs0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_OnTrackablesParentTransformChanged_mF4D156EBFDD3548C3B164604C992C52FE6A4F30D_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED V_0;
memset((&V_0), 0, sizeof(V_0));
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 V_1;
memset((&V_1), 0, sizeof(V_1));
RuntimeObject * V_2 = NULL;
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * V_3 = NULL;
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 V_4;
memset((&V_4), 0, sizeof(V_4));
{
// foreach (var trackable in trackables)
NullCheck((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this);
TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 L_0 = (( TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 (*) (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 4)->methodPointer)((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 4));
V_1 = (TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 )L_0;
Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED L_1 = TrackableCollection_1_GetEnumerator_mBAA3D036F160A053757196D57318EC6B3F368D02((TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 *)(TrackableCollection_1_t4F672148E28A41F14EAE569661A96270A528E608 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
V_0 = (Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED )L_1;
goto IL_0066;
}
IL_0011:
{
// foreach (var trackable in trackables)
RuntimeObject * L_2 = Enumerator_get_Current_m6D82C8CA15561A8D32BA77CB304C80AF57C4C77E((Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6));
V_2 = (RuntimeObject *)L_2;
// var transform = trackable.transform;
RuntimeObject * L_3 = V_2;
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_3);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_4 = Component_get_transform_m00F05BD782F920C301A7EBA480F3B7A904C07EC9((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_3, /*hidden argument*/NULL);
V_3 = (Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_4;
// if (transform.parent != eventArgs.trackablesParent)
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_5 = V_3;
NullCheck((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_5);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_6 = Transform_get_parent_m8FA24E38A1FA29D90CBF3CDC9F9F017C65BB3403((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_5, /*hidden argument*/NULL);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_7 = ARTrackablesParentTransformChangedEventArgs_get_trackablesParent_m124F9D34F6DA7E3FAB3E7CB9981820682219FE49_inline((ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 *)(ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 *)(&___eventArgs0), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_8 = Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_6, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_7, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_0066;
}
}
{
// var desiredPose = eventArgs.trackablesParent.TransformPose(trackable.sessionRelativePose);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_9 = ARTrackablesParentTransformChangedEventArgs_get_trackablesParent_m124F9D34F6DA7E3FAB3E7CB9981820682219FE49_inline((ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 *)(ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 *)(&___eventArgs0), /*hidden argument*/NULL);
RuntimeObject * L_10 = V_2;
NullCheck((ARTrackable_2_tB66986CA75C35EC5327D37C0B46A3DB897824BDB *)L_10);
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_11 = (( Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 (*) (ARTrackable_2_tB66986CA75C35EC5327D37C0B46A3DB897824BDB *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20)->methodPointer)((ARTrackable_2_tB66986CA75C35EC5327D37C0B46A3DB897824BDB *)L_10, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 20));
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_12 = TransformExtensions_TransformPose_m677CE84C622BD23C3DDB2953DDB820E1934B0144((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_9, (Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 )L_11, /*hidden argument*/NULL);
V_4 = (Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 )L_12;
// transform.SetPositionAndRotation(desiredPose.position, desiredPose.rotation);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_13 = V_3;
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_14 = V_4;
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_15 = (Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 )L_14.get_position_0();
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_16 = V_4;
Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 L_17 = (Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 )L_16.get_rotation_1();
NullCheck((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_13);
Transform_SetPositionAndRotation_mDB9B34321018846FD7E2315CBE8D4A6612E3DE43((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_13, (Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 )L_15, (Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 )L_17, /*hidden argument*/NULL);
}
IL_0066:
{
// foreach (var trackable in trackables)
bool L_18 = Enumerator_MoveNext_mF64DBEA38614B8A6E085DFC09DD2745BE2ACB9BE((Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(Enumerator_t3CA35B0FF0588CA447157731D78AC026FF3FA6ED *)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
if (L_18)
{
goto IL_0011;
}
}
{
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::Update()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_Update_m8A0438B967F0EB487C37E42EB6B928C2B437AAAB_gshared (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_Update_m8A0438B967F0EB487C37E42EB6B928C2B437AAAB_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 V_0;
memset((&V_0), 0, sizeof(V_0));
TrackableChanges_1_t03A664B58E58E32B5EC1F7CB7133E87F804EE874 V_1;
memset((&V_1), 0, sizeof(V_1));
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 V_2;
memset((&V_2), 0, sizeof(V_2));
NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 V_3;
memset((&V_3), 0, sizeof(V_3));
Enumerator_t8D990E98FC643A10DA193AAFF82900775BDBF362 V_4;
memset((&V_4), 0, sizeof(V_4));
XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 V_5;
memset((&V_5), 0, sizeof(V_5));
XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 V_6;
memset((&V_6), 0, sizeof(V_6));
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 V_7;
memset((&V_7), 0, sizeof(V_7));
Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A V_8;
memset((&V_8), 0, sizeof(V_8));
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 V_9;
memset((&V_9), 0, sizeof(V_9));
RuntimeObject * V_10 = NULL;
Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD V_11;
memset((&V_11), 0, sizeof(V_11));
RuntimeObject * V_12 = 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) * 5);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
// if (subsystem == null || !subsystem.running)
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
RuntimeObject * L_0 = (( RuntimeObject * (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
if (!L_0)
{
goto IL_001f;
}
}
{
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
RuntimeObject * L_1 = (( RuntimeObject * (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
NullCheck((Subsystem_t17E4AEB5537DC8AECC37EC3F6FCB46CC7D2C73F6 *)L_1);
bool L_2 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.Subsystem::get_running() */, (Subsystem_t17E4AEB5537DC8AECC37EC3F6FCB46CC7D2C73F6 *)L_1);
if (L_2)
{
goto IL_0020;
}
}
IL_001f:
{
// return;
return;
}
IL_0020:
{
// using (new ScopedProfiler("GetChanges"))
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_0), (String_t*)_stringLiteralE68C28CA8FA3E38258B2081639EE5D1C7F58849B, /*hidden argument*/NULL);
}
IL_002c:
try
{ // begin try (depth: 1)
{
// using (var changes = subsystem.GetChanges(Allocator.Temp))
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
RuntimeObject * L_3 = (( RuntimeObject * (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
NullCheck((TrackingSubsystem_2_t463AAAB107BF4F04078A98431C680E92C4B53148 *)L_3);
TrackableChanges_1_t03A664B58E58E32B5EC1F7CB7133E87F804EE874 L_4 = VirtFuncInvoker1< TrackableChanges_1_t03A664B58E58E32B5EC1F7CB7133E87F804EE874 , int32_t >::Invoke(14 /* UnityEngine.XR.ARSubsystems.TrackableChanges`1<!0> UnityEngine.XR.ARSubsystems.TrackingSubsystem`2<UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::GetChanges(Unity.Collections.Allocator) */, (TrackingSubsystem_2_t463AAAB107BF4F04078A98431C680E92C4B53148 *)L_3, (int32_t)2);
V_1 = (TrackableChanges_1_t03A664B58E58E32B5EC1F7CB7133E87F804EE874 )L_4;
}
IL_003e:
try
{ // begin try (depth: 2)
{
// using (new ScopedProfiler("ProcessAdded"))
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 L_5;
memset((&L_5), 0, sizeof(L_5));
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((&L_5), (String_t*)_stringLiteral8CC52613125F0E802A5E603C37A6CAE800639F62, /*hidden argument*/NULL);
V_2 = (ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 )L_5;
}
IL_0049:
try
{ // begin try (depth: 3)
{
// ClearAndSetCapacity(s_Added, changes.added.Length);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_6 = ((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Added_11();
NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 L_7 = TrackableChanges_1_get_added_m6B4AFC77B682299AFAB977EDEAF164E6B63E3670_inline((TrackableChanges_1_t03A664B58E58E32B5EC1F7CB7133E87F804EE874 *)(TrackableChanges_1_t03A664B58E58E32B5EC1F7CB7133E87F804EE874 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
V_3 = (NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 )L_7;
int32_t L_8 = IL2CPP_NATIVEARRAY_GET_LENGTH(((NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 *)(NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 *)(&V_3))->___m_Length_1);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_6, (int32_t)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24));
// foreach (var added in changes.added)
NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 L_9 = TrackableChanges_1_get_added_m6B4AFC77B682299AFAB977EDEAF164E6B63E3670_inline((TrackableChanges_1_t03A664B58E58E32B5EC1F7CB7133E87F804EE874 *)(TrackableChanges_1_t03A664B58E58E32B5EC1F7CB7133E87F804EE874 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
V_3 = (NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 )L_9;
Enumerator_t8D990E98FC643A10DA193AAFF82900775BDBF362 L_10 = NativeArray_1_GetEnumerator_mD6D1A774D537C290064A60C7BA6FA540A62335E0((NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 *)(NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 *)(&V_3), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
V_4 = (Enumerator_t8D990E98FC643A10DA193AAFF82900775BDBF362 )L_10;
}
IL_0073:
try
{ // begin try (depth: 4)
{
goto IL_0090;
}
IL_0075:
{
// foreach (var added in changes.added)
XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 L_11 = Enumerator_get_Current_m0E4558EE4194E642C17FD13159FB65DA47B0A72F((Enumerator_t8D990E98FC643A10DA193AAFF82900775BDBF362 *)(Enumerator_t8D990E98FC643A10DA193AAFF82900775BDBF362 *)(&V_4), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
V_5 = (XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 )L_11;
// s_Added.Add(CreateOrUpdateTrackable(added));
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_12 = ((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Added_11();
XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 L_13 = V_5;
NullCheck((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this);
RuntimeObject * L_14 = (( RuntimeObject * (*) (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *, XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this, (XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 )L_13, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_12);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_12, (RuntimeObject *)L_14, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_0090:
{
// foreach (var added in changes.added)
bool L_15 = Enumerator_MoveNext_m7551BFA9AB51FE9D58AE10C23F2466946A9CFD2D((Enumerator_t8D990E98FC643A10DA193AAFF82900775BDBF362 *)(Enumerator_t8D990E98FC643A10DA193AAFF82900775BDBF362 *)(&V_4), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29));
if (L_15)
{
goto IL_0075;
}
}
IL_0099:
{
IL2CPP_LEAVE(0xB7, FINALLY_009b);
}
} // end try (depth: 4)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_009b;
}
FINALLY_009b:
{ // begin finally (depth: 4)
Il2CppFakeBox<Enumerator_t8D990E98FC643A10DA193AAFF82900775BDBF362 > L_16(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 30), (&V_4));
const VirtualInvokeData& il2cpp_virtual_invoke_data__163 = il2cpp_codegen_get_interface_invoke_data(0, (&L_16), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__163.methodPtr)((RuntimeObject*)(&L_16), /*hidden argument*/il2cpp_virtual_invoke_data__163.method);
V_4 = L_16.m_Value;
IL2CPP_END_FINALLY(155)
} // end finally (depth: 4)
IL2CPP_CLEANUP(155)
{
IL2CPP_END_CLEANUP(0xB7, FINALLY_00a9);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 3)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00a9;
}
FINALLY_00a9:
{ // begin finally (depth: 3)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_2), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(169)
} // end finally (depth: 3)
IL2CPP_CLEANUP(169)
{
IL2CPP_JUMP_TBL(0xB7, IL_00b7)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00b7:
{
// using (new ScopedProfiler("ProcessUpdated"))
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 L_17;
memset((&L_17), 0, sizeof(L_17));
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((&L_17), (String_t*)_stringLiteralD84182942D9EE680B64113858F0F32DEDC108F25, /*hidden argument*/NULL);
V_2 = (ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 )L_17;
}
IL_00c2:
try
{ // begin try (depth: 3)
{
// ClearAndSetCapacity(s_Updated, changes.updated.Length);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_18 = ((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Updated_12();
NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 L_19 = TrackableChanges_1_get_updated_mDDB738464599270A745A15C57FC941EEBEC00700_inline((TrackableChanges_1_t03A664B58E58E32B5EC1F7CB7133E87F804EE874 *)(TrackableChanges_1_t03A664B58E58E32B5EC1F7CB7133E87F804EE874 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
V_3 = (NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 )L_19;
int32_t L_20 = IL2CPP_NATIVEARRAY_GET_LENGTH(((NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 *)(NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 *)(&V_3))->___m_Length_1);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_18, (int32_t)L_20, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24));
// foreach (var updated in changes.updated)
NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 L_21 = TrackableChanges_1_get_updated_mDDB738464599270A745A15C57FC941EEBEC00700_inline((TrackableChanges_1_t03A664B58E58E32B5EC1F7CB7133E87F804EE874 *)(TrackableChanges_1_t03A664B58E58E32B5EC1F7CB7133E87F804EE874 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
V_3 = (NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 )L_21;
Enumerator_t8D990E98FC643A10DA193AAFF82900775BDBF362 L_22 = NativeArray_1_GetEnumerator_mD6D1A774D537C290064A60C7BA6FA540A62335E0((NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 *)(NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 *)(&V_3), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
V_4 = (Enumerator_t8D990E98FC643A10DA193AAFF82900775BDBF362 )L_22;
}
IL_00ec:
try
{ // begin try (depth: 4)
{
goto IL_0109;
}
IL_00ee:
{
// foreach (var updated in changes.updated)
XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 L_23 = Enumerator_get_Current_m0E4558EE4194E642C17FD13159FB65DA47B0A72F((Enumerator_t8D990E98FC643A10DA193AAFF82900775BDBF362 *)(Enumerator_t8D990E98FC643A10DA193AAFF82900775BDBF362 *)(&V_4), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
V_6 = (XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 )L_23;
// s_Updated.Add(CreateOrUpdateTrackable(updated));
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_24 = ((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Updated_12();
XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 L_25 = V_6;
NullCheck((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this);
RuntimeObject * L_26 = (( RuntimeObject * (*) (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *, XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this, (XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 )L_25, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_24);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_24, (RuntimeObject *)L_26, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_0109:
{
// foreach (var updated in changes.updated)
bool L_27 = Enumerator_MoveNext_m7551BFA9AB51FE9D58AE10C23F2466946A9CFD2D((Enumerator_t8D990E98FC643A10DA193AAFF82900775BDBF362 *)(Enumerator_t8D990E98FC643A10DA193AAFF82900775BDBF362 *)(&V_4), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 29));
if (L_27)
{
goto IL_00ee;
}
}
IL_0112:
{
IL2CPP_LEAVE(0x130, FINALLY_0114);
}
} // end try (depth: 4)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0114;
}
FINALLY_0114:
{ // begin finally (depth: 4)
Il2CppFakeBox<Enumerator_t8D990E98FC643A10DA193AAFF82900775BDBF362 > L_28(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 30), (&V_4));
const VirtualInvokeData& il2cpp_virtual_invoke_data__284 = il2cpp_codegen_get_interface_invoke_data(0, (&L_28), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__284.methodPtr)((RuntimeObject*)(&L_28), /*hidden argument*/il2cpp_virtual_invoke_data__284.method);
V_4 = L_28.m_Value;
IL2CPP_END_FINALLY(276)
} // end finally (depth: 4)
IL2CPP_CLEANUP(276)
{
IL2CPP_END_CLEANUP(0x130, FINALLY_0122);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 3)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0122;
}
FINALLY_0122:
{ // begin finally (depth: 3)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_2), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(290)
} // end finally (depth: 3)
IL2CPP_CLEANUP(290)
{
IL2CPP_JUMP_TBL(0x130, IL_0130)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0130:
{
// using (new ScopedProfiler("ProcessRemoved"))
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 L_29;
memset((&L_29), 0, sizeof(L_29));
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((&L_29), (String_t*)_stringLiteralC0371E7E1DB9F795AC51193C554BD9BEF51AD664, /*hidden argument*/NULL);
V_2 = (ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 )L_29;
}
IL_013b:
try
{ // begin try (depth: 3)
{
// ClearAndSetCapacity(s_Removed, changes.removed.Length);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_30 = ((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 L_31 = TrackableChanges_1_get_removed_m53E0E551E0ACC552E62D8BA2A0A234D72CAB6C74_inline((TrackableChanges_1_t03A664B58E58E32B5EC1F7CB7133E87F804EE874 *)(TrackableChanges_1_t03A664B58E58E32B5EC1F7CB7133E87F804EE874 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
V_7 = (NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 )L_31;
int32_t L_32 = IL2CPP_NATIVEARRAY_GET_LENGTH(((NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 *)(NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 *)(&V_7))->___m_Length_1);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_30, (int32_t)L_32, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24));
// foreach (var trackableId in changes.removed)
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 L_33 = TrackableChanges_1_get_removed_m53E0E551E0ACC552E62D8BA2A0A234D72CAB6C74_inline((TrackableChanges_1_t03A664B58E58E32B5EC1F7CB7133E87F804EE874 *)(TrackableChanges_1_t03A664B58E58E32B5EC1F7CB7133E87F804EE874 *)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
V_7 = (NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 )L_33;
Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A L_34 = NativeArray_1_GetEnumerator_m3B6CA1981A8CE62A1C67FCEEBE1887CD32906DA2((NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 *)(NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 *)(&V_7), /*hidden argument*/NativeArray_1_GetEnumerator_m3B6CA1981A8CE62A1C67FCEEBE1887CD32906DA2_RuntimeMethod_var);
V_8 = (Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A )L_34;
}
IL_0167:
try
{ // begin try (depth: 4)
{
goto IL_01ab;
}
IL_0169:
{
// foreach (var trackableId in changes.removed)
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_35 = Enumerator_get_Current_m913D10AD892E19937C638773D208459E9862248D((Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A *)(Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A *)(&V_8), /*hidden argument*/Enumerator_get_Current_m913D10AD892E19937C638773D208459E9862248D_RuntimeMethod_var);
V_9 = (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_35;
// if (m_Trackables.TryGetValue(trackableId, out var trackable))
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_36 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_37 = V_9;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_36);
bool L_38 = (( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject **, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_36, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_37, (RuntimeObject **)(RuntimeObject **)(&V_10), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
if (!L_38)
{
goto IL_01ab;
}
}
IL_0183:
{
// m_Trackables.Remove(trackableId);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_39 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_40 = V_9;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_39);
(( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_39, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_40, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
// if (trackable)
RuntimeObject * L_41 = V_10;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_42 = Object_op_Implicit_m8B2A44B4B1406ED346D1AE6D962294FD58D0D534((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_41, /*hidden argument*/NULL);
if (!L_42)
{
goto IL_01ab;
}
}
IL_019f:
{
// s_Removed.Add(trackable);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_43 = ((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
RuntimeObject * L_44 = V_10;
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_43);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_43, (RuntimeObject *)L_44, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
}
IL_01ab:
{
// foreach (var trackableId in changes.removed)
bool L_45 = Enumerator_MoveNext_m3C4C0B0B1AE71E65EF8255E6FC671DDBC829B6AA((Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A *)(Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A *)(&V_8), /*hidden argument*/Enumerator_MoveNext_m3C4C0B0B1AE71E65EF8255E6FC671DDBC829B6AA_RuntimeMethod_var);
if (L_45)
{
goto IL_0169;
}
}
IL_01b4:
{
IL2CPP_LEAVE(0x1EE, FINALLY_01b6);
}
} // end try (depth: 4)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01b6;
}
FINALLY_01b6:
{ // begin finally (depth: 4)
Il2CppFakeBox<Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A > L_46(Enumerator_tDB12EE5618B415F0FB5AEEE49E6F2F41DFB2FD0A_il2cpp_TypeInfo_var, (&V_8));
const VirtualInvokeData& il2cpp_virtual_invoke_data__446 = il2cpp_codegen_get_interface_invoke_data(0, (&L_46), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__446.methodPtr)((RuntimeObject*)(&L_46), /*hidden argument*/il2cpp_virtual_invoke_data__446.method);
V_8 = L_46.m_Value;
IL2CPP_END_FINALLY(438)
} // end finally (depth: 4)
IL2CPP_CLEANUP(438)
{
IL2CPP_END_CLEANUP(0x1EE, FINALLY_01c4);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 3)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01c4;
}
FINALLY_01c4:
{ // begin finally (depth: 3)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_2), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(452)
} // end finally (depth: 3)
IL2CPP_CLEANUP(452)
{
IL2CPP_END_CLEANUP(0x1EE, FINALLY_01d2);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01d2;
}
FINALLY_01d2:
{ // begin finally (depth: 2)
Il2CppFakeBox<TrackableChanges_1_t03A664B58E58E32B5EC1F7CB7133E87F804EE874 > L_47(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 35), (&V_1));
const VirtualInvokeData& il2cpp_virtual_invoke_data__474 = il2cpp_codegen_get_interface_invoke_data(0, (&L_47), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__474.methodPtr)((RuntimeObject*)(&L_47), /*hidden argument*/il2cpp_virtual_invoke_data__474.method);
V_1 = L_47.m_Value;
IL2CPP_END_FINALLY(466)
} // end finally (depth: 2)
IL2CPP_CLEANUP(466)
{
IL2CPP_END_CLEANUP(0x1EE, FINALLY_01e0);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01e0;
}
FINALLY_01e0:
{ // begin finally (depth: 1)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_0), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(480)
} // end finally (depth: 1)
IL2CPP_CLEANUP(480)
{
IL2CPP_JUMP_TBL(0x1EE, IL_01ee)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_01ee:
{
}
IL_01ef:
try
{ // begin try (depth: 1)
{
// if ((s_Added.Count) > 0 ||
// (s_Updated.Count) > 0 ||
// (s_Removed.Count) > 0)
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_48 = ((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Added_11();
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_48);
int32_t L_49 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_48, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36));
if ((((int32_t)L_49) > ((int32_t)0)))
{
goto IL_0216;
}
}
IL_01fc:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_50 = ((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Updated_12();
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_50);
int32_t L_51 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_50, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36));
if ((((int32_t)L_51) > ((int32_t)0)))
{
goto IL_0216;
}
}
IL_0209:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_52 = ((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_52);
int32_t L_53 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_52, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36));
if ((((int32_t)L_53) <= ((int32_t)0)))
{
goto IL_022b;
}
}
IL_0216:
{
// OnTrackablesChanged(s_Added, s_Updated, s_Removed);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_54 = ((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Added_11();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_55 = ((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Updated_12();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_56 = ((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
NullCheck((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this);
VirtActionInvoker3< List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * >::Invoke(13 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::OnTrackablesChanged(System.Collections.Generic.List`1<TTrackable>,System.Collections.Generic.List`1<TTrackable>,System.Collections.Generic.List`1<TTrackable>) */, (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this, (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_54, (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_55, (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_56);
}
IL_022b:
{
// }
IL2CPP_LEAVE(0x266, FINALLY_022d);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_022d;
}
FINALLY_022d:
{ // begin finally (depth: 1)
{
// foreach (var removed in s_Removed)
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_57 = ((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get_s_Removed_13();
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_57);
Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD L_58 = (( Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_57, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38));
V_11 = (Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD )L_58;
}
IL_0239:
try
{ // begin try (depth: 2)
{
goto IL_024c;
}
IL_023b:
{
// foreach (var removed in s_Removed)
RuntimeObject * L_59 = Enumerator_get_Current_mD7829C7E8CFBEDD463B15A951CDE9B90A12CC55C_inline((Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD *)(Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD *)(&V_11), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 39));
V_12 = (RuntimeObject *)L_59;
// DestroyTrackable(removed);
RuntimeObject * L_60 = V_12;
NullCheck((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this);
(( void (*) (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40)->methodPointer)((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this, (RuntimeObject *)L_60, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40));
}
IL_024c:
{
// foreach (var removed in s_Removed)
bool L_61 = Enumerator_MoveNext_m38B1099DDAD7EEDE2F4CDAB11C095AC784AC2E34((Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD *)(Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD *)(&V_11), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 41));
if (L_61)
{
goto IL_023b;
}
}
IL_0255:
{
IL2CPP_LEAVE(0x265, FINALLY_0257);
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0257;
}
FINALLY_0257:
{ // begin finally (depth: 2)
Il2CppFakeBox<Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD > L_62(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 42), (&V_11));
const VirtualInvokeData& il2cpp_virtual_invoke_data__607 = il2cpp_codegen_get_interface_invoke_data(0, (&L_62), IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var);
(( void (*) (RuntimeObject*, const RuntimeMethod*))il2cpp_virtual_invoke_data__607.methodPtr)((RuntimeObject*)(&L_62), /*hidden argument*/il2cpp_virtual_invoke_data__607.method);
V_11 = L_62.m_Value;
IL2CPP_END_FINALLY(599)
} // end finally (depth: 2)
IL2CPP_CLEANUP(599)
{
IL2CPP_JUMP_TBL(0x265, IL_0265)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0265:
{
// }
IL2CPP_END_FINALLY(557)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(557)
{
IL2CPP_JUMP_TBL(0x266, IL_0266)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0266:
{
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::OnTrackablesChanged(System.Collections.Generic.List`1<TTrackable>,System.Collections.Generic.List`1<TTrackable>,System.Collections.Generic.List`1<TTrackable>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnTrackablesChanged_mD29B36994A6ECB06DFA5F8E0EAE4ED168268F4FF_gshared (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB * __this, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___added0, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___updated1, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___removed2, const RuntimeMethod* method)
{
{
// { }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::OnCreateTrackable(TTrackable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnCreateTrackable_m029C14FCC6B3B51477AFEA9B62731E35658AD75A_gshared (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB * __this, RuntimeObject * ___trackable0, const RuntimeMethod* method)
{
{
// { }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::OnAfterSetSessionRelativeData(TTrackable,TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_OnAfterSetSessionRelativeData_m7A36633F1541C0DB2222605A1C10A2429544F3DA_gshared (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB * __this, RuntimeObject * ___trackable0, XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 ___sessionRelativeData1, const RuntimeMethod* method)
{
{
// { }
return;
}
}
// TTrackable UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::CreateTrackableImmediate(TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * ARTrackableManager_4_CreateTrackableImmediate_m7F881D798347270DE8709590E4F6B3F1463D5CCB_gshared (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB * __this, XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 ___sessionRelativeData0, const RuntimeMethod* method)
{
RuntimeObject * V_0 = NULL;
{
// var trackable = CreateOrUpdateTrackable(sessionRelativeData);
XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 L_0 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this);
RuntimeObject * L_1 = (( RuntimeObject * (*) (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *, XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this, (XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
V_0 = (RuntimeObject *)L_1;
// trackable.pending = true;
RuntimeObject * L_2 = V_0;
NullCheck((ARTrackable_2_tB66986CA75C35EC5327D37C0B46A3DB897824BDB *)L_2);
(( void (*) (ARTrackable_2_tB66986CA75C35EC5327D37C0B46A3DB897824BDB *, bool, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((ARTrackable_2_tB66986CA75C35EC5327D37C0B46A3DB897824BDB *)L_2, (bool)1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
// m_PendingAdds.Add(trackable.trackableId, trackable);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_3 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
RuntimeObject * L_4 = V_0;
NullCheck((ARTrackable_2_tB66986CA75C35EC5327D37C0B46A3DB897824BDB *)L_4);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_5 = (( TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 (*) (ARTrackable_2_tB66986CA75C35EC5327D37C0B46A3DB897824BDB *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15)->methodPointer)((ARTrackable_2_tB66986CA75C35EC5327D37C0B46A3DB897824BDB *)L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 15));
RuntimeObject * L_6 = V_0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_3);
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_3, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_5, (RuntimeObject *)L_6, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43));
// return trackable;
RuntimeObject * L_7 = V_0;
return L_7;
}
}
// System.Boolean UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::DestroyPendingTrackable(UnityEngine.XR.ARSubsystems.TrackableId)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ARTrackableManager_4_DestroyPendingTrackable_m57519E4D53A3E0E7CD4D94957C70A6D78A461838_gshared (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB * __this, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___trackableId0, const RuntimeMethod* method)
{
RuntimeObject * V_0 = NULL;
{
// if (m_PendingAdds.TryGetValue(trackableId, out var trackable))
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_0 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_1 = ___trackableId0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_0);
bool L_2 = (( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject **, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_0, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_1, (RuntimeObject **)(RuntimeObject **)(&V_0), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
if (!L_2)
{
goto IL_0033;
}
}
{
// m_PendingAdds.Remove(trackableId);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_3 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_4 = ___trackableId0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_3);
(( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_3, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
// m_Trackables.Remove(trackableId);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_5 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_6 = ___trackableId0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_5);
(( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_5, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_6, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
// DestroyTrackable(trackable);
RuntimeObject * L_7 = V_0;
NullCheck((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this);
(( void (*) (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40)->methodPointer)((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this, (RuntimeObject *)L_7, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40));
// return true;
return (bool)1;
}
IL_0033:
{
// return false;
return (bool)0;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::ClearAndSetCapacity(System.Collections.Generic.List`1<TTrackable>,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_ClearAndSetCapacity_m0B66CC056EA30FF1E34503B5F2C6FBCFC67DCE91_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___list0, int32_t ___capacity1, const RuntimeMethod* method)
{
{
// list.Clear();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_0 = ___list0;
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_0);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 44)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 44));
// if (list.Capacity < capacity)
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_1 = ___list0;
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_1);
int32_t L_2 = (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 45)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 45));
int32_t L_3 = ___capacity1;
if ((((int32_t)L_2) >= ((int32_t)L_3)))
{
goto IL_0016;
}
}
{
// list.Capacity = capacity;
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_4 = ___list0;
int32_t L_5 = ___capacity1;
NullCheck((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_4);
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 46)->methodPointer)((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)L_4, (int32_t)L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 46));
}
IL_0016:
{
// }
return;
}
}
// System.String UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::GetTrackableName(UnityEngine.XR.ARSubsystems.TrackableId)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* ARTrackableManager_4_GetTrackableName_m41FF1A3822F09265B17331BB2F0F3DE3C8A03C02_gshared (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB * __this, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___trackableId0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_GetTrackableName_m41FF1A3822F09265B17331BB2F0F3DE3C8A03C02_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// return gameObjectName + " " + trackableId.ToString();
NullCheck((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this);
String_t* L_0 = VirtFuncInvoker0< String_t* >::Invoke(9 /* System.String UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::get_gameObjectName() */, (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this);
String_t* L_1 = TrackableId_ToString_mBA49191865E57697F4279D2781B182590726A215((TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 *)(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 *)(&___trackableId0), /*hidden argument*/NULL);
String_t* L_2 = String_Concat_mF4626905368D6558695A823466A1AF65EADB9923((String_t*)L_0, (String_t*)_stringLiteralB858CB282617FB0956D960215C8E84D1CCF909C6, (String_t*)L_1, /*hidden argument*/NULL);
return L_2;
}
}
// System.ValueTuple`2<UnityEngine.GameObject,System.Boolean> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::CreateGameObjectDeactivated()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 ARTrackableManager_4_CreateGameObjectDeactivated_m6465EB8C208D118E0EBE4C6821BE3A71DA7865AD_gshared (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_CreateGameObjectDeactivated_m6465EB8C208D118E0EBE4C6821BE3A71DA7865AD_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * V_0 = NULL;
bool V_1 = false;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * V_2 = NULL;
{
// var prefab = GetPrefab();
NullCheck((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_0 = VirtFuncInvoker0< GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * >::Invoke(10 /* UnityEngine.GameObject UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::GetPrefab() */, (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this);
V_0 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_0;
// if (prefab == null)
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_1 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_1, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0039;
}
}
{
// var gameObject = new GameObject();
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_3 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)il2cpp_codegen_object_new(GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F_il2cpp_TypeInfo_var);
GameObject__ctor_mA4DFA8F4471418C248E95B55070665EF344B4B2D(L_3, /*hidden argument*/NULL);
// gameObject.SetActive(false);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_4 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_3;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_4);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_4, (bool)0, /*hidden argument*/NULL);
// gameObject.transform.parent = sessionOrigin.trackablesParent;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_5 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_4;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_6 = GameObject_get_transform_mA5C38857137F137CB96C69FAA624199EB1C2FB2C((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5, /*hidden argument*/NULL);
NullCheck((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_7 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_7);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_8 = ARSessionOrigin_get_trackablesParent_m37049D7E75CF694834A140C2EACB15D2D1098505_inline((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_7, /*hidden argument*/NULL);
NullCheck((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_6);
Transform_set_parent_m65B8E4660B2C554069C57A957D9E55FECA7AA73E((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_6, (Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_8, /*hidden argument*/NULL);
// return (gameObject, true);
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_9;
memset((&L_9), 0, sizeof(L_9));
ValueTuple_2__ctor_m73A57D85868E9347B9DCD08AB9585E9B191478F7((&L_9), (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5, (bool)1, /*hidden argument*/ValueTuple_2__ctor_m73A57D85868E9347B9DCD08AB9585E9B191478F7_RuntimeMethod_var);
return L_9;
}
IL_0039:
{
// var active = prefab.activeSelf;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_10 = V_0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_10);
bool L_11 = GameObject_get_activeSelf_mFE1834886CAE59884AC2BE707A3B821A1DB61F44((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_10, /*hidden argument*/NULL);
V_1 = (bool)L_11;
// prefab.SetActive(false);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_12 = V_0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_12);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_12, (bool)0, /*hidden argument*/NULL);
// var gameObject = Instantiate(prefab, sessionOrigin.trackablesParent);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_13 = V_0;
NullCheck((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_14 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_14);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_15 = ARSessionOrigin_get_trackablesParent_m37049D7E75CF694834A140C2EACB15D2D1098505_inline((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_14, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_16 = Object_Instantiate_TisGameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F_m1CDF66D563B03D37B37264800222D4F3B307EDA0((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_13, (Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_15, /*hidden argument*/Object_Instantiate_TisGameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F_m1CDF66D563B03D37B37264800222D4F3B307EDA0_RuntimeMethod_var);
V_2 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_16;
// prefab.SetActive(active);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_17 = V_0;
bool L_18 = V_1;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_17);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_17, (bool)L_18, /*hidden argument*/NULL);
// return (gameObject, active);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_19 = V_2;
bool L_20 = V_1;
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_21;
memset((&L_21), 0, sizeof(L_21));
ValueTuple_2__ctor_m73A57D85868E9347B9DCD08AB9585E9B191478F7((&L_21), (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_19, (bool)L_20, /*hidden argument*/ValueTuple_2__ctor_m73A57D85868E9347B9DCD08AB9585E9B191478F7_RuntimeMethod_var);
return L_21;
}
}
// System.ValueTuple`2<UnityEngine.GameObject,System.Boolean> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::CreateGameObjectDeactivated(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 ARTrackableManager_4_CreateGameObjectDeactivated_mEACD103D919980DCE4B7373094491783C7BFF4B3_gshared (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB * __this, String_t* ___name0, const RuntimeMethod* method)
{
{
// var tuple = CreateGameObjectDeactivated();
NullCheck((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this);
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_0 = (( ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 (*) (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 49)->methodPointer)((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 49));
// tuple.gameObject.name = name;
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_1 = (ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 )L_0;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_2 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_1.get_Item1_0();
String_t* L_3 = ___name0;
NullCheck((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_2);
Object_set_name_m538711B144CDE30F929376BCF72D0DC8F85D0826((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_2, (String_t*)L_3, /*hidden argument*/NULL);
// return tuple;
return L_1;
}
}
// System.ValueTuple`2<UnityEngine.GameObject,System.Boolean> UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::CreateGameObjectDeactivated(UnityEngine.XR.ARSubsystems.TrackableId)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 ARTrackableManager_4_CreateGameObjectDeactivated_mE7DDFB2F69E31A2A71035A0C797C8E713239E76C_gshared (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB * __this, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 ___trackableId0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_CreateGameObjectDeactivated_mE7DDFB2F69E31A2A71035A0C797C8E713239E76C_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 V_0;
memset((&V_0), 0, sizeof(V_0));
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 V_1;
memset((&V_1), 0, sizeof(V_1));
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);
{
// using (new ScopedProfiler("CreateGameObject"))
ScopedProfiler__ctor_mC6576AB1ED762DB2335436C4C63121FE04BBF264((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_0), (String_t*)_stringLiteralA1BA014E93BB1085A758A3F66948C9CAC874B9BD, /*hidden argument*/NULL);
}
IL_000c:
try
{ // begin try (depth: 1)
// return CreateGameObjectDeactivated(GetTrackableName(trackableId));
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = ___trackableId0;
NullCheck((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this);
String_t* L_1 = (( String_t* (*) (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 50)->methodPointer)((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 50));
NullCheck((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this);
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_2 = (( ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 (*) (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *, String_t*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 51)->methodPointer)((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this, (String_t*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 51));
V_1 = (ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 )L_2;
IL2CPP_LEAVE(0x2A, FINALLY_001c);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_001c;
}
FINALLY_001c:
{ // begin finally (depth: 1)
ScopedProfiler_Dispose_m9330643F81D6C1961371A3D1436A53EFCB232887((ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(ScopedProfiler_t323CF734CDB6C07F022F67D7A016DE3C222C1C12 *)(&V_0), /*hidden argument*/NULL);
IL2CPP_END_FINALLY(28)
} // end finally (depth: 1)
IL2CPP_CLEANUP(28)
{
IL2CPP_JUMP_TBL(0x2A, IL_002a)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_002a:
{
// }
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_3 = V_1;
return L_3;
}
}
// TTrackable UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::CreateTrackable(TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * ARTrackableManager_4_CreateTrackable_m80A028D9AC9BB30DE1E7F1CCA7A0A08AC95017DF_gshared (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB * __this, XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 ___sessionRelativeData0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_CreateTrackable_m80A028D9AC9BB30DE1E7F1CCA7A0A08AC95017DF_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * V_0 = NULL;
bool V_1 = false;
RuntimeObject * V_2 = NULL;
{
// var (gameObject, shouldBeActive) = CreateGameObjectDeactivated(sessionRelativeData.trackableId);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = XRTrackedObject_get_trackableId_mB720981791DE599B20879640517A33BE2FE2D84D_inline((XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 *)(XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 *)(&___sessionRelativeData0), /*hidden argument*/NULL);
NullCheck((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this);
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_1 = (( ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 (*) (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 53)->methodPointer)((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 53));
ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 L_2 = (ValueTuple_2_t627D806334E3E4AD35E2CFC479C866136BF1B352 )L_1;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_3 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_2.get_Item1_0();
V_0 = (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_3;
bool L_4 = (bool)L_2.get_Item2_1();
V_1 = (bool)L_4;
// var trackable = gameObject.GetComponent<TTrackable>();
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_5 = V_0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5);
RuntimeObject * L_6 = (( RuntimeObject * (*) (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 54)->methodPointer)((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 54));
V_2 = (RuntimeObject *)L_6;
// if (trackable == null)
RuntimeObject * L_7 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_8 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_7, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_003c;
}
}
{
// trackable = gameObject.AddComponent<TTrackable>();
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_9 = V_0;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_9);
RuntimeObject * L_10 = (( RuntimeObject * (*) (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 55)->methodPointer)((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 55));
V_2 = (RuntimeObject *)L_10;
}
IL_003c:
{
// m_Trackables.Add(sessionRelativeData.trackableId, trackable);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_11 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_12 = XRTrackedObject_get_trackableId_mB720981791DE599B20879640517A33BE2FE2D84D_inline((XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 *)(XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 *)(&___sessionRelativeData0), /*hidden argument*/NULL);
RuntimeObject * L_13 = V_2;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_11);
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_11, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_12, (RuntimeObject *)L_13, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43));
// SetSessionRelativeData(trackable, sessionRelativeData);
RuntimeObject * L_14 = V_2;
XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 L_15 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this);
(( void (*) (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *, RuntimeObject *, XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56)->methodPointer)((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this, (RuntimeObject *)L_14, (XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 )L_15, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56));
// trackable.gameObject.SetActive(shouldBeActive);
RuntimeObject * L_16 = V_2;
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_16);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_17 = Component_get_gameObject_m0B0570BA8DDD3CD78A9DB568EA18D7317686603C((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_16, /*hidden argument*/NULL);
bool L_18 = V_1;
NullCheck((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_17);
GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04((GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F *)L_17, (bool)L_18, /*hidden argument*/NULL);
// return trackable;
RuntimeObject * L_19 = V_2;
return L_19;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::SetSessionRelativeData(TTrackable,TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_SetSessionRelativeData_mD1E4E5CD5B8AA2576563A6A0F8EEB3AC5A194185_gshared (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB * __this, RuntimeObject * ___trackable0, XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 ___data1, const RuntimeMethod* method)
{
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// trackable.SetSessionRelativeData(data);
RuntimeObject * L_0 = ___trackable0;
XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 L_1 = ___data1;
NullCheck((ARTrackable_2_tB66986CA75C35EC5327D37C0B46A3DB897824BDB *)L_0);
(( void (*) (ARTrackable_2_tB66986CA75C35EC5327D37C0B46A3DB897824BDB *, XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 57)->methodPointer)((ARTrackable_2_tB66986CA75C35EC5327D37C0B46A3DB897824BDB *)L_0, (XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 )L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 57));
// var worldSpacePose = sessionOrigin.trackablesParent.TransformPose(data.pose);
NullCheck((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this);
ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * L_2 = (( ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * (*) (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
NullCheck((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_2);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_3 = ARSessionOrigin_get_trackablesParent_m37049D7E75CF694834A140C2EACB15D2D1098505_inline((ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF *)L_2, /*hidden argument*/NULL);
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_4 = XRTrackedObject_get_pose_mF865EAF61AE8767D6A0CCF59494A51F2D670F603_inline((XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 *)(XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 *)(&___data1), /*hidden argument*/NULL);
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_5 = TransformExtensions_TransformPose_m677CE84C622BD23C3DDB2953DDB820E1934B0144((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_3, (Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 )L_4, /*hidden argument*/NULL);
V_0 = (Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 )L_5;
// trackable.transform.SetPositionAndRotation(worldSpacePose.position, worldSpacePose.rotation);
RuntimeObject * L_6 = ___trackable0;
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_6);
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_7 = Component_get_transform_m00F05BD782F920C301A7EBA480F3B7A904C07EC9((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_6, /*hidden argument*/NULL);
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_8 = V_0;
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_9 = (Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 )L_8.get_position_0();
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_10 = V_0;
Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 L_11 = (Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 )L_10.get_rotation_1();
NullCheck((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_7);
Transform_SetPositionAndRotation_mDB9B34321018846FD7E2315CBE8D4A6612E3DE43((Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA *)L_7, (Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 )L_9, (Quaternion_t319F3319A7D43FFA5D819AD6C0A98851F0095357 )L_11, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::CreateTrackableFromExisting(TTrackable,TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_CreateTrackableFromExisting_mDEAAF692A421F5EDD7B86A2C42DEDE91C2FDE2F3_gshared (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB * __this, RuntimeObject * ___existingTrackable0, XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 ___sessionRelativeData1, const RuntimeMethod* method)
{
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// var trackableId = sessionRelativeData.trackableId;
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = XRTrackedObject_get_trackableId_mB720981791DE599B20879640517A33BE2FE2D84D_inline((XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 *)(XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 *)(&___sessionRelativeData1), /*hidden argument*/NULL);
V_0 = (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_0;
// m_Trackables.Add(trackableId, existingTrackable);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_1 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_2 = V_0;
RuntimeObject * L_3 = ___existingTrackable0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_1);
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_1, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_2, (RuntimeObject *)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43));
// SetSessionRelativeData(existingTrackable, sessionRelativeData);
RuntimeObject * L_4 = ___existingTrackable0;
XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 L_5 = ___sessionRelativeData1;
NullCheck((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this);
(( void (*) (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *, RuntimeObject *, XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56)->methodPointer)((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this, (RuntimeObject *)L_4, (XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 )L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56));
// OnCreateTrackable(existingTrackable);
RuntimeObject * L_6 = ___existingTrackable0;
NullCheck((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this);
VirtActionInvoker1< RuntimeObject * >::Invoke(14 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::OnCreateTrackable(TTrackable) */, (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this, (RuntimeObject *)L_6);
// OnAfterSetSessionRelativeData(existingTrackable, sessionRelativeData);
RuntimeObject * L_7 = ___existingTrackable0;
XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 L_8 = ___sessionRelativeData1;
NullCheck((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this);
VirtActionInvoker2< RuntimeObject *, XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 >::Invoke(15 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::OnAfterSetSessionRelativeData(TTrackable,TSessionRelativeData) */, (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this, (RuntimeObject *)L_7, (XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 )L_8);
// existingTrackable.OnAfterSetSessionRelativeData();
RuntimeObject * L_9 = ___existingTrackable0;
NullCheck((ARTrackable_2_tB66986CA75C35EC5327D37C0B46A3DB897824BDB *)L_9);
VirtActionInvoker0::Invoke(4 /* System.Void UnityEngine.XR.ARFoundation.ARTrackable`2<UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::OnAfterSetSessionRelativeData() */, (ARTrackable_2_tB66986CA75C35EC5327D37C0B46A3DB897824BDB *)L_9);
// m_PendingAdds.Add(trackableId, existingTrackable);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_10 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_11 = V_0;
RuntimeObject * L_12 = ___existingTrackable0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_10);
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_10, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_11, (RuntimeObject *)L_12, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 43));
// existingTrackable.pending = true;
RuntimeObject * L_13 = ___existingTrackable0;
NullCheck((ARTrackable_2_tB66986CA75C35EC5327D37C0B46A3DB897824BDB *)L_13);
(( void (*) (ARTrackable_2_tB66986CA75C35EC5327D37C0B46A3DB897824BDB *, bool, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((ARTrackable_2_tB66986CA75C35EC5327D37C0B46A3DB897824BDB *)L_13, (bool)1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
// }
return;
}
}
// TTrackable UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::CreateOrUpdateTrackable(TSessionRelativeData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * ARTrackableManager_4_CreateOrUpdateTrackable_m89423B2DC187ACA370FE859E227DA157ACFD58F0_gshared (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB * __this, XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 ___sessionRelativeData0, const RuntimeMethod* method)
{
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 V_0;
memset((&V_0), 0, sizeof(V_0));
RuntimeObject * V_1 = NULL;
{
// var trackableId = sessionRelativeData.trackableId;
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = XRTrackedObject_get_trackableId_mB720981791DE599B20879640517A33BE2FE2D84D_inline((XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 *)(XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 *)(&___sessionRelativeData0), /*hidden argument*/NULL);
V_0 = (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_0;
// if (m_Trackables.TryGetValue(trackableId, out var trackable))
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_1 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_Trackables_9();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_2 = V_0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_1);
bool L_3 = (( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , RuntimeObject **, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_1, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_2, (RuntimeObject **)(RuntimeObject **)(&V_1), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
if (!L_3)
{
goto IL_0041;
}
}
{
// m_PendingAdds.Remove(trackableId);
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_4 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)__this->get_m_PendingAdds_10();
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_5 = V_0;
NullCheck((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_4);
(( bool (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)L_4, (TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 )L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
// trackable.pending = false;
RuntimeObject * L_6 = V_1;
NullCheck((ARTrackable_2_tB66986CA75C35EC5327D37C0B46A3DB897824BDB *)L_6);
(( void (*) (ARTrackable_2_tB66986CA75C35EC5327D37C0B46A3DB897824BDB *, bool, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)((ARTrackable_2_tB66986CA75C35EC5327D37C0B46A3DB897824BDB *)L_6, (bool)0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
// SetSessionRelativeData(trackable, sessionRelativeData);
RuntimeObject * L_7 = V_1;
XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 L_8 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this);
(( void (*) (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *, RuntimeObject *, XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56)->methodPointer)((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this, (RuntimeObject *)L_7, (XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 )L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 56));
// }
goto IL_0050;
}
IL_0041:
{
// trackable = CreateTrackable(sessionRelativeData);
XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 L_9 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this);
RuntimeObject * L_10 = (( RuntimeObject * (*) (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *, XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 61)->methodPointer)((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this, (XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 )L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 61));
V_1 = (RuntimeObject *)L_10;
// OnCreateTrackable(trackable);
RuntimeObject * L_11 = V_1;
NullCheck((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this);
VirtActionInvoker1< RuntimeObject * >::Invoke(14 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::OnCreateTrackable(TTrackable) */, (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this, (RuntimeObject *)L_11);
}
IL_0050:
{
// OnAfterSetSessionRelativeData(trackable, sessionRelativeData);
RuntimeObject * L_12 = V_1;
XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 L_13 = ___sessionRelativeData0;
NullCheck((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this);
VirtActionInvoker2< RuntimeObject *, XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 >::Invoke(15 /* System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::OnAfterSetSessionRelativeData(TTrackable,TSessionRelativeData) */, (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB *)__this, (RuntimeObject *)L_12, (XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 )L_13);
// trackable.OnAfterSetSessionRelativeData();
RuntimeObject * L_14 = V_1;
NullCheck((ARTrackable_2_tB66986CA75C35EC5327D37C0B46A3DB897824BDB *)L_14);
VirtActionInvoker0::Invoke(4 /* System.Void UnityEngine.XR.ARFoundation.ARTrackable`2<UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::OnAfterSetSessionRelativeData() */, (ARTrackable_2_tB66986CA75C35EC5327D37C0B46A3DB897824BDB *)L_14);
// return trackable;
RuntimeObject * L_15 = V_1;
return L_15;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::DestroyTrackable(TTrackable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4_DestroyTrackable_m6A3C2ECA6792A0619A4DF318EEDAC25C431DB57B_gshared (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB * __this, RuntimeObject * ___trackable0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARTrackableManager_4_DestroyTrackable_m6A3C2ECA6792A0619A4DF318EEDAC25C431DB57B_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (trackable.destroyOnRemoval)
RuntimeObject * L_0 = ___trackable0;
NullCheck((ARTrackable_2_tB66986CA75C35EC5327D37C0B46A3DB897824BDB *)L_0);
bool L_1 = (( bool (*) (ARTrackable_2_tB66986CA75C35EC5327D37C0B46A3DB897824BDB *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 62)->methodPointer)((ARTrackable_2_tB66986CA75C35EC5327D37C0B46A3DB897824BDB *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 62));
if (!L_1)
{
goto IL_001d;
}
}
{
// Destroy(trackable.gameObject);
RuntimeObject * L_2 = ___trackable0;
NullCheck((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_2);
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_3 = Component_get_gameObject_m0B0570BA8DDD3CD78A9DB568EA18D7317686603C((Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 *)L_2, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
Object_Destroy_m23B4562495BA35A74266D4372D45368F8C05109A((Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)L_3, /*hidden argument*/NULL);
}
IL_001d:
{
// }
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4__ctor_m9AD641742FCCB557D45754A65EF142652FD14F54_gshared (ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB * __this, const RuntimeMethod* method)
{
{
// protected Dictionary<TrackableId, TTrackable> m_Trackables = new Dictionary<TrackableId, TTrackable>();
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_0 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 63));
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 64)->methodPointer)(L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 64));
__this->set_m_Trackables_9(L_0);
// protected Dictionary<TrackableId, TTrackable> m_PendingAdds = new Dictionary<TrackableId, TTrackable>();
Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE * L_1 = (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 63));
(( void (*) (Dictionary_2_t5221105303A173FF92DD7B4EBC8147278C0C2DBE *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 64)->methodPointer)(L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 64));
__this->set_m_PendingAdds_10(L_1);
NullCheck((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1));
(( void (*) (SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 65)->methodPointer)((SubsystemLifecycleManager_2_t5D1A501CD473D1DB7DD9763711AFE091EA6665C9 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 65));
return;
}
}
// System.Void UnityEngine.XR.ARFoundation.ARTrackableManager`4<System.Object,System.Object,UnityEngine.XR.ARSubsystems.XRTrackedObject,System.Object>::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ARTrackableManager_4__cctor_m5E6DB0C0B6009419F06B604A62963EC7C4BEFFB8_gshared (const RuntimeMethod* method)
{
{
// static List<TTrackable> s_Added = new List<TTrackable>();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_0 = (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 66));
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67)->methodPointer)(L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67));
((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set_s_Added_11(L_0);
// static List<TTrackable> s_Updated = new List<TTrackable>();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_1 = (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 66));
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67)->methodPointer)(L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67));
((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set_s_Updated_12(L_1);
// static List<TTrackable> s_Removed = new List<TTrackable>();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_2 = (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 66));
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67)->methodPointer)(L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 67));
((ARTrackableManager_4_t4165952CD215F9C6B0866878436CFC88899CC1BB_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set_s_Removed_13(L_2);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 TrackableId_get_invalidId_mBE9FA1EC8F2EC1575C1B31666EA928A3382DF1CD_inline (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TrackableId_get_invalidId_mBE9FA1EC8F2EC1575C1B31666EA928A3382DF1CDGenerics11_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// public static TrackableId invalidId => s_InvalidId;
IL2CPP_RUNTIME_CLASS_INIT(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47_il2cpp_TypeInfo_var);
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = ((TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47_StaticFields*)il2cpp_codegen_static_fields_for(TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47_il2cpp_TypeInfo_var))->get_s_InvalidId_1();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * ARSessionOrigin_get_trackablesParent_m37049D7E75CF694834A140C2EACB15D2D1098505_inline (ARSessionOrigin_t61463C0A24AF925CF219B6C3F1720325C96720EF * __this, const RuntimeMethod* method)
{
{
// public Transform trackablesParent { get; private set; }
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_0 = __this->get_U3CtrackablesParentU3Ek__BackingField_5();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * ARTrackablesParentTransformChangedEventArgs_get_trackablesParent_m124F9D34F6DA7E3FAB3E7CB9981820682219FE49_inline (ARTrackablesParentTransformChangedEventArgs_t9985A726DE6A1943471A68D03D73353E80FB82B9 * __this, const RuntimeMethod* method)
{
{
// public Transform trackablesParent { get; }
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_0 = __this->get_U3CtrackablesParentU3Ek__BackingField_1();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 XREnvironmentProbe_get_trackableId_m2F7F8DCE954C099E60807742B6A4B27DA2F30085_inline (XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 * __this, const RuntimeMethod* method)
{
{
// get => m_TrackableId;
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = __this->get_m_TrackableId_1();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 XREnvironmentProbe_get_pose_m2CF6BF7E554B1225E99947B620D2C029499E7996_inline (XREnvironmentProbe_tDB5526F4BBECB568A61BB4E0BD38612DE053C5A2 * __this, const RuntimeMethod* method)
{
{
// get => m_Pose;
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_0 = __this->get_m_Pose_3();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 XRFace_get_trackableId_mC7AA3B622C6B16A9E8B5A3BEA524C7ED54A6188D_inline (XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 * __this, const RuntimeMethod* method)
{
{
// public TrackableId trackableId => m_TrackableId;
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = __this->get_m_TrackableId_0();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 XRFace_get_pose_m3792AF11CBB24361529B7291ED46B9DD2970AC54_inline (XRFace_tF2B2E9B06813BA74F5DAFD527FD249DD1002B7C7 * __this, const RuntimeMethod* method)
{
{
// public Pose pose => m_Pose;
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_0 = __this->get_m_Pose_1();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 XRHumanBody_get_trackableId_m6932327AA835FDFFA3A8AC2C11C45E2491E998AA_inline (XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 * __this, const RuntimeMethod* method)
{
{
// get => m_TrackableId;
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = __this->get_m_TrackableId_0();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 XRHumanBody_get_pose_m3E48843E383A32DF5ED22BFD89FB52C9C7AD1E5B_inline (XRHumanBody_t64938399EB40376E99745517E15D42FFC4604BC1 * __this, const RuntimeMethod* method)
{
{
// get => m_Pose;
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_0 = __this->get_m_Pose_1();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 XRParticipant_get_trackableId_mAF0DAE2613E96C830102678EA49DA306402C7700_inline (XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 * __this, const RuntimeMethod* method)
{
{
// public TrackableId trackableId => m_TrackableId;
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = __this->get_m_TrackableId_0();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 XRParticipant_get_pose_m9FDF90F628DF1FC812226F06F196A113644C1717_inline (XRParticipant_t851D63496AD2945027531CD8ECA527E63F7AC062 * __this, const RuntimeMethod* method)
{
{
// public Pose pose => m_Pose;
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_0 = __this->get_m_Pose_1();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 XRPointCloud_get_trackableId_mA394197EAD026665FC02A1118CBBB46FF6873EF1_inline (XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 * __this, const RuntimeMethod* method)
{
{
// public TrackableId trackableId => m_TrackableId;
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = __this->get_m_TrackableId_1();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 XRPointCloud_get_pose_m09C2DF1AD7F1220B547BD2EBCCA6E35F85A87EB0_inline (XRPointCloud_tA4A412DE503530E1B2953919F1463B9B48504ED0 * __this, const RuntimeMethod* method)
{
{
// public Pose pose => m_Pose;
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_0 = __this->get_m_Pose_2();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 XRRaycast_get_trackableId_m6DBE200F60327FBBD8C1852FD50F5881AFDEE90B_inline (XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 * __this, const RuntimeMethod* method)
{
{
// public TrackableId trackableId => m_TrackableId;
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = __this->get_m_TrackableId_1();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 XRRaycast_get_pose_m6EAC1A67DCD90871104B13EE918B1F19C9B8083A_inline (XRRaycast_tF33917AA4977AA3C4FB3743025486D3FE0FC4695 * __this, const RuntimeMethod* method)
{
{
// public Pose pose => m_Pose;
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_0 = __this->get_m_Pose_2();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 XRReferencePoint_get_trackableId_m6D53542802F2444CE58861B8868274F9A8296D88_inline (XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 * __this, const RuntimeMethod* method)
{
{
// public TrackableId trackableId => m_Id;
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = __this->get_m_Id_1();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 XRReferencePoint_get_pose_mA4320629B8C7AE23D97FCD8E2C5FB9C9FB6AED9C_inline (XRReferencePoint_tA8592C08A27EC91D9B1FB3B083C95C5D372FF1F9 * __this, const RuntimeMethod* method)
{
{
// public Pose pose => m_Pose;
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_0 = __this->get_m_Pose_2();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 XRTrackedImage_get_trackableId_m6EB6DBACC95E5EE2AFEE3CE421F4C123F32E9CB8_inline (XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 * __this, const RuntimeMethod* method)
{
{
// public TrackableId trackableId => m_Id;
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = __this->get_m_Id_1();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 XRTrackedImage_get_pose_m0566E087CA2DC99DF749E80277510C61DCF13186_inline (XRTrackedImage_t178EACF5BFA4228DF4EB1899685C533F3F296AA8 * __this, const RuntimeMethod* method)
{
{
// public Pose pose => m_Pose;
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_0 = __this->get_m_Pose_3();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 XRTrackedObject_get_trackableId_mB720981791DE599B20879640517A33BE2FE2D84D_inline (XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 * __this, const RuntimeMethod* method)
{
{
// public TrackableId trackableId => m_TrackableId;
TrackableId_tA7E19AFE62176E25E3759548887E9068E1E4AE47 L_0 = __this->get_m_TrackableId_0();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 XRTrackedObject_get_pose_mF865EAF61AE8767D6A0CCF59494A51F2D670F603_inline (XRTrackedObject_tF08D3523D17E214EC3D7DBE8ED5BFE220BAAE260 * __this, const RuntimeMethod* method)
{
{
// public Pose pose => m_Pose;
Pose_t2997DE3CB3863E4D78FCF42B46FC481818823F29 L_0 = __this->get_m_Pose_1();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 TrackableChanges_1_get_added_mE0848158257AE8C982CC5C7DD696842859B17723_gshared_inline (TrackableChanges_1_t5B1E235F751BB96851611F0EE82810617DA588C7 * __this, const RuntimeMethod* method)
{
{
// public NativeArray<T> added { get { return m_Added; } }
NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 L_0 = (NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 )__this->get_m_Added_1();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 TrackableChanges_1_get_updated_mB2CED16796CCEF038435DE562D4559E8253C913C_gshared_inline (TrackableChanges_1_t5B1E235F751BB96851611F0EE82810617DA588C7 * __this, const RuntimeMethod* method)
{
{
// public NativeArray<T> updated { get { return m_Updated; } }
NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 L_0 = (NativeArray_1_t053AA43438F6D2A21608DBC7110B8063B3FB6EA3 )__this->get_m_Updated_2();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 TrackableChanges_1_get_removed_m069C4B80B5FE4272B0281B25ABD38C0505A9737F_gshared_inline (TrackableChanges_1_t5B1E235F751BB96851611F0EE82810617DA588C7 * __this, const RuntimeMethod* method)
{
{
// public NativeArray<TrackableId> removed { get { return m_Removed; } }
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 L_0 = (NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 )__this->get_m_Removed_3();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR RuntimeObject * Enumerator_get_Current_mD7829C7E8CFBEDD463B15A951CDE9B90A12CC55C_gshared_inline (Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = (RuntimeObject *)__this->get_current_3();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 TrackableChanges_1_get_added_m6C3AA173D63B8181A147527E5D607363D4D7E3B9_gshared_inline (TrackableChanges_1_t316F273AB927198D6305E965CDB7B0ED758920E6 * __this, const RuntimeMethod* method)
{
{
// public NativeArray<T> added { get { return m_Added; } }
NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 L_0 = (NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 )__this->get_m_Added_1();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 TrackableChanges_1_get_updated_m4DD6B31059055267B3F98F003F7891F74052267D_gshared_inline (TrackableChanges_1_t316F273AB927198D6305E965CDB7B0ED758920E6 * __this, const RuntimeMethod* method)
{
{
// public NativeArray<T> updated { get { return m_Updated; } }
NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 L_0 = (NativeArray_1_tAA72EF264612AEC585CFAA055B86F6B65CA4E2E5 )__this->get_m_Updated_2();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 TrackableChanges_1_get_removed_m7C323DBD29E884085A21A82E9D5ABC458EF49AED_gshared_inline (TrackableChanges_1_t316F273AB927198D6305E965CDB7B0ED758920E6 * __this, const RuntimeMethod* method)
{
{
// public NativeArray<TrackableId> removed { get { return m_Removed; } }
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 L_0 = (NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 )__this->get_m_Removed_3();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 TrackableChanges_1_get_added_mAC12696B7D12A00A3FE9C34A2FF8F22ED6A3BD6C_gshared_inline (TrackableChanges_1_t8F77CF9D37FD0DCA052A7D6B34E1A489AF13C41B * __this, const RuntimeMethod* method)
{
{
// public NativeArray<T> added { get { return m_Added; } }
NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 L_0 = (NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 )__this->get_m_Added_1();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 TrackableChanges_1_get_updated_mCD92C9A6154DC58C63992B59E6671BC8AE07F9C8_gshared_inline (TrackableChanges_1_t8F77CF9D37FD0DCA052A7D6B34E1A489AF13C41B * __this, const RuntimeMethod* method)
{
{
// public NativeArray<T> updated { get { return m_Updated; } }
NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 L_0 = (NativeArray_1_t140FCB442630D549508192A9E3737425E84D15F8 )__this->get_m_Updated_2();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 TrackableChanges_1_get_removed_m377C6A3BFE41CC689AFE09CE1529B79113140DD2_gshared_inline (TrackableChanges_1_t8F77CF9D37FD0DCA052A7D6B34E1A489AF13C41B * __this, const RuntimeMethod* method)
{
{
// public NativeArray<TrackableId> removed { get { return m_Removed; } }
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 L_0 = (NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 )__this->get_m_Removed_3();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 TrackableChanges_1_get_added_mB04DBD3BE41499A2EF2DE7526EAF99320F6A756C_gshared_inline (TrackableChanges_1_tADA077C1D8520E93DBAF760C434863B1E46EABF7 * __this, const RuntimeMethod* method)
{
{
// public NativeArray<T> added { get { return m_Added; } }
NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 L_0 = (NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 )__this->get_m_Added_1();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 TrackableChanges_1_get_updated_m54F7E4A07B0A06215ACD1E258FECA69ADB35775A_gshared_inline (TrackableChanges_1_tADA077C1D8520E93DBAF760C434863B1E46EABF7 * __this, const RuntimeMethod* method)
{
{
// public NativeArray<T> updated { get { return m_Updated; } }
NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 L_0 = (NativeArray_1_t6D63EE174652E6706D62F78177F0A2C25DD14839 )__this->get_m_Updated_2();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 TrackableChanges_1_get_removed_mD4DBD0C1F36479738568BDFAD7593F18AD67E77D_gshared_inline (TrackableChanges_1_tADA077C1D8520E93DBAF760C434863B1E46EABF7 * __this, const RuntimeMethod* method)
{
{
// public NativeArray<TrackableId> removed { get { return m_Removed; } }
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 L_0 = (NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 )__this->get_m_Removed_3();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 TrackableChanges_1_get_added_mBB3A80E298216A6D8826422F62A11A1A4CB7CBD9_gshared_inline (TrackableChanges_1_t67F5E50C0B7A063774AEC211C4C81BA7679876BB * __this, const RuntimeMethod* method)
{
{
// public NativeArray<T> added { get { return m_Added; } }
NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 L_0 = (NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 )__this->get_m_Added_1();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 TrackableChanges_1_get_updated_m80DB51775906B404AEE4C7454E7A517ECFD6A003_gshared_inline (TrackableChanges_1_t67F5E50C0B7A063774AEC211C4C81BA7679876BB * __this, const RuntimeMethod* method)
{
{
// public NativeArray<T> updated { get { return m_Updated; } }
NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 L_0 = (NativeArray_1_t5F0698DD293100E2FECB8BC55FCBC3A3F6FEA582 )__this->get_m_Updated_2();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 TrackableChanges_1_get_removed_mC49E91CAF67469CDD76DBCF18D1423DC3971AF99_gshared_inline (TrackableChanges_1_t67F5E50C0B7A063774AEC211C4C81BA7679876BB * __this, const RuntimeMethod* method)
{
{
// public NativeArray<TrackableId> removed { get { return m_Removed; } }
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 L_0 = (NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 )__this->get_m_Removed_3();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 TrackableChanges_1_get_added_m3D40B25E1DBFA2CE12A65E40E7AC06E818AD9E52_gshared_inline (TrackableChanges_1_t05F219FC68E80EA9891CEEB35CBABA06F836FDD3 * __this, const RuntimeMethod* method)
{
{
// public NativeArray<T> added { get { return m_Added; } }
NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 L_0 = (NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 )__this->get_m_Added_1();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 TrackableChanges_1_get_updated_mF70FB659BBDD40064C52ABA36021CCB637733421_gshared_inline (TrackableChanges_1_t05F219FC68E80EA9891CEEB35CBABA06F836FDD3 * __this, const RuntimeMethod* method)
{
{
// public NativeArray<T> updated { get { return m_Updated; } }
NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 L_0 = (NativeArray_1_t711C0619935632A17A06268FC39D95AAD4267820 )__this->get_m_Updated_2();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 TrackableChanges_1_get_removed_mF48037B3FBE8CDCE917EF589128FEF13EB22466A_gshared_inline (TrackableChanges_1_t05F219FC68E80EA9891CEEB35CBABA06F836FDD3 * __this, const RuntimeMethod* method)
{
{
// public NativeArray<TrackableId> removed { get { return m_Removed; } }
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 L_0 = (NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 )__this->get_m_Removed_3();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 TrackableChanges_1_get_added_mC31FEFAAC8F70ABBBC324DC618B0DFAB08AAE934_gshared_inline (TrackableChanges_1_t5C8C3FBA23E5BBC147A6991B68520A756EF54FDF * __this, const RuntimeMethod* method)
{
{
// public NativeArray<T> added { get { return m_Added; } }
NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 L_0 = (NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 )__this->get_m_Added_1();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 TrackableChanges_1_get_updated_m54C710EFD531DFB25ABA289B60FAA4181D479DDF_gshared_inline (TrackableChanges_1_t5C8C3FBA23E5BBC147A6991B68520A756EF54FDF * __this, const RuntimeMethod* method)
{
{
// public NativeArray<T> updated { get { return m_Updated; } }
NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 L_0 = (NativeArray_1_t5AADFB4C72573FE3017795F15B8CBC88625A8876 )__this->get_m_Updated_2();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 TrackableChanges_1_get_removed_m9781A441FA95E17CBDB3C4687247859A562AF077_gshared_inline (TrackableChanges_1_t5C8C3FBA23E5BBC147A6991B68520A756EF54FDF * __this, const RuntimeMethod* method)
{
{
// public NativeArray<TrackableId> removed { get { return m_Removed; } }
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 L_0 = (NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 )__this->get_m_Removed_3();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 TrackableChanges_1_get_added_mC35012A2E03A744ECF4A6E58D2DA1C34D85CA6ED_gshared_inline (TrackableChanges_1_tE90399F00562881A054A3592F7AF134BA053AF4F * __this, const RuntimeMethod* method)
{
{
// public NativeArray<T> added { get { return m_Added; } }
NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 L_0 = (NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 )__this->get_m_Added_1();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 TrackableChanges_1_get_updated_mF1CCDAA99909A241F138D24B4175AD6806E65323_gshared_inline (TrackableChanges_1_tE90399F00562881A054A3592F7AF134BA053AF4F * __this, const RuntimeMethod* method)
{
{
// public NativeArray<T> updated { get { return m_Updated; } }
NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 L_0 = (NativeArray_1_t70F653CBE89924503B639B2438D6FF5973388AC1 )__this->get_m_Updated_2();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 TrackableChanges_1_get_removed_m7CF311E706E890B2CC9281BC392849E4DE880ECA_gshared_inline (TrackableChanges_1_tE90399F00562881A054A3592F7AF134BA053AF4F * __this, const RuntimeMethod* method)
{
{
// public NativeArray<TrackableId> removed { get { return m_Removed; } }
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 L_0 = (NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 )__this->get_m_Removed_3();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 TrackableChanges_1_get_added_m6B4AFC77B682299AFAB977EDEAF164E6B63E3670_gshared_inline (TrackableChanges_1_t03A664B58E58E32B5EC1F7CB7133E87F804EE874 * __this, const RuntimeMethod* method)
{
{
// public NativeArray<T> added { get { return m_Added; } }
NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 L_0 = (NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 )__this->get_m_Added_1();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 TrackableChanges_1_get_updated_mDDB738464599270A745A15C57FC941EEBEC00700_gshared_inline (TrackableChanges_1_t03A664B58E58E32B5EC1F7CB7133E87F804EE874 * __this, const RuntimeMethod* method)
{
{
// public NativeArray<T> updated { get { return m_Updated; } }
NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 L_0 = (NativeArray_1_t738892D030F76D319525B8C000F49D41505DD529 )__this->get_m_Updated_2();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 TrackableChanges_1_get_removed_m53E0E551E0ACC552E62D8BA2A0A234D72CAB6C74_gshared_inline (TrackableChanges_1_t03A664B58E58E32B5EC1F7CB7133E87F804EE874 * __this, const RuntimeMethod* method)
{
{
// public NativeArray<TrackableId> removed { get { return m_Removed; } }
NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 L_0 = (NativeArray_1_tD7797CC5848BA9ECBD1172056474C8DD8022B1D6 )__this->get_m_Removed_3();
return L_0;
}
}
|
#include <cstring>
#include <cstdlib>
#define NSCORE 1
#include "nebstructs.h"
#include "nebcallbacks.h"
#include "nebmodules.h"
#include "nebmods.h"
#ifdef HAVE_ICINGA
#include "icinga.h"
#else
#include "nagios.h"
#endif
#include "objects.h"
#include "broker.h"
#include "neberrors.h"
#include "module.h"
std::shared_ptr<JobQueue> job_queue;
std::shared_ptr<JobQueue> getJobQueue() {
if (job_queue == nullptr)
job_queue = std::make_shared<JobQueue>();
return job_queue;
}
uint64_t JobQueue::next_id = 0;
JobMap JobQueue::_placeholder = JobMap{};
int64_t default_timeout = 120;
const char* engine_name = "MQexec NG";
const char* mqexec_source_name(const void* unused) {
return engine_name;
}
struct check_engine mqexec_check_engine = {
const_cast<char*>(engine_name), mqexec_source_name, std::free};
void processJobError(JobPtr job, std::string errmsg) {
log_debug_info(DEBUGL_EVENTS, DEBUGV_BASIC,
"Sending error check result for mqexec job (id: %lu host: %s service: %s)\n",
job->id, job->host_name.c_str(), job->service_description.c_str());
const Result res = {job->id,
errmsg,
job->service_description.empty() ? 3 : 1,
job->time_scheduled,
std::chrono::system_clock::now()};
processResult(job, res);
}
void processTimeout(JobPtr job) {
log_debug_info(DEBUGL_EVENTS, DEBUGV_BASIC,
"Sending timeout check result for mqexec job (id: %lu host: %s service: %s)\n",
job->id, job->host_name.c_str(), job->service_description.c_str());
const Result res = {job->id,
"Check timed out",
job->service_description.empty() ? 3 : 1,
job->time_scheduled,
std::chrono::system_clock::now()};
processResult(job, res);
}
void sendResultToNagios(check_result& new_result) {
new_result.engine = &mqexec_check_engine;
process_check_result(&new_result);
free_check_result(&new_result);
}
void processResult(JobPtr job, const Result& result) {
check_result new_result;
init_check_result(&new_result);
new_result.output_file = NULL;
new_result.output_file_fp = NULL;
log_debug_info(DEBUGL_EVENTS, DEBUGV_BASIC,
"Processing mqexec check result (id: %lu host: %s service: %s)\n",
job->id, job->host_name.c_str(), job->service_description.c_str());
new_result.host_name = strdup(job->host_name.c_str());
if (!job->service_description.empty()) {
new_result.service_description = strdup(job->service_description.c_str());
new_result.object_check_type = SERVICE_CHECK;
new_result.return_code = result.return_code;
} else {
new_result.object_check_type = HOST_CHECK;
new_result.return_code = result.return_code;
}
new_result.output = strdup(result.output.c_str());
new_result.start_time = result.getStartTimeVal();
new_result.finish_time = result.getFinishTimeVal();
new_result.exited_ok = 1;
new_result.early_timeout = 0;
new_result.check_type = job->check_type;
new_result.check_options = job->check_options;
new_result.scheduled_check = job->scheduled_check;
new_result.reschedule_check = job->reschedule_check;
new_result.latency = job->latency;
sendResultToNagios(new_result);
}
// This function does what run_sync_host_check in checks.c of Nagios would
// do between HOSTCHECK_ASYNC_PRE_CHECK and HOSTCHECK_INITIATE.
// It's here to fix things up and produce the fully parsed command line.
int fixup_async_presync_hostcheck(host* hst, char** processed_command) {
nagios_macros mac;
char* raw_command = NULL;
int macro_options = STRIP_ILLEGAL_MACRO_CHARS | ESCAPE_MACRO_CHARS;
/* clear check options - we don't want old check options retained */
/* only clear options if this was a scheduled check - on demand check options shouldn't affect
* retained info */
// The above comments don't many any sense. As of Nagios 4.0.8, all checks that reach
// this code path are scheduled checks - so I've taken out the if statement.
hst->check_options = CHECK_OPTION_NONE;
/* adjust host check attempt */
adjust_host_check_attempt(hst, TRUE);
/* grab the host macro variables */
memset(&mac, 0, sizeof(mac));
grab_host_macros_r(&mac, hst);
/* get the raw command line */
get_raw_command_line_r(
&mac, hst->check_command_ptr, hst->check_command, &raw_command, macro_options);
if (raw_command == NULL) {
clear_volatile_macros_r(&mac);
log_debug_info(
DEBUGL_CHECKS, 0, "Raw check command for host '%s' was NULL - aborting.\n", hst->name);
return ERROR;
}
/* process any macros contained in the argument */
process_macros_r(&mac, raw_command, processed_command, macro_options);
my_free(raw_command);
if (processed_command == NULL) {
clear_volatile_macros_r(&mac);
log_debug_info(DEBUGL_CHECKS,
0,
"Processed check command for host '%s' was NULL - aborting.\n",
hst->name);
return ERROR;
}
clear_volatile_macros_r(&mac);
return 0;
}
std::string getExecutorName(customvariablesmember* vars) {
while (vars != nullptr) {
if (std::strcmp(vars->variable_name, "_MQEXEC_EXECUTOR") == 0)
return std::string{vars->variable_value};
vars = vars->next;
}
return "";
}
bool shouldOverrideCheck(customvariablesmember* vars) {
while (vars != nullptr) {
if (std::strcmp(vars->variable_name, "_MQEXEC_IGNORE") == 0)
return (std::strcmp(vars->variable_value, "true") != 0);
vars = vars->next;
}
return true;
}
void timeout_callback(void* ptr) {
auto job_id = reinterpret_cast<uint64_t>(ptr);
try {
log_debug_info(DEBUGL_CHECKS, DEBUGV_MORE, "MQexec timing out job %lu\n", job_id);
auto job = getJobQueue()->getCheck(job_id);
logit(NSLOG_INFO_MESSAGE, FALSE, "MQexec timing out check (hostname: %s service: %s)\n",
job->host_name.c_str(), job->service_description.c_str());
processTimeout(job);
} catch (std::out_of_range& e) {
log_debug_info(DEBUGL_CHECKS, DEBUGV_MORE,
"MQexec timeout callback called for already completed check\n");
}
}
void scheduleTimeout(JobPtr jobptr) {
log_debug_info(DEBUGL_CHECKS, DEBUGV_MORE, "Scheduling timeout in mqexec\n");
auto expiry_time = std::chrono::system_clock::to_time_t(jobptr->time_expires);
schedule_new_event(EVENT_USER_FUNCTION,
TRUE, expiry_time, FALSE, 0, NULL, TRUE, reinterpret_cast<void*>(timeout_callback),
reinterpret_cast<void*>(jobptr->id), 0);
}
void processHostCheckInitiate(nebstruct_host_check_data* state) {
host* obj = (host*)state->object_ptr;
char* processed_command = nullptr;
double old_latency = obj->latency;
int old_current_attempt = obj->current_attempt;
obj->latency = state->latency;
log_debug_info(DEBUGL_CHECKS, DEBUGV_MORE, "Entering mqexec service check dispatcher\n");
if (fixup_async_presync_hostcheck(obj, &processed_command) != 0)
return;
std::unique_ptr<char> processed_command_guard(processed_command);
auto job = std::make_shared<Job>();
job->host_name = std::string(state->host_name);
job->command_line = std::string(processed_command);
job->time_scheduled = std::chrono::system_clock::from_time_t(state->timestamp.tv_sec);
job->time_expires =
job->time_scheduled + std::chrono::seconds(
(state->timeout > 0) ? (state->timeout) : (default_timeout));
job->check_options = obj->check_options;
job->check_type = state->check_type;
job->scheduled_check = 1;
job->reschedule_check = 1;
job->latency = state->latency;
dispatchJob(job, getExecutorName(obj->custom_variables));
obj->latency = old_latency;
obj->current_attempt = old_current_attempt;
}
void processServiceCheckInitiate(nebstruct_service_check_data* state) {
const service* obj = (service*)state->object_ptr;
check_result* cri = state->check_result_ptr;
auto job = std::make_shared<Job>();
log_debug_info(DEBUGL_CHECKS, DEBUGV_MORE, "Entering mqexec service check dispatcher\n");
job->host_name = std::string(state->host_name);
job->service_description = std::string(state->service_description);
job->command_line = std::string(state->command_line);
job->time_scheduled = std::chrono::system_clock::from_time_t(state->timestamp.tv_sec);
job->time_expires =
job->time_scheduled + std::chrono::seconds(
(state->timeout > 0) ? (state->timeout) : (default_timeout));
job->check_options = cri->check_options;
job->check_type = state->check_type;
job->scheduled_check = cri->scheduled_check;
job->reschedule_check = cri->reschedule_check;
job->latency = state->latency;
dispatchJob(job, getExecutorName(obj->custom_variables));
}
int handleNebNagiosCheckInitiate(int which, void* obj) {
nebstruct_process_data* raw = static_cast<nebstruct_process_data*>(obj);
switch (which) {
case NEBCALLBACK_HOST_CHECK_DATA:
if (raw->type != NEBTYPE_HOSTCHECK_ASYNC_PRECHECK)
return 0;
try {
auto state = static_cast<nebstruct_host_check_data*>(obj);
auto vars = (static_cast<service*>(state->object_ptr))->custom_variables;
if (!shouldOverrideCheck(vars)) {
return 0;
}
processHostCheckInitiate(static_cast<nebstruct_host_check_data*>(obj));
} catch (std::exception e) {
logit(NSLOG_RUNTIME_ERROR, TRUE, "Error processing host check for %s", e.what());
}
log_debug_info(DEBUGL_CHECKS, DEBUGV_MORE, "MQexec handled host check\n");
return NEBERROR_CALLBACKOVERRIDE;
case NEBCALLBACK_SERVICE_CHECK_DATA:
if (raw->type != NEBTYPE_SERVICECHECK_INITIATE)
return 0;
try {
auto state = static_cast<nebstruct_service_check_data*>(obj);
auto vars = (static_cast<service*>(state->object_ptr))->custom_variables;
if (!shouldOverrideCheck(vars))
return 0;
processServiceCheckInitiate(state);
} catch (std::exception e) {
logit(NSLOG_RUNTIME_ERROR, TRUE, "Error processing host check for %s", e.what());
}
log_debug_info(DEBUGL_CHECKS, DEBUGV_MORE, "MQexec handled service check\n");
return NEBERROR_CALLBACKOVERRIDE;
default:
return 0;
}
}
|
#include <Poco/RegularExpression.h>
#include <Poco/TextConverter.h>
#include <Poco/UTF8Encoding.h>
#include "model/DeviceDescription.h"
using namespace BeeeOn;
using namespace Poco;
using namespace Poco::Net;
using namespace std;
static const RegularExpression NAME_PATTERN(
"[^\\p{L}\\p{Nd} \\.:!?()/,\\-_#''$€¥£©®+]",
RegularExpression::RE_UTF8
);
DeviceDescription::Builder::Builder()
{
}
DeviceDescription::Builder &DeviceDescription::Builder::id(const DeviceID &id)
{
m_id = id;
return *this;
}
DeviceDescription::Builder &DeviceDescription::Builder::type(
const string &vendor,
const string &name)
{
m_vendor = vendor;
m_product = name;
return *this;
}
DeviceDescription::Builder &DeviceDescription::Builder::refreshTime(
const Timespan &time)
{
if (time >= 1 * Timespan::SECONDS) {
m_refreshTime = RefreshTime::fromSeconds(time.totalSeconds());
}
else if (time == 0) {
m_refreshTime = RefreshTime::DISABLED;
}
else if (time < 0) {
m_refreshTime = RefreshTime::NONE;
}
else {
m_refreshTime = RefreshTime::fromSeconds(1);
}
return *this;
}
DeviceDescription::Builder &DeviceDescription::Builder::disabledRefreshTime()
{
m_refreshTime = RefreshTime::DISABLED;
return *this;
}
DeviceDescription::Builder &DeviceDescription::Builder::noRefreshTime()
{
m_refreshTime = RefreshTime::NONE;
return *this;
}
DeviceDescription::Builder &DeviceDescription::Builder::name(
const string &name)
{
m_name = name;
return *this;
}
DeviceDescription::Builder &DeviceDescription::Builder::firmware(
const string &firmware)
{
m_firmware = firmware;
return *this;
}
DeviceDescription::Builder &DeviceDescription::Builder::ipAddress(
const IPAddress &address)
{
m_ipAddress = address;
return *this;
}
DeviceDescription::Builder &DeviceDescription::Builder::macAddress(
const MACAddress &mac)
{
m_macAddress = mac;
return *this;
}
DeviceDescription::Builder &DeviceDescription::Builder::serialNumber(
const uint64_t serial)
{
m_serialNumber = serial;
return *this;
}
template <typename T>
static T notNull(const Nullable<T> value, const string &label)
{
if (value.isNull())
throw InvalidArgumentException(label + " was not set in builder");
return value.value();
}
DeviceDescription DeviceDescription::Builder::build() const
{
DeviceDescription description;
description.setID(notNull(m_id, "device ID"));
description.setVendor(notNull(m_vendor, "vendor name"));
description.setProductName(notNull(m_product, "product name"));
description.setDataTypes(m_modules);
description.setRefreshTime(m_refreshTime);
description.setFirmware(m_firmware);
description.setName(m_name);
if (!m_ipAddress.isNull())
description.setIPAddress(m_ipAddress);
if (!m_macAddress.isNull())
description.setMACAddress(m_macAddress);
if (!m_serialNumber.isNull())
description.setSerialNumber(m_serialNumber);
return description;
}
DeviceDescription::DeviceDescription()
{
}
void DeviceDescription::setID(const DeviceID &id)
{
m_deviceID = id;
}
DeviceID DeviceDescription::id() const
{
return m_deviceID;
}
void DeviceDescription::setVendor(const string &vendor)
{
m_vendor = normalizeName(vendor);
}
string DeviceDescription::vendor() const
{
return m_vendor;
}
void DeviceDescription::setProductName(const string &name)
{
m_productName = normalizeName(name);
}
string DeviceDescription::productName() const
{
return m_productName;
}
void DeviceDescription::setDataTypes(const list<ModuleType> &types)
{
m_dataTypes = types;
}
list<ModuleType> DeviceDescription::dataTypes() const
{
return m_dataTypes;
}
void DeviceDescription::setRefreshTime(const RefreshTime &time)
{
m_refreshTime = time;
}
RefreshTime DeviceDescription::refreshTime() const
{
return m_refreshTime;
}
void DeviceDescription::setName(const string &name)
{
m_name = normalizeName(name);
}
string DeviceDescription::name() const
{
return m_name;
}
void DeviceDescription::setFirmware(const string &firmware)
{
m_firmware = normalizeName(firmware);
}
string DeviceDescription::firmware() const
{
return m_firmware;
}
void DeviceDescription::setIPAddress(const IPAddress &ipAddress)
{
m_ipAddress = ipAddress;
}
Nullable<IPAddress> DeviceDescription::ipAddress() const
{
return m_ipAddress;
}
void DeviceDescription::setMACAddress(const MACAddress &macAddress)
{
m_macAddress = macAddress;
}
Nullable<MACAddress> DeviceDescription::macAddress() const
{
return m_macAddress;
}
void DeviceDescription::setSerialNumber(uint64_t serial)
{
m_serialNumber = serial;
}
Nullable<uint64_t> DeviceDescription::serialNumber() const
{
return m_serialNumber;
}
string DeviceDescription::toString() const
{
string result;
string modules;
for (auto it = m_dataTypes.begin(); it != m_dataTypes.end(); ++it) {
modules += it->type().toString();
const auto &attributes = it->attributes();
if (!attributes.empty())
modules += ",";
for (auto attr = attributes.begin(); attr != attributes.end(); ++attr) {
modules += attr->toString();
if (attr != --attributes.end())
modules += ",";
}
if (it != --m_dataTypes.end())
modules += " ";
}
result += m_deviceID.toString() + " ";
result += m_vendor + " ";
result += m_productName + " ";
result += m_refreshTime.toString() + " ";
result += modules + " ";
return result;
}
string DeviceDescription::toPrettyString() const
{
string summary = m_deviceID.toString() + " : " + m_vendor + " " + m_productName;
summary.append("\n * RT : " + m_refreshTime.toString() + " s");
size_t j = 0;
for (const auto &m : m_dataTypes) {
summary.append("\n * " + to_string(j++) + " : " + m.type().toString());
for (const auto &a : m.attributes())
summary.append("," + a.toString());
}
return summary;
}
string DeviceDescription::normalizeName(const string& bytes)
{
const UTF8Encoding utf8;
TextConverter text(utf8, utf8);
string result;
text.convert(bytes, result);
NAME_PATTERN.subst(result, "?", RegularExpression::RE_GLOBAL);
return result;
}
|
/*
* This sketch sends data via HTTP GET requests to api.thingspeak.com service.
*
* You need to get API write Key at api.thingspeak.com and paste them
* below. Or just customize this script to talk to other HTTP servers.
*
*/
#include <ESP8266WiFi.h>
#include <DHT.h>
#define DHTPIN D2 //dht pin connected to D1
#define DHTTYPE DHT11
DHT dht(DHTPIN, DHTTYPE);
const char* ssid = "your SSID";
const char* password = "password";
const char* host = "api.thingspeak.com";
const String channelsAPIKey = "thingspeak API";
const String talkBackAPIKey = "talkback API";
const String talkBackID = "talkback ID";
const unsigned int getTalkBackInterval = 10 * 1000;
const unsigned int updateChannelsInterval = 15 * 1000;
String talkBackCommand;
WiFiClient client;
void startWiFi();
void getTalkBack();
void updateChannels();
void Proximity_Mode();
void Sleep_Mode();
void Away_Mode();
void Eco_Mode();
long lastConnectionTimeChannels = 0;
boolean lastConnectedChannels = false;
int failedCounterChannels = 0;
long lastConnectionTimeTalkBack = 0;
boolean lastConnectedTalkBack = false;
int failedCounterTalkBack = 0;
int AC = D4;
int FAN = D3;
int LIGHT = D7;
int LIGHT1 = D6;
int PIR =D5; //
int val =0;
int LDR = A0;
float Illumination;
int I;
float t;
float h;
String readString;
void setup()
{
Serial.begin(115200);
delay(10);
pinMode(AC, OUTPUT);
pinMode(FAN, OUTPUT);
pinMode(LIGHT, OUTPUT);
pinMode(LIGHT1, OUTPUT);
pinMode(PIR, INPUT);
// We start by connecting to a WiFi network
Serial.println();
Serial.println();
Serial.print("Connecting to ");
Serial.println(ssid);
startWiFi();
}
void loop() {
delay(10000);
h = dht.readHumidity();
t = dht.readTemperature();
I = analogRead(LDR);
Illumination = map(I,0,1023,1000,1);
val = digitalRead(PIR);
//----------------------------------------------------
Serial.print("connecting to ");
Serial.println(host);
//client.stop();
delay(1000);
getTalkBack();
delay(5000);
updateChannels();
if(talkBackCommand == "ECOMODE") Eco_Mode();
if(talkBackCommand == "AWAYMODE") Away_Mode();
if(talkBackCommand == "PROXIMITYMODE") Proximity_Mode();
if(talkBackCommand == "SLEEPMODE") Sleep_Mode();
if (t < 24 || h < 24){
digitalWrite(AC, LOW);
}
if (val==LOW) {
digitalWrite(LIGHT1, LOW);
digitalWrite(FAN, LOW);
}
if(Illumination >600) {
digitalWrite(LIGHT, LOW);
}
}
//----------------Eco Mode------------------------------------------
void Eco_Mode(){
if (t >28 || h >26){
digitalWrite(AC, HIGH);
}
if (Illumination <500){
digitalWrite(LIGHT, HIGH);
}
}
//--------------- Proximity Mode---------------------------------
void Proximity_Mode(){
if (val==HIGH){
digitalWrite(LIGHT1, HIGH);
digitalWrite(FAN, HIGH);
}
}
//---------------- Sleep Mode-----------------------------------
void Sleep_Mode(){
digitalWrite(AC, HIGH);
digitalWrite(LIGHT, LOW);
}
//------------------Away Mode---------------------------------
void Away_Mode(){
digitalWrite(AC, LOW);
digitalWrite(LIGHT, LOW);
digitalWrite(LIGHT1, LOW);
digitalWrite(FAN, LOW);
}
void getTalkBack()
{
String tsData="";
tsData=talkBackID + "/commands/execute?api_key=" + talkBackAPIKey;
if((!client.connected() && (millis() - lastConnectionTimeTalkBack > getTalkBackInterval)))
{
if (client.connect("api.thingspeak.com", 80))
{
//client.println("GET /talkbacks/"+tsData+" HTTP/1.0");
client.println("GET /talkbacks/7649/commands/execute?api_key=OIKA2DLBAJ7X385E");
//client.println();
Serial.println("GET /talkbacks/"+tsData+" HTTP/1.0");
lastConnectionTimeTalkBack = millis();
if (client.connected())
{
Serial.println(".........................");
Serial.println("GET TalkBack command");
Serial.println();
Serial.println("Connecting to ThingsApp...");
Serial.println();
Serial.println();
Serial.println("Server response ->");
Serial.println();
failedCounterTalkBack = 0;
talkBackCommand="";
while(client.connected() && !client.available()) delay(10); //waits for data
while (client.connected() || client.available())
{
char charIn = client.read();
Serial.print(charIn);
talkBackCommand += charIn;
}
//talkBackCommand=talkBackCommand.substring(talkBackCommand.indexOf("open")+5);
//Serial.println();
//Serial.println();
//Serial.println("...disconnected");
Serial.println();
Serial.println("-----------------------");
Serial.print("Command -> ");
Serial.println(talkBackCommand);
Serial.println("-----------------------");
Serial.println();
}
else
{
failedCounterTalkBack++;
Serial.println("Connection to ThingSpeak failed ("+String(failedCounterTalkBack, DEC)+")");
Serial.println();
lastConnectionTimeChannels = millis();
}
}
else
{
failedCounterTalkBack++;
Serial.println("Connection to ThingSpeak Failed ("+String(failedCounterTalkBack, DEC)+")");
Serial.println();
lastConnectionTimeTalkBack = millis();
}
}
if (failedCounterTalkBack > 3 ) {startWiFi();}
client.stop();
Serial.flush();
}
void updateChannels()
{
String tsData;
tsData="field1="+String (h)+"&field2="+String (t)+"&field3="+String(Illumination, DEC)+"&field4="+String(val);
Serial.println(tsData);
if(!client.connected() && (millis() - lastConnectionTimeChannels > updateChannelsInterval))
{
if (client.connect("api.thingspeak.com", 80))
{
client.print("POST /update HTTP/1.1\n");
client.print("Host: api.thingspeak.com\n");
client.print("Connection: close\n");
client.print("X-THINGSPEAKAPIKEY: "+channelsAPIKey+"\n");
client.print("Content-Type: application/x-www-form-urlencoded\n");
client.print("Content-Length: ");
client.print(tsData.length());
client.print("\n\n");
client.print(tsData);
lastConnectionTimeChannels = millis();
if (client.connected())
{
Serial.println("****************************************");
Serial.println("Update channels");
Serial.println();
Serial.println("Connecting to ThingSpeak...");
Serial.println();
Serial.println("Server response ->");
Serial.println();
failedCounterChannels = 0;
while(client.connected() && !client.available()) delay(1); //waits for data
while (client.connected() || client.available())
{
char charIn = client.read();
Serial.print(charIn);
//client.stop();
}
Serial.println();
Serial.println();
Serial.println("...disconnected");
Serial.println();
}
else
{
failedCounterChannels++;
Serial.println("Connection to ThingSpeak failed ("+String(failedCounterChannels, DEC)+")");
Serial.println();
lastConnectionTimeChannels = millis();
}
}
else
{
failedCounterChannels++;
Serial.println("Connection to ThingSpeak Failed ("+String(failedCounterChannels, DEC)+")");
Serial.println();
lastConnectionTimeChannels = millis();
}
}
if (failedCounterChannels > 3 ) {startWiFi();}
client.stop();
Serial.flush();
}
void startWiFi()
{
client.stop();
Serial.println();
Serial.println("Connecting Arduino to network...");
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
}
Serial.println("");
Serial.println("WiFi connected");
Serial.println("IP address: ");
Serial.println(WiFi.localIP());
delay(1000);
}
|
//: C04:Scoperes.cpp
// Kod zrodlowy pochodzacy z ksiazki
// "Thinking in C++. Edycja polska"
// (c) Bruce Eckel 2000
// Informacje o prawie autorskim znajduja sie w pliku Copyright.txt
// Okreslenie zasiegu globalnego
int a;
void f() {}
struct S {
int a;
void f();
};
void S::f() {
::f(); // Inaczej wywolanie byloby rekurencyjne!
::a++; // Wybor zmiennej globalnej a
a--; // Zmienna a w zasiegu struktury
}
int main() { S s; f(); } ///:~
|
#include <iostream>
using namespace std;
int main()
{
int t,n,m,sorted[10000];
long long minsalary[10000],companyoffer[10000][2],sortedpos[10000],companycount,salarycount,totaljob,pos;
string qual[100000];
bool flag;
cin>>t;
for(int k=0;k<t;k--)
{
cin>>n>>m;
for(int i=0;i<n;i++)
cin>>minsalary[i];
for(int i=0;i<m;i++)
cin>>companyoffer[i][0]>>companyoffer[i][1];
for(int j=0;j<n;j++)
cin>>qual[j];
//next sort the offered salary positions
for(int i=0;i<m;i++)
{
pos=i;
for(int j=i+1;j<m;j++)
{
if(companyoffer[j][0]>=companyoffer[pos][0])
{
pos=j;
}
}
companyoffer[pos][0]=0;
sorted[i]=pos;
cout<<pos<<" ";
}
//find the maximum salary that a student can get
flag=0;
salarycount=0;
companycount=0;
totaljob=0;
for(int i=0;i<n;i++)
{
for(int j=0;j<m;j++)
{ if(companyoffer[pos][1]<=0)
{
pos++;
flag=0;
}
if(qual[i][pos]=='1')
{ if(companyoffer[pos][0]<minsalary[i])
break;
else
if(companyoffer[pos][0]>=minsalary[i])
{
salarycount+=companyoffer[pos][0];
totaljob+=1;
companyoffer[pos][2]--;
if(flag==0)
{
companycount+=1;
flag=1;
}
break;
}
}
}
if(pos<0)
break;
}
cout<<totaljob<<" "<<salarycount<<" "<<m-companycount<<endl;
}
}
|
/*
* Service_Handler.h
*
* Created on: Jun 11, 2017
* Author: root
*/
#ifndef NETWORK_SERVICE_HANDLER_H_
#define NETWORK_SERVICE_HANDLER_H_
#include <map>
#include <vector>
#include "../define.h"
#include "../Smart_Ptr.h"
#include "../Common.h"
#include "../Thread/Task.h"
#include "InetAddress.h"
#include "Context.h"
#include "../Ref_Object.h"
#include "../Memory/MemAllocator.h"
using namespace std;
namespace CommBaseOut
{
class Task;
class Message;
class Message_Handler;
class Request_Handler;
class Ack_Handler;
class Message_Service_Handler
{
public:
virtual ~Message_Service_Handler(){}
virtual void on_new_channel_build(int channel_id,short int local_id,unsigned char local_type,short int remote_id,unsigned char remote_type,Safe_Smart_Ptr<Inet_Addr> remote_address) = 0;
virtual void on_channel_error(int channel_id,short int local_id,unsigned char local_type,short int remote_id,unsigned char remote_type,int error_code,Safe_Smart_Ptr<Inet_Addr> remote_address) = 0;
virtual void on_connect_failed(int connector_id,short int local_id,unsigned char local_type,short int remote_id,unsigned char remote_type,int error,Safe_Smart_Ptr<Inet_Addr> remote_address) = 0;
};
class HandlerManager
#ifdef USE_MEMORY_POOL
: public MemoryBase
#endif
{
public:
HandlerManager(Context *c);
~HandlerManager();
int RegisterMessageHandler(BYTE type, DWORD id, Message_Handler* handler);
int RegisterRequestHandler(BYTE type, DWORD id, Request_Handler* handler);
int RegisterAckHandler(BYTE type, DWORD id, Ack_Handler* handler);
Message_Handler* GetMessageHandler(BYTE type, DWORD id);
Request_Handler* GetRequestHandler(BYTE type, DWORD id);
Ack_Handler* GetAckHandler(BYTE type, DWORD id);
private:
// map<DWORD, Message_Handler* > m_messageHandler;
// map<DWORD, Request_Handler* > m_requestHandler;
// map<DWORD, Ack_Handler* > m_ackHandler;
vector<Message_Handler* > m_messageHandler;
vector<Request_Handler* > m_requestHandler;
vector<Ack_Handler* > m_ackHandler;
Context *m_c;
};
}
#endif /* NETWORK_SERVICE_HANDLER_H_ */
|
/**
* ============================================================================
*
* Copyright (C) 2018, Hisilicon Technologies Co., Ltd. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1 Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* 2 Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* 3 Neither the names of the copyright holders nor the names of the
* contributors may be used to endorse or promote products derived from this
* software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
* ============================================================================
*/
#ifndef ASCENDDK_ASCEND_EZDVPP_DVPP_DATA_TYPE_H_
#define ASCENDDK_ASCEND_EZDVPP_DVPP_DATA_TYPE_H_
#include "securec.h"
#include "dvpp/dvpp_config.h"
#include "toolchain/slog.h"
#define CHECK_MEMCPY_RESULT(ret, buffer) \
if (ret != EOK) { \
ASC_LOG_ERROR("Failed to copy memory,Ret=%d.", ret); \
unsigned char *buf = buffer; \
if (buf != nullptr){ \
delete[] buf; \
} \
return kDvppErrorMemcpyFail; \
}
#define CHECK_VPC_MEMCPY_S_RESULT(err_ret, in_buffer, p_dvpp_api) \
if (err_ret != EOK) { \
ASC_LOG_ERROR("Failed to copy memory,Ret=%d.", err_ret); \
if (in_buffer != nullptr) \
{ \
free(in_buffer); \
} \
IDVPPAPI *dvpp_api = p_dvpp_api; \
if (p_dvpp_api != nullptr) \
{ \
DestroyDvppApi(dvpp_api); \
} \
return kDvppErrorMemcpyFail; \
}
#define ASC_LOG_ERROR(fmt, ...) \
dlog_error(ASCENDDK, "[%s:%d] " fmt "\n", __FILE__, __LINE__, ##__VA_ARGS__)
// The memory size of the BGR image is 3 times that of width*height.
#define DVPP_BGR_BUFFER_MULTIPLE 3
// The memory size of the YUV image is 1.5 times that of width*height.
#define DVPP_YUV420SP_SIZE_MOLECULE 3
#define DVPP_YUV420SP_SIZE_DENOMINATOR 2
#define VPC_WIDTH_ALGIN 128
#define VPC_HEIGHT_ALGIN 16
#define VPC_ADDRESS_ALGIN 128
#define JPEGE_WIDTH_ALGIN 16
#define DVPP_RETURN_ERROR -1
#define DVPP_RETURN_OK 0
namespace ascend {
namespace utils {
const unsigned int kJpegEAddressAlgin = 128;
// Bgr image need memory align
const int kImageNeedAlign = 0;
// Bgr image don't need memory align
const int kImageNotNeedAlign = 1;
struct ErrorDescription {
int code;
std::string code_info;
};
enum DvppEncodeType {
kH265Main = 0, // H265-main level
kH264Base = 1, // H264-baseline level
kH264Main = 2, // H264-main level
kH264High = 3, // H264-high level
};
enum YuvType {
kYuv420sp, // YUV420 semi-planner
kYvu420sp, // YVU420 semi-planner
};
enum CaptureObjFlag {
kJpeg, // convert to jpg
kH264, // convert to h264
kYuv, // convert to yuv
};
enum DvppErrorCode {
kDvppOperationOk = 0,
kDvppErrorInvalidParameter = -1,
kDvppErrorMallocFail = -2,
kDvppErrorCreateDvppFail = -3,
kDvppErrorDvppCtlFail = -4,
kDvppErrorNoOutputInfo = -5,
kDvppErrorMemcpyFail = -6,
};
struct ResolutionRatio {
int width = 0;
int height = 0;
};
struct DvppToJpgPara {
// used to indicate the input format.
eEncodeFormat format = JPGENC_FORMAT_NV12;
// used to indicate the output quality while output is jpg.
int level = 100;
// image resolution.
ResolutionRatio resolution;
};
struct DvppToH264Para {
// coding protocol. 0:H265-main level 1:H264-baseline level
// 2:H264-main level 3:H264-high level
int coding_type = 3;
// YUV storage method.0:YUV420 semi-planner 1:YVU420 semi-planner
int yuv_store_type = 0;
// resolution
ResolutionRatio resolution;
};
struct DvppToYuvPara {
int image_type = 0; // Dvpp image format
int rank = 0; // Image arrangement format
int bit_width = 0; // Image bit depth
int cvdr_or_rdma = 0; // Image path.default is cvdr
ResolutionRatio resolution; // Image resolution
int horz_max = 0; // The maximum deviation from the origin in horz direction
int horz_min = 0; // The minimum deviation from the origin in horz direction
int vert_max = 0; // The maximum deviation from the origin in vert direction
int vert_min = 0; // The minimum deviation from the origin in vert direction
double horz_inc = 0; // Horizontal magnification
double vert_inc = 0; // Vertical magnification
};
struct DvppOutput {
// output buffer
unsigned char *buffer;
// size of output buffer
unsigned int size;
};
struct DvppPara {
DvppToJpgPara jpg_para;
DvppToH264Para h264_para;
DvppToYuvPara yuv_para;
};
}
}
#endif /* ASCENDDK_ASCEND_EZDVPP_DVPP_DATA_TYPE_H_ */
|
//使用するヘッダーファイル
#include"GameL\DrawTexture.h"
#include"GameL\WinInputs.h"
#include"GameL\SceneManager.h"
#include"GameL\DrawFont.h"
#include"GameL\UserData.h"
#include"GameHead.h"
#include"ObjRanking.h"
#include"SceneMain.h"
//使用するネームスペース
using namespace GameL;
//イニシャライズ
void CObjRanking::Init()
{
m_key_flag = false;
choose = 1;
m_time = 5;
//得点が高い順に並び替えをする
RankingSort(((UserData*)Save::GetData())->m_ranking);
//ゲーム実行して一回のみ
static bool init_point = false;
if (init_point == false)
{
//ロード
Save::Open();//同フォルダ「UserData」からデータ取得
//点数を0にする
((UserData*)Save::GetData())->minute = ALL_RANKING_SIZE;
init_point = true;
}
//得点の初期化
((UserData*)Save::GetData())->minute = ALL_RANKING_SIZE;
//得点が高い順に並び替えをする
RankingSort(((UserData*)Save::GetData())->m_ranking);
}
//アクション
void CObjRanking::Action()
{
if (Input::GetVKey(VK_UP) == true && choose > 1 && m_time == 0)
{
--choose;
m_time = 5;
}
if (Input::GetVKey(VK_DOWN) == true && choose < 11 && m_time == 0)
{
++choose;
m_time = 5;
}
if (m_time > 0) {
m_time--;
if (m_time <= 0) {
m_time = 0;
}
}
if (choose !=0)
{
//ボタンが押されたらメインに遷移
if (Input::GetVKey(VK_BACK) == true)
{
if (m_key_flag == true)
{
Scene::SetScene(new CSceneTitle());
//得点の初期化
((UserData*)Save::GetData())->minute = ALL_RANKING_SIZE;
m_key_flag = false;
}
}
else
{
m_key_flag = true;
}
}
//ランキングリセットの部分と当たり判定
if (choose==11)
{
if (Input::GetVKey(VK_RETURN) == true)
{
if (m_key_flag == true)
{
//ランキング初期化
for (int i = 0; i < 10; i++)
{
((UserData*)Save::GetData())->m_ranking[i] = ALL_RANKING_SIZE;
}
m_key_flag = false;
}
}
}
else
{
m_key_flag = true;
}
}
//ドロー
void CObjRanking::Draw()
{
float c[4] = { 1,1,1,1 };
//ランキング
Font::StrDraw(L"ランキング", RANKING_POS_X, RANKING_POS_Y, RANKING_FONT_SIZE, c);
//for (int i = 0; i <RANKING_CLASS_MAX; i++)
//{
// wchar_t str[STR_MAX2];
// swprintf_s(str, L"%d階層", i + CLASS_INIT);
// Font::StrDraw(str, CLASS_POS_X, CLASS_POS_Y + CLASS_INTERVAL *i + 1, CLASS_FONT_SIZE, c);
//}
for (int i = 0; i <RANKING_SCORE_MAX; i++)
{
wchar_t str[STR_MAX];
if ((((UserData*)Save::GetData())->m_ranking[i]) ==999)
{
swprintf_s(str, L"%d位 0秒", i + SCORE_INIT);
}
else
{
swprintf_s(str, L"%d位 %d秒", i + SCORE_INIT, ((UserData*)Save::GetData())->m_ranking[i]);
}
Font::StrDraw(str, SCORE_POS_X, SCORE_POS_Y + SCORE_INTERVAL*i+1, SCORE_FONT_SIZE, c);
}
Font::StrDraw(L"バックスペースでタイトルへ", CLICK_TITLE_GO_X, CLICK_TITLE_GO_Y, TITLE_FONT_SIZE, c);
//マウスがその位置に行った時の処理
if (choose == 1)
Font::StrDraw(L"◇", CLASS_POS_X - 30, CLASS_POS_Y, CLASS_FONT_SIZE,c);
if (choose == 2)
Font::StrDraw(L"◇", CLASS_POS_X - 30, CLASS_POS_Y +45, CLASS_FONT_SIZE, c);
if (choose == 3)
Font::StrDraw(L"◇", CLASS_POS_X - 30, CLASS_POS_Y + 90, CLASS_FONT_SIZE, c);
if (choose == 4)
Font::StrDraw(L"◇", CLASS_POS_X - 30, CLASS_POS_Y + 135, CLASS_FONT_SIZE, c);
if (choose == 5)
Font::StrDraw(L"◇", CLASS_POS_X - 30, CLASS_POS_Y + 180, CLASS_FONT_SIZE, c);
if (choose == 6)
Font::StrDraw(L"◇", CLASS_POS_X - 30, CLASS_POS_Y + 225, CLASS_FONT_SIZE, c);
if (choose == 7)
Font::StrDraw(L"◇", CLASS_POS_X - 30, CLASS_POS_Y + 270, CLASS_FONT_SIZE, c);
if (choose == 8)
Font::StrDraw(L"◇", CLASS_POS_X - 30, CLASS_POS_Y + 315, CLASS_FONT_SIZE, c);
if (choose == 9)
Font::StrDraw(L"◇", CLASS_POS_X - 30, CLASS_POS_Y + 360, CLASS_FONT_SIZE, c);
if (choose == 10)
Font::StrDraw(L"◇", CLASS_POS_X - 30, CLASS_POS_Y + 400, CLASS_FONT_SIZE, c);
//ランキングリセット場所
if (choose == 11)
Font::StrDraw(L"◇ClickReset", CLICK_RESET_POS_X - 20, CLICK_RESET_POS_Y, CLICK_RESET_FONT_SIZE, c);
else
Font::StrDraw(L"ClickReset", CLICK_RESET_POS_X, CLICK_RESET_POS_Y, CLICK_RESET_FONT_SIZE, c);
}
//ランキングソートメゾット
//引数1 int[16] :ランキング用配列
//高順でバブルソートを行う
void CObjRanking::RankingSort(int rank[10])
{
//値交換用変数
int w;
int s;
//バブルソート
for (int i = 0; i < 9; i++)
{
for (int j = i + 1; j < 10; j++)
{
if (rank[j] < rank[i])
{
//値の交換
w = rank[i];
rank[i] = rank[j];
rank[j] = w;
}
}
}
}
|
/*
* This is a minimal example, see extra-examples.cpp for a version
* with more explantory documentation, example routines, how to
* hook up your pixels and all of the pixel types that are supported.
*
*/
/*-------------------------------------------------------------------------
Spark Core library to control WS2811/WS2812 based RGB
LED devices such as Adafruit NeoPixel strips and matrices.
Currently handles 800 KHz and 400kHz bitstream on Spark Core,
WS2812, WS2812B and WS2811.
Also supports Radio Shack Tri-Color Strip with TM1803 controller
400kHz bitstream.
PLEASE NOTE that the NeoPixels require 5V level inputs
and the Spark Core only has 3.3V level outputs. Level shifting is
necessary, but will require a fast device such as one of the following:
[SN74HCT125N]
http://www.digikey.com/product-detail/en/SN74HCT125N/296-8386-5-ND/376860
[SN74HCT245N]
http://www.digikey.com/product-detail/en/SN74HCT245N/296-1612-5-ND/277258
[TXB0108PWR]
http://www.digikey.com/product-search/en?pv7=2&k=TXB0108PWR
If you have a Spark Shield Shield, the TXB0108PWR 3.3V to 5V level
shifter is built in.
Written by Phil Burgess / Paint Your Dragon for Adafruit Industries.
Modified to work with Spark Core by Technobly.
Modified for use with Matrices by delianides.
Contributions by PJRC and other members of the open source community.
Adafruit invests time and resources providing this open source code,
please support Adafruit and open-source hardware by purchasing products
from Adafruit!
--------------------------------------------------------------------*/
#include "Particle.h"
#include "neomatrix.h"
// IMPORTANT: Set pixel PIN and TYPE
#define PIXEL_PIN D2
#define PIXEL_TYPE WS2812B
SYSTEM_MODE(SEMI_AUTOMATIC);
// MATRIX DECLARATION:
// Parameter 1 = width of EACH NEOPIXEL MATRIX (not total display)
// Parameter 2 = height of each matrix
// Parameter 3 = number of matrices arranged horizontally
// Parameter 4 = number of matrices arranged vertically
// Parameter 5 = pin number (most are valid)
// Parameter 6 = matrix layout flags, add together as needed:
// NEO_MATRIX_TOP, NEO_MATRIX_BOTTOM, NEO_MATRIX_LEFT, NEO_MATRIX_RIGHT:
// Position of the FIRST LED in the FIRST MATRIX; pick two, e.g.
// NEO_MATRIX_TOP + NEO_MATRIX_LEFT for the top-left corner.
// NEO_MATRIX_ROWS, NEO_MATRIX_COLUMNS: LEDs WITHIN EACH MATRIX are
// arranged in horizontal rows or in vertical columns, respectively;
// pick one or the other.
// NEO_MATRIX_PROGRESSIVE, NEO_MATRIX_ZIGZAG: all rows/columns WITHIN
// EACH MATRIX proceed in the same order, or alternate lines reverse
// direction; pick one.
// NEO_TILE_TOP, NEO_TILE_BOTTOM, NEO_TILE_LEFT, NEO_TILE_RIGHT:
// Position of the FIRST MATRIX (tile) in the OVERALL DISPLAY; pick
// two, e.g. NEO_TILE_TOP + NEO_TILE_LEFT for the top-left corner.
// NEO_TILE_ROWS, NEO_TILE_COLUMNS: the matrices in the OVERALL DISPLAY
// are arranged in horizontal rows or in vertical columns, respectively;
// pick one or the other.
// NEO_TILE_PROGRESSIVE, NEO_TILE_ZIGZAG: the ROWS/COLUMS OF MATRICES
// (tiles) in the OVERALL DISPLAY proceed in the same order for every
// line, or alternate lines reverse direction; pick one. When using
// zig-zag order, the orientation of the matrices in alternate rows
// will be rotated 180 degrees (this is normal -- simplifies wiring).
// See example below for these values in action.
// Parameter 7 = pixel type flags, add together as needed:
// NEO_RGB Pixels are wired for RGB bitstream (v1 pixels)
// NEO_GRB Pixels are wired for GRB bitstream (v2 pixels)
// NEO_KHZ400 400 KHz bitstream (e.g. FLORA v1 pixels)
// NEO_KHZ800 800 KHz bitstream (e.g. High Density LED strip)
// For Spark Core developement it should probably also be WS2812B if you're
// using adafruit neopixels.
// Example with three 10x8 matrices (created using NeoPixel flex strip --
// these grids are not a ready-made product). In this application we'd
// like to arrange the three matrices side-by-side in a wide display.
// The first matrix (tile) will be at the left, and the first pixel within
// that matrix is at the top left. The matrices use zig-zag line ordering.
// There's only one row here, so it doesn't matter if we declare it in row
// or column order. The matrices use 800 KHz (v2) pixels that expect GRB
// color data.
/* Adafruit_NeoMatrix matrix = Adafruit_NeoMatrix(8,8,1,1, PIXEL_PIN, */
/* NEO_TILE_TOP + NEO_TILE_LEFT + NEO_TILE_ROWS + NEO_TILE_PROGRESSIVE + */
/* NEO_MATRIX_TOP + NEO_MATRIX_LEFT + NEO_MATRIX_ROWS + NEO_MATRIX_PROGRESSIVE, */
/* PIXEL_TYPE); */
Adafruit_NeoMatrix matrix = Adafruit_NeoMatrix(8, 8, PIXEL_PIN,
NEO_MATRIX_TOP + NEO_MATRIX_RIGHT +
NEO_MATRIX_COLUMNS + NEO_MATRIX_PROGRESSIVE,
PIXEL_TYPE);
const uint16_t colors[] = {
matrix.Color(255, 0, 0), matrix.Color(0, 255, 0), matrix.Color(0, 0, 255) };
void setup() {
matrix.begin();
matrix.setTextWrap(false);
matrix.setBrightness(30);
matrix.setTextColor(matrix.Color(80,255,0));
}
int x = matrix.width();
int pass = 0;
void loop() {
matrix.fillScreen(0);
matrix.setCursor(x, 0);
matrix.print(F("Howdy"));
if(--x < -36) {
x = matrix.width();
if(++pass >= 3) pass = 0;
matrix.setTextColor(colors[pass]);
}
matrix.show();
delay(100);
}
|
#ifdef DEBUG
#define _GLIBCXX_DEBUG
#endif
#include <iostream>
#include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <ctime>
#include <memory.h>
#include <cmath>
#include <string>
#include <cstring>
#include <queue>
#include <vector>
#include <set>
#include <deque>
#include <map>
#include <functional>
#include <numeric>
#include <sstream>
#include <complex>
#include <assert.h>
typedef long double LD;
typedef long long LL;
typedef unsigned long long ULL;
typedef unsigned int uint;
#define PI 3.1415926535897932384626433832795
#define sqr(x) ((x)*(x))
using namespace std;
int w[1111111], s[1111111];
vector<int> g[1111111];
void dfs(int x) {
w[x] = 1;
s[x] = 0;
priority_queue<int> q;
for (int i = 0; i < (int)g[x].size(); ++i) {
int y = g[x][i];
dfs(y);
w[x] += w[y];
s[x] += s[y];
q.push(-w[y]);
}
while (q.size() > 1) {
int t1 = q.top(); q.pop();
s[x] += -t1;
int t2 = q.top(); q.pop();
s[x] += -t2;
q.push(t1 + t2);
}
}
int main() {
freopen(".in", "r", stdin);
freopen(".out", "w", stdout);
int T;
cin >> T;
while (T--) {
int n;
cin >> n;
for (int i = 1; i <= n; ++i) g[i].clear();
for (int i = 2; i <= n; ++i) {
int x;
cin >> x;
g[x].push_back(i);
}
dfs(1);
cout << s[1] << endl;
}
return 0;
}
|
#if !defined is_float_h
#define is_float_h
// for boost::true_type and boost::false_type
#include <boost/type_traits/integral_constant.hpp>
namespace et {
template<typename T> struct is_float : public boost::false_type {};
template<> struct is_float<float> : public boost::true_type {};
template<> struct is_float<const float> : public boost::true_type {};
template<> struct is_float<volatile float> : public boost::true_type {};
template<> struct is_float<const volatile float> : public boost::true_type {};
}
#endif // is_float_h
|
#include<bits/stdc++.h>
using namespace std;
main()
{
char s1[200], s2[]="hello";
while(cin>>s1)
{
int i,j=0;
int len = strlen(s1);
for(i=0; i < len; i++)
{
if(s1[i]==s2[j])
j++;
}
if(j==5)
cout<<"YES"<<endl;
else
cout<<"NO"<<endl;
}
}
|
#include "common.h"
#include <sys/shm.h>
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <string.h>
#include <iostream>
int main(){
//定义共享内存结构体
struct ShmEntry *entry;
//1、申请共享内容,参数为key,size和shmfig[IPC_CREAT|(IPC_CREAT|IPC_EXCL)],返回一个共享内存的id
int shmid = shmget((key_t)1111,sizeof(struct ShmEntry),0666|IPC_CREAT);
if(shmid == -1){
std::cout << "创建共享内存失败" << std::endl;
return -1;
}
//2、连接到当前进程空间使用共享内存
//参数共享内存标识符、shmid指定共享内存出现在进程内存地址的什么位置,shmaddr直接指定为NULL让内核自己决定一个合适的地址位置,shmflg读写模式
entry = (ShmEntry*)shmat(shmid,0,0);
entry->can_read = 0;
char buffer[TEXT_LEN];
while(true){
if(entry->can_read == 0){
std::cout << "输入信息:>>>";
fgets(buffer, TEXT_LEN, stdin);
/*trncpy函数用于将指定长度的字符串复制到字符数组中,
dest -- 指向用于存储复制内容的目标数组。
src -- 要复制的字符串。
n -- 要从源中复制的字符数*/
strncpy(entry->msg,buffer,TEXT_LEN);
std::cout << "发送信息: " << entry->msg << std::endl;
entry->can_read = 1;
}
}
//3、脱离进程空间
//是用来断开与共享内存附加点的地址,禁止本进程访问此片共享内存
shmdt(entry);
//4、删除共享内存
shmctl(shmid,IPC_RMID,0);
return 0;
}
//g++ client.cpp common.h -o client -g -lpthread
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.