blob_id
stringlengths 40
40
| directory_id
stringlengths 40
40
| path
stringlengths 3
264
| content_id
stringlengths 40
40
| detected_licenses
sequencelengths 0
85
| license_type
stringclasses 2
values | repo_name
stringlengths 5
140
| snapshot_id
stringlengths 40
40
| revision_id
stringlengths 40
40
| branch_name
stringclasses 986
values | visit_date
timestamp[us] | revision_date
timestamp[us] | committer_date
timestamp[us] | github_id
int64 3.89k
681M
⌀ | star_events_count
int64 0
209k
| fork_events_count
int64 0
110k
| gha_license_id
stringclasses 23
values | gha_event_created_at
timestamp[us] | gha_created_at
timestamp[us] | gha_language
stringclasses 145
values | src_encoding
stringclasses 34
values | language
stringclasses 1
value | is_vendor
bool 1
class | is_generated
bool 2
classes | length_bytes
int64 3
10.4M
| extension
stringclasses 122
values | content
stringlengths 3
10.4M
| authors
sequencelengths 1
1
| author_id
stringlengths 0
158
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
071f0b12843670181c1e5f56df232fe4102a4654 | c6050f92deb9cae64d800591703ec789e39d6727 | /garnituraMarfa.cpp | 0b521a626cabcf56e6da2507a8e39794ed700bbf | [] | no_license | LauraDiosan-CS/lab8-11-polimorfism-feherbeatrix05 | e95b25f0c9b8913f81d379543fcd6625cf900b35 | 33e4e0d26f7c06c46b045cb8a1c221cfdbbcfd1d | refs/heads/master | 2022-06-17T02:56:36.878879 | 2020-05-04T14:57:44 | 2020-05-04T14:57:44 | 255,271,196 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,245 | cpp | #include "garnituraMarfa.h"
GarnituraMarfa::GarnituraMarfa() : Garnitura()
{
}
GarnituraMarfa::GarnituraMarfa(string numeModel, string producator, double nrVagoane, double nrGarnitDisp, double nrGarnitRez, string incarcatura) : Garnitura(numeModel, producator,nrVagoane,nrGarnitDisp,nrGarnitRez)
{
this->incarcatura = incarcatura;
}
GarnituraMarfa::GarnituraMarfa(const GarnituraMarfa& g) : Garnitura(g)
{
this->incarcatura = g.incarcatura;
}
GarnituraMarfa ::~GarnituraMarfa()
{
}
Garnitura* GarnituraMarfa::clone()
{
return new GarnituraMarfa(this->numeModel, this->producator, this->nrVagoane, this->nrGarnitDisp, this->nrGarnitRez, this->incarcatura);
}
string GarnituraMarfa::getIncarcatura()
{
return this->incarcatura;
}
void GarnituraMarfa::setIncarcatura(string incarcatura)
{
this->incarcatura = incarcatura;
}
GarnituraMarfa& GarnituraMarfa ::operator=(const GarnituraMarfa& g)
{
Garnitura::operator=(g);
this->incarcatura= g.incarcatura;
return *this;
}
bool GarnituraMarfa ::operator==(const GarnituraMarfa& g)
{
return Garnitura::operator==(g) && this->incarcatura == g.incarcatura;
}
string GarnituraMarfa::toString(string delim)
{
return "GM" + delim + Garnitura::toString(delim) + delim + this->incarcatura;
}
| [
"[email protected]"
] | |
cd05803b55c42393a76b24ccff442a795d7f6f20 | 6814e6556e620bbcbcf16f0dce7a15134b7830f1 | /Projects/Editor/Source/GUI/Controls/CScrollControl.h | ed3d48daab9eafaf62566706fb51a12290380014 | [
"MIT"
] | permissive | blizmax/skylicht-engine | 1bfc506635a1e33b59ad0ce7b04183bcf87c7fc1 | af99999f0a428ca8f3f144e662c1b23fd03b9ceb | refs/heads/master | 2023-08-07T11:50:02.370130 | 2021-10-09T16:10:20 | 2021-10-09T16:10:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,602 | h | /*
!@
MIT License
Copyright (c) 2020 Skylicht Technology CO., LTD
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.
This file is part of the "Skylicht Engine".
https://github.com/skylicht-lab/skylicht-engine
!#
*/
#pragma once
#include "CBase.h"
#include "CScrollBar.h"
namespace Skylicht
{
namespace Editor
{
namespace GUI
{
class CScrollControl : public CBase
{
protected:
CScrollBar* m_vertical;
CScrollBar* m_horizontal;
bool m_canScrollV;
bool m_canScrollH;
float m_widthScrollExpand;
float m_heightScrollExpand;
bool m_modifyChildWidth;
public:
CScrollControl(CBase* parent);
~CScrollControl();
virtual void layout();
virtual void onChildBoundsChanged(const SRect& oldChildBounds, CBase* child);
virtual bool onMouseWheeled(int delta);
virtual void onScrollBarV(CBase* base);
virtual void onScrollBarH(CBase* base);
void scrollToItem(CBase* item);
void showScrollBar(bool h, bool v);
void enableScroll(bool h, bool v);
void enableModifyChildWidth(bool b)
{
m_modifyChildWidth = b;
}
float getInnerWidth();
float getInnerHeight();
float getScrollVertical();
float getScrollHorizontal();
void setScrollVertical(float y);
void setScrollHorizontal(float x);
inline CScrollBar* getVerticalScroll()
{
return m_vertical;
}
inline CScrollBar* getHorizontalScroll()
{
return m_horizontal;
}
void scrollVerticalOffset(float offset);
void scrollHorizontalOffset(float offset);
protected:
void updateScrollBar();
};
}
}
} | [
"[email protected]"
] | |
008c82e0da87ac4b5bcde8d4776c30b28fc49b8e | f05155d1c9c41fcc6e31686505f856fd2fbc06de | /2019/octobor 2019/anisul c++/codeforce/1237B.cpp | c74eddf7ae00f22af93dfcb0783863d2f9e0d838 | [] | no_license | T-tasir/Competetive-Programming | 22308db58c827a8dfa9d2f879f7a1c135f3ab96a | b56ab712fd2147a69b90b7300e281b9b6ed85852 | refs/heads/main | 2023-08-18T07:35:22.656508 | 2021-10-14T13:20:33 | 2021-10-14T13:20:33 | 368,572,215 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 758 | cpp | #include<bits/stdc++.h>
using namespace std;
#define int long long
#define vvi vector<vector<int>>
#define vi vector<int>
#define vpii vector<pair<int,int>>
#define ff first
#define ss second
#define all(x) x.begin(),x.end()
#define ffor(i,n) for(int i = 0; i < n; ++i)
signed main()
{
ios_base::sync_with_stdio(false);
cin.tie(0);
int n;
cin >> n;
vi a(n),b(n),pos(n + 1);
ffor(i,n){
cin >> a[i];
pos[a[i]] = i;
}
int ans = 0;
int maxi = 0;
set<int> done;
ffor(i,n){
cin >> b[i];
}
for(int i = n - 1; i >= 0; --i){
auto it = done.upper_bound(pos[b[i]]);
if(it != done.begin()){
ans++;
}
done.insert(pos[b[i]]);
}
cout << ans;
}
| [
"[email protected]"
] | |
dd29a7d4a47d031456750a5824bd478c9f174259 | 53fc674a9c64871e2dcc592345ba0392a6962294 | /Server/main.cpp | 0aba7f8df4d95be043c0b1b21e5e5f214ba1f0d7 | [] | no_license | tfox12/RoboticsLab | 707728fe4221222ebf4beb60b44a89bdc88f7e6b | 7d287570be5290aa8bbd6ccc304a75457d311c93 | refs/heads/master | 2021-01-13T02:30:12.572280 | 2013-01-14T10:21:04 | 2013-01-14T10:21:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 772 | cpp | #include "network.h"
#include <iostream>
#include <string>
int main()
{
std::cout << "Waiting for a connection from the Pi" << std::endl;
Server::Socket * client = Server::NetworkInterface::instance()->accept_new_connection();
std::string command;
std::cout << "send the robot commands: forward, back, left, right. Or \"end\" to stop";
do
{
std::cin >> command;
if( !( command == "forward"
|| command == "back"
|| command == "left"
|| command == "right"
|| command == "end"
))
{
std::cerr << "invalid command" << std::endl;
}
else
{
client->send_all(command);
}
}
while(command != "end");
}
| [
"tim@ubuntu.(none)"
] | tim@ubuntu.(none) |
e945b7dc1b5a36c1684dd1fb73fd9cd0e8e09f8a | fdcd817e68318040439249076335049070dc9b32 | /lab1-evinjaff/lab1/lab1/lab1.cpp | 0c39084f95c556c4ad04e118f0d9e2ba9fbe644d | [] | no_license | bengross234/CSE332S-FL2020 | 9a4053adba2778883f785c7c812ac7eaaa24fe99 | b81ded7c30e5a1fa20d6b2b36bac6ee88db32d22 | refs/heads/master | 2023-04-02T00:33:38.435495 | 2021-03-15T01:40:41 | 2021-03-15T01:40:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,412 | cpp | /* lab1.cpp : This file contains the 'main' 'readfile' and 'errmessage' function. Program execution begins and ends here.
* Written by Evin Jaff
* email: [email protected]
*/
#include "Header.h"
int main(int argc, char** argv)
{
vector <string> A;
vector<int> nums;
//Program should only execute with one other argument
if (argc != 2) {
errmessage(Invalid_arguments);
return Invalid_arguments;
}
char* filename = argv[1];
if (readfile(A, filename) == success) {
for (unsigned int i = 0; i < A.size(); i++) {
//boolean for a flipped value
bool hasdigit = true;
for (unsigned int j = 0; j < A[i].length(); j++) {
//Will switch if any digit is not true
if (!isdigit((A[i][j])) ) {
hasdigit = false;
cout << A[i] << endl;
break;
}
}
if (hasdigit) {
istringstream abc(A[i]);
int numchar;
abc >> numchar;
nums.push_back(numchar);
}
}
for (unsigned int i = 0; i < nums.size(); i++) {
cout << nums[i] << endl;
}
}
else {
errmessage(File_failed_to_open);
return File_failed_to_open;
}
return success;
}
int readfile(vector <string>& A, char* filename) {
ifstream ifs;
ifs.open(filename);
string i;
if (ifs.is_open()) {
cout << "File open, success!" << endl;
//cast as bool. If nothing to feed in -> will return false | if something to feed in. -> returns true
while ((bool)(ifs >> i)) {
A.push_back(i);
}
}
else {
return File_failed_to_open;
}
ifs.close();
return success;
}
void errmessage(int err) {
switch (err) {
case 1:
cout << "Error " << err<< ": failed to open file. Make sure your file name is spelled correctly and that it is in the same folder as the executable" << endl;
break;
case 2:
cout << "Error " << err << ": invalid arguments. Please see the usage function below:" << endl;
cout << "Usage: " << endl;
cout << "Name: Lab1.exe" << endl;
cout << "Command Line Argument: lab1.exe <filename (including extension)>" << endl;
break;
default:
break;
}
}
/* From Assignment:
Declare and define a function for parsing an input file(for example input_file.txt)
containing text(character) strings and different forms of whitespace(spaces, tabs, line
breaks, etc.)., and then extract one string at a time from that file until there are no more strings
to read(hint: the input file stream >> extraction operator will return false when it cannot
extract another string from the file).
Each time a non - empty string is extracted(any empty strings should be simply ignored),
the function should push back the string into the vector that was passed as the first
parameter.If the file cannot be opened or the function encounters any other problems
during its execution it should print out a helpful error message indicating the problem and
return the appropriate enumeration label(that has a non - zero integer value) for failing to
open an input file; otherwise it should return the enumeration label(that has integer value
0) that indicates success.
*/
// Run program: Ctrl + F5 or Debug > Start Without Debugging menu
// Debug program: F5 or Debug > Start Debugging menu
// Tips for Getting Started:
// 1. Use the Solution Explorer window to add/manage files
// 2. Use the Team Explorer window to connect to source control
// 3. Use the Output window to see build output and other messages
// 4. Use the Error List window to view errors
// 5. Go to Project > Add New Item to create new code files, or Project > Add Existing Item to add existing code files to the project
// 6. In the future, to open this project again, go to File > Open > Project and select the .sln file
| [
"[email protected]"
] | |
9df21937b54ff9816d193bb7461da60c6e7b51a3 | bf5b3d41672ebfe80cfa5b21e5f73ab746dd6f18 | /subphonic/g_comp/g_crossfade.cpp | a388748279caaed07259fbbfc8adb9f8af7c62c1 | [] | no_license | tenso/subphonic | b20a6c78a7412d1f3ba4d151277b4e899bfd847a | 406109bbc04b25927c16a88c54facc274fe72981 | refs/heads/master | 2021-01-15T21:50:17.373008 | 2012-01-01T22:52:33 | 2012-01-01T22:52:33 | 3,084,568 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,543 | cpp | #include "g_crossfade.h"
GCrossfade::GCrossfade(BitmapFont* f, GroundMixer& g) : SoundComp(g)
{
cross = new Crossfade();
//add eveything
Pixmap* back_pix = new Pixmap(pix["128x124"]);
add(back_pix);
add(new MoveBorder(this,back_pix->pos.w,20),0,0);
Label* l = new Label(fnt["label"]);
l->printF("crossfade");
add(l,10,GCOMP_LABEL_YOFF);
//input
InputTaker* intak[3];
intak[0] = new InputTaker(pix["in"], this, 0);
intak[1] = new InputTaker(pix["in"], this, 1);
intak[2] = new InputTaker(pix["in"], this, 2);
addInputTaker(intak,3);
int xoff=10;
int yoff=20;
l = new Label(f);
l->printF("1:");
add(l,xoff,yoff+2);
l = new Label(f);
l->printF("2:");
add(l,xoff,yoff+15+2);
add(intak[0],xoff+20, yoff);
add(intak[1],xoff+20, yoff+15);
l = new Label(f);
l->printF("<-mono");
add(l,xoff+2+20+40,yoff);
//output
OutputGiver* outg[2];
outg[0] = new OutputGiver(pix["out"], this, 0);
outg[1] = new OutputGiver(pix["out"], this, 1);
addOutputGiver(outg,2);
xoff+=40;
add(outg[0],xoff, yoff);
add(outg[1],xoff, yoff+15);
xoff=25;
yoff+=45;
c_slide = new Slider(pix["slide_knob"],pix["slide_under"]);
c_slide->setMouseMoveAction(new C_CROSS(this));
c_slide->setValue(0.5);
add(c_slide, xoff-10,yoff-5);
add(intak[2],xoff+17, yoff+15);
l = new Label(f);
l->printF("1");
add(l,xoff-20,yoff);
l = new Label(f);
l->printF("2");
add(l,xoff+58,yoff);
xoff=5;
yoff+=40;
l = new Label(f);
l->printF("stereo");
add(l,xoff+10,yoff);
stereo = new Button(pix["up"], pix["down"]);
stereo->stayPressed(true);
stereo->setAction(new C_STEREO(this));
add(stereo, xoff+65, yoff-5);
f_val = new Const(c_slide->getValue());
cross->setFade((Value**)&f_val);
ground.addInput((Value**)&cross);
}
GCrossfade::~GCrossfade()
{
ground.remInput((Value**)&cross);
delete cross;
delete f_val;
}
Value** GCrossfade::getOutput(unsigned int id)
{
return cross->getOutput(id);
}
void GCrossfade::addInput(Value** out, unsigned int fromid)
{
if(fromid<=1)
{
cross->setInput(out, fromid);
}
if(fromid==2)
{
cross->setFade(out);
}
}
void GCrossfade::remInput(Value** out, unsigned int fromid)
{
if(fromid<=1)
{
cross->setInput(NULL, fromid);
}
if(fromid==2)cross->setFade((Value**)&f_val);
}
GCrossfade::C_CROSS::C_CROSS(GCrossfade* d)
{
src=d;
}
void GCrossfade::C_CROSS::action(Component* co)
{
src->f_val->set(src->c_slide->getValue());
}
GCrossfade::C_STEREO::C_STEREO(GCrossfade* d)
{
src=d;
}
void GCrossfade::C_STEREO::action(Component* co)
{
src->cross->setMix(!src->stereo->getValue());
}
/*state*/
void GCrossfade::getState(SoundCompEvent* e)
{
State s(c_slide->getValue(), stereo->getValue());
e->copyData((char*)&s, sizeof(State));
}
void GCrossfade::setState(SoundCompEvent* e)
{
DASSERT(e!=NULL);
if(e->empty())return;
if(e->getSize()!=sizeof(State))
{
DERROR("size missmatch");
if(e->getSize() < sizeof(State))return;
DERROR("trying to read...");
}
const State* s = (const State*)e->getData();
c_slide->setValue(s->c_slide);
f_val->set(c_slide->getValue());
stereo->setValue(s->stereo);
cross->setMix(!stereo->getValue());
}
| [
"[email protected]"
] | |
86babf2a2b0c345ec901fb6265301f636464bea2 | 229116ff4296a824f50c40f222d953c4148c8024 | /PCViewer/Elaboration/Calibration/calibration_adafruit.h | c43b91f69852a2fdc90b14b10874798e3f978549 | [] | no_license | xijunke/VisualInertialKinectFusion | 51e22f234963b7343bdd8cfb98fe88ed3c39599b | 610910dca00e9ffe6b0844411f9479d2a15a4b1b | refs/heads/master | 2021-10-09T10:35:13.905499 | 2018-12-26T11:10:30 | 2018-12-26T11:10:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,290 | h | #ifndef CALIBRATION_ADAFRUIT_H
#define CALIBRATION_ADAFRUIT_H
#include <QWidget>
#include <define.h>
#include <pcl/visualization/pcl_plotter.h>
//ICP
#include <pcl/correspondence.h>
#include <pcl/registration/correspondence_estimation.h>
#include <pcl/registration/correspondence_estimation_backprojection.h>
#include <pcl/registration/correspondence_estimation_normal_shooting.h>
#include <pcl/registration/correspondence_estimation_organized_projection.h>
#include <pcl/registration/correspondence_rejection_distance.h>
#include <pcl/registration/correspondence_rejection_one_to_one.h>
#include <pcl/registration/correspondence_rejection_median_distance.h>
#include <pcl/registration/correspondence_rejection_sample_consensus.h>
#include <pcl/registration/correspondence_rejection_trimmed.h>
#include <pcl/registration/correspondence_rejection_var_trimmed.h>
#include <pcl/registration/transformation_estimation_lm.h>
#include <pcl/registration/transformation_estimation_svd.h>
#include <pcl/registration/transformation_estimation_point_to_plane.h>
#include <pcl/registration/transformation_estimation_point_to_plane_lls.h>
#include <pcl/registration/transformation_estimation_translation.h> // My Transformation Estimation
#include <pcl/registration/icp.h> //RegistrationICP
#include <pcl/registration/icp_nl.h> //RegistrationICP
#include <pcl/registration/gicp.h> //RegistrationICP
#include <pcl/sample_consensus/sac_model_registration.h>
#include <pcl/sample_consensus/sac_model_registration_translation.h> // My RANSAC Registration
#include <pcl/keypoints/brisk_2d.h>
#include <pcl/keypoints/agast_2d.h>
#include <pcl/keypoints/sift_keypoint.h>
#include <pcl/features/fpfh.h>
#include <pcl/features/brisk_2d.h>
#include <pcl/registration/ia_ransac.h>
#include <pcl/filters/filter_indices.h>
#include <pcl/filters/filter.h>
#include <pcl/features/pfhrgb.h>
#include <pcl/features/shot.h>
#include <pcl/filters/extract_indices.h>
#include <pcl/features/pfh.h>
#include <QElapsedTimer>
#include <QFile>
#include <QFileDialog>
#include <QTextStream>
#include <QString>
#include <QTime>
#include <algorithm>
#include <vector>
#include <pcl/common/transforms.h> // transform point cloud
#include <pcl/common/io.h> // copy point cloud
#include <pcl/visualization/pcl_visualizer.h>
#include <pcl/filters/voxel_grid.h>
#include <pcl/filters/random_sample.h>
namespace Ui {
class Calibration_Adafruit;
}
class Calibration_Adafruit : public QWidget
{
Q_OBJECT
public:
explicit Calibration_Adafruit(QWidget *parent = 0);
~Calibration_Adafruit();
void setViewer(pcl::visualization::PCLVisualizer::Ptr myViewer){viewer = myViewer; return;}
public slots:
void setCurrentPCList(QList<PointCloudT::Ptr> pcList) { CurrentPCList = pcList;}
signals:
void replace(PointCloudT::Ptr oldPC, PointCloudT::Ptr newPC, QString ElabName);
private slots:
void on_pushButton_Save_AdaPoses_clicked();
void on_pushButton_Save_RegPoses_clicked();
void on_pushButton_Calibrate_Ada_clicked();
private:
Ui::Calibration_Adafruit *ui;
QList<PointCloudT::Ptr> CurrentPCList;
pcl::visualization::PCLVisualizer::Ptr viewer;
QList<Eigen::Matrix4f> AdaPoseList;
QList<Eigen::Matrix4f> RegPoseList;
};
#endif // CALIBRATION_ADAFRUIT_H
| [
"[email protected]"
] | |
67a61d76f93ce6e89dcc845d533c3423f906b686 | e37f0ef98552770d6d60f82c589911d85dcc19e9 | /Codeforces/762.A.cpp | 8d13c133aa563f76174885e5055b67c034236b77 | [] | no_license | anand873/CP_Codes | 00c9948810a84d8c9085684f31b75246b1f4ea2c | ec7cd07141512646d96cd247c190924ae9a7e263 | refs/heads/master | 2021-09-09T20:58:51.713079 | 2021-08-30T08:15:13 | 2021-08-30T08:15:13 | 204,478,713 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,652 | cpp | //Author: AnandRaj uux
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
typedef pair<int,int> pii;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef vector<pii> vpii;
typedef pair<ll,ll> pll;
typedef vector<ll> vl;
typedef vector<vl> vvl;
typedef vector<pll> vpll;
#define fastio ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
#define test() int t;cin>>t;while(t--)
#define forn(i,f,n) for(int i=f;i<f+n;i++)
#define rforn(i,l,n) for(int i=l;i>l-n;i--)
#define all(v) v.begin(),v.end()
#define prin(V) for(auto v:V) cout<<v<<" ";cout<<endl
#define take(V,f,n) for(int i=f;i<f+n;i++) cin>>V[i]
#define what(x) cerr<<#x<<" = "<<x<<endl
#define KStest() int t,t1;cin>>t;t1=t;while(t--)
#define KScout cout<<"Case #"<<t1-t<<": "
const int MOD = 1e9+7,MAX = 1e5+5;
/////////////////FastExp///////////////////
ll powN(ll a,ll p)
{
if(p==0) return 1;
ll z=powN(a,p/2);
z=(z*z)%MOD;
if(p%2) z=(z*a)%MOD;
return z;
}
/////////////////FastExp///////////////////
//////////////////Sieve////////////////////
vector<bool> is_prime(MAX+1, true);
void Sieve()
{
is_prime[0] = is_prime[1] = false;
int i,j;
for (i = 2; i*i <= MAX; i++)
{
if (is_prime[i])
{
for (j = i * i; j <= MAX; j += i)
is_prime[j] = false;
}
}
}
//////////////////Sieve////////////////////
int main()
{
ll n,k;
cin>>n>>k;
vector<ll> V;
for(ll i=1;i*i<=n;i++)
{
if(n%i==0)
{
V.push_back(i);
if(i*i!=n) V.push_back(n/i);
}
}
sort(all(V));
if(k>V.size()) cout<<-1<<endl;
else cout<<V[k-1]<<endl;
} | [
"[email protected]"
] | |
75fdd6bf435cc599e95299671ef1da67158ddc04 | ceb7431363e36a4698a93540cdeafcd9d9b315ad | /include/latino/StaticAnalyzer/Core/PathSensitive/CallEvent.h | 370e043254279b07daf1365b07a2a3d081b4f34f | [
"MIT"
] | permissive | primitivorm/latino-llvm | 8b5d8759271eb6c328cb4c81a2523bbecce10222 | 33c820aeef006b7190e347e0839cf4f268b70639 | refs/heads/master | 2023-08-02T06:15:42.365363 | 2023-05-05T13:28:32 | 2023-05-05T13:28:32 | 133,191,211 | 4 | 2 | MIT | 2022-03-31T01:39:29 | 2018-05-12T23:39:50 | C++ | UTF-8 | C++ | false | false | 53,284 | h | //===- CallEvent.h - Wrapper for all function and method calls --*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
/// \file This file defines CallEvent and its subclasses, which represent path-
/// sensitive instances of different kinds of function and method calls
/// (C, C++, and Objective-C).
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_LATINO_STATICANALYZER_CORE_PATHSENSITIVE_CALLEVENT_H
#define LLVM_LATINO_STATICANALYZER_CORE_PATHSENSITIVE_CALLEVENT_H
#include "latino/AST/Decl.h"
#include "latino/AST/DeclBase.h"
#include "latino/AST/DeclCXX.h"
// #include "latino/AST/DeclObjC.h"
#include "latino/AST/Expr.h"
#include "latino/AST/ExprCXX.h"
// #include "latino/AST/ExprObjC.h"
#include "latino/AST/Stmt.h"
#include "latino/AST/Type.h"
#include "latino/Basic/IdentifierTable.h"
#include "latino/Basic/LLVM.h"
#include "latino/Basic/SourceLocation.h"
#include "latino/Basic/SourceManager.h"
#include "latino/StaticAnalyzer/Core/PathSensitive/ExprEngine.h"
#include "latino/StaticAnalyzer/Core/PathSensitive/ProgramState.h"
#include "latino/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h"
#include "latino/StaticAnalyzer/Core/PathSensitive/SVals.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/IntrusiveRefCntPtr.h"
#include "llvm/ADT/PointerIntPair.h"
#include "llvm/ADT/PointerUnion.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/iterator_range.h"
#include "llvm/Support/Allocator.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/ErrorHandling.h"
#include <cassert>
#include <limits>
#include <utility>
namespace latino {
class LocationContext;
class ProgramPoint;
class ProgramPointTag;
class StackFrameContext;
namespace ento {
enum CallEventKind {
CE_Function,
CE_CXXMember,
CE_CXXMemberOperator,
CE_CXXDestructor,
CE_BEG_CXX_INSTANCE_CALLS = CE_CXXMember,
CE_END_CXX_INSTANCE_CALLS = CE_CXXDestructor,
CE_CXXConstructor,
CE_CXXInheritedConstructor,
CE_BEG_CXX_CONSTRUCTOR_CALLS = CE_CXXConstructor,
CE_END_CXX_CONSTRUCTOR_CALLS = CE_CXXInheritedConstructor,
CE_CXXAllocator,
CE_CXXDeallocator,
CE_BEG_FUNCTION_CALLS = CE_Function,
CE_END_FUNCTION_CALLS = CE_CXXDeallocator,
CE_Block,
CE_ObjCMessage
};
class CallEvent;
class CallDescription;
template<typename T = CallEvent>
class CallEventRef : public IntrusiveRefCntPtr<const T> {
public:
CallEventRef(const T *Call) : IntrusiveRefCntPtr<const T>(Call) {}
CallEventRef(const CallEventRef &Orig) : IntrusiveRefCntPtr<const T>(Orig) {}
CallEventRef<T> cloneWithState(ProgramStateRef State) const {
return this->get()->template cloneWithState<T>(State);
}
// Allow implicit conversions to a superclass type, since CallEventRef
// behaves like a pointer-to-const.
template <typename SuperT>
operator CallEventRef<SuperT> () const {
return this->get();
}
};
/// \class RuntimeDefinition
/// Defines the runtime definition of the called function.
///
/// Encapsulates the information we have about which Decl will be used
/// when the call is executed on the given path. When dealing with dynamic
/// dispatch, the information is based on DynamicTypeInfo and might not be
/// precise.
class RuntimeDefinition {
/// The Declaration of the function which could be called at runtime.
/// NULL if not available.
const Decl *D = nullptr;
/// The region representing an object (ObjC/C++) on which the method is
/// called. With dynamic dispatch, the method definition depends on the
/// runtime type of this object. NULL when the DynamicTypeInfo is
/// precise.
const MemRegion *R = nullptr;
public:
RuntimeDefinition() = default;
RuntimeDefinition(const Decl *InD): D(InD) {}
RuntimeDefinition(const Decl *InD, const MemRegion *InR): D(InD), R(InR) {}
const Decl *getDecl() { return D; }
/// Check if the definition we have is precise.
/// If not, it is possible that the call dispatches to another definition at
/// execution time.
bool mayHaveOtherDefinitions() { return R != nullptr; }
/// When other definitions are possible, returns the region whose runtime type
/// determines the method definition.
const MemRegion *getDispatchRegion() { return R; }
};
/// Represents an abstract call to a function or method along a
/// particular path.
///
/// CallEvents are created through the factory methods of CallEventManager.
///
/// CallEvents should always be cheap to create and destroy. In order for
/// CallEventManager to be able to re-use CallEvent-sized memory blocks,
/// subclasses of CallEvent may not add any data members to the base class.
/// Use the "Data" and "Location" fields instead.
class CallEvent {
public:
using Kind = CallEventKind;
private:
ProgramStateRef State;
const LocationContext *LCtx;
llvm::PointerUnion<const Expr *, const Decl *> Origin;
protected:
// This is user data for subclasses.
const void *Data;
// This is user data for subclasses.
// This should come right before RefCount, so that the two fields can be
// packed together on LP64 platforms.
SourceLocation Location;
private:
template <typename T> friend struct llvm::IntrusiveRefCntPtrInfo;
mutable unsigned RefCount = 0;
void Retain() const { ++RefCount; }
void Release() const;
protected:
friend class CallEventManager;
CallEvent(const Expr *E, ProgramStateRef state, const LocationContext *lctx)
: State(std::move(state)), LCtx(lctx), Origin(E) {}
CallEvent(const Decl *D, ProgramStateRef state, const LocationContext *lctx)
: State(std::move(state)), LCtx(lctx), Origin(D) {}
// DO NOT MAKE PUBLIC
CallEvent(const CallEvent &Original)
: State(Original.State), LCtx(Original.LCtx), Origin(Original.Origin),
Data(Original.Data), Location(Original.Location) {}
/// Copies this CallEvent, with vtable intact, into a new block of memory.
virtual void cloneTo(void *Dest) const = 0;
/// Get the value of arbitrary expressions at this point in the path.
SVal getSVal(const Stmt *S) const {
return getState()->getSVal(S, getLocationContext());
}
using ValueList = SmallVectorImpl<SVal>;
/// Used to specify non-argument regions that will be invalidated as a
/// result of this call.
virtual void getExtraInvalidatedValues(ValueList &Values,
RegionAndSymbolInvalidationTraits *ETraits) const {}
public:
CallEvent &operator=(const CallEvent &) = delete;
virtual ~CallEvent() = default;
/// Returns the kind of call this is.
virtual Kind getKind() const = 0;
virtual StringRef getKindAsString() const = 0;
/// Returns the declaration of the function or method that will be
/// called. May be null.
virtual const Decl *getDecl() const {
return Origin.dyn_cast<const Decl *>();
}
/// The state in which the call is being evaluated.
const ProgramStateRef &getState() const {
return State;
}
/// The context in which the call is being evaluated.
const LocationContext *getLocationContext() const {
return LCtx;
}
/// Returns the definition of the function or method that will be
/// called.
virtual RuntimeDefinition getRuntimeDefinition() const = 0;
/// Returns the expression whose value will be the result of this call.
/// May be null.
const Expr *getOriginExpr() const {
return Origin.dyn_cast<const Expr *>();
}
/// Returns the number of arguments (explicit and implicit).
///
/// Note that this may be greater than the number of parameters in the
/// callee's declaration, and that it may include arguments not written in
/// the source.
virtual unsigned getNumArgs() const = 0;
/// Returns true if the callee is known to be from a system header.
bool isInSystemHeader() const {
const Decl *D = getDecl();
if (!D)
return false;
SourceLocation Loc = D->getLocation();
if (Loc.isValid()) {
const SourceManager &SM =
getState()->getStateManager().getContext().getSourceManager();
return SM.isInSystemHeader(D->getLocation());
}
// Special case for implicitly-declared global operator new/delete.
// These should be considered system functions.
if (const auto *FD = dyn_cast<FunctionDecl>(D))
return FD->isOverloadedOperator() && FD->isImplicit() && FD->isGlobal();
return false;
}
/// Returns true if the CallEvent is a call to a function that matches
/// the CallDescription.
///
/// Note that this function is not intended to be used to match Obj-C method
/// calls.
bool isCalled(const CallDescription &CD) const;
/// Returns true whether the CallEvent is any of the CallDescriptions supplied
/// as a parameter.
template <typename FirstCallDesc, typename... CallDescs>
bool isCalled(const FirstCallDesc &First, const CallDescs &... Rest) const {
return isCalled(First) || isCalled(Rest...);
}
/// Returns a source range for the entire call, suitable for
/// outputting in diagnostics.
virtual SourceRange getSourceRange() const {
return getOriginExpr()->getSourceRange();
}
/// Returns the value of a given argument at the time of the call.
virtual SVal getArgSVal(unsigned Index) const;
/// Returns the expression associated with a given argument.
/// May be null if this expression does not appear in the source.
virtual const Expr *getArgExpr(unsigned Index) const { return nullptr; }
/// Returns the source range for errors associated with this argument.
///
/// May be invalid if the argument is not written in the source.
virtual SourceRange getArgSourceRange(unsigned Index) const;
/// Returns the result type, adjusted for references.
QualType getResultType() const;
/// Returns the return value of the call.
///
/// This should only be called if the CallEvent was created using a state in
/// which the return value has already been bound to the origin expression.
SVal getReturnValue() const;
/// Returns true if the type of any of the non-null arguments satisfies
/// the condition.
bool hasNonNullArgumentsWithType(bool (*Condition)(QualType)) const;
/// Returns true if any of the arguments appear to represent callbacks.
bool hasNonZeroCallbackArg() const;
/// Returns true if any of the arguments is void*.
bool hasVoidPointerToNonConstArg() const;
/// Returns true if any of the arguments are known to escape to long-
/// term storage, even if this method will not modify them.
// NOTE: The exact semantics of this are still being defined!
// We don't really want a list of hardcoded exceptions in the long run,
// but we don't want duplicated lists of known APIs in the short term either.
virtual bool argumentsMayEscape() const {
return hasNonZeroCallbackArg();
}
/// Returns true if the callee is an externally-visible function in the
/// top-level namespace, such as \c malloc.
///
/// You can use this call to determine that a particular function really is
/// a library function and not, say, a C++ member function with the same name.
///
/// If a name is provided, the function must additionally match the given
/// name.
///
/// Note that this deliberately excludes C++ library functions in the \c std
/// namespace, but will include C library functions accessed through the
/// \c std namespace. This also does not check if the function is declared
/// as 'extern "C"', or if it uses C++ name mangling.
// FIXME: Add a helper for checking namespaces.
// FIXME: Move this down to AnyFunctionCall once checkers have more
// precise callbacks.
bool isGlobalCFunction(StringRef SpecificName = StringRef()) const;
/// Returns the name of the callee, if its name is a simple identifier.
///
/// Note that this will fail for Objective-C methods, blocks, and C++
/// overloaded operators. The former is named by a Selector rather than a
/// simple identifier, and the latter two do not have names.
// FIXME: Move this down to AnyFunctionCall once checkers have more
// precise callbacks.
const IdentifierInfo *getCalleeIdentifier() const {
const auto *ND = dyn_cast_or_null<NamedDecl>(getDecl());
if (!ND)
return nullptr;
return ND->getIdentifier();
}
/// Returns an appropriate ProgramPoint for this call.
ProgramPoint getProgramPoint(bool IsPreVisit = false,
const ProgramPointTag *Tag = nullptr) const;
/// Returns a new state with all argument regions invalidated.
///
/// This accepts an alternate state in case some processing has already
/// occurred.
ProgramStateRef invalidateRegions(unsigned BlockCount,
ProgramStateRef Orig = nullptr) const;
using FrameBindingTy = std::pair<SVal, SVal>;
using BindingsTy = SmallVectorImpl<FrameBindingTy>;
/// Populates the given SmallVector with the bindings in the callee's stack
/// frame at the start of this call.
virtual void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
BindingsTy &Bindings) const = 0;
/// Returns a copy of this CallEvent, but using the given state.
template <typename T>
CallEventRef<T> cloneWithState(ProgramStateRef NewState) const;
/// Returns a copy of this CallEvent, but using the given state.
CallEventRef<> cloneWithState(ProgramStateRef NewState) const {
return cloneWithState<CallEvent>(NewState);
}
/// Returns true if this is a statement is a function or method call
/// of some kind.
static bool isCallStmt(const Stmt *S);
/// Returns the result type of a function or method declaration.
///
/// This will return a null QualType if the result type cannot be determined.
static QualType getDeclaredResultType(const Decl *D);
/// Returns true if the given decl is known to be variadic.
///
/// \p D must not be null.
static bool isVariadic(const Decl *D);
/// Returns AnalysisDeclContext for the callee stack frame.
/// Currently may fail; returns null on failure.
AnalysisDeclContext *getCalleeAnalysisDeclContext() const;
/// Returns the callee stack frame. That stack frame will only be entered
/// during analysis if the call is inlined, but it may still be useful
/// in intermediate calculations even if the call isn't inlined.
/// May fail; returns null on failure.
const StackFrameContext *getCalleeStackFrame(unsigned BlockCount) const;
/// Returns memory location for a parameter variable within the callee stack
/// frame. The behavior is undefined if the block count is different from the
/// one that is there when call happens. May fail; returns null on failure.
const ParamVarRegion *getParameterLocation(unsigned Index,
unsigned BlockCount) const;
/// Returns true if on the current path, the argument was constructed by
/// calling a C++ constructor over it. This is an internal detail of the
/// analysis which doesn't necessarily represent the program semantics:
/// if we are supposed to construct an argument directly, we may still
/// not do that because we don't know how (i.e., construction context is
/// unavailable in the CFG or not supported by the analyzer).
bool isArgumentConstructedDirectly(unsigned Index) const {
// This assumes that the object was not yet removed from the state.
return ExprEngine::getObjectUnderConstruction(
getState(), {getOriginExpr(), Index}, getLocationContext()).hasValue();
}
/// Some calls have parameter numbering mismatched from argument numbering.
/// This function converts an argument index to the corresponding
/// parameter index. Returns None is the argument doesn't correspond
/// to any parameter variable.
virtual Optional<unsigned>
getAdjustedParameterIndex(unsigned ASTArgumentIndex) const {
return ASTArgumentIndex;
}
/// Some call event sub-classes conveniently adjust mismatching AST indices
/// to match parameter indices. This function converts an argument index
/// as understood by CallEvent to the argument index as understood by the AST.
virtual unsigned getASTArgumentIndex(unsigned CallArgumentIndex) const {
return CallArgumentIndex;
}
/// Returns the construction context of the call, if it is a C++ constructor
/// call or a call of a function returning a C++ class instance. Otherwise
/// return nullptr.
const ConstructionContext *getConstructionContext() const;
/// If the call returns a C++ record type then the region of its return value
/// can be retrieved from its construction context.
Optional<SVal> getReturnValueUnderConstruction() const;
// Iterator access to formal parameters and their types.
private:
struct GetTypeFn {
QualType operator()(ParmVarDecl *PD) const { return PD->getType(); }
};
public:
/// Return call's formal parameters.
///
/// Remember that the number of formal parameters may not match the number
/// of arguments for all calls. However, the first parameter will always
/// correspond with the argument value returned by \c getArgSVal(0).
virtual ArrayRef<ParmVarDecl *> parameters() const = 0;
using param_type_iterator =
llvm::mapped_iterator<ArrayRef<ParmVarDecl *>::iterator, GetTypeFn>;
/// Returns an iterator over the types of the call's formal parameters.
///
/// This uses the callee decl found by default name lookup rather than the
/// definition because it represents a public interface, and probably has
/// more annotations.
param_type_iterator param_type_begin() const {
return llvm::map_iterator(parameters().begin(), GetTypeFn());
}
/// \sa param_type_begin()
param_type_iterator param_type_end() const {
return llvm::map_iterator(parameters().end(), GetTypeFn());
}
// For debugging purposes only
void dump(raw_ostream &Out) const;
void dump() const;
};
/// Represents a call to any sort of function that might have a
/// FunctionDecl.
class AnyFunctionCall : public CallEvent {
protected:
AnyFunctionCall(const Expr *E, ProgramStateRef St,
const LocationContext *LCtx)
: CallEvent(E, St, LCtx) {}
AnyFunctionCall(const Decl *D, ProgramStateRef St,
const LocationContext *LCtx)
: CallEvent(D, St, LCtx) {}
AnyFunctionCall(const AnyFunctionCall &Other) = default;
public:
// This function is overridden by subclasses, but they must return
// a FunctionDecl.
const FunctionDecl *getDecl() const override {
return cast<FunctionDecl>(CallEvent::getDecl());
}
RuntimeDefinition getRuntimeDefinition() const override;
bool argumentsMayEscape() const override;
void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
BindingsTy &Bindings) const override;
ArrayRef<ParmVarDecl *> parameters() const override;
static bool classof(const CallEvent *CA) {
return CA->getKind() >= CE_BEG_FUNCTION_CALLS &&
CA->getKind() <= CE_END_FUNCTION_CALLS;
}
};
/// Represents a C function or static C++ member function call.
///
/// Example: \c fun()
class SimpleFunctionCall : public AnyFunctionCall {
friend class CallEventManager;
protected:
SimpleFunctionCall(const CallExpr *CE, ProgramStateRef St,
const LocationContext *LCtx)
: AnyFunctionCall(CE, St, LCtx) {}
SimpleFunctionCall(const SimpleFunctionCall &Other) = default;
void cloneTo(void *Dest) const override {
new (Dest) SimpleFunctionCall(*this);
}
public:
virtual const CallExpr *getOriginExpr() const {
return cast<CallExpr>(AnyFunctionCall::getOriginExpr());
}
const FunctionDecl *getDecl() const override;
unsigned getNumArgs() const override { return getOriginExpr()->getNumArgs(); }
const Expr *getArgExpr(unsigned Index) const override {
return getOriginExpr()->getArg(Index);
}
Kind getKind() const override { return CE_Function; }
virtual StringRef getKindAsString() const override {
return "SimpleFunctionCall";
}
static bool classof(const CallEvent *CA) {
return CA->getKind() == CE_Function;
}
};
/// Represents a call to a block.
///
/// Example: <tt>^{ statement-body }()</tt>
class BlockCall : public CallEvent {
friend class CallEventManager;
protected:
BlockCall(const CallExpr *CE, ProgramStateRef St,
const LocationContext *LCtx)
: CallEvent(CE, St, LCtx) {}
BlockCall(const BlockCall &Other) = default;
void cloneTo(void *Dest) const override { new (Dest) BlockCall(*this); }
void getExtraInvalidatedValues(ValueList &Values,
RegionAndSymbolInvalidationTraits *ETraits) const override;
public:
virtual const CallExpr *getOriginExpr() const {
return cast<CallExpr>(CallEvent::getOriginExpr());
}
unsigned getNumArgs() const override { return getOriginExpr()->getNumArgs(); }
const Expr *getArgExpr(unsigned Index) const override {
return getOriginExpr()->getArg(Index);
}
/// Returns the region associated with this instance of the block.
///
/// This may be NULL if the block's origin is unknown.
const BlockDataRegion *getBlockRegion() const;
const BlockDecl *getDecl() const override {
const BlockDataRegion *BR = getBlockRegion();
if (!BR)
return nullptr;
return BR->getDecl();
}
bool isConversionFromLambda() const {
const BlockDecl *BD = getDecl();
if (!BD)
return false;
return BD->isConversionFromLambda();
}
/// For a block converted from a C++ lambda, returns the block
/// VarRegion for the variable holding the captured C++ lambda record.
const VarRegion *getRegionStoringCapturedLambda() const {
assert(isConversionFromLambda());
const BlockDataRegion *BR = getBlockRegion();
assert(BR && "Block converted from lambda must have a block region");
auto I = BR->referenced_vars_begin();
assert(I != BR->referenced_vars_end());
return I.getCapturedRegion();
}
RuntimeDefinition getRuntimeDefinition() const override {
if (!isConversionFromLambda())
return RuntimeDefinition(getDecl());
// Clang converts lambdas to blocks with an implicit user-defined
// conversion operator method on the lambda record that looks (roughly)
// like:
//
// typedef R(^block_type)(P1, P2, ...);
// operator block_type() const {
// auto Lambda = *this;
// return ^(P1 p1, P2 p2, ...){
// /* return Lambda(p1, p2, ...); */
// };
// }
//
// Here R is the return type of the lambda and P1, P2, ... are
// its parameter types. 'Lambda' is a fake VarDecl captured by the block
// that is initialized to a copy of the lambda.
//
// Sema leaves the body of a lambda-converted block empty (it is
// produced by CodeGen), so we can't analyze it directly. Instead, we skip
// the block body and analyze the operator() method on the captured lambda.
const VarDecl *LambdaVD = getRegionStoringCapturedLambda()->getDecl();
const CXXRecordDecl *LambdaDecl = LambdaVD->getType()->getAsCXXRecordDecl();
CXXMethodDecl* LambdaCallOperator = LambdaDecl->getLambdaCallOperator();
return RuntimeDefinition(LambdaCallOperator);
}
bool argumentsMayEscape() const override {
return true;
}
void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
BindingsTy &Bindings) const override;
ArrayRef<ParmVarDecl *> parameters() const override;
Kind getKind() const override { return CE_Block; }
virtual StringRef getKindAsString() const override { return "BlockCall"; }
static bool classof(const CallEvent *CA) { return CA->getKind() == CE_Block; }
};
/// Represents a non-static C++ member function call, no matter how
/// it is written.
class CXXInstanceCall : public AnyFunctionCall {
protected:
CXXInstanceCall(const CallExpr *CE, ProgramStateRef St,
const LocationContext *LCtx)
: AnyFunctionCall(CE, St, LCtx) {}
CXXInstanceCall(const FunctionDecl *D, ProgramStateRef St,
const LocationContext *LCtx)
: AnyFunctionCall(D, St, LCtx) {}
CXXInstanceCall(const CXXInstanceCall &Other) = default;
void getExtraInvalidatedValues(ValueList &Values,
RegionAndSymbolInvalidationTraits *ETraits) const override;
public:
/// Returns the expression representing the implicit 'this' object.
virtual const Expr *getCXXThisExpr() const { return nullptr; }
/// Returns the value of the implicit 'this' object.
virtual SVal getCXXThisVal() const;
const FunctionDecl *getDecl() const override;
RuntimeDefinition getRuntimeDefinition() const override;
void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
BindingsTy &Bindings) const override;
static bool classof(const CallEvent *CA) {
return CA->getKind() >= CE_BEG_CXX_INSTANCE_CALLS &&
CA->getKind() <= CE_END_CXX_INSTANCE_CALLS;
}
};
/// Represents a non-static C++ member function call.
///
/// Example: \c obj.fun()
class CXXMemberCall : public CXXInstanceCall {
friend class CallEventManager;
protected:
CXXMemberCall(const CXXMemberCallExpr *CE, ProgramStateRef St,
const LocationContext *LCtx)
: CXXInstanceCall(CE, St, LCtx) {}
CXXMemberCall(const CXXMemberCall &Other) = default;
void cloneTo(void *Dest) const override { new (Dest) CXXMemberCall(*this); }
public:
virtual const CXXMemberCallExpr *getOriginExpr() const {
return cast<CXXMemberCallExpr>(CXXInstanceCall::getOriginExpr());
}
unsigned getNumArgs() const override {
if (const CallExpr *CE = getOriginExpr())
return CE->getNumArgs();
return 0;
}
const Expr *getArgExpr(unsigned Index) const override {
return getOriginExpr()->getArg(Index);
}
const Expr *getCXXThisExpr() const override;
RuntimeDefinition getRuntimeDefinition() const override;
Kind getKind() const override { return CE_CXXMember; }
virtual StringRef getKindAsString() const override { return "CXXMemberCall"; }
static bool classof(const CallEvent *CA) {
return CA->getKind() == CE_CXXMember;
}
};
/// Represents a C++ overloaded operator call where the operator is
/// implemented as a non-static member function.
///
/// Example: <tt>iter + 1</tt>
class CXXMemberOperatorCall : public CXXInstanceCall {
friend class CallEventManager;
protected:
CXXMemberOperatorCall(const CXXOperatorCallExpr *CE, ProgramStateRef St,
const LocationContext *LCtx)
: CXXInstanceCall(CE, St, LCtx) {}
CXXMemberOperatorCall(const CXXMemberOperatorCall &Other) = default;
void cloneTo(void *Dest) const override {
new (Dest) CXXMemberOperatorCall(*this);
}
public:
virtual const CXXOperatorCallExpr *getOriginExpr() const {
return cast<CXXOperatorCallExpr>(CXXInstanceCall::getOriginExpr());
}
unsigned getNumArgs() const override {
return getOriginExpr()->getNumArgs() - 1;
}
const Expr *getArgExpr(unsigned Index) const override {
return getOriginExpr()->getArg(Index + 1);
}
const Expr *getCXXThisExpr() const override;
Kind getKind() const override { return CE_CXXMemberOperator; }
virtual StringRef getKindAsString() const override {
return "CXXMemberOperatorCall";
}
static bool classof(const CallEvent *CA) {
return CA->getKind() == CE_CXXMemberOperator;
}
Optional<unsigned>
getAdjustedParameterIndex(unsigned ASTArgumentIndex) const override {
// For member operator calls argument 0 on the expression corresponds
// to implicit this-parameter on the declaration.
return (ASTArgumentIndex > 0) ? Optional<unsigned>(ASTArgumentIndex - 1)
: None;
}
unsigned getASTArgumentIndex(unsigned CallArgumentIndex) const override {
// For member operator calls argument 0 on the expression corresponds
// to implicit this-parameter on the declaration.
return CallArgumentIndex + 1;
}
OverloadedOperatorKind getOverloadedOperator() const {
return getOriginExpr()->getOperator();
}
};
/// Represents an implicit call to a C++ destructor.
///
/// This can occur at the end of a scope (for automatic objects), at the end
/// of a full-expression (for temporaries), or as part of a delete.
class CXXDestructorCall : public CXXInstanceCall {
friend class CallEventManager;
protected:
using DtorDataTy = llvm::PointerIntPair<const MemRegion *, 1, bool>;
/// Creates an implicit destructor.
///
/// \param DD The destructor that will be called.
/// \param Trigger The statement whose completion causes this destructor call.
/// \param Target The object region to be destructed.
/// \param St The path-sensitive state at this point in the program.
/// \param LCtx The location context at this point in the program.
CXXDestructorCall(const CXXDestructorDecl *DD, const Stmt *Trigger,
const MemRegion *Target, bool IsBaseDestructor,
ProgramStateRef St, const LocationContext *LCtx)
: CXXInstanceCall(DD, St, LCtx) {
Data = DtorDataTy(Target, IsBaseDestructor).getOpaqueValue();
Location = Trigger->getEndLoc();
}
CXXDestructorCall(const CXXDestructorCall &Other) = default;
void cloneTo(void *Dest) const override {new (Dest) CXXDestructorCall(*this);}
public:
SourceRange getSourceRange() const override { return Location; }
unsigned getNumArgs() const override { return 0; }
RuntimeDefinition getRuntimeDefinition() const override;
/// Returns the value of the implicit 'this' object.
SVal getCXXThisVal() const override;
/// Returns true if this is a call to a base class destructor.
bool isBaseDestructor() const {
return DtorDataTy::getFromOpaqueValue(Data).getInt();
}
Kind getKind() const override { return CE_CXXDestructor; }
virtual StringRef getKindAsString() const override {
return "CXXDestructorCall";
}
static bool classof(const CallEvent *CA) {
return CA->getKind() == CE_CXXDestructor;
}
};
/// Represents any constructor invocation. This includes regular constructors
/// and inherited constructors.
class AnyCXXConstructorCall : public AnyFunctionCall {
protected:
AnyCXXConstructorCall(const Expr *E, const MemRegion *Target,
ProgramStateRef St, const LocationContext *LCtx)
: AnyFunctionCall(E, St, LCtx) {
assert(E && (isa<CXXConstructExpr>(E) || isa<CXXInheritedCtorInitExpr>(E)));
// Target may be null when the region is unknown.
Data = Target;
}
void getExtraInvalidatedValues(ValueList &Values,
RegionAndSymbolInvalidationTraits *ETraits) const override;
void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
BindingsTy &Bindings) const override;
public:
/// Returns the value of the implicit 'this' object.
SVal getCXXThisVal() const;
static bool classof(const CallEvent *Call) {
return Call->getKind() >= CE_BEG_CXX_CONSTRUCTOR_CALLS &&
Call->getKind() <= CE_END_CXX_CONSTRUCTOR_CALLS;
}
};
/// Represents a call to a C++ constructor.
///
/// Example: \c T(1)
class CXXConstructorCall : public AnyCXXConstructorCall {
friend class CallEventManager;
protected:
/// Creates a constructor call.
///
/// \param CE The constructor expression as written in the source.
/// \param Target The region where the object should be constructed. If NULL,
/// a new symbolic region will be used.
/// \param St The path-sensitive state at this point in the program.
/// \param LCtx The location context at this point in the program.
CXXConstructorCall(const CXXConstructExpr *CE, const MemRegion *Target,
ProgramStateRef St, const LocationContext *LCtx)
: AnyCXXConstructorCall(CE, Target, St, LCtx) {}
CXXConstructorCall(const CXXConstructorCall &Other) = default;
void cloneTo(void *Dest) const override { new (Dest) CXXConstructorCall(*this); }
public:
virtual const CXXConstructExpr *getOriginExpr() const {
return cast<CXXConstructExpr>(AnyFunctionCall::getOriginExpr());
}
const CXXConstructorDecl *getDecl() const override {
return getOriginExpr()->getConstructor();
}
unsigned getNumArgs() const override { return getOriginExpr()->getNumArgs(); }
const Expr *getArgExpr(unsigned Index) const override {
return getOriginExpr()->getArg(Index);
}
Kind getKind() const override { return CE_CXXConstructor; }
virtual StringRef getKindAsString() const override {
return "CXXConstructorCall";
}
static bool classof(const CallEvent *CA) {
return CA->getKind() == CE_CXXConstructor;
}
};
/// Represents a call to a C++ inherited constructor.
///
/// Example: \c class T : public S { using S::S; }; T(1);
///
// Note, it is difficult to model the parameters. This is one of the reasons
// why we skip analysis of inheriting constructors as top-level functions.
// CXXInheritedCtorInitExpr doesn't take arguments and doesn't model parameter
// initialization because there is none: the arguments in the outer
// CXXConstructExpr directly initialize the parameters of the base class
// constructor, and no copies are made. (Making a copy of the parameter is
// incorrect, at least if it's done in an observable way.) The derived class
// constructor doesn't even exist in the formal model.
/// E.g., in:
///
/// struct X { X *p = this; ~X() {} };
/// struct A { A(X x) : b(x.p == &x) {} bool b; };
/// struct B : A { using A::A; };
/// B b = X{};
///
/// ... b.b is initialized to true.
class CXXInheritedConstructorCall : public AnyCXXConstructorCall {
friend class CallEventManager;
protected:
CXXInheritedConstructorCall(const CXXInheritedCtorInitExpr *CE,
const MemRegion *Target, ProgramStateRef St,
const LocationContext *LCtx)
: AnyCXXConstructorCall(CE, Target, St, LCtx) {}
CXXInheritedConstructorCall(const CXXInheritedConstructorCall &Other) =
default;
void cloneTo(void *Dest) const override {
new (Dest) CXXInheritedConstructorCall(*this);
}
public:
virtual const CXXInheritedCtorInitExpr *getOriginExpr() const {
return cast<CXXInheritedCtorInitExpr>(AnyFunctionCall::getOriginExpr());
}
const CXXConstructorDecl *getDecl() const override {
return getOriginExpr()->getConstructor();
}
/// Obtain the stack frame of the inheriting constructor. Argument expressions
/// can be found on the call site of that stack frame.
const StackFrameContext *getInheritingStackFrame() const;
/// Obtain the CXXConstructExpr for the sub-class that inherited the current
/// constructor (possibly indirectly). It's the statement that contains
/// argument expressions.
const CXXConstructExpr *getInheritingConstructor() const {
return cast<CXXConstructExpr>(getInheritingStackFrame()->getCallSite());
}
unsigned getNumArgs() const override {
return getInheritingConstructor()->getNumArgs();
}
const Expr *getArgExpr(unsigned Index) const override {
return getInheritingConstructor()->getArg(Index);
}
virtual SVal getArgSVal(unsigned Index) const override {
return getState()->getSVal(
getArgExpr(Index),
getInheritingStackFrame()->getParent()->getStackFrame());
}
Kind getKind() const override { return CE_CXXInheritedConstructor; }
virtual StringRef getKindAsString() const override {
return "CXXInheritedConstructorCall";
}
static bool classof(const CallEvent *CA) {
return CA->getKind() == CE_CXXInheritedConstructor;
}
};
/// Represents the memory allocation call in a C++ new-expression.
///
/// This is a call to "operator new".
class CXXAllocatorCall : public AnyFunctionCall {
friend class CallEventManager;
protected:
CXXAllocatorCall(const CXXNewExpr *E, ProgramStateRef St,
const LocationContext *LCtx)
: AnyFunctionCall(E, St, LCtx) {}
CXXAllocatorCall(const CXXAllocatorCall &Other) = default;
void cloneTo(void *Dest) const override { new (Dest) CXXAllocatorCall(*this); }
public:
virtual const CXXNewExpr *getOriginExpr() const {
return cast<CXXNewExpr>(AnyFunctionCall::getOriginExpr());
}
const FunctionDecl *getDecl() const override {
return getOriginExpr()->getOperatorNew();
}
SVal getObjectUnderConstruction() const {
return ExprEngine::getObjectUnderConstruction(getState(), getOriginExpr(),
getLocationContext())
.getValue();
}
/// Number of non-placement arguments to the call. It is equal to 2 for
/// C++17 aligned operator new() calls that have alignment implicitly
/// passed as the second argument, and to 1 for other operator new() calls.
unsigned getNumImplicitArgs() const {
return getOriginExpr()->passAlignment() ? 2 : 1;
}
unsigned getNumArgs() const override {
return getOriginExpr()->getNumPlacementArgs() + getNumImplicitArgs();
}
const Expr *getArgExpr(unsigned Index) const override {
// The first argument of an allocator call is the size of the allocation.
if (Index < getNumImplicitArgs())
return nullptr;
return getOriginExpr()->getPlacementArg(Index - getNumImplicitArgs());
}
/// Number of placement arguments to the operator new() call. For example,
/// standard std::nothrow operator new and standard placement new both have
/// 1 implicit argument (size) and 1 placement argument, while regular
/// operator new() has 1 implicit argument and 0 placement arguments.
const Expr *getPlacementArgExpr(unsigned Index) const {
return getOriginExpr()->getPlacementArg(Index);
}
Kind getKind() const override { return CE_CXXAllocator; }
virtual StringRef getKindAsString() const override {
return "CXXAllocatorCall";
}
static bool classof(const CallEvent *CE) {
return CE->getKind() == CE_CXXAllocator;
}
};
/// Represents the memory deallocation call in a C++ delete-expression.
///
/// This is a call to "operator delete".
// FIXME: CXXDeleteExpr isn't present for custom delete operators, or even for
// some those that are in the standard library, like the no-throw or align_val
// versions.
// Some pointers:
// http://lists.llvm.org/pipermail/cfe-dev/2020-April/065080.html
// clang/test/Analysis/cxx-dynamic-memory-analysis-order.cpp
// clang/unittests/StaticAnalyzer/CallEventTest.cpp
class CXXDeallocatorCall : public AnyFunctionCall {
friend class CallEventManager;
protected:
CXXDeallocatorCall(const CXXDeleteExpr *E, ProgramStateRef St,
const LocationContext *LCtx)
: AnyFunctionCall(E, St, LCtx) {}
CXXDeallocatorCall(const CXXDeallocatorCall &Other) = default;
void cloneTo(void *Dest) const override {
new (Dest) CXXDeallocatorCall(*this);
}
public:
virtual const CXXDeleteExpr *getOriginExpr() const {
return cast<CXXDeleteExpr>(AnyFunctionCall::getOriginExpr());
}
const FunctionDecl *getDecl() const override {
return getOriginExpr()->getOperatorDelete();
}
unsigned getNumArgs() const override { return getDecl()->getNumParams(); }
const Expr *getArgExpr(unsigned Index) const override {
// CXXDeleteExpr's only have a single argument.
return getOriginExpr()->getArgument();
}
Kind getKind() const override { return CE_CXXDeallocator; }
virtual StringRef getKindAsString() const override {
return "CXXDeallocatorCall";
}
static bool classof(const CallEvent *CE) {
return CE->getKind() == CE_CXXDeallocator;
}
};
/// Represents the ways an Objective-C message send can occur.
//
// Note to maintainers: OCM_Message should always be last, since it does not
// need to fit in the Data field's low bits.
enum ObjCMessageKind {
OCM_PropertyAccess,
OCM_Subscript,
OCM_Message
};
/// Represents any expression that calls an Objective-C method.
///
/// This includes all of the kinds listed in ObjCMessageKind.
// class ObjCMethodCall : public CallEvent {
// friend class CallEventManager;
// const PseudoObjectExpr *getContainingPseudoObjectExpr() const;
// protected:
// ObjCMethodCall(const ObjCMessageExpr *Msg, ProgramStateRef St,
// const LocationContext *LCtx)
// : CallEvent(Msg, St, LCtx) {
// Data = nullptr;
// }
// ObjCMethodCall(const ObjCMethodCall &Other) = default;
// void cloneTo(void *Dest) const override { new (Dest) ObjCMethodCall(*this); }
// void getExtraInvalidatedValues(ValueList &Values,
// RegionAndSymbolInvalidationTraits *ETraits) const override;
// /// Check if the selector may have multiple definitions (may have overrides).
// virtual bool canBeOverridenInSubclass(ObjCInterfaceDecl *IDecl,
// Selector Sel) const;
// public:
// virtual const ObjCMessageExpr *getOriginExpr() const {
// return cast<ObjCMessageExpr>(CallEvent::getOriginExpr());
// }
// const ObjCMethodDecl *getDecl() const override {
// return getOriginExpr()->getMethodDecl();
// }
// unsigned getNumArgs() const override {
// return getOriginExpr()->getNumArgs();
// }
// const Expr *getArgExpr(unsigned Index) const override {
// return getOriginExpr()->getArg(Index);
// }
// bool isInstanceMessage() const {
// return getOriginExpr()->isInstanceMessage();
// }
// ObjCMethodFamily getMethodFamily() const {
// return getOriginExpr()->getMethodFamily();
// }
// Selector getSelector() const {
// return getOriginExpr()->getSelector();
// }
// SourceRange getSourceRange() const override;
// /// Returns the value of the receiver at the time of this call.
// SVal getReceiverSVal() const;
// /// Get the interface for the receiver.
// ///
// /// This works whether this is an instance message or a class message.
// /// However, it currently just uses the static type of the receiver.
// const ObjCInterfaceDecl *getReceiverInterface() const {
// return getOriginExpr()->getReceiverInterface();
// }
// /// Checks if the receiver refers to 'self' or 'super'.
// bool isReceiverSelfOrSuper() const;
// /// Returns how the message was written in the source (property access,
// /// subscript, or explicit message send).
// ObjCMessageKind getMessageKind() const;
// /// Returns true if this property access or subscript is a setter (has the
// /// form of an assignment).
// bool isSetter() const {
// switch (getMessageKind()) {
// case OCM_Message:
// llvm_unreachable("This is not a pseudo-object access!");
// case OCM_PropertyAccess:
// return getNumArgs() > 0;
// case OCM_Subscript:
// return getNumArgs() > 1;
// }
// llvm_unreachable("Unknown message kind");
// }
// // Returns the property accessed by this method, either explicitly via
// // property syntax or implicitly via a getter or setter method. Returns
// // nullptr if the call is not a prooperty access.
// // const ObjCPropertyDecl *getAccessedProperty() const;
// RuntimeDefinition getRuntimeDefinition() const override;
// bool argumentsMayEscape() const override;
// void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
// BindingsTy &Bindings) const override;
// ArrayRef<ParmVarDecl*> parameters() const override;
// Kind getKind() const override { return CE_ObjCMessage; }
// virtual StringRef getKindAsString() const override {
// return "ObjCMethodCall";
// }
// static bool classof(const CallEvent *CA) {
// return CA->getKind() == CE_ObjCMessage;
// }
// };
enum CallDescriptionFlags : int {
/// Describes a C standard function that is sometimes implemented as a macro
/// that expands to a compiler builtin with some __builtin prefix.
/// The builtin may as well have a few extra arguments on top of the requested
/// number of arguments.
CDF_MaybeBuiltin = 1 << 0,
};
/// This class represents a description of a function call using the number of
/// arguments and the name of the function.
class CallDescription {
friend CallEvent;
mutable IdentifierInfo *II = nullptr;
mutable bool IsLookupDone = false;
// The list of the qualified names used to identify the specified CallEvent,
// e.g. "{a, b}" represent the qualified names, like "a::b".
std::vector<const char *> QualifiedName;
Optional<unsigned> RequiredArgs;
Optional<size_t> RequiredParams;
int Flags;
// A constructor helper.
static Optional<size_t> readRequiredParams(Optional<unsigned> RequiredArgs,
Optional<size_t> RequiredParams) {
if (RequiredParams)
return RequiredParams;
if (RequiredArgs)
return static_cast<size_t>(*RequiredArgs);
return None;
}
public:
/// Constructs a CallDescription object.
///
/// @param QualifiedName The list of the name qualifiers of the function that
/// will be matched. The user is allowed to skip any of the qualifiers.
/// For example, {"std", "basic_string", "c_str"} would match both
/// std::basic_string<...>::c_str() and std::__1::basic_string<...>::c_str().
///
/// @param RequiredArgs The number of arguments that is expected to match a
/// call. Omit this parameter to match every occurrence of call with a given
/// name regardless the number of arguments.
CallDescription(int Flags, ArrayRef<const char *> QualifiedName,
Optional<unsigned> RequiredArgs = None,
Optional<size_t> RequiredParams = None)
: QualifiedName(QualifiedName), RequiredArgs(RequiredArgs),
RequiredParams(readRequiredParams(RequiredArgs, RequiredParams)),
Flags(Flags) {}
/// Construct a CallDescription with default flags.
CallDescription(ArrayRef<const char *> QualifiedName,
Optional<unsigned> RequiredArgs = None,
Optional<size_t> RequiredParams = None)
: CallDescription(0, QualifiedName, RequiredArgs, RequiredParams) {}
/// Get the name of the function that this object matches.
StringRef getFunctionName() const { return QualifiedName.back(); }
};
/// An immutable map from CallDescriptions to arbitrary data. Provides a unified
/// way for checkers to react on function calls.
template <typename T> class CallDescriptionMap {
// Some call descriptions aren't easily hashable (eg., the ones with qualified
// names in which some sections are omitted), so let's put them
// in a simple vector and use linear lookup.
// TODO: Implement an actual map for fast lookup for "hashable" call
// descriptions (eg., the ones for C functions that just match the name).
std::vector<std::pair<CallDescription, T>> LinearMap;
public:
CallDescriptionMap(
std::initializer_list<std::pair<CallDescription, T>> &&List)
: LinearMap(List) {}
~CallDescriptionMap() = default;
// These maps are usually stored once per checker, so let's make sure
// we don't do redundant copies.
CallDescriptionMap(const CallDescriptionMap &) = delete;
CallDescriptionMap &operator=(const CallDescription &) = delete;
const T *lookup(const CallEvent &Call) const {
// Slow path: linear lookup.
// TODO: Implement some sort of fast path.
for (const std::pair<CallDescription, T> &I : LinearMap)
if (Call.isCalled(I.first))
return &I.second;
return nullptr;
}
};
/// Manages the lifetime of CallEvent objects.
///
/// CallEventManager provides a way to create arbitrary CallEvents "on the
/// stack" as if they were value objects by keeping a cache of CallEvent-sized
/// memory blocks. The CallEvents created by CallEventManager are only valid
/// for the lifetime of the OwnedCallEvent that holds them; right now these
/// objects cannot be copied and ownership cannot be transferred.
class CallEventManager {
friend class CallEvent;
llvm::BumpPtrAllocator &Alloc;
SmallVector<void *, 8> Cache;
using CallEventTemplateTy = SimpleFunctionCall;
void reclaim(const void *Memory) {
Cache.push_back(const_cast<void *>(Memory));
}
/// Returns memory that can be initialized as a CallEvent.
void *allocate() {
if (Cache.empty())
return Alloc.Allocate<CallEventTemplateTy>();
else
return Cache.pop_back_val();
}
template <typename T, typename Arg>
T *create(Arg A, ProgramStateRef St, const LocationContext *LCtx) {
static_assert(sizeof(T) == sizeof(CallEventTemplateTy),
"CallEvent subclasses are not all the same size");
return new (allocate()) T(A, St, LCtx);
}
template <typename T, typename Arg1, typename Arg2>
T *create(Arg1 A1, Arg2 A2, ProgramStateRef St, const LocationContext *LCtx) {
static_assert(sizeof(T) == sizeof(CallEventTemplateTy),
"CallEvent subclasses are not all the same size");
return new (allocate()) T(A1, A2, St, LCtx);
}
template <typename T, typename Arg1, typename Arg2, typename Arg3>
T *create(Arg1 A1, Arg2 A2, Arg3 A3, ProgramStateRef St,
const LocationContext *LCtx) {
static_assert(sizeof(T) == sizeof(CallEventTemplateTy),
"CallEvent subclasses are not all the same size");
return new (allocate()) T(A1, A2, A3, St, LCtx);
}
template <typename T, typename Arg1, typename Arg2, typename Arg3,
typename Arg4>
T *create(Arg1 A1, Arg2 A2, Arg3 A3, Arg4 A4, ProgramStateRef St,
const LocationContext *LCtx) {
static_assert(sizeof(T) == sizeof(CallEventTemplateTy),
"CallEvent subclasses are not all the same size");
return new (allocate()) T(A1, A2, A3, A4, St, LCtx);
}
public:
CallEventManager(llvm::BumpPtrAllocator &alloc) : Alloc(alloc) {}
/// Gets an outside caller given a callee context.
CallEventRef<>
getCaller(const StackFrameContext *CalleeCtx, ProgramStateRef State);
/// Gets a call event for a function call, Objective-C method call,
/// or a 'new' call.
CallEventRef<>
getCall(const Stmt *S, ProgramStateRef State,
const LocationContext *LC);
CallEventRef<>
getSimpleCall(const CallExpr *E, ProgramStateRef State,
const LocationContext *LCtx);
// CallEventRef<ObjCMethodCall>
// getObjCMethodCall(const ObjCMessageExpr *E, ProgramStateRef State,
// const LocationContext *LCtx) {
// return create<ObjCMethodCall>(E, State, LCtx);
// }
CallEventRef<CXXConstructorCall>
getCXXConstructorCall(const CXXConstructExpr *E, const MemRegion *Target,
ProgramStateRef State, const LocationContext *LCtx) {
return create<CXXConstructorCall>(E, Target, State, LCtx);
}
CallEventRef<CXXInheritedConstructorCall>
getCXXInheritedConstructorCall(const CXXInheritedCtorInitExpr *E,
const MemRegion *Target, ProgramStateRef State,
const LocationContext *LCtx) {
return create<CXXInheritedConstructorCall>(E, Target, State, LCtx);
}
CallEventRef<CXXDestructorCall>
getCXXDestructorCall(const CXXDestructorDecl *DD, const Stmt *Trigger,
const MemRegion *Target, bool IsBase,
ProgramStateRef State, const LocationContext *LCtx) {
return create<CXXDestructorCall>(DD, Trigger, Target, IsBase, State, LCtx);
}
CallEventRef<CXXAllocatorCall>
getCXXAllocatorCall(const CXXNewExpr *E, ProgramStateRef State,
const LocationContext *LCtx) {
return create<CXXAllocatorCall>(E, State, LCtx);
}
CallEventRef<CXXDeallocatorCall>
getCXXDeallocatorCall(const CXXDeleteExpr *E, ProgramStateRef State,
const LocationContext *LCtx) {
return create<CXXDeallocatorCall>(E, State, LCtx);
}
};
template <typename T>
CallEventRef<T> CallEvent::cloneWithState(ProgramStateRef NewState) const {
assert(isa<T>(*this) && "Cloning to unrelated type");
static_assert(sizeof(T) == sizeof(CallEvent),
"Subclasses may not add fields");
if (NewState == State)
return cast<T>(this);
CallEventManager &Mgr = State->getStateManager().getCallEventManager();
T *Copy = static_cast<T *>(Mgr.allocate());
cloneTo(Copy);
assert(Copy->getKind() == this->getKind() && "Bad copy");
Copy->State = NewState;
return Copy;
}
inline void CallEvent::Release() const {
assert(RefCount > 0 && "Reference count is already zero.");
--RefCount;
if (RefCount > 0)
return;
CallEventManager &Mgr = State->getStateManager().getCallEventManager();
Mgr.reclaim(this);
this->~CallEvent();
}
} // namespace ento
} // namespace latino
namespace llvm {
// Support isa<>, cast<>, and dyn_cast<> for CallEventRef.
template<class T> struct simplify_type< latino::ento::CallEventRef<T>> {
using SimpleType = const T *;
static SimpleType
getSimplifiedValue(latino::ento::CallEventRef<T> Val) {
return Val.get();
}
};
} // namespace llvm
#endif // LLVM_LATINO_STATICANALYZER_CORE_PATHSENSITIVE_CALLEVENT_H
| [
"[email protected]"
] | |
21515d83613bcd270b7cd361362b1ffb02114552 | d4014d7b7555afb29806827c8bc036e3b20ea876 | /tests/test/wasm/test_openmp.cpp | 4261aa618f21897a11e034b86f5d839bd460cff0 | [
"Apache-2.0"
] | permissive | renzhengeek/Faasm | ff89865208e927ad5ab8cda6403c171334a69b95 | 7c3f081e21064d8dbd4664212916170ea87f76fd | refs/heads/master | 2022-04-26T18:52:39.940370 | 2020-04-24T15:47:14 | 2020-04-24T15:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,315 | cpp | #include <catch/catch.hpp>
#include "utils.h"
#include <util/func.h>
namespace tests {
// -------------------------------------------
// TODO - WASI - get commented-out functions working
// -------------------------------------------
TEST_CASE("Test static for scheduling", "[wasm]") {
cleanSystem();
message::Message msg = util::messageFactory("omp", "for_static_schedule");
execFunction(msg);
}
TEST_CASE("Test OMP header API functions", "[wasm]") {
cleanSystem();
message::Message msg = util::messageFactory("omp", "header_api_support");
execFunction(msg);
}
TEST_CASE("Test running OpenMP checks", "[wasm]") {
cleanSystem();
message::Message msg = util::messageFactory("omp", "omp_checks");
execFunction(msg);
}
TEST_CASE("Test non-nested barrier pragma", "[wasm]") {
cleanSystem();
message::Message msg = util::messageFactory("omp", "simple_barrier");
execFunction(msg);
}
TEST_CASE("Test basic omp parallel for pragma", "[wasm]") {
cleanSystem();
message::Message msg = util::messageFactory("omp", "simple_for");
execFunction(msg);
}
TEST_CASE("Test non-nested master pragma", "[wasm]") {
cleanSystem();
message::Message msg = util::messageFactory("omp", "simple_master");
execFunction(msg);
}
TEST_CASE("Test thread stack mapping", "[wasm]") {
cleanSystem();
// message::Message msg = util::messageFactory("omp", "stack_debug");
// execFunction(msg);
}
TEST_CASE("Test simple reduction function", "[wasm]") {
cleanSystem();
// message::Message msg = util::messageFactory("omp", "simple_reduce");
// execFunction(msg);
}
TEST_CASE("Test averaging with different methods (atomic RR and reduction)", "[wasm]") {
cleanSystem();
// message::Message msg = util::messageFactory("omp", "reduction_average");
// execFunction(msg);
}
TEST_CASE("Test integrating using many OpenMP constructs", "[wasm]") {
cleanSystem();
// message::Message msg = util::messageFactory("omp", "reduction_integral");
// execFunction(msg);
}
TEST_CASE("Test critical section", "[wasm]") {
cleanSystem();
// message::Message msg = util::messageFactory("omp", "simple_critical");
// execFunction(msg);
}
TEST_CASE("Test custom reduction function", "[wasm]") {
cleanSystem();
// message::Message msg = util::messageFactory("omp", "custom_reduce");
// execFunction(msg);
}
TEST_CASE("Test similar nested API than Clang 9.0.1", "[wasm]") {
cleanSystem();
message::Message msg = util::messageFactory("omp", "nested_levels_test");
execFunction(msg);
}
TEST_CASE("Test nested parallel region support", "[wasm]") {
cleanSystem();
// message::Message msg = util::messageFactory("omp", "nested_parallel");
// execFunction(msg);
}
TEST_CASE("Test proper handling of getting and setting next level num threads", "[wasm]") {
cleanSystem();
// message::Message msg = util::messageFactory("omp", "setting_num_threads");
// execFunction(msg);
}
} | [
"[email protected]"
] | |
1800d6ae6f3c134d5c60bbcb981e99d5e501e0f0 | 519351b04bd4f29794851511c8857cc6a3a93d3f | /include/consts.h | 36cd6890b59a95625cacbbc6a4424b2ba0c15c52 | [
"Apache-2.0"
] | permissive | jwlawson/qv | 803ce081b8a24e428d17c003e8c28c844d0b6f2b | 25f1aa8d47f9d657ff074359c057f8c16e5f728c | refs/heads/master | 2021-06-22T22:48:56.830435 | 2017-05-17T13:14:48 | 2017-05-17T13:14:48 | 18,249,762 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,115 | h | /**
* consts.h
* Copyright 2014-2015 John Lawson
*
* 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.
*/
/**
* Header containing declarations of constants to use in qvmove.
*/
#pragma once
#include <memory>
#include <vector>
#include <unordered_set>
#include "equiv_quiver_matrix.h"
#include "equiv_underlying_graph.h"
#include "mmi_move.h"
namespace qv {
namespace consts {
extern std::vector<std::shared_ptr<cluster::MMIMove>> Moves;
extern std::unordered_set<std::shared_ptr<cluster::EquivQuiverMatrix>> Reps;
extern std::unordered_set<std::shared_ptr<cluster::EquivUnderlyingGraph>> Graphs;
}
}
| [
"[email protected]"
] | |
eb323eb0a40c562724f593d03222fd89d6e3bc13 | 619fc1a0dc8b042b5daf12cbeed7cff3ea4491bc | /src/vcl/core/drawable/drawable_uniform/drawable_uniform.hpp | daaebd9b2a2c7ef080032c5e31347059058d8672 | [] | no_license | Denisoidd/football_keepie_uppie | 3046c99308c5a078062b698fc1dba6503492686a | 5eddac502536d78fbb10b1e85368101edd4e729b | refs/heads/master | 2020-08-15T15:54:56.619485 | 2019-10-15T18:37:23 | 2019-10-15T18:37:23 | 215,366,977 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 380 | hpp | #pragma once
#include "vcl/core/math/vec/vec3/vec3.hpp"
#include "vcl/core/math/mat/mat3/mat3.hpp"
namespace vcl
{
struct drawable_uniform
{
drawable_uniform();
mat3 rotation;
vec3 translation;
float scaling;
vec3 scaling_axis;
vec3 color;
struct
{
float ambiant;
float diffuse;
float specular;
} shading ;
};
}
| [
"[email protected]"
] | |
bf11f35c1ca5de529203dcd981fda3d63d61870c | df54ed8fce088f9c97c45d6a4af7c366f6e0ccea | /rush00/LEnemy.hpp | c041b00c6afee34fb293a63fcb88ae887a7ead49 | [] | no_license | conanwu777/CPP_piscine | 1de64cc10f07d32ce265aa8ab646bc384a4fcaa0 | 5fceeafd076716ec4688f2687f813cc7dfc37265 | refs/heads/master | 2020-05-04T19:08:45.600506 | 2019-04-03T23:07:26 | 2019-04-03T23:07:26 | 179,380,574 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 251 | hpp | #ifndef LENEMY_HPP
# define LENEMY_HPP
# include "Enemy.hpp"
class LEnemy : public Enemy
{
public:
LEnemy();
virtual ~LEnemy();
LEnemy(Win &w, int y, int x);
LEnemy(Enemy const &src);
void display();
void move();
void die();
};
#endif | [
"[email protected]"
] | |
b9a7f20d0d47b0d6f23d1b0af2cfd20f0174ca78 | 29e9e2b1af455a5488b980933e05e554ce4c8440 | /3055_탈출.cpp | a9ca5e3ad7d2b87d14f79cfe49cca47ae13d84bc | [] | no_license | koogk7/Algorithm | acb45673dd863fc4f8591c03993336793e0bb17d | 41878d14602e4bf86ddb107f75b7e5330a9b6c1a | refs/heads/master | 2021-06-24T10:58:46.650563 | 2021-02-26T14:56:33 | 2021-02-26T14:56:33 | 190,718,958 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,728 | cpp | #include <iostream>
#include <vector>
#include <queue>
#include <algorithm>
#include <cstring>
#include <stack>
#include <map>
#include <set>
#include <math.h>
typedef long long ll;
using namespace std;
/*
* 3055 탈출 20.03.21 20:48
* 난이도 중
* S ==> D , 고슴도치는 네칸 중 하나로 이동, 물은 비어있는 칸으로 확장
* . ==> 비어있음
* * ==> 물
* x ==> 돌
* 물은 .만 이동 가능
* 고슴도치가 비버의 굴로 이동하기 위해 필요한 최소시간 구해라
* 고슴도치는 물이 찰 예정인 칸으로 이동 할 수 없다.
*
* R*C = 50 * 50
*/
#define NO_ANS "KAKTUS"
#define MAX_V 51
int r,c;
char field[MAX_V][MAX_V];
bool visit[MAX_V][MAX_V];
int dr[] = {-1,1,0,0};
int dc[] = {0,0,-1,1};
struct Item {
int r,c, d;
bool isWater;
};
struct cmp {
bool operator()(Item a, Item b){
return a.d > b.d;
}
};
priority_queue<Item, vector<Item>, cmp> pq;
Item start;
vector<Item> waters;
bool isIn(int row, int col) {
return row>=0 and row<r and col>=0 and col<c;
}
void print(){
cout << "========================" << endl;
for (int i = 0; i < r; ++i) {
for (int j = 0; j < c; ++j) {
cout << field[i][j] << " ";
}
cout << endl;
}
}
int BFS(){
for (int i = 0; i < waters.size(); ++i) {
pq.push(waters[i]);
visit[waters[i].r][waters[i].c] = true;
}
pq.push(start);
visit[start.r][start.c] = true;
while(!pq.empty()){
Item cur = pq.top();
pq.pop();
for (int i = 0; i < 4; ++i) {
int nr = dr[i] + cur.r;
int nc = dc[i] + cur.c;
if(!isIn(nr,nc)) continue;
if(field[nr][nc] == 'D' and !cur.isWater)
return cur.d + 1;
if(field[nr][nc] == 'D') continue;
if(field[nr][nc] == 'X' or field[nr][nc] == '*') continue;
if(!cur.isWater and visit[nr][nc]) continue;
pq.push(Item{nr,nc, cur.d+1, cur.isWater});
if(cur.isWater)
field[nr][nc] = '*';
else{
visit[nr][nc] = true;
}
}
}
return -1;
}
int main() {
ios::sync_with_stdio(false);
cin.tie(NULL);
cin >> r >> c;
for (int i = 0; i < r; ++i) {
for (int j = 0; j < c; ++j) {
cin >> field[i][j];
if(field[i][j] == 'S'){
start.r = i, start.c = j;
start.isWater = false;
}
if(field[i][j] == '*'){
waters.push_back({i,j,0,true});
}
}
}
int ans = BFS();
if(ans == -1)
cout << NO_ANS;
else
cout << ans;
}
| [
"[email protected]"
] | |
ec426370757ae38309b36ec8226c753160bf2f72 | 544153f4e68644a259ed2cbc5502214e12f9a465 | /153_Find_Minimum_in_Rotated_Sorted_Array.cpp | d711ca3c75ce8ca34a8c461df1a385afba5756c4 | [] | no_license | qwe5350819/LeetCode | 386d6df701e2591921457c679827c82640b81b72 | 98772ba1b148b16147e9518f0e580614153758f8 | refs/heads/master | 2021-01-10T18:31:46.318456 | 2015-04-06T11:48:17 | 2015-04-06T11:48:17 | 33,469,612 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,102 | cpp | class Solution {
public:
int findMin(vector<int> &num) {
int siz = num.size();
if(siz>1)
return returnMin(num.begin(), --num.end());
if(siz==0)
return -1;
return *(num.begin());
}
int returnMin(vector<int>::iterator ibegin,vector<int>::iterator iend){
//end if there's no rotated array
if(*iend-*ibegin==0)//same iterator
return *ibegin;
if(iend-ibegin==*iend-*ibegin){// no rotated array
return *ibegin;
}
if(iend-ibegin==1){//2 near iterator
if(*iend<*ibegin)
return *iend;
return *ibegin;
}
if(iend-ibegin==2){
int min = *ibegin;
++iend;
for(ibegin ; ibegin!= iend ; ibegin++){
if(min>*ibegin)
min=*ibegin;
}
return min;
}
//there's rotated array
int offset = (iend-ibegin);
offset /= 2;
vector<int>::iterator mid = ibegin+offset;
int leftmin = returnMin(ibegin,mid);
mid++;
int rightmin = returnMin(mid,iend);
//return the smaller
if(leftmin<rightmin){
return leftmin;
}
return rightmin;
}
}; | [
"[email protected]"
] | |
a7e0d711585f3293c3245f8414577117b1348dd0 | c4a008fb986d90874a23cfe2b186dfb66b761207 | /Chapter 7 Drawing in Direct3D/LearnDirectX/Public/GameTimer.h | 45d619e0dcc8493719bb40cdc24ea70933e29719 | [] | no_license | chaoschan1989/LearnDirectX | d9cec6228a2a4c82c5c89a38e907b49f17c766ed | 3774f316b8dccb5424d8d7ca507ceb241b257ac1 | refs/heads/master | 2023-07-14T18:30:26.774654 | 2020-06-17T01:51:03 | 2020-06-17T01:51:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 610 | h | #ifndef GAMETIMER_H
#define GAMETIMER_H
class GameTimer
{
public:
GameTimer();
float TotalTime() const; // 单位s
float DeltaTime() const; // 单位s
void Reset(); // 消息循环开始前执行
void Start();
void Stop();
void Tick();
private:
double mSecondsPerCount; // s/1次计数
double mDeltaTime;
__int64 mBaseTime; // 调用Reset()的时刻
__int64 mPausedTime; // 游戏暂停的总时长
__int64 mStopTime; // 如果游戏暂停,暂停开始的时刻
__int64 mPrevTime; // 上一帧的时刻
__int64 mCurrTime; // 当前时间
bool mStopped; // 游戏是否暂停
};
#endif
| [
"[email protected]"
] | |
dd9ff51c113d4b7b4a8dd5a7567b8ee42197e55b | 6b18e4dab3b2899dbdd8f547f5d4051493cec2b3 | /MainSoftware/header/ANN/kd_fix_rad_search.cpp | cae82d7b6fcfbca21cba45f533f8f2c7eab1af29 | [] | no_license | hpp340/3DScannerSoftware | 4aafc66bd092e6fec8cd500bc5ab8d99f96c0307 | 06d47a48a991689aa0a7e4a4a83cc29561cbdfb5 | refs/heads/multiThread | 2021-01-22T05:47:28.477209 | 2016-06-04T19:23:20 | 2016-06-04T19:23:20 | 92,496,666 | 3 | 0 | null | 2017-05-26T09:48:08 | 2017-05-26T09:48:08 | null | UTF-8 | C++ | false | false | 7,361 | cpp | //----------------------------------------------------------------------
// File: kd_fix_rad_search.cpp
// Programmer: Sunil Arya and David Mount
// Description: Standard kd-tree fixed-radius kNN search
// Last modified: 05/03/05 (Version 1.1)
//----------------------------------------------------------------------
// Copyright (c) 1997-2005 University of Maryland and Sunil Arya and
// David Mount. All Rights Reserved.
//
// This software and related documentation is part of the Approximate
// Nearest Neighbor Library (ANN). This software is provided under
// the provisions of the Lesser GNU Public License (LGPL). See the
// file ../ReadMe.txt for further information.
//
// The University of Maryland (U.M.) and the authors make no
// representations about the suitability or fitness of this software for
// any purpose. It is provided "as is" without express or implied
// warranty.
//----------------------------------------------------------------------
// History:
// Revision 1.1 05/03/05
// Initial release
//----------------------------------------------------------------------
#pragma warning (disable:4100)
#include "kd_fix_rad_search.h" // kd fixed-radius search decls
//----------------------------------------------------------------------
// Approximate fixed-radius k nearest neighbor search
// The squared radius is provided, and this procedure finds the
// k nearest neighbors within the radius, and returns the total
// number of points lying within the radius.
//
// The method used for searching the kd-tree is a variation of the
// nearest neighbor search used in kd_search.cpp, except that the
// radius of the search ball is known. We refer the reader to that
// file for the explanation of the recursive search procedure.
//----------------------------------------------------------------------
//----------------------------------------------------------------------
// To keep argument lists short, a number of global variables
// are maintained which are common to all the recursive calls.
// These are given below.
//----------------------------------------------------------------------
int ANNkdFRDim; // dimension of space
ANNpoint ANNkdFRQ; // query point
ANNdist ANNkdFRSqRad; // squared radius search bound
double ANNkdFRMaxErr; // max tolerable squared error
ANNpointArray ANNkdFRPts; // the points
ANNmin_k* ANNkdFRPointMK; // set of k closest points
int ANNkdFRPtsVisited; // total points visited
int ANNkdFRPtsInRange; // number of points in the range
//----------------------------------------------------------------------
// annkFRSearch - fixed radius search for k nearest neighbors
//----------------------------------------------------------------------
int ANNkd_tree::annkFRSearch(
ANNpoint q, // the query point
ANNdist sqRad, // squared radius search bound
int k, // number of near neighbors to return
ANNidxArray nn_idx, // nearest neighbor indices (returned)
ANNdistArray dd, // the approximate nearest neighbor
double eps) // the error bound
{
ANNkdFRDim = dim; // copy arguments to static equivs
ANNkdFRQ = q;
ANNkdFRSqRad = sqRad;
ANNkdFRPts = pts;
ANNkdFRPtsVisited = 0; // initialize count of points visited
ANNkdFRPtsInRange = 0; // ...and points in the range
ANNkdFRMaxErr = ANN_POW(1.0 + eps);
ANN_FLOP(2) // increment floating op count
ANNkdFRPointMK = new ANNmin_k(k); // create set for closest k points
// search starting at the root
root->ann_FR_search(annBoxDistance(q, bnd_box_lo, bnd_box_hi, dim));
for (int i = 0; i < k; i++) { // extract the k-th closest points
if (dd != NULL)
dd[i] = ANNkdFRPointMK->ith_smallest_key(i);
if (nn_idx != NULL)
nn_idx[i] = ANNkdFRPointMK->ith_smallest_info(i);
}
delete ANNkdFRPointMK; // deallocate closest point set
return ANNkdFRPtsInRange; // return final point count
}
//----------------------------------------------------------------------
// kd_split::ann_FR_search - search a splitting node
// Note: This routine is similar in structure to the standard kNN
// search. It visits the subtree that is closer to the query point
// first. For fixed-radius search, there is no benefit in visiting
// one subtree before the other, but we maintain the same basic
// code structure for the sake of uniformity.
//----------------------------------------------------------------------
void ANNkd_split::ann_FR_search(ANNdist box_dist)
{
// check dist calc term condition
if (ANNmaxPtsVisited != 0 && ANNkdFRPtsVisited > ANNmaxPtsVisited) return;
// distance to cutting plane
ANNcoord cut_diff = ANNkdFRQ[cut_dim] - cut_val;
if (cut_diff < 0) { // left of cutting plane
child[ANN_LO]->ann_FR_search(box_dist);// visit closer child first
ANNcoord box_diff = cd_bnds[ANN_LO] - ANNkdFRQ[cut_dim];
if (box_diff < 0) // within bounds - ignore
box_diff = 0;
// distance to further box
box_dist = (ANNdist) ANN_SUM(box_dist,
ANN_DIFF(ANN_POW(box_diff), ANN_POW(cut_diff)));
// visit further child if in range
if (box_dist * ANNkdFRMaxErr <= ANNkdFRSqRad)
child[ANN_HI]->ann_FR_search(box_dist);
}
else { // right of cutting plane
child[ANN_HI]->ann_FR_search(box_dist);// visit closer child first
ANNcoord box_diff = ANNkdFRQ[cut_dim] - cd_bnds[ANN_HI];
if (box_diff < 0) // within bounds - ignore
box_diff = 0;
// distance to further box
box_dist = (ANNdist) ANN_SUM(box_dist,
ANN_DIFF(ANN_POW(box_diff), ANN_POW(cut_diff)));
// visit further child if close enough
if (box_dist * ANNkdFRMaxErr <= ANNkdFRSqRad)
child[ANN_LO]->ann_FR_search(box_dist);
}
ANN_FLOP(13) // increment floating ops
ANN_SPL(1) // one more splitting node visited
}
//----------------------------------------------------------------------
// kd_leaf::ann_FR_search - search points in a leaf node
// Note: The unreadability of this code is the result of
// some fine tuning to replace indexing by pointer operations.
//----------------------------------------------------------------------
void ANNkd_leaf::ann_FR_search(ANNdist box_dist)
{
register ANNdist dist; // distance to data point
register ANNcoord* pp; // data coordinate pointer
register ANNcoord* qq; // query coordinate pointer
register ANNcoord t;
register int d;
for (int i = 0; i < n_pts; i++) { // check points in bucket
pp = ANNkdFRPts[bkt[i]]; // first coord of next data point
qq = ANNkdFRQ; // first coord of query point
dist = 0;
for(d = 0; d < ANNkdFRDim; d++) {
ANN_COORD(1) // one more coordinate hit
ANN_FLOP(5) // increment floating ops
t = *(qq++) - *(pp++); // compute length and adv coordinate
// exceeds dist to k-th smallest?
if( (dist = ANN_SUM(dist, ANN_POW(t))) > ANNkdFRSqRad) {
break;
}
}
if (d >= ANNkdFRDim && // among the k best?
(ANN_ALLOW_SELF_MATCH || dist!=0)) { // and no self-match problem
// add it to the list
ANNkdFRPointMK->insert(dist, bkt[i]);
ANNkdFRPtsInRange++; // increment point count
}
}
ANN_LEAF(1) // one more leaf node visited
ANN_PTS(n_pts) // increment points visited
ANNkdFRPtsVisited += n_pts; // increment number of points visited
}
| [
"[email protected]"
] | |
22d34d38430cf57e4c1200a7c265106b19843265 | f3688fb61495f6b1ceae45f0f4d9b70c3339493d | /Term2/Task1/Header1.h | 3e5ad511444bd191d2ab651a3a070aee8b0aae95 | [] | no_license | Catsarelove/DomashkaBushmakova151 | 8699a0eb44e29ec7bebec7f77888b1689ca3be65 | 34138a2b23c64323fa0fd34e732ccaadb42019e6 | refs/heads/master | 2021-05-16T08:49:03.156304 | 2019-06-21T14:27:11 | 2019-06-21T14:27:11 | 104,221,001 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 938 | h | #include <iostream>
using namespace std;
struct node {
int data;
node* next;
};
struct dequeue {
node* tail;
node* head;
void pushback(int new_data) {
node * temp = new node;
temp->data = new_data;
node * paste = tail;
if (tail != NULL) {
tail = temp;
paste->next = tail;
}
else {
tail = temp;
head = temp;
}
temp->next = NULL;
}
void pushforw(int new_data) {
node * temp = new node;
temp->data = new_data;
node * paste = head;
if (head != NULL) {
head = temp;
head->next = paste;
}
else {
head = temp;
tail = temp;
head->next = NULL;
}
}
int pop() {
if (head == NULL) {
cout << "OMG";
return 0;
}
int temp_data = head->data;
node* temp = head;
head = head->next;
delete[] temp;
return temp_data;
}
~dequeue() {
while (head != NULL) {
node* temp = head;
head = head->next;
delete temp;
}
}
};
void createarray(int* a, int n);
void f();
| [
"[email protected]"
] | |
8f8ecb2c49f6009a80071b296d7a68c87a3e3785 | 6cfe7c65380924bfd6fe46a7b6cd5b006b333e96 | /source/digits_hits/include/GateThresholderMessenger.hh | d28aaf8579b61723dcdb8735fca5d6b1b579075b | [] | no_license | copernicus231/gatempi | 800eb61dd5de373d591e9cb49630172e1c4809b2 | b97c38418458dfd21e8d25887419f7967871782e | refs/heads/master | 2020-12-24T12:01:56.966710 | 2012-08-13T05:12:22 | 2012-08-13T05:12:22 | 5,534,931 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,082 | hh | /*----------------------
GATE version name: gate_v6
Copyright (C): OpenGATE Collaboration
This software is distributed under the terms
of the GNU Lesser General Public Licence (LGPL)
See GATE/LICENSE.txt for further details
----------------------*/
#ifndef GateThresholderMessenger_h
#define GateThresholderMessenger_h 1
#include "GatePulseProcessorMessenger.hh"
class G4UIdirectory;
class G4UIcmdWithoutParameter;
class G4UIcmdWithAString;
class G4UIcmdWithABool;
class G4UIcmdWithAnInteger;
class G4UIcmdWithADouble;
class G4UIcmdWithADoubleAndUnit;
class G4UIcmdWith3Vector;
class G4UIcmdWith3VectorAndUnit;
class GateThresholder;
class GateThresholderMessenger: public GatePulseProcessorMessenger
{
public:
GateThresholderMessenger(GateThresholder* itsThresholder);
virtual ~GateThresholderMessenger();
inline void SetNewValue(G4UIcommand* aCommand, G4String aString);
inline GateThresholder* GetThresholder()
{ return (GateThresholder*) GetPulseProcessor(); }
private:
G4UIcmdWithADoubleAndUnit *thresholdCmd;
};
#endif
| [
"[email protected]"
] | |
b6c8452288f9855ee9ed8e1cc3135d9990c1cb5c | 4afc36bf8b1dd599608c2dffeb363fb075eeb916 | /Projects/New folder/CPP_Firmware/HAL/inc/HwStopWatch.hpp | ad60e78cfe86ba028e3e5f04c5a317cae28933a1 | [] | no_license | amitandgithub/STM32_Keil | 72cfb4acac9c4c7578da42aca15b1663af310dc0 | 3b14dab37562a0ab3fbbc25fb362d4b6f6641283 | refs/heads/master | 2020-03-24T21:12:59.648394 | 2018-07-31T13:35:00 | 2018-07-31T13:35:00 | 143,019,077 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 768 | hpp | //******************
// CLASS: HwStopWatch
//
// DESCRIPTION:
// This class implements the HwStopWatch witn Milliseconds support
//
// CREATED: 21-01-2018, by Amit Chaudhary
//
// FILE: $FILE_FNAME$
//
#ifndef HWSTOPWATCH_HPP_
#define HWSTOPWATCH_HPP_
#include "SysTickTimer.hpp"
#include "DS3231.h"
namespace Utility
{
class HwStopWatch
{
public:
HwStopWatch(DS3231* pDS3231):m_pDS3231(pDS3231),m_Previous_Seconds(0){};
~HwStopWatch(){};
char* GetTimeStr(char* pBuffer);
void AddSec(unsigned char sec);
bool Run();
private:
unsigned char Sec;
unsigned char Min;
unsigned char Hrs;
unsigned char m_Previous_Seconds;
unsigned char _GetSeconds();
DS3231* m_pDS3231;
};
}
#endif // HWSTOPWATCH_HPP_ | [
"[email protected]"
] | |
1b7d6843a98ecb8c81dc951133456277bc5f3f8f | 9423a2cdf7bb75f8c7f672f9961a1ba6fa311b0a | /baekjoon 1021.cpp | 88b65572664636ee562eee988b59eafa1155c5de | [] | no_license | OkiHeo/BOJ-sol | 318f6897d5a8038be91e8a72de9bf78fc0b55d62 | dc691b0b5f45c6457ae6c673a9a731d9383b8aa7 | refs/heads/master | 2020-09-12T01:14:09.305739 | 2020-02-25T14:34:34 | 2020-02-25T14:34:34 | 222,252,212 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,378 | cpp | #include <iostream>
#include <deque>
using namespace std;
int n, m;
deque<int> dq;
int count=0;
void pop(){
dq.pop_front();
}
void right(){
// 우측 순환 회전 <<-
dq.push_back(dq.front());
dq.pop_front();
count++;
}
void left(){
// 좌측 순환 회전 ->>
dq.push_front(dq.back());
dq.pop_back();
count++;
}
int main(){
cin>>n>>m;
for(int i=1; i<=n; i++)
dq.push_back(i);
for(int i=0; i<m; i++){
int num;
cin>>num;
// 바로 front에서 num을 뽑아낼 수 있다면 뽑아낸다.
if( dq.front()==num ){
pop();
continue;
}
int idx=0;
// 지금 입력받은 num이 dq의 몇 번째에 위치하는지 찾는다.
for(int i=0; i<dq.size(); i++){
if( dq[i]==num){
idx=i;
break;
}
}
// 좌측으로 회전시키는것, 우측으로 회전시키는 것 중
// 어느 쪽이 더 빠른지 계산
if( idx <= dq.size()-idx ){
// 앞에서부터 세는 것이 빠른 경우
// 우측 순환 회전 시키며 front 같을 때까지 찾는다.
while(true){
right();
if( dq.front()==num ){
pop();
break;
}
}
}
else{
// 뒤에서부터 세는 것이 빠른 경우
// 좌측 순환 회전 시키며 front 같을 때까지 찾는다.
while(true){
left();
if( dq.front()==num){
pop();
break;
}
}
}
}
cout<<count<<'\n';
return 0;
}
| [
"[email protected]"
] | |
9e8aaf5c6b221bd3b0b9cda5f25d8a9c2a163d73 | acabebade93c8b60359db60087ae865d48a49465 | /src/control_pad.h | 3ea1f6fc92b1f4a9c1c41bd73d02f17ba5883cf5 | [] | no_license | metamatt/dreamcoat | 853edb6944c1e338a4497889f496d54bea09da30 | c1191b2423674e1046d58678f146938be981a33f | refs/heads/master | 2021-01-19T08:42:53.518428 | 2013-10-09T06:29:30 | 2013-10-09T06:29:30 | 13,434,267 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 518 | h | #pragma once
class InputButton {
public:
void begin(int pin, bool needPullup, Scene::Action action, int param);
int pin;
Scene::Action action;
int param;
bool wasPressed;
bool isPressed();
bool getChange(bool *pressed);
};
class ControlPad {
public:
void begin(int pinModePrev, int pinModeNext,
int pinParamPrev, int pinParamNext,
int pinSpeed, bool needPullup);
void sample();
int numButtons;
InputButton buttons[5];
};
extern ControlPad controls;
| [
"[email protected]"
] | |
ff75ceb525144590042c826c5e30b40834f41a06 | 93011e62838965bbbd96d7f1e6aef966aab95db2 | /gravitron/PhysUtVector.h | 170208e87e7668f244ab70667f20cfbf15b99431 | [] | no_license | djia/gravitron | 03f1c3915bee740e4650a95d874561c34bcf0ed6 | 04411645c1f98cd426ca49969a8e459e454977ab | refs/heads/master | 2016-09-06T18:19:45.078565 | 2012-03-21T11:26:45 | 2012-03-21T11:26:45 | 3,599,821 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,101 | h |
#ifndef DXUTVECTOR_H
#define DXUTVECTOR_H
#include <d3dx10.h>
#include "DxUtError.h"
namespace PhysUt {
#define DotXY(a, b) ((a.x*b.x + a.y*b.y))
#define DotXYZ(a, b) ((a.x*b.x + a.y*b.y + a.z*b.z))
#define CrossXY(a, b) ((a.x*b.y - b.x*a.y))
#define CrossXYZ(a, b) (Vector3F(a.y*b.z - a.z*b.y, a.z*b.x - a.x*b.z, a.x*b.y - a.y*b.x))
class Vector2F {
public:
union {
struct {
float x;
float y;
};
float c[2];
};
public:
Vector2F() {}
Vector2F(float _x, float _y):x(_x), y(_y) {}
//Vector2F(float * _c) {memcpy(c, _c, sizeof(float)*2);}
//~Vector2F() {}
Vector2F operator+() {return *this;}
Vector2F operator-() {return Vector2F(-x, -y);}
Vector2F operator+(Vector2F & v) {return Vector2F(x+v.x, y+v.y);}
Vector2F operator-(Vector2F & v) {return Vector2F(x-v.x, y-v.y);}
friend Vector2F operator*(FLOAT flt, Vector2F & v) {return Vector2F(v.x*flt, v.y*flt);}
//Vector2F operator*(FLOAT flt) {return Vector2F(x*flt, y*flt);}
Vector2F operator*(Vector2F & v) {return Vector2F(x*v.x, y*v.y);}
Vector2F operator/(FLOAT flt) {float d = 1.f/flt; return Vector2F(x*d, y*d);}
Vector2F & operator=(Vector2F & v) {x = v.x, y = v.y; return *this;}
Vector2F & operator+=(Vector2F & v) {x += v.x, y += v.y; return *this;}
Vector2F & operator-=(Vector2F & v) {x -= v.x, y -= v.y; return *this;}
Vector2F & operator*=(FLOAT flt) {x *= flt, y *= flt; return *this;}
Vector2F & operator/=(FLOAT flt) {float d = 1.f/flt; x *= d, y *= d; return *this;}
//void operator()(float _x, float _y, float _z) {x = _x, y = _y;}
//void operator()(float * _c) {memcpy(c, _c, sizeof(float)*2);}
FLOAT Length() {return sqrtf(x*x + y*y);}
FLOAT LengthSq() {return x*x + y*y;}
Vector2F Normalize();
};
class Matrix4x4F;
class Vector3F {
public:
union {
struct {
float x;
float y;
float z;
};
float c[3];
};
public:
Vector3F() {}
//Vector3F(Vector3F & copy) {memcpy(c, copy.c, sizeof(float)*3);}
Vector3F(float _x, float _y, float _z):x(_x), y(_y), z(_z) {}
//Vector3F(float * _c) {memcpy(c, _c, sizeof(float)*3);}
//~Vector3F() {}
Vector3F operator+() {return *this;}
Vector3F operator-() {return Vector3F(-x, -y, -z);}
Vector3F operator+(Vector3F & v) {return Vector3F(x+v.x, y+v.y, z+v.z);}
Vector3F operator-(Vector3F & v) {return Vector3F(x-v.x, y-v.y, z-v.z);}
friend Vector3F operator*(FLOAT flt, Vector3F & v) {return Vector3F(v.x*flt, v.y*flt, v.z*flt);}
//Vector3F operator*(FLOAT flt) {return Vector3F(x*flt, y*flt, z*flt);}
Vector3F operator*(Vector3F & v) {return Vector3F(x*v.x, y*v.y, z*v.z);}
Vector3F operator/(FLOAT flt) {float d = 1.f/flt; return Vector3F(x*d, y*d, z*d);}
Vector3F & operator=(Vector3F & v) {x = v.x, y = v.y, z = v.z; return *this;}
Vector3F & operator+=(Vector3F & v) {x += v.x, y += v.y, z += v.z; return *this;}
Vector3F & operator-=(Vector3F & v) {x -= v.x, y -= v.y, z -= v.z; return *this;}
Vector3F & operator*=(FLOAT flt) {x *= flt, y *= flt, z *= flt; return *this;}
Vector3F & operator/=(FLOAT flt) {float d = 1.f/flt; x *= d, y *= d, z *= d; return *this;}
//void operator()(float _x, float _y, float _z) {x = _x, y = _y, z = _z;}
//void operator()(float * _c) {memcpy(c, _c, sizeof(float)*3);}
//v1^v2 should always be enclosed in parentheses (v1^v2)
//Vector3F operator^(Vector3F & v) {return Vector3F(y*v.z - z*v.y, z*v.x - x*v.z, x*v.y - y*v.x);}
FLOAT Length() {return sqrtf(x*x + y*y + z*z);}
FLOAT LengthSq() {return x*x + y*y + z*z;}
Vector3F Normalize();
Vector3F NormalizeSq();
Matrix4x4F SkewMatrix3x3F();
//Makes v a Vector4F with w = 1.f
friend Vector3F operator*(Matrix4x4F & A, Vector3F & v);
//Makes v a Vector4F with w = 1.f
friend Vector3F operator*(Vector3F & v, Matrix4x4F & A);
//Makes v a Vector4F with w = 0.f
friend Vector3F operator^(Matrix4x4F & A, Vector3F & v);
};
class Vector4F {
public:
union {
struct {
float x;
float y;
float z;
float w;
};
float c[4];
};
public:
Vector4F() {}
//Vector4F(Vector4F & copy) {memcpy(c, copy.c, sizeof(float)*4);}
Vector4F(float _x, float _y, float _z, float _w):x(_x), y(_y), z(_z), w(_w) {}
//Vector4F(float * _c) {memcpy(c, _c, sizeof(float)*4);}
//~Vector4F() {}
Vector4F operator+() {return *this;}
Vector4F operator-() {return Vector4F(-x, -y, -z, -w);}
Vector4F operator+(Vector4F & v) {return Vector4F(x+v.x, y+v.y, z+v.z, w+v.w);}
Vector4F operator-(Vector4F & v) {return Vector4F(x-v.x, y-v.y, z-v.z, w-v.w);}
friend Vector4F operator*(FLOAT flt, Vector4F & v) {return Vector4F(v.x*flt, v.y*flt, v.z*flt, v.w*flt);}
//Vector4F operator*(FLOAT flt) {return Vector4F(x*flt, y*flt, z*flt, w*flt);}
Vector4F operator*(Vector4F & v) {return Vector4F(x*v.x, y*v.y, z*v.z, w*v.w);}
Vector4F operator/(FLOAT flt) {float d = 1.f/flt; return Vector4F(x*d, y*d, z*d, w*d);}
Vector4F & operator=(Vector4F & v) {x = v.x, y = v.y, z = v.z, w = v.w; return *this;}
Vector4F & operator+=(Vector4F & v) {x += v.x, y += v.y, z += v.z, w += v.w; return *this;}
Vector4F & operator-=(Vector4F & v) {x -= v.x, y -= v.y, z -= v.z, w -= v.w; return *this;}
Vector4F & operator*=(FLOAT flt) {x *= flt, y *= flt, z *= flt, w *= flt; return *this;}
Vector4F & operator/=(FLOAT flt) {float d = 1.f/flt; x *= d, y *= d, z *= d, w *= d; return *this;}
//void operator()(float _x, float _y, float _z, float _w) {x = _x, y = _y, z = _z, w = _w;}
//void operator()(float * _c) {memcpy(c, _c, sizeof(float)*4);}
FLOAT Length() {return sqrtf(x*x + y*y + z*z + w*w);}
FLOAT LengthSq() {return x*x + y*y + z*z + w*w;}
Vector4F Normalize();
friend Vector4F operator*(Matrix4x4F & A, Vector4F & v);
friend Vector4F operator*(Vector4F & v, Matrix4x4F & A);
};
class VectorNF {
public:
FLOAT * c;
private:
DWORD m_nSize;
public:
VectorNF():c(0), m_nSize(0) {}
//~VectorNF() {}
void CreateVector(DWORD nElements);
DWORD Size() {return m_nSize; }
VectorNF & operator=(VectorNF & v);
VectorNF & operator+=(VectorNF & v);
VectorNF & operator-=(VectorNF & v);
friend VectorNF & operator*=(VectorNF & v, FLOAT flt);
VectorNF & operator/=(FLOAT flt);
FLOAT Length();
FLOAT LengthSq();
void DestroyVector();
};
inline VectorNF & VectorNF::operator=(VectorNF & v)
{
Assert(m_nSize == v.m_nSize, "VectorNF::operator= can not have vectors of different sizes.");
memcpy(this->c, v.c, sizeof(FLOAT)*m_nSize);
return *this;
}
inline VectorNF & VectorNF::operator+=(VectorNF & v)
{
Assert(m_nSize == v.m_nSize, "VectorNF::operator+= can not add vectors of different sizes.");
for (DWORD i=0; i<m_nSize; i++)
c[i] += v.c[i];
return *this;
}
inline VectorNF & VectorNF::operator-=(VectorNF & v)
{
Assert(m_nSize == v.m_nSize, "VectorNF::operator-= can not subtract vectors of different sizes.");
for (DWORD i=0; i<m_nSize; i++)
c[i] -= v.c[i];
return *this;
}
inline VectorNF & operator*=(VectorNF & v, FLOAT flt)
{
FLOAT * c = v.c;
for (DWORD i=0, vSize = v.m_nSize; i<vSize; i++)
c[i] *= flt;
return v;
}
inline VectorNF & VectorNF::operator/=(FLOAT flt)
{
FLOAT mul = 1.f/flt;
for (DWORD i=0; i<m_nSize; i++)
c[i] *= mul;
return *this;
}
};
#endif
| [
"[email protected]"
] | |
0b239f781d89805e9a049c129bfc31630d550cde | 4f0047e19a68f1a99b2a303ff27ed2b99ede2345 | /Algor/leetcode/924.cpp | e43df463f5a5f38b0556f21c28b0c4dfb4aadb3e | [] | no_license | zbh24/TechBlog | 368ad9d5b5bf42213a384f0f6a9a55b0f987754e | 309e803fa3d70ebdc05f074599e7826aa99b3f42 | refs/heads/master | 2021-10-23T20:46:48.921650 | 2021-10-23T09:23:05 | 2021-10-23T09:23:05 | 43,661,431 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,713 | cpp | class Solution {
public:
struct T {
int color;
int colorSize;
int loc;
T(int a, int b, int c) : color(a), colorSize(b), loc(c) {}
bool operator < (const T &t) {
if (colorSize > t.colorSize) {
return true;
} else if (colorSize == t.colorSize && loc < t.loc) {
return true;
} else {
return false;
}
}
bool operator == (const T &t) {
return t.color == color;
}
};
void dfs(vector<vector<int>>& graph, vector<int>& visited, int loc, int color, map<int, int>& colorNum) {
for (int i = 0; i < graph[0].size(); i++) {
if (graph[loc][i] == 1 && visited[i] == 0) {
visited[i] = color;
colorNum[color]++;
dfs(graph, visited, i, color, colorNum);
}
}
}
int minMalwareSpread(vector<vector<int>>& graph, vector<int>& initial) {
int N = graph[0].size();
int color = 1;
vector<int> visited(N, 0);
map<int, int> colorNum;
for (int i = 0; i < N; i++) {
if (visited[i] == 0) {
dfs(graph, visited, i, color, colorNum);
color++;
}
}
vector<T> res;
for (int i = 0; i < initial.size(); i++) {
int tempColor = visited[initial[i]];
T temp(tempColor, colorNum[tempColor], initial[i]);
if (find(res.begin(), res.end(), temp) != res.end()) {
auto it = find(res.begin(), res.end(), temp);
it->colorSize = 0;
it->loc = it->loc > initial[i] ? initial[i] : it->loc;
} else {
res.emplace_back(temp);
}
}
sort(res.begin(), res.end());
return res[0].loc;
}
};
| [
"[email protected]"
] | |
2bc6c7e3bb33fe9dcb08b5b914c212c4e52d1cde | 0e9a0849e7c3bf56e4c9fdfcf523f0a2ad3b5a7c | /factory/libpainter/IShape.h | 8488f3c3012d27617502202e0d12d9366dffb807 | [] | no_license | panic-torra/ood | a015504dd452946f634a601154df37869829f871 | 4097274ba907af358270fa2e8691d418800d169a | refs/heads/master | 2018-09-19T04:31:22.247901 | 2018-06-16T17:32:05 | 2018-06-16T17:32:05 | 120,812,018 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 256 | h | #pragma once
#include "stdafx.h"
#include "ICanvas.h"
#include "Color.h"
class IShape
{
public:
virtual void SetColor(Color color) = 0;
virtual Color GetColor() const = 0;
virtual void Draw(ICanvas & canvas) const = 0;
virtual ~IShape() = default;
}; | [
"[email protected]"
] | |
d90e2eb43421524f6fb09a9b1ee1cacd3eddefbc | 4530046f22b6fa7cd13b13a17844162d6b2f02b6 | /Adobe_finalSDK/xmp_sdk/XMPFiles/source/FormatSupport/XDCAM_Support.cpp | b9704b98d268a5ad05058f3206b69cb22b51a2a2 | [
"BSD-3-Clause"
] | permissive | karaimer/camera-pipeline-dng-sdk | 783f5e13738d67d318e36b449ff9b09d84f85171 | 6fc4e8fa892da17b289583f5cd33f9ee7d4d72b4 | refs/heads/master | 2023-07-12T00:07:40.369307 | 2023-07-01T00:33:53 | 2023-07-01T00:33:53 | 64,812,785 | 29 | 13 | null | null | null | null | UTF-8 | C++ | false | false | 17,053 | cpp | // =================================================================================================
// ADOBE SYSTEMS INCORPORATED
// Copyright 2008 Adobe Systems Incorporated
// All Rights Reserved
//
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms
// of the Adobe license agreement accompanying it.
// =================================================================================================
#include "public/include/XMP_Environment.h" // ! XMP_Environment.h must be the first included header.
#include "public/include/XMP_Const.h"
#include "public/include/XMP_IO.hpp"
#include "XMPFiles/source/XMPFiles_Impl.hpp"
#include "source/XMPFiles_IO.hpp"
#include "source/XIO.hpp"
#include "XMPFiles/source/FormatSupport/XDCAM_Support.hpp"
// =================================================================================================
/// \file XDCAM_Support.cpp
///
// =================================================================================================
// =================================================================================================
// CreateChildElement
// ==================
static XML_Node * CreateChildElement ( XML_Node * parent,
XMP_StringPtr localName,
XMP_StringPtr legacyNS,
int indent /* = 0 */ )
{
XML_Node * wsNode;
XML_Node * childNode = parent->GetNamedElement ( legacyNS, localName );
if ( childNode == 0 ) {
// The indenting is a hack, assuming existing 2 spaces per level.
wsNode = new XML_Node ( parent, "", kCDataNode );
wsNode->value = " "; // Add 2 spaces to the existing WS before the parent's close tag.
parent->content.push_back ( wsNode );
childNode = new XML_Node ( parent, localName, kElemNode );
childNode->ns = parent->ns;
childNode->nsPrefixLen = parent->nsPrefixLen;
childNode->name.insert ( 0, parent->name, 0, parent->nsPrefixLen );
parent->content.push_back ( childNode );
wsNode = new XML_Node ( parent, "", kCDataNode );
wsNode->value = '\n';
for ( ; indent > 1; --indent ) wsNode->value += " "; // Indent less 1, to "outdent" the parent's close.
parent->content.push_back ( wsNode );
}
return childNode;
} // CreateChildElement
// =================================================================================================
// GetTimeScale
// ============
static std::string GetTimeScale ( XMP_StringPtr formatFPS )
{
std::string timeScale;
if ( XMP_LitNMatch ( "25p", formatFPS, 3 ) || XMP_LitNMatch ( "50i", formatFPS, 3 ) ) {
timeScale = "1/25";
} else if ( XMP_LitNMatch ( "50p", formatFPS, 3 ) ) {
timeScale = "1/50";
} else if ( XMP_LitNMatch ( "23.98p", formatFPS, 6 ) ) {
timeScale = "1001/24000";
} else if ( XMP_LitNMatch ( "29.97p", formatFPS, 6 ) || XMP_LitNMatch( "59.94i", formatFPS, 6 ) ) {
timeScale = "1001/30000";
} else if ( XMP_LitNMatch ( "59.94p", formatFPS, 6 ) ) {
timeScale = "1001/60000";
}
return timeScale;
} // GetTimeScale
// =================================================================================================
// XDCAM_Support::GetMediaProLegacyMetadata
// ========================================
bool XDCAM_Support::GetMediaProLegacyMetadata ( SXMPMeta * xmpObjPtr,
const std::string& clipUMID,
const std::string& mediaProPath,
bool digestFound)
{
// NOTE: The logic of the form "if ( digestFound || (! XMP-prop-exists) ) Set-XMP-prop" might
// look odd at first, especially the digestFound part. This is OK though. If there is no digest
// then we want to preserve existing XMP. The handlers do not call this routine if the digest is
// present and matched, so here digestFound really means "found and differs".
bool containsXMP = false;
Host_IO::FileRef hostRef = Host_IO::Open ( mediaProPath.c_str(), Host_IO::openReadOnly );
if ( hostRef == Host_IO::noFileRef ) return false; // The open failed.
XMPFiles_IO xmlFile ( hostRef, mediaProPath.c_str(), Host_IO::openReadOnly );
ExpatAdapter * expat = XMP_NewExpatAdapter ( ExpatAdapter::kUseLocalNamespaces );
if ( expat == 0 ) return false;
#define CleanupAndExit \
{ if ( expat != 0 ) delete expat; return containsXMP; }
XML_NodePtr mediaproRootElem = 0;
XML_NodePtr contentContext = 0, materialContext = 0;
XMP_Uns8 buffer [64*1024];
while ( true ) {
XMP_Int32 ioCount = xmlFile.Read ( buffer, sizeof(buffer) );
if ( ioCount == 0 ) break;
expat->ParseBuffer ( buffer, ioCount, false /* not the end */ );
}
expat->ParseBuffer ( 0, 0, true ); // End the parse.
xmlFile.Close();
// Get the root node of the XML tree.
XML_Node & mediaproXMLTree = expat->tree;
for ( size_t i = 0, limit = mediaproXMLTree.content.size(); i < limit; ++i ) {
if ( mediaproXMLTree.content[i]->kind == kElemNode ) {
mediaproRootElem = mediaproXMLTree.content[i];
}
}
if ( mediaproRootElem == 0 ) CleanupAndExit
XMP_StringPtr rlName = mediaproRootElem->name.c_str() + mediaproRootElem->nsPrefixLen;
if ( ! XMP_LitMatch ( rlName, "MediaProfile" ) ) CleanupAndExit
// MediaProfile, Contents
XMP_StringPtr ns = mediaproRootElem->ns.c_str();
contentContext = mediaproRootElem->GetNamedElement ( ns, "Contents" );
if ( contentContext != 0 ) {
size_t numMaterialElems = contentContext->CountNamedElements ( ns, "Material" );
// Iterate over the Material tags, looking for one that has a matching umid.
for ( size_t i = 0; i < numMaterialElems; ++i ) {
XML_NodePtr materialElement = contentContext->GetNamedElement ( ns, "Material", i );
XMP_Assert ( materialElement != 0 );
XMP_StringPtr umid = materialElement->GetAttrValue ( "umid" );
// Found one that matches the input umid, gather what metadata we can and break.
if ( (umid != 0) && (umid == clipUMID) ) {
// title
XMP_StringPtr title = materialElement->GetAttrValue ( "title" );
if ( title != 0 ) {
if ( digestFound || (! xmpObjPtr->DoesPropertyExist ( kXMP_NS_DC, "title" )) ) {
xmpObjPtr->SetLocalizedText ( kXMP_NS_DC, "title", "", "x-default", title, kXMP_DeleteExisting );
containsXMP = true;
}
}
break;
}
}
}
CleanupAndExit
#undef CleanupAndExit
} // XDCAM_Support::GetMediaProLegacyMetadata
// =================================================================================================
// XDCAM_Support::GetLegacyMetadata
// ================================
bool XDCAM_Support::GetLegacyMetadata ( SXMPMeta * xmpObjPtr,
XML_NodePtr rootElem,
XMP_StringPtr legacyNS,
bool digestFound,
std::string& umid )
{
// NOTE: The logic of the form "if ( digestFound || (! XMP-prop-exists) ) Set-XMP-prop" might
// look odd at first, especially the digestFound part. This is OK though. If there is no digest
// then we want to preserve existing XMP. The handlers do not call this routine if the digest is
// present and matched, so here digestFound really means "found and differs".
bool containsXMP = false;
XML_NodePtr legacyContext = 0, legacyProp = 0;
XMP_StringPtr formatFPS;
// UMID
if ( digestFound || (! xmpObjPtr->DoesPropertyExist ( kXMP_NS_DC, "identifier" )) ) {
legacyProp = rootElem->GetNamedElement ( legacyNS, "TargetMaterial" );
if ( (legacyProp != 0) && legacyProp->IsEmptyLeafNode() ) {
XMP_StringPtr legacyValue = legacyProp->GetAttrValue ( "umidRef" );
if ( legacyValue != 0 ) {
umid = legacyValue;
xmpObjPtr->SetProperty ( kXMP_NS_DC, "identifier", legacyValue, kXMP_DeleteExisting );
containsXMP = true;
}
}
}
// Title
if ( digestFound || (! xmpObjPtr->DoesPropertyExist ( kXMP_NS_DC, "title" )) ) {
legacyProp = rootElem->GetNamedElement ( legacyNS, "Title" );
if ( legacyProp != 0 ) {
XMP_StringPtr legacyValue = legacyProp->GetAttrValue ( "usAscii" );
if ( legacyValue != 0 ) {
xmpObjPtr->SetLocalizedText ( kXMP_NS_DC, "title", "", "x-default", legacyValue, kXMP_DeleteExisting );
containsXMP = true;
}
}
}
// Creation date
if ( digestFound || (! xmpObjPtr->DoesPropertyExist ( kXMP_NS_XMP, "CreateDate" )) ) {
legacyProp = rootElem->GetNamedElement ( legacyNS, "CreationDate" );
if ( (legacyProp != 0) && legacyProp->IsEmptyLeafNode() ) {
XMP_StringPtr legacyValue = legacyProp->GetAttrValue ( "value" );
if ( legacyValue != 0 ) {
xmpObjPtr->SetProperty ( kXMP_NS_XMP, "CreateDate", legacyValue, kXMP_DeleteExisting );
containsXMP = true;
}
}
}
// Modify Date
if ( digestFound || (! xmpObjPtr->DoesPropertyExist ( kXMP_NS_XMP, "ModifyDate" )) ) {
legacyProp = rootElem->GetNamedElement ( legacyNS, "LastUpdate" );
if ( (legacyProp != 0) && legacyProp->IsEmptyLeafNode() ) {
XMP_StringPtr legacyValue = legacyProp->GetAttrValue ( "value" );
if ( legacyValue != 0 ) {
xmpObjPtr->SetProperty ( kXMP_NS_XMP, "ModifyDate", legacyValue, kXMP_DeleteExisting );
containsXMP = true;
}
}
}
// Metadata Modify Date
if ( digestFound || (! xmpObjPtr->DoesPropertyExist ( kXMP_NS_XMP, "MetadataDate" )) ) {
legacyProp = rootElem->GetNamedElement ( legacyNS, "lastUpdate" );
if ( (legacyProp != 0) && legacyProp->IsEmptyLeafNode() ) {
XMP_StringPtr legacyValue = legacyProp->GetAttrValue ( "value" );
if ( legacyValue != 0 ) {
xmpObjPtr->SetProperty ( kXMP_NS_XMP, "MetadataDate", legacyValue, kXMP_DeleteExisting );
containsXMP = true;
}
}
}
// Description
if ( digestFound || (! xmpObjPtr->DoesPropertyExist ( kXMP_NS_DC, "description" )) ) {
legacyProp = rootElem->GetNamedElement ( legacyNS, "Description" );
if ( (legacyProp != 0) && legacyProp->IsLeafContentNode() ) {
XMP_StringPtr legacyValue = legacyProp->GetLeafContentValue();
if ( legacyValue != 0 ) {
xmpObjPtr->SetLocalizedText ( kXMP_NS_DC, "description", "", "x-default", legacyValue, kXMP_DeleteExisting );
containsXMP = true;
}
}
}
legacyContext = rootElem->GetNamedElement ( legacyNS, "VideoFormat" );
if ( legacyContext != 0 ) {
// frame size
if ( digestFound || (! xmpObjPtr->DoesPropertyExist ( kXMP_NS_DM, "videoFrameSize" )) ) {
legacyProp = legacyContext->GetNamedElement ( legacyNS, "VideoLayout" );
if ( (legacyProp != 0) && legacyProp->IsEmptyLeafNode() ) {
XMP_StringPtr widthValue = legacyProp->GetAttrValue ( "pixel" );
XMP_StringPtr heightValue = legacyProp->GetAttrValue ( "numOfVerticalLine" );
if ( (widthValue != 0) && (heightValue != 0) ) {
xmpObjPtr->DeleteProperty ( kXMP_NS_DM, "videoFrameSize" );
xmpObjPtr->SetStructField ( kXMP_NS_DM, "videoFrameSize", kXMP_NS_XMP_Dimensions, "w", widthValue );
xmpObjPtr->SetStructField ( kXMP_NS_DM, "videoFrameSize", kXMP_NS_XMP_Dimensions, "h", heightValue );
xmpObjPtr->SetStructField ( kXMP_NS_DM, "videoFrameSize", kXMP_NS_XMP_Dimensions, "unit", "pixels" );
containsXMP = true;
}
}
}
// Aspect ratio
if ( digestFound || (! xmpObjPtr->DoesPropertyExist ( kXMP_NS_DM, "videoPixelAspectRatio" )) ) {
legacyProp = legacyContext->GetNamedElement ( legacyNS, "VideoLayout" );
if ( (legacyProp != 0) && legacyProp->IsEmptyLeafNode() ) {
XMP_StringPtr aspectRatio = legacyProp->GetAttrValue ( "aspectRatio" );
if ( aspectRatio != 0 ) {
xmpObjPtr->SetProperty ( kXMP_NS_DM, "videoPixelAspectRatio", aspectRatio, kXMP_DeleteExisting );
containsXMP = true;
}
}
}
// Frame rate
if ( digestFound || (! xmpObjPtr->DoesPropertyExist ( kXMP_NS_DM, "videoFrameRate" )) ) {
legacyProp = legacyContext->GetNamedElement ( legacyNS, "VideoFrame" );
if ( (legacyProp != 0) && legacyProp->IsEmptyLeafNode() ) {
formatFPS = legacyProp->GetAttrValue ( "formatFps" );
if ( formatFPS != 0 ) {
xmpObjPtr->SetProperty ( kXMP_NS_DM, "videoFrameRate", formatFPS, kXMP_DeleteExisting );
containsXMP = true;
}
}
}
// Video codec
if ( digestFound || (! xmpObjPtr->DoesPropertyExist ( kXMP_NS_DM, "videoCompressor" )) ) {
legacyProp = legacyContext->GetNamedElement ( legacyNS, "VideoFrame" );
if ( (legacyProp != 0) && legacyProp->IsEmptyLeafNode() ) {
XMP_StringPtr prop = legacyProp->GetAttrValue ( "videoCodec" );
if ( prop != 0 ) {
xmpObjPtr->SetProperty ( kXMP_NS_DM, "videoCompressor", prop, kXMP_DeleteExisting );
containsXMP = true;
}
}
}
} // VideoFormat
legacyContext = rootElem->GetNamedElement ( legacyNS, "AudioFormat" );
if ( legacyContext != 0 ) {
// Audio codec
if ( digestFound || (! xmpObjPtr->DoesPropertyExist ( kXMP_NS_DM, "audioCompressor" )) ) {
legacyProp = legacyContext->GetNamedElement ( legacyNS, "AudioRecPort" );
if ( (legacyProp != 0) && legacyProp->IsEmptyLeafNode() ) {
XMP_StringPtr prop = legacyProp->GetAttrValue ( "audioCodec" );
if ( prop != 0 ) {
xmpObjPtr->SetProperty ( kXMP_NS_DM, "audioCompressor", prop, kXMP_DeleteExisting );
containsXMP = true;
}
}
}
} // AudioFormat
// Duration
if ( digestFound || (! xmpObjPtr->DoesPropertyExist ( kXMP_NS_DM, "duration" )) ) {
std::string durationFrames;
legacyProp = rootElem->GetNamedElement ( legacyNS, "Duration" );
if ( legacyProp != 0 ) {
XMP_StringPtr durationValue = legacyProp->GetAttrValue ( "value" );
if ( durationValue != 0 ) durationFrames = durationValue;
}
std::string timeScale = GetTimeScale ( formatFPS );
if ( (! timeScale.empty()) && (! durationFrames.empty()) ) {
xmpObjPtr->DeleteProperty ( kXMP_NS_DM, "duration" );
xmpObjPtr->SetStructField ( kXMP_NS_DM, "duration", kXMP_NS_DM, "value", durationFrames );
xmpObjPtr->SetStructField ( kXMP_NS_DM, "duration", kXMP_NS_DM, "scale", timeScale );
containsXMP = true;
}
}
legacyContext = rootElem->GetNamedElement ( legacyNS, "Device" );
if ( legacyContext != 0 ) {
std::string model;
// manufacturer string
XMP_StringPtr manufacturer = legacyContext->GetAttrValue ( "manufacturer" );
if ( manufacturer != 0 ) {
model += manufacturer;
}
// model string
XMP_StringPtr modelName = legacyContext->GetAttrValue ( "modelName" );
if ( modelName != 0 ) {
if ( model.size() > 0 ) {
model += " ";
}
model += modelName;
}
// For the dm::cameraModel property, concat the make and model.
if ( digestFound || (! xmpObjPtr->DoesPropertyExist ( kXMP_NS_DM, "cameraModel" )) ) {
if ( model.size() != 0 ) {
xmpObjPtr->SetProperty ( kXMP_NS_DM, "cameraModel", model, kXMP_DeleteExisting );
containsXMP = true;
}
}
// EXIF Model
if ( digestFound || (! xmpObjPtr->DoesPropertyExist ( kXMP_NS_TIFF, "Model" )) ) {
xmpObjPtr->SetProperty ( kXMP_NS_TIFF, "Model", modelName, kXMP_DeleteExisting );
}
// EXIF Make
if ( digestFound || (! xmpObjPtr->DoesPropertyExist ( kXMP_NS_TIFF, "Make" )) ) {
xmpObjPtr->SetProperty ( kXMP_NS_TIFF, "Make", manufacturer, kXMP_DeleteExisting );
}
// EXIF-AUX Serial number
XMP_StringPtr serialNumber = legacyContext->GetAttrValue ( "serialNo" );
if ( serialNumber != 0 && (digestFound || (! xmpObjPtr->DoesPropertyExist ( kXMP_NS_EXIF_Aux, "SerialNumber" ))) ) {
xmpObjPtr->SetProperty ( kXMP_NS_EXIF_Aux, "SerialNumber", serialNumber, kXMP_DeleteExisting );
}
}
return containsXMP;
} // XDCAM_Support::GetLegacyMetadata
// =================================================================================================
// XDCAM_Support::SetLegacyMetadata
// ================================
bool XDCAM_Support::SetLegacyMetadata ( XML_Node * clipMetadata,
SXMPMeta * xmpObj,
XMP_StringPtr legacyNS )
{
bool updateLegacyXML = false;
bool xmpFound = false;
std::string xmpValue;
XML_Node * xmlNode = 0;
xmpFound = xmpObj->GetProperty ( kXMP_NS_DC, "title", &xmpValue, 0 );
if ( xmpFound ) {
xmlNode = CreateChildElement ( clipMetadata, "Title", legacyNS, 3 );
if ( xmpValue != xmlNode->GetLeafContentValue() ) {
xmlNode->SetLeafContentValue ( xmpValue.c_str() );
updateLegacyXML = true;
}
}
xmpFound = xmpObj->GetArrayItem ( kXMP_NS_DC, "creator", 1, &xmpValue, 0 );
if ( xmpFound ) {
xmlNode = CreateChildElement ( clipMetadata, "Creator", legacyNS, 3 );
XMP_StringPtr creatorName = xmlNode->GetAttrValue ( "name" );
if ( creatorName == 0 ) creatorName = "";
if ( xmpValue != creatorName ) {
xmlNode->SetAttrValue ( "name", xmpValue.c_str() );
updateLegacyXML = true;
}
}
xmpFound = xmpObj->GetProperty ( kXMP_NS_DC, "description", &xmpValue, 0 );
if ( xmpFound ) {
xmlNode = CreateChildElement ( clipMetadata, "Description", legacyNS, 3 );
if ( xmpValue != xmlNode->GetLeafContentValue() ) {
// description in non real time metadata is limited to 2047 bytes
if ( xmpValue.size() > 2047 ) xmpValue.resize ( 2047 );
xmlNode->SetLeafContentValue ( xmpValue.c_str() );
updateLegacyXML = true;
}
}
return updateLegacyXML;
} // XDCAM_Support::SetLegacyMetadata
// =================================================================================================
| [
"[email protected]"
] | |
ca14307993af4d577383704ad01595d9ffff66a4 | 9efe1e8560f8510f97d354d8c222845572d6b4d0 | /arduino/timer/NexaCtrl.h | 1629777308ab1bf8fe7d758b44b30f6fe40e4a82 | [] | no_license | erdtman/tempsensortest | 4b0203f419e25a94d1e865524067be7717a02150 | 98b5cbd587cc07b42a68aeacb630b0a80d33b975 | refs/heads/master | 2023-02-20T02:40:41.102271 | 2023-01-15T17:02:07 | 2023-01-15T17:02:07 | 62,450,008 | 1 | 0 | null | 2023-02-12T14:53:04 | 2016-07-02T12:34:39 | JavaScript | UTF-8 | C++ | false | false | 1,655 | h | #ifndef NexaCtrl_h
#define NexaCtrl_h
#include "Arduino.h"
class NexaCtrl
{
public:
NexaCtrl(unsigned int tx_pin, unsigned int rx_pin, unsigned int led_pin);
NexaCtrl(unsigned int tx_pin, unsigned int rx_pin);
void DeviceOn(unsigned long controller_id, unsigned int device_id);
void DeviceOff(unsigned long controller_id, unsigned int device_id);
void DeviceDim(unsigned long controller_id, unsigned int device_id, unsigned int dim_level);
void GroupOn(unsigned long controller_id);
void GroupOff(unsigned long controller_id);
private:
int tx_pin_;
int rx_pin_;
int led_pin_;
unsigned long controller_id_;
int* low_pulse_array;
const static int kPulseHigh;
const static int kPulseLow0;
const static int kPulseLow1;
const static int kLowPulseLength;
const static int kControllerIdOffset;
const static int kControllerIdLength;
const static int kGroupFlagOffset;
const static int kOnFlagOffset;
const static int kDeviceIdOffset;
const static int kDeviceIdLength;
const static int kDimOffset;
const static int kDimLength;
void SetBit(unsigned int bit_index, bool value);
void SetDeviceBits(unsigned int device_id);
void SetControllerBits(unsigned long controller_id);
void SendPair(bool on);
void Transmit(int pulse_length);
void TransmitLatch1(void);
void TransmitLatch2(void);
};
void itob(bool *bits, unsigned long, int length);
unsigned long power2(int power);
#endif /* NexaCtrl_h */
| [
"[email protected]"
] | |
47b2eaaf020116db5b6915bfeed17e01f9a568da | 5670e2b2a340143c0e31a1ab43d3752dbf7308b1 | /src/SettingsProvider.h | e5986083afc99b179b3db06cd6a13fb506cc0d8f | [] | no_license | lnzero1dev/meta | 402b97883748db2a8a6ba59abd591d722ed182cc | 69703377d6adf9bf16f3eb635f015feea3cf737c | refs/heads/master | 2021-01-14T04:14:08.543251 | 2020-04-18T16:23:28 | 2020-04-18T16:23:28 | 242,595,663 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,098 | h | #pragma once
#include "Settings.h"
#include <AK/HashMap.h>
#include <AK/JsonObject.h>
#include <AK/Types.h>
#include <LibCore/Object.h>
enum class SettingsPriority : u8 {
Undefined = 0,
User, // highes priority
Project // lowest priority
};
namespace AK {
template<>
struct Traits<SettingsPriority> : public GenericTraits<SettingsPriority> {
static constexpr bool is_trivial() { return true; }
static unsigned hash(SettingsPriority i) { return int_hash((int)i); }
static void dump(SettingsPriority i) { kprintf("%d", (int)i); }
};
}
class SettingsProvider : public Core::Object {
C_OBJECT(SettingsProvider)
public:
static SettingsProvider& the();
~SettingsProvider();
bool add(const String& filename, SettingsPriority priority, const JsonObject& settings_object);
Optional<SettingsParameter> get(const String& parameter);
Optional<String> get_string(const String& parameter);
void list_all();
private:
SettingsProvider();
HashMap<SettingsPriority, Settings*> m_settings;
Vector<SettingsPriority> m_settings_sorted_keys;
};
| [
"[email protected]"
] | |
21a1e9af84eccf438ba37f4df3255b342d91b520 | 6f49cc2d5112a6b97f82e7828f59b201ea7ec7b9 | /dbswdbe/WdbeAMMachineMakefile.cpp | d92184640139d5bd8c7934a58caf903bf21567a5 | [
"MIT"
] | permissive | mpsitech/wdbe-WhizniumDBE | d3702800d6e5510e41805d105228d8dd8b251d7a | 89ef36b4c86384429f1e707e5fa635f643e81240 | refs/heads/master | 2022-09-28T10:27:03.683192 | 2022-09-18T22:04:37 | 2022-09-18T22:04:37 | 282,705,449 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,420 | cpp | /**
* \file WdbeAMMachineMakefile.cpp
* database access for table TblWdbeAMMachineMakefile (implementation)
* \copyright (C) 2016-2020 MPSI Technologies GmbH
* \author Alexander Wirthmueller (auto-generation)
* \date created: 5 Dec 2020
*/
// IP header --- ABOVE
#include "WdbeAMMachineMakefile.h"
using namespace std;
using namespace Sbecore;
/******************************************************************************
class WdbeAMMachineMakefile
******************************************************************************/
WdbeAMMachineMakefile::WdbeAMMachineMakefile(
const ubigint ref
, const ubigint refWdbeMMachine
, const string x1SrefKTag
, const string Val
) {
this->ref = ref;
this->refWdbeMMachine = refWdbeMMachine;
this->x1SrefKTag = x1SrefKTag;
this->Val = Val;
};
bool WdbeAMMachineMakefile::operator==(
const WdbeAMMachineMakefile& comp
) {
return false;
};
bool WdbeAMMachineMakefile::operator!=(
const WdbeAMMachineMakefile& comp
) {
return(!operator==(comp));
};
/******************************************************************************
class ListWdbeAMMachineMakefile
******************************************************************************/
ListWdbeAMMachineMakefile::ListWdbeAMMachineMakefile() {
};
ListWdbeAMMachineMakefile::ListWdbeAMMachineMakefile(
const ListWdbeAMMachineMakefile& src
) {
nodes.resize(src.nodes.size(), NULL);
for (unsigned int i = 0; i < nodes.size(); i++) nodes[i] = new WdbeAMMachineMakefile(*(src.nodes[i]));
};
ListWdbeAMMachineMakefile::~ListWdbeAMMachineMakefile() {
clear();
};
void ListWdbeAMMachineMakefile::clear() {
for (unsigned int i = 0; i < nodes.size(); i++) if (nodes[i]) delete nodes[i];
nodes.resize(0);
};
unsigned int ListWdbeAMMachineMakefile::size() const {
return(nodes.size());
};
void ListWdbeAMMachineMakefile::append(
WdbeAMMachineMakefile* rec
) {
nodes.push_back(rec);
};
WdbeAMMachineMakefile* ListWdbeAMMachineMakefile::operator[](
const uint ix
) {
WdbeAMMachineMakefile* retval = NULL;
if (ix < size()) retval = nodes[ix];
return retval;
};
ListWdbeAMMachineMakefile& ListWdbeAMMachineMakefile::operator=(
const ListWdbeAMMachineMakefile& src
) {
WdbeAMMachineMakefile* rec;
if (&src != this) {
clear();
for (unsigned int i = 0; i < src.size(); i++) {
rec = new WdbeAMMachineMakefile(*(src.nodes[i]));
nodes.push_back(rec);
};
};
return(*this);
};
bool ListWdbeAMMachineMakefile::operator==(
const ListWdbeAMMachineMakefile& comp
) {
bool retval;
retval = (size() == comp.size());
if (retval) {
for (unsigned int i = 0; i < size(); i++) {
retval = ( *(nodes[i]) == *(comp.nodes[i]) );
if (!retval) break;
};
};
return retval;
};
bool ListWdbeAMMachineMakefile::operator!=(
const ListWdbeAMMachineMakefile& comp
) {
return(!operator==(comp));
};
/******************************************************************************
class TblWdbeAMMachineMakefile
******************************************************************************/
TblWdbeAMMachineMakefile::TblWdbeAMMachineMakefile() {
};
TblWdbeAMMachineMakefile::~TblWdbeAMMachineMakefile() {
};
bool TblWdbeAMMachineMakefile::loadRecBySQL(
const string& sqlstr
, WdbeAMMachineMakefile** rec
) {
return false;
};
ubigint TblWdbeAMMachineMakefile::loadRstBySQL(
const string& sqlstr
, const bool append
, ListWdbeAMMachineMakefile& rst
) {
return 0;
};
ubigint TblWdbeAMMachineMakefile::insertRec(
WdbeAMMachineMakefile* rec
) {
return 0;
};
ubigint TblWdbeAMMachineMakefile::insertNewRec(
WdbeAMMachineMakefile** rec
, const ubigint refWdbeMMachine
, const string x1SrefKTag
, const string Val
) {
ubigint retval = 0;
WdbeAMMachineMakefile* _rec = NULL;
_rec = new WdbeAMMachineMakefile(0, refWdbeMMachine, x1SrefKTag, Val);
insertRec(_rec);
retval = _rec->ref;
if (rec == NULL) delete _rec;
else *rec = _rec;
return retval;
};
ubigint TblWdbeAMMachineMakefile::appendNewRecToRst(
ListWdbeAMMachineMakefile& rst
, WdbeAMMachineMakefile** rec
, const ubigint refWdbeMMachine
, const string x1SrefKTag
, const string Val
) {
ubigint retval = 0;
WdbeAMMachineMakefile* _rec = NULL;
retval = insertNewRec(&_rec, refWdbeMMachine, x1SrefKTag, Val);
rst.nodes.push_back(_rec);
if (rec != NULL) *rec = _rec;
return retval;
};
void TblWdbeAMMachineMakefile::insertRst(
ListWdbeAMMachineMakefile& rst
, bool transact
) {
};
void TblWdbeAMMachineMakefile::updateRec(
WdbeAMMachineMakefile* rec
) {
};
void TblWdbeAMMachineMakefile::updateRst(
ListWdbeAMMachineMakefile& rst
, bool transact
) {
};
void TblWdbeAMMachineMakefile::removeRecByRef(
ubigint ref
) {
};
bool TblWdbeAMMachineMakefile::loadRecByRef(
ubigint ref
, WdbeAMMachineMakefile** rec
) {
return false;
};
ubigint TblWdbeAMMachineMakefile::loadRefsByMch(
ubigint refWdbeMMachine
, const bool append
, vector<ubigint>& refs
) {
return 0;
};
ubigint TblWdbeAMMachineMakefile::loadRstByMch(
ubigint refWdbeMMachine
, const bool append
, ListWdbeAMMachineMakefile& rst
) {
return 0;
};
bool TblWdbeAMMachineMakefile::loadValByMchTag(
ubigint refWdbeMMachine
, string x1SrefKTag
, string& Val
) {
return false;
};
ubigint TblWdbeAMMachineMakefile::loadRstByRefs(
vector<ubigint>& refs
, const bool append
, ListWdbeAMMachineMakefile& rst
) {
ubigint numload = 0;
WdbeAMMachineMakefile* rec = NULL;
if (!append) rst.clear();
for (unsigned int i = 0; i < refs.size(); i++) if (loadRecByRef(refs[i], &rec)) {
rst.nodes.push_back(rec);
numload++;
};
return numload;
};
#if defined(SBECORE_MAR) || defined(SBECORE_MY)
/******************************************************************************
class MyTblWdbeAMMachineMakefile
******************************************************************************/
MyTblWdbeAMMachineMakefile::MyTblWdbeAMMachineMakefile() :
TblWdbeAMMachineMakefile()
, MyTable()
{
stmtInsertRec = NULL;
stmtUpdateRec = NULL;
stmtRemoveRecByRef = NULL;
};
MyTblWdbeAMMachineMakefile::~MyTblWdbeAMMachineMakefile() {
if (stmtInsertRec) delete(stmtInsertRec);
if (stmtUpdateRec) delete(stmtUpdateRec);
if (stmtRemoveRecByRef) delete(stmtRemoveRecByRef);
};
void MyTblWdbeAMMachineMakefile::initStatements() {
stmtInsertRec = createStatement("INSERT INTO TblWdbeAMMachineMakefile (refWdbeMMachine, x1SrefKTag, Val) VALUES (?,?,?)", false);
stmtUpdateRec = createStatement("UPDATE TblWdbeAMMachineMakefile SET refWdbeMMachine = ?, x1SrefKTag = ?, Val = ? WHERE ref = ?", false);
stmtRemoveRecByRef = createStatement("DELETE FROM TblWdbeAMMachineMakefile WHERE ref = ?", false);
};
bool MyTblWdbeAMMachineMakefile::loadRecBySQL(
const string& sqlstr
, WdbeAMMachineMakefile** rec
) {
MYSQL_RES* dbresult; MYSQL_ROW dbrow;
WdbeAMMachineMakefile* _rec = NULL;
bool retval = false;
if (mysql_real_query(dbs, sqlstr.c_str(), sqlstr.length())) {
string dbms = "MyTblWdbeAMMachineMakefile::loadRecBySQL() / " + string(mysql_error(dbs));
throw SbeException(SbeException::DBS_QUERY, {{"dbms",dbms}, {"sql",sqlstr}});
};
dbresult = mysql_store_result(dbs);
if (!dbresult) {
string dbms = "MyTblWdbeAMMachineMakefile::loadRecBySQL() / store result / " + string(mysql_error(dbs));
throw SbeException(SbeException::DBS_QUERY, {{"dbms",dbms}, {"sql",sqlstr}});
};
if (mysql_num_rows(dbresult) == 1) {
dbrow = mysql_fetch_row(dbresult);
unsigned long* dblengths = mysql_fetch_lengths(dbresult);
_rec = new WdbeAMMachineMakefile();
if (dbrow[0]) _rec->ref = atoll((char*) dbrow[0]); else _rec->ref = 0;
if (dbrow[1]) _rec->refWdbeMMachine = atoll((char*) dbrow[1]); else _rec->refWdbeMMachine = 0;
if (dbrow[2]) _rec->x1SrefKTag.assign(dbrow[2], dblengths[2]); else _rec->x1SrefKTag = "";
if (dbrow[3]) _rec->Val.assign(dbrow[3], dblengths[3]); else _rec->Val = "";
retval = true;
};
mysql_free_result(dbresult);
*rec = _rec;
return retval;
};
ubigint MyTblWdbeAMMachineMakefile::loadRstBySQL(
const string& sqlstr
, const bool append
, ListWdbeAMMachineMakefile& rst
) {
MYSQL_RES* dbresult; MYSQL_ROW dbrow; ubigint numrow; ubigint numread = 0;
WdbeAMMachineMakefile* rec;
if (!append) rst.clear();
if (mysql_real_query(dbs, sqlstr.c_str(), sqlstr.length())) {
string dbms = "MyTblWdbeAMMachineMakefile::loadRstBySQL() / " + string(mysql_error(dbs));
throw SbeException(SbeException::DBS_QUERY, {{"dbms",dbms}, {"sql",sqlstr}});
};
dbresult = mysql_store_result(dbs);
if (!dbresult) {
string dbms = "MyTblWdbeAMMachineMakefile::loadRstBySQL() / store result / " + string(mysql_error(dbs));
throw SbeException(SbeException::DBS_QUERY, {{"dbms",dbms}, {"sql",sqlstr}});
};
numrow = mysql_num_rows(dbresult);
if (numrow > 0) {
rst.nodes.reserve(rst.nodes.size() + numrow);
while (numread < numrow) {
dbrow = mysql_fetch_row(dbresult);
unsigned long* dblengths = mysql_fetch_lengths(dbresult);
rec = new WdbeAMMachineMakefile();
if (dbrow[0]) rec->ref = atoll((char*) dbrow[0]); else rec->ref = 0;
if (dbrow[1]) rec->refWdbeMMachine = atoll((char*) dbrow[1]); else rec->refWdbeMMachine = 0;
if (dbrow[2]) rec->x1SrefKTag.assign(dbrow[2], dblengths[2]); else rec->x1SrefKTag = "";
if (dbrow[3]) rec->Val.assign(dbrow[3], dblengths[3]); else rec->Val = "";
rst.nodes.push_back(rec);
numread++;
};
};
mysql_free_result(dbresult);
return(numread);
};
ubigint MyTblWdbeAMMachineMakefile::insertRec(
WdbeAMMachineMakefile* rec
) {
unsigned long l[3]; my_bool n[3]; my_bool e[3];
l[1] = rec->x1SrefKTag.length();
l[2] = rec->Val.length();
MYSQL_BIND bind[] = {
bindUbigint(&rec->refWdbeMMachine,&(l[0]),&(n[0]),&(e[0])),
bindCstring((char*) (rec->x1SrefKTag.c_str()),&(l[1]),&(n[1]),&(e[1])),
bindCstring((char*) (rec->Val.c_str()),&(l[2]),&(n[2]),&(e[2]))
};
if (mysql_stmt_bind_param(stmtInsertRec, bind)) {
string dbms = "MyTblWdbeAMMachineMakefile::insertRec() / bind / " + string(mysql_error(dbs));
throw SbeException(SbeException::DBS_STMTEXEC, {{"dbms",dbms}});
};
if (mysql_stmt_execute(stmtInsertRec)) {
string dbms = "MyTblWdbeAMMachineMakefile::insertRec() / " + string(mysql_error(dbs));
throw SbeException(SbeException::DBS_STMTEXEC, {{"dbms",dbms}});
};
rec->ref = mysql_stmt_insert_id(stmtInsertRec);
return rec->ref;
};
void MyTblWdbeAMMachineMakefile::insertRst(
ListWdbeAMMachineMakefile& rst
, bool transact
) {
if (transact) begin();
for (unsigned int i = 0; i < rst.nodes.size(); i++) insertRec(rst.nodes[i]);
if (transact) if (!commit()) for (unsigned int i=0;i<rst.nodes.size();i++) insertRec(rst.nodes[i]);
};
void MyTblWdbeAMMachineMakefile::updateRec(
WdbeAMMachineMakefile* rec
) {
unsigned long l[4]; my_bool n[4]; my_bool e[4];
l[1] = rec->x1SrefKTag.length();
l[2] = rec->Val.length();
MYSQL_BIND bind[] = {
bindUbigint(&rec->refWdbeMMachine,&(l[0]),&(n[0]),&(e[0])),
bindCstring((char*) (rec->x1SrefKTag.c_str()),&(l[1]),&(n[1]),&(e[1])),
bindCstring((char*) (rec->Val.c_str()),&(l[2]),&(n[2]),&(e[2])),
bindUbigint(&rec->ref,&(l[3]),&(n[3]),&(e[3]))
};
if (mysql_stmt_bind_param(stmtUpdateRec, bind)) {
string dbms = "MyTblWdbeAMMachineMakefile::updateRec() / bind / " + string(mysql_error(dbs));
throw SbeException(SbeException::DBS_STMTEXEC, {{"dbms",dbms}});
};
if (mysql_stmt_execute(stmtUpdateRec)) {
string dbms = "MyTblWdbeAMMachineMakefile::updateRec() / " + string(mysql_error(dbs));
throw SbeException(SbeException::DBS_STMTEXEC, {{"dbms",dbms}});
};
};
void MyTblWdbeAMMachineMakefile::updateRst(
ListWdbeAMMachineMakefile& rst
, bool transact
) {
if (transact) begin();
for (unsigned int i = 0; i < rst.nodes.size(); i++) updateRec(rst.nodes[i]);
if (transact) if (!commit()) for (unsigned int i = 0; i < rst.nodes.size(); i++) updateRec(rst.nodes[i]);
};
void MyTblWdbeAMMachineMakefile::removeRecByRef(
ubigint ref
) {
unsigned long l; my_bool n; my_bool e;
MYSQL_BIND bind = bindUbigint(&ref,&l,&n,&e);
if (mysql_stmt_bind_param(stmtRemoveRecByRef, &bind)) {
string dbms = "MyTblWdbeAMMachineMakefile::removeRecByRef() / bind / " + string(mysql_error(dbs));
throw SbeException(SbeException::DBS_STMTEXEC, {{"dbms",dbms}});
};
if (mysql_stmt_execute(stmtRemoveRecByRef)) {
string dbms = "MyTblWdbeAMMachineMakefile::removeRecByRef() / " + string(mysql_error(dbs));
throw SbeException(SbeException::DBS_STMTEXEC, {{"dbms",dbms}});
};
};
bool MyTblWdbeAMMachineMakefile::loadRecByRef(
ubigint ref
, WdbeAMMachineMakefile** rec
) {
if (ref == 0) {
*rec = NULL;
return false;
};
return loadRecBySQL("SELECT * FROM TblWdbeAMMachineMakefile WHERE ref = " + to_string(ref), rec);
};
ubigint MyTblWdbeAMMachineMakefile::loadRefsByMch(
ubigint refWdbeMMachine
, const bool append
, vector<ubigint>& refs
) {
return loadRefsBySQL("SELECT ref FROM TblWdbeAMMachineMakefile WHERE refWdbeMMachine = " + to_string(refWdbeMMachine) + "", append, refs);
};
ubigint MyTblWdbeAMMachineMakefile::loadRstByMch(
ubigint refWdbeMMachine
, const bool append
, ListWdbeAMMachineMakefile& rst
) {
return loadRstBySQL("SELECT ref, refWdbeMMachine, x1SrefKTag, Val FROM TblWdbeAMMachineMakefile WHERE refWdbeMMachine = " + to_string(refWdbeMMachine) + " ORDER BY x1SrefKTag ASC", append, rst);
};
bool MyTblWdbeAMMachineMakefile::loadValByMchTag(
ubigint refWdbeMMachine
, string x1SrefKTag
, string& Val
) {
return loadStringBySQL("SELECT Val FROM TblWdbeAMMachineMakefile WHERE refWdbeMMachine = " + to_string(refWdbeMMachine) + " AND x1SrefKTag = '" + x1SrefKTag + "'", Val);
};
#endif
#if defined(SBECORE_PG)
/******************************************************************************
class PgTblWdbeAMMachineMakefile
******************************************************************************/
PgTblWdbeAMMachineMakefile::PgTblWdbeAMMachineMakefile() :
TblWdbeAMMachineMakefile()
, PgTable()
{
};
PgTblWdbeAMMachineMakefile::~PgTblWdbeAMMachineMakefile() {
// TODO: run SQL DEALLOCATE to free prepared statements
};
void PgTblWdbeAMMachineMakefile::initStatements() {
createStatement("TblWdbeAMMachineMakefile_insertRec", "INSERT INTO TblWdbeAMMachineMakefile (refWdbeMMachine, x1SrefKTag, Val) VALUES ($1,$2,$3) RETURNING ref", 3);
createStatement("TblWdbeAMMachineMakefile_updateRec", "UPDATE TblWdbeAMMachineMakefile SET refWdbeMMachine = $1, x1SrefKTag = $2, Val = $3 WHERE ref = $4", 4);
createStatement("TblWdbeAMMachineMakefile_removeRecByRef", "DELETE FROM TblWdbeAMMachineMakefile WHERE ref = $1", 1);
createStatement("TblWdbeAMMachineMakefile_loadRecByRef", "SELECT ref, refWdbeMMachine, x1SrefKTag, Val FROM TblWdbeAMMachineMakefile WHERE ref = $1", 1);
createStatement("TblWdbeAMMachineMakefile_loadRefsByMch", "SELECT ref FROM TblWdbeAMMachineMakefile WHERE refWdbeMMachine = $1", 1);
createStatement("TblWdbeAMMachineMakefile_loadRstByMch", "SELECT ref, refWdbeMMachine, x1SrefKTag, Val FROM TblWdbeAMMachineMakefile WHERE refWdbeMMachine = $1 ORDER BY x1SrefKTag ASC", 1);
createStatement("TblWdbeAMMachineMakefile_loadValByMchTag", "SELECT Val FROM TblWdbeAMMachineMakefile WHERE refWdbeMMachine = $1 AND x1SrefKTag = $2", 2);
};
bool PgTblWdbeAMMachineMakefile::loadRec(
PGresult* res
, WdbeAMMachineMakefile** rec
) {
char* ptr;
WdbeAMMachineMakefile* _rec = NULL;
bool retval = false;
if (PQntuples(res) == 1) {
_rec = new WdbeAMMachineMakefile();
int fnum[] = {
PQfnumber(res, "ref"),
PQfnumber(res, "refwdbemmachine"),
PQfnumber(res, "x1srefktag"),
PQfnumber(res, "val")
};
ptr = PQgetvalue(res, 0, fnum[0]); _rec->ref = atoll(ptr);
ptr = PQgetvalue(res, 0, fnum[1]); _rec->refWdbeMMachine = atoll(ptr);
ptr = PQgetvalue(res, 0, fnum[2]); _rec->x1SrefKTag.assign(ptr, PQgetlength(res, 0, fnum[2]));
ptr = PQgetvalue(res, 0, fnum[3]); _rec->Val.assign(ptr, PQgetlength(res, 0, fnum[3]));
retval = true;
};
PQclear(res);
*rec = _rec;
return retval;
};
ubigint PgTblWdbeAMMachineMakefile::loadRst(
PGresult* res
, const bool append
, ListWdbeAMMachineMakefile& rst
) {
ubigint numrow; ubigint numread = 0; char* ptr;
WdbeAMMachineMakefile* rec;
if (!append) rst.clear();
numrow = PQntuples(res);
if (numrow > 0) {
rst.nodes.reserve(rst.nodes.size() + numrow);
int fnum[] = {
PQfnumber(res, "ref"),
PQfnumber(res, "refwdbemmachine"),
PQfnumber(res, "x1srefktag"),
PQfnumber(res, "val")
};
while (numread < numrow) {
rec = new WdbeAMMachineMakefile();
ptr = PQgetvalue(res, numread, fnum[0]); rec->ref = atoll(ptr);
ptr = PQgetvalue(res, numread, fnum[1]); rec->refWdbeMMachine = atoll(ptr);
ptr = PQgetvalue(res, numread, fnum[2]); rec->x1SrefKTag.assign(ptr, PQgetlength(res, numread, fnum[2]));
ptr = PQgetvalue(res, numread, fnum[3]); rec->Val.assign(ptr, PQgetlength(res, numread, fnum[3]));
rst.nodes.push_back(rec);
numread++;
};
};
PQclear(res);
return numread;
};
bool PgTblWdbeAMMachineMakefile::loadRecByStmt(
const string& srefStmt
, const unsigned int N
, const char** vals
, const int* l
, const int* f
, WdbeAMMachineMakefile** rec
) {
PGresult* res;
res = PQexecPrepared(dbs, srefStmt.c_str(), N, vals, l, f, 0);
if (PQresultStatus(res) != PGRES_TUPLES_OK) {
string dbms = "PgTblWdbeAMMachineMakefile::loadRecByStmt(" + srefStmt + ") / " + string(PQerrorMessage(dbs));
throw SbeException(SbeException::DBS_STMTEXEC, {{"dbms",dbms}});
};
return loadRec(res, rec);
};
ubigint PgTblWdbeAMMachineMakefile::loadRstByStmt(
const string& srefStmt
, const unsigned int N
, const char** vals
, const int* l
, const int* f
, const bool append
, ListWdbeAMMachineMakefile& rst
) {
PGresult* res;
res = PQexecPrepared(dbs, srefStmt.c_str(), N, vals, l, f, 0);
if (PQresultStatus(res) != PGRES_TUPLES_OK) {
string dbms = "PgTblWdbeAMMachineMakefile::loadRstByStmt(" + srefStmt + ") / " + string(PQerrorMessage(dbs));
throw SbeException(SbeException::DBS_STMTEXEC, {{"dbms",dbms}});
};
return loadRst(res, append, rst);
};
bool PgTblWdbeAMMachineMakefile::loadRecBySQL(
const string& sqlstr
, WdbeAMMachineMakefile** rec
) {
PGresult* res;
res = PQexec(dbs, sqlstr.c_str());
if (PQresultStatus(res) != PGRES_TUPLES_OK) {
string dbms = "PgTblWdbeAMMachineMakefile::loadRecBySQL() / " + string(PQerrorMessage(dbs));
throw SbeException(SbeException::DBS_QUERY, {{"dbms",dbms}, {"sql",sqlstr}});
};
return loadRec(res, rec);
};
ubigint PgTblWdbeAMMachineMakefile::loadRstBySQL(
const string& sqlstr
, const bool append
, ListWdbeAMMachineMakefile& rst
) {
PGresult* res;
res = PQexec(dbs, sqlstr.c_str());
if (PQresultStatus(res) != PGRES_TUPLES_OK) {
string dbms = "PgTblWdbeAMMachineMakefile::loadRstBySQL() / " + string(PQerrorMessage(dbs));
throw SbeException(SbeException::DBS_QUERY, {{"dbms",dbms}, {"sql",sqlstr}});
};
return loadRst(res, append, rst);
};
ubigint PgTblWdbeAMMachineMakefile::insertRec(
WdbeAMMachineMakefile* rec
) {
PGresult* res;
char* ptr;
ubigint _refWdbeMMachine = htonl64(rec->refWdbeMMachine);
const char* vals[] = {
(char*) &_refWdbeMMachine,
rec->x1SrefKTag.c_str(),
rec->Val.c_str()
};
const int l[] = {
sizeof(ubigint),
0,
0
};
const int f[] = {1, 0, 0};
res = PQexecPrepared(dbs, "TblWdbeAMMachineMakefile_insertRec", 3, vals, l, f, 0);
if (PQresultStatus(res) != PGRES_TUPLES_OK) {
string dbms = "PgTblWdbeAMMachineMakefile::insertRec() / " + string(PQerrorMessage(dbs));
throw SbeException(SbeException::DBS_STMTEXEC, {{"dbms",dbms}});
};
ptr = PQgetvalue(res, 0, 0); rec->ref = atoll(ptr);
PQclear(res);
return rec->ref;
};
void PgTblWdbeAMMachineMakefile::insertRst(
ListWdbeAMMachineMakefile& rst
, bool transact
) {
if (transact) begin();
for (unsigned int i = 0; i < rst.nodes.size(); i++) insertRec(rst.nodes[i]);
if (transact) if (!commit()) for (unsigned int i = 0; i < rst.nodes.size(); i++) insertRec(rst.nodes[i]);
};
void PgTblWdbeAMMachineMakefile::updateRec(
WdbeAMMachineMakefile* rec
) {
PGresult* res;
ubigint _refWdbeMMachine = htonl64(rec->refWdbeMMachine);
ubigint _ref = htonl64(rec->ref);
const char* vals[] = {
(char*) &_refWdbeMMachine,
rec->x1SrefKTag.c_str(),
rec->Val.c_str(),
(char*) &_ref
};
const int l[] = {
sizeof(ubigint),
0,
0,
sizeof(ubigint)
};
const int f[] = {1, 0, 0, 1};
res = PQexecPrepared(dbs, "TblWdbeAMMachineMakefile_updateRec", 4, vals, l, f, 0);
if (PQresultStatus(res) != PGRES_COMMAND_OK) {
string dbms = "PgTblWdbeAMMachineMakefile::updateRec() / " + string(PQerrorMessage(dbs));
throw SbeException(SbeException::DBS_STMTEXEC, {{"dbms",dbms}});
};
PQclear(res);
};
void PgTblWdbeAMMachineMakefile::updateRst(
ListWdbeAMMachineMakefile& rst
, bool transact
) {
if (transact) begin();
for (unsigned int i = 0; i < rst.nodes.size(); i++) updateRec(rst.nodes[i]);
if (transact) if (!commit()) for (unsigned int i = 0; i < rst.nodes.size(); i++) updateRec(rst.nodes[i]);
};
void PgTblWdbeAMMachineMakefile::removeRecByRef(
ubigint ref
) {
PGresult* res;
ubigint _ref = htonl64(ref);
const char* vals[] = {
(char*) &_ref
};
const int l[] = {
sizeof(ubigint)
};
const int f[] = {1};
res = PQexecPrepared(dbs, "TblWdbeAMMachineMakefile_removeRecByRef", 1, vals, l, f, 0);
if (PQresultStatus(res) != PGRES_COMMAND_OK) {
string dbms = "PgTblWdbeAMMachineMakefile::removeRecByRef() / " + string(PQerrorMessage(dbs));
throw SbeException(SbeException::DBS_STMTEXEC, {{"dbms",dbms}});
};
PQclear(res);
};
bool PgTblWdbeAMMachineMakefile::loadRecByRef(
ubigint ref
, WdbeAMMachineMakefile** rec
) {
if (ref == 0) {
*rec = NULL;
return false;
};
ubigint _ref = htonl64(ref);
const char* vals[] = {
(char*) &_ref
};
const int l[] = {
sizeof(ubigint)
};
const int f[] = {1};
return loadRecByStmt("TblWdbeAMMachineMakefile_loadRecByRef", 1, vals, l, f, rec);
};
ubigint PgTblWdbeAMMachineMakefile::loadRefsByMch(
ubigint refWdbeMMachine
, const bool append
, vector<ubigint>& refs
) {
ubigint _refWdbeMMachine = htonl64(refWdbeMMachine);
const char* vals[] = {
(char*) &_refWdbeMMachine
};
const int l[] = {
sizeof(ubigint)
};
const int f[] = {1};
return loadRefsByStmt("TblWdbeAMMachineMakefile_loadRefsByMch", 1, vals, l, f, append, refs);
};
ubigint PgTblWdbeAMMachineMakefile::loadRstByMch(
ubigint refWdbeMMachine
, const bool append
, ListWdbeAMMachineMakefile& rst
) {
ubigint _refWdbeMMachine = htonl64(refWdbeMMachine);
const char* vals[] = {
(char*) &_refWdbeMMachine
};
const int l[] = {
sizeof(ubigint)
};
const int f[] = {1};
return loadRstByStmt("TblWdbeAMMachineMakefile_loadRstByMch", 1, vals, l, f, append, rst);
};
bool PgTblWdbeAMMachineMakefile::loadValByMchTag(
ubigint refWdbeMMachine
, string x1SrefKTag
, string& Val
) {
ubigint _refWdbeMMachine = htonl64(refWdbeMMachine);
const char* vals[] = {
(char*) &_refWdbeMMachine,
x1SrefKTag.c_str()
};
const int l[] = {
sizeof(ubigint),
0
};
const int f[] = {1,0};
return loadStringByStmt("TblWdbeAMMachineMakefile_loadValByMchTag", 2, vals, l, f, Val);
};
#endif
| [
"[email protected]"
] | |
e6392461315217f7f28b033a358aa4ed58a08c69 | 7f03ed8636a646d4d835fc5030df61f68681153e | /dbank.cpp | 8c3a1c2ce93237fb758768f778096d7782dddbce | [] | no_license | Dhr11/Bankers-Algo-Implementation | 1c12a1ad65d56a32615824a413cb74c38af2387f | 1bb6bd87ffdf9741788e8dd3f5ed8116b6e5e626 | refs/heads/master | 2021-08-20T07:02:48.751078 | 2017-11-28T13:11:08 | 2017-11-28T13:11:08 | 110,517,401 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,858 | cpp | #include<iostream>
#include<string.h>
#include<stdlib.h>
#include<string>
#include<fstream>
#include<algorithm>
#include<vector>
#include<cstdlib>
#include<sstream>
#include<ctype.h>
#include<functional>
#include<map>
using namespace std;
struct process{
int pid;
int arrivaltime;
vector<int> max;
vector<int> allocated;
vector<int> need;
bool operator < (const process &b) const
{
if (arrivaltime < b.arrivaltime) return true;
else if ((arrivaltime == b.arrivaltime) && pid<b.pid) return true;
else return false;
}
};
vector<int> tokenize(string inp)
{
istringstream tmp(inp);
std::vector<int> tokens;
string token;
for (std::string each; std::getline(tmp, each, ' '); tokens.push_back(atoi(each.c_str())));
return tokens;
}
int main(int argc, char* argv[])
{
if(argc!=3)
{
cout<<"wrong no of parameters";
exit(1);
}
string inFile =argv[1];
string outFile =argv[2];
istream *input = new ifstream(inFile, ios::in);
ofstream output;
output.open(outFile.c_str(), ios::out);
if ( input->good() == false ) {
cerr << "Error: The requested input file (" << inFile << ") could not be opened. Exiting!" << endl;
exit (1);
}
string a;
getline( *input, a, '\n' );
vector<int> config=tokenize(a);
if (config.size()!=3) {
cerr << "Expected N R Q" << endl;
exit (1);
}
vector<int> pid,artime;
string b,c;
getline( *input, b, '\n' );
getline( *input, c, '\n' );
pid=tokenize(b);
artime=tokenize(c);
vector<process> p;
int maxwait(0);
p.resize(*config.begin());
for(std::vector<int>::size_type i=0;i<config[0];i++)
{
p[i].pid=pid[i];
p[i].arrivaltime=artime[i];
if(artime[i]>maxwait)
maxwait=artime[i];
}
string d;
getline( *input, d, '\n' );
vector<int> available=tokenize(d);
for(int i=0;i<config[0];i++)
{
string start;
getline( *input, start, '\n' );
p[i].max=tokenize(start);
}
for(int i=0;i<config[0];i++)
{
string start;
getline( *input, start, '\n' );
p[i].allocated=tokenize(start);
std::transform(p[i].max.begin(),p[i].max.end(),p[i].allocated.begin(),std::back_inserter(p[i].need),std::minus<int>());
}
std::multimap<int,vector<int>> query;
for(int i=0;i<config[2];i++)
{
string start;
getline( *input, start, '\n' );
vector<int> input;
input=tokenize(start);
int key=input[0];
input.erase(input.begin());
query.emplace(key,input);
}
sort(p.begin(),p.end());
vector<string> out;
vector<int> sequence;
vector<int> work=available;
std::pair<std::multimap<int, vector<int>>::iterator,
std::multimap<int, vector<int>>::iterator> r;
vector<int> workartime=artime;
sort(workartime.begin(),workartime.end());
vector<int> zerovec;
for(int i=0;i<config[1];i++)
{
zerovec.push_back(0);
}
int next;
int maxtimer=0;
int notsafe=0;
int totalprocess=p.size();
while(workartime.size()>0 && maxtimer<(maxwait*totalprocess))//maxwait>0)
{
auto start=(p.begin());
int countitem=std::count(workartime.begin(),workartime.end(),(*start).arrivaltime); // no. of process at current time
//cout<<"no of items in q:"<<countitem<<" with AT:"<<(*start).arrivaltime<<endl;
// next arrival time note
for(auto t=workartime.begin();t!=workartime.end();t++)
{
if(*t>(*start).arrivaltime)
next=*t;
}
//cout<<"next:"<<next<<endl;
auto end=(p.begin());
for(;end!=p.end();end++)
{
if((*end).arrivaltime!=(*start).arrivaltime)
{
//end;
break;
}
}
//
int grant=0;
for(auto var=start;var!=end;var++)
{ //cout<<"process: "<<(*var).pid<<" AT:"<<(*var).arrivaltime<<endl;
if(grant==1) // if one prcoess in q is granted move others to +1 AT
{
auto tempit=std::find(workartime.begin(),workartime.end(),(*var).arrivaltime);
(*tempit)+=1;
(*var).arrivaltime+=1;
//cout<<"updating time for process:"<<(*var).pid<<" at:"<<(*var).arrivaltime<<endl;
continue;
}
r=query.equal_range((*var).pid);
int cc=query.count((*var).pid);
for(auto curquery=r.first;curquery!=r.second;curquery++)
{
vector<int> request=(*curquery).second;
if(request>(*var).need)
{ output<<" request wrong";
exit(1);
}
else
{ //(*var).need=(*var).need - request;
if(request>work)
{
out.push_back("Deny");
output<<"Deny"<<endl;
continue;
}
else
{
vector<int> t1,t2,t3;
std::transform(work.begin(),work.end(),request.begin(),std::back_inserter(t1),std::minus<int>());
work=t1;
std::transform((*var).allocated.begin(),(*var).allocated.end(),request.begin(),std::back_inserter(t2),std::plus<int>());
(*var).allocated=t2;
std::transform((*var).need.begin(),(*var).need.end(),request.begin(),std::back_inserter(t3),std::minus<int>());
(*var).need=t3;
out.push_back("Grant");
output<<"Grant"<<endl;
sequence.push_back((*var).pid);
grant=1;
if((*var).need==zerovec)
{
//cout<<"returning resources"<<endl;
vector<int> t4;
std::transform(work.begin(),work.end(),(*var).allocated.begin(),std::back_inserter(t4),std::plus<int>());
work=t4;
auto it=std::find(workartime.begin(),workartime.end(),(*var).arrivaltime);
if(it!=workartime.end())
workartime.erase(it);
auto fordelete=var;
var--;
p.erase(fordelete);
end--;
//var=p.erase(var);
}
curquery=query.erase(curquery);
if(cc!=1)//query.find((*var).pid)!=query.end())
{
auto tempit=std::find(workartime.begin(),workartime.end(),(*var).arrivaltime);
(*tempit)+=1;
(*var).arrivaltime+=1;
}
break;
}
}
//after operating for current process in Q, either all query denied or one granted and break
}
if(grant==0) //all queries denied for a process then wait
{
auto tempit=std::find(workartime.begin(),workartime.end(),(*var).arrivaltime);
(*tempit)+=1;
//cout<<"updating time of process:"<<(*var).pid;
(*var).arrivaltime+=1;
//cout<<" AT now:"<<(*var).arrivaltime<<endl;
}
} // queue at current time processed
if(grant==0 && (*start).arrivaltime>maxwait)
{
notsafe=1;
break;
}
sort(p.begin(),p.end());
sort(workartime.begin(),workartime.end());
maxtimer++;
}
if(notsafe==1)
{
output<<"Not Safe";
}
else
for(auto it=sequence.begin();it!=sequence.end();it++)
{
output<<(*it)<<" ";
}
output.close();
return 0;
}
| [
"[email protected]"
] | |
7e60e9f8894b05db1d6279125c6269973c9a75d6 | 169e75df163bb311198562d286d37aad14677101 | /tensorflow/tensorflow/core/common_runtime/eager/context.cc | 70208fb6d15766b59138d9cf617abebc2fcd199e | [
"Apache-2.0"
] | permissive | zylo117/tensorflow-gpu-macosx | e553d17b769c67dfda0440df8ac1314405e4a10a | 181bc2b37aa8a3eeb11a942d8f330b04abc804b3 | refs/heads/master | 2022-10-19T21:35:18.148271 | 2020-10-15T02:33:20 | 2020-10-15T02:33:20 | 134,240,831 | 116 | 26 | Apache-2.0 | 2022-10-04T23:36:22 | 2018-05-21T08:29:12 | C++ | UTF-8 | C++ | false | false | 10,102 | cc | /* Copyright 2018 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
==============================================================================*/
#include "tensorflow/core/common_runtime/eager/context.h"
#include "tensorflow/core/common_runtime/process_util.h"
#include "tensorflow/core/lib/core/blocking_counter.h"
namespace tensorflow {
EagerContext::EagerContext(const SessionOptions& opts,
ContextDevicePlacementPolicy default_policy,
bool async, std::unique_ptr<DeviceMgr> device_mgr,
Rendezvous* rendezvous)
: policy_(default_policy),
local_device_manager_(std::move(device_mgr)),
local_unowned_device_manager_(nullptr),
devices_(local_device_manager_->ListDevices()),
rendezvous_(rendezvous),
thread_pool_(NewThreadPoolFromSessionOptions(opts)),
pflr_(new ProcessFunctionLibraryRuntime(
local_device_manager_.get(), opts.env, TF_GRAPH_DEF_VERSION,
&func_lib_def_, {}, thread_pool_.get())),
log_device_placement_(opts.config.log_device_placement()),
async_default_(async) {
InitDeviceMapAndAsync();
}
#ifndef __ANDROID__
EagerContext::EagerContext(
const SessionOptions& opts, ContextDevicePlacementPolicy default_policy,
bool async, DeviceMgr* local_device_mgr, Rendezvous* rendezvous,
std::unique_ptr<ServerInterface> server,
std::unique_ptr<eager::EagerClientCache> remote_eager_workers,
std::unique_ptr<DeviceMgr> remote_device_manager,
const gtl::FlatMap<string, uint64>& remote_contexts)
: policy_(default_policy),
local_unowned_device_manager_(local_device_mgr),
devices_(local_unowned_device_manager_->ListDevices()),
rendezvous_(rendezvous),
thread_pool_(NewThreadPoolFromSessionOptions(opts)),
pflr_(new ProcessFunctionLibraryRuntime(
local_unowned_device_manager_, opts.env, TF_GRAPH_DEF_VERSION,
&func_lib_def_, {}, thread_pool_.get())),
log_device_placement_(opts.config.log_device_placement()),
async_default_(async),
remote_device_manager_(std::move(remote_device_manager)),
server_(std::move(server)),
remote_eager_workers_(std::move(remote_eager_workers)),
remote_contexts_(remote_contexts) {
InitDeviceMapAndAsync();
}
#endif
void EagerContext::InitDeviceMapAndAsync() {
if (async_default_) {
executor_.EnableAsync();
}
for (auto* device : devices_) {
devices_map_[device->name()] = device;
}
if (remote_device_manager_ != nullptr) {
for (auto* device : remote_device_manager_->ListDevices()) {
if (devices_map_.find(device->name()) == devices_map_.end()) {
devices_map_[device->name()] = device;
devices_.push_back(device);
}
}
}
}
bool EagerContext::Async() const {
mutex_lock l(async_map_mu_);
return gtl::FindWithDefault(thread_local_async_, std::this_thread::get_id(),
async_default_);
}
Status EagerContext::SetAsyncForThread(bool async) {
{
tensorflow::mutex_lock l(async_map_mu_);
thread_local_async_[std::this_thread::get_id()] = async;
}
if (async) {
executor_.EnableAsync();
} else {
// TODO(agarwal): Currently we add a wait here to handle cases where a
// sync op has a control dependency on an async op, and the latter has not
// executed yet. This wait can be removed by storing all the control
// inputs and waiting for them when executing ops.
return executor_.WaitForAllPendingNodes();
}
return Status::OK();
}
void EagerContext::ClearCaches() {
mutex_lock ml(cache_mu_);
gtl::STLDeleteValues(&kernel_cache_);
}
void EagerContext::SetThreadLocalDevicePlacementPolicy(
ContextDevicePlacementPolicy policy) {
mutex_lock ml(policy_map_mu_);
thread_local_policies_[std::this_thread::get_id()] = policy;
}
ContextDevicePlacementPolicy EagerContext::GetDevicePlacementPolicy() {
mutex_lock ml(policy_map_mu_);
auto policy_map_it = thread_local_policies_.find(std::this_thread::get_id());
if (policy_map_it != thread_local_policies_.end()) {
return policy_map_it->second;
}
return policy_;
}
EagerContext::~EagerContext() {
#ifndef __ANDROID__
if (server_) {
// TODO(nareshmodi): Fix this.
LOG(WARNING) << "Unable to destroy server_ object, so releasing instead. "
"Servers don't support clean shutdown.";
server_.release();
}
// Close all remote contexts.
std::vector<eager::CloseContextRequest> requests(remote_contexts_.size());
std::vector<eager::CloseContextResponse> responses(remote_contexts_.size());
BlockingCounter counter(static_cast<int>(remote_contexts_.size()));
int i = 0;
for (const auto& worker_and_context_id : remote_contexts_) {
auto* client =
remote_eager_workers_->GetClient(worker_and_context_id.first);
requests[i].set_context_id(worker_and_context_id.second);
client->CloseContextAsync(
&requests[i], &responses[i],
[&worker_and_context_id, &counter](const Status& s) {
if (!s.ok()) {
LOG(ERROR) << "Unable to close remote context with ID "
<< worker_and_context_id.second
<< " for worker: " << worker_and_context_id.first
<< " due to " << s.error_message();
}
counter.DecrementCount();
});
i++;
}
counter.Wait();
#endif
executor_.WaitForAllPendingNodes().IgnoreError();
ClearCaches();
rendezvous_->Unref();
}
bool EagerContext::FindFunctionByName(const string& name) {
mutex_lock l(functions_mu_);
return func_lib_def_.Find(name) != nullptr;
}
Status EagerContext::FindFunctionOpData(
const string& name, const tensorflow::OpRegistrationData** op_data) {
mutex_lock l(functions_mu_);
return func_lib_def_.LookUp(name, op_data);
}
const FunctionDef* EagerContext::FindFunctionDef(const string& name) {
mutex_lock l(functions_mu_);
return func_lib_def_.Find(name);
}
Status EagerContext::FindDeviceByName(const string& name, Device** result) {
auto it = devices_map_.find(name);
if (it == devices_map_.end()) {
return errors::InvalidArgument(name, " unknown device.");
}
*result = it->second;
return Status::OK();
}
Status EagerContext::MaybeRegisterFunctionRemotely(const FunctionDef& fdef) {
if (remote_device_manager_ == nullptr) return Status::OK();
BlockingCounter blocking_counter(static_cast<int>(remote_contexts_.size()));
std::vector<eager::RegisterFunctionRequest> requests(remote_contexts_.size());
std::vector<eager::RegisterFunctionResponse> responses(
remote_contexts_.size());
std::vector<Status> statuses(remote_contexts_.size());
int i = 0;
for (const auto& target_and_context_id : remote_contexts_) {
requests[i].set_context_id(target_and_context_id.second);
*requests[i].mutable_function_def() = fdef;
auto* eager_client =
remote_eager_workers_->GetClient(target_and_context_id.first);
eager_client->RegisterFunctionAsync(
&requests[i], &responses[i],
[i, &statuses, &blocking_counter](const Status& status) {
statuses[i] = status;
blocking_counter.DecrementCount();
});
i++;
}
blocking_counter.Wait();
for (int i = 0; i < remote_contexts_.size(); i++) {
TF_RETURN_IF_ERROR(statuses[i]);
}
return Status::OK();
}
Status EagerContext::AddFunctionDef(const FunctionDef& fdef) {
mutex_lock l(functions_mu_);
TF_RETURN_IF_ERROR(func_lib_def_.AddFunctionDef(fdef));
return MaybeRegisterFunctionRemotely(fdef);
}
KernelAndDevice* EagerContext::GetCachedKernel(Fprint128 cache_key) {
tf_shared_lock l(cache_mu_);
return gtl::FindPtrOrNull(kernel_cache_, cache_key);
}
void EagerContext::AddKernelToCache(Fprint128 cache_key,
KernelAndDevice* kernel) {
mutex_lock ml(cache_mu_);
gtl::InsertOrUpdate(&kernel_cache_, cache_key, kernel);
}
void EagerContext::SetShouldStoreMetadata(bool value) {
should_store_metadata_.store(value);
if (!value) {
mutex_lock ml(metadata_mu_);
run_metadata_.Clear();
}
}
namespace {
Status GetTaskName(Device* d, string* task_name) {
string ignored;
if (!DeviceNameUtils::SplitDeviceName(d->name(), task_name, &ignored)) {
return errors::InvalidArgument("Unable to parse device name: ", d->name());
}
return Status::OK();
}
} // namespace
#ifndef __ANDROID__
Status EagerContext::GetClientAndContextID(Device* device,
eager::EagerClient** client,
uint64* context_id) {
auto it = device_to_client_cache_.find(device);
if (it != device_to_client_cache_.end()) {
*client = it->second.first;
*context_id = it->second.second;
}
string device_task_name;
TF_RETURN_IF_ERROR(GetTaskName(device, &device_task_name));
*client = remote_eager_workers_->GetClient(device_task_name);
if (*client == nullptr) {
return errors::InvalidArgument(
"Unable to find eager client corresponding to device ", device->name());
}
auto context_iterator = remote_contexts_.find(device_task_name);
if (context_iterator == remote_contexts_.end()) {
return errors::Internal("Unable to find a context for handle on task: ",
device_task_name, ". This should not be possible");
}
*context_id = context_iterator->second;
device_to_client_cache_.insert({device, {*client, *context_id}});
return Status::OK();
}
#endif
} // namespace tensorflow
| [
"[email protected]"
] | |
8d9f4a1fabd33636fcefbe1fbc4fc69e4917942c | 7b7522b14df2de2ca62311ea154a839add9d8abe | /File Structure/secondaryindex.cpp | 2557ae849008abd43c63ef2f342e3df6f78503af | [] | no_license | karnika-ag/btech_codes | 143bc1a4411a6f23590a930e0ef513e8f0af6a8d | c0dfa5fbbe8cc816eb05d336b3e5c848024d77b7 | refs/heads/master | 2020-04-08T05:03:54.923910 | 2018-11-25T16:49:02 | 2018-11-25T16:49:02 | 159,044,210 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 282 | cpp | #include <iostream>
#include <fstream>
#include <cstdlib>
using namespace std;
class buffer
{
void pack();
void unpack();
void
}
struct student
{
char name[20];
int rollno;
int cour;
};
struct course
{
int cou;
int marks;
};
| [
"[email protected]"
] | |
0b193f2da13b49b65dd254ef785f28c78f23e05f | 9ef238f3d5d657cdb855aafa3e4c18bd7ddf1849 | /include/bmx/avid_mxf/AvidD10Track.h | 0e8506b08429b76f79853dfa902cf7e86837f419 | [] | no_license | ebu/ebu-bmx | 274d3f98aec27b65dfd5833db61c638e0d81395f | aa60821db0545b8b7c971302ae322e9ba19ff535 | refs/heads/master | 2021-01-01T06:34:06.067871 | 2013-07-29T13:21:37 | 2013-07-29T13:21:37 | 11,446,282 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,380 | h | /*
* Copyright (C) 2011, British Broadcasting Corporation
* All Rights Reserved.
*
* Author: Philip de Nier
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the name of the British Broadcasting Corporation nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef __BMX_AVID_D10_TRACK_H__
#define __BMX_AVID_D10_TRACK_H__
#include <bmx/avid_mxf/AvidPictureTrack.h>
#include <bmx/mxf_helper/D10MXFDescriptorHelper.h>
namespace bmx
{
class AvidD10Track : public AvidPictureTrack
{
public:
AvidD10Track(AvidClip *clip, uint32_t track_index, EssenceType essence_type, mxfpp::File *file);
virtual ~AvidD10Track();
void SetSampleSize(uint32_t size, bool remove_excess_padding);
public:
virtual void PrepareWrite();
virtual void WriteSamples(const unsigned char *data, uint32_t size, uint32_t num_samples);
private:
D10MXFDescriptorHelper *mD10DescriptorHelper;
uint32_t mInputSampleSize;
bool mRemoveExcessPadding;
};
};
#endif
| [
"[email protected]"
] | |
03608d63d7c19820170e77e57a63e779610fbc38 | bbe58a02ddf71e002d227b0ff3cdd4358f24e938 | /18120468_week09/baitap3/processing.cpp | e4caa4b45ec2c53130fbd139b628b2e69dc7e303 | [] | no_license | kimnamlhn/NMLT-HCMUS | d7a363ebc42ad7a43f03e0f9a59f471cba8977ac | fef34eae67543287946a377703b7f46565659e27 | refs/heads/main | 2023-01-02T16:49:14.011638 | 2020-10-26T14:23:50 | 2020-10-26T14:23:50 | 307,392,426 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,417 | cpp | #include "manghaichieu.h"
#include <stdio.h>
void Nhap(int a[][100], int &row, int &col)
{
do
{
printf("Nhap so hang: ");
scanf_s("%d", &row);
} while (row <= 0 || row > 100);
do
{
printf("Nhap so cot: ");
scanf_s("%d", &col);
} while (col <= 0 || col > 100);
for (int i = 0;i < row;i++)
{
for (int j = 0;j < col;j++)
{
printf("a[%d][%d]= ", i, j);
scanf_s("%d", &a[i][j]);
}
}
}
void Xuat(int a[][100], int &row, int &col)
{
for (int i = 0;i < row;i++)
{
for (int j = 0;j < col;j++)
{
printf("a[%d][%d]= %d\t", i, j, a[i][j]);
}
printf("\n");
}
}
bool KTyenngua(int a[][100], int row, int col)
{
if ((LonNhatTrenCot(a, row, col) == true) && (NhoNhatTrenDong(a, row, col) == true))
return true;
else
return false;
}
bool LonNhatTrenCot(int a[][100], int idexrow, int idexcol)
{
int x = a[idexrow][idexcol];
for (int i = 0;i < idexcol;i++)
{
if (x < a[i][idexcol])
return false;
}
return true;
}
bool NhoNhatTrenDong(int a[][100], int idexrow, int idexcol)
{
int x = a[idexrow][idexcol];
for (int i = 0;i < idexrow;i++)
{
if (x > a[idexrow][i])
return false;
}
return true;
}
void Diemyenngua(int a[][100], int row, int col)
{
printf("Cac diem yen ngua trong ma tran la: \n");
for (int i = 0;i < row;i++)
{
for (int j = 0;j < col;j++)
{
if (KTyenngua(a, i, j) == true)
printf("a[%d][%d]= %d\n", i, j, a[i][j]);
}
}
} | [
"[email protected]"
] | |
2e4b3378afd16c21b25be94220ed875638d904ee | 9a5e5536ecacbce585617ac991361484e086105e | /ps/codeforces/500to1000/1030A.cpp | fba4b7ea87f81b78e9f9c7ed4f7ae8369e2762e3 | [] | no_license | kingssafy/til | 8bc938f9fc2525e2efb6025a587ec03536f8bf2a | 50ecf62465dfa7db57711b1a6130cbaaed90af30 | refs/heads/master | 2020-04-16T10:03:50.568961 | 2019-04-23T11:55:34 | 2019-04-23T11:55:34 | 165,488,462 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 371 | cpp | #include <iostream>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int n;
cin >> n;
bool ans = 0;
for (int i = 0; i < n; i++) {
bool temp;
cin >> temp;
ans |= temp;
}
if (ans) {
cout << "HARD" << endl;
} else {
cout << "EASY" << endl;
}
return 0;
}
| [
"[email protected]"
] | |
d4bfc914dc3788a0dc32a8fc215aa479bedbbad1 | 88ae8695987ada722184307301e221e1ba3cc2fa | /ash/quick_pair/ui/ui_broker_impl_unittest.cc | 366d05d7921b1cf0cbc621365314b7d221bd9fa0 | [
"BSD-3-Clause"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 10,904 | cc | // Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/quick_pair/ui/ui_broker_impl.h"
#include "ash/quick_pair/common/constants.h"
#include "ash/quick_pair/common/device.h"
#include "ash/quick_pair/ui/fast_pair/fast_pair_presenter.h"
#include "ash/quick_pair/ui/fast_pair/fast_pair_presenter_impl.h"
#include "ash/quick_pair/ui/ui_broker.h"
#include "ash/test/ash_test_base.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/scoped_refptr.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/message_center/message_center.h"
namespace {
constexpr char kTestDeviceAddress[] = "11:12:13:14:15:16";
constexpr char kValidModelId[] = "718c17";
const std::string kUserEmail = "[email protected]";
class FakeFastPairPresenter : public ash::quick_pair::FastPairPresenter {
public:
FakeFastPairPresenter(message_center::MessageCenter* message_center) {}
~FakeFastPairPresenter() override = default;
void ShowDiscovery(scoped_refptr<ash::quick_pair::Device> device,
ash::quick_pair::DiscoveryCallback callback) override {
callback.Run(ash::quick_pair::DiscoveryAction::kPairToDevice);
}
void ShowPairing(scoped_refptr<ash::quick_pair::Device> device) override {
show_pairing_ = true;
}
bool show_pairing() { return show_pairing_; }
void ShowPairingFailed(
scoped_refptr<ash::quick_pair::Device> device,
ash::quick_pair::PairingFailedCallback callback) override {
callback.Run(ash::quick_pair::PairingFailedAction::kNavigateToSettings);
show_pairing_failed_ = true;
}
bool show_pairing_failed() { return show_pairing_failed_; }
void ShowAssociateAccount(
scoped_refptr<ash::quick_pair::Device> device,
ash::quick_pair::AssociateAccountCallback callback) override {
callback.Run(ash::quick_pair::AssociateAccountAction::kLearnMore);
}
void ShowCompanionApp(
scoped_refptr<ash::quick_pair::Device> device,
ash::quick_pair::CompanionAppCallback callback) override {
callback.Run(ash::quick_pair::CompanionAppAction::kDownloadAndLaunchApp);
}
void RemoveNotifications() override { removed_ = true; }
void ExtendNotification() override { notification_extended_ = true; }
bool removed() { return removed_; }
bool notification_extended() { return notification_extended_; }
private:
bool show_pairing_ = false;
bool removed_ = false;
bool show_pairing_failed_ = false;
bool notification_extended_ = false;
};
class FakeFastPairPresenterFactory
: public ash::quick_pair::FastPairPresenterImpl::Factory {
public:
std::unique_ptr<ash::quick_pair::FastPairPresenter> CreateInstance(
message_center::MessageCenter* message_center) override {
auto fake_fast_pair_presenter =
std::make_unique<FakeFastPairPresenter>(message_center);
fake_fast_pair_presenter_ = fake_fast_pair_presenter.get();
return fake_fast_pair_presenter;
}
~FakeFastPairPresenterFactory() override = default;
FakeFastPairPresenter* fake_fast_pair_presenter() {
return fake_fast_pair_presenter_;
}
protected:
raw_ptr<FakeFastPairPresenter, ExperimentalAsh> fake_fast_pair_presenter_ =
nullptr;
};
} // namespace
namespace ash {
namespace quick_pair {
class UIBrokerImplTest : public AshTestBase, public UIBroker::Observer {
public:
void SetUp() override {
presenter_factory_ = std::make_unique<FakeFastPairPresenterFactory>();
FastPairPresenterImpl::Factory::SetFactoryForTesting(
presenter_factory_.get());
// We need to make sure that we register the test factory before calling
// `AshTestBase::SetUp()`, since the test setup will create the presenter
// behind the scenes.
AshTestBase::SetUp();
ui_broker_ = std::make_unique<UIBrokerImpl>();
ui_broker_->AddObserver(this);
}
void TearDown() override {
ui_broker_->RemoveObserver(this);
ui_broker_.reset();
ClearLogin();
AshTestBase::TearDown();
}
void OnDiscoveryAction(scoped_refptr<Device> device,
DiscoveryAction action) override {
discovery_action_ = action;
}
void OnCompanionAppAction(scoped_refptr<Device> device,
CompanionAppAction action) override {
companion_app_action_ = action;
}
void OnPairingFailureAction(scoped_refptr<Device> device,
PairingFailedAction action) override {
pairing_failed_action_ = action;
}
void OnAssociateAccountAction(scoped_refptr<Device> device,
AssociateAccountAction action) override {
associate_account_action_ = action;
}
protected:
DiscoveryAction discovery_action_;
PairingFailedAction pairing_failed_action_;
AssociateAccountAction associate_account_action_;
CompanionAppAction companion_app_action_;
std::unique_ptr<FakeFastPairPresenterFactory> presenter_factory_;
std::unique_ptr<UIBroker> ui_broker_;
};
TEST_F(UIBrokerImplTest, ShowDiscovery_Initial) {
auto device = base::MakeRefCounted<Device>(kValidModelId, kTestDeviceAddress,
Protocol::kFastPairInitial);
ui_broker_->ShowDiscovery(device);
base::RunLoop().RunUntilIdle();
EXPECT_EQ(discovery_action_, DiscoveryAction::kPairToDevice);
}
TEST_F(UIBrokerImplTest, ShowDiscovery_Subsequent) {
auto device = base::MakeRefCounted<Device>(kValidModelId, kTestDeviceAddress,
Protocol::kFastPairSubsequent);
ui_broker_->ShowDiscovery(device);
base::RunLoop().RunUntilIdle();
EXPECT_EQ(discovery_action_, DiscoveryAction::kPairToDevice);
}
TEST_F(UIBrokerImplTest, ShowPairing_Initial) {
auto device = base::MakeRefCounted<Device>(kValidModelId, kTestDeviceAddress,
Protocol::kFastPairInitial);
ui_broker_->ShowPairing(device);
base::RunLoop().RunUntilIdle();
EXPECT_TRUE(presenter_factory_->fake_fast_pair_presenter()->show_pairing());
}
TEST_F(UIBrokerImplTest, ShowPairing_Subsequent) {
auto device = base::MakeRefCounted<Device>(kValidModelId, kTestDeviceAddress,
Protocol::kFastPairSubsequent);
ui_broker_->ShowPairing(device);
base::RunLoop().RunUntilIdle();
EXPECT_TRUE(presenter_factory_->fake_fast_pair_presenter()->show_pairing());
}
TEST_F(UIBrokerImplTest, ShowPairingFailed_Initial) {
auto device = base::MakeRefCounted<Device>(kValidModelId, kTestDeviceAddress,
Protocol::kFastPairInitial);
ui_broker_->ShowPairingFailed(device);
base::RunLoop().RunUntilIdle();
EXPECT_EQ(pairing_failed_action_, PairingFailedAction::kNavigateToSettings);
}
TEST_F(UIBrokerImplTest, ShowPairingFailed_Subsequent) {
auto device = base::MakeRefCounted<Device>(kValidModelId, kTestDeviceAddress,
Protocol::kFastPairSubsequent);
ui_broker_->ShowPairingFailed(device);
base::RunLoop().RunUntilIdle();
EXPECT_EQ(pairing_failed_action_, PairingFailedAction::kNavigateToSettings);
}
TEST_F(UIBrokerImplTest, ShowPairingFailed_Retroactive) {
auto device = base::MakeRefCounted<Device>(kValidModelId, kTestDeviceAddress,
Protocol::kFastPairRetroactive);
ui_broker_->ShowPairingFailed(device);
base::RunLoop().RunUntilIdle();
EXPECT_FALSE(
presenter_factory_->fake_fast_pair_presenter()->show_pairing_failed());
}
TEST_F(UIBrokerImplTest, ShowAssociateAccount_Initial) {
auto device = base::MakeRefCounted<Device>(kValidModelId, kTestDeviceAddress,
Protocol::kFastPairInitial);
ui_broker_->ShowAssociateAccount(device);
base::RunLoop().RunUntilIdle();
EXPECT_EQ(associate_account_action_, AssociateAccountAction::kLearnMore);
}
TEST_F(UIBrokerImplTest, ShowAssociateAccount_Retroactive) {
auto device = base::MakeRefCounted<Device>(kValidModelId, kTestDeviceAddress,
Protocol::kFastPairRetroactive);
ui_broker_->ShowAssociateAccount(device);
base::RunLoop().RunUntilIdle();
EXPECT_EQ(associate_account_action_, AssociateAccountAction::kLearnMore);
}
TEST_F(UIBrokerImplTest, ShowCompanionApp_Initial) {
auto device = base::MakeRefCounted<Device>(kValidModelId, kTestDeviceAddress,
Protocol::kFastPairInitial);
ui_broker_->ShowCompanionApp(device);
base::RunLoop().RunUntilIdle();
EXPECT_EQ(companion_app_action_, CompanionAppAction::kDownloadAndLaunchApp);
}
TEST_F(UIBrokerImplTest, ShowCompanionApp_Subsequent) {
auto device = base::MakeRefCounted<Device>(kValidModelId, kTestDeviceAddress,
Protocol::kFastPairSubsequent);
ui_broker_->ShowCompanionApp(device);
base::RunLoop().RunUntilIdle();
EXPECT_EQ(companion_app_action_, CompanionAppAction::kDownloadAndLaunchApp);
}
TEST_F(UIBrokerImplTest, ShowCompanionApp_Retroactive) {
auto device = base::MakeRefCounted<Device>(kValidModelId, kTestDeviceAddress,
Protocol::kFastPairRetroactive);
ui_broker_->ShowCompanionApp(device);
base::RunLoop().RunUntilIdle();
EXPECT_EQ(companion_app_action_, CompanionAppAction::kDownloadAndLaunchApp);
}
TEST_F(UIBrokerImplTest, RemoveNotifications_Initial) {
auto device = base::MakeRefCounted<Device>(kValidModelId, kTestDeviceAddress,
Protocol::kFastPairInitial);
ui_broker_->RemoveNotifications();
base::RunLoop().RunUntilIdle();
EXPECT_TRUE(presenter_factory_->fake_fast_pair_presenter()->removed());
}
TEST_F(UIBrokerImplTest, RemoveNotifications_Subsequent) {
auto device = base::MakeRefCounted<Device>(kValidModelId, kTestDeviceAddress,
Protocol::kFastPairSubsequent);
ui_broker_->RemoveNotifications();
base::RunLoop().RunUntilIdle();
EXPECT_TRUE(presenter_factory_->fake_fast_pair_presenter()->removed());
}
TEST_F(UIBrokerImplTest, RemoveNotifications_Retroactive) {
auto device = base::MakeRefCounted<Device>(kValidModelId, kTestDeviceAddress,
Protocol::kFastPairRetroactive);
ui_broker_->RemoveNotifications();
base::RunLoop().RunUntilIdle();
EXPECT_TRUE(presenter_factory_->fake_fast_pair_presenter()->removed());
}
TEST_F(UIBrokerImplTest, ExtendNotifications) {
auto device = base::MakeRefCounted<Device>(kValidModelId, kTestDeviceAddress,
Protocol::kFastPairInitial);
ui_broker_->ExtendNotification();
base::RunLoop().RunUntilIdle();
EXPECT_TRUE(
presenter_factory_->fake_fast_pair_presenter()->notification_extended());
}
} // namespace quick_pair
} // namespace ash
| [
"[email protected]"
] | |
456dc56114b790686d1325f0fb22cd1758653bbd | ddf15f4397af1bcff397bb2e3f52d68e3465459e | /StartupGameQt/moc_guiplayer.cpp | 65d50145137630789ce6a3df60692a204ae63f91 | [] | no_license | sydneyliu/StartupMonopoly | 4674bbe456b52eecb82b9c8dda0da633bd6e63eb | 01cce3f2afc232dcd8cf006ca6ef897d304675ec | refs/heads/master | 2020-12-30T10:36:29.683789 | 2014-05-24T21:36:52 | 2014-05-24T21:36:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,342 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'guiplayer.h'
**
** Created: Sun May 4 19:58:41 2014
** by: The Qt Meta Object Compiler version 63 (Qt 4.8.1)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include "guiplayer.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'guiplayer.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 63
#error "This file was generated using the moc from 4.8.1. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
QT_BEGIN_MOC_NAMESPACE
static const uint qt_meta_data_GUIPlayer[] = {
// content:
6, // revision
0, // classname
0, 0, // classinfo
0, 0, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
0, // signalCount
0 // eod
};
static const char qt_meta_stringdata_GUIPlayer[] = {
"GUIPlayer\0"
};
void GUIPlayer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
Q_UNUSED(_o);
Q_UNUSED(_id);
Q_UNUSED(_c);
Q_UNUSED(_a);
}
const QMetaObjectExtraData GUIPlayer::staticMetaObjectExtraData = {
0, qt_static_metacall
};
const QMetaObject GUIPlayer::staticMetaObject = {
{ &QDockWidget::staticMetaObject, qt_meta_stringdata_GUIPlayer,
qt_meta_data_GUIPlayer, &staticMetaObjectExtraData }
};
#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &GUIPlayer::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION
const QMetaObject *GUIPlayer::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
}
void *GUIPlayer::qt_metacast(const char *_clname)
{
if (!_clname) return 0;
if (!strcmp(_clname, qt_meta_stringdata_GUIPlayer))
return static_cast<void*>(const_cast< GUIPlayer*>(this));
return QDockWidget::qt_metacast(_clname);
}
int GUIPlayer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QDockWidget::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
return _id;
}
QT_END_MOC_NAMESPACE
| [
"[email protected]"
] | |
87efc92a5e1168ed18a436d467125c8a1a4096af | 033608ba3df28f337a736c39159fab9f4d95233c | /选择排序SelectSort/选择排序SelectSort.cpp | f168ada683337226c47e5206b5b31f3e77fd3790 | [] | no_license | SparkLena/Cpp_Study | 2c3479e51127b5fc9988e2d405a108a7ce88e504 | 5a1ff26ea67401c0dbbebee12eacb96890ad1458 | refs/heads/master | 2021-04-29T04:58:33.226720 | 2016-05-23T13:24:42 | 2016-05-23T13:24:42 | null | 0 | 0 | null | null | null | null | IBM852 | C++ | false | false | 545 | cpp | // Đíď˝┼┼đ˛SelectSort.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <stdio.h>
void main()
{
int a[]={61,5,55,22,51,26,32,15};
#define COUNT sizeof(a)/sizeof(a[0])
int i=0,j=0,nMin=0;
while(i < COUNT)
{
j=i+1;
nMin=i;
while(j < COUNT)
{
if(a[j] < a[nMin])
nMin = j;
++j;
}
if(i != nMin)
{
int t=a[nMin];
a[nMin]=a[i];
a[i]=t;
}
++i;
}
i=0;
while(i<COUNT)
{
printf("%d\n",a[i]);
++i;
}
}
| [
"[email protected]"
] | |
f8322c3ef26c1c4130a9568426a6086e4bf47cdf | 731d0d3e1d1cc11f31ca8f8c0aa7951814052c15 | /InetSpeed/winrt/impl/Windows.Data.Xml.Dom.0.h | 88b43c4f77203916e579db0b821a56f4b3cff3c6 | [] | no_license | serzh82saratov/InetSpeedCppWinRT | 07623c08b5c8135c7d55c17fed1164c8d9e56c8f | e5051f8c44469bbed0488c1d38731afe874f8c1f | refs/heads/master | 2022-04-20T05:48:22.203411 | 2020-04-02T19:36:13 | 2020-04-02T19:36:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 43,967 | h | // C++/WinRT v1.0.170717.1
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.
#pragma once
namespace winrt {
namespace Windows::Foundation {
struct Uri;
}
namespace Windows::Storage {
struct IStorageFile;
}
namespace Windows::Storage::Streams {
struct IBuffer;
}
namespace Windows::Data::Xml::Dom {
enum class NodeType
{
Invalid = 0,
ElementNode = 1,
AttributeNode = 2,
TextNode = 3,
DataSectionNode = 4,
EntityReferenceNode = 5,
EntityNode = 6,
ProcessingInstructionNode = 7,
CommentNode = 8,
DocumentNode = 9,
DocumentTypeNode = 10,
DocumentFragmentNode = 11,
NotationNode = 12,
};
struct IDtdEntity;
struct IDtdNotation;
struct IXmlAttribute;
struct IXmlCDataSection;
struct IXmlCharacterData;
struct IXmlComment;
struct IXmlDocument;
struct IXmlDocumentFragment;
struct IXmlDocumentIO;
struct IXmlDocumentIO2;
struct IXmlDocumentStatics;
struct IXmlDocumentType;
struct IXmlDomImplementation;
struct IXmlElement;
struct IXmlEntityReference;
struct IXmlLoadSettings;
struct IXmlNamedNodeMap;
struct IXmlNode;
struct IXmlNodeList;
struct IXmlNodeSelector;
struct IXmlNodeSerializer;
struct IXmlProcessingInstruction;
struct IXmlText;
struct DtdEntity;
struct DtdNotation;
struct XmlAttribute;
struct XmlCDataSection;
struct XmlComment;
struct XmlDocument;
struct XmlDocumentFragment;
struct XmlDocumentType;
struct XmlDomImplementation;
struct XmlElement;
struct XmlEntityReference;
struct XmlLoadSettings;
struct XmlNamedNodeMap;
struct XmlNodeList;
struct XmlProcessingInstruction;
struct XmlText;
}
namespace impl {
template <> struct category<Windows::Data::Xml::Dom::IDtdEntity>{ using type = interface_category; };
template <> struct category<Windows::Data::Xml::Dom::IDtdNotation>{ using type = interface_category; };
template <> struct category<Windows::Data::Xml::Dom::IXmlAttribute>{ using type = interface_category; };
template <> struct category<Windows::Data::Xml::Dom::IXmlCDataSection>{ using type = interface_category; };
template <> struct category<Windows::Data::Xml::Dom::IXmlCharacterData>{ using type = interface_category; };
template <> struct category<Windows::Data::Xml::Dom::IXmlComment>{ using type = interface_category; };
template <> struct category<Windows::Data::Xml::Dom::IXmlDocument>{ using type = interface_category; };
template <> struct category<Windows::Data::Xml::Dom::IXmlDocumentFragment>{ using type = interface_category; };
template <> struct category<Windows::Data::Xml::Dom::IXmlDocumentIO>{ using type = interface_category; };
template <> struct category<Windows::Data::Xml::Dom::IXmlDocumentIO2>{ using type = interface_category; };
template <> struct category<Windows::Data::Xml::Dom::IXmlDocumentStatics>{ using type = interface_category; };
template <> struct category<Windows::Data::Xml::Dom::IXmlDocumentType>{ using type = interface_category; };
template <> struct category<Windows::Data::Xml::Dom::IXmlDomImplementation>{ using type = interface_category; };
template <> struct category<Windows::Data::Xml::Dom::IXmlElement>{ using type = interface_category; };
template <> struct category<Windows::Data::Xml::Dom::IXmlEntityReference>{ using type = interface_category; };
template <> struct category<Windows::Data::Xml::Dom::IXmlLoadSettings>{ using type = interface_category; };
template <> struct category<Windows::Data::Xml::Dom::IXmlNamedNodeMap>{ using type = interface_category; };
template <> struct category<Windows::Data::Xml::Dom::IXmlNode>{ using type = interface_category; };
template <> struct category<Windows::Data::Xml::Dom::IXmlNodeList>{ using type = interface_category; };
template <> struct category<Windows::Data::Xml::Dom::IXmlNodeSelector>{ using type = interface_category; };
template <> struct category<Windows::Data::Xml::Dom::IXmlNodeSerializer>{ using type = interface_category; };
template <> struct category<Windows::Data::Xml::Dom::IXmlProcessingInstruction>{ using type = interface_category; };
template <> struct category<Windows::Data::Xml::Dom::IXmlText>{ using type = interface_category; };
template <> struct category<Windows::Data::Xml::Dom::DtdEntity>{ using type = class_category; };
template <> struct category<Windows::Data::Xml::Dom::DtdNotation>{ using type = class_category; };
template <> struct category<Windows::Data::Xml::Dom::XmlAttribute>{ using type = class_category; };
template <> struct category<Windows::Data::Xml::Dom::XmlCDataSection>{ using type = class_category; };
template <> struct category<Windows::Data::Xml::Dom::XmlComment>{ using type = class_category; };
template <> struct category<Windows::Data::Xml::Dom::XmlDocument>{ using type = class_category; };
template <> struct category<Windows::Data::Xml::Dom::XmlDocumentFragment>{ using type = class_category; };
template <> struct category<Windows::Data::Xml::Dom::XmlDocumentType>{ using type = class_category; };
template <> struct category<Windows::Data::Xml::Dom::XmlDomImplementation>{ using type = class_category; };
template <> struct category<Windows::Data::Xml::Dom::XmlElement>{ using type = class_category; };
template <> struct category<Windows::Data::Xml::Dom::XmlEntityReference>{ using type = class_category; };
template <> struct category<Windows::Data::Xml::Dom::XmlLoadSettings>{ using type = class_category; };
template <> struct category<Windows::Data::Xml::Dom::XmlNamedNodeMap>{ using type = class_category; };
template <> struct category<Windows::Data::Xml::Dom::XmlNodeList>{ using type = class_category; };
template <> struct category<Windows::Data::Xml::Dom::XmlProcessingInstruction>{ using type = class_category; };
template <> struct category<Windows::Data::Xml::Dom::XmlText>{ using type = class_category; };
template <> struct category<Windows::Data::Xml::Dom::NodeType>{ using type = enum_category; };
template <> struct name<Windows::Data::Xml::Dom::IDtdEntity>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.IDtdEntity" }; };
template <> struct name<Windows::Data::Xml::Dom::IDtdNotation>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.IDtdNotation" }; };
template <> struct name<Windows::Data::Xml::Dom::IXmlAttribute>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.IXmlAttribute" }; };
template <> struct name<Windows::Data::Xml::Dom::IXmlCDataSection>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.IXmlCDataSection" }; };
template <> struct name<Windows::Data::Xml::Dom::IXmlCharacterData>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.IXmlCharacterData" }; };
template <> struct name<Windows::Data::Xml::Dom::IXmlComment>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.IXmlComment" }; };
template <> struct name<Windows::Data::Xml::Dom::IXmlDocument>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.IXmlDocument" }; };
template <> struct name<Windows::Data::Xml::Dom::IXmlDocumentFragment>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.IXmlDocumentFragment" }; };
template <> struct name<Windows::Data::Xml::Dom::IXmlDocumentIO>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.IXmlDocumentIO" }; };
template <> struct name<Windows::Data::Xml::Dom::IXmlDocumentIO2>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.IXmlDocumentIO2" }; };
template <> struct name<Windows::Data::Xml::Dom::IXmlDocumentStatics>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.IXmlDocumentStatics" }; };
template <> struct name<Windows::Data::Xml::Dom::IXmlDocumentType>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.IXmlDocumentType" }; };
template <> struct name<Windows::Data::Xml::Dom::IXmlDomImplementation>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.IXmlDomImplementation" }; };
template <> struct name<Windows::Data::Xml::Dom::IXmlElement>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.IXmlElement" }; };
template <> struct name<Windows::Data::Xml::Dom::IXmlEntityReference>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.IXmlEntityReference" }; };
template <> struct name<Windows::Data::Xml::Dom::IXmlLoadSettings>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.IXmlLoadSettings" }; };
template <> struct name<Windows::Data::Xml::Dom::IXmlNamedNodeMap>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.IXmlNamedNodeMap" }; };
template <> struct name<Windows::Data::Xml::Dom::IXmlNode>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.IXmlNode" }; };
template <> struct name<Windows::Data::Xml::Dom::IXmlNodeList>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.IXmlNodeList" }; };
template <> struct name<Windows::Data::Xml::Dom::IXmlNodeSelector>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.IXmlNodeSelector" }; };
template <> struct name<Windows::Data::Xml::Dom::IXmlNodeSerializer>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.IXmlNodeSerializer" }; };
template <> struct name<Windows::Data::Xml::Dom::IXmlProcessingInstruction>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.IXmlProcessingInstruction" }; };
template <> struct name<Windows::Data::Xml::Dom::IXmlText>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.IXmlText" }; };
template <> struct name<Windows::Data::Xml::Dom::DtdEntity>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.DtdEntity" }; };
template <> struct name<Windows::Data::Xml::Dom::DtdNotation>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.DtdNotation" }; };
template <> struct name<Windows::Data::Xml::Dom::XmlAttribute>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.XmlAttribute" }; };
template <> struct name<Windows::Data::Xml::Dom::XmlCDataSection>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.XmlCDataSection" }; };
template <> struct name<Windows::Data::Xml::Dom::XmlComment>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.XmlComment" }; };
template <> struct name<Windows::Data::Xml::Dom::XmlDocument>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.XmlDocument" }; };
template <> struct name<Windows::Data::Xml::Dom::XmlDocumentFragment>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.XmlDocumentFragment" }; };
template <> struct name<Windows::Data::Xml::Dom::XmlDocumentType>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.XmlDocumentType" }; };
template <> struct name<Windows::Data::Xml::Dom::XmlDomImplementation>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.XmlDomImplementation" }; };
template <> struct name<Windows::Data::Xml::Dom::XmlElement>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.XmlElement" }; };
template <> struct name<Windows::Data::Xml::Dom::XmlEntityReference>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.XmlEntityReference" }; };
template <> struct name<Windows::Data::Xml::Dom::XmlLoadSettings>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.XmlLoadSettings" }; };
template <> struct name<Windows::Data::Xml::Dom::XmlNamedNodeMap>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.XmlNamedNodeMap" }; };
template <> struct name<Windows::Data::Xml::Dom::XmlNodeList>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.XmlNodeList" }; };
template <> struct name<Windows::Data::Xml::Dom::XmlProcessingInstruction>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.XmlProcessingInstruction" }; };
template <> struct name<Windows::Data::Xml::Dom::XmlText>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.XmlText" }; };
template <> struct name<Windows::Data::Xml::Dom::NodeType>{ static constexpr auto & value{ L"Windows.Data.Xml.Dom.NodeType" }; };
template <> struct guid<Windows::Data::Xml::Dom::IDtdEntity>{ static constexpr GUID value{ 0x6A0B5FFC,0x63B4,0x480F,{ 0x9E,0x6A,0x8A,0x92,0x81,0x6A,0xAD,0xE4 } }; };
template <> struct guid<Windows::Data::Xml::Dom::IDtdNotation>{ static constexpr GUID value{ 0x8CB4E04D,0x6D46,0x4EDB,{ 0xAB,0x73,0xDF,0x83,0xC5,0x1A,0xD3,0x97 } }; };
template <> struct guid<Windows::Data::Xml::Dom::IXmlAttribute>{ static constexpr GUID value{ 0xAC144AA4,0xB4F1,0x4DB6,{ 0xB2,0x06,0x8A,0x22,0xC3,0x08,0xDB,0x0A } }; };
template <> struct guid<Windows::Data::Xml::Dom::IXmlCDataSection>{ static constexpr GUID value{ 0x4D04B46F,0xC8BD,0x45B4,{ 0x88,0x99,0x04,0x00,0xD7,0xC2,0xC6,0x0F } }; };
template <> struct guid<Windows::Data::Xml::Dom::IXmlCharacterData>{ static constexpr GUID value{ 0x132E42AB,0x4E36,0x4DF6,{ 0xB1,0xC8,0x0C,0xE6,0x2F,0xD8,0x8B,0x26 } }; };
template <> struct guid<Windows::Data::Xml::Dom::IXmlComment>{ static constexpr GUID value{ 0xBCA474D5,0xB61F,0x4611,{ 0x9C,0xAC,0x2E,0x92,0xE3,0x47,0x6D,0x47 } }; };
template <> struct guid<Windows::Data::Xml::Dom::IXmlDocument>{ static constexpr GUID value{ 0xF7F3A506,0x1E87,0x42D6,{ 0xBC,0xFB,0xB8,0xC8,0x09,0xFA,0x54,0x94 } }; };
template <> struct guid<Windows::Data::Xml::Dom::IXmlDocumentFragment>{ static constexpr GUID value{ 0xE2EA6A96,0x0C21,0x44A5,{ 0x8B,0xC9,0x9E,0x4A,0x26,0x27,0x08,0xEC } }; };
template <> struct guid<Windows::Data::Xml::Dom::IXmlDocumentIO>{ static constexpr GUID value{ 0x6CD0E74E,0xEE65,0x4489,{ 0x9E,0xBF,0xCA,0x43,0xE8,0x7B,0xA6,0x37 } }; };
template <> struct guid<Windows::Data::Xml::Dom::IXmlDocumentIO2>{ static constexpr GUID value{ 0x5D034661,0x7BD8,0x4AD5,{ 0x9E,0xBF,0x81,0xE6,0x34,0x72,0x63,0xB1 } }; };
template <> struct guid<Windows::Data::Xml::Dom::IXmlDocumentStatics>{ static constexpr GUID value{ 0x5543D254,0xD757,0x4B79,{ 0x95,0x39,0x23,0x2B,0x18,0xF5,0x0B,0xF1 } }; };
template <> struct guid<Windows::Data::Xml::Dom::IXmlDocumentType>{ static constexpr GUID value{ 0xF7342425,0x9781,0x4964,{ 0x8E,0x94,0x9B,0x1C,0x6D,0xFC,0x9B,0xC7 } }; };
template <> struct guid<Windows::Data::Xml::Dom::IXmlDomImplementation>{ static constexpr GUID value{ 0x6DE58132,0xF11D,0x4FBB,{ 0x8C,0xC6,0x58,0x3C,0xBA,0x93,0x11,0x2F } }; };
template <> struct guid<Windows::Data::Xml::Dom::IXmlElement>{ static constexpr GUID value{ 0x2DFB8A1F,0x6B10,0x4EF8,{ 0x9F,0x83,0xEF,0xCC,0xE8,0xFA,0xEC,0x37 } }; };
template <> struct guid<Windows::Data::Xml::Dom::IXmlEntityReference>{ static constexpr GUID value{ 0x2E2F47BC,0xC3D0,0x4CCF,{ 0xBB,0x86,0x0A,0xB8,0xC3,0x6A,0x61,0xCF } }; };
template <> struct guid<Windows::Data::Xml::Dom::IXmlLoadSettings>{ static constexpr GUID value{ 0x58AA07A8,0xFED6,0x46F7,{ 0xB4,0xC5,0xFB,0x1B,0xA7,0x21,0x08,0xD6 } }; };
template <> struct guid<Windows::Data::Xml::Dom::IXmlNamedNodeMap>{ static constexpr GUID value{ 0xB3A69EB0,0xAAB0,0x4B82,{ 0xA6,0xFA,0xB1,0x45,0x3F,0x7C,0x02,0x1B } }; };
template <> struct guid<Windows::Data::Xml::Dom::IXmlNode>{ static constexpr GUID value{ 0x1C741D59,0x2122,0x47D5,{ 0xA8,0x56,0x83,0xF3,0xD4,0x21,0x48,0x75 } }; };
template <> struct guid<Windows::Data::Xml::Dom::IXmlNodeList>{ static constexpr GUID value{ 0x8C60AD77,0x83A4,0x4EC1,{ 0x9C,0x54,0x7B,0xA4,0x29,0xE1,0x3D,0xA6 } }; };
template <> struct guid<Windows::Data::Xml::Dom::IXmlNodeSelector>{ static constexpr GUID value{ 0x63DBBA8B,0xD0DB,0x4FE1,{ 0xB7,0x45,0xF9,0x43,0x3A,0xFD,0xC2,0x5B } }; };
template <> struct guid<Windows::Data::Xml::Dom::IXmlNodeSerializer>{ static constexpr GUID value{ 0x5CC5B382,0xE6DD,0x4991,{ 0xAB,0xEF,0x06,0xD8,0xD2,0xE7,0xBD,0x0C } }; };
template <> struct guid<Windows::Data::Xml::Dom::IXmlProcessingInstruction>{ static constexpr GUID value{ 0x2707FD1E,0x1E92,0x4ECE,{ 0xB6,0xF4,0x26,0xF0,0x69,0x07,0x8D,0xDC } }; };
template <> struct guid<Windows::Data::Xml::Dom::IXmlText>{ static constexpr GUID value{ 0xF931A4CB,0x308D,0x4760,{ 0xA1,0xD5,0x43,0xB6,0x74,0x50,0xAC,0x7E } }; };
template <> struct default_interface<Windows::Data::Xml::Dom::DtdEntity>{ using type = Windows::Data::Xml::Dom::IDtdEntity; };
template <> struct default_interface<Windows::Data::Xml::Dom::DtdNotation>{ using type = Windows::Data::Xml::Dom::IDtdNotation; };
template <> struct default_interface<Windows::Data::Xml::Dom::XmlAttribute>{ using type = Windows::Data::Xml::Dom::IXmlAttribute; };
template <> struct default_interface<Windows::Data::Xml::Dom::XmlCDataSection>{ using type = Windows::Data::Xml::Dom::IXmlCDataSection; };
template <> struct default_interface<Windows::Data::Xml::Dom::XmlComment>{ using type = Windows::Data::Xml::Dom::IXmlComment; };
template <> struct default_interface<Windows::Data::Xml::Dom::XmlDocument>{ using type = Windows::Data::Xml::Dom::IXmlDocument; };
template <> struct default_interface<Windows::Data::Xml::Dom::XmlDocumentFragment>{ using type = Windows::Data::Xml::Dom::IXmlDocumentFragment; };
template <> struct default_interface<Windows::Data::Xml::Dom::XmlDocumentType>{ using type = Windows::Data::Xml::Dom::IXmlDocumentType; };
template <> struct default_interface<Windows::Data::Xml::Dom::XmlDomImplementation>{ using type = Windows::Data::Xml::Dom::IXmlDomImplementation; };
template <> struct default_interface<Windows::Data::Xml::Dom::XmlElement>{ using type = Windows::Data::Xml::Dom::IXmlElement; };
template <> struct default_interface<Windows::Data::Xml::Dom::XmlEntityReference>{ using type = Windows::Data::Xml::Dom::IXmlEntityReference; };
template <> struct default_interface<Windows::Data::Xml::Dom::XmlLoadSettings>{ using type = Windows::Data::Xml::Dom::IXmlLoadSettings; };
template <> struct default_interface<Windows::Data::Xml::Dom::XmlNamedNodeMap>{ using type = Windows::Data::Xml::Dom::IXmlNamedNodeMap; };
template <> struct default_interface<Windows::Data::Xml::Dom::XmlNodeList>{ using type = Windows::Data::Xml::Dom::IXmlNodeList; };
template <> struct default_interface<Windows::Data::Xml::Dom::XmlProcessingInstruction>{ using type = Windows::Data::Xml::Dom::IXmlProcessingInstruction; };
template <> struct default_interface<Windows::Data::Xml::Dom::XmlText>{ using type = Windows::Data::Xml::Dom::IXmlText; };
template <typename D>
struct consume_Windows_Data_Xml_Dom_IDtdEntity
{
Windows::Foundation::IInspectable PublicId() const;
Windows::Foundation::IInspectable SystemId() const;
Windows::Foundation::IInspectable NotationName() const;
};
template <> struct consume<Windows::Data::Xml::Dom::IDtdEntity> { template <typename D> using type = consume_Windows_Data_Xml_Dom_IDtdEntity<D>; };
template <typename D>
struct consume_Windows_Data_Xml_Dom_IDtdNotation
{
Windows::Foundation::IInspectable PublicId() const;
Windows::Foundation::IInspectable SystemId() const;
};
template <> struct consume<Windows::Data::Xml::Dom::IDtdNotation> { template <typename D> using type = consume_Windows_Data_Xml_Dom_IDtdNotation<D>; };
template <typename D>
struct consume_Windows_Data_Xml_Dom_IXmlAttribute
{
hstring Name() const;
bool Specified() const;
hstring Value() const;
void Value(param::hstring const& value) const;
};
template <> struct consume<Windows::Data::Xml::Dom::IXmlAttribute> { template <typename D> using type = consume_Windows_Data_Xml_Dom_IXmlAttribute<D>; };
template <typename D>
struct consume_Windows_Data_Xml_Dom_IXmlCDataSection
{
};
template <> struct consume<Windows::Data::Xml::Dom::IXmlCDataSection> { template <typename D> using type = consume_Windows_Data_Xml_Dom_IXmlCDataSection<D>; };
template <typename D>
struct consume_Windows_Data_Xml_Dom_IXmlCharacterData
{
hstring Data() const;
void Data(param::hstring const& value) const;
uint32_t Length() const;
hstring SubstringData(uint32_t offset, uint32_t count) const;
void AppendData(param::hstring const& data) const;
void InsertData(uint32_t offset, param::hstring const& data) const;
void DeleteData(uint32_t offset, uint32_t count) const;
void ReplaceData(uint32_t offset, uint32_t count, param::hstring const& data) const;
};
template <> struct consume<Windows::Data::Xml::Dom::IXmlCharacterData> { template <typename D> using type = consume_Windows_Data_Xml_Dom_IXmlCharacterData<D>; };
template <typename D>
struct consume_Windows_Data_Xml_Dom_IXmlComment
{
};
template <> struct consume<Windows::Data::Xml::Dom::IXmlComment> { template <typename D> using type = consume_Windows_Data_Xml_Dom_IXmlComment<D>; };
template <typename D>
struct consume_Windows_Data_Xml_Dom_IXmlDocument
{
Windows::Data::Xml::Dom::XmlDocumentType Doctype() const;
Windows::Data::Xml::Dom::XmlDomImplementation Implementation() const;
Windows::Data::Xml::Dom::XmlElement DocumentElement() const;
Windows::Data::Xml::Dom::XmlElement CreateElement(param::hstring const& tagName) const;
Windows::Data::Xml::Dom::XmlDocumentFragment CreateDocumentFragment() const;
Windows::Data::Xml::Dom::XmlText CreateTextNode(param::hstring const& data) const;
Windows::Data::Xml::Dom::XmlComment CreateComment(param::hstring const& data) const;
Windows::Data::Xml::Dom::XmlProcessingInstruction CreateProcessingInstruction(param::hstring const& target, param::hstring const& data) const;
Windows::Data::Xml::Dom::XmlAttribute CreateAttribute(param::hstring const& name) const;
Windows::Data::Xml::Dom::XmlEntityReference CreateEntityReference(param::hstring const& name) const;
Windows::Data::Xml::Dom::XmlNodeList GetElementsByTagName(param::hstring const& tagName) const;
Windows::Data::Xml::Dom::XmlCDataSection CreateCDataSection(param::hstring const& data) const;
hstring DocumentUri() const;
Windows::Data::Xml::Dom::XmlAttribute CreateAttributeNS(Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& qualifiedName) const;
Windows::Data::Xml::Dom::XmlElement CreateElementNS(Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& qualifiedName) const;
Windows::Data::Xml::Dom::XmlElement GetElementById(param::hstring const& elementId) const;
Windows::Data::Xml::Dom::IXmlNode ImportNode(Windows::Data::Xml::Dom::IXmlNode const& node, bool deep) const;
};
template <> struct consume<Windows::Data::Xml::Dom::IXmlDocument> { template <typename D> using type = consume_Windows_Data_Xml_Dom_IXmlDocument<D>; };
template <typename D>
struct consume_Windows_Data_Xml_Dom_IXmlDocumentFragment
{
};
template <> struct consume<Windows::Data::Xml::Dom::IXmlDocumentFragment> { template <typename D> using type = consume_Windows_Data_Xml_Dom_IXmlDocumentFragment<D>; };
template <typename D>
struct consume_Windows_Data_Xml_Dom_IXmlDocumentIO
{
void LoadXml(param::hstring const& xml) const;
void LoadXml(param::hstring const& xml, Windows::Data::Xml::Dom::XmlLoadSettings const& loadSettings) const;
Windows::Foundation::IAsyncAction SaveToFileAsync(Windows::Storage::IStorageFile const& file) const;
};
template <> struct consume<Windows::Data::Xml::Dom::IXmlDocumentIO> { template <typename D> using type = consume_Windows_Data_Xml_Dom_IXmlDocumentIO<D>; };
template <typename D>
struct consume_Windows_Data_Xml_Dom_IXmlDocumentIO2
{
void LoadXmlFromBuffer(Windows::Storage::Streams::IBuffer const& buffer) const;
void LoadXmlFromBuffer(Windows::Storage::Streams::IBuffer const& buffer, Windows::Data::Xml::Dom::XmlLoadSettings const& loadSettings) const;
};
template <> struct consume<Windows::Data::Xml::Dom::IXmlDocumentIO2> { template <typename D> using type = consume_Windows_Data_Xml_Dom_IXmlDocumentIO2<D>; };
template <typename D>
struct consume_Windows_Data_Xml_Dom_IXmlDocumentStatics
{
Windows::Foundation::IAsyncOperation<Windows::Data::Xml::Dom::XmlDocument> LoadFromUriAsync(Windows::Foundation::Uri const& uri) const;
Windows::Foundation::IAsyncOperation<Windows::Data::Xml::Dom::XmlDocument> LoadFromUriAsync(Windows::Foundation::Uri const& uri, Windows::Data::Xml::Dom::XmlLoadSettings const& loadSettings) const;
Windows::Foundation::IAsyncOperation<Windows::Data::Xml::Dom::XmlDocument> LoadFromFileAsync(Windows::Storage::IStorageFile const& file) const;
Windows::Foundation::IAsyncOperation<Windows::Data::Xml::Dom::XmlDocument> LoadFromFileAsync(Windows::Storage::IStorageFile const& file, Windows::Data::Xml::Dom::XmlLoadSettings const& loadSettings) const;
};
template <> struct consume<Windows::Data::Xml::Dom::IXmlDocumentStatics> { template <typename D> using type = consume_Windows_Data_Xml_Dom_IXmlDocumentStatics<D>; };
template <typename D>
struct consume_Windows_Data_Xml_Dom_IXmlDocumentType
{
hstring Name() const;
Windows::Data::Xml::Dom::XmlNamedNodeMap Entities() const;
Windows::Data::Xml::Dom::XmlNamedNodeMap Notations() const;
};
template <> struct consume<Windows::Data::Xml::Dom::IXmlDocumentType> { template <typename D> using type = consume_Windows_Data_Xml_Dom_IXmlDocumentType<D>; };
template <typename D>
struct consume_Windows_Data_Xml_Dom_IXmlDomImplementation
{
bool HasFeature(param::hstring const& feature, Windows::Foundation::IInspectable const& version) const;
};
template <> struct consume<Windows::Data::Xml::Dom::IXmlDomImplementation> { template <typename D> using type = consume_Windows_Data_Xml_Dom_IXmlDomImplementation<D>; };
template <typename D>
struct consume_Windows_Data_Xml_Dom_IXmlElement
{
hstring TagName() const;
hstring GetAttribute(param::hstring const& attributeName) const;
void SetAttribute(param::hstring const& attributeName, param::hstring const& attributeValue) const;
void RemoveAttribute(param::hstring const& attributeName) const;
Windows::Data::Xml::Dom::XmlAttribute GetAttributeNode(param::hstring const& attributeName) const;
Windows::Data::Xml::Dom::XmlAttribute SetAttributeNode(Windows::Data::Xml::Dom::XmlAttribute const& newAttribute) const;
Windows::Data::Xml::Dom::XmlAttribute RemoveAttributeNode(Windows::Data::Xml::Dom::XmlAttribute const& attributeNode) const;
Windows::Data::Xml::Dom::XmlNodeList GetElementsByTagName(param::hstring const& tagName) const;
void SetAttributeNS(Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& qualifiedName, param::hstring const& value) const;
hstring GetAttributeNS(Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& localName) const;
void RemoveAttributeNS(Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& localName) const;
Windows::Data::Xml::Dom::XmlAttribute SetAttributeNodeNS(Windows::Data::Xml::Dom::XmlAttribute const& newAttribute) const;
Windows::Data::Xml::Dom::XmlAttribute GetAttributeNodeNS(Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& localName) const;
};
template <> struct consume<Windows::Data::Xml::Dom::IXmlElement> { template <typename D> using type = consume_Windows_Data_Xml_Dom_IXmlElement<D>; };
template <typename D>
struct consume_Windows_Data_Xml_Dom_IXmlEntityReference
{
};
template <> struct consume<Windows::Data::Xml::Dom::IXmlEntityReference> { template <typename D> using type = consume_Windows_Data_Xml_Dom_IXmlEntityReference<D>; };
template <typename D>
struct consume_Windows_Data_Xml_Dom_IXmlLoadSettings
{
uint32_t MaxElementDepth() const;
void MaxElementDepth(uint32_t value) const;
bool ProhibitDtd() const;
void ProhibitDtd(bool value) const;
bool ResolveExternals() const;
void ResolveExternals(bool value) const;
bool ValidateOnParse() const;
void ValidateOnParse(bool value) const;
bool ElementContentWhiteSpace() const;
void ElementContentWhiteSpace(bool value) const;
};
template <> struct consume<Windows::Data::Xml::Dom::IXmlLoadSettings> { template <typename D> using type = consume_Windows_Data_Xml_Dom_IXmlLoadSettings<D>; };
template <typename D>
struct consume_Windows_Data_Xml_Dom_IXmlNamedNodeMap
{
uint32_t Length() const;
Windows::Data::Xml::Dom::IXmlNode Item(uint32_t index) const;
Windows::Data::Xml::Dom::IXmlNode GetNamedItem(param::hstring const& name) const;
Windows::Data::Xml::Dom::IXmlNode SetNamedItem(Windows::Data::Xml::Dom::IXmlNode const& node) const;
Windows::Data::Xml::Dom::IXmlNode RemoveNamedItem(param::hstring const& name) const;
Windows::Data::Xml::Dom::IXmlNode GetNamedItemNS(Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& name) const;
Windows::Data::Xml::Dom::IXmlNode RemoveNamedItemNS(Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& name) const;
Windows::Data::Xml::Dom::IXmlNode SetNamedItemNS(Windows::Data::Xml::Dom::IXmlNode const& node) const;
};
template <> struct consume<Windows::Data::Xml::Dom::IXmlNamedNodeMap> { template <typename D> using type = consume_Windows_Data_Xml_Dom_IXmlNamedNodeMap<D>; };
template <typename D>
struct consume_Windows_Data_Xml_Dom_IXmlNode
{
Windows::Foundation::IInspectable NodeValue() const;
void NodeValue(Windows::Foundation::IInspectable const& value) const;
Windows::Data::Xml::Dom::NodeType NodeType() const;
hstring NodeName() const;
Windows::Data::Xml::Dom::IXmlNode ParentNode() const;
Windows::Data::Xml::Dom::XmlNodeList ChildNodes() const;
Windows::Data::Xml::Dom::IXmlNode FirstChild() const;
Windows::Data::Xml::Dom::IXmlNode LastChild() const;
Windows::Data::Xml::Dom::IXmlNode PreviousSibling() const;
Windows::Data::Xml::Dom::IXmlNode NextSibling() const;
Windows::Data::Xml::Dom::XmlNamedNodeMap Attributes() const;
bool HasChildNodes() const;
Windows::Data::Xml::Dom::XmlDocument OwnerDocument() const;
Windows::Data::Xml::Dom::IXmlNode InsertBefore(Windows::Data::Xml::Dom::IXmlNode const& newChild, Windows::Data::Xml::Dom::IXmlNode const& referenceChild) const;
Windows::Data::Xml::Dom::IXmlNode ReplaceChild(Windows::Data::Xml::Dom::IXmlNode const& newChild, Windows::Data::Xml::Dom::IXmlNode const& referenceChild) const;
Windows::Data::Xml::Dom::IXmlNode RemoveChild(Windows::Data::Xml::Dom::IXmlNode const& childNode) const;
Windows::Data::Xml::Dom::IXmlNode AppendChild(Windows::Data::Xml::Dom::IXmlNode const& newChild) const;
Windows::Data::Xml::Dom::IXmlNode CloneNode(bool deep) const;
Windows::Foundation::IInspectable NamespaceUri() const;
Windows::Foundation::IInspectable LocalName() const;
Windows::Foundation::IInspectable Prefix() const;
void Normalize() const;
void Prefix(Windows::Foundation::IInspectable const& value) const;
};
template <> struct consume<Windows::Data::Xml::Dom::IXmlNode> { template <typename D> using type = consume_Windows_Data_Xml_Dom_IXmlNode<D>; };
template <typename D>
struct consume_Windows_Data_Xml_Dom_IXmlNodeList
{
uint32_t Length() const;
Windows::Data::Xml::Dom::IXmlNode Item(uint32_t index) const;
};
template <> struct consume<Windows::Data::Xml::Dom::IXmlNodeList> { template <typename D> using type = consume_Windows_Data_Xml_Dom_IXmlNodeList<D>; };
template <typename D>
struct consume_Windows_Data_Xml_Dom_IXmlNodeSelector
{
Windows::Data::Xml::Dom::IXmlNode SelectSingleNode(param::hstring const& xpath) const;
Windows::Data::Xml::Dom::XmlNodeList SelectNodes(param::hstring const& xpath) const;
Windows::Data::Xml::Dom::IXmlNode SelectSingleNodeNS(param::hstring const& xpath, Windows::Foundation::IInspectable const& namespaces) const;
Windows::Data::Xml::Dom::XmlNodeList SelectNodesNS(param::hstring const& xpath, Windows::Foundation::IInspectable const& namespaces) const;
};
template <> struct consume<Windows::Data::Xml::Dom::IXmlNodeSelector> { template <typename D> using type = consume_Windows_Data_Xml_Dom_IXmlNodeSelector<D>; };
template <typename D>
struct consume_Windows_Data_Xml_Dom_IXmlNodeSerializer
{
hstring GetXml() const;
hstring InnerText() const;
void InnerText(param::hstring const& value) const;
};
template <> struct consume<Windows::Data::Xml::Dom::IXmlNodeSerializer> { template <typename D> using type = consume_Windows_Data_Xml_Dom_IXmlNodeSerializer<D>; };
template <typename D>
struct consume_Windows_Data_Xml_Dom_IXmlProcessingInstruction
{
hstring Target() const;
hstring Data() const;
void Data(param::hstring const& value) const;
};
template <> struct consume<Windows::Data::Xml::Dom::IXmlProcessingInstruction> { template <typename D> using type = consume_Windows_Data_Xml_Dom_IXmlProcessingInstruction<D>; };
template <typename D>
struct consume_Windows_Data_Xml_Dom_IXmlText
{
Windows::Data::Xml::Dom::IXmlText SplitText(uint32_t offset) const;
};
template <> struct consume<Windows::Data::Xml::Dom::IXmlText> { template <typename D> using type = consume_Windows_Data_Xml_Dom_IXmlText<D>; };
template <> struct abi<Windows::Data::Xml::Dom::IDtdEntity>{ struct type : ::IInspectable
{
virtual HRESULT __stdcall get_PublicId(::IUnknown** value) = 0;
virtual HRESULT __stdcall get_SystemId(::IUnknown** value) = 0;
virtual HRESULT __stdcall get_NotationName(::IUnknown** value) = 0;
};};
template <> struct abi<Windows::Data::Xml::Dom::IDtdNotation>{ struct type : ::IInspectable
{
virtual HRESULT __stdcall get_PublicId(::IUnknown** value) = 0;
virtual HRESULT __stdcall get_SystemId(::IUnknown** value) = 0;
};};
template <> struct abi<Windows::Data::Xml::Dom::IXmlAttribute>{ struct type : ::IInspectable
{
virtual HRESULT __stdcall get_Name(HSTRING* value) = 0;
virtual HRESULT __stdcall get_Specified(bool* value) = 0;
virtual HRESULT __stdcall get_Value(HSTRING* value) = 0;
virtual HRESULT __stdcall put_Value(HSTRING value) = 0;
};};
template <> struct abi<Windows::Data::Xml::Dom::IXmlCDataSection>{ struct type : ::IInspectable
{
};};
template <> struct abi<Windows::Data::Xml::Dom::IXmlCharacterData>{ struct type : ::IInspectable
{
virtual HRESULT __stdcall get_Data(HSTRING* value) = 0;
virtual HRESULT __stdcall put_Data(HSTRING value) = 0;
virtual HRESULT __stdcall get_Length(uint32_t* value) = 0;
virtual HRESULT __stdcall SubstringData(uint32_t offset, uint32_t count, HSTRING* data) = 0;
virtual HRESULT __stdcall AppendData(HSTRING data) = 0;
virtual HRESULT __stdcall InsertData(uint32_t offset, HSTRING data) = 0;
virtual HRESULT __stdcall DeleteData(uint32_t offset, uint32_t count) = 0;
virtual HRESULT __stdcall ReplaceData(uint32_t offset, uint32_t count, HSTRING data) = 0;
};};
template <> struct abi<Windows::Data::Xml::Dom::IXmlComment>{ struct type : ::IInspectable
{
};};
template <> struct abi<Windows::Data::Xml::Dom::IXmlDocument>{ struct type : ::IInspectable
{
virtual HRESULT __stdcall get_Doctype(::IUnknown** value) = 0;
virtual HRESULT __stdcall get_Implementation(::IUnknown** value) = 0;
virtual HRESULT __stdcall get_DocumentElement(::IUnknown** value) = 0;
virtual HRESULT __stdcall CreateElement(HSTRING tagName, ::IUnknown** newElement) = 0;
virtual HRESULT __stdcall CreateDocumentFragment(::IUnknown** newDocumentFragment) = 0;
virtual HRESULT __stdcall CreateTextNode(HSTRING data, ::IUnknown** newTextNode) = 0;
virtual HRESULT __stdcall CreateComment(HSTRING data, ::IUnknown** newComment) = 0;
virtual HRESULT __stdcall CreateProcessingInstruction(HSTRING target, HSTRING data, ::IUnknown** newProcessingInstruction) = 0;
virtual HRESULT __stdcall CreateAttribute(HSTRING name, ::IUnknown** newAttribute) = 0;
virtual HRESULT __stdcall CreateEntityReference(HSTRING name, ::IUnknown** newEntityReference) = 0;
virtual HRESULT __stdcall GetElementsByTagName(HSTRING tagName, ::IUnknown** elements) = 0;
virtual HRESULT __stdcall CreateCDataSection(HSTRING data, ::IUnknown** newCDataSection) = 0;
virtual HRESULT __stdcall get_DocumentUri(HSTRING* value) = 0;
virtual HRESULT __stdcall CreateAttributeNS(::IUnknown* namespaceUri, HSTRING qualifiedName, ::IUnknown** newAttribute) = 0;
virtual HRESULT __stdcall CreateElementNS(::IUnknown* namespaceUri, HSTRING qualifiedName, ::IUnknown** newElement) = 0;
virtual HRESULT __stdcall GetElementById(HSTRING elementId, ::IUnknown** element) = 0;
virtual HRESULT __stdcall ImportNode(::IUnknown* node, bool deep, ::IUnknown** newNode) = 0;
};};
template <> struct abi<Windows::Data::Xml::Dom::IXmlDocumentFragment>{ struct type : ::IInspectable
{
};};
template <> struct abi<Windows::Data::Xml::Dom::IXmlDocumentIO>{ struct type : ::IInspectable
{
virtual HRESULT __stdcall LoadXml(HSTRING xml) = 0;
virtual HRESULT __stdcall LoadXmlWithSettings(HSTRING xml, ::IUnknown* loadSettings) = 0;
virtual HRESULT __stdcall SaveToFileAsync(::IUnknown* file, ::IUnknown** asyncInfo) = 0;
};};
template <> struct abi<Windows::Data::Xml::Dom::IXmlDocumentIO2>{ struct type : ::IInspectable
{
virtual HRESULT __stdcall LoadXmlFromBuffer(::IUnknown* buffer) = 0;
virtual HRESULT __stdcall LoadXmlFromBufferWithSettings(::IUnknown* buffer, ::IUnknown* loadSettings) = 0;
};};
template <> struct abi<Windows::Data::Xml::Dom::IXmlDocumentStatics>{ struct type : ::IInspectable
{
virtual HRESULT __stdcall LoadFromUriAsync(::IUnknown* uri, ::IUnknown** asyncInfo) = 0;
virtual HRESULT __stdcall LoadFromUriWithSettingsAsync(::IUnknown* uri, ::IUnknown* loadSettings, ::IUnknown** asyncInfo) = 0;
virtual HRESULT __stdcall LoadFromFileAsync(::IUnknown* file, ::IUnknown** asyncInfo) = 0;
virtual HRESULT __stdcall LoadFromFileWithSettingsAsync(::IUnknown* file, ::IUnknown* loadSettings, ::IUnknown** asyncInfo) = 0;
};};
template <> struct abi<Windows::Data::Xml::Dom::IXmlDocumentType>{ struct type : ::IInspectable
{
virtual HRESULT __stdcall get_Name(HSTRING* value) = 0;
virtual HRESULT __stdcall get_Entities(::IUnknown** value) = 0;
virtual HRESULT __stdcall get_Notations(::IUnknown** value) = 0;
};};
template <> struct abi<Windows::Data::Xml::Dom::IXmlDomImplementation>{ struct type : ::IInspectable
{
virtual HRESULT __stdcall HasFeature(HSTRING feature, ::IUnknown* version, bool* featureSupported) = 0;
};};
template <> struct abi<Windows::Data::Xml::Dom::IXmlElement>{ struct type : ::IInspectable
{
virtual HRESULT __stdcall get_TagName(HSTRING* value) = 0;
virtual HRESULT __stdcall GetAttribute(HSTRING attributeName, HSTRING* attributeValue) = 0;
virtual HRESULT __stdcall SetAttribute(HSTRING attributeName, HSTRING attributeValue) = 0;
virtual HRESULT __stdcall RemoveAttribute(HSTRING attributeName) = 0;
virtual HRESULT __stdcall GetAttributeNode(HSTRING attributeName, ::IUnknown** attributeNode) = 0;
virtual HRESULT __stdcall SetAttributeNode(::IUnknown* newAttribute, ::IUnknown** previousAttribute) = 0;
virtual HRESULT __stdcall RemoveAttributeNode(::IUnknown* attributeNode, ::IUnknown** removedAttribute) = 0;
virtual HRESULT __stdcall GetElementsByTagName(HSTRING tagName, ::IUnknown** elements) = 0;
virtual HRESULT __stdcall SetAttributeNS(::IUnknown* namespaceUri, HSTRING qualifiedName, HSTRING value) = 0;
virtual HRESULT __stdcall GetAttributeNS(::IUnknown* namespaceUri, HSTRING localName, HSTRING* value) = 0;
virtual HRESULT __stdcall RemoveAttributeNS(::IUnknown* namespaceUri, HSTRING localName) = 0;
virtual HRESULT __stdcall SetAttributeNodeNS(::IUnknown* newAttribute, ::IUnknown** previousAttribute) = 0;
virtual HRESULT __stdcall GetAttributeNodeNS(::IUnknown* namespaceUri, HSTRING localName, ::IUnknown** previousAttribute) = 0;
};};
template <> struct abi<Windows::Data::Xml::Dom::IXmlEntityReference>{ struct type : ::IInspectable
{
};};
template <> struct abi<Windows::Data::Xml::Dom::IXmlLoadSettings>{ struct type : ::IInspectable
{
virtual HRESULT __stdcall get_MaxElementDepth(uint32_t* value) = 0;
virtual HRESULT __stdcall put_MaxElementDepth(uint32_t value) = 0;
virtual HRESULT __stdcall get_ProhibitDtd(bool* value) = 0;
virtual HRESULT __stdcall put_ProhibitDtd(bool value) = 0;
virtual HRESULT __stdcall get_ResolveExternals(bool* value) = 0;
virtual HRESULT __stdcall put_ResolveExternals(bool value) = 0;
virtual HRESULT __stdcall get_ValidateOnParse(bool* value) = 0;
virtual HRESULT __stdcall put_ValidateOnParse(bool value) = 0;
virtual HRESULT __stdcall get_ElementContentWhiteSpace(bool* value) = 0;
virtual HRESULT __stdcall put_ElementContentWhiteSpace(bool value) = 0;
};};
template <> struct abi<Windows::Data::Xml::Dom::IXmlNamedNodeMap>{ struct type : ::IInspectable
{
virtual HRESULT __stdcall get_Length(uint32_t* value) = 0;
virtual HRESULT __stdcall Item(uint32_t index, ::IUnknown** node) = 0;
virtual HRESULT __stdcall GetNamedItem(HSTRING name, ::IUnknown** node) = 0;
virtual HRESULT __stdcall SetNamedItem(::IUnknown* node, ::IUnknown** previousNode) = 0;
virtual HRESULT __stdcall RemoveNamedItem(HSTRING name, ::IUnknown** previousNode) = 0;
virtual HRESULT __stdcall GetNamedItemNS(::IUnknown* namespaceUri, HSTRING name, ::IUnknown** node) = 0;
virtual HRESULT __stdcall RemoveNamedItemNS(::IUnknown* namespaceUri, HSTRING name, ::IUnknown** previousNode) = 0;
virtual HRESULT __stdcall SetNamedItemNS(::IUnknown* node, ::IUnknown** previousNode) = 0;
};};
template <> struct abi<Windows::Data::Xml::Dom::IXmlNode>{ struct type : ::IInspectable
{
virtual HRESULT __stdcall get_NodeValue(::IUnknown** value) = 0;
virtual HRESULT __stdcall put_NodeValue(::IUnknown* value) = 0;
virtual HRESULT __stdcall get_NodeType(abi_t<Windows::Data::Xml::Dom::NodeType>* value) = 0;
virtual HRESULT __stdcall get_NodeName(HSTRING* value) = 0;
virtual HRESULT __stdcall get_ParentNode(::IUnknown** value) = 0;
virtual HRESULT __stdcall get_ChildNodes(::IUnknown** value) = 0;
virtual HRESULT __stdcall get_FirstChild(::IUnknown** value) = 0;
virtual HRESULT __stdcall get_LastChild(::IUnknown** value) = 0;
virtual HRESULT __stdcall get_PreviousSibling(::IUnknown** value) = 0;
virtual HRESULT __stdcall get_NextSibling(::IUnknown** value) = 0;
virtual HRESULT __stdcall get_Attributes(::IUnknown** value) = 0;
virtual HRESULT __stdcall HasChildNodes(bool* value) = 0;
virtual HRESULT __stdcall get_OwnerDocument(::IUnknown** value) = 0;
virtual HRESULT __stdcall InsertBefore(::IUnknown* newChild, ::IUnknown* referenceChild, ::IUnknown** insertedChild) = 0;
virtual HRESULT __stdcall ReplaceChild(::IUnknown* newChild, ::IUnknown* referenceChild, ::IUnknown** previousChild) = 0;
virtual HRESULT __stdcall RemoveChild(::IUnknown* childNode, ::IUnknown** removedChild) = 0;
virtual HRESULT __stdcall AppendChild(::IUnknown* newChild, ::IUnknown** appendedChild) = 0;
virtual HRESULT __stdcall CloneNode(bool deep, ::IUnknown** newNode) = 0;
virtual HRESULT __stdcall get_NamespaceUri(::IUnknown** value) = 0;
virtual HRESULT __stdcall get_LocalName(::IUnknown** value) = 0;
virtual HRESULT __stdcall get_Prefix(::IUnknown** value) = 0;
virtual HRESULT __stdcall Normalize() = 0;
virtual HRESULT __stdcall put_Prefix(::IUnknown* value) = 0;
};};
template <> struct abi<Windows::Data::Xml::Dom::IXmlNodeList>{ struct type : ::IInspectable
{
virtual HRESULT __stdcall get_Length(uint32_t* value) = 0;
virtual HRESULT __stdcall Item(uint32_t index, ::IUnknown** node) = 0;
};};
template <> struct abi<Windows::Data::Xml::Dom::IXmlNodeSelector>{ struct type : ::IInspectable
{
virtual HRESULT __stdcall SelectSingleNode(HSTRING xpath, ::IUnknown** node) = 0;
virtual HRESULT __stdcall SelectNodes(HSTRING xpath, ::IUnknown** nodelist) = 0;
virtual HRESULT __stdcall SelectSingleNodeNS(HSTRING xpath, ::IUnknown* namespaces, ::IUnknown** node) = 0;
virtual HRESULT __stdcall SelectNodesNS(HSTRING xpath, ::IUnknown* namespaces, ::IUnknown** nodelist) = 0;
};};
template <> struct abi<Windows::Data::Xml::Dom::IXmlNodeSerializer>{ struct type : ::IInspectable
{
virtual HRESULT __stdcall GetXml(HSTRING* outerXml) = 0;
virtual HRESULT __stdcall get_InnerText(HSTRING* value) = 0;
virtual HRESULT __stdcall put_InnerText(HSTRING value) = 0;
};};
template <> struct abi<Windows::Data::Xml::Dom::IXmlProcessingInstruction>{ struct type : ::IInspectable
{
virtual HRESULT __stdcall get_Target(HSTRING* value) = 0;
virtual HRESULT __stdcall get_Data(HSTRING* value) = 0;
virtual HRESULT __stdcall put_Data(HSTRING value) = 0;
};};
template <> struct abi<Windows::Data::Xml::Dom::IXmlText>{ struct type : ::IInspectable
{
virtual HRESULT __stdcall SplitText(uint32_t offset, ::IUnknown** secondPart) = 0;
};};
}
}
| [
"[email protected]"
] | |
edccd8dbc9971d5df433d91945492c35911d67f7 | 29dec11a2447cc9e8e301bbfa9db28491eb76f1e | /src/core/cmodel/Object.hxx | 500ea4d81637bb164fa6d570ed22288a38e52885 | [] | no_license | kvr000/drt | 897a706523132b2a92273144da993a300947b555 | 28d859693046ecf96cdc70052bb4e2629833c740 | refs/heads/master | 2022-05-01T10:42:10.695069 | 2022-03-27T02:34:05 | 2022-03-27T02:34:05 | 222,618,569 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,401 | hxx | /**
* drt library
*
* drt multiplatform development toolkit
*
* ----------------------------------------------------------------------------------
*
* Copyright (C) 2004-2008 Zbyněk Vyškovský
*
* ----------------------------------------------------------------------------------
*
* LICENSE:
*
* This file is part of drt
*
* drt is free software; you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 3 of the License, or (at your option)
* any later version.
*
* drt is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
* more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with drt; if not, write to the Free Software Foundation, Inc., 51
* Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
* @copyright 2004-2008 Zbyněk Vyškovský
* @link mailto:[email protected]
* @link http://kvr.matfyz.cz/drt/
* @license http://www.gnu.org/licenses/lgpl.txt GNU Lesser General Public License v3
**/
#ifndef dr__Object__hxx__
# define dr__Object__hxx__
#include <dr/def_core.hxx>
#include <dr/Atomic.hxx>
#include <dr/Iface.hxx>
DR_NS_BEGIN
class GroupRef;
class WeakRef_g;
template <typename T> class WeakRef;
#ifdef DR_IS_DOX
#define DR_METHOD_REDIR0(to, rettype, name)
#define DR_METHOD_REDIR1(to, rettype, name, A1)
#define DR_METHOD_REDIR2(to, rettype, name, A1, A2)
#define DR_METHOD_REDIR3(to, rettype, name, A1, A2, A3)
#define DR_METHOD_REDIR4(to, rettype, name, A1, A2, A3, A4)
#define DR_METHOD_REDIR5(to, rettype, name, A1, A2, A3, A4, A5)
#define DR_METHOD_REDIR0C(to, rettype, name)
#define DR_METHOD_REDIR1C(to, rettype, name, A1)
#define DR_METHOD_REDIR2C(to, rettype, name, A1, A2)
#define DR_METHOD_REDIR3C(to, rettype, name, A1, A2, A3)
#define DR_METHOD_REDIR4C(to, rettype, name, A1, A2, A3, A4)
#define DR_METHOD_REDIR5C(to, rettype, name, A1, A2, A3, A4, A5)
#define DR_NODOX(cont)
#else
#define DR_METHOD_REDIR0(to, rettype, name) \
virtual rettype name() { return to::name(); }
#define DR_METHOD_REDIR1(to, rettype, name, A1) \
virtual rettype name(A1 a1) { return to::name(a1); }
#define DR_METHOD_REDIR2(to, rettype, name, A1, A2) \
virtual rettype name(A1 a1, A2 a2) { return to::name(a1, a2); }
#define DR_METHOD_REDIR3(to, rettype, name, A1, A2, A3) \
virtual rettype name(A1 a1, A2 a2, A3 a3) { return to::name(a1, a2, a3); }
#define DR_METHOD_REDIR4(to, rettype, name, A1, A2, A3, A4) \
virtual rettype name(A1 a1, A2 a2, A3 a3, A4 a4) { return to::name(a1, a2, a3, a4); }
#define DR_METHOD_REDIR5(to, rettype, name, A1, A2, A3, A4, A5) \
virtual rettype name(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5) { return to::name(a1, a2, a3, a4, a5); }
#define DR_METHOD_REDIR0C(to, rettype, name) \
virtual rettype name() const { return to::name(); }
#define DR_METHOD_REDIR1C(to, rettype, name, A1) \
virtual rettype name(A1 a1) const { return to::name(a1); }
#define DR_METHOD_REDIR2C(to, rettype, name, A1, A2) \
virtual rettype name(A1 a1, A2 a2) const { return to::name(a1, a2); }
#define DR_METHOD_REDIR3C(to, rettype, name, A1, A2, A3) \
virtual rettype name(A1 a1, A2 a2, A3 a3) const { return to::name(a1, a2, a3); }
#define DR_METHOD_REDIR4C(to, rettype, name, A1, A2, A3, A4) \
virtual rettype name(A1 a1, A2 a2, A3 a3, A4 a4) const { return to::name(a1, a2, a3, a4); }
#define DR_METHOD_REDIR5C(to, rettype, name, A1, A2, A3, A4, A5) \
virtual rettype name(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5) const { return to::name(a1, a2, a3, a4, a5); }
#define DR_NODOX(cont) cont
#endif
#define DR_SUPER_REDIR0(rettype, name) \
DR_METHOD_REDIR0(Super, rettype, name)
#define DR_SUPER_REDIR1(rettype, name, A1) \
DR_METHOD_REDIR1(Super, rettype, name, A1)
#define DR_SUPER_REDIR2(rettype, name, A1, A2) \
DR_METHOD_REDIR2(Super, rettype, name, A1, A2)
#define DR_SUPER_REDIR3(rettype, name, A1, A2, A3) \
DR_METHOD_REDIR3(Super, rettype, name, A1, A2, A3)
#define DR_SUPER_REDIR4(rettype, name, A1, A2, A3, A4) \
DR_METHOD_REDIR4(Super, rettype, name, A1, A2, A3, A4)
#define DR_SUPER_REDIR5(rettype, name, A1, A2, A3, A4, A5) \
DR_METHOD_REDIR5(Super, rettype, name, A1, A2, A3, A4, A5)
#define DR_SUPER_REDIR0C(rettype, name) \
DR_METHOD_REDIR0C(Super, rettype, name)
#define DR_SUPER_REDIR1C(rettype, name, A1) \
DR_METHOD_REDIR1C(Super, rettype, name, A1)
#define DR_SUPER_REDIR2C(rettype, name, A1, A2) \
DR_METHOD_REDIR2C(Super, rettype, name, A1, A2)
#define DR_SUPER_REDIR3C(rettype, name, A1, A2, A3) \
DR_METHOD_REDIR3C(Super, rettype, name, A1, A2, A3)
#define DR_SUPER_REDIR4C(rettype, name, A1, A2, A3, A4) \
DR_METHOD_REDIR4C(Super, rettype, name, A1, A2, A3, A4)
#define DR_SUPER_REDIR5C(rettype, name, A1, A2, A3, A4, A5) \
DR_METHOD_REDIR5C(Super, rettype, name, A1, A2, A3, A4, A5)
#define DR_OBJECT_DECL_SIMPLE(objname, ancestor) \
private: \
typedef ancestor Super; \
\
public: \
DR_SUPER_REDIR1C(void *, getIface, const DR_NSP(String) &); \
DR_SUPER_REDIR1C(void *, getIfaceUnref, const DR_NSP(String) &); \
DR_SUPER_REDIR1C(void *, getCheckIface, const DR_NSP(String) &); \
DR_SUPER_REDIR1C(Object *, getCheckFinal, const DR_NSP(String) &); \
DR_SUPER_REDIR1C(Object *, accCheckFinal, const DR_NSP(String) &); \
virtual const DR_NSP(String) & classname() const { return comp_name; } \
DR_NODOX(virtual const DR_NSP(Static) * getObjectStatic() const;) \
\
public: \
static const DR_NSP(String) comp_name; \
private: \
DR_NODOX(static const DR_NSP(Static) * comp_static)
#define DR_OBJECT_DECL(objname, ancestor) \
DR_OBJECT_DECL_SIMPLE(objname, ancestor); \
public: \
DR_SUPER_REDIR0C(DR_NSP(Object) *, acc); \
DR_SUPER_REDIR0C(DR_NSP(Object) *, ref); \
DR_SUPER_REDIR0C(bool, unref); \
DR_SUPER_REDIR0C(bool, checkReferenced); \
DR_SUPER_REDIR0C(DR_NSP(Object) *, refLiving); \
#define DR_OBJECT_DECL_MODIF(objname, ancestor) \
DR_OBJECT_DECL_SIMPLE(objname, ancestor); \
#define DR_REDIR_STRINGIFY() \
public: \
DR_SUPER_REDIR0C(DR_NSP(String), stringify)
#define DR_REDIR_SERIALIZE() \
public: \
DR_SUPER_REDIR1C(void, serializeTo, DR_NSP(SerializeEncoder) *); \
DR_SUPER_REDIR1(void, unserializeFrom, DR_NSP(SerializeDecoder) *)
#define DR_REDIR_CMP() \
public: \
DR_SUPER_REDIR0C(long, hash); \
DR_SUPER_REDIR1C(bool, eq, const DR_NSP(Iface) *); \
DR_SUPER_REDIR1C(int, cmp, const DR_NSP(Iface) *); \
DR_SUPER_REDIR1C(long, hashKey, int); \
DR_SUPER_REDIR2C(bool, eqKey, const DR_NSP(Iface) *, int); \
DR_SUPER_REDIR2C(int, cmpKey, const DR_NSP(Iface) *, int)
#define DR_REDIR_BEHAV() \
DR_REDIR_STRINGIFY(); \
DR_REDIR_CMP(); \
DR_REDIR_SERIALIZE()
#define DR_OBJECT_DEF(NS_STR, objname, ancestor) \
DR_EXPORT_DTS const DR_NSP(String) objname::comp_name(DR_NSP(Const)::string(NS_STR #objname)); \
DR_NODOX(DR_EXPORT_DTS const DR_NSP(Static) * objname::comp_static)
#define DR_OBJECT_IMPL_SIMPLE_getObjectStatic(objname) \
DR_EXPORT_MET const DR_NSP(Static) *objname::getObjectStatic() const \
{ \
if (comp_static) \
return comp_static; \
return createObjectStatic(comp_name, &comp_static, Super::getObjectStatic(), 0, NULL); \
}
#define DR_OBJECT_IMPL_IFACE1_getObjectStatic(objname, iface0) \
DR_EXPORT_MET const DR_NSP(Static) *objname::getObjectStatic() const \
{ \
if (comp_static) \
return comp_static; \
return createObjectStatic(comp_name, &comp_static, Super::getObjectStatic(), (char *)(void *)(iface0 *)this-(char *)(void *)this, iface0::getIfaceStatic(), 0, NULL); \
}
#define DR_OBJECT_IMPL_IFACE2_getObjectStatic(objname, iface0, iface1) \
DR_EXPORT_MET const DR_NSP(Static) *objname::getObjectStatic() const \
{ \
if (comp_static) \
return comp_static; \
return createObjectStatic(comp_name, &comp_static, Super::getObjectStatic(), (char *)(void *)(iface0 *)this-(char *)(void *)this, iface0::getIfaceStatic(), (char *)(void *)(iface1 *)this-(char *)(void *)this, iface1::getIfaceStatic(), 0, NULL); \
}
#define DR_OBJECT_IMPL_IFACE3_getObjectStatic(objname, iface0, iface1, iface2) const \
DR_EXPORT_MET const DR_NSP(Static) *objname::getObjectStatic() \
{ \
if (comp_static) \
return comp_static; \
return createObjectStatic(comp_name, &comp_static, Super::getObjectStatic(), (char *)(void *)(iface0 *)this-(char *)(void *)this, iface0::getIfaceStatic(), (char *)(void *)(iface1 *)this-(char *)(void *)this, iface1::getIfaceStatic(), (char *)(void *)(iface2 *)this-(char *)(void *)this, iface1::getIfaceStatic(), 0, NULL); \
}
#define DR_OBJECT_IMPL_SIMPLE(objname) \
DR_OBJECT_IMPL_SIMPLE_getObjectStatic(objname)
#define DR_OBJECT_IMPL_IFACE0(objname) \
DR_OBJECT_IMPL_SIMPLE_getObjectStatic(objname)
#define DR_OBJECT_IMPL_IFACE1(objname, iface0) \
DR_OBJECT_IMPL_IFACE1_getObjectStatic(objname, iface0)
#define DR_OBJECT_IMPL_IFACE2(objname, iface0, iface1) \
DR_OBJECT_IMPL_IFACE2_getObjectStatic(objname, iface0, iface1)
#define DR_OBJECT_IMPL_IFACE3(objname, iface0, iface1, iface2) \
DR_OBJECT_IMPL_IFACE3_getObjectStatic(objname, iface0, iface1, iface2)
#define DR_OBJECT_INIT(objname, ancestor, args) \
Super args
class Throwable;
/**
* base for all objects
*/
class DR_PUB Object: public Iface
{
public: /* basic */
/**
* @see Iface::acc
*/
virtual Object * acc() const;
/**
* @see Iface::ref
*/
virtual Object * ref() const;
/**
* @see Iface::unref
*/
virtual bool unref() const;
/**
* @see Iface::getIface
*/
virtual void * getIface(const String &iface) const;
/**
* @see Iface::getIfaceUnref
*/
virtual void * getIfaceUnref(const String &iface) const;
/**
* @see Iface::getCheckIface
*/
virtual void * getCheckIface(const String &iface) const;
/**
* @see Iface::accCheckFinal
*/
virtual Object * accCheckFinal(const String &name) const;
/**
* @see Iface::getCheckFinal
*/
virtual Object * getCheckFinal(const String &name) const;
/**
* @see Iface::refLiving()
*/
virtual Object * refLiving() const;
/**
* @see Iface::checkReferenced()
*/
virtual bool checkReferenced() const;
/**
* @see Iface::classname
*/
virtual const String & classname() const;
/**
* @see Iface::stringify
*/
virtual String stringify() const;
/**
* @see Iface::hash
*/
virtual long hash() const;
/**
* @see Iface::eq
*/
virtual bool eq(const Iface *obj) const;
/**
* @see Iface::cmp
*/
virtual int cmp(const Iface *obj) const;
/**
* @see Iface::keyHash
*/
virtual long hashKey(int key) const { return hash(); }
/**
* @see Iface::keyEq
*/
virtual bool eqKey(const Iface *obj, int key) const { return eq(obj); }
/**
* @see Iface::keyCmp
*/
virtual int cmpKey(const Iface *obj, int key) const { return cmp(obj); }
/**
* @see Iface::serializeTo
*/
virtual void serializeTo(SerializeEncoder *stream) const;
/**
* @see Iface::unserializeFrom
*/
virtual void unserializeFrom(SerializeDecoder *stream);
private: /* implementation static data */
virtual void object_reserved_static();
virtual void object_reserved_1();
virtual void object_reserved_2();
enum {
OVD_IFACE_DEF = 22,
OVD_SECOND,
OVD_THIRD,
};
public:
/**
* contains component name
*/
static const String comp_name;
/**
* contains static object data
*/
static const Static * comp_static;
protected:
/**
* object runtime information
*/
struct ObjectInfo
{
GroupRef * group_ref;
WeakRef_g ** weak_iface_refs;
};
protected:
/**
* reference count
* 0 means one reference, once coming negative, the object is destroyed
*/
mutable Refcnt refcnt;
/**
* runtime information
*/
mutable struct ObjectInfo * core_data;
/**
* constructor
*/
DR_CONSTRUCT Object();
/**
* no initialization constructor
*/
DR_CONSTRUCT Object(const None &);
protected:
/**
* returns object static information
*
* Must be overriden by inherited objects.
* It is done automatically by dr macros
*
* @return object static information
*/
virtual const Static * getObjectStatic() const;
/**
* unrefed event
*
* Called when the object itself is no longer referenced.
* Note that the order of calling unrefed() and rerefed() is not
* guaranteed.
*
* @return false
* when object is destroyed
* @return true
* when object still exists
*
* @note
* it's recommended to not override this functionality
*/
virtual bool unrefed();
/**
* re-refed event
*
* Called when the object itself is referenced again.
* Note that the order of calling unrefed() and rerefed() is not
* guaranteed.
*
* @note
* it's recommended to not override this functionality
*/
virtual void rerefed();
/**
* destroy event
*
* Called when the object is going to be destroyed
*
* @note
* the default functionality calls destructor
*/
virtual void destroy();
/**
* destructor
*/
virtual ~Object();
protected: /* generic support functions */
static const Static * createObjectStatic(const String &comp_name_, const Static **output, const Static *parent, ...);
protected:
static ObjectInfo default_oi;
protected:
friend class Iface;
};
DR_NS_END
#endif
| [
"[email protected]"
] | |
f92311a6d5f2338b4b2e9a7dbde68b0d962ece1b | 31315e3a4d29eda95db818b32a78ddeff452ee04 | /Codeforces/686D.cpp | 3a7d1b12dce95a50b44a35a5dd1c84a9a63eca39 | [] | no_license | trunghai95/MyCPCodes | c3cb002308e522ab859fb8753f3b7c63cef29a6f | 4f7a339dd3841dfc54d18ec446effa8641d9bd37 | refs/heads/master | 2022-12-12T22:52:26.120067 | 2022-12-03T04:36:13 | 2022-12-03T04:36:13 | 47,124,575 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,179 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef pair<int,int> pii;
int n, q, x, cent[300001], maxx[300001], sum[300001], par[300001][19];
vector<int> child[300001];
void dfs(int &u)
{
sum[u] = 1;
for (int i = 1; i < 19; ++i)
if (par[u][i-1] != -1)
{
par[u][i] = par[par[u][i-1]][i-1];
}
for (int i = 0; i < (int)child[u].size(); ++i)
{
dfs(child[u][i]);
sum[u] += sum[child[u][i]];
maxx[u] = max(maxx[u], sum[child[u][i]]);
}
if (maxx[u]*2 <= sum[u])
cent[u] = u;
}
void proc(int &u)
{
int lo = maxx[u]*2, hi = sum[u]*2;
int p = u;
while (1)
{
bool f = false;
for (int i = 18; i >= 0; --i)
if (par[p][i] != -1 && sum[par[p][i]] < lo)
{
p = par[p][i];
f = true;
break;
}
if (!f)
{
if (par[p][0] == -1)
return;
p = par[p][0];
break;
}
}
while (p != -1 && sum[p] <= hi)
cent[p] = u, p = par[p][0];
}
int main()
{
scanf("%d %d", &n, &q);
memset(par, -1, sizeof(par));
for (int i = 2; i <= n; ++i)
{
scanf("%d", &par[i][0]);
child[par[i][0]].push_back(i);
}
x = 1;
dfs(x);
for (int i = 1; i <= n; ++i)
proc(i);
while (q--)
{
scanf("%d", &x);
printf("%d\n", cent[x]);
}
return 0;
} | [
"[email protected]"
] | |
e2d1942df633e66726c4767ceb4bc728a69907ca | 9419e2ac1be927b6caf96509d18b97f6571afe3d | /stack/stack_ll.cpp | 9c430006d8a81194634b9e2d12e89ad76cb17f60 | [] | no_license | Bhoomikapanwar/DS-Algo | ebc0b21595a5240c227163b3ca85896793df24fb | 96b5e5b1b11b734e5c3292324edd51bbb7e198cd | refs/heads/master | 2020-03-20T13:57:10.574762 | 2018-11-03T18:15:21 | 2018-11-03T18:15:21 | 137,471,073 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,109 | cpp | #include<iostream>
using namespace std;
struct node
{
int data;
node* next;
};
class Stack
{
node *top;
int size;
public:
Stack(){
top=NULL;
size=0;
}
void push(int ele);
int pop();
int peek();
int stackSize();
bool isEmpty();
};
bool Stack::isEmpty()
{
if(top==NULL)
return true;
else
return false;
}
void Stack::push(int ele)
{
cout<<"Creating node";
node *newNode = new node();
newNode->data=ele;
if(isEmpty())
{
cout<<"First node";
newNode->next=NULL;
top=newNode;
}
else
{
cout<<"Other nodes pushed";
newNode->next=top;
top=newNode;
}
size++;
}
int Stack::pop()
{
if(isEmpty())
{
cout<<"Stack is empty";
return -1;
}
else
{
cout<<"Node popped";
int x = top->data;
top = top->next;
size--;
return x;
}
}
int Stack::peek()
{
if(isEmpty())
{
cout<<"Stack empty";
return -1;
}
else
return top->data;
}
int Stack::stackSize()
{
return size;
}
int main()
{
Stack s;
s.push(2);
s.push(3);
s.push(4);
cout<<"Popped element: "<<s.pop();
cout<<"Stack size: "<<s.stackSize();
cout<<"Top element: "<<s.peek();
return 0;
}
| [
"[email protected]"
] | |
4ef0ce3d0aa71e3b1779a7d3371ea60dcf20bf90 | f4694d382edb3805d7d67858ac39401f246d52a4 | /cocos2d/cocos/3d/C3DResourcePool.cpp | f86da41ba19309015fd7b4271fb037343969576a | [
"BSD-2-Clause"
] | permissive | cn00/MJ | 829f88c68164817ee0fdc5a43c6eb86a9e83e897 | dc0a77e9b82deae66e14e0a4ac5b8e2b3bef936f | refs/heads/master | 2021-01-18T13:29:48.142197 | 2014-05-14T13:53:06 | 2014-05-14T13:53:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,534 | cpp | #include "C3DResourcePool.h"
#include "C3DResource.h"
#include "C3DResourceManager.h"
#include "Base.h"
namespace cocos2d
{
C3DResourcePool::C3DResourcePool(C3DResourceManager* manager)
{
_manager = manager;
}
C3DResourcePool::~C3DResourcePool()
{
clear();
_manager = NULL;
}
void C3DResourcePool::clear()
{
for (std::map<std::string, C3DResource*>::iterator iter = _items.begin(); iter != _items.end(); ++iter)
{
iter->second->release();
}
_items.clear();
}
bool C3DResourcePool::addItem(C3DResource* item)
{
if (_items.find(item->getID()) == _items.end())
{
_items[item->getID()] = item;
item->retain();
return true;
}
else
return false;
}
bool C3DResourcePool::removeItem(const std::string& name)
{
std::map<std::string, C3DResource*>::iterator iter = _items.find(name);
if (iter != _items.end())
{
iter->second->release();
_items.erase(iter);
return true;
}
else
return false;
}
C3DResource* C3DResourcePool::getItem(const std::string& name)
{
std::map<std::string, C3DResource*>::iterator iter = _items.find(name);
if (iter != _items.end())
{
return iter->second;
}
else
return NULL;
}
C3DUsedResourcePool::C3DUsedResourcePool(C3DResourceManager* manager)
:C3DResourcePool(manager)
{
_manager = manager;
}
void C3DUsedResourcePool::update(long elapsedTime)
{
C3DResource* item = NULL;
for (std::map<std::string, C3DResource*>::iterator iter = _items.begin(); iter != _items.end();)
{
item = iter->second;
if (item->getReferenceCount() == 1)
{
item->setState(C3DResource::State_Wait);
_manager->addResource(item);
item->release();
_items.erase(iter++);
}
else
{
++iter;
}
}
}
C3DWaitResourcePool::C3DWaitResourcePool(C3DResourceManager* manager)
:C3DResourcePool(manager)
{
_manager = manager;
}
void C3DWaitResourcePool::update(long elapsedTime)
{
C3DResource* item = NULL;
for (std::map<std::string, C3DResource*>::iterator iter = _items.begin(); iter != _items.end();)
{
item = iter->second;
item->_checkWaitTime += elapsedTime;
if (item->_checkWaitTime > item->_waitTime)
{
item->_checkWaitTime = 0;
item->release();
_items.erase(iter++);
}
else
{
++iter;
}
}
}
}
| [
"[email protected]"
] | |
22e798a5d3c4125f8cb949a6ad15601bf446e97e | e6a8f35b12f64bd1cd0431596ee03cbad8ed423d | /cpp/source/endpoint/device/actions/FlightInitializationAction.cpp | d026bba175b66c348965dba561b2cd58813f25ca | [
"MIT"
] | permissive | skydiveuas/skydive | 3e6e32bf170eb60913214a1089f74497fc2d2565 | 6a3ddb20210c7feec93c2124c99a764e91f13701 | refs/heads/master | 2021-06-10T04:40:24.023092 | 2019-09-02T18:20:14 | 2019-09-02T18:20:14 | 113,697,904 | 2 | 1 | MIT | 2018-04-09T14:09:12 | 2017-12-09T20:08:31 | C++ | UTF-8 | C++ | false | false | 3,634 | cpp | #include "endpoint/device/actions/FlightInitializationAction.hpp"
#include "endpoint/device/actions/AppAction.hpp"
#include "endpoint/device/actions/FlightAction.hpp"
FlightInitializationAction::FlightInitializationAction(Listener* const _listener):
ISkyDeviceAction(_listener)
{
state = IDLE;
}
void FlightInitializationAction::start(void)
{
monitor->trace("Flight initialization procedure started");
state = INITIAL_COMMAND;
sendSignal(SignalData::FLIGHT_LOOP, SignalData::START);
}
bool FlightInitializationAction::isActionDone(void) const
{
return IDLE == state;
}
ISkyDeviceAction::Type FlightInitializationAction::getType(void) const
{
return FLIGHT_INITIALIZATION;
}
std::string FlightInitializationAction::getStateName(void) const
{
switch (state)
{
case IDLE: return "IDLE";
case INITIAL_COMMAND: return "INITIAL_COMMAND";
case CONTROLS_RECEPTION: return "CONTROLS_RECEPTION";
case ROUTE_COMMAND: return "ROUTE_COMMAND";
case ROUTE_RECEPTION: return "ROUTE_RECEPTION";
default:
throw std::runtime_error("FlightAction::getStateName::Unexpected state");
}
}
void FlightInitializationAction::handleReception(const IMessage& message)
{
switch (state)
{
case IDLE:
case INITIAL_COMMAND:
handleIdleReception(message);
break;
case CONTROLS_RECEPTION:
if (handleSignalPayloadReception(message))
{
monitor->notifyDeviceEvent(new DeviceEventReceived(message));
startSignalTimeout(SignalData::FLIGHT_LOOP);
state = ROUTE_COMMAND;
}
break;
case ROUTE_RECEPTION:
if (handleSignalPayloadReception(message))
{
monitor->notifyDeviceEvent(new DeviceEventReceived(message));
flightReady();
}
break;
default:
except("Message received in unexpected state", message);
}
}
void FlightInitializationAction::handleSignalReception(const Parameter parameter)
{
switch (state)
{
case INITIAL_COMMAND:
switch (parameter)
{
case SignalData::ACK:
monitor->trace("Flight initial command received");
initializeSignalPayloadReception(SignalData::CONTROL_SETTINGS);
state = CONTROLS_RECEPTION;
break;
case SignalData::NOT_ALLOWED:
monitor->notifyDeviceEvent(new DeviceEvent(DeviceEvent::FLIGHT_LOOP_NOT_ALLOWED));
state = IDLE;
listener->startAction(new AppAction(listener));
break;
default:
except("Unexpected signal parameter message received", parameter);
}
break;
case ROUTE_COMMAND:
switch (parameter)
{
case SignalData::VIA_ROUTE_ALLOWED:
monitor->trace("Via route allowed, receiving route");
initializeSignalPayloadReception(SignalData::ROUTE_CONTAINER);
state = ROUTE_RECEPTION;
break;
case SignalData::VIA_ROUTE_NOT_ALLOWED:
monitor->notifyDeviceEvent(new DeviceEvent(DeviceEvent::VIA_ROUTE_NOT_ALLOWED));
flightReady();
break;
default:
except("Unexpected signal parameter message received", parameter);
}
break;
default:
except("Signal parameter in unexpected state", parameter);
}
}
void FlightInitializationAction::flightReady(void)
{
monitor->trace("Flight initialization procedure done, switching to FLIGHT");
state = IDLE;
listener->startAction(new FlightAction(listener, monitor->getControlDataSendingFreq()));
}
| [
"[email protected]"
] | |
530c6c64bcc094e3b6f2b394e766ed0c5592a94e | 001949354c41baaa93fdaaf008b0d841f7783d67 | /Marks.cpp | ec47eceb926f39ffa97244edc39052a8793e4f99 | [] | no_license | pereiradaniel/WS01_P2 | 831e77193cd2a90fd99e2023fdd1835a2a7f864b | e81a1568d68c21cfa05a6e4669099e657174cf47 | refs/heads/master | 2022-09-15T08:56:18.259463 | 2020-05-31T02:50:02 | 2020-05-31T02:50:02 | 268,163,604 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,090 | cpp | #define _CRT_SECURE_NO_WARNINGS
// Should hold mark related functions.
#include <iostream>
#include <iomanip>
#include "Marks.h"
using namespace std;
void clear(void);
void markstat() {
// VARS:
char assessmentName[40]; // Name of assessment.
int* marks = nullptr; // Create pointer for marks.
int numMarks = 0; // Number of marks.
char aft; // Detect trail chars for numMarks.
int keepTrying = 1; // Looper.
int total = 0; // For average calculation.
double average = 0; // For marks average.
int numPassMarks = 0; // For calculating number of passing marks.
// PRINT TITLE:
cout << "Mark Stats Program" << endl;
// cout << endl;
// ACCEPT INPUTS:
cout << "Please enter the assessment name: ";
cin >> assessmentName;
clear();
// GET NUMBER OF MARKS:
cout << "Please enter the number of marks: ";
do {
// Number of marks input:
numMarks = 0;
scanf_s("%d%c", &numMarks, &aft);
// Check if valid number:
if (numMarks == 0) {
cout << "Invalid Number, try again: ";
clear();
}
// Check if there are trailing chars:
else if (aft != '\n') {
cout << "Invalid trailing characters, try again: ";
clear();
}
// Check if numMarks is between 5 and 50:
else if (numMarks < 5 || numMarks > 50) {
cout << "Invalid value(5 <= value <= 50), try again: ";
}
// If all checks pass, end loop:
else {
keepTrying = 0;
}
} while (keepTrying == 1);
// Allocate memory for marks:
marks = new int[numMarks];
// GET numMarks x marks:
cout << "Please enter " << numMarks << " marks (0<=Mark<=100): " << endl;
for (int i = 0; i < numMarks; i++) {
cout << i + 1 << "> ";
cin >> marks[i];
}
// PRINT OUTPUT:
cout << "Thank you..." << endl;
cout << "Assessment Name: " << assessmentName << endl;
cout << "----------------" << endl;
for (int i = 0; i < numMarks; i++) {
if (i == numMarks - 1) {
cout << marks[i] << endl;
}
else {
cout << marks[i] << ", ";
}
}
cout << endl;
// CALCULATE AVERAGE:
total = 0;
for (int i = 0; i < numMarks; i++) {
total += marks[i];
}
average = (float)(int)( ((float)total / (float)numMarks) * 100 ) / 100;
cout << "Average: " << fixed << setprecision(1) << average << endl;
// CALCULATE NUMBER OF PASSING MARKS:
numPassMarks = 0;
for (int i = 0; i < numMarks; i++) {
if (marks[i] >= 50) {
numPassMarks += 1;
}
}
cout << "Number of passing marks: " << numPassMarks;
/*
output:
Mark Stats Program.
Please enter the assessment name: Midterm Test
Please enter the number of marks: 3
Invalid value (5<=value<=50), try again: three
Invalid Number, try again: 3marks
Invalid trailing characters, try again: 9
Please enter 9 marks (0<=Mark<=100):
1> 200
Invalid value (0<=value<=100), try again: 34
2> 89
3> 55
4> 23
5> 50
6> 79
7> 100
8> 60
9> 72
Thank you...
Assessment Name: Midterm Test
----------------
100, 89, 79, 72, 60, 55, 50, 34, 23
Average: 62.4
Number of Passing Marks: 7
*/
};
// clear empties the input buffer
//
void clear(void)
{
while (getchar() != '\n')
; // empty statement intentional
} | [
"[email protected]"
] | |
76bda4f4ce88b926f7e7fa6425fb1597640f27da | c993b955f1d0e77952c53a2abfe8f582a32a802c | /ref-impl/src/OM/OMObjectReferenceType.cpp | 92da44dff54b680bfd53bf92215ec20f59b72d91 | [] | no_license | christianscheuer/aaf | 6d67e767f439d6f43c3b7fba64336876bcbc0b8d | 0b76dd5bf4f70b0e7b3c33fd6d923ce6f67c71aa | refs/heads/master | 2020-05-01T03:08:19.586353 | 2019-05-01T09:34:40 | 2019-05-01T09:34:40 | 177,238,098 | 0 | 0 | null | 2019-03-23T03:12:02 | 2019-03-23T03:12:02 | null | UTF-8 | C++ | false | false | 1,785 | cpp | //=---------------------------------------------------------------------=
//
// $Id$ $Name$
//
// The contents of this file are subject to the AAF SDK Public Source
// License Agreement Version 2.0 (the "License"); You may not use this
// file except in compliance with the License. The License is available
// in AAFSDKPSL.TXT, or you may obtain a copy of the License from the
// Advanced Media Workflow Association, Inc., or its successor.
//
// Software distributed under the License is distributed on an "AS IS"
// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
// the License for the specific language governing rights and limitations
// under the License. Refer to Section 3.3 of the License for proper use
// of this Exhibit.
//
// WARNING: Please contact the Advanced Media Workflow Association,
// Inc., for more information about any additional licenses to
// intellectual property covering the AAF Standard that may be required
// to create and distribute AAF compliant products.
// (http://www.amwa.tv/policies).
//
// Copyright Notices:
// The Original Code of this file is Copyright 1998-2009, licensor of the
// Advanced Media Workflow Association. All rights reserved.
//
// The Initial Developer of the Original Code of this file and the
// licensor of the Advanced Media Workflow Association is
// Avid Technology.
// All rights reserved.
//
//=---------------------------------------------------------------------=
// @doc OMEXTERNAL
#include "OMObjectReferenceType.h"
// class OMStrongObjectReferenceType;
OMType::Tag OMStrongObjectReferenceType::tag(void) const
{
return OMTTStrongObjectReference;
}
// class OMWeakObjectReferenceType;
OMType::Tag OMWeakObjectReferenceType::tag(void) const
{
return OMTTWeakObjectReference;
}
| [
""
] | |
7fa62ebe7a39137cfca8afc71ed299be3edfa508 | 0058191411b36ef4f5fbac7d4028e375d58e2dfa | /rapidjson/internal/pow10.h | 4393c886cf7d999ad4bf401dcd83693db56eca07 | [] | no_license | radtek/QMDB81 | bad9c46a0268bc38ba5206975d956e62fa1f572e | 00794330516fa59a42f8e8d882332aff1f78da75 | refs/heads/master | 2021-06-06T16:54:10.801528 | 2016-10-25T07:32:59 | 2016-10-25T07:32:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,937 | h | #ifndef RAPIDJSON_POW10_
#define RAPIDJSON_POW10_
namespace rapidjson {
namespace internal {
//! Computes integer powers of 10 in double (10.0^n).
/*! This function uses lookup table for fast and accurate results.
\param n positive/negative exponent. Must <= 307.
\return 10.0^n
*/
inline double Pow10(int n) {
static const double e[] = { // 1e-307...1e307: 615 * 8 bytes = 4920 bytes
1e-307,1e-306,1e-305,1e-304,1e-303,1e-302,1e-301,1e-300,
1e-299,1e-298,1e-297,1e-296,1e-295,1e-294,1e-293,1e-292,1e-291,1e-290,1e-289,1e-288,1e-287,1e-286,1e-285,1e-284,1e-283,1e-282,1e-281,1e-280,
1e-279,1e-278,1e-277,1e-276,1e-275,1e-274,1e-273,1e-272,1e-271,1e-270,1e-269,1e-268,1e-267,1e-266,1e-265,1e-264,1e-263,1e-262,1e-261,1e-260,
1e-259,1e-258,1e-257,1e-256,1e-255,1e-254,1e-253,1e-252,1e-251,1e-250,1e-249,1e-248,1e-247,1e-246,1e-245,1e-244,1e-243,1e-242,1e-241,1e-240,
1e-239,1e-238,1e-237,1e-236,1e-235,1e-234,1e-233,1e-232,1e-231,1e-230,1e-229,1e-228,1e-227,1e-226,1e-225,1e-224,1e-223,1e-222,1e-221,1e-220,
1e-219,1e-218,1e-217,1e-216,1e-215,1e-214,1e-213,1e-212,1e-211,1e-210,1e-209,1e-208,1e-207,1e-206,1e-205,1e-204,1e-203,1e-202,1e-201,1e-200,
1e-199,1e-198,1e-197,1e-196,1e-195,1e-194,1e-193,1e-192,1e-191,1e-190,1e-189,1e-188,1e-187,1e-186,1e-185,1e-184,1e-183,1e-182,1e-181,1e-180,
1e-179,1e-178,1e-177,1e-176,1e-175,1e-174,1e-173,1e-172,1e-171,1e-170,1e-169,1e-168,1e-167,1e-166,1e-165,1e-164,1e-163,1e-162,1e-161,1e-160,
1e-159,1e-158,1e-157,1e-156,1e-155,1e-154,1e-153,1e-152,1e-151,1e-150,1e-149,1e-148,1e-147,1e-146,1e-145,1e-144,1e-143,1e-142,1e-141,1e-140,
1e-139,1e-138,1e-137,1e-136,1e-135,1e-134,1e-133,1e-132,1e-131,1e-130,1e-129,1e-128,1e-127,1e-126,1e-125,1e-124,1e-123,1e-122,1e-121,1e-120,
1e-119,1e-118,1e-117,1e-116,1e-115,1e-114,1e-113,1e-112,1e-111,1e-110,1e-109,1e-108,1e-107,1e-106,1e-105,1e-104,1e-103,1e-102,1e-101,1e-100,
1e-99, 1e-98, 1e-97, 1e-96, 1e-95, 1e-94, 1e-93, 1e-92, 1e-91, 1e-90, 1e-89, 1e-88, 1e-87, 1e-86, 1e-85, 1e-84, 1e-83, 1e-82, 1e-81, 1e-80,
1e-79, 1e-78, 1e-77, 1e-76, 1e-75, 1e-74, 1e-73, 1e-72, 1e-71, 1e-70, 1e-69, 1e-68, 1e-67, 1e-66, 1e-65, 1e-64, 1e-63, 1e-62, 1e-61, 1e-60,
1e-59, 1e-58, 1e-57, 1e-56, 1e-55, 1e-54, 1e-53, 1e-52, 1e-51, 1e-50, 1e-49, 1e-48, 1e-47, 1e-46, 1e-45, 1e-44, 1e-43, 1e-42, 1e-41, 1e-40,
1e-39, 1e-38, 1e-37, 1e-36, 1e-35, 1e-34, 1e-33, 1e-32, 1e-31, 1e-30, 1e-29, 1e-28, 1e-27, 1e-26, 1e-25, 1e-24, 1e-23, 1e-22, 1e-21, 1e-20,
1e-19, 1e-18, 1e-17, 1e-16, 1e-15, 1e-14, 1e-13, 1e-12, 1e-11, 1e-10, 1e-9, 1e-8, 1e-7, 1e-6, 1e-5, 1e-4, 1e-3, 1e-2, 1e-1, 1e+0,
1e+1, 1e+2, 1e+3, 1e+4, 1e+5, 1e+6, 1e+7, 1e+8, 1e+9, 1e+10, 1e+11, 1e+12, 1e+13, 1e+14, 1e+15, 1e+16, 1e+17, 1e+18, 1e+19, 1e+20,
1e+21, 1e+22, 1e+23, 1e+24, 1e+25, 1e+26, 1e+27, 1e+28, 1e+29, 1e+30, 1e+31, 1e+32, 1e+33, 1e+34, 1e+35, 1e+36, 1e+37, 1e+38, 1e+39, 1e+40,
1e+41, 1e+42, 1e+43, 1e+44, 1e+45, 1e+46, 1e+47, 1e+48, 1e+49, 1e+50, 1e+51, 1e+52, 1e+53, 1e+54, 1e+55, 1e+56, 1e+57, 1e+58, 1e+59, 1e+60,
1e+61, 1e+62, 1e+63, 1e+64, 1e+65, 1e+66, 1e+67, 1e+68, 1e+69, 1e+70, 1e+71, 1e+72, 1e+73, 1e+74, 1e+75, 1e+76, 1e+77, 1e+78, 1e+79, 1e+80,
1e+81, 1e+82, 1e+83, 1e+84, 1e+85, 1e+86, 1e+87, 1e+88, 1e+89, 1e+90, 1e+91, 1e+92, 1e+93, 1e+94, 1e+95, 1e+96, 1e+97, 1e+98, 1e+99, 1e+100,
1e+101,1e+102,1e+103,1e+104,1e+105,1e+106,1e+107,1e+108,1e+109,1e+110,1e+111,1e+112,1e+113,1e+114,1e+115,1e+116,1e+117,1e+118,1e+119,1e+120,
1e+121,1e+122,1e+123,1e+124,1e+125,1e+126,1e+127,1e+128,1e+129,1e+130,1e+131,1e+132,1e+133,1e+134,1e+135,1e+136,1e+137,1e+138,1e+139,1e+140,
1e+141,1e+142,1e+143,1e+144,1e+145,1e+146,1e+147,1e+148,1e+149,1e+150,1e+151,1e+152,1e+153,1e+154,1e+155,1e+156,1e+157,1e+158,1e+159,1e+160,
1e+161,1e+162,1e+163,1e+164,1e+165,1e+166,1e+167,1e+168,1e+169,1e+170,1e+171,1e+172,1e+173,1e+174,1e+175,1e+176,1e+177,1e+178,1e+179,1e+180,
1e+181,1e+182,1e+183,1e+184,1e+185,1e+186,1e+187,1e+188,1e+189,1e+190,1e+191,1e+192,1e+193,1e+194,1e+195,1e+196,1e+197,1e+198,1e+199,1e+200,
1e+201,1e+202,1e+203,1e+204,1e+205,1e+206,1e+207,1e+208,1e+209,1e+210,1e+211,1e+212,1e+213,1e+214,1e+215,1e+216,1e+217,1e+218,1e+219,1e+220,
1e+221,1e+222,1e+223,1e+224,1e+225,1e+226,1e+227,1e+228,1e+229,1e+230,1e+231,1e+232,1e+233,1e+234,1e+235,1e+236,1e+237,1e+238,1e+239,1e+240,
1e+241,1e+242,1e+243,1e+244,1e+245,1e+246,1e+247,1e+248,1e+249,1e+250,1e+251,1e+252,1e+253,1e+254,1e+255,1e+256,1e+257,1e+258,1e+259,1e+260,
1e+261,1e+262,1e+263,1e+264,1e+265,1e+266,1e+267,1e+268,1e+269,1e+270,1e+271,1e+272,1e+273,1e+274,1e+275,1e+276,1e+277,1e+278,1e+279,1e+280,
1e+281,1e+282,1e+283,1e+284,1e+285,1e+286,1e+287,1e+288,1e+289,1e+290,1e+291,1e+292,1e+293,1e+294,1e+295,1e+296,1e+297,1e+298,1e+299,1e+300,
1e+301,1e+302,1e+303,1e+304,1e+305,1e+306,1e+307
};
RAPIDJSON_ASSERT(n <= 307);
return n < -307 ? 0.0 : e[n + 307];
}
} // namespace internal
} // namespace rapidjson
#endif // RAPIDJSON_POW10_
| [
"[email protected]"
] | |
b44cbe8a90d64b19eba6de5ec7196fc568284c38 | c8a38e65e71de888fc5b22fbd027bbaa0f3f6ef1 | /Cpp/78.cpp | 9e4130eaa9cf7f1baa24e7984619c5736eef9773 | [] | no_license | skywhat/leetcode | e451a10cdab0026d884b8ed2b03e305b92a3ff0f | 6aaf58b1e1170a994affd6330d90b89aaaf582d9 | refs/heads/master | 2023-03-30T15:54:27.062372 | 2023-03-30T06:51:20 | 2023-03-30T06:51:20 | 90,644,891 | 82 | 27 | null | null | null | null | UTF-8 | C++ | false | false | 1,911 | cpp | #include <iostream>
#include <vector>
using namespace std;
// recursive
class Solution {
public:
vector<vector<int>> subsets(vector<int>& nums) {
vector<vector<int>> res;
subsets(res, nums, 0, vector<int>());
return res;
}
void subsets(vector<vector<int>>& res,
vector<int>& nums,
int pos,
vector<int> temp) {
if (pos == nums.size()) {
res.push_back(temp);
return;
}
subsets(res, nums, pos + 1, temp);
temp.push_back(nums[pos]);
subsets(res, nums, pos + 1, temp);
}
};
// iterative
class Solution2 {
public:
vector<vector<int>> subsets(vector<int>& nums) {
vector<vector<int>> res;
res.push_back({});
for (int i = 0; i < nums.size(); ++i) {
int n = res.size();
for (int j = 0; j < n; ++j) {
res.push_back(res[j]);
res.back().push_back(nums[i]);
}
}
return res;
}
};
// bit manipulation
class Solution3 {
public:
vector<vector<int>> subsets(vector<int>& nums) {
int num_set = pow(2, nums.size());
vector<vector<int>> res(num_set, vector<int>());
for (int i = 0; i < nums.size(); ++i) {
for (int j = 0; j < num_set; ++j) {
if ((j >> i) & 1) {
res[j].push_back(nums[i]);
}
}
}
return res;
}
};
/*
1 2 3
[] [] [] [] [] [] [] []
[] [1] [] [1] [] [1] [] [1]
[] [1] [2] [1,2] [] [1] [2] [1,2]
[] [1] [2] [1,2] [3] [1,3] [2,3] [1,2,3]
*/
int main() {
vector<int> test = {1, 2, 3};
Solution s;
auto res = s.subsets(test);
for (auto row : res) {
cout << "[";
for (auto elem : row) {
cout << elem << ", ";
}
cout << "]" << endl;
}
return 0;
}
| [
"[email protected]"
] | |
2df2f07b000dd72dc0a5e4734d17ff1b88928966 | b2d00d17c53c54e4c5ac9a919aaa001381204826 | /op-ui/clearprivatedata.h | 96ecd71bf1209cc358e5d07dfefba8eba0033d64 | [
"NCSA"
] | permissive | wenqingchu/revised-browser | 2f8c326cdec1759d4241db4efdfec7164aafb0d0 | 22aff9d5f7aa2e6628a65802e06228c759f15c8d | refs/heads/master | 2021-01-17T06:34:31.021189 | 2013-08-15T03:29:53 | 2013-08-15T03:29:53 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 3,287 | h | /*========================================================
**University of Illinois/NCSA
**Open Source License
**
**Copyright (C) 2007-2008,The Board of Trustees of the University of
**Illinois. All rights reserved.
**
**Developed by:
**
** Research Group of Professor Sam King in the Department of Computer
** Science The University of Illinois at Urbana-Champaign
** http://www.cs.uiuc.edu/homes/kingst/Research.html
**
**Permission is hereby granted, free of charge, to any person obtaining a
**copy of this software and associated documentation files (the
**¡°Software¡±), to deal with 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:
**
*** Redistributions of source code must retain the above copyright notice,
**this list of conditions and the following disclaimers.
*** Redistributions in binary form must reproduce the above copyright
**notice, this list of conditions and the following disclaimers in the
**documentation and/or other materials provided with the distribution.
*** Neither the names of <Name of Development Group, Name of Institution>,
**nor the names of its contributors may be used to endorse or promote
**products derived from this Software without specific prior written
**permission.
**
**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 CONTRIBUTORS 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 WITH THE SOFTWARE.
**==========================================================
*/
/*
* Copyright 2008 Jason A. Donenfeld <[email protected]>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*/
#ifndef CLEARPRIVATEDATA_H
#define CLEARPRIVATEDATA_H
#include <qdialog.h>
class QCheckBox;
class ClearPrivateData : public QDialog
{
Q_OBJECT
public:
ClearPrivateData(QWidget *parent = 0);
public slots:
void accept();
private:
QCheckBox *m_browsingHistory;
QCheckBox *m_downloadHistory;
QCheckBox *m_searchHistory;
QCheckBox *m_cookies;
QCheckBox *m_cache;
QCheckBox *m_favIcons;
};
#endif // CLEARPRIVATEDATA_H
| [
"[email protected]"
] | |
14c841cb2914b6a5821faf9cf6c2abe3216853bc | 44ffe14c37baf3b16932c00677d8b35575f32755 | /src/xtopcom/xdata/xtable_id_mapping.h | d4bf868b531281ab786c44259d28a7f01c09d78c | [] | no_license | telosprotocol/TOP-chain | 199fca0a71c439a8c18ba31f16641c639575ea29 | 1f168664d1eb4175df8f1596e81acd127112414a | refs/heads/master | 2023-07-25T01:24:34.437043 | 2023-06-05T01:28:24 | 2023-06-05T01:28:24 | 312,178,439 | 13 | 46 | null | 2023-07-18T01:09:29 | 2020-11-12T05:38:44 | C++ | UTF-8 | C++ | false | false | 810 | h | // Copyright (c) 2017-present Telos Foundation & contributors
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#pragma once
#include "xcommon/xaddress.h"
#include <cstdint>
#include <vector>
NS_BEG2(top, data)
std::vector<uint16_t> get_table_ids(common::xzone_id_t const & zone_id,
common::xcluster_id_t const & cluster_id,
common::xgroup_id_t const & group_id,
common::xgroup_id_t const & associated_parent_group_id);
std::vector<uint16_t> get_table_ids(common::xgroup_address_t const & group_address,
common::xgroup_id_t const & associated_parent_group_id);
NS_END2
| [
"[email protected]"
] | |
248344cd7dbd8d15092d4155b0f7a27a391fc394 | 9494db91b77281f82ba1045c1d6ac98d011fb531 | /gol.cc | b1fc33ea73b587c278fedaea2d19651d4639f148 | [
"MIT"
] | permissive | fizzoo/fizzosGOL | eea51885e09f980e843d8330f02ad4c1a95937a1 | ee3dda78c7d9b202a63e6d4d02ecc69f222af833 | refs/heads/master | 2021-01-17T12:59:00.676929 | 2018-08-28T10:00:40 | 2018-08-28T10:00:40 | 58,558,780 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,934 | cc | #include "Board.h"
#include "DoubleXY.h"
#include "GLstate.h"
#include "Waiter.h"
#include <fstream>
#include <iostream>
int SIZEX = 1920;
int SIZEY = 1080;
static unsigned int FPSMAX = 60;
static std::mutex fliplock;
std::vector<DoubleXY> line(int x0, int y0, int x1, int y1, int winsizex,
int winsizey) {
// Convert from window-pixels to grid
DoubleXY xy(x0, y0, winsizex, winsizey);
x0 = xy.int_x(SIZEX);
y0 = xy.int_y(SIZEY);
xy = DoubleXY(x1, y1, winsizex, winsizey);
x1 = xy.int_x(SIZEX);
y1 = xy.int_y(SIZEY);
std::vector<DoubleXY> ret;
int dx = abs(x1 - x0);
int dy = abs(y1 - y0);
int sx = x0 < x1 ? 1 : -1;
int sy = y0 < y1 ? 1 : -1;
int err = (dx > dy ? dx : -dy) / 2;
int err2;
while (true) {
ret.emplace_back(x0, y0, SIZEX, SIZEY);
if (x0 == x1 && y0 == y1)
break;
err2 = err;
if (err2 > -dx) {
err -= dy;
x0 += sx;
}
if (err2 < dy) {
err += dx;
y0 += sy;
}
}
return ret;
}
int main(int argc, const char *argv[]) {
{
if (argc == 3) {
SIZEX = atoi(argv[1]);
SIZEY = atoi(argv[2]);
if (SIZEX <= 0 || SIZEY <= 0) {
std::cout << "Incorrect input parameters, atoi didn't work on: '"
<< argv[1] << "', '" << argv[2] << "'" << std::endl;
return 1;
}
}
}
Board board(SIZEX, SIZEY);
GLstate state;
bool active = 1;
bool running = 1;
std::thread boardthread([&board, &active, &running]() {
Waiter runwaiter(1000 / FPSMAX);
while (running) {
if (active) {
std::unique_lock<std::mutex> f(fliplock);
board.run();
}
// We're clearly not managing to be in sync if we dropped four
// runs in a row, so reduce the fpsmax
if (runwaiter.slow_runs() > 4) {
if (FPSMAX > 10) {
FPSMAX = FPSMAX * 9 / 10;
}
}
runwaiter.set_ms_tick_length(1000 / FPSMAX);
runwaiter.wait_if_fast();
}
});
int lastx = 0, lasty = 0;
bool lbdown = 0;
bool rbdown = 0;
int windowsizex = SIZEX, windowsizey = SIZEY;
SDL_Event event;
Waiter waiter(16);
while (true) {
{
std::unique_lock<std::mutex> f(fliplock);
while (SDL_PollEvent(&event)) {
switch (event.type) {
case SDL_QUIT:
running = 0;
boardthread.join();
return 0;
case SDL_KEYUP:
switch (event.key.keysym.sym) {
case SDLK_q:
running = 0;
boardthread.join();
return 0;
case SDLK_SPACE:
active = !active;
break;
case SDLK_i:
if (FPSMAX > 2 && FPSMAX <= 10) {
FPSMAX--;
} else if (FPSMAX > 10) {
FPSMAX = FPSMAX * 8 / 10;
}
break;
case SDLK_o:
if (FPSMAX <= 10) {
FPSMAX++;
} else if (FPSMAX > 10) {
FPSMAX = FPSMAX * 12 / 10;
}
break;
case SDLK_d:
board.clear();
break;
case SDLK_r:
board.loaddefaults();
break;
case SDLK_f: {
std::ofstream logfile;
logfile.open("log");
if (!logfile) {
assert(0 && "logfile error");
return 0;
}
for (int y = 0; y < SIZEY; y++) {
for (int x = 0; x < SIZEX; x++) {
logfile << (board.aliveat(x,y) ? 'O' : ' ');
}
logfile << std::endl;
}
} break;
case SDLK_s:
board.save();
break;
case SDLK_l:
board.load();
break;
case SDLK_PERIOD:
board.run();
break;
}
break;
case SDL_MOUSEBUTTONDOWN:
lastx = event.button.x;
lasty = event.button.y;
switch (event.button.button) {
case SDL_BUTTON_LEFT:
board.letlive_scaled(
DoubleXY(lastx, lasty, windowsizex, windowsizey), state.loc);
lbdown = 1;
break;
case SDL_BUTTON_RIGHT:
board.letdie_scaled(
DoubleXY(lastx, lasty, windowsizex, windowsizey), state.loc);
rbdown = 1;
break;
}
break;
case SDL_MOUSEBUTTONUP:
switch (event.button.button) {
case SDL_BUTTON_LEFT:
lbdown = 0;
break;
case SDL_BUTTON_RIGHT:
rbdown = 0;
break;
}
break;
case SDL_MOUSEMOTION:
if (lbdown || rbdown) {
int currx = event.motion.x;
int curry = event.motion.y;
auto xys =
line(lastx, lasty, currx, curry, windowsizex, windowsizey);
lastx = currx;
lasty = curry;
for (DoubleXY xy : xys) {
if (lbdown) {
board.letlive_scaled(std::move(xy), state.loc);
} else if (rbdown) {
board.letdie_scaled(std::move(xy), state.loc);
}
}
}
break;
case SDL_MOUSEWHEEL: {
int x, y;
SDL_GetMouseState(&x, &y);
DoubleXY f(x, y, windowsizex, windowsizey);
if (event.wheel.y > 0) {
state.zoomin(f.x, f.y);
} else {
state.zoomout(f.x, f.y);
}
} break;
case SDL_WINDOWEVENT:
if (event.window.event == SDL_WINDOWEVENT_RESIZED) {
windowsizex = event.window.data1;
windowsizey = event.window.data2;
glViewport(0, 0, windowsizex, windowsizey);
}
break;
}
}
}
waiter.wait_if_fast();
// draw allways
state.draw(board.data(), SIZEX, SIZEY);
}
return 0;
}
| [
"[email protected]"
] | |
d889a8b25baab163b1c458cc37f20343e187df61 | 390eb1e2bf89abcfd1fdda2b94ae2b8059616f74 | /inc/parallel_context.hpp | 848796bc5e8ec601409072a7f91e868bd92261b3 | [] | no_license | nullcast/fm_sound_source | 92cb33c7671bbf3909f7ce16ab3c3329d3a86cc5 | b9ed73e77d536e1323a18491c38f354a322e1620 | refs/heads/master | 2021-10-26T15:17:17.909782 | 2019-04-13T12:49:43 | 2019-04-13T12:49:43 | 176,075,528 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 188 | hpp | #pragma once
#include "context.hpp"
template<typename T>
class ParallelContext : public Context<T> {
public:
ParallelContext(vector<shared_ptr<Box<T>>>& boxes);
void calc();
};
| [
"[email protected]"
] | |
1add2bec624ea79b28aaba7d2a170f5e8cc14fe2 | f64129691831d71424eb0fbf8585f7deab7a9e79 | /Aula09/FilaEncad.h | 3ee9f5bc6e80760121d96f0b10c2cf92fa514ceb | [] | no_license | viniciusjf10/Estrutura-de-Dados1 | 2db081e48737ed0ca5e9bb74020e5e6b0a097765 | 47372e29c0b67fc56d3f83e6de0b9546a08c4582 | refs/heads/master | 2023-01-07T12:41:59.499770 | 2020-11-10T04:10:29 | 2020-11-10T04:10:29 | 281,549,274 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 507 | h | #ifndef FILAENCAD_H_INCLUDED
#define FILAENCAD_H_INCLUDED
#include "No.h"
using namespace std;
class FilaEncad
{
private:
No *inicio;
No *fim; /// ponteiros para os No's extremos
public:
FilaEncad();
~FilaEncad();
int getInicio(); /// retorna valor do primeiro No
void enfileira(int val); /// insere No no fim
int desenfileira(); /// elimina No do inicio
bool vazia(); /// verifica se fila esta vazia
};
#endif // FILAENCAD_H_INCLUDED
| [
"[email protected]"
] | |
261916e7bd70399279e9e17c7adcee369fcc5900 | bf6cecf89265c4cd61ff490004ec9cfc85dccc56 | /PAG-Practica4/PagRevolutionObject.cpp | 584ede3c595d9898ef8102b5da9e42e8f4225500 | [] | no_license | ManuJGQ/PAG-Practica4 | 3e5d9f6a3b2d835ab70a73818f21e51251c60a08 | 22a7e2f3d6198c24604b7f55a357d2d35554204e | refs/heads/master | 2020-06-19T18:50:54.007885 | 2016-12-17T14:40:33 | 2016-12-17T14:40:33 | 74,839,263 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 39,325 | cpp | #include "PagRevolutionObject.h"
#include "PagAssistantClass.h"
#include <math.h>
#include <string>
#include "PagRenderer.h"
#define PI 3.14159265358979323846
/**
* Constructor por defecto de PagRevolutionObject
*/
PagRevolutionObject::PagRevolutionObject() : flagBottomTape(false), flagTopTape(false),
geometria(nullptr), geometriaBottomTape(nullptr), geometriaTopTape(nullptr), coordtext(nullptr),
coordtextBottomTape(nullptr), coordtextTopTape(nullptr), indices(nullptr), indicesBottomTape(nullptr),
indicesTopTape(nullptr), slices(0), tamaGeometriaCoordText(0), tamaIndices(0),
pointsColor(nullptr), pointsColorBottom(nullptr), pointsColorTop(nullptr), _indices(nullptr), _indicesTop(nullptr),
_indicesBottom(nullptr), primitivasRellenadas(false) {
};
/**
* Constructor parametrizado de PagRevolutionObject
*/
PagRevolutionObject::PagRevolutionObject(int _numPuntosPerfilOriginal, int _numDivisiones, PuntosPerfil *_perfilOriginal,
bool _flagBottomTape, bool _flagTopTape, int _slices, std::string _nombreAlumno, std::string _nombreTextura) : flagBottomTape(false), flagTopTape(false),
geometria(nullptr), geometriaBottomTape(nullptr), geometriaTopTape(nullptr), coordtext(nullptr), coordtextBottomTape(nullptr),
coordtextTopTape(nullptr), indices(nullptr), indicesBottomTape(nullptr), indicesTopTape(nullptr),
tamaGeometriaCoordText(0), tamaIndices(0), pointsColor(nullptr), pointsColorBottom(nullptr), pointsColorTop(nullptr),
_indices(nullptr), _indicesTop(nullptr), _indicesBottom(nullptr), primitivasRellenadas(false), nombreAlumno(_nombreAlumno), nombreTextura(_nombreTextura) {
flagBottomTape = _flagBottomTape;
flagTopTape = _flagTopTape;
subdivisionProfiles = PagSubdivisionProfile(_numPuntosPerfilOriginal, _numDivisiones,
_perfilOriginal);
subdivisionProfiles.subdivisionPolilineas();
slices = _slices;
if (slices == 0) slices++;
slices++;
}
/**
* Constructor parametrizado de PagRevolutionObject, pasandole un Fichero txt
*/
PagRevolutionObject::PagRevolutionObject(Structs::Fichero _fichero) {
PagAssistantClass f;
*this = f.leerDatos(_fichero);
}
/**
* Constructor de copia de PagRevolutionObejct
*/
PagRevolutionObject::PagRevolutionObject(const PagRevolutionObject & orig) {
*this = orig;
}
/**
* Operador igual de PagRevolutionObejct
*/
void PagRevolutionObject::operator=(const PagRevolutionObject & orig) {
flagBottomTape = orig.flagBottomTape;
flagTopTape = orig.flagTopTape;
slices = orig.slices;
tamaGeometriaCoordText = orig.tamaGeometriaCoordText;
tamaIndices = orig.tamaIndices;
subdivisionProfiles = orig.subdivisionProfiles;
nombreAlumno = orig.nombreAlumno;
nombreTextura = orig.nombreTextura;
if (orig.geometria != nullptr) {
geometria = new Geometria[tamaGeometriaCoordText];
for (int i = 0; i < tamaGeometriaCoordText; i++) {
geometria[i].vertice = orig.geometria[i].vertice;
geometria[i].normal = orig.geometria[i].normal;
geometria[i].tangente = orig.geometria[i].tangente;
}
}
else geometria = nullptr;
if (orig.geometriaBottomTape != nullptr) {
geometriaBottomTape = new Geometria[slices + 1];
for (int i = 0; i < slices + 1; i++) {
geometriaBottomTape[i].vertice = orig.geometriaBottomTape[i].vertice;
geometriaBottomTape[i].normal = orig.geometriaBottomTape[i].normal;
geometriaBottomTape[i].tangente = orig.geometriaBottomTape[i].tangente;
}
}
else geometriaBottomTape = nullptr;
if (orig.geometriaTopTape != nullptr) {
geometriaTopTape = new Geometria[slices + 1];
for (int i = 0; i < slices + 1; i++) {
geometriaTopTape[i].vertice = orig.geometriaTopTape[i].vertice;
geometriaTopTape[i].normal = orig.geometriaTopTape[i].normal;
geometriaTopTape[i].tangente = orig.geometriaTopTape[i].tangente;
}
}
else geometriaTopTape = nullptr;
if (orig.coordtext != nullptr) {
coordtext = new CoordTexturas[tamaGeometriaCoordText];
for (int i = 0; i < tamaGeometriaCoordText; i++) {
coordtext[i] = orig.coordtext[i];
}
}
else coordtext = nullptr;
if (orig.coordtextBottomTape != nullptr) {
coordtextBottomTape = new CoordTexturas[slices + 1];
for (int i = 0; i < slices + 1; i++) {
coordtextBottomTape[i] = orig.coordtextBottomTape[i];
}
}
else coordtextBottomTape = nullptr;
if (orig.coordtextTopTape != nullptr) {
coordtextTopTape = new CoordTexturas[slices + 1];
for (int i = 0; i < slices + 1; i++) {
coordtextTopTape[i] = orig.coordtextTopTape[i];
}
}
else coordtextTopTape = nullptr;
if (orig.indices != nullptr) {
indices = new int[tamaIndices];
for (int i = 0; i < tamaIndices; i++) {
indices[i] = orig.indices[i];
}
}
else indices = nullptr;
if (orig.indicesBottomTape != nullptr) {
indicesBottomTape = new int[slices + 1];
for (int i = 0; i < slices + 1; i++) {
indicesBottomTape[i] = orig.indicesBottomTape[i];
}
}
else indicesBottomTape = nullptr;
if (orig.indicesTopTape != nullptr) {
indicesTopTape = new int[slices + 1];
for (int i = 0; i < slices + 1; i++) {
indicesTopTape[i] = orig.indicesTopTape[i];
}
}
else indicesTopTape = nullptr;
if (orig.pointsColor != nullptr) {
pointsColor = new PagVaoData[tamaGeometriaCoordText];
for (int i = 0; i < tamaGeometriaCoordText; i++) {
pointsColor[i] = orig.pointsColor[i];
}
}
else pointsColor = nullptr;
if (orig.pointsColorBottom != nullptr) {
pointsColorBottom = new PagVaoData[tamaGeometriaCoordText];
for (int i = 0; i < tamaGeometriaCoordText; i++) {
pointsColorBottom[i] = orig.pointsColorBottom[i];
}
}
else pointsColorBottom = nullptr;
if (orig.pointsColorTop != nullptr) {
pointsColorTop = new PagVaoData[tamaGeometriaCoordText];
for (int i = 0; i < tamaGeometriaCoordText; i++) {
pointsColorTop[i] = orig.pointsColorTop[i];
}
}
else pointsColorTop = nullptr;
if (orig._indices != nullptr) {
_indices = new GLuint[tamaIndices];
for (int i = 0; i < tamaIndices; i++) {
_indices[i] = orig._indices[i];
}
}
else _indices = nullptr;
if (orig._indicesBottom != nullptr) {
_indicesBottom = new GLuint[slices + 1];
for (int i = 0; i < slices + 1; i++) {
_indicesBottom[i] = orig._indicesBottom[i];
}
}
else _indicesBottom = nullptr;
if (orig._indicesTop != nullptr) {
_indicesTop = new GLuint[slices + 1];
for (int i = 0; i < slices + 1; i++) {
_indicesTop[i] = orig._indicesTop[i];
}
}
else _indicesTop = nullptr;
}
/**
* Funcion encargada de crear la Geometria y Topologia del PagRevolutionObject
*/
void PagRevolutionObject::createObject() {
int numPuntosPerfil = subdivisionProfiles.getNumPuntosPerfil();
int numTapas = 0;
int cambioIndice = 0;
int cambioIndiceTop = 0;
if (flagBottomTape) {
numTapas++;
cambioIndice++;
geometriaBottomTape = new Geometria[slices + 1];
coordtextBottomTape = new CoordTexturas[slices + 1];
indicesBottomTape = new int[slices + 1];
pointsColorBottom = new PagVaoData[slices + 1];
_indicesBottom = new GLuint[slices + 1];
}
if (flagTopTape) {
numTapas++;
cambioIndiceTop++;
geometriaTopTape = new Geometria[slices + 1];
coordtextTopTape = new CoordTexturas[slices + 1];
indicesTopTape = new int[slices + 1];
pointsColorTop = new PagVaoData[slices + 1];
_indicesTop = new GLuint[slices + 1];
}
tamaGeometriaCoordText = (numPuntosPerfil - numTapas) * slices;
tamaIndices = (((numPuntosPerfil - (numTapas)) * 2) + 1) * slices;
geometria = new Geometria[tamaGeometriaCoordText];
coordtext = new CoordTexturas[tamaGeometriaCoordText];
pointsColor = new PagVaoData[tamaGeometriaCoordText];
indices = new int[tamaIndices];
_indices = new GLuint[tamaIndices];
PuntosPerfil *perfil = &subdivisionProfiles.getPerfil();
double angleRadIncrement = (2 * PI) / (slices - 1);
// VERTICES
for (int j = 0; j < numPuntosPerfil; j++) {
if (j == 0 && flagBottomTape) {
PuntosVertices vert;
vert.x = 0;
vert.y = perfil[j].y;
vert.z = 0;
geometriaBottomTape[slices].vertice = vert;
}
else if (j == numPuntosPerfil - 1 && flagTopTape) {
PuntosVertices vert;
vert.x = 0;
vert.y = perfil[j].y;
vert.z = 0;
geometriaTopTape[slices].vertice = vert;
}
else {
for (int i = 0; i < slices; i++) {
PuntosVertices vert;
if (i == slices - 1) {
vert = geometria[(j - cambioIndice) * slices].vertice;
}
else {
double x = perfil[j].x * cos(angleRadIncrement * i);
double z = perfil[j].x * -sin(angleRadIncrement * i);
vert.x = x;
vert.y = perfil[j].y;
vert.z = z;
}
geometria[(j - cambioIndice) * slices + i].vertice = vert;
if (j == 1 && flagBottomTape) geometriaBottomTape[i].vertice = vert;
if (j == numPuntosPerfil - 2 && flagTopTape) geometriaTopTape[i].vertice = vert;
}
}
}
// NORMALES
for (int j = 0; j < numPuntosPerfil; j++) {
if (j == 0 && flagBottomTape) {
NormalesTangentes normal;
normal.x = 0;
normal.y = -1;
normal.z = 0;
geometriaBottomTape[slices].normal = normal;
}
else if (j == numPuntosPerfil - 1 && flagTopTape) {
NormalesTangentes normal;
normal.x = 0;
normal.y = 1;
normal.z = 0;
geometriaTopTape[slices].normal = normal;
}
else {
PuntosVertices p1;
PuntosVertices p2;
if (j == 0) p1 = { 0,0,0 };
else if (j == 1 && flagBottomTape) p1 = geometriaBottomTape[slices].vertice;
else p1 = geometria[(j - cambioIndice - 1) * slices].vertice;
PuntosVertices pi = geometria[(j - cambioIndice) * slices].vertice;
if (j == numPuntosPerfil - 1) p2 = { 0,0,0 };
else if (j == numPuntosPerfil - 2 && flagTopTape) p2 = geometriaTopTape[slices].vertice;
else p2 = geometria[(j - cambioIndice + 1) * slices].vertice;
PuntosVertices v1;
v1.x = pi.x - p1.x;
v1.y = pi.y - p1.y;
v1.z = pi.z - p1.z;
double modV1 = sqrt((v1.x * v1.x) + (v1.y * v1.y) + (v1.z * v1.z));
v1.x = v1.x / modV1;
v1.y = v1.y / modV1;
v1.z = v1.z / modV1;
double xTemp = v1.x;
v1.x = v1.y;
v1.y = xTemp * -1;
PuntosVertices vi;
vi.x = p2.x - pi.x;
vi.y = p2.y - pi.y;
vi.z = p2.z - pi.z;
double modVi = sqrt((vi.x * vi.x) + (vi.y * vi.y) + (vi.z * vi.z));
vi.x = vi.x / modVi;
vi.y = vi.y / modVi;
vi.z = vi.z / modVi;
xTemp = vi.x;
vi.x = vi.y;
vi.y = xTemp * -1;
if (j == 0) v1 = vi;
if (j == numPuntosPerfil - 1) vi = v1;
NormalesTangentes normal;
normal.x = (v1.x + vi.x) / 2;
normal.y = (v1.y + vi.y) / 2;
normal.z = (v1.z + vi.z) / 2;
for (int i = 0; i < slices; i++) {
NormalesTangentes normal2;
normal2.x = normal.x * cos(angleRadIncrement * i);
normal2.z = normal.x * -sin(angleRadIncrement * i);
normal2.y = normal.y;
geometria[(j - cambioIndice) * slices + i].normal = normal2;
if (j == numPuntosPerfil - 2 && flagTopTape) {
geometriaTopTape[i].normal = normal2;
}
if (j == 1 && flagBottomTape) {
geometriaBottomTape[i].normal = normal2;
}
}
}
}
// TANGENTES
for (int j = 0; j < numPuntosPerfil; j++) {
if (j == 0 && flagBottomTape) {
NormalesTangentes tangente;
tangente.x = 1;
tangente.y = 0;
tangente.z = 0;
geometriaBottomTape[slices].tangente = tangente;
}
else if (j == numPuntosPerfil - 1 && flagTopTape) {
NormalesTangentes tangente;
tangente.x = 1;
tangente.y = 0;
tangente.z = 0;
geometriaTopTape[slices].tangente = tangente;
}
else {
for (int i = 0; i < slices; i++) {
NormalesTangentes tangente;
tangente.x = -1 * sin(angleRadIncrement * i);
tangente.y = 0;
tangente.z = -1 * cos(angleRadIncrement * i);
geometria[(j - cambioIndice) * slices + i].tangente = tangente;
if (j == 1 && flagBottomTape) geometriaBottomTape[i].tangente = tangente;
if (j == numPuntosPerfil - 2 && flagTopTape) geometriaTopTape[i].tangente = tangente;
}
}
}
// COORDENADAS TEXTURAS
if (flagBottomTape || flagTopTape) {
for (int i = 0; i < slices; i++) {
double s = (cos(angleRadIncrement * float(i)) / 2.0) + 0.5;
double t = (sin(angleRadIncrement * float(i)) / 2.0) + 0.5;
if (flagBottomTape) {
coordtextBottomTape[i].s = s;
coordtextBottomTape[i].t = t;
}
if (flagTopTape) {
coordtextTopTape[i].s = s;
coordtextTopTape[i].t = t;
}
}
if (flagBottomTape) {
coordtextBottomTape[slices].s = 0.5;
coordtextBottomTape[slices].t = 0.5;
}
if (flagTopTape) {
coordtextTopTape[slices].s = 0.5;
coordtextTopTape[slices].t = 0.5;
}
}
double *modulo = new double[numPuntosPerfil - numTapas];
for (int j = 0; j < slices; j++) {
double s = j * double(float(1) / float(slices - 1));
double sumatorio = 0;
modulo[0] = sumatorio;
for (int i = 1; i < numPuntosPerfil - numTapas; i++) {
PuntosVertices p1 = geometria[i * slices + j].vertice;
PuntosVertices p2 = geometria[(i - 1) * slices + j].vertice;
PuntosVertices v1;
v1.x = p1.x - p2.x;
v1.y = p1.y - p2.y;
v1.z = p1.z - p2.z;
double modV1 = sqrt((v1.x * v1.x) + (v1.y * v1.y) + (v1.z * v1.z));
sumatorio += modV1;
modulo[i] = sumatorio;
}
for (int i = cambioIndice; i < numPuntosPerfil - cambioIndiceTop; i++) {
double t = (modulo[i - cambioIndice]) / (sumatorio);
coordtext[(i - cambioIndice) * slices + j].s = s;
coordtext[(i - cambioIndice) * slices + j].t = t;
}
}
delete[] modulo;
// INDICES
if (flagBottomTape) {
for (int i = 0; i < slices; i++) {
indicesBottomTape[i + 1] = slices - 1 - i;
}
indicesBottomTape[0] = slices;
}
if (flagTopTape) {
for (int i = 0; i < slices; i++) {
indicesTopTape[i] = i;
}
indicesTopTape[slices] = slices;
}
int k = 0;
for (int i = 0; i < slices; i++) {
for (int j = 0; j < numPuntosPerfil - numTapas; j++) {
indices[k] = i + (j * slices);
indices[k + 1] = ((i + 1) % slices) + (j * slices);
k += 2;
}
indices[k] = 0xFFFF;
k++;
}
//std::cout << slices << std::endl;
PagAssistantClass f;
f.devolverDatos(*this);
//Arrays para los vbos y ibos
for (int i = 0; i < tamaGeometriaCoordText; i++) {
pointsColor[i] = { glm::vec3((GLfloat)geometria[i].vertice.x, (GLfloat)geometria[i].vertice.y, (GLfloat)geometria[i].vertice.z),
glm::vec3(0.85, 0.65, 0.12),
glm::vec3((GLfloat)geometria[i].normal.x, (GLfloat)geometria[i].normal.y, (GLfloat)geometria[i].normal.z),
glm::vec2((GLfloat)coordtext[i].s, (GLfloat)coordtext[i].t),
glm::vec3((GLfloat)geometria[i].tangente.x, (GLfloat)geometria[i].tangente.y, (GLfloat)geometria[i].tangente.z) };
}
for (int i = 0; i < tamaIndices; i++) {
_indices[i] = (GLuint)indices[i];
}
if (flagBottomTape) {
for (int i = 0; i < slices + 1; i++) {
pointsColorBottom[i] = { glm::vec3((GLfloat)geometriaBottomTape[i].vertice.x, (GLfloat)geometriaBottomTape[i].vertice.y, (GLfloat)geometriaBottomTape[i].vertice.z),
glm::vec3(0.85, 0.65, 0.12),
glm::vec3((GLfloat)geometriaBottomTape[i].normal.x, (GLfloat)geometriaBottomTape[i].normal.y, (GLfloat)geometriaBottomTape[i].normal.z),
glm::vec2((GLfloat)coordtextBottomTape[i].s, (GLfloat)coordtextBottomTape[i].t),
glm::vec3((GLfloat)geometriaBottomTape[i].tangente.x, (GLfloat)geometriaBottomTape[i].tangente.y, (GLfloat)geometriaBottomTape[i].tangente.z)
};
}
for (int i = 0; i < slices + 1; i++) {
_indicesBottom[i] = (GLuint)indicesBottomTape[i];
}
}
if (flagTopTape) {
for (int i = 0; i < slices + 1; i++) {
pointsColorTop[i] = { glm::vec3((GLfloat)geometriaTopTape[i].vertice.x, (GLfloat)geometriaTopTape[i].vertice.y, (GLfloat)geometriaTopTape[i].vertice.z),
glm::vec3(0.85, 0.65, 0.12),
glm::vec3((GLfloat)geometriaTopTape[i].normal.x, (GLfloat)geometriaTopTape[i].normal.y, (GLfloat)geometriaTopTape[i].normal.z),
glm::vec2((GLfloat)coordtextTopTape[i].s, (GLfloat)coordtextTopTape[i].t),
glm::vec3((GLfloat)geometriaTopTape[i].tangente.x, (GLfloat)geometriaTopTape[i].tangente.y, (GLfloat)geometriaTopTape[i].tangente.z)
};
}
for (int i = 0; i < slices + 1; i++) {
_indicesTop[i] = (GLuint)indicesTopTape[i];
}
}
}
/**
* Funcion encargada de pintar el PagRevolutionObject en todos los modos posibles
*/
void PagRevolutionObject::draw(glm::mat4 ViewMatrix, glm::mat4 ProjectionMatrix, PagRenderer* renderer, PagLight* light) {
std::string nShader = renderer->getNombreShader();
if (nShader == "points" || nShader == "pointsMultiColor") {
if (nShader == "points") {
PagShaderProgram* shader = renderer->getShader("points");
shader->use();
shader->setUniform("mvpMatrix", ProjectionMatrix * ViewMatrix * ModelMatrix);
shader->setUniform("vColor", glm::vec3(0.85, 0.65, 0.12));
shader->setUniform("pointSize", 4.0f);
if(!primitivasRellenadas) {
glGenVertexArrays(1, &vao);
glBindVertexArray(vao);
glGenBuffers(1, &vbo);
glBindBuffer(GL_ARRAY_BUFFER, vbo);
glEnableVertexAttribArray(0);
glVertexAttribPointer(0, sizeof(glm::vec3) / sizeof(GLfloat),
GL_FLOAT, GL_FALSE, sizeof(PagVaoData), //POSITIONS
((GLubyte *)nullptr + (0)));
glBufferData(GL_ARRAY_BUFFER, sizeof(PagVaoData) * tamaGeometriaCoordText, pointsColor, GL_STATIC_DRAW);
glGenBuffers(1, &ibo);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, ibo);
glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(GLuint) * (tamaIndices), _indices, GL_STATIC_DRAW);
}
glBindVertexArray(vao);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, ibo);
glDrawElements(GL_POINTS, (sizeof(GLuint) * (tamaIndices)) / sizeof(GLuint), GL_UNSIGNED_INT, NULL);
if (flagBottomTape) {
if(!primitivasRellenadas) {
glGenVertexArrays(1, &vaoBottomTape);
glBindVertexArray(vaoBottomTape);
glGenBuffers(1, &vboBottomTape);
glBindBuffer(GL_ARRAY_BUFFER, vboBottomTape);
glEnableVertexAttribArray(0);
glVertexAttribPointer(0, sizeof(glm::vec3) / sizeof(GLfloat),
GL_FLOAT, GL_FALSE, sizeof(PagVaoData), //POSITIONS
((GLubyte *)nullptr + (0)));
glBufferData(GL_ARRAY_BUFFER, sizeof(PagVaoData) * (slices + 1), pointsColorBottom, GL_STATIC_DRAW);
glGenBuffers(1, &iboBottomTape);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, iboBottomTape);
glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(GLuint) * (slices + 1), _indicesBottom, GL_STATIC_DRAW);
}
glBindVertexArray(vaoBottomTape);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, iboBottomTape);
glDrawElements(GL_POINTS, (sizeof(GLuint) * (slices + 1)) / sizeof(GLuint), GL_UNSIGNED_INT, NULL);
}
if (flagTopTape) {
if(!primitivasRellenadas) {
glGenVertexArrays(1, &vaoTopTape);
glBindVertexArray(vaoTopTape);
glGenBuffers(1, &vboTopTape);
glBindBuffer(GL_ARRAY_BUFFER, vboTopTape);
glEnableVertexAttribArray(0);
glVertexAttribPointer(0, sizeof(glm::vec3) / sizeof(GLfloat),
GL_FLOAT, GL_FALSE, sizeof(PagVaoData), //POSITIONS
((GLubyte *)nullptr + (0)));
glBufferData(GL_ARRAY_BUFFER, sizeof(PagVaoData) * (slices + 1), pointsColorTop, GL_STATIC_DRAW);
glGenBuffers(1, &iboTopTape);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, iboTopTape);
glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(GLuint) * (slices + 1), _indicesTop, GL_STATIC_DRAW);
}
glBindVertexArray(vaoTopTape);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, iboTopTape);
glDrawElements(GL_POINTS, (sizeof(GLuint) * (slices + 1)) / sizeof(GLuint), GL_UNSIGNED_INT, NULL);
}
}
if (nShader == "pointsMultiColor") {
PagShaderProgram* shader = renderer->getShader("pointsMultiColor");
shader->use();
shader->setUniform("mvpMatrix", ProjectionMatrix * ViewMatrix * ModelMatrix);
shader->setUniform("pointSize", 4.0f);
if(!primitivasRellenadas) {
glGenVertexArrays(1, &vao);
glBindVertexArray(vao);
glGenBuffers(1, &vbo);
glBindBuffer(GL_ARRAY_BUFFER, vbo);
glEnableVertexAttribArray(0);
glVertexAttribPointer(0, sizeof(glm::vec3) / sizeof(GLfloat),
GL_FLOAT, GL_FALSE, sizeof(PagVaoData), //POSITIONS
((GLubyte *)nullptr + (0)));
glEnableVertexAttribArray(1);
glVertexAttribPointer(1, sizeof(glm::vec3) / sizeof(GLfloat),
GL_FLOAT, GL_FALSE, sizeof(PagVaoData), //COLORS
((GLubyte *)nullptr + (sizeof(glm::vec3))));
glBufferData(GL_ARRAY_BUFFER, sizeof(PagVaoData) * tamaGeometriaCoordText, pointsColor, GL_STATIC_DRAW);
glGenBuffers(1, &ibo);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, ibo);
glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(GLuint) * (tamaIndices), _indices, GL_STATIC_DRAW);
}
glBindVertexArray(vao);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, ibo);
glDrawElements(GL_POINTS, (sizeof(GLuint) * (tamaIndices)) / sizeof(GLuint), GL_UNSIGNED_INT, NULL);
if (flagBottomTape) {
if(!primitivasRellenadas) {
glGenVertexArrays(1, &vaoBottomTape);
glBindVertexArray(vaoBottomTape);
glGenBuffers(1, &vboBottomTape);
glBindBuffer(GL_ARRAY_BUFFER, vboBottomTape);
glEnableVertexAttribArray(0);
glVertexAttribPointer(0, sizeof(glm::vec3) / sizeof(GLfloat),
GL_FLOAT, GL_FALSE, sizeof(PagVaoData), //POSITIONS
((GLubyte *)nullptr + (0)));
glEnableVertexAttribArray(1);
glVertexAttribPointer(1, sizeof(glm::vec3) / sizeof(GLfloat),
GL_FLOAT, GL_FALSE, sizeof(PagVaoData), //COLORS
((GLubyte *)nullptr + (sizeof(glm::vec3))));
glBufferData(GL_ARRAY_BUFFER, sizeof(PagVaoData) * (slices + 1), pointsColorBottom, GL_STATIC_DRAW);
glGenBuffers(1, &iboBottomTape);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, iboBottomTape);
glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(GLuint) * (slices + 1), _indicesBottom, GL_STATIC_DRAW);
}
glBindVertexArray(vaoBottomTape);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, iboBottomTape);
glDrawElements(GL_POINTS, (sizeof(GLuint) * (slices + 1)) / sizeof(GLuint), GL_UNSIGNED_INT, NULL);
}
if (flagTopTape) {
if(!primitivasRellenadas) {
glGenVertexArrays(1, &vaoTopTape);
glBindVertexArray(vaoTopTape);
glGenBuffers(1, &vboTopTape);
glBindBuffer(GL_ARRAY_BUFFER, vboTopTape);
glEnableVertexAttribArray(0);
glVertexAttribPointer(0, sizeof(glm::vec3) / sizeof(GLfloat),
GL_FLOAT, GL_FALSE, sizeof(PagVaoData), //POSITIONS
((GLubyte *)nullptr + (0)));
glEnableVertexAttribArray(1);
glVertexAttribPointer(1, sizeof(glm::vec3) / sizeof(GLfloat),
GL_FLOAT, GL_FALSE, sizeof(PagVaoData), //COLORS
((GLubyte *)nullptr + (sizeof(glm::vec3))));
glBufferData(GL_ARRAY_BUFFER, sizeof(PagVaoData) * (slices + 1), pointsColorTop, GL_STATIC_DRAW);
glGenBuffers(1, &iboTopTape);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, iboTopTape);
glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(GLuint) * (slices + 1), _indicesTop, GL_STATIC_DRAW);
}
glBindVertexArray(vaoTopTape);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, iboTopTape);
glDrawElements(GL_POINTS, (sizeof(GLuint) * (slices + 1)) / sizeof(GLuint), GL_UNSIGNED_INT, NULL);
}
}
}
else {
if (nShader == "ADS") {
std::string name = "ADS-";
char l = light->light;
name += l;
PagShaderProgram* shader = renderer->getShader(name);
shader->use();
if (l == 'P') {
shader->setUniform("mvpMatrix", ProjectionMatrix * ViewMatrix * ModelMatrix);
shader->setUniform("mModelView", ViewMatrix * ModelMatrix);
shader->setUniform("lightPosition", glm::vec3(ViewMatrix * glm::vec4(light->position, 1.0)));
shader->setUniform("Ka", light->Ka);
shader->setUniform("Kd", light->Kd);
shader->setUniform("Ks", light->Ks);
shader->setUniform("Ia", light->Ia * glm::vec3(1.0, 1.0, 1.0));
shader->setUniform("Id", light->Id * glm::vec3(1.0, 1.0, 1.0));
shader->setUniform("Is", light->Is * glm::vec3(1.0, 1.0, 1.0));
shader->setUniform("Shininess", light->shininess);
}
else if (l == 'D') {
shader->setUniform("mvpMatrix", ProjectionMatrix * ViewMatrix * ModelMatrix);
shader->setUniform("mModelView", ViewMatrix * ModelMatrix);
shader->setUniform("lightDirection", glm::vec3(ViewMatrix * glm::vec4(light->direction, 0.0)));
shader->setUniform("Ka", light->Ka);
shader->setUniform("Kd", light->Kd);
shader->setUniform("Ks", light->Ks);
shader->setUniform("Ia", light->Ia * glm::vec3(1.0, 1.0, 1.0));
shader->setUniform("Id", light->Id * glm::vec3(1.0, 1.0, 1.0));
shader->setUniform("Is", light->Is * glm::vec3(1.0, 1.0, 1.0));
shader->setUniform("Shininess", light->shininess);
}
else if (l == 'S') {
shader->setUniform("mvpMatrix", ProjectionMatrix * ViewMatrix * ModelMatrix);
shader->setUniform("mModelView", ViewMatrix * ModelMatrix);
shader->setUniform("lightPosition", glm::vec3(ViewMatrix * glm::vec4(light->position, 1.0)));
shader->setUniform("lightDirection", glm::vec3(ViewMatrix * glm::vec4(light->direction, 0.0)));
shader->setUniform("Ka", light->Ka);
shader->setUniform("Kd", light->Kd);
shader->setUniform("Ks", light->Ks);
shader->setUniform("Ia", light->Ia * glm::vec3(1.0, 1.0, 1.0));
shader->setUniform("Id", light->Id * glm::vec3(1.0, 1.0, 1.0));
shader->setUniform("Is", light->Is * glm::vec3(1.0, 1.0, 1.0));
shader->setUniform("Shininess", light->shininess);
shader->setUniform("y", light->y);
shader->setUniform("s", light->s);
}
if(!primitivasRellenadas) {
glGenVertexArrays(1, &vao);
glBindVertexArray(vao);
glGenBuffers(1, &vbo);
glBindBuffer(GL_ARRAY_BUFFER, vbo);
glEnableVertexAttribArray(0);
glVertexAttribPointer(0, sizeof(glm::vec3) / sizeof(GLfloat),
GL_FLOAT, GL_FALSE, sizeof(PagVaoData), //POSITIONS
((GLubyte *)nullptr + (0)));
glEnableVertexAttribArray(2);
glVertexAttribPointer(2, sizeof(glm::vec2) / sizeof(GLfloat),
GL_FLOAT, GL_FALSE, sizeof(PagVaoData), //NORMALS
((GLubyte *)nullptr + 2 * (sizeof(glm::vec3))));
glBufferData(GL_ARRAY_BUFFER, sizeof(PagVaoData) * tamaGeometriaCoordText, pointsColor, GL_STATIC_DRAW);
glGenBuffers(1, &ibo);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, ibo);
glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(GLuint) * (tamaIndices), _indices, GL_STATIC_DRAW);
}
glBindVertexArray(vao);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, ibo);
glEnable(GL_PRIMITIVE_RESTART);
glPrimitiveRestartIndex(0xFFFF);
glDrawElements(GL_TRIANGLE_STRIP, (sizeof(GLuint) * (tamaIndices)) / sizeof(GLuint), GL_UNSIGNED_INT, NULL);
if (flagBottomTape) {
if(!primitivasRellenadas) {
glGenVertexArrays(1, &vaoBottomTape);
glBindVertexArray(vaoBottomTape);
glGenBuffers(1, &vboBottomTape);
glBindBuffer(GL_ARRAY_BUFFER, vboBottomTape);
glEnableVertexAttribArray(0);
glVertexAttribPointer(0, sizeof(glm::vec3) / sizeof(GLfloat),
GL_FLOAT, GL_FALSE, sizeof(PagVaoData), //POSITIONS
((GLubyte *)nullptr + (0)));
glEnableVertexAttribArray(1);
glVertexAttribPointer(1, sizeof(glm::vec3) / sizeof(GLfloat),
GL_FLOAT, GL_FALSE, sizeof(PagVaoData), //NORMALS
((GLubyte *)nullptr + 2 * (sizeof(glm::vec3))));
glBufferData(GL_ARRAY_BUFFER, sizeof(PagVaoData) * (slices + 1), pointsColorBottom, GL_STATIC_DRAW);
glGenBuffers(1, &iboBottomTape);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, iboBottomTape);
glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(GLuint) * (slices + 1), _indicesBottom, GL_STATIC_DRAW);
}
glBindVertexArray(vaoBottomTape);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, iboBottomTape);
glDrawElements(GL_TRIANGLE_FAN, (sizeof(GLuint) * (slices + 1)) / sizeof(GLuint), GL_UNSIGNED_INT, NULL);
}
if (flagTopTape) {
if(!primitivasRellenadas) {
glGenVertexArrays(1, &vaoTopTape);
glBindVertexArray(vaoTopTape);
glGenBuffers(1, &vboTopTape);
glBindBuffer(GL_ARRAY_BUFFER, vboTopTape);
glEnableVertexAttribArray(0);
glVertexAttribPointer(0, sizeof(glm::vec3) / sizeof(GLfloat),
GL_FLOAT, GL_FALSE, sizeof(PagVaoData), //POSITIONS
((GLubyte *)nullptr + (0)));
glEnableVertexAttribArray(1);
glVertexAttribPointer(1, sizeof(glm::vec3) / sizeof(GLfloat),
GL_FLOAT, GL_FALSE, sizeof(PagVaoData), //NORMALS
((GLubyte *)nullptr + 2 * (sizeof(glm::vec3))));
glBufferData(GL_ARRAY_BUFFER, sizeof(PagVaoData) * (slices + 1), pointsColorTop, GL_STATIC_DRAW);
glGenBuffers(1, &iboTopTape);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, iboTopTape);
glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(GLuint) * (slices + 1), _indicesTop, GL_STATIC_DRAW);
}
glBindVertexArray(vaoTopTape);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, iboTopTape);
glDrawElements(GL_TRIANGLE_FAN, (sizeof(GLuint) * (slices + 1)) / sizeof(GLuint), GL_UNSIGNED_INT, NULL);
}
}
if (nShader == "Test") {
PagShaderProgram* shader = renderer->getShader("Test");
shader->use();
shader->setUniform("mvpMatrix", ProjectionMatrix * ViewMatrix * ModelMatrix);
shader->setUniform("pointSize", 4.0f);
if(!primitivasRellenadas) {
glGenVertexArrays(1, &vao);
glBindVertexArray(vao);
glGenBuffers(1, &vbo);
glBindBuffer(GL_ARRAY_BUFFER, vbo);
glEnableVertexAttribArray(0);
glVertexAttribPointer(0, sizeof(glm::vec3) / sizeof(GLfloat),
GL_FLOAT, GL_FALSE, sizeof(PagVaoData), //POSITIONS
((GLubyte *)nullptr + (0)));
glBufferData(GL_ARRAY_BUFFER, sizeof(PagVaoData) * tamaGeometriaCoordText, pointsColor, GL_STATIC_DRAW);
glGenBuffers(1, &ibo);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, ibo);
glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(GLuint) * (tamaIndices), _indices, GL_STATIC_DRAW);
}
glBindVertexArray(vao);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, ibo);
glEnable(GL_PRIMITIVE_RESTART);
glPrimitiveRestartIndex(0xFFFF);
glDrawElements(GL_TRIANGLE_STRIP, (sizeof(GLuint) * (tamaIndices)) / sizeof(GLuint), GL_UNSIGNED_INT, NULL);
if (flagBottomTape) {
if(!primitivasRellenadas) {
glGenVertexArrays(1, &vaoBottomTape);
glBindVertexArray(vaoBottomTape);
glGenBuffers(1, &vboBottomTape);
glBindBuffer(GL_ARRAY_BUFFER, vboBottomTape);
glEnableVertexAttribArray(0);
glVertexAttribPointer(0, sizeof(glm::vec3) / sizeof(GLfloat),
GL_FLOAT, GL_FALSE, sizeof(PagVaoData), //POSITIONS
((GLubyte *)nullptr + (0)));
glBufferData(GL_ARRAY_BUFFER, sizeof(PagVaoData) * (slices + 1), pointsColorBottom, GL_STATIC_DRAW);
glGenBuffers(1, &iboBottomTape);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, iboBottomTape);
glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(GLuint) * (slices + 1), _indicesBottom, GL_STATIC_DRAW);
}
glBindVertexArray(vaoBottomTape);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, iboBottomTape);
glDrawElements(GL_TRIANGLE_FAN, (sizeof(GLuint) * (slices + 1)) / sizeof(GLuint), GL_UNSIGNED_INT, NULL);
}
if (flagTopTape) {
if(!primitivasRellenadas) {
glGenVertexArrays(1, &vaoTopTape);
glBindVertexArray(vaoTopTape);
glGenBuffers(1, &vboTopTape);
glBindBuffer(GL_ARRAY_BUFFER, vboTopTape);
glEnableVertexAttribArray(0);
glVertexAttribPointer(0, sizeof(glm::vec3) / sizeof(GLfloat),
GL_FLOAT, GL_FALSE, sizeof(PagVaoData), //POSITIONS
((GLubyte *)nullptr + (0)));
glBufferData(GL_ARRAY_BUFFER, sizeof(PagVaoData) * (slices + 1), pointsColorTop, GL_STATIC_DRAW);
glGenBuffers(1, &iboTopTape);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, iboTopTape);
glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(GLuint) * (slices + 1), _indicesTop, GL_STATIC_DRAW);
}
glBindVertexArray(vaoTopTape);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, iboTopTape);
glDrawElements(GL_TRIANGLE_FAN, (sizeof(GLuint) * (slices + 1)) / sizeof(GLuint), GL_UNSIGNED_INT, NULL);
}
}
if (nShader == "Texture") {
std::string name = "Texture-";
char l = light->light;
name += l;
PagShaderProgram* shader = renderer->getShader(name);
shader->use();
if (l == 'P') {
shader->setUniform("mvpMatrix", ProjectionMatrix * ViewMatrix * ModelMatrix);
shader->setUniform("mModelView", ViewMatrix * ModelMatrix);
shader->setUniform("lightPosition", glm::vec3(ViewMatrix * glm::vec4(light->position, 1.0)));
shader->setUniform("Ks", light->Ks);
shader->setUniform("Ia", light->Ia * glm::vec3(1.0, 1.0, 1.0));
shader->setUniform("Id", light->Id * glm::vec3(1.0, 1.0, 1.0));
shader->setUniform("Is", light->Is * glm::vec3(1.0, 1.0, 1.0));
shader->setUniform("Shininess", light->shininess);
shader->setUniform("TexSamplerColor", 0);
}
else if (l == 'D') {
shader->setUniform("mvpMatrix", ProjectionMatrix * ViewMatrix * ModelMatrix);
shader->setUniform("mModelView", ViewMatrix * ModelMatrix);
shader->setUniform("lightDirection", glm::vec3(ViewMatrix * glm::vec4(light->direction, 0.0)));
shader->setUniform("Ks", light->Ks);
shader->setUniform("Ia", light->Ia * glm::vec3(1.0, 1.0, 1.0));
shader->setUniform("Id", light->Id * glm::vec3(1.0, 1.0, 1.0));
shader->setUniform("Is", light->Is * glm::vec3(1.0, 1.0, 1.0));
shader->setUniform("Shininess", light->shininess);
shader->setUniform("TexSamplerColor", 0);
}
else if (l == 'S') {
shader->setUniform("mvpMatrix", ProjectionMatrix * ViewMatrix * ModelMatrix);
shader->setUniform("mModelView", ViewMatrix * ModelMatrix);
shader->setUniform("lightPosition", glm::vec3(ViewMatrix * glm::vec4(light->position, 1.0)));
shader->setUniform("lightDirection", glm::vec3(ViewMatrix * glm::vec4(light->direction, 0.0)));
shader->setUniform("Ks", light->Ks);
shader->setUniform("Ia", light->Ia * glm::vec3(1.0, 1.0, 1.0));
shader->setUniform("Id", light->Id * glm::vec3(1.0, 1.0, 1.0));
shader->setUniform("Is", light->Is * glm::vec3(1.0, 1.0, 1.0));
shader->setUniform("Shininess", light->shininess);
shader->setUniform("y", light->y);
shader->setUniform("s", light->s);
shader->setUniform("TexSamplerColor", 0);
}
if(!primitivasRellenadas) {
glGenVertexArrays(1, &vao);
glGenBuffers(1, &vbo);
glGenBuffers(1, &ibo);
}
glBindVertexArray(vao);
glBindBuffer(GL_ARRAY_BUFFER, vbo);
glEnableVertexAttribArray(0);
glVertexAttribPointer(0, sizeof(glm::vec3) / sizeof(GLfloat),
GL_FLOAT, GL_FALSE, sizeof(PagVaoData), //POSITIONS
((GLubyte *)nullptr + (0)));
glEnableVertexAttribArray(1);
glVertexAttribPointer(1, sizeof(glm::vec3) / sizeof(GLfloat),
GL_FLOAT, GL_FALSE, sizeof(PagVaoData), //NORMALS
((GLubyte *)nullptr + 2 * (sizeof(glm::vec3))));
glEnableVertexAttribArray(2);
glVertexAttribPointer(2, sizeof(glm::vec2) / sizeof(GLfloat),
GL_FLOAT, GL_FALSE, sizeof(PagVaoData), //COORDTEXTS
((GLubyte *)nullptr + 3 * (sizeof(glm::vec3))));
glBufferData(GL_ARRAY_BUFFER, sizeof(PagVaoData) * tamaGeometriaCoordText, pointsColor, GL_STATIC_DRAW);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, ibo);
glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(GLuint) * (tamaIndices), _indices, GL_STATIC_DRAW);
glBindVertexArray(vao);
glActiveTexture(GL_TEXTURE0);
glBindTexture(GL_TEXTURE_2D, renderer->getTexture(nombreTextura));
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, ibo);
glEnable(GL_PRIMITIVE_RESTART);
glPrimitiveRestartIndex(0xFFFF);
glDrawElements(GL_TRIANGLE_STRIP, (sizeof(GLuint) * (tamaIndices)) / sizeof(GLuint), GL_UNSIGNED_INT, NULL);
if (flagBottomTape) {
if(!primitivasRellenadas) {
glGenVertexArrays(1, &vaoBottomTape);
glGenBuffers(1, &vboBottomTape);
glGenBuffers(1, &iboBottomTape);
}
glBindVertexArray(vaoBottomTape);
glBindBuffer(GL_ARRAY_BUFFER, vboBottomTape);
glEnableVertexAttribArray(0);
glVertexAttribPointer(0, sizeof(glm::vec3) / sizeof(GLfloat),
GL_FLOAT, GL_FALSE, sizeof(PagVaoData), //POSITIONS
((GLubyte *)nullptr + (0)));
glEnableVertexAttribArray(1);
glVertexAttribPointer(1, sizeof(glm::vec3) / sizeof(GLfloat),
GL_FLOAT, GL_FALSE, sizeof(PagVaoData), //NORMALS
((GLubyte *)nullptr + 2 * (sizeof(glm::vec3))));
glEnableVertexAttribArray(2);
glVertexAttribPointer(2, sizeof(glm::vec2) / sizeof(GLfloat),
GL_FLOAT, GL_FALSE, sizeof(PagVaoData), //COORDTEXTS
((GLubyte *)nullptr + 3 * (sizeof(glm::vec3))));
glBufferData(GL_ARRAY_BUFFER, sizeof(PagVaoData) * (slices + 1), pointsColorBottom, GL_STATIC_DRAW);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, iboBottomTape);
glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(GLuint) * (slices + 1), _indicesBottom, GL_STATIC_DRAW);
glBindVertexArray(vaoBottomTape);
glActiveTexture(GL_TEXTURE0);
glBindTexture(GL_TEXTURE_2D, renderer->getTexture(nombreTextura));
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, iboBottomTape);
glDrawElements(GL_TRIANGLE_FAN, (sizeof(GLuint) * (slices + 1)) / sizeof(GLuint), GL_UNSIGNED_INT, NULL);
}
if (flagTopTape) {
if(!primitivasRellenadas) {
glGenVertexArrays(1, &vaoTopTape);
glGenBuffers(1, &vboTopTape);
glGenBuffers(1, &iboTopTape);
}
glBindVertexArray(vaoTopTape);
glBindBuffer(GL_ARRAY_BUFFER, vboTopTape);
glEnableVertexAttribArray(0);
glVertexAttribPointer(0, sizeof(glm::vec3) / sizeof(GLfloat),
GL_FLOAT, GL_FALSE, sizeof(PagVaoData), //POSITIONS
((GLubyte *)nullptr + (0)));
glEnableVertexAttribArray(1);
glVertexAttribPointer(1, sizeof(glm::vec3) / sizeof(GLfloat),
GL_FLOAT, GL_FALSE, sizeof(PagVaoData), //NORMALS
((GLubyte *)nullptr + 2 * (sizeof(glm::vec3))));
glEnableVertexAttribArray(2);
glVertexAttribPointer(2, sizeof(glm::vec2) / sizeof(GLfloat),
GL_FLOAT, GL_FALSE, sizeof(PagVaoData), //COORDTEXTS
((GLubyte *)nullptr + 3 * (sizeof(glm::vec3))));
glBufferData(GL_ARRAY_BUFFER, sizeof(PagVaoData) * (slices + 1), pointsColorTop, GL_STATIC_DRAW);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, iboTopTape);
glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(GLuint) * (slices + 1), _indicesTop, GL_STATIC_DRAW);
glBindVertexArray(vaoTopTape);
glActiveTexture(GL_TEXTURE0);
glBindTexture(GL_TEXTURE_2D, renderer->getTexture(nombreTextura));
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, iboTopTape);
glDrawElements(GL_TRIANGLE_FAN, (sizeof(GLuint) * (slices + 1)) / sizeof(GLuint), GL_UNSIGNED_INT, NULL);
}
}
}
if (!primitivasRellenadas)primitivasRellenadas = true;
}
/**
* Destructor de PagRevolutionObject
*/
PagRevolutionObject::~PagRevolutionObject() {
if (geometria != nullptr) delete[] geometria;
if (geometriaBottomTape != nullptr) delete[] geometriaBottomTape;
if (geometriaTopTape != nullptr) delete[] geometriaTopTape;
if (coordtext != nullptr) delete[] coordtext;
if (coordtextBottomTape != nullptr) delete[] coordtextBottomTape;
if (coordtextTopTape != nullptr) delete[] coordtextTopTape;
if (indices != nullptr) delete[] indices;
if (indicesBottomTape != nullptr) delete[] indicesBottomTape;
if (indicesTopTape != nullptr) delete[] indicesTopTape;
if (pointsColor != nullptr) delete[] pointsColor;
if (pointsColorTop != nullptr) delete[] pointsColorTop;
if (pointsColorBottom != nullptr) delete[] pointsColorBottom;
if (_indices != nullptr) delete[] _indices;
if (_indicesBottom != nullptr) delete[] _indicesTop;
if (_indicesTop != nullptr) delete[] _indicesBottom;
}
| [
"[email protected]"
] | |
74b50ee8b44ab2aa47a3be4792d10401f84f1270 | 1880ae99db197e976c87ba26eb23a20248e8ee51 | /sms/include/tencentcloud/sms/v20210111/model/SendSmsResponse.h | 2757c8796657c3c31641a44156699d3acca7bae0 | [
"Apache-2.0"
] | permissive | caogenwang/tencentcloud-sdk-cpp | 84869793b5eb9811bb1eb46ed03d4dfa7ce6d94d | 6e18ee6622697a1c60a20a509415b0ddb8bdeb75 | refs/heads/master | 2023-08-23T12:37:30.305972 | 2021-11-08T01:18:30 | 2021-11-08T01:18:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,288 | h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 TENCENTCLOUD_SMS_V20210111_MODEL_SENDSMSRESPONSE_H_
#define TENCENTCLOUD_SMS_V20210111_MODEL_SENDSMSRESPONSE_H_
#include <string>
#include <vector>
#include <map>
#include <tencentcloud/core/AbstractModel.h>
#include <tencentcloud/sms/v20210111/model/SendStatus.h>
namespace TencentCloud
{
namespace Sms
{
namespace V20210111
{
namespace Model
{
/**
* SendSms返回参数结构体
*/
class SendSmsResponse : public AbstractModel
{
public:
SendSmsResponse();
~SendSmsResponse() = default;
CoreInternalOutcome Deserialize(const std::string &payload);
std::string ToJsonString() const;
/**
* 获取短信发送状态。
* @return SendStatusSet 短信发送状态。
*/
std::vector<SendStatus> GetSendStatusSet() const;
/**
* 判断参数 SendStatusSet 是否已赋值
* @return SendStatusSet 是否已赋值
*/
bool SendStatusSetHasBeenSet() const;
private:
/**
* 短信发送状态。
*/
std::vector<SendStatus> m_sendStatusSet;
bool m_sendStatusSetHasBeenSet;
};
}
}
}
}
#endif // !TENCENTCLOUD_SMS_V20210111_MODEL_SENDSMSRESPONSE_H_
| [
"[email protected]"
] | |
186d4153800cd44c250d3e0d79a3fa9e645f367f | fb7817c071c37fed603e1b46df1327175ee031b1 | /App/Lib/Bal/Include/graphics/d3d12/balConstantBufferD3D12.h | d936ab31ec7f94e5d543328146a25a8038c7a29d | [
"MIT"
] | permissive | belmayze/bal | af22ecf42ae1491843c4e84f74af75be92b64ed3 | 710a96d011855fdab4e4b6962a2ba5b6b6b35aae | refs/heads/master | 2021-08-18T04:04:42.151990 | 2021-07-03T22:29:42 | 2021-07-03T22:29:42 | 240,271,882 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,616 | h | /*!
* @file balConstantBufferD3D12.h
* @brief
* @author belmayze
*
* Copyright (c) 2020 belmayze. All rights reserved.
*/
#pragma once
// bal
#include <graphics/balIConstantBuffer.h>
// ----------------------------------------------------------------------------
namespace bal::d3d12 {
class ConstantBuffer : public IConstantBuffer
{
public:
/*!
* 初期化の処理を記述します
* @param[in] arg 初期化構造体
*/
virtual bool initialize(const InitializeArg& arg) override;
/*!
* GPU メモリーに値を反映する
*/
virtual void flush() override;
/*!
* ダブルバッファだった場合に入れ替える
*/
virtual void swapBuffer() override;
public:
//! GPUアドレスを取得する
D3D12_GPU_VIRTUAL_ADDRESS getGPUVirtualAddress() const;
//! バッファーサイズを取得する
size_t getBufferSize() const;
protected:
/*!
* 書き込み先のバッファを取得する
*/
virtual uint8_t* getBufferPtr_() override;
private:
// Com の deleter
struct ComDeleter
{
void operator()(IUnknown* ptr) { ptr->Release(); }
};
private:
std::unique_ptr<std::unique_ptr<ID3D12Resource, ComDeleter>[]> mpResources;
std::unique_ptr<uint8_t* []> mpBufferPtrs;
uint32_t mBufferCount = 1;
uint32_t mBufferIndex = 0;
size_t mBufferSize = 0;
};
}
| [
"[email protected]"
] | |
13db6e887d825c008e5be9eb1e6a27faec92867c | 451acae1065f5e203b1c53c6a4fbcb446ae51813 | /src/map_editor/src/main.cpp | ca1c244ce896d0b9edae2c96e54652f6f612724d | [] | no_license | Nusia/AIBattle | 04cd001321828c539652a850edd6ae82f31b1109 | 80ab4dc73e69ff61bb69c17c409294ad034e828c | refs/heads/master | 2021-01-01T20:34:21.715901 | 2012-01-13T10:34:20 | 2012-01-13T10:34:20 | 1,783,675 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 130 | cpp | #pragma once
#include "AIBattleMapedit.h"
int main( int argc, char* args[] )
{
AIBattleMapedit AIBattleMapedit;
return 0;
} | [
"[email protected]"
] | |
80b4470520daf9c7b4f5076477f1fe429e493abc | b8fb506c8e6abf763c84a19d28b74cce2a0f4ffa | /src/effects/SkArithmeticImageFilter.cpp | 5076ecc1173aa31e254d77adfde2585d922d01ae | [
"BSD-3-Clause"
] | permissive | anil235476/skia | c55e566c865daa96200e1d6ac96d4b7dc1723c0a | 5e34167d53c06c3c4512592bd1477fcf2df97172 | refs/heads/master | 2021-07-13T04:22:43.817399 | 2017-10-18T14:23:18 | 2017-10-18T15:24:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,516 | cpp | /*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkArithmeticImageFilter.h"
#include "SkCanvas.h"
#include "SkColorSpaceXformer.h"
#include "SkNx.h"
#include "SkReadBuffer.h"
#include "SkSpecialImage.h"
#include "SkSpecialSurface.h"
#include "SkWriteBuffer.h"
#include "SkXfermodeImageFilter.h"
#if SK_SUPPORT_GPU
#include "GrClip.h"
#include "GrContext.h"
#include "GrRenderTargetContext.h"
#include "GrTextureProxy.h"
#include "SkGr.h"
#include "effects/GrArithmeticFP.h"
#include "effects/GrConstColorProcessor.h"
#include "effects/GrTextureDomain.h"
#include "glsl/GrGLSLFragmentProcessor.h"
#include "glsl/GrGLSLFragmentShaderBuilder.h"
#include "glsl/GrGLSLProgramDataManager.h"
#include "glsl/GrGLSLUniformHandler.h"
#endif
class ArithmeticImageFilterImpl : public SkImageFilter {
public:
ArithmeticImageFilterImpl(float k1, float k2, float k3, float k4, bool enforcePMColor,
sk_sp<SkImageFilter> inputs[2], const CropRect* cropRect)
: INHERITED(inputs, 2, cropRect), fK{k1, k2, k3, k4}, fEnforcePMColor(enforcePMColor) {}
SK_TO_STRING_OVERRIDE()
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(ArithmeticImageFilterImpl)
protected:
sk_sp<SkSpecialImage> onFilterImage(SkSpecialImage* source, const Context&,
SkIPoint* offset) const override;
SkIRect onFilterBounds(const SkIRect&, const SkMatrix&, MapDirection) const override;
#if SK_SUPPORT_GPU
sk_sp<SkSpecialImage> filterImageGPU(SkSpecialImage* source,
sk_sp<SkSpecialImage> background,
const SkIPoint& backgroundOffset,
sk_sp<SkSpecialImage> foreground,
const SkIPoint& foregroundOffset,
const SkIRect& bounds,
const OutputProperties& outputProperties) const;
#endif
void flatten(SkWriteBuffer& buffer) const override {
this->INHERITED::flatten(buffer);
for (int i = 0; i < 4; ++i) {
buffer.writeScalar(fK[i]);
}
buffer.writeBool(fEnforcePMColor);
}
void drawForeground(SkCanvas* canvas, SkSpecialImage*, const SkIRect&) const;
sk_sp<SkImageFilter> onMakeColorSpace(SkColorSpaceXformer*) const override;
private:
bool affectsTransparentBlack() const override { return !SkScalarNearlyZero(fK[3]); }
const float fK[4];
const bool fEnforcePMColor;
friend class ::SkArithmeticImageFilter;
typedef SkImageFilter INHERITED;
};
sk_sp<SkFlattenable> ArithmeticImageFilterImpl::CreateProc(SkReadBuffer& buffer) {
SK_IMAGEFILTER_UNFLATTEN_COMMON(common, 2);
float k[4];
for (int i = 0; i < 4; ++i) {
k[i] = buffer.readScalar();
}
const bool enforcePMColor = buffer.readBool();
return SkArithmeticImageFilter::Make(k[0], k[1], k[2], k[3], enforcePMColor, common.getInput(0),
common.getInput(1), &common.cropRect());
}
static Sk4f pin(float min, const Sk4f& val, float max) {
return Sk4f::Max(min, Sk4f::Min(val, max));
}
template <bool EnforcePMColor>
void arith_span(const float k[], SkPMColor dst[], const SkPMColor src[], int count) {
const Sk4f k1 = k[0] * (1/255.0f),
k2 = k[1],
k3 = k[2],
k4 = k[3] * 255.0f + 0.5f;
for (int i = 0; i < count; i++) {
Sk4f s = SkNx_cast<float>(Sk4b::Load(src+i)),
d = SkNx_cast<float>(Sk4b::Load(dst+i)),
r = pin(0, k1*s*d + k2*s + k3*d + k4, 255);
if (EnforcePMColor) {
Sk4f a = SkNx_shuffle<3,3,3,3>(r);
r = Sk4f::Min(a, r);
}
SkNx_cast<uint8_t>(r).store(dst+i);
}
}
// apply mode to src==transparent (0)
template<bool EnforcePMColor> void arith_transparent(const float k[], SkPMColor dst[], int count) {
const Sk4f k3 = k[2],
k4 = k[3] * 255.0f + 0.5f;
for (int i = 0; i < count; i++) {
Sk4f d = SkNx_cast<float>(Sk4b::Load(dst+i)),
r = pin(0, k3*d + k4, 255);
if (EnforcePMColor) {
Sk4f a = SkNx_shuffle<3,3,3,3>(r);
r = Sk4f::Min(a, r);
}
SkNx_cast<uint8_t>(r).store(dst+i);
}
}
static bool intersect(SkPixmap* dst, SkPixmap* src, int srcDx, int srcDy) {
SkIRect dstR = SkIRect::MakeWH(dst->width(), dst->height());
SkIRect srcR = SkIRect::MakeXYWH(srcDx, srcDy, src->width(), src->height());
SkIRect sect;
if (!sect.intersect(dstR, srcR)) {
return false;
}
*dst = SkPixmap(dst->info().makeWH(sect.width(), sect.height()),
dst->addr(sect.fLeft, sect.fTop),
dst->rowBytes());
*src = SkPixmap(src->info().makeWH(sect.width(), sect.height()),
src->addr(SkTMax(0, -srcDx), SkTMax(0, -srcDy)),
src->rowBytes());
return true;
}
sk_sp<SkSpecialImage> ArithmeticImageFilterImpl::onFilterImage(SkSpecialImage* source,
const Context& ctx,
SkIPoint* offset) const {
SkIPoint backgroundOffset = SkIPoint::Make(0, 0);
sk_sp<SkSpecialImage> background(this->filterInput(0, source, ctx, &backgroundOffset));
SkIPoint foregroundOffset = SkIPoint::Make(0, 0);
sk_sp<SkSpecialImage> foreground(this->filterInput(1, source, ctx, &foregroundOffset));
SkIRect foregroundBounds = SkIRect::EmptyIRect();
if (foreground) {
foregroundBounds = SkIRect::MakeXYWH(foregroundOffset.x(), foregroundOffset.y(),
foreground->width(), foreground->height());
}
SkIRect srcBounds = SkIRect::EmptyIRect();
if (background) {
srcBounds = SkIRect::MakeXYWH(backgroundOffset.x(), backgroundOffset.y(),
background->width(), background->height());
}
srcBounds.join(foregroundBounds);
if (srcBounds.isEmpty()) {
return nullptr;
}
SkIRect bounds;
if (!this->applyCropRect(ctx, srcBounds, &bounds)) {
return nullptr;
}
offset->fX = bounds.left();
offset->fY = bounds.top();
#if SK_SUPPORT_GPU
if (source->isTextureBacked()) {
return this->filterImageGPU(source, background, backgroundOffset, foreground,
foregroundOffset, bounds, ctx.outputProperties());
}
#endif
sk_sp<SkSpecialSurface> surf(source->makeSurface(ctx.outputProperties(), bounds.size()));
if (!surf) {
return nullptr;
}
SkCanvas* canvas = surf->getCanvas();
SkASSERT(canvas);
canvas->clear(0x0); // can't count on background to fully clear the background
canvas->translate(SkIntToScalar(-bounds.left()), SkIntToScalar(-bounds.top()));
if (background) {
SkPaint paint;
paint.setBlendMode(SkBlendMode::kSrc);
background->draw(canvas, SkIntToScalar(backgroundOffset.fX),
SkIntToScalar(backgroundOffset.fY), &paint);
}
this->drawForeground(canvas, foreground.get(), foregroundBounds);
return surf->makeImageSnapshot();
}
SkIRect ArithmeticImageFilterImpl::onFilterBounds(const SkIRect& src,
const SkMatrix& ctm,
MapDirection direction) const {
if (kReverse_MapDirection == direction) {
return SkImageFilter::onFilterBounds(src, ctm, direction);
}
SkASSERT(2 == this->countInputs());
// result(i1,i2) = k1*i1*i2 + k2*i1 + k3*i2 + k4
// Note that background (getInput(0)) is i2, and foreground (getInput(1)) is i1.
auto i2 = this->getInput(0) ? this->getInput(0)->filterBounds(src, ctm, direction) : src;
auto i1 = this->getInput(1) ? this->getInput(1)->filterBounds(src, ctm, direction) : src;
// Arithmetic with non-zero k4 may influence the complete filter primitive
// region. [k4 > 0 => result(0,0) = k4 => result(i1,i2) >= k4]
if (!SkScalarNearlyZero(fK[3])) {
i1.join(i2);
return i1;
}
// If both K2 or K3 are non-zero, both i1 and i2 appear.
if (!SkScalarNearlyZero(fK[1]) && !SkScalarNearlyZero(fK[2])) {
i1.join(i2);
return i1;
}
// If k2 is non-zero, output can be produced whenever i1 is non-transparent.
// [k3 = k4 = 0 => result(i1,i2) = k1*i1*i2 + k2*i1 = (k1*i2 + k2)*i1]
if (!SkScalarNearlyZero(fK[1])) {
return i1;
}
// If k3 is non-zero, output can be produced whenever i2 is non-transparent.
// [k2 = k4 = 0 => result(i1,i2) = k1*i1*i2 + k3*i2 = (k1*i1 + k3)*i2]
if (!SkScalarNearlyZero(fK[2])) {
return i2;
}
// If just k1 is non-zero, output will only be produce where both inputs
// are non-transparent. Use intersection.
// [k1 > 0 and k2 = k3 = k4 = 0 => result(i1,i2) = k1*i1*i2]
if (!SkScalarNearlyZero(fK[0])) {
if (!i1.intersect(i2)) {
return SkIRect::MakeEmpty();
}
return i1;
}
// [k1 = k2 = k3 = k4 = 0 => result(i1,i2) = 0]
return SkIRect::MakeEmpty();
}
#if SK_SUPPORT_GPU
#if GR_TEST_UTILS
std::unique_ptr<GrFragmentProcessor> GrArithmeticFP::TestCreate(GrProcessorTestData* d) {
float k1 = d->fRandom->nextF();
float k2 = d->fRandom->nextF();
float k3 = d->fRandom->nextF();
float k4 = d->fRandom->nextF();
bool enforcePMColor = d->fRandom->nextBool();
std::unique_ptr<GrFragmentProcessor> dst(GrProcessorUnitTest::MakeChildFP(d));
return GrArithmeticFP::Make(k1, k2, k3, k4, enforcePMColor, std::move(dst));
}
#endif
GR_DEFINE_FRAGMENT_PROCESSOR_TEST(GrArithmeticFP);
sk_sp<SkSpecialImage> ArithmeticImageFilterImpl::filterImageGPU(
SkSpecialImage* source,
sk_sp<SkSpecialImage> background,
const SkIPoint& backgroundOffset,
sk_sp<SkSpecialImage> foreground,
const SkIPoint& foregroundOffset,
const SkIRect& bounds,
const OutputProperties& outputProperties) const {
SkASSERT(source->isTextureBacked());
GrContext* context = source->getContext();
sk_sp<GrTextureProxy> backgroundProxy, foregroundProxy;
if (background) {
backgroundProxy = background->asTextureProxyRef(context);
}
if (foreground) {
foregroundProxy = foreground->asTextureProxyRef(context);
}
GrPaint paint;
std::unique_ptr<GrFragmentProcessor> bgFP;
if (backgroundProxy) {
SkMatrix backgroundMatrix = SkMatrix::MakeTrans(-SkIntToScalar(backgroundOffset.fX),
-SkIntToScalar(backgroundOffset.fY));
bgFP = GrTextureDomainEffect::Make(
std::move(backgroundProxy), nullptr, backgroundMatrix,
GrTextureDomain::MakeTexelDomain(background->subset()),
GrTextureDomain::kDecal_Mode, GrSamplerState::Filter::kNearest);
bgFP = GrColorSpaceXformEffect::Make(std::move(bgFP), background->getColorSpace(),
outputProperties.colorSpace());
} else {
bgFP = GrConstColorProcessor::Make(GrColor4f::TransparentBlack(),
GrConstColorProcessor::kIgnore_InputMode);
}
if (foregroundProxy) {
SkMatrix foregroundMatrix = SkMatrix::MakeTrans(-SkIntToScalar(foregroundOffset.fX),
-SkIntToScalar(foregroundOffset.fY));
auto foregroundFP = GrTextureDomainEffect::Make(
std::move(foregroundProxy), nullptr, foregroundMatrix,
GrTextureDomain::MakeTexelDomain(foreground->subset()),
GrTextureDomain::kDecal_Mode, GrSamplerState::Filter::kNearest);
foregroundFP = GrColorSpaceXformEffect::Make(std::move(foregroundFP),
foreground->getColorSpace(),
outputProperties.colorSpace());
paint.addColorFragmentProcessor(std::move(foregroundFP));
std::unique_ptr<GrFragmentProcessor> xferFP =
GrArithmeticFP::Make(fK[0], fK[1], fK[2], fK[3], fEnforcePMColor, std::move(bgFP));
// A null 'xferFP' here means kSrc_Mode was used in which case we can just proceed
if (xferFP) {
paint.addColorFragmentProcessor(std::move(xferFP));
}
} else {
paint.addColorFragmentProcessor(std::move(bgFP));
}
paint.setPorterDuffXPFactory(SkBlendMode::kSrc);
sk_sp<GrRenderTargetContext> renderTargetContext(context->makeDeferredRenderTargetContext(
SkBackingFit::kApprox, bounds.width(), bounds.height(),
GrRenderableConfigForColorSpace(outputProperties.colorSpace()),
sk_ref_sp(outputProperties.colorSpace())));
if (!renderTargetContext) {
return nullptr;
}
paint.setGammaCorrect(renderTargetContext->isGammaCorrect());
SkMatrix matrix;
matrix.setTranslate(SkIntToScalar(-bounds.left()), SkIntToScalar(-bounds.top()));
renderTargetContext->drawRect(GrNoClip(), std::move(paint), GrAA::kNo, matrix,
SkRect::Make(bounds));
return SkSpecialImage::MakeDeferredFromGpu(context,
SkIRect::MakeWH(bounds.width(), bounds.height()),
kNeedNewImageUniqueID_SpecialImage,
renderTargetContext->asTextureProxyRef(),
renderTargetContext->refColorSpace());
}
#endif
void ArithmeticImageFilterImpl::drawForeground(SkCanvas* canvas, SkSpecialImage* img,
const SkIRect& fgBounds) const {
SkPixmap dst;
if (!canvas->peekPixels(&dst)) {
return;
}
const SkMatrix& ctm = canvas->getTotalMatrix();
SkASSERT(ctm.getType() <= SkMatrix::kTranslate_Mask);
const int dx = SkScalarRoundToInt(ctm.getTranslateX());
const int dy = SkScalarRoundToInt(ctm.getTranslateY());
if (img) {
SkBitmap srcBM;
SkPixmap src;
if (!img->getROPixels(&srcBM)) {
return;
}
if (!srcBM.peekPixels(&src)) {
return;
}
auto proc = fEnforcePMColor ? arith_span<true> : arith_span<false>;
SkPixmap tmpDst = dst;
if (intersect(&tmpDst, &src, fgBounds.fLeft + dx, fgBounds.fTop + dy)) {
for (int y = 0; y < tmpDst.height(); ++y) {
proc(fK, tmpDst.writable_addr32(0, y), src.addr32(0, y), tmpDst.width());
}
}
}
// Now apply the mode with transparent-color to the outside of the fg image
SkRegion outside(SkIRect::MakeWH(dst.width(), dst.height()));
outside.op(fgBounds.makeOffset(dx, dy), SkRegion::kDifference_Op);
auto proc = fEnforcePMColor ? arith_transparent<true> : arith_transparent<false>;
for (SkRegion::Iterator iter(outside); !iter.done(); iter.next()) {
const SkIRect r = iter.rect();
for (int y = r.fTop; y < r.fBottom; ++y) {
proc(fK, dst.writable_addr32(r.fLeft, y), r.width());
}
}
}
sk_sp<SkImageFilter> ArithmeticImageFilterImpl::onMakeColorSpace(SkColorSpaceXformer* xformer)
const {
SkASSERT(2 == this->countInputs());
auto background = xformer->apply(this->getInput(0));
auto foreground = xformer->apply(this->getInput(1));
if (background.get() != this->getInput(0) || foreground.get() != this->getInput(1)) {
return SkArithmeticImageFilter::Make(fK[0], fK[1], fK[2], fK[3], fEnforcePMColor,
std::move(background), std::move(foreground),
getCropRectIfSet());
}
return this->refMe();
}
#ifndef SK_IGNORE_TO_STRING
void ArithmeticImageFilterImpl::toString(SkString* str) const {
str->appendf("SkArithmeticImageFilter: (");
str->appendf("K[]: (%f %f %f %f)", fK[0], fK[1], fK[2], fK[3]);
if (this->getInput(0)) {
str->appendf("foreground: (");
this->getInput(0)->toString(str);
str->appendf(")");
}
if (this->getInput(1)) {
str->appendf("background: (");
this->getInput(1)->toString(str);
str->appendf(")");
}
str->append(")");
}
#endif
sk_sp<SkImageFilter> SkArithmeticImageFilter::Make(float k1, float k2, float k3, float k4,
bool enforcePMColor,
sk_sp<SkImageFilter> background,
sk_sp<SkImageFilter> foreground,
const SkImageFilter::CropRect* crop) {
if (!SkScalarIsFinite(k1) || !SkScalarIsFinite(k2) || !SkScalarIsFinite(k3) ||
!SkScalarIsFinite(k4)) {
return nullptr;
}
// are we nearly some other "std" mode?
int mode = -1; // illegal mode
if (SkScalarNearlyZero(k1) && SkScalarNearlyEqual(k2, SK_Scalar1) && SkScalarNearlyZero(k3) &&
SkScalarNearlyZero(k4)) {
mode = (int)SkBlendMode::kSrc;
} else if (SkScalarNearlyZero(k1) && SkScalarNearlyZero(k2) &&
SkScalarNearlyEqual(k3, SK_Scalar1) && SkScalarNearlyZero(k4)) {
mode = (int)SkBlendMode::kDst;
} else if (SkScalarNearlyZero(k1) && SkScalarNearlyZero(k2) && SkScalarNearlyZero(k3) &&
SkScalarNearlyZero(k4)) {
mode = (int)SkBlendMode::kClear;
}
if (mode >= 0) {
return SkXfermodeImageFilter::Make((SkBlendMode)mode, std::move(background),
std::move(foreground), crop);
}
sk_sp<SkImageFilter> inputs[2] = {std::move(background), std::move(foreground)};
return sk_sp<SkImageFilter>(
new ArithmeticImageFilterImpl(k1, k2, k3, k4, enforcePMColor, inputs, crop));
}
///////////////////////////////////////////////////////////////////////////////////////////////////
SK_DEFINE_FLATTENABLE_REGISTRAR_GROUP_START(SkArithmeticImageFilter)
SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(ArithmeticImageFilterImpl)
SK_DEFINE_FLATTENABLE_REGISTRAR_GROUP_END
| [
"[email protected]"
] | |
c807d452e941ec3e7da8f2ea05c2fd7a1637ba66 | b99eec146f34035fd40ccc16e39ab6c7dcbfe9ff | /zengine/zengine/script/register_helper/zengine_register_helper.cc | 8e84b9086a1b1d885113464d141d7ad265d4f0ec | [
"Apache-2.0"
] | permissive | cctvbtx/GameServceEngine-zengine | 635024102f0ece28c9d3436e2f2cd74e2de5d834 | 2c6f942c4b79a42c8b19c850579f25bb7e78e0d7 | refs/heads/master | 2023-03-19T13:21:59.265315 | 2015-03-12T02:39:33 | 2015-03-12T02:39:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,274 | cc | // Copyright (C) 2012 by wubenqi
// Distributable under the terms of either the Apache License (Version 2.0) or
// the GNU Lesser General Public License, as specified in the COPYING file.
//
// By: wubenqi<[email protected]>
//
#include "zengine/script/register_helper/zengine_register_helper.h"
// #include "luabind/luabind.hpp"
// #include "luabind/out_value_policy.hpp"
// #include "luabind/iterator_policy.hpp"
#include "scriptengine/luatinker/lua_tinker.h"
//#include "zengine/client_comm_handler.h"
//#include "zengine/zengine_daemon.h"
#include "zengine/zengine_context.h"
// #include "zengine/config_file.h"
#include "zengine/zengine_root.h"
namespace {
static const std::string kZEngineModuleName("mod_zengine");
bool CreateZEngineThread(const std::string& instance_name) {
return zengine::Root::GetInstance()->CreateZEngineThread(instance_name);
}
void Luabind_ZEngine_Register(lua_State* L) {
// io_handler
// luabind::module(L) [
// luabind::class_<zengine::CStringVector>("CStringVector")
// .def_readwrite("cstring_vector", &zengine::CStringVector::cstring_vector, luabind::return_stl_iterator)
// .def("size", &zengine::CStringVector::size),
//
// luabind::class_<zengine::StringVector>("StringVector")
// .def_readwrite("string_vector", &zengine::StringVector::string_vector, luabind::return_stl_iterator)
// .def("size", &zengine::StringVector::size),
//
// luabind::class_<ConfigFile>("ConfigFile")
// .scope [
// luabind::def("GetInstance", &ConfigFile::GetInstance)
// ]
// .def("GetString", &ConfigFile::GetString)
// .def("GetStringList", &ConfigFile::GetStringList)
// .def("GetCStringList", &ConfigFile::GetCStringList)
// .def("GetSectionKey", &ConfigFile::GetSectionKey)
// .def("GetSectionName", &ConfigFile::GetSectionName),
lua_tinker::class_add<ZEngineContext>(L, "ZEngineContext");
lua_tinker::class_def<ZEngineContext>(L, "PostTaskByInstanceName", &ZEngineContext::PostTaskByInstanceName);
lua_tinker::class_def<ZEngineContext>(L, "PostTaskByInstanceID", &ZEngineContext::PostTaskByInstanceID);
lua_tinker::class_def<ZEngineContext>(L, "PostTaskToIOThread", &ZEngineContext::PostTaskToIOThread);
lua_tinker::class_def<ZEngineContext>(L, "PostTaskToMainThread", &ZEngineContext::PostTaskToMainThread);
lua_tinker::class_def<ZEngineContext>(L, "PostTask", &ZEngineContext::PostTask);
lua_tinker::class_def<ZEngineContext>(L, "SetTimer", &ZEngineContext::SetTimer);
lua_tinker::class_def<ZEngineContext>(L, "KillTimer", &ZEngineContext::KillTimer);
lua_tinker::class_def<ZEngineContext>(L, "context_type", &ZEngineContext::context_type);
lua_tinker::class_def<ZEngineContext>(L, "instance_name", &ZEngineContext::instance_name);
lua_tinker::class_def<ZEngineContext>(L, "context_type", &ZEngineContext::instance_id);
lua_tinker::def(L, "CreateZEngineThread", &CreateZEngineThread);
}
}
//////////////////////////////////////////////////////////////////////////
#include "scriptengine/luabind_register_manager.h"
namespace zengine {
void ZEngine_Register_Helper() {
LuabindRegisterManager::GetInstance()->RegisterLuabindRegisterFunc(kZEngineModuleName, &Luabind_ZEngine_Register);
}
}
| [
"[email protected]"
] | |
9df73f7740d32dc4c6cd36a0fb8c3df6cd1bbea7 | 5e2c213a3d8489c1ae00c095591ce521d074d9e1 | /T47NY/SNOWMAN.h | c950548cc238bdeaf7de23c98cae469ea8b8bd71 | [] | no_license | StrangeGoofy/Some-projects | 1286d93917347a4167d7918cbb94f2ca6bea12a0 | eb99152b3894bc67b27ac65d6eae9a50486062f2 | refs/heads/master | 2022-11-04T12:08:03.340809 | 2020-06-12T15:10:04 | 2020-06-12T15:10:04 | 271,826,458 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,179 | h | #ifndef _SNOWMAN_H_
#define _SNOWMAN_H_
#include "ANIM.h"
namespace segl
{
class snowman : public object
{
public:
double r1( void )
{
return 9.0 * (2.0 * rand() / RAND_MAX-1);
}
double X, Z;
snowman( void )
{
X = r1();
Z = r1();
}
void Render( anim *Ani )
{
glTranslated(0.5*X*sin(0.2 * X * Ani->Time), 0, 0.6*Z*sin(0.2 * Z * Ani->Time)*sin(Z * Ani->Time));
glPushMatrix();
glTranslated(0, 0.5, 0);
glColor3d(0.8, 0.8, 1);
glutSolidSphere(1, 16, 16);
glTranslated(0, 1, 0);
glScaled(0.8, 0.8, 0.8);
glutSolidSphere(1, 16, 16);
glTranslated(0, 1, 0);
glScaled(0.8, 0.8, 0.8);
glutSolidSphere(1, 16, 16);
glTranslated(0, 0.7, 0);
glRotated(-90, 1, 0, 0);
glColor3d(0.7, 0.2, 0.2);
glutSolidCone(0.7, 1.5, 8, 8);
glTranslated(0, -1.8, 0);
glRotated(-90, 1, 0, 0);
glRotated(180, 0, 1, 0);
glTranslated(0, 0.6, -1);
glScaled(0.5, 0.5, 0.5);
glutSolidCone(0.3, 2, 8, 8);
glPopMatrix();
}
};
}
#endif | [
"[email protected]"
] | |
9c5116d81ddd737c4b48cbc9dbce7d9cdd0b6a37 | 5fb40740c24d4f301422da450b953de040dadb8d | /P3398.cpp | ffa485ccf95ad7a1c696dcabda2d9eae83731ef8 | [] | no_license | Hibari233/OI-Codes | 33110db22bfb9ce56c06a26512dbfe704852db75 | 6b026f98d007afeff480ab6b0d022b75572c19b9 | refs/heads/master | 2023-08-20T13:40:53.368218 | 2021-10-31T12:28:09 | 2021-10-31T12:28:09 | 263,259,957 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 201 | cpp | #include<iostream>
#include<cstdio>
#include<algorithm>
#include<cstring>
#include<string>
using namespace std;
int n,q.u,v;
int main(){
scanf("%d%d",&n,&q);
for(int i=1;i<=n;i++){
scanf("%d")
}
} | [
"[email protected]"
] | |
26d1747a1b5aab9044f9fa7fcd3af43d2c456070 | 002eda1f0be5e975b2395dbdd321da787a288266 | /Arduino/code + bluetooth/code + bluetooth.ino | 1077ec7ba32476c451b332c73cad90b41b80b435 | [] | no_license | YousefAboElFoul/COEN-390-SSS | f01f8e212d6ffd42ea9122256a6ec16491833b42 | a9d662989c8dafce21eec6e0a5884da9cb56ad68 | refs/heads/master | 2021-09-11T16:47:48.086245 | 2018-04-09T22:36:52 | 2018-04-09T22:36:52 | 105,186,874 | 1 | 3 | null | 2017-11-29T11:21:21 | 2017-09-28T18:47:57 | Java | UTF-8 | C++ | false | false | 9,289 | ino |
// These constants won't change:
const int sensorPinTHUMB = A0; // pin that the THUMB flex sensor is attached to
const int sensorPinINDEX = A1; // pin that the INDEX flex sensor is attached to
const int sensorPinMIDDLE = A2; // pin that the MIDDLE flex sensor is attached to
const int sensorPinRING = A3; // pin that the RING flex sensor is attached to
const int sensorPinPINKEY = A4; // pin that the PINKEY flex sensor is attached to
const int xPin = 2; // X output of the accelerometer
const int yPin = 3; // y output of the accelerometer
const int button = 7;
const int ledPinBLUE = 4; // pin that the LED is attached to
const int ledPinGREEN = 5; // pin that the LED is attached to
// variables:
int sensorValueTHUMB = 0; // the sensor value
int sensorValueINDEX = 0; // the sensor value
int sensorValueMIDDLE = 0; // the sensor value
int sensorValueRING = 0; // the sensor value
int sensorValuePINKEY = 0; // the sensor value
int sensorMinTHUMB = 1023; // minimum sensor value
int sensorMinINDEX = 1023; // minimum sensor value
int sensorMinMIDDLE = 1023; // minimum sensor value
int sensorMinRING = 1023; // minimum sensor value
int sensorMinPINKEY = 1023; // minimum sensor value
int sensorMaxTHUMB = 0; // maximum sensor value
int sensorMaxINDEX = 0; // maximum sensor value
int sensorMaxMIDDLE = 0; // maximum sensor value
int sensorMaxRING = 0; // maximum sensor value
int sensorMaxPINKEY = 0; // maximum sensor value
void setup() {
// turn on LED to signal the start of the calibration period:
pinMode(6, OUTPUT);
pinMode(9, OUTPUT);
pinMode(18, OUTPUT);
pinMode(xPin, INPUT);
pinMode(yPin, INPUT);
pinMode(button, INPUT);
digitalWrite(ledPinBLUE, HIGH);
Serial.begin(9600);
// calibrate during the first five seconds
while (millis() < 5000) {
sensorValueTHUMB = analogRead(sensorPinTHUMB);
sensorValueINDEX = analogRead(sensorPinINDEX);
sensorValueMIDDLE = analogRead(sensorPinMIDDLE);
sensorValueRING = analogRead(sensorPinRING);
sensorValuePINKEY = analogRead(sensorPinPINKEY);
//--------------------------------------------------
// record the maximum sensor value
if (sensorValueTHUMB > sensorMaxTHUMB) {
sensorMaxTHUMB = sensorValueTHUMB;
}
// record the maximum sensor value
if (sensorValueINDEX > sensorMaxINDEX) {
sensorMaxINDEX = sensorValueINDEX;
}
// record the maximum sensor value
if (sensorValueMIDDLE > sensorMaxMIDDLE) {
sensorMaxMIDDLE = sensorValueMIDDLE;
}
// record the maximum sensor value
if (sensorValueRING > sensorMaxRING) {
sensorMaxRING = sensorValueRING;
}
// record the minimum sensor value
if (sensorValueRING < sensorMinRING) {
sensorMinRING = sensorValueRING;
}
// record the maximum sensor value
if (sensorValuePINKEY > sensorMaxPINKEY) {
sensorMaxPINKEY = sensorValuePINKEY;
}
//--------------------------------------------------------
// record the minimum sensor value
if (sensorValueTHUMB < sensorMinTHUMB) {
sensorMinTHUMB = sensorValueTHUMB;
}
// record the minimum sensor value
if (sensorValueINDEX < sensorMinINDEX) {
sensorMinINDEX = sensorValueINDEX;
}
// record the minimum sensor value
if (sensorValueMIDDLE < sensorMinMIDDLE) {
sensorMinMIDDLE = sensorValueMIDDLE;
}
// record the minimum sensor value
if (sensorValueRING < sensorMinRING) {
sensorMinRING = sensorValueRING;
}
// record the minimum sensor value
if (sensorValuePINKEY < sensorMinPINKEY) {
sensorMinPINKEY = sensorValuePINKEY;
}
}
// signal the end of the calibration period
digitalWrite(ledPinBLUE, LOW);
/*Serial.print ("LowTHUMB = ");
Serial.println (sensorMinTHUMB);
Serial.print ("HighTHUMB = ");
Serial.println (sensorMaxTHUMB);
Serial.println (" ");
Serial.print ("LowINDEX = ");
Serial.println (sensorMinINDEX);
Serial.print ("HighINDEX = ");
Serial.println (sensorMaxINDEX);
Serial.println (" ");
Serial.print ("LowMIDDLE = ");
Serial.println (sensorMinMIDDLE);
Serial.print ("HighMIDDLE = ");
Serial.println (sensorMaxMIDDLE);
Serial.println (" ");
Serial.print ("LowRING = ");
Serial.println (sensorMinRING);
Serial.print ("HighRING = ");
Serial.println (sensorMaxRING);
Serial.println (" ");
Serial.print ("LowPINKEY = ");
Serial.println (sensorMinPINKEY);
Serial.print ("HighPINKEY = ");
Serial.println (sensorMaxPINKEY);
Serial.println (" ");*/
delay (1000);
}
void loop()
{
int switchstate = digitalRead(button);
if (switchstate == HIGH)
{
clickEvent();
}
}
void clickEvent()
{
// variables to read the pulse widths:
int pulseX, pulseY;
// variables to contain the resulting accelerations
int accelerationX, accelerationY;
// read pulse from x- and y-axes:
pulseX = pulseIn(xPin, HIGH);
pulseY = pulseIn(yPin, HIGH);
// convert the pulse width into acceleration
// accelerationX and accelerationY are in milli-g's:
// earth's gravity is 1000 milli-g's, or 1g.
accelerationX = ((pulseX / 10) - 500) * 8;
accelerationY = ((pulseY / 10) - 500) * 8;
// read the sensor:
sensorValueTHUMB = analogRead(sensorPinTHUMB);
sensorValueINDEX = analogRead(sensorPinINDEX);
sensorValueMIDDLE = analogRead(sensorPinMIDDLE);
sensorValueRING = analogRead(sensorPinRING);
sensorValuePINKEY = analogRead(sensorPinPINKEY);
// apply the calibration to the sensor reading
sensorValueTHUMB = map(sensorValueTHUMB, sensorMinTHUMB, sensorMaxTHUMB, 1, 255);
sensorValueINDEX = map(sensorValueINDEX, sensorMinINDEX, sensorMaxINDEX, 1, 255);
sensorValueMIDDLE = map(sensorValueMIDDLE, sensorMinMIDDLE, sensorMaxMIDDLE, 1, 255);
sensorValueRING = map(sensorValueRING, sensorMinRING, sensorMaxRING, 1, 255);
sensorValuePINKEY = map(sensorValuePINKEY, sensorMinPINKEY, sensorMaxPINKEY, 1, 255);
// in case the sensor value is outside the range seen during calibration
sensorValueTHUMB = constrain(sensorValueTHUMB, 1, 255);
sensorValueINDEX = constrain(sensorValueINDEX, 1, 255);
sensorValueMIDDLE = constrain(sensorValueMIDDLE, 1, 255);
sensorValueRING = constrain(sensorValueRING, 1, 255);
sensorValuePINKEY = constrain(sensorValuePINKEY, 1, 255);
/*Serial.println ("-------------------");
Serial.print ("sensorValue-THUMB = ");
Serial.println (sensorValueTHUMB);
Serial.print ("sensorValue-INDEX = ");
Serial.println (sensorValueINDEX);
Serial.print ("sensorValue-MIDDLE = ");
Serial.println (sensorValueMIDDLE);
Serial.print ("sensorValue-RING = ");
Serial.println (sensorValueRING);
Serial.print ("sensorValue-PINKEY = ");
Serial.println (sensorValuePINKEY);
Serial.print ("acceleration-X = ");
Serial.println(accelerationX);
Serial.print ("acceleration-y = ");
Serial.println(accelerationY);
Serial.println (" ");
Serial.println (" ");*/
//if the glove is tilted up turn on the green led
if (accelerationX > 650) {
digitalWrite (ledPinGREEN, HIGH);
}
else {
digitalWrite (ledPinGREEN, LOW);
}
//if the glove is tilted to the right turn on the blue led
if (accelerationY > 500) {
digitalWrite (ledPinBLUE, HIGH);
}
else {
digitalWrite (ledPinBLUE, LOW);
}
// if the glove is tilted to the left turn on the blue led
if (accelerationY < -500) {
digitalWrite (ledPinBLUE, HIGH);
}
else {
digitalWrite (ledPinBLUE, LOW);
}
//--------------------------------LetterA-----------------------------
if (sensorValueTHUMB < 65 && sensorValueINDEX > 200 && sensorValueMIDDLE > 200 && sensorValueRING > 200 ) {
Serial.println("A");
Serial.write("A");
}
else {
}
//--------------------------------LetterB-----------------------------
if (sensorValueTHUMB > 120 && sensorValueINDEX < 30 && sensorValueMIDDLE < 30 && sensorValueRING < 30) {
Serial.println("B");
Serial.write("B");
}
else {
}
//--------------------------------LetterC-----------------------------
if (sensorValueTHUMB < 120 && sensorValueINDEX < 120 && sensorValueMIDDLE < 120 && sensorValueRING < 120 ) {
Serial.println("C");
Serial.write("C");
}
else {
}
//--------------------------------LetterD-----------------------------
if (sensorValueINDEX < 30 && sensorValueTHUMB > 100 && sensorValueMIDDLE > 100 && sensorValueRING > 100) {
Serial.println("D");
Serial.write("D");
}
else {
}
//--------------------------------LetterE-----------------------------
if (sensorValueTHUMB > 100 && sensorValueINDEX > 100 && sensorValueMIDDLE > 100 && sensorValueRING > 100 ) {
Serial.println("E");
Serial.write("E");
}
else {
}
//--------------------------------LetterF-----------------------------
if (sensorValueTHUMB > 100 && sensorValueINDEX > 100 && sensorValueMIDDLE < 30 && sensorValueRING < 30) {
Serial.println("F");
Serial.write("F");
}
else {
}
}
| [
"[email protected]"
] | |
d4f08cf7bc552e4b672deecf5773be48554b0ed2 | d3b229aca550621915d291b9bbc4262bb69cf7f3 | /GameUE4/Intermediate/Build/Win64/UE4Editor/Inc/GameUE4/GameUE4.init.gen.cpp | 3a334eb143dd389457c2a2f7d5824bebd720b640 | [] | no_license | lauragro/Game | 7ac7c4a801e39f6b2c9c6443a27e2eb577a7736b | 235230b5a1432137554b1ca06876e711f2890251 | refs/heads/master | 2020-03-11T18:01:57.070065 | 2018-04-19T05:45:20 | 2018-04-19T05:45:20 | 130,164,628 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,184 | cpp | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
===========================================================================*/
#include "GeneratedCppIncludes.h"
PRAGMA_DISABLE_OPTIMIZATION
#ifdef _MSC_VER
#pragma warning (push)
#pragma warning (disable : 4883)
#endif
PRAGMA_DISABLE_DEPRECATION_WARNINGS
void EmptyLinkFunctionForGeneratedCodeGameUE4_init() {}
UPackage* Z_Construct_UPackage__Script_GameUE4()
{
static UPackage* ReturnPackage = nullptr;
if (!ReturnPackage)
{
ReturnPackage = CastChecked<UPackage>(StaticFindObjectFast(UPackage::StaticClass(), nullptr, FName(TEXT("/Script/GameUE4")), false, false));
ReturnPackage->SetPackageFlags(PKG_CompiledIn | 0x00000000);
FGuid Guid;
Guid.A = 0xD27522F4;
Guid.B = 0xDAEE97BD;
Guid.C = 0x00000000;
Guid.D = 0x00000000;
ReturnPackage->SetGuid(Guid);
}
return ReturnPackage;
}
PRAGMA_ENABLE_DEPRECATION_WARNINGS
#ifdef _MSC_VER
#pragma warning (pop)
#endif
PRAGMA_ENABLE_OPTIMIZATION
| [
"[email protected]"
] | |
cf6c4eb7d6549b3a383156348134af3295b1df8c | abeaaa1344e1e0a756e02eee570e86e3697c4868 | /ds algos/insertion and deletion in linked list.cpp | 25ca4793fa528854d14f2304e257372e87194e12 | [] | no_license | Dishebh/Data-Strucuture-Algos | 9720f987046aeac70d4787ce63c36cc175334890 | 9c168241a5cc4026c45531d570648d20f348ada9 | refs/heads/master | 2020-09-30T01:46:48.926659 | 2019-12-10T16:48:53 | 2019-12-10T16:48:53 | 227,170,346 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,482 | cpp | #include <iostream>
using namespace std;
//Declare Node
struct Node{
int num;
Node *next;
};
//Declare starting (Head) node
struct Node *head=NULL;
//Insert node at start
void insertNode(int n){
struct Node *newNode=new Node;
newNode->num=n;
newNode->next=head;
head=newNode;
}
void insertPos(Node* current, int pos, int data)
{
if (pos < 1 || pos > size + 1)
cout << "Invalid position!" << endl;
else {
while (pos--) {
if (pos == 0) {
Node* temp = getNode(data);
temp->next = *current;
*current = temp;
}
else
current = &(*current)->next;
}
size++;
}
}
//Traverse/ display all nodes (print items)
void display(){
if(head==NULL){
cout<<"List is empty!"<<endl;
return;
}
struct Node *temp=head;
while(temp!=NULL){
cout<<temp->num<<" ";
temp=temp->next;
}
cout<<endl;
}
//delete node from start
void deleteItem(){
if(head==NULL){
cout<<"List is empty!"<<endl;
return;
}
cout<<head->num<<" is removed."<<endl;
head=head->next;
}
int main(){
display();
insertNode(10);
insertNode(20);
insertNode(30);
insertNode(40);
insertNode(50);
display();
deleteItem(); deleteItem(); deleteItem(); deleteItem(); deleteItem();
deleteItem();
display();
return 0;
} | [
"[email protected]"
] | |
8b7f43982d9c3c260a3e01845f95865c89a46055 | 2f4e617c34f18aa1cc89d3a6bd077e81e6d799d0 | /DOOM/render_stuff.cpp | 3470cd25e73486ee60a83184d8eb68f830ea2f7a | [] | no_license | alex2835/DOOM | ee5bdb8b1e25f63893b2fcadf52939395626c4cc | 123c96ad85c85a3acbce8701a55e4cf9b53d2d0f | refs/heads/master | 2022-11-11T18:53:34.529873 | 2020-06-30T20:07:53 | 2020-06-30T20:07:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 417 | cpp |
struct Color
{
union
{
struct { uint8_t g, b, r, a; };
uint8_t raw[4];
uint32_t whole;
};
Color() = default;
Color(uint8_t r, uint8_t g, uint8_t b, uint8_t a = 255) : r(r), g(g), b(b), a(a) {}
bool operator == (const Color& other) const { return (r == other.r && g == other.g && b == other.b && a == other.a); }
};
struct Render_State {
int height, width;
Color* memory;
BITMAPINFO bitmap_info;
}; | [
"[email protected]"
] | |
3e68c845b37cfe16a2a6e38b10a591c8b75f3daa | 454f48e0e94f34e55c11ae85c8da1324b6193235 | /C++/8.FirstMissingPositive/FirstMissingPositive.cpp | ac66c5749022548b35364b17ee2bbfdf6d51677d | [] | no_license | FlyingMammuthus/AlgorithmProblem | 5201847412167c7ccab88743a1a4e44b3e4c46e9 | 681b084abd6c6514ba6daf81b3aad9630c303c16 | refs/heads/master | 2020-04-23T23:46:44.902253 | 2019-04-12T18:05:06 | 2019-04-12T18:05:06 | 171,545,977 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 391 | cpp | #include <vector>
using namespace std;
class Solution8 {
public:
int firstMissingPositive(vector<int>& nums) {
int vlen = nums.size();
vector<bool> rec(vlen, false);
int i;
for (i = 0; i < vlen; ++i) {
if (nums[i] > 0 && nums[i] <= vlen) {
rec[nums[i] - 1] = true;
}
}
for (i = 0; i < vlen; ++i) {
if (rec[i] == false) {
break;
}
}
return i + 1;
}
};
| [
"[email protected]"
] | |
2a6ea2c4a4dcbc245847bcc7560231d645c92b43 | f6adf24661d08badb3d624f0a361c20438c61484 | /stlSlicer/Timer.cpp | 08a6637228ea49552e2a57e4cee72c821161eb74 | [] | no_license | gregori/stlSlicer | eff8bf4af3773f672fcbe4e6d1bb94dbf865349b | 7567423147addfa3afd264a451ac1d0cee5a9d67 | refs/heads/master | 2021-01-10T10:56:42.579886 | 2016-03-30T23:54:01 | 2016-03-30T23:54:01 | 55,106,019 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,137 | cpp | //
// Timer.cpp
// stlSlicer
//
// Created by Rodrigo Habib Gregori on 04/05/14.
// Copyright (c) 2014 Rodrigo Habib Gregori. All rights reserved.
//
#include "Timer.h"
Timer::Timer()
{
}
Timer::~Timer()
{
}
int Timer::getTimeMs()
{
#ifdef WIN32
/* Windows */
FILETIME ft;
LARGE_INTEGER li;
/* Get the amount of 100 nano seconds intervals elapsed since January 1, 1601
* (UTC) and copy it to a LARGE_INTEGER structure. */
GetSystemTimeAsFileTime(&ft);
li.LowPart = ft.dwLowDateTime;
li.HighPart = ft.dwHighDateTime;
uint ret = li.QuadPart;
ret -= 116444736000000000LL; /* Convert from file time to UNIX epoch time. */
ret /= 10000; /* From 100 nano seconds (10^-7) to 1 millisecond (10^-3) intervals */
return ret;
#else
/* Linux */
struct timeval tv;
gettimeofday(&tv, NULL);
unsigned int ret = tv.tv_usec;
/* Convert from micro seconds (10^-6) to milliseconds (10^-3) */
ret /= 1000;
/* Adds the seconds (10^0) after converting them to milliseconds (10^-3) */
ret += (tv.tv_sec * 1000);
return ret;
#endif
} | [
"[email protected]"
] | |
4f551bd25732f5e8ed0ae9497aa897dd73a0284b | cf8906c630f8063e0ffd19618efe278e94eb1157 | /mica_memreusedist.cpp | 1eb703e2dfbd3f2086c49135532cce5f75676f52 | [
"BSD-3-Clause"
] | permissive | itkovian/MICA | 4e2a0115cf60e07c6bde38c6baafa9aad3aa1965 | 52a93f034a9b51879285993ae2b0f2acc6f372c8 | refs/heads/master | 2021-01-17T08:56:32.331311 | 2011-03-01T07:28:54 | 2011-03-01T07:28:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,765 | cpp | /*
* This file is part of MICA, a Pin tool to collect
* microarchitecture-independent program characteristics using the Pin
* instrumentation framework.
*
* Please see the README.txt file distributed with the MICA release for more
* information.
*/
#include "pin.H"
/* MICA includes */
#include "mica_memreusedist.h"
/* Global variables */
extern INT64 interval_size;
extern INT64 interval_ins_count;
extern INT64 interval_ins_count_for_hpc_alignment;
extern INT64 total_ins_count;
extern INT64 total_ins_count_for_hpc_alignment;
extern UINT32 _block_size;
UINT32 memreusedist_block_size;
ofstream output_file_memreusedist;
typedef struct stack_entry_type {
struct stack_entry_type* prev;
struct stack_entry_type* next;
ADDRINT block_addr;
INT32 bucket;
} stack_entry;
typedef struct block_type_fast {
ADDRINT id;
stack_entry* stack_entries[MAX_MEM_ENTRIES];
struct block_type_fast* next;
} block_fast;
stack_entry* stack;
stack_entry* stack_top;
INT64 stack_size;
INT64 ins_cnt;
INT64 start_ins_cnt;
block_fast* hashTableCacheBlocks_fast[MAX_MEM_TABLE_ENTRIES];
INT64 mem_ref_cnt;
INT64 cold_refs;
INT64 buckets[BUCKET_CNT];
stack_entry* borderline_stack_entries[BUCKET_CNT];
/* initializing */
void init_memreusedist(){
int i;
/* initialize */
cold_refs = 0;
for(i=0; i < BUCKET_CNT; i++){
buckets[i] = 0;
borderline_stack_entries[i] = (stack_entry*)NULL;
}
mem_ref_cnt = 0;
/* hash table */
for (i = 0; i < MAX_MEM_TABLE_ENTRIES; i++) {
hashTableCacheBlocks_fast[i] = (block_fast*) NULL;
}
/* stack */
stack_top = (stack_entry*)malloc(sizeof(stack_entry));
stack_top->block_addr = 0;
stack_top->bucket = -1;
stack_top->next = NULL;
stack_top->prev = NULL;
stack_top->bucket = 0;
//borderline_stack_entries[0] = stack_top; // NO! First bucket contains two entries
// dummy entry as first borderline entry
borderline_stack_entries[0] = (stack_entry*)malloc(sizeof(stack_entry));
borderline_stack_entries[0]->block_addr = 0;
borderline_stack_entries[0]->bucket = -1;
borderline_stack_entries[0]->next = NULL;
borderline_stack_entries[0]->prev = NULL;
borderline_stack_entries[0]->bucket = 0;
stack_size = 0;
memreusedist_block_size = _block_size;
if(interval_size != -1){
output_file_memreusedist.open("memreusedist_phases_int_pin.out", ios::out|ios::trunc);
output_file_memreusedist.close();
}
}
/*VOID memreusedist_instr_full(){
// counting instructions is done in all_instr_full()
}*/
ADDRINT memreusedist_instr_intervals(){
/* counting instructions is done in all_instr_intervals() */
return (ADDRINT)(interval_ins_count_for_hpc_alignment == interval_size);
}
VOID memreusedist_instr_interval_output(){
int i;
output_file_memreusedist.open("memreusedist_phases_int_pin.out", ios::out|ios::app);
output_file_memreusedist << mem_ref_cnt << " " << cold_refs;
for(i=0; i < BUCKET_CNT; i++){
output_file_memreusedist << " " << buckets[i];
}
output_file_memreusedist << endl;
output_file_memreusedist.close();
}
VOID memreusedist_instr_interval_reset(){
int i;
mem_ref_cnt = 0;
cold_refs = 0;
for(i=0; i < BUCKET_CNT; i++){
buckets[i] = 0;
}
}
VOID memreusedist_instr_interval(){
memreusedist_instr_interval_output();
memreusedist_instr_interval_reset();
interval_ins_count = 0;
interval_ins_count_for_hpc_alignment = 0;
}
/* hash table support */
stack_entry** lookup(block_fast** table, ADDRINT key){
block_fast* b;
for (b = table[key % MAX_MEM_TABLE_ENTRIES]; b != (block_fast*)NULL; b = b->next){
if(b->id == key)
return b->stack_entries;
}
return (stack_entry**)NULL;
}
stack_entry** install(block_fast** table, ADDRINT key){
int i;
block_fast* b;
ADDRINT index = key % MAX_MEM_TABLE_ENTRIES;
b = table[index];
if(b == (block_fast*)NULL) {
b = (block_fast*)malloc(sizeof(block_fast));
/*if((b = (block_fast*)malloc(sizeof(block_fast))) == (block_fast*)NULL){
cerr << "Not enough memory (in install)" << endl;
exit(1);
}*/
table[index] = b;
}
else{
while(b->next != (block_fast*)NULL){
b = b->next;
}
b->next = (block_fast*)malloc(sizeof(block_fast));
/*if((b->next = (block_fast*)malloc(sizeof(block_fast))) == (block_fast*)NULL){
cerr << "Not enough memory (in install (2))" << endl;
exit(1);
}*/
b = b->next;
}
b->next = (block_fast*)NULL;
b->id = key;
for(i = 0; i < MAX_MEM_ENTRIES; i++){
b->stack_entries[i] = (stack_entry*)NULL;
}
return b->stack_entries;
}
VOID print_stack(stack_entry* top){
stack_entry* e;
int i;
e = top;
i = 0;
while(e != NULL){
fprintf(stderr, "[%d] 0x%llx, b: %d (next: 0x%llx, prev: 0x%llx)\n", i, (unsigned long long)e, e->bucket, (unsigned long long)e->next, (unsigned long long)e->prev);
i++;
e = e->prev;
}
fprintf(stderr, "------------------------\n");
}
VOID stack_sanity_check(stack_entry* top){
int cnt=0;
int bucket = 0;
stack_entry *e;
e = top;
if(top->next != NULL){
fprintf(stderr, "ERROR! top->next != NULL\n");
print_stack(top);
exit(-1);
}
while(e != NULL){
cnt++;
if(cnt > (2 << bucket)){
fprintf(stderr, "ERROR @ [%d]! Bucket too big (cnt: %d, bucket: %d, max. size: %d)\n", cnt-1, cnt, bucket, 2 << bucket);
print_stack(top);
exit(-1);
}
if(e->bucket != bucket){
fprintf(stderr, "ERROR @ [%d]! Bucket doesn't match @ 0x%llx (b: %d != %d)!\n", cnt-1, (unsigned long long)e, e->bucket, bucket);
print_stack(top);
exit(-1);
}
if(e == borderline_stack_entries[bucket])
bucket++;
e = e->prev;
}
//fprintf(stderr, "STACK ok!\n");
}
/* stack support */
VOID move_to_top_fast(stack_entry *e, ADDRINT a, stack_entry** top){
INT32 i;
/* check if entry was accessed before */
if(e != (stack_entry*)NULL){
/* check to see if we already are at top of stack */
if(e != *top){
// if entry touched is borderline entry, new borderline entry is the one above the touched one (i.e. ->next)
if(e->bucket > 0 && e == borderline_stack_entries[e->bucket]){
borderline_stack_entries[e->bucket] = borderline_stack_entries[e->bucket]->next;
}
// take entry out of stack, update entries above and below accordingly
if(e->prev != (stack_entry*)NULL){ // avoid referencing prev for bottom of stack
e->prev->next = e->next;
}
e->next->prev = e->prev;
// adjust all borderline entries above the entry touched (start with i=2 to avoid problems with too small stacks)
for(i=2; i < BUCKET_CNT && i <= e->bucket; i++){
borderline_stack_entries[i-1]->bucket++;
borderline_stack_entries[i-1] = borderline_stack_entries[i-1]->next;
}
// place new entry on top of LRU stack
e->prev = *top;
e->next = (stack_entry*)NULL; // e will be the next top
(*top)->next = e; // current top will slide down
if(e != borderline_stack_entries[0]){
borderline_stack_entries[0]->bucket++; // borderline stack entry for first bucket moves to next bucket, unless it's the same as the borderline entry
}
//(*top)->bucket = 1; // current top slides into next bucket (INCORRECT, because first bucket contains top *and* previous top)
borderline_stack_entries[0] = (*top); // current top is borderline stack entry for first bucket
*top = e; // set new top of stack
e->bucket = 0; // set bucket for new top of stack
}
/* else: if top of stack was referenced again, nothing to do! */
}
else{
// allocate memory for new stack entry
stack_entry* e = (stack_entry*) malloc(sizeof(stack_entry));
// initialize with address and refer prev to top of stack
e->block_addr = a;
e->next = (stack_entry*)NULL;
e->prev = *top;
// adjust top of stack
(*top)->next = e;
borderline_stack_entries[0]->bucket++;
//(*top)->bucket = 1; // current top slides into next bucket (INCORRECT, because first bucket contains top *and* previous top)
borderline_stack_entries[0] = (*top);
// set new entry as top of stack
*top = e;
e->bucket = 0;
stack_size++;
// adjust bucket for borderline entries (except for very last bucket = overflow bucket)
for(i=2; i < BUCKET_CNT && (1 << i) <= stack_size; i++){
borderline_stack_entries[i-1]->bucket++;
borderline_stack_entries[i-1] = borderline_stack_entries[i-1]->next;
}
// if stack size reaches boundary of bucket, set boundary entry for this bucket
if(stack_size == (1 << i) -1 && i < BUCKET_CNT){
borderline_stack_entries[i-1] = borderline_stack_entries[i-2];
while(borderline_stack_entries[i-1]->prev != (stack_entry*)NULL){
borderline_stack_entries[i-1] = borderline_stack_entries[i-1]->prev;
}
}
}
//stack_sanity_check(*top);
}
/* determine reuse distance (= number of unique cache blocks referenced since last time this cache was referenced)
* this is done by climbing up the LRU stack entry-by-entry until top of stack is reached */
INT64 det_reuse_dist_bucket(stack_entry* e){
if(e != (stack_entry*)NULL)
return e->bucket;
else
return -1;
}
/* register memory access (either read of write) determine which 64-byte cache blocks are touched */
VOID memreusedist_memRead(ADDRINT effMemAddr, ADDRINT size){
ADDRINT a, endAddr, addr, upperAddr, indexInChunk;
stack_entry** chunk;
stack_entry* entry_for_addr;
/* D-stream (64-byte) cache memory footprint */
addr = effMemAddr >> memreusedist_block_size;
endAddr = (effMemAddr + size - 1) >> memreusedist_block_size;
if(size > 0){
for(a = addr; a <= endAddr; a++){
upperAddr = a >> LOG_MAX_MEM_ENTRIES;
indexInChunk = a ^ (upperAddr << LOG_MAX_MEM_ENTRIES);
chunk = lookup(hashTableCacheBlocks_fast, upperAddr);
if(chunk == (stack_entry**)NULL)
chunk = install(hashTableCacheBlocks_fast, upperAddr);
entry_for_addr = chunk[indexInChunk];
/* determine reuse distance for this access (if it has been accessed before) */
INT64 b = det_reuse_dist_bucket(entry_for_addr);
if(b < 0)
cold_refs++;
else
buckets[b]++;
/* adjust LRU stack */
move_to_top_fast(entry_for_addr, a, &stack_top);
/* update hash table for new cache blocks */
if(chunk[indexInChunk] == (stack_entry*)NULL)
chunk[indexInChunk] = stack_top;
mem_ref_cnt++;
}
}
}
VOID instrument_memreusedist(INS ins, VOID *v){
if( INS_IsMemoryRead(ins) ){
INS_InsertCall(ins, IPOINT_BEFORE, (AFUNPTR)memreusedist_memRead, IARG_MEMORYREAD_EA, IARG_MEMORYREAD_SIZE, IARG_END);
if( INS_HasMemoryRead2(ins) )
INS_InsertCall(ins, IPOINT_BEFORE, (AFUNPTR)memreusedist_memRead, IARG_MEMORYREAD2_EA, IARG_MEMORYREAD_SIZE, IARG_END);
}
if(interval_size != -1){
INS_InsertIfCall(ins, IPOINT_BEFORE, (AFUNPTR)memreusedist_instr_intervals,IARG_END);
/* only called if interval is 'full' */
INS_InsertThenCall(ins, IPOINT_BEFORE, (AFUNPTR)memreusedist_instr_interval,IARG_END);
}
}
/* finishing... */
VOID fini_memreusedist(INT32 code, VOID* v){
int i;
if(interval_size == -1){
output_file_memreusedist.open("memreusedist_full_int_pin.out", ios::out|ios::trunc);
}
else{
output_file_memreusedist.open("memreusedist_phases_int_pin.out", ios::out|ios::app);
}
output_file_memreusedist << mem_ref_cnt << " " << cold_refs;
for(i=0; i < BUCKET_CNT; i++){
output_file_memreusedist << " " << buckets[i];
}
output_file_memreusedist << endl << "number of instructions: " << total_ins_count_for_hpc_alignment << endl;
output_file_memreusedist.close();
}
| [
"kehoste@807cdcb1-511e-4608-a72a-c2ff732aa92f"
] | kehoste@807cdcb1-511e-4608-a72a-c2ff732aa92f |
a95058d1693fc92be505daa71c77e456079a6010 | 9c713425498c8366c47c3a4ce1a50c791c24572f | /src/messaging/ErrorCategory.cpp | d213cf734a3d1426e3f9f99571e407b71f08b7bb | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | krzysztofziobro/connectedhomeip | d17a754c88bf9a4703baf1bef222e34327042139 | f07ff95183d33af17bc833c92c64e7409c6fd2eb | refs/heads/master | 2023-07-17T22:46:22.035503 | 2021-08-28T16:08:30 | 2021-08-28T16:08:30 | 385,177,354 | 0 | 0 | Apache-2.0 | 2021-07-12T11:39:14 | 2021-07-12T08:28:33 | null | UTF-8 | C++ | false | false | 2,637 | cpp | /*
* Copyright (c) 2020 Project CHIP 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.
*/
/**
* @file
* This file implements the utility class for the CHIP Message Layer.
*/
#include <errno.h>
#include <messaging/ErrorCategory.h>
#include <inet/InetError.h>
#include <system/SystemConfig.h>
#include <system/SystemError.h>
namespace chip {
namespace Messaging {
bool IsIgnoredMulticastSendError(CHIP_ERROR err)
{
return err == CHIP_NO_ERROR ||
#if CHIP_SYSTEM_CONFIG_USE_LWIP
err == System::MapErrorLwIP(ERR_RTE)
#else
err == System::MapErrorPOSIX(ENETUNREACH) || err == System::MapErrorPOSIX(EADDRNOTAVAIL)
#endif
;
}
CHIP_ERROR FilterUDPSendError(CHIP_ERROR err, bool isMulticast)
{
// Don't report certain types of routing errors when they occur while sending multicast packets.
// These may indicate that the underlying interface doesn't support multicast (e.g. the loopback
// interface on linux) or that the selected interface doesn't have an appropriate source address.
if (isMulticast)
{
#if CHIP_SYSTEM_CONFIG_USE_LWIP
if (err == System::MapErrorLwIP(ERR_RTE))
{
err = CHIP_NO_ERROR;
}
#endif // CHIP_SYSTEM_CONFIG_USE_LWIP
#if CHIP_SYSTEM_CONFIG_USE_SOCKETS || CHIP_SYSTEM_CONFIG_USE_NETWORK_FRAMEWORK
if (err == System::MapErrorPOSIX(ENETUNREACH) || err == System::MapErrorPOSIX(EADDRNOTAVAIL))
{
err = CHIP_NO_ERROR;
}
#endif
}
return err;
}
/**
* Checks if error, while sending, is critical enough to report to the application.
*
* @param[in] err The #CHIP_ERROR being checked for criticality.
*
* @return true if the error is NOT critical; false otherwise.
*
*/
bool IsSendErrorNonCritical(CHIP_ERROR err)
{
return (err == CHIP_ERROR_NOT_IMPLEMENTED || err == CHIP_ERROR_OUTBOUND_MESSAGE_TOO_BIG || err == CHIP_ERROR_MESSAGE_TOO_LONG ||
err == CHIP_ERROR_NO_MEMORY || CHIP_CONFIG_IsPlatformErrorNonCritical(err));
}
} // namespace Messaging
} // namespace chip
| [
"[email protected]"
] | |
663e07632876a1b2cfc2a360f004418bd38f929f | 32273230d9af2e252a9c86396ac96b8f5dc9dacd | /Source/BattleTank/Private/Projectile.cpp | 2ae7d0a8c57329ce888663b475ced1ada9009608 | [] | no_license | JCJordan/BattleTank | bc04fad2843e3601cca7ee4cc3f15ad57716ee15 | 72fd6027edc3759d735b6d7fd6ad4283db050f82 | refs/heads/master | 2020-03-27T05:14:31.033055 | 2018-09-07T19:51:23 | 2018-09-07T19:51:23 | 146,003,960 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,539 | cpp | // Copyright FairgroundPandaStudio
#include "Projectile.h"
#include "GameFramework/ProjectileMovementComponent.h"
#include "Particles/ParticleSystemComponent.h"
#include "PhysicsEngine/RadialForceComponent.h"
#include "Engine/World.h"
#include "TimerManager.h"
#include "Kismet/GameplayStatics.h"
#include "Components/StaticMeshComponent.h"
// Sets default values
AProjectile::AProjectile()
{
// Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't need it.
PrimaryActorTick.bCanEverTick = false;
ProjectileMovement = CreateDefaultSubobject<UProjectileMovementComponent>(FName("Moving Component"));
ProjectileMovement->bAutoActivate = false;
CollisionMesh = CreateDefaultSubobject<UStaticMeshComponent>(FName("Collision Mesh"));
SetRootComponent(CollisionMesh);
CollisionMesh->SetNotifyRigidBodyCollision(true);
CollisionMesh->SetVisibility(false);
LaunchBlast = CreateDefaultSubobject<UParticleSystemComponent>(FName("Launch Blast"));
LaunchBlast->AttachToComponent(RootComponent, FAttachmentTransformRules::KeepRelativeTransform);
ImpactBlast = CreateDefaultSubobject<UParticleSystemComponent>(FName("Impact Blast"));
ImpactBlast->AttachToComponent(RootComponent, FAttachmentTransformRules::KeepRelativeTransform);
ImpactBlast->bAutoActivate = false;
ExplosionForce = CreateDefaultSubobject<URadialForceComponent>(FName("Explosion Force"));
ExplosionForce->AttachToComponent(RootComponent, FAttachmentTransformRules::KeepRelativeTransform);
}
// Called when the game starts or when spawned
void AProjectile::BeginPlay()
{
Super::BeginPlay();
CollisionMesh->OnComponentHit.AddDynamic(this, &AProjectile::OnHit);
}
void AProjectile::OnHit(UPrimitiveComponent* HitComponent, AActor* OtherActor, UPrimitiveComponent* OtherComp, FVector NormalImpulse, const FHitResult& Hit) {
LaunchBlast->Deactivate();
ImpactBlast->Activate();
ExplosionForce->FireImpulse();
SetRootComponent(ImpactBlast);
CollisionMesh->DestroyComponent();
UGameplayStatics::ApplyRadialDamage(this, ProjectileDamage, GetActorLocation(), ExplosionForce->Radius, UDamageType::StaticClass(), TArray<AActor*>());
FTimerHandle TimerHandle;
GetWorld()->GetTimerManager().SetTimer(TimerHandle, this, &AProjectile::DestroyProjectile, DestroyDelay);
}
void AProjectile::DestroyProjectile() {
Destroy();
}
void AProjectile::LaunchProjectile(float LaunchSpeed) {
ProjectileMovement->SetVelocityInLocalSpace(FVector::ForwardVector * LaunchSpeed);
ProjectileMovement->Activate();
}
| [
"[email protected]"
] | |
31d3cb6219a2f76cb2ead9f07621d01456038934 | d7c31b665e267e3a9b176821e7f84b4ec2a5a4be | /base/sslcertificate.h | 0bd51648c6b117883a5acc7d2e0378db1effd128 | [] | no_license | sparrowli/agc_spec | 26f66cd490a3b6791902ee86d47e9ca52b309b7f | c526571ee417e279d5285733c3776033ad181d17 | refs/heads/master | 2020-03-28T13:57:26.488348 | 2018-10-25T10:33:52 | 2018-10-25T10:33:52 | 148,445,267 | 0 | 0 | null | 2018-10-25T10:35:27 | 2018-09-12T08:12:03 | C++ | UTF-8 | C++ | false | false | 5,738 | h | /*
* Copyright 2018 The WebRTC Project Authors. All rights reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
// Generic interface for SSL Certificates, used in both the SSLAdapter
// for TLS TURN connections and the SSLStreamAdapter for DTLS Peer to Peer
// Connections for SRTP Key negotiation and SCTP encryption.
#ifndef RTC_BASE_SSLCERTIFICATE_H_
#define RTC_BASE_SSLCERTIFICATE_H_
#include <algorithm>
#include <memory>
#include <string>
#include <vector>
#include "base/buffer.h"
#include "base/constructormagic.h"
#include "base/messagedigest.h"
#include "base/timeutils.h"
namespace rtc {
struct SSLCertificateStats {
SSLCertificateStats(std::string&& fingerprint,
std::string&& fingerprint_algorithm,
std::string&& base64_certificate,
std::unique_ptr<SSLCertificateStats>&& issuer);
~SSLCertificateStats();
std::string fingerprint;
std::string fingerprint_algorithm;
std::string base64_certificate;
std::unique_ptr<SSLCertificateStats> issuer;
};
// Abstract interface overridden by SSL library specific
// implementations.
// A somewhat opaque type used to encapsulate a certificate.
// Wraps the SSL library's notion of a certificate, with reference counting.
// The SSLCertificate object is pretty much immutable once created.
// (The OpenSSL implementation only does reference counting and
// possibly caching of intermediate results.)
class SSLCertificate {
public:
// Parses and builds a certificate from a PEM encoded string.
// Returns null on failure.
// The length of the string representation of the certificate is
// stored in *pem_length if it is non-null, and only if
// parsing was successful.
// Caller is responsible for freeing the returned object.
static SSLCertificate* FromPEMString(const std::string& pem_string);
virtual ~SSLCertificate() {}
// Returns a new SSLCertificate object instance wrapping the same
// underlying certificate, including its chain if present. Caller is
// responsible for freeing the returned object. Use GetUniqueReference
// instead.
virtual SSLCertificate* GetReference() const = 0;
std::unique_ptr<SSLCertificate> GetUniqueReference() const;
// Returns a PEM encoded string representation of the certificate.
virtual std::string ToPEMString() const = 0;
// Provides a DER encoded binary representation of the certificate.
virtual void ToDER(Buffer* der_buffer) const = 0;
// Gets the name of the digest algorithm that was used to compute this
// certificate's signature.
virtual bool GetSignatureDigestAlgorithm(std::string* algorithm) const = 0;
// Compute the digest of the certificate given algorithm
virtual bool ComputeDigest(const std::string& algorithm,
unsigned char* digest,
size_t size,
size_t* length) const = 0;
// Returns the time in seconds relative to epoch, 1970-01-01T00:00:00Z (UTC),
// or -1 if an expiration time could not be retrieved.
virtual int64_t CertificateExpirationTime() const = 0;
// Gets information (fingerprint, etc.) about this certificate. This is used
// for certificate stats, see
// https://w3c.github.io/webrtc-stats/#certificatestats-dict*.
std::unique_ptr<SSLCertificateStats> GetStats() const;
};
// SSLCertChain is a simple wrapper for a vector of SSLCertificates. It serves
// primarily to ensure proper memory management (especially deletion) of the
// SSLCertificate pointers.
class SSLCertChain {
public:
explicit SSLCertChain(std::vector<std::unique_ptr<SSLCertificate>> certs);
// These constructors copy the provided SSLCertificate(s), so the caller
// retains ownership.
explicit SSLCertChain(const std::vector<SSLCertificate*>& certs);
explicit SSLCertChain(const SSLCertificate* cert);
// Allow move semantics for the object.
SSLCertChain(SSLCertChain&&);
SSLCertChain& operator=(SSLCertChain&&);
~SSLCertChain();
// Vector access methods.
size_t GetSize() const { return certs_.size(); }
// Returns a temporary reference, only valid until the chain is destroyed.
const SSLCertificate& Get(size_t pos) const { return *(certs_[pos]); }
// Returns a new SSLCertChain object instance wrapping the same underlying
// certificate chain. Caller is responsible for freeing the returned object.
SSLCertChain* Copy() const;
// Same as above, but returning a unique_ptr for convenience.
std::unique_ptr<SSLCertChain> UniqueCopy() const;
// Gets information (fingerprint, etc.) about this certificate chain. This is
// used for certificate stats, see
// https://w3c.github.io/webrtc-stats/#certificatestats-dict*.
std::unique_ptr<SSLCertificateStats> GetStats() const;
private:
std::vector<std::unique_ptr<SSLCertificate>> certs_;
RTC_DISALLOW_COPY_AND_ASSIGN(SSLCertChain);
};
// SSLCertificateVerifier provides a simple interface to allow third parties to
// define their own certificate verification code. It is completely independent
// from the underlying SSL implementation.
class SSLCertificateVerifier {
public:
virtual ~SSLCertificateVerifier() = default;
// Returns true if the certificate is valid, else false. It is up to the
// implementer to define what a valid certificate looks like.
virtual bool Verify(const SSLCertificate& certificate) = 0;
};
} // namespace rtc
#endif // RTC_BASE_SSLCERTIFICATE_H_
| [
"[email protected]"
] | |
73a66804881b9912a6a43462d55ada9a29917ff8 | 8ddd2ca4b49c138980fc4220e0ca907bda5952ee | /library/rangeQuery/prefixMinSum.cpp | b47921f35d43225423a387dcf5bfc145a4b79254 | [
"Unlicense"
] | permissive | bluedawnstar/algorithm_study | b7b08e2fca31ecfc87bafa3a9734627245f16ad5 | d5aec7035e65d8f5386a0791c26d59340fd09ef5 | refs/heads/master | 2023-06-24T19:47:57.640559 | 2023-06-14T14:43:01 | 2023-06-14T14:43:01 | 76,085,991 | 45 | 8 | Unlicense | 2023-06-14T14:43:03 | 2016-12-10T02:41:35 | C++ | UTF-8 | C++ | false | false | 1,571 | cpp | #include <stack>
#include <vector>
#include <algorithm>
using namespace std;
#include "prefixMinSum.h"
/////////// For Testing ///////////////////////////////////////////////////////
#include <cassert>
#include <string>
#include <iostream>
#include "../common/iostreamhelper.h"
#include "../common/profile.h"
#include "../common/rand.h"
static long long prefixMinSumSlow(const vector<int>& A, int L, int R) {
long long res = 0;
int mx = A[L];
for (int i = L; i <= R; i++) {
mx = min(mx, A[i]);
res += mx;
}
return res;
}
void testPrefixMinSum() {
//return; //TODO: if you want to test, make this line a comment.
cout << "--- Prefix Min Sum ------------------------" << endl;
{
const int T = 100;
const int N = 100;
const int MAXX = 100'000'000;
for (int tt = 0; tt < T; tt++) {
vector<int> A(N);
for (int i = 0; i < N; i++)
A[i] = RandInt32::get() % MAXX + 1;
PrefixMinSum pms(A);
for (int i = 0; i < T; i++) {
int L = RandInt32::get() % N;
int R = RandInt32::get() % N;
if (L > R)
swap(L, R);
auto gt = prefixMinSumSlow(A, L, R);
auto ans = pms.query(L, R);
if (ans != gt) {
cout << "Mismatched at " << __LINE__ << " : " << ans << ", " << gt << endl;
}
assert(ans == gt);
}
}
}
cout << "OK!" << endl;
}
| [
"[email protected]"
] | |
6bac531834ddf1ec6d7cfe55c388ba5d12ef3a5d | 3477d8bd2da78215182044164ee9c3b801870818 | /ココ(1号機)/nano_main_coco/nano_main_Coco_PS4ver_v2.3/timer.h | 4be6d18740f11413e471fb9ed9a6446cdca310a4 | [] | no_license | ioComk/Robocon2017_Cerberus | b0429dc3bbdd302552af68c6e4ab032c12a42bfe | 62917593850163e9068f66fdb39c5c369a63a81d | refs/heads/master | 2021-09-02T04:43:08.435120 | 2017-12-30T12:37:11 | 2017-12-30T12:37:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 652 | h | #pragma once
class timer {
private:
public:
unsigned long int GetElapsedTime();
bool isAvailableInterval(int target_time);
void PrintActualCycle();
};
unsigned long int timer::GetElapsedTime() {
static int current_time = millis();
return (millis() - current_time);
}
bool timer::isAvailableInterval(int target_time) {
static int current_time = millis();
return (millis() - current_time) <= target_time ? 1 : 0;
}
void timer::PrintActualCycle() {
static unsigned long lastTime = 0;
unsigned long nowTime = micros();
Serial.print("actualCycle : ");
Serial.println( nowTime - lastTime );
lastTime = nowTime;
}
| [
"[email protected]"
] | |
c19c0e080c68fd84650ea5b23a203ce0216b8388 | 3e049ac72a94cca272e907a1840d0aed1f37644e | /C++ Tutorials/Tutorial19.cpp | 180f4deaad08fc1b1d60fb177c176c4e0309e4f8 | [] | no_license | Brotin003/Programming | 1fa13c71e10bb378e3d6551cf486c51b0a511581 | 70e36a29d43bae9ef7cacf2859330529216323e8 | refs/heads/master | 2022-12-18T11:10:00.369121 | 2020-10-01T09:33:14 | 2020-10-01T09:33:14 | 300,222,675 | 0 | 0 | null | 2020-10-01T09:30:44 | 2020-10-01T09:30:43 | null | UTF-8 | C++ | false | false | 513 | cpp | // Selection control structure : Switch case
#include <iostream>
using namespace std;
int main()
{
int age;
cout << "Enter your age" << endl;
cin >> age;
switch (age)
{
case 18:
cout << "You are 18" << endl;
break;
case 22:
cout << "You are 22" << endl;
break;
case 2:
cout << "You are 2" << endl;
break;
default:
cout << "No special cases" << endl;
break;
}
cout<<"One case is Matched";
return 0;
} | [
"[email protected]"
] | |
4dc0696c60a375966698c70cc3238ebdb81e111a | 0878dde5e6ba7a93a4c338f7b7c2b70b89e0658f | /src/Main/main.cpp | 86214f51e706e1fdf6e0157f57af62a32829282e | [] | no_license | ImanolGo/MurmurContourTracking | 1dff50eaad650f1366fc95336c63def3957f48c5 | 00cd42525c892b0b3f85795d32487812d63366ea | refs/heads/master | 2021-01-17T17:37:50.729788 | 2016-10-25T21:18:53 | 2016-10-25T21:18:53 | 63,714,613 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 306 | cpp | #include "ofMain.h"
#include "ofAppGlutWindow.h"
#include "MurmurContourTrackingApp.h"
//========================================================================
int main( ){
ofAppGlutWindow window;
ofSetupOpenGL(&window,1280, 1024, OF_WINDOW);
ofRunApp( new MurmurContourTrackingApp());
}
| [
"[email protected]"
] | |
f19d1f51e05af7daefc83c98ca0dbf20481a7f60 | a2ffd6fcfb36e7faf1dbf57ee0923e2d8102315e | /a1.cpp | 3f234239ebb6fcf9ed588161a05bfc2f13c27c84 | [] | no_license | tousifeshan/MusicalNoteDetection | e2aecf5effbd4bd70ba9b2e109023d27a008a9ef | 96bae69c9351e2f4327c270838eda8116b3efadf | refs/heads/master | 2021-01-22T10:32:21.092758 | 2017-02-15T02:12:35 | 2017-02-15T02:12:35 | 82,009,856 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,641 | cpp | #include <SImage.h>
#include <SImageIO.h>
#include <cmath>
#include <cstdlib>
#include <algorithm>
#include <iostream>
#include <fstream>
#include <vector>
#include <DrawText.h>
#include <sstream>
#include <time.h>
#include "convolution.cpp"
#define TWO_PI 6.2831853071795864769252866
#define canny_threshold 1
using namespace std;
// DetectedSymbol class may be helpful!
// Feel free to modify.
//
class Point
{
public:
int x,y;
Point(){x=0;y=0;}
Point(int u,int v){x=u;y=v;}
};
class Stave
{
public:
vector<int> height;
};
void write_image(const string &filename, const SDoublePlane &output, int grayscale,int normalize=0);
SDoublePlane canny_edge_detector(const SDoublePlane &input,int region_size=5);
SDoublePlane apply_gaussian(const SDoublePlane &input, double sigma);
SDoublePlane image_rescale(const SDoublePlane &input_image);
//void template_convolution(const SDoublePlane &input,const SDoublePlane &template_image, vector<DetectedSymbol> &symbols,SDoublePlane &output, const Type t,int edge)
//;
//void template_convolution_edgemap(const SDoublePlane &input,const SDoublePlane &template_image, vector<DetectedSymbol> &symbols,SDoublePlane &output, const Type t);
// The simple image class is called SDoublePlane, with each pixel represented as
// a double (floating point) type. This means that an SDoublePlane can represent
// values outside the range 0-255, and thus can represent squared gradient magnitudes,
// harris corner scores, etc.
//
// The SImageIO class supports reading and writing PNG files. It will read in
// a color PNG file, convert it to grayscale, and then return it to you in
// an SDoublePlane. The values in this SDoublePlane will be in the range [0,255].
//
// To write out an image, call write_png_file(). It takes three separate planes,
// one for each primary color (red, green, blue). To write a grayscale image,
// just pass the same SDoublePlane for all 3 planes. In order to get sensible
// results, the values in the SDoublePlane should be in the range [0,255].
//
// Below is a helper functions that overlays rectangles
// on an image plane for visualization purpose.
// Draws a rectangle on an image plane, using the specified gray level value and line width.
//
void overlay_rectangle(SDoublePlane &input, int _top, int _left, int _bottom, int _right, double graylevel, int width)
{
for(int w=-width/2; w<=width/2; w++) {
int top = _top+w, left = _left+w, right=_right+w, bottom=_bottom+w;
// if any of the coordinates are out-of-bounds, truncate them
top = min( max( top, 0 ), input.rows()-1);
bottom = min( max( bottom, 0 ), input.rows()-1);
left = min( max( left, 0 ), input.cols()-1);
right = min( max( right, 0 ), input.cols()-1);
// draw top and bottom lines
for(int j=left; j<=right; j++)
input[top][j] = input[bottom][j] = graylevel;
// draw left and right lines
for(int i=top; i<=bottom; i++)
input[i][left] = input[i][right] = graylevel;
}
}
// Function that outputs the ascii detection output file
void write_detection_txt(const string &filename, const vector<struct DetectedSymbol> &symbols)
{
ofstream ofs(filename.c_str());
for(int i=0; i<symbols.size(); i++)
{
const DetectedSymbol &s = symbols[i];
ofs << s.row << " " << s.col << " " << s.width << " " << s.height << " ";
if(s.type == NOTEHEAD)
ofs << "filled_note " << s.pitch;
else if(s.type == EIGHTHREST)
ofs << "eighth_rest _";
else
ofs << "quarter_rest _";
ofs << " " << s.confidence << endl;
}
}
// Function that outputs a visualization of detected symbols
void write_detection_image(const string &filename, const vector<DetectedSymbol> &symbols, const SDoublePlane &input)
{
SDoublePlane output_planes[3];
for(int i=0; i<3; i++)
output_planes[i] = input;
for(int i=0; i<symbols.size(); i++)
{
const DetectedSymbol &s = symbols[i];
overlay_rectangle(output_planes[s.type], s.row, s.col, s.row+s.height-1, s.col+s.width-1, 255, 2);
overlay_rectangle(output_planes[(s.type+1) % 3], s.row, s.col, s.row+s.height-1, s.col+s.width-1, 0, 2);
overlay_rectangle(output_planes[(s.type+2) % 3], s.row, s.col, s.row+s.height-1, s.col+s.width-1, 0, 2);
if(s.type == NOTEHEAD)
{
char str[] = {s.pitch, 0};
draw_text(output_planes[0], str, s.row, s.col+s.width+1, 0, 2);
draw_text(output_planes[1], str, s.row, s.col+s.width+1, 0, 2);
draw_text(output_planes[2], str, s.row, s.col+s.width+1, 0, 2);
}
}
SImageIO::write_png_file(filename.c_str(), output_planes[0], output_planes[1], output_planes[2]);
}
// The rest of these functions are incomplete. These are just suggestions to
// get you started -- feel free to add extra functions, change function
// parameters, etc.
// Convolve an image with a separable convolution kernel
//
// Apply a sobel operator to an image, returns the result
//
SDoublePlane sobel_gradient_filter(const SDoublePlane &input, bool _gx)
{
SDoublePlane output(input.rows(), input.cols());
SDoublePlane row_filter(1,3);
SDoublePlane col_filter(3,1);
//Sobel Filter
for(int i=0;i<3;i++)
{
if(_gx) {
//Horizontal Edges
row_filter[0][i] = i < 2 ? (i + 1 )/8.0: 1/8.0;
col_filter[i][0] = ( i-1)/8.0;
}
else
{
// Vertical Edges
col_filter[i][0] = i < 2 ? (i + 1)/8.0 : 1/8.0;
row_filter[0][i] = (i-1)/8.0;
}
}
// Implement a sobel gradient estimation filter with 1-d filters
output= convolve_separable(input, row_filter,col_filter);
return output;
}
// Apply an edge detector to an image, returns the binary edge map
//
SDoublePlane find_edges(const SDoublePlane &input, double thresh=0)
{
SDoublePlane output(input.rows(), input.cols());
SDoublePlane vertical_output(input.rows(), input.cols());
SDoublePlane horizontal_output(input.rows(), input.cols());
SDoublePlane edge_output(input.rows(), input.cols());
// Implement an edge detector of your choice, e.g.
// use your sobel gradient operator to compute the gradient magnitude and threshold
vertical_output=sobel_gradient_filter(input,1);
horizontal_output=sobel_gradient_filter(input,0);
write_image("test_images/horizontal_edgs.png",horizontal_output,1);
write_image("test_images/vertical_edges.png",vertical_output,1);
for(int x=0;x<input.rows();x++)
{
for(int y=0;y<input.cols();y++)
{
double edge_strength=sqrt((vertical_output[x][y]*vertical_output[x][y])+(horizontal_output[x][y]*horizontal_output[x][y]));
//use threshold to produce binary image
if(edge_strength > thresh)
output[x][y]=1.0;
else
output[x][y]=0;
}
}
write_image("sobel.png",output,1);
return output;
}
void calculate_distance_map_chamfer(const SDoublePlane &edge_input, SDoublePlane &distance_map)
{
for(int i=0;i<edge_input.rows();i++)
{
for(int j=0;j<edge_input.cols();j++)
{
if (edge_input[i][j]==1)
{
distance_map[i][j]=0;
// cout<<distance_map[i][j]<<endl;
}
else
{
distance_map[i][j]=1000;
// cout<<distance_map[i][j]<<endl;
}
}
}
double d1=0,d2=0,d3=0,d4=0;
// cout<<edge_input.cols()<<endl;
for(int j=0;j<edge_input.cols();j++)
{
for(int i=0;i<edge_input.rows();i++)
{
// cout<<i<<j<<endl;
if (distance_map[i][j]>0)
{
d1=i-1>0?1+distance_map[i-1][j]:distance_map[i][j];
d2=i-1>0 && j-1>0? sqrt(2)+distance_map[i-1][j-1]:distance_map[i][j];
d3=j-1>0?1+distance_map[i][j-1]:distance_map[i][j];
d4=i+1<edge_input.rows() && j-1>0?sqrt(2)+distance_map[i+1][j-1]:distance_map[i][j];
distance_map[i][j]=std::min(d1, std::min(d2, std::min(d3, d4)));
//cout<<d1<<" "<<d2<<" "<<d3<<" "<<d4<<endl;
// cout<<distance_map[i][j]<<endl;
}
}
}
for(int j=edge_input.cols()-1;j>=0;j--)
{
for(int i=edge_input.rows()-1;i>=0;i--)
{
if (distance_map[i][j]>0)
{
d1=i+1<edge_input.rows()?1+distance_map[i+1][j]:distance_map[i][j];
d2=i+1<edge_input.rows() && j+1<edge_input.cols()? sqrt(2)+distance_map[i+1][j+1]:distance_map[i][j];
d3=j+1<edge_input.cols()?1+distance_map[i][j+1]:distance_map[i][j];
d4=i-1>0 && j+1<edge_input.cols()?sqrt(2)+distance_map[i-1][j+1]:distance_map[i][j];
distance_map[i][j]=std::min(distance_map[i][j],std::min(d1, std::min(d2, std::min(d3, d4))));
}
}
}
}
void template_matching_edge_map(const SDoublePlane &input)
{
double sigma=1.4;
SDoublePlane edge_input=find_edges(input,8);//apply_gaussian(input,sigma);
// SDoublePlane edge_input=apply_gaussian(input,sigma);
// edge_input=find_edges(edge_input,7.0);
write_image("edges.png",edge_input,1,1);
// edge_input=canny_edge_detector(edge_input,5);
// write_image("canny_edges.png",edge_input,1,1);
SDoublePlane output(input.rows(), input.cols());
SDoublePlane distance_map(edge_input.rows(),edge_input.cols());
// calculate_distance_map(edge_input,distance_map);
calculate_distance_map_chamfer(edge_input,distance_map);
cout<<"Here"<<endl;
vector<DetectedSymbol> symbols;
SDoublePlane template_image;
for(int i=0;i<3;i++){
std::string s;
std::stringstream out;
out << (i+1);
s = out.str();
string filename="template"+s+".png";
//cout<<filename<<endl;
template_image= SImageIO::read_png_file(filename.c_str());
// template_image=image_rescale(template_image);
SDoublePlane template_input=find_edges(template_image,6.0+i*i);//apply_gaussian(template_image,sigma);
// SDoublePlane template_input=apply_gaussian(template_image,sigma);
// template_input=find_edges(template_input,7.0);
// template_input=canny_edge_detector(template_input,2);
write_image("template_canny_"+s+".png",template_input,1,1);
template_convolution_edgemap(distance_map,template_input,symbols,output,(Type)i);
cout<<"Total Symbols Detected: "<<symbols.size()<<endl;
}
// Convolution code here
write_detection_txt("detected5.txt", symbols);
write_detection_image("detected5.png", symbols, input);
write_image("scores5.png",output,1);
}
void write_image(const string &filename, const SDoublePlane &output, int grayscale=0,int normalize)
{
SDoublePlane normalized(output.rows(),output.cols());
if(normalize==1)
{
for(int i=0;i<output.rows();i++)
{
for (int j=0;j<output.cols();j++)
{
if(output[i][j]==1)
normalized[i][j]=255;
}
}
SImageIO::write_png_file(filename.c_str(), normalized,normalized,normalized);
}
else
{
if (grayscale==1)
SImageIO::write_png_file(filename.c_str(), output,output,output);
}
}
double calculate_Gaussian(int x, int y, int sigma)
{
return ((1/(TWO_PI*(sigma*sigma)))*exp(-(((double)(x*x)+(y*y))/(2*(sigma*sigma)))));
}
SDoublePlane apply_gaussian(const SDoublePlane &input, double sigma)
{
int filterSize = 5;
SDoublePlane filter(filterSize, filterSize) ;
double value=0,value2=0.0;
for(int y = 0; y < filterSize; y++) {
for(int x = 0; x < filterSize; x++)
{
filter[x][y] = calculate_Gaussian(x-(filterSize/2),y-(filterSize/2),sigma);
value+=filter[x][y];
}
// cout<<endl;
}
for(int y = 0; y < filterSize; y++) {
for(int x = 0; x < filterSize; x++)
{
filter[x][y] = filter[x][y]/value;
// value2+=H(x,y,0,0);
}
// cout<<endl;
}
SDoublePlane output_image = convolve_general(input, filter);
write_image("gaussian.png",output_image,1);
return output_image;
}
void apply_separable(const SDoublePlane &input, int filter_size)
{
SDoublePlane row_filter(1,filter_size);
SDoublePlane col_filter(filter_size,1);
//Mean Filter
for(int i=0;i<filter_size;i++)
{
row_filter[0][i]=1/(double)filter_size;
col_filter[i][0]=1/(double)filter_size;
}
cout<<"Seperable Filter Created with filter size "<<row_filter.rows()<<", Output File: seperable.png "<<endl;
SDoublePlane output_image = convolve_separable(input, row_filter,col_filter);
write_image("seperable.png",output_image,1);
}
void template_matching(const SDoublePlane &input,int p7=0 )
{
SDoublePlane output(input.rows(), input.cols());
vector<DetectedSymbol> symbols;
SDoublePlane template_image;
for(int i=0;i<3;i++){
std::string s;
std::stringstream out;
out << (i+1);
s = out.str();
string filename="template"+s+".png";
//cout<<filename<<endl;
template_image=SImageIO::read_png_file(filename.c_str());
// template_image=image_rescale(template_image);
template_convolution(input,template_image,symbols,output,(Type)i);
cout<<"Total Symbols Detected (General Matching): "<<symbols.size()<<endl;
}
// Convolution code here
write_detection_txt("detected.txt", symbols);
write_detection_image("detected4.png", symbols, input);
write_image("scores4.png",output,1);
if(p7==1)
{
write_detection_txt("detected7.txt", symbols);
write_detection_image("detected7.png", symbols, input);
}
// return output;
}
//
// This main file just outputs a few test images. You'll want to change it to do
// something more interesting!
//
SDoublePlane canny_edge_detector(const SDoublePlane &input, int region_size)
{
// int region_size=5;
SDoublePlane working_input=input;
SDoublePlane output(input.rows(),input.cols());
int max=1;
for(int x=0;x<working_input.rows();x++)
{
for(int y=0;y<working_input.cols();y++)
{
max=1;
for(int a=0;a<region_size;a++)
{
for(int b=0;b<region_size;b++)
{
int i=copy_edge(x+(a-region_size/2),input.rows());
int j=copy_edge(y+(b-region_size/2),input.cols());
if(working_input[i][j]>working_input[x][y]) {
max = 0;
break;
}
}
}
if(max==0)
{
working_input[x][y]=0;
}
if(working_input[x][y]>canny_threshold)
{
working_input[x][y]=1;
output[x][y]=255;
}
else
{
working_input[x][y]=0;
output[x][y]=0;
}
//use threshold to produce binary image
}
}
write_image("canny_output.png",output,1);
return working_input;
}
void hough_lines(const SDoublePlane &input_image)
{
SDoublePlane input(input_image.rows(), input_image.cols());
double sigma=1.4;
SDoublePlane working_input=apply_gaussian(input_image,sigma);
working_input=sobel_gradient_filter(input_image,0);
input=canny_edge_detector(working_input);//cann=sobel_gradient_filter(input_image,0);
int accumulator[input.rows()];
memset( accumulator, 0, input.rows()*sizeof(int) );
for(int u=0;u<input.rows();u++)
{
for(int v=0;v<input.cols();v++)
{
if(input[u][v]==1)
{
//double x=(double)u-0;
accumulator[u]+=1;
}
}
}
SDoublePlane output_planes[2];
SDoublePlane blue_plane=input_image;
for(int i=0; i<2; i++)
output_planes[i] = input_image;
double avg_height=0;
int prev_u=0,five=0,staff_index=0;
int total_staffs=1;
for(int u=0;u<input.rows();u++)
{
if(accumulator[u]>input.cols()/5)
{
//cout<<u<<accumulator[u]<<endl;
if(u-prev_u>2 && five<5)
{
//cout<<u<<" "<<(u-prev_u)<<endl;
staffs.push_back(u);
avg_height+=(five==0?0:(u-prev_u));
// cout<<avg_height<<endl;
prev_u=u;
five++;
staff_index++;
}
for(int v=0;v<input.cols();v++) {
blue_plane[u][v]=255;
output_planes[0][u][v]=0;
output_planes[1][u][v]=0;
}
if(five==5)
total_staffs++;
five=five==5?0:five;
}
}
if(avg_height>0)
avg_space=floor(avg_height/((total_staffs-1)*4));
//cout<<avg_height/8<<endl;
cout<<"Total Lines Detected: "<<(total_staffs-1)*5<<endl;
SImageIO::write_png_file("staves.png",output_planes[0],output_planes[1],blue_plane);
}
SDoublePlane image_rescale(const SDoublePlane &input_image)
{
double rescaling_factor=(double)avg_space/11; //11 for template 1
int modified_rows=ceil(input_image.rows()/rescaling_factor);
int modified_cols=ceil(input_image.cols()/rescaling_factor);
SDoublePlane rescaled_image(modified_rows,modified_cols);
for(int x=0;x<modified_rows;x++) {
for (int y = 0; y < modified_cols; y++) {
int new_x=floor(x*rescaling_factor);
int new_y=floor(y*rescaling_factor);
if(new_x<input_image.rows() && new_y<input_image.cols())
rescaled_image[x][y]=input_image[new_x][new_y];
else
rescaled_image[x][y]=128;
}
}
write_image("rescaled.png",rescaled_image,1);
return rescaled_image;
/*double rescaling_factor=(double)avg_space/11; //11 for template 1
int modified_rows=ceil(input_image.rows()/rescaling_factor);
int modified_cols=ceil(input_image.cols()/rescaling_factor);
int row_delete=modified_rows>=input_image.rows()?modified_rows-input_image.rows():input_image.rows()-modified_rows;
int col_delete=modified_cols>=input_image.cols()?modified_cols-input_image.cols():input_image.cols()-modified_cols;
cout<<modified_rows<<endl;
cout<<modified_cols<<endl;
SDoublePlane rescaled_image(modified_rows,modified_cols);
int u=0,v=0;
double p=0;
double probability=abs(1-rescaling_factor);
srand (time(NULL));
for(int x=0;x<input_image.rows();x++)
{
for(int y=0;y<input_image.cols();y++)
{
int random=rand()%2;
if(random==0 && row_delete>0 && p<probability )
{
rescaled_image[u][v]=
}
}
}
return rescaled_image;*/
}
int main(int argc, char *argv[])
{
if(!(argc >= 2))
{
cerr << "usage: " << argv[0] << " input_image"<< "part no (Optional, Default:p7) " << endl;
return 1;
}
string input_filename(argv[1]);
string part_no("");
if(argc>=3)
{
part_no=argv[2];
}
SDoublePlane input_image= SImageIO::read_png_file(input_filename.c_str());
// test step 2 by applying mean filters to the input image
if(part_no=="p2")
{
int filter_size=5;
SDoublePlane mean_filter(filter_size,filter_size);
for(int i=0; i<filter_size; i++)
for(int j=0; j<filter_size; j++)
mean_filter[i][j] = 1/(double)(filter_size*filter_size);
//part 2
SDoublePlane output_image = convolve_general(input_image, mean_filter);
write_image("general_convolution.png",output_image,1);
cout<<" General Convolution Done. Output FIle: general_convolution.png, Filter Size 5"<<endl;
}
//part 3
if(part_no=="p3")
apply_separable(input_image,5);
// Part 4
if(part_no=="p4")
{
cout<<"Part 4: Template Matching "<<endl;
template_matching(input_image);
}
//Part 5
// find_edges(input_image,8.0);
if(part_no=="p5")
{
cout<<"Part 5: Template Matching alternative approach "<<endl;
template_matching_edge_map(input_image);
}
//Part6
// SDoublePlane sobel=find_edges(input_image,8.0);
if(part_no=="p6") {
cout<<"Part 6: Hough Lines"<<endl;
hough_lines(input_image);
}
if(part_no.length()==0)
{
//Part7
cout<<"Part 7 Started"<<endl;
hough_lines(input_image);
input_image=image_rescale(input_image);
template_matching(input_image,1);
template_matching_edge_map(input_image);
}
// calculate_distance_map_chamfer(mean_filter,distance);
//output_image= template_ma;//find_edges(input_image,8.0);
//write_image("sobel.png",output_image,1);
// apply_separable(input_image,9);
// randomly generate some detected symbols -- you'll want to replace this
// with your symbol detection code obviously!
//
/* for(int i=0; i<10; i++)
{
DetectedSymbol s;
s.row = rand() % input_image.rows();
s.col = rand() % input_image.cols();
s.width = 20;
s.height = 20;
s.type = (Type) (rand() % 3);
s.confidence = rand();
s.pitch = (rand() % 7) + 'A';
symbols.push_back(s);
}*/
// write_detection_txt("detected.txt", symbols);
// write_detection_image("detected.png", symbols, input_image);
}
| [
"[email protected]"
] | |
1e25c7c3325618e29579b6dcddec22c5476d3e33 | f781a93069a1de619603070ab566dc71fd74945a | /coreClasses/scene/Screen.cpp | fd710a26058628d5a5c59225f80a8ecb25b73e42 | [] | no_license | zephyrol/JumperBall | 2e30e2ce73a0b4c4038592e60b2e0729f6cc5db9 | 9b8ff747645b99e68394267d48b6a6eb985c59ec | refs/heads/master | 2023-09-01T09:04:04.073625 | 2023-08-27T09:03:43 | 2023-08-27T09:03:43 | 212,174,717 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 141 | cpp | /*
* File: Screen.cpp
* Author: Morgenthaler S
*
* Created on 5 juillet 2020, 8:41
*/
#include "Screen.h"
Screen::Screen() = default;
| [
"[email protected]"
] | |
5b6f7f088c206d3d83c0ced79ac5591d059a77fb | 4b8d16e18284bcf037093e950dc775cc3b401475 | /uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuirealpoint.cpp | 33489b6c57fed9f2e7f25f20eaac49f3d27a4a86 | [] | no_license | SymbianSource/oss.FCL.sf.mw.uiaccelerator | 167bc231bd46fbd414c64b78f735025ebeb2cb53 | 773fc5e215e04584c3e00a1b1fa05c5a8c50440a | refs/heads/master | 2021-01-11T11:20:51.047896 | 2010-11-03T17:29:22 | 2010-11-03T17:29:22 | 72,679,012 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,199 | cpp | /*
* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: test api of alf_core_toolkit
*
*/
// [INCLUDE FILES]
#include <e32svr.h>
#include <stifparser.h>
#include <stiftestinterface.h>
#include <uiacceltk/huirealpoint.h>
#include "testuiaifcoretoolkit.h"
// -----------------------------------------------------------------------------
// CTestUiAifCoreToolkit::TestTHRPConstructor
// -----------------------------------------------------------------------------
//
TInt CTestUiAifCoreToolkit::TestTHRPConstructor( CStifItemParser& /*aItem*/ )
{
// Print to UI
_LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
_LIT( KHuiMappingFunctions, "In TestTHRPConstructor" );
TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
// Print to log file
iLog->Log( KHuiMappingFunctions );
THuiRealPoint point;
return KErrNone;
}
// -----------------------------------------------------------------------------
// CTestUiAifCoreToolkit::TestTHRPConstructorWithTReal
// -----------------------------------------------------------------------------
//
TInt CTestUiAifCoreToolkit::TestTHRPConstructorWithTReal( CStifItemParser& /*aItem*/ )
{
// Print to UI
_LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
_LIT( KHuiMappingFunctions, "In TestTHRPConstructorWithTReal" );
TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
// Print to log file
iLog->Log( KHuiMappingFunctions );
THuiRealPoint point( 1, 1 );
return KErrNone;
}
// -----------------------------------------------------------------------------
// CTestUiAifCoreToolkit::TestTHRPConstructorWithTPoint
// -----------------------------------------------------------------------------
//
TInt CTestUiAifCoreToolkit::TestTHRPConstructorWithTPoint( CStifItemParser& /*aItem*/ )
{
// Print to UI
_LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
_LIT( KHuiMappingFunctions, "In TestTHRPConstructorWithTPoint" );
TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
// Print to log file
iLog->Log( KHuiMappingFunctions );
TPoint point( 1, 1 );
THuiRealPoint realPoint( point );
TPoint a = realPoint;
return KErrNone;
}
// -----------------------------------------------------------------------------
// CTestUiAifCoreToolkit::TestTHRPAsSize
// -----------------------------------------------------------------------------
//
TInt CTestUiAifCoreToolkit::TestTHRPAsSize( CStifItemParser& /*aItem*/ )
{
// Print to UI
_LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
_LIT( KHuiMappingFunctions, "In TestTHRPAsSize" );
TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
// Print to log file
iLog->Log( KHuiMappingFunctions );
THuiRealPoint realPoint;
realPoint.AsSize();
return KErrNone;
}
// -----------------------------------------------------------------------------
// CTestUiAifCoreToolkit::TestTHRPTPoint
// -----------------------------------------------------------------------------
//
TInt CTestUiAifCoreToolkit::TestTHRPTPoint( CStifItemParser& /*aItem*/ )
{
// Print to UI
_LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
_LIT( KHuiMappingFunctions, "In TestTHRPTPoint" );
TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
// Print to log file
iLog->Log( KHuiMappingFunctions );
THuiRealPoint realPoint;
TPoint point = realPoint;
return KErrNone;
}
// -----------------------------------------------------------------------------
// CTestUiAifCoreToolkit::TestTHRPRound
// -----------------------------------------------------------------------------
//
TInt CTestUiAifCoreToolkit::TestTHRPRound( CStifItemParser& /*aItem*/ )
{
// Print to UI
_LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
_LIT( KHuiMappingFunctions, "In TestTHRPRound" );
TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
// Print to log file
iLog->Log( KHuiMappingFunctions );
THuiRealPoint realPoint;
TPoint point = realPoint.Round();
return KErrNone;
}
// -----------------------------------------------------------------------------
// CTestUiAifCoreToolkit::TestTHRPoperator1
// -----------------------------------------------------------------------------
//
TInt CTestUiAifCoreToolkit::TestTHRPoperator1( CStifItemParser& /*aItem*/ )
{
// Print to UI
_LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
_LIT( KHuiMappingFunctions, "In TestTHRPoperator1" );
TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
// Print to log file
iLog->Log( KHuiMappingFunctions );
THuiRealPoint realPoint;
realPoint = realPoint + realPoint;
return KErrNone;
}
// -----------------------------------------------------------------------------
// CTestUiAifCoreToolkit::TestTHRPoperator2
// -----------------------------------------------------------------------------
//
TInt CTestUiAifCoreToolkit::TestTHRPoperator2( CStifItemParser& /*aItem*/ )
{
// Print to UI
_LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
_LIT( KHuiMappingFunctions, "In TestTHRPoperator2" );
TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
// Print to log file
iLog->Log( KHuiMappingFunctions );
THuiRealPoint realPoint;
realPoint += realPoint;
return KErrNone;
}
// -----------------------------------------------------------------------------
// CTestUiAifCoreToolkit::TestTHRPoperator3
// -----------------------------------------------------------------------------
//
TInt CTestUiAifCoreToolkit::TestTHRPoperator3( CStifItemParser& /*aItem*/ )
{
// Print to UI
_LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
_LIT( KHuiMappingFunctions, "In TestTHRPoperator3" );
TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
// Print to log file
iLog->Log( KHuiMappingFunctions );
THuiRealPoint realPoint;
realPoint -= realPoint;
return KErrNone;
}
// -----------------------------------------------------------------------------
// CTestUiAifCoreToolkit::TestTHRPoperator4
// -----------------------------------------------------------------------------
//
TInt CTestUiAifCoreToolkit::TestTHRPoperator4( CStifItemParser& /*aItem*/ )
{
// Print to UI
_LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
_LIT( KHuiMappingFunctions, "In TestTHRPoperator4" );
TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
// Print to log file
iLog->Log( KHuiMappingFunctions );
THuiRealPoint realPoint;
realPoint = -realPoint;
return KErrNone;
}
// -----------------------------------------------------------------------------
// CTestUiAifCoreToolkit::TestTHRPoperator5
// -----------------------------------------------------------------------------
//
TInt CTestUiAifCoreToolkit::TestTHRPoperator5( CStifItemParser& /*aItem*/ )
{
// Print to UI
_LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
_LIT( KHuiMappingFunctions, "In TestTHRPoperator5" );
TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
// Print to log file
iLog->Log( KHuiMappingFunctions );
THuiRealPoint realPoint;
realPoint = realPoint - realPoint;
return KErrNone;
}
// -----------------------------------------------------------------------------
// CTestUiAifCoreToolkit::TestTHRPoperator6
// -----------------------------------------------------------------------------
//
TInt CTestUiAifCoreToolkit::TestTHRPoperator6( CStifItemParser& /*aItem*/ )
{
// Print to UI
_LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
_LIT( KHuiMappingFunctions, "In TestTHRPoperator6" );
TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
// Print to log file
iLog->Log( KHuiMappingFunctions );
THuiRealPoint realPoint;
realPoint = realPoint * 1;
return KErrNone;
}
// -----------------------------------------------------------------------------
// CTestUiAifCoreToolkit::TestTHRPAbs
// -----------------------------------------------------------------------------
//
TInt CTestUiAifCoreToolkit::TestTHRPAbs( CStifItemParser& /*aItem*/ )
{
// Print to UI
_LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
_LIT( KHuiMappingFunctions, "In TestTHRPAbs" );
TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
// Print to log file
iLog->Log( KHuiMappingFunctions );
THuiRealPoint realPoint;
realPoint.Abs();
return KErrNone;
}
| [
"none@none"
] | none@none |
8b2a74092c632f5e5198e99a95e66eeb45ef5c94 | 23a076bb8db0cadf9c8ed7e50feec3422cdfe1c9 | /src/gui/widgets/metasprite/metaspriteapplication.h | f4c895e66ac3d54fff387a508c1d238afcad4d22 | [
"MIT"
] | permissive | Aliandrana/untech-editor | c1349840ecccc5d0cffedd32537f5f7a13546262 | 6805b29aa1a96c38fa154c83746d73c17c1934db | refs/heads/master | 2021-01-19T07:11:08.101474 | 2016-05-06T10:09:13 | 2016-05-06T10:09:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 989 | h | #ifndef _UNTECH_GUI_WIDGETS_METASPRITE_METASPRITEAPPLICATION_H_
#define _UNTECH_GUI_WIDGETS_METASPRITE_METASPRITEAPPLICATION_H_
#include "document.h"
#include <memory>
#include <gtkmm.h>
#include <glibmm/i18n.h>
namespace UnTech {
namespace Widgets {
namespace MetaSprite {
namespace MS = UnTech::MetaSprite;
class MetaSpriteApplication : public Gtk::Application {
protected:
MetaSpriteApplication();
public:
static Glib::RefPtr<MetaSpriteApplication> create();
protected:
void on_startup() override;
void on_activate() override;
void on_open(const type_vec_files& files, const Glib::ustring& hint) override;
void on_menu_new();
void on_menu_open();
void on_menu_about();
void on_window_hide(Gtk::Window* window);
private:
void create_window(std::unique_ptr<Document> document);
void load_file(const std::string& filename);
private:
Glib::RefPtr<Gtk::Builder> _uiBuilder;
static const Glib::ustring _uiInfo;
};
}
}
}
#endif
| [
"[email protected]"
] | |
0a5ee60d151c82cb545ba2ff0ef891b4b48fa34e | 2ad6511686c39a0681cbb9909b1042ceab08d0f9 | /JianzhiOffer/merge.cpp | fbd5bf4ac211ac93ce276838acf84a333fcfae25 | [] | no_license | XXXzp/AlgPractice | 40042f259c2f283f1006d868e34942aa4a9ba1fc | a30649d5986314ad6c9c90ced8a5dc3c64d1fa55 | refs/heads/master | 2021-09-14T11:59:20.664061 | 2018-05-13T06:36:22 | 2018-05-13T06:36:22 | 104,568,850 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,129 | cpp | #include<iostream>
using namespace std;
struct ListNode {
int val;
struct ListNode *next;
ListNode(int x) :
val(x), next(NULL) {
}
};
ListNode* Merge(ListNode* pHead1, ListNode* pHead2)
{
ListNode *newList = NULL ;
ListNode *newListBase = NULL;
while(pHead1!=NULL && pHead2!=NULL){
if(pHead1->val>pHead2->val){
newList = pHead2;
pHead2 = pHead2->next;
}else{
newList = pHead1;
pHead1 = pHead1->next;
}
if(newListBase==NULL)
newListBase = newList;
newList = newList->next;
}
if(pHead1==NULL)
newList = pHead2;
else
newList = pHead1;
return newListBase;
}
int main(){
ListNode L1(1);
ListNode L2(2);
ListNode L3(3);
ListNode L4(4);
ListNode L5(5);
ListNode L6(6);
L1.next=&L3;
L3.next = &L5;
L2.next = &L4;
L4.next = &L6;
auto L = Merge(&L1,&L2);
while(L!=NULL){
cout<<L->val<<endl;
L = L->next;
}
return 0;
}
| [
"[email protected]"
] | |
db8a1a8671956d91be5a7238e63bc24cd53e7b9c | 1ffd3984e676e92da485482fc5a5f8028174da21 | /include/pan/net/rpc/oldimpl/v2/server_handler.hpp | c6531f42ab3d79a7a70153d96a4fba3eb715c6cf | [] | no_license | pangold/panet | aa52ea172d60dcb60e697055c0dda6d24ff9e4ba | 9acdfa72e5084aeaf410322647fcf593553beb9e | refs/heads/master | 2020-05-16T09:23:42.229569 | 2019-07-16T03:43:38 | 2019-07-16T03:43:38 | 182,946,293 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,002 | hpp | #ifndef __PAN_NET_RPC_SERVER_HANDLER_V2_HPP__
#define __PAN_NET_RPC_SERVER_HANDLER_V2_HPP__
#include <pan/base.hpp>
#include <pan/net/handler_base.hpp>
#include <pan/net/protobuf.hpp>
#include "rpc.pb.h"
namespace pan { namespace net { namespace rpc { namespace v2 {
template <typename Session>
class server_handler : public pan::net::handler_base<Session> {
friend typename Session;
using executor_type = stream_executor<istream, ostream>;
public:
explicit server_handler(std::size_t thread_count = 2, std::size_t max_task_per_thread = 1024)
: codec_()
, thread_pool_(thread_count, max_task_per_thread)
, executor_()
{
using namespace std::placeholders;
codec_.register_callback<Pango::Rpc::Request>(std::bind(&server_handler::on_request, this, _1, _2));
}
virtual ~server_handler()
{
thread_pool_.clear();
}
template <typename Function>
void bind(const std::string& name, Function func)
{
executor_.bind<Function>(name, func);
}
template <typename Function, typename Object>
void bind(const std::string& name, Function func, Object* obj)
{
executor_.bind<Function, Object>(name, func, obj);
}
protected:
std::size_t on_message(session_ptr session, const void* data, std::size_t size) override
{
// FIXME: this is edge trigger
try {
return codec_.on_message(session, data, size);
}
catch (const protobuf::data_error& e) {
LOG_FATAL(e.what());
if (session) session->stop();
}
catch (std::exception& e) {
LOG_ERROR(e.what());
}
return 0;
}
void on_request(session_ptr session, std::shared_ptr<Pango::Rpc::Request> request)
{
thread_pool_.dispatch(&server_handler::process, this, session, request);
}
void process(session_ptr session, std::shared_ptr<Pango::Rpc::Request> request)
{
auto reply = std::make_shared<Pango::Rpc::Respond>();
istream is(request->params().data(), request->params().size());
ostream os;
try {
executor_.invoke(request->name(), os, is);
reply->set_value(os.data(), os.size());
reply->set_code(Pango::Rpc::Respond::SUCCESS);
}
catch (const executor_type::handler_not_found_error& e) {
reply->set_code(Pango::Rpc::Respond::NOT_FOUND);
reply->set_value(e.what());
LOG_ERROR(e.what());
}
catch (const std::exception& e) {
reply->set_code(Pango::Rpc::Respond::FAILURE);
reply->set_value(e.what());
LOG_ERROR(e.what());
}
reply->set_id(request->id());
reply->set_name(request->name());
codec_.send(session, reply);
}
private:
protobuf::codec<session_type> codec_;
thread_pool thread_pool_;
executor_type executor_;
};
}}}}
#endif // __PAN_NET_RPC_SERVER_HANDLER_V2_HPP__
| [
"[email protected]"
] | |
5069d7887251ff9b961ba90ef9073b0935ee7934 | 883bba35d3074b1836efe5f96e2682e2ae2d8cae | /UniversalWindowsPlatformSamples/CSharpProjectExample/bin/Il2CppOutputProject/Source/il2cppOutput/UnityEngine.AndroidJNIModule.cpp | 241e4b186f94ff116e6765774f283a9904281250 | [
"MIT"
] | permissive | Unity-Technologies/DesktopSamples | 3dabe5cbafae64479d87c3ed993630f6a755e3a2 | 835e350c2517ddd65302159053447f35ad50666e | refs/heads/master | 2023-07-18T19:45:01.327055 | 2022-03-04T00:42:41 | 2022-03-04T00:42:41 | 218,365,346 | 200 | 84 | MIT | 2020-02-12T01:05:53 | 2019-10-29T19:17:52 | C++ | UTF-8 | C++ | false | false | 590,079 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
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 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, typename T2>
struct VirtFuncInvoker2
{
typedef R (*Func)(void*, T1, T2, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
return ((Func)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
}
};
struct VirtActionInvoker0
{
typedef void (*Action)(void*, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
((Action)invokeData.methodPtr)(obj, invokeData.method);
}
};
template <typename 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);
}
};
struct GenericVirtActionInvoker0
{
typedef void (*Action)(void*, const RuntimeMethod*);
static inline void Invoke (const RuntimeMethod* method, RuntimeObject* obj)
{
VirtualInvokeData invokeData;
il2cpp_codegen_get_generic_virtual_invoke_data(method, obj, &invokeData);
((Action)invokeData.methodPtr)(obj, invokeData.method);
}
};
struct InterfaceActionInvoker0
{
typedef void (*Action)(void*, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
((Action)invokeData.methodPtr)(obj, invokeData.method);
}
};
struct GenericInterfaceActionInvoker0
{
typedef void (*Action)(void*, const RuntimeMethod*);
static inline void Invoke (const RuntimeMethod* method, RuntimeObject* obj)
{
VirtualInvokeData invokeData;
il2cpp_codegen_get_generic_interface_invoke_data(method, obj, &invokeData);
((Action)invokeData.methodPtr)(obj, invokeData.method);
}
};
// UnityEngine.AndroidJavaObject[]
struct AndroidJavaObjectU5BU5D_tEE28563C9013906CEB39794019A55F4BA5B06120;
// System.Boolean[]
struct BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C;
// System.Byte[]
struct ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726;
// System.Char[]
struct CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34;
// System.Delegate[]
struct DelegateU5BU5D_t677D8FE08A5F99E8EE49150B73966CD6E9BF7DB8;
// System.Double[]
struct DoubleU5BU5D_t8E1B42EB2ABB79FBD193A6B8C8D97A7CDE44A4FB;
// System.Int16[]
struct Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD;
// System.Int32[]
struct Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32;
// System.Int64[]
struct Int64U5BU5D_tCA61E42872C63A4286B24EEE6E0650143B43DCE6;
// System.IntPtr[]
struct IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6;
// System.Object[]
struct ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE;
// System.Reflection.ParameterModifier[]
struct ParameterModifierU5BU5D_tFF6F73F1CFE837331D6AAA11CC78CE5D9B5F0A2B;
// System.SByte[]
struct SByteU5BU5D_t7D94C53295E6116625EA7CC7DEA21FEDC39869E7;
// System.Single[]
struct SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA;
// System.Diagnostics.StackTrace[]
struct StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971;
// System.String[]
struct StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A;
// System.Type[]
struct TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755;
// UnityEngine.jvalue[]
struct jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99;
// UnityEngine.AndroidJavaClass
struct AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4;
// UnityEngine.AndroidJavaException
struct AndroidJavaException_tA371556A4C19FBFA201DD4939DFA781D109B243D;
// UnityEngine.AndroidJavaObject
struct AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E;
// UnityEngine.AndroidJavaProxy
struct AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF;
// UnityEngine.AndroidJavaRunnable
struct AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60;
// UnityEngine.AndroidJavaRunnableProxy
struct AndroidJavaRunnableProxy_t17D14B64AF448BEC13E64E394A2626B261ED3BEB;
// System.AsyncCallback
struct AsyncCallback_tA7921BEF974919C46FF8F9D9867C567B200BB0EA;
// System.Reflection.Binder
struct Binder_t2BEE27FD84737D1E79BC47FD67F6D3DD2F2DDA30;
// System.Delegate
struct Delegate_t;
// System.DelegateData
struct DelegateData_t17DD30660E330C49381DAA99F934BE75CB11F288;
// System.Exception
struct Exception_t;
// UnityEngine.GlobalJavaObjectRef
struct GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289;
// System.IAsyncResult
struct IAsyncResult_tC9F97BF36FCF122D29D3101D80642278297BF370;
// System.Collections.IDictionary
struct IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A;
// System.Reflection.MemberFilter
struct MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81;
// System.Reflection.MethodBase
struct MethodBase_t;
// System.Reflection.MethodInfo
struct MethodInfo_t;
// System.Runtime.Serialization.SafeSerializationManager
struct SafeSerializationManager_tDE44F029589A028F8A3053C5C06153FAB4AAE29F;
// System.String
struct String_t;
// System.Text.StringBuilder
struct StringBuilder_t;
// System.Reflection.TargetInvocationException
struct TargetInvocationException_t30F4C50D323F448CD2E08BDB8F47694B08EB354C;
// System.Type
struct Type_t;
// System.Void
struct Void_t700C6383A2A510C2CF4DD86DABD5CA9FF70ADAC5;
IL2CPP_EXTERN_C RuntimeClass* AndroidJavaClassU5BU5D_t5344E3EB36AE15926FAFC0383431B20ADC393BCB_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* AndroidJavaException_tA371556A4C19FBFA201DD4939DFA781D109B243D_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* AndroidJavaObjectU5BU5D_tEE28563C9013906CEB39794019A55F4BA5B06120_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* AndroidJavaRunnableProxy_t17D14B64AF448BEC13E64E394A2626B261ED3BEB_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Char_tFF60D8E7E89A20BE2294A003734341BD1DF43E14_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* DoubleU5BU5D_t8E1B42EB2ABB79FBD193A6B8C8D97A7CDE44A4FB_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Double_t42821932CB52DE2057E685D0E1AF3DE5033D2181_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Exception_t_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* GC_tD6F0377620BF01385965FD29272CF088A4309C0D_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* IDisposable_t099785737FC6A1E3699919A94109383715A8D807_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Int16_tD0F031114106263BB459DA1F099FF9F42691295A_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Int64U5BU5D_tCA61E42872C63A4286B24EEE6E0650143B43DCE6_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Int64_t378EE0D608BD3107E77238E85F30D2BBD46981F3_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* IntPtr_t_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* RuntimeArray_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* RuntimeObject_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* SByteU5BU5D_t7D94C53295E6116625EA7CC7DEA21FEDC39869E7_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* SByte_t928712DD662DC29BA4FAAE8CE2230AFB23447F0B_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Single_tE07797BA3C98D4CA9B5A19413C19A76688AB899E_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* StringBuilder_t_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* String_t_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TargetInvocationException_t30F4C50D323F448CD2E08BDB8F47694B08EB354C_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Type_t_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C String_t* _stringLiteral007174B876FA7EECC4152046B9308966D3E2B5B8;
IL2CPP_EXTERN_C String_t* _stringLiteral02318B712552D9B62DF47C0277C285D8D227DB68;
IL2CPP_EXTERN_C String_t* _stringLiteral09684B67A5909FD48E1F14A8AF8DDD483C620B10;
IL2CPP_EXTERN_C String_t* _stringLiteral0A06530F3DEED5B3FCAB0F2A287E32BD8B25F2D4;
IL2CPP_EXTERN_C String_t* _stringLiteral0BA8CB3B900ECEF5E697192B8CDA6B626EB0CE72;
IL2CPP_EXTERN_C String_t* _stringLiteral0EBD646B60E1C3FCE0203770591ED3C3D63537DC;
IL2CPP_EXTERN_C String_t* _stringLiteral0F9959D6967BF0405610B0041D446B892A631997;
IL2CPP_EXTERN_C String_t* _stringLiteral115036F179EA48E7662F9BE55E0E00A42DDE6DA7;
IL2CPP_EXTERN_C String_t* _stringLiteral1518EB1645470EBD2FAB6435208F4404D786664E;
IL2CPP_EXTERN_C String_t* _stringLiteral1C58321BD3C0DE4662E8E68A19634DEAC58F3251;
IL2CPP_EXTERN_C String_t* _stringLiteral204582C83E45E7B0A9BD3FA17ADE77EFC4EC4D6A;
IL2CPP_EXTERN_C String_t* _stringLiteral21A5AA703D97ABA8DE2D0B5CBC3B8548E0023E8E;
IL2CPP_EXTERN_C String_t* _stringLiteral22225741051C0DE6E1B24FA555DFA8109FC5CA2B;
IL2CPP_EXTERN_C String_t* _stringLiteral234D19ACC97DBDDB4C2351D9B583DDC8AD958380;
IL2CPP_EXTERN_C String_t* _stringLiteral2357A4E0D0D00387C99FD0191A8303405A83489C;
IL2CPP_EXTERN_C String_t* _stringLiteral27F2FC8F8A0DFFAC96353D8AC1CDD811C4A7644B;
IL2CPP_EXTERN_C String_t* _stringLiteral29533AC1D363321ECFB96B50441B9418763D4176;
IL2CPP_EXTERN_C String_t* _stringLiteral306716C9D6B9595061CC04B314471DA1BEBAA9BE;
IL2CPP_EXTERN_C String_t* _stringLiteral3869C7DBCD094A6000BF07A9FAC6332A50AEEFBE;
IL2CPP_EXTERN_C String_t* _stringLiteral38FB386B58970DA493E868CAC2AC6550E559B5D7;
IL2CPP_EXTERN_C String_t* _stringLiteral4163EC7E399C450E8F73BD99DA4C4E81184962CB;
IL2CPP_EXTERN_C String_t* _stringLiteral42646B33B50B6AA15E22733C8900716F0FE19E1D;
IL2CPP_EXTERN_C String_t* _stringLiteral42B0C97654CB0F536C2C643B8D4D9C2C7B8D71AF;
IL2CPP_EXTERN_C String_t* _stringLiteral4377BD0CB5AA33032D96FCC5148ABEDB0BD8CC10;
IL2CPP_EXTERN_C String_t* _stringLiteral495DD512A2F1C21C6107D1EA689AF431C75A1C5A;
IL2CPP_EXTERN_C String_t* _stringLiteral530BFE609FFD8493BEF7537EACF3B344E426E4EC;
IL2CPP_EXTERN_C String_t* _stringLiteral58BB47D89B96E4992A8CEB702213DCC616635297;
IL2CPP_EXTERN_C String_t* _stringLiteral6139DAA93E5F3831FAE16E66A26D39B54342887C;
IL2CPP_EXTERN_C String_t* _stringLiteral61B6DDF2435F416EB6E75E0A742D181B32C37FDF;
IL2CPP_EXTERN_C String_t* _stringLiteral63ABF5649A2AE850683F7D7D13A6E33FC41F4CAA;
IL2CPP_EXTERN_C String_t* _stringLiteral65572413F78A98D745AF7C2CCAF152BD2C90FF88;
IL2CPP_EXTERN_C String_t* _stringLiteral672EA443B619B60F88713BFAFFF2A3A7433C6827;
IL2CPP_EXTERN_C String_t* _stringLiteral682203F9A53FBD397E722133EF0FD4D0C4CBECC3;
IL2CPP_EXTERN_C String_t* _stringLiteral6CB05FD18E12F98F81A204339D25DD82BC993FDD;
IL2CPP_EXTERN_C String_t* _stringLiteral6F7F7B4F6009074DEBEA1316DB8BDEC4E57CA185;
IL2CPP_EXTERN_C String_t* _stringLiteral70E7C8827E971A1A7DEECE0C662165AF9F4E8845;
IL2CPP_EXTERN_C String_t* _stringLiteral721D70DB4B32A2AEDC1FCA8FD3B608ED50CE0156;
IL2CPP_EXTERN_C String_t* _stringLiteral7300AD57DB611A5D85FBD10E00B41B82F2DC677F;
IL2CPP_EXTERN_C String_t* _stringLiteral768F82A25AC6375BDD08F33D316E23F3C9E9872A;
IL2CPP_EXTERN_C String_t* _stringLiteral77E7609799DC0A299115C3AE174DEE8AEDDCBC05;
IL2CPP_EXTERN_C String_t* _stringLiteral7BD850E4DDBA17AE057506A43953C4D0DB03DC66;
IL2CPP_EXTERN_C String_t* _stringLiteral7E70AF961A2F88ADB9DB7B9C3B5F25A532C1570A;
IL2CPP_EXTERN_C String_t* _stringLiteral81AB20ED8D2182D1A0D3ECAA43335FF4D94E66E1;
IL2CPP_EXTERN_C String_t* _stringLiteral831D7CED62F1BBB173BA1CEEEB6F169BFC6B02A3;
IL2CPP_EXTERN_C String_t* _stringLiteral8AE771679CD1C7D2C1D9B577D342220161AD2D3D;
IL2CPP_EXTERN_C String_t* _stringLiteral8D72771221931EA82C15C15FDE3ED02FC39BD069;
IL2CPP_EXTERN_C String_t* _stringLiteral90B5C222ABA0160226196AA2D9E75E9C0A6B3D39;
IL2CPP_EXTERN_C String_t* _stringLiteral94DFCFD5DDE6D7CBBBB5D3176A4B2A5C7CD26D8E;
IL2CPP_EXTERN_C String_t* _stringLiteral951CCB49640C8F9E81FB4E0D82730321F4E15BB3;
IL2CPP_EXTERN_C String_t* _stringLiteral95743D14EBFB666745B1AE894875A26AD08F3552;
IL2CPP_EXTERN_C String_t* _stringLiteral997CC228CD49CB51A21F3301055CBEE380042055;
IL2CPP_EXTERN_C String_t* _stringLiteral9AF65B36DFE45F7D43114A8BC74824FA223F60D2;
IL2CPP_EXTERN_C String_t* _stringLiteral9BADE7CDC853CF94309E8ECAB451D8BEFCD86DFD;
IL2CPP_EXTERN_C String_t* _stringLiteral9BC1A16BF700ED5325C6B4FD49819E1C48ECC035;
IL2CPP_EXTERN_C String_t* _stringLiteral9D9409152ADEE0D2A5BE9C04915D8BF65B6B929A;
IL2CPP_EXTERN_C String_t* _stringLiteralA019FB7F17AA36A9743C530E1F11D5613B8B1158;
IL2CPP_EXTERN_C String_t* _stringLiteralA1CA335EF287DF9364E8A16BB365BDAEB23ED4A3;
IL2CPP_EXTERN_C String_t* _stringLiteralA2267B1424757597EAEC3CB1B8269FF078CC487C;
IL2CPP_EXTERN_C String_t* _stringLiteralA38BB5AAC6BE96538C93F39E86053E620B41407D;
IL2CPP_EXTERN_C String_t* _stringLiteralA39614FE650CC59501DA62392479CBAD5E59947A;
IL2CPP_EXTERN_C String_t* _stringLiteralA3DFC0C77ACADE0EE48DCC73E795A597D0270A73;
IL2CPP_EXTERN_C String_t* _stringLiteralA7BDDC7501EECF3151484AEBEF8627D03E365077;
IL2CPP_EXTERN_C String_t* _stringLiteralAA236E134566FACF682D16CDBC3E2C735E0EF19D;
IL2CPP_EXTERN_C String_t* _stringLiteralAB69FA1AB6BB831506EFCAD83900FEE751E85F6F;
IL2CPP_EXTERN_C String_t* _stringLiteralAD2FC71AE60261B73977F0195D3744E79CCC12B9;
IL2CPP_EXTERN_C String_t* _stringLiteralAED680D6EF3BE92ADBBED1552BB70280D27D120B;
IL2CPP_EXTERN_C String_t* _stringLiteralAFC4A16FF7AEE06FF380F93BBF26ACF1014CFB82;
IL2CPP_EXTERN_C String_t* _stringLiteralB3F14BF976EFD974E34846B742502C802FABAE9D;
IL2CPP_EXTERN_C String_t* _stringLiteralB40004C0135CEF645A079B4A245A04F302EA80F2;
IL2CPP_EXTERN_C String_t* _stringLiteralB61F72088FF6940FDC49659789D1C5CA70C2E293;
IL2CPP_EXTERN_C String_t* _stringLiteralB67B6D43B97430C37AE65F7A05E78E358F2B6A95;
IL2CPP_EXTERN_C String_t* _stringLiteralBB8F0908585792018E468F1010A23CFD167A686C;
IL2CPP_EXTERN_C String_t* _stringLiteralBE3E2515DEF82B38D4ACFEBDC9D69E894CA05BBE;
IL2CPP_EXTERN_C String_t* _stringLiteralBF68B5E8806879817720F1AA46DC7730FCB8187E;
IL2CPP_EXTERN_C String_t* _stringLiteralBF86C9E9E7FE0EF09A2EAE8066CDC31F859254CC;
IL2CPP_EXTERN_C String_t* _stringLiteralBFBE2EF02B478337E3E96E4014859EBED0CCE65C;
IL2CPP_EXTERN_C String_t* _stringLiteralC087E631060AB76B7C814C0E1B92D5C7C4C4B924;
IL2CPP_EXTERN_C String_t* _stringLiteralC18C9BB6DF0D5C60CE5A5D2D3D6111BEB6F8CCEB;
IL2CPP_EXTERN_C String_t* _stringLiteralC963684A2BAB3B6684B4D82B4781E59FECC45904;
IL2CPP_EXTERN_C String_t* _stringLiteralCE42F595933CDB601C52327F32C83017C908C430;
IL2CPP_EXTERN_C String_t* _stringLiteralD533C8C15007D85807A5FE481182C225E6A86D08;
IL2CPP_EXTERN_C String_t* _stringLiteralD890B2BC5E5200965CD02403ABB6C221A614A1B7;
IL2CPP_EXTERN_C String_t* _stringLiteralD924CAE09D47CDF0481655AE527E8ADF940FF10E;
IL2CPP_EXTERN_C String_t* _stringLiteralD956959ACBEB8436506C180DF3D8E268AAA4C614;
IL2CPP_EXTERN_C String_t* _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
IL2CPP_EXTERN_C String_t* _stringLiteralE1AC4D20161E303D304EC6B1002667BE658488EE;
IL2CPP_EXTERN_C String_t* _stringLiteralE1E5CE10BE86E259146E8ADE82FB423C65C3FFD7;
IL2CPP_EXTERN_C String_t* _stringLiteralE2666F1B1EF39D348E39EC6CC2DDE8F96EBEEA0E;
IL2CPP_EXTERN_C String_t* _stringLiteralE3DFC065B6A6D9931B797808DD066491AAB82B29;
IL2CPP_EXTERN_C String_t* _stringLiteralE46DFB424F1D16B497976AB817F603BF3B170AF9;
IL2CPP_EXTERN_C String_t* _stringLiteralE4EE767F8D4A5FC13E8CF3DB41F06A5631E37D56;
IL2CPP_EXTERN_C String_t* _stringLiteralE5BEC2753A5201D97F16E51BDAFBB18987ECD93B;
IL2CPP_EXTERN_C String_t* _stringLiteralEB0FDB1D6EA8C345A32F7C7B64C24BEDF2AB6FFC;
IL2CPP_EXTERN_C String_t* _stringLiteralEC8D2B1EC3E954083D64BF4DDCCC9E46BE24B490;
IL2CPP_EXTERN_C String_t* _stringLiteralF0C6BCBD6A21B83CD30A85140E181D764C4E1198;
IL2CPP_EXTERN_C String_t* _stringLiteralF3E84B722399601AD7E281754E917478AA9AD48D;
IL2CPP_EXTERN_C String_t* _stringLiteralF3E8EFC0C8EF0E48C41E622D432E07CB573E6983;
IL2CPP_EXTERN_C String_t* _stringLiteralFD60316EE3ADB7B16A998DF8AE0D68C293F6622E;
IL2CPP_EXTERN_C String_t* _stringLiteralFDD3352BD99189DE5E9D144947AC562A510FA72E;
IL2CPP_EXTERN_C String_t* _stringLiteralFFF76791D0FE1272AD994E3611223AB6D219F5FC;
IL2CPP_EXTERN_C const RuntimeMethod* AndroidJNIHelper_CreateJavaProxy_mF3E9256AF65CC078B82DD0E1DC65306AA79DBBEC_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* AndroidJavaClass__ctor_m61AE95F9D20CA648AEFC18AE922FE70F0B90786F_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* AndroidJavaObject_CallStatic_TisAndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_mAD48C38D66AB67D0F0274D195F4A99CB7AB589F2_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* AndroidJavaObject_CallStatic_TisInt32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_mE6C2E19D140FDCD9C8736017AAA61A16904ADD63_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* AndroidJavaObject_Call_TisAndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_mC5ED59BBD9C24EFFD98D8C3819C7E15DFE08F412_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* AndroidJavaObject_Call_TisBoolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_m705BF7B215A83B7851B19591CE37DA93250C7A8A_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* AndroidJavaObject_Call_TisChar_tFF60D8E7E89A20BE2294A003734341BD1DF43E14_m5E5A9D2A5C78D0EC058BBE4A6EFDE1F1C042D19B_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* AndroidJavaObject_Call_TisDouble_t42821932CB52DE2057E685D0E1AF3DE5033D2181_mC771B88EC17F0B174134EC1218654F42A807A3B5_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* AndroidJavaObject_Call_TisInt16_tD0F031114106263BB459DA1F099FF9F42691295A_m01DA767827B3724380256A9F20BE680EE56B1C36_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* AndroidJavaObject_Call_TisInt32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_m02A4D4C9FD8B15173829454766683BA424408A2A_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* AndroidJavaObject_Call_TisInt64_t378EE0D608BD3107E77238E85F30D2BBD46981F3_m2E2FBAE10897A748859DD7EB19EBB1DB9BD02787_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* AndroidJavaObject_Call_TisSByte_t928712DD662DC29BA4FAAE8CE2230AFB23447F0B_m0E0C93662AE6147907838FA7BAC5DFFF12DA8CD2_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* AndroidJavaObject_Call_TisSingle_tE07797BA3C98D4CA9B5A19413C19A76688AB899E_m068E70BCBA9EACF8129B1C9F711D3132EB6C9061_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* AndroidJavaObject_Call_TisString_t_mB2E722C64FC7BD9F98B983053A6D3F9D94D355AE_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* AndroidJavaObject__ctor_m880F6533139DF0BD36C6EF428E45E9F44B6534A3_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* AndroidJavaProxy_Invoke_m0908B96EF03FC0465EAC584963213D227A3048D0_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* _AndroidJNIHelper_Box_m36D8F62AEE89925F24BEB84DD91A5FF771255E28_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* _AndroidJNIHelper_ConvertToJNIArray_m8254063CFA125088D840280AEF8C2ACF1B1ED4D9_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* _AndroidJNIHelper_CreateJNIArgArray_m6CAC58535CA8F9F1A7A4458BA1BC855CB46609E2_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* _AndroidJNIHelper_GetConstructorID_m0802B71B149170217E6FE75A7864A4BE7315215F_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* _AndroidJNIHelper_GetMethodID_m74B615C2438AF4A05F5FDA31F871AA641799CC9C_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* _AndroidJNIHelper_GetSignature_m4A272D66518BF9A4C746B02B91AAB1361293232C_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* _AndroidJNIHelper_UnboxArray_m6287C810F0A8190BA7A7D2B104437F28B785FE7F_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeType* AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4_0_0_0_var;
IL2CPP_EXTERN_C const RuntimeType* AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_0_0_0_var;
IL2CPP_EXTERN_C const RuntimeType* AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60_0_0_0_var;
IL2CPP_EXTERN_C const RuntimeType* Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_0_0_0_var;
IL2CPP_EXTERN_C const RuntimeType* Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_0_0_0_var;
IL2CPP_EXTERN_C const RuntimeType* Char_tFF60D8E7E89A20BE2294A003734341BD1DF43E14_0_0_0_var;
IL2CPP_EXTERN_C const RuntimeType* Double_t42821932CB52DE2057E685D0E1AF3DE5033D2181_0_0_0_var;
IL2CPP_EXTERN_C const RuntimeType* Int16_tD0F031114106263BB459DA1F099FF9F42691295A_0_0_0_var;
IL2CPP_EXTERN_C const RuntimeType* Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_0_0_0_var;
IL2CPP_EXTERN_C const RuntimeType* Int64_t378EE0D608BD3107E77238E85F30D2BBD46981F3_0_0_0_var;
IL2CPP_EXTERN_C const RuntimeType* RuntimeArray_0_0_0_var;
IL2CPP_EXTERN_C const RuntimeType* SByte_t928712DD662DC29BA4FAAE8CE2230AFB23447F0B_0_0_0_var;
IL2CPP_EXTERN_C const RuntimeType* Single_tE07797BA3C98D4CA9B5A19413C19A76688AB899E_0_0_0_var;
IL2CPP_EXTERN_C const RuntimeType* String_t_0_0_0_var;
struct Delegate_t_marshaled_com;
struct Delegate_t_marshaled_pinvoke;
struct Exception_t_marshaled_com;
struct Exception_t_marshaled_pinvoke;
struct AndroidJavaClassU5BU5D_t5344E3EB36AE15926FAFC0383431B20ADC393BCB;
struct AndroidJavaObjectU5BU5D_tEE28563C9013906CEB39794019A55F4BA5B06120;
struct BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C;
struct ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726;
struct CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34;
struct DelegateU5BU5D_t677D8FE08A5F99E8EE49150B73966CD6E9BF7DB8;
struct DoubleU5BU5D_t8E1B42EB2ABB79FBD193A6B8C8D97A7CDE44A4FB;
struct Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD;
struct Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32;
struct Int64U5BU5D_tCA61E42872C63A4286B24EEE6E0650143B43DCE6;
struct IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6;
struct ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE;
struct ParameterModifierU5BU5D_tFF6F73F1CFE837331D6AAA11CC78CE5D9B5F0A2B;
struct SByteU5BU5D_t7D94C53295E6116625EA7CC7DEA21FEDC39869E7;
struct SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA;
struct StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A;
struct TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755;
struct jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99;
IL2CPP_EXTERN_C_BEGIN
IL2CPP_EXTERN_C_END
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// <Module>
struct U3CModuleU3E_t16907FB6E08E92217A5123230DA0635610807D19
{
public:
public:
};
// System.Object
// UnityEngine.AndroidJNI
struct AndroidJNI_t4ADD4E8322A2E7638103A35259232E333D8ABF85 : public RuntimeObject
{
public:
public:
};
// UnityEngine.AndroidJNIHelper
struct AndroidJNIHelper_t42BC87A499D1F8E320AC8D663692540AA0DE2847 : public RuntimeObject
{
public:
public:
};
// UnityEngine.AndroidJNISafe
struct AndroidJNISafe_t2DF3C52D886D3CA488B0322BC39A0691F15EE27E : public RuntimeObject
{
public:
public:
};
// UnityEngine.AndroidJavaObject
struct AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E : public RuntimeObject
{
public:
// UnityEngine.GlobalJavaObjectRef UnityEngine.AndroidJavaObject::m_jobject
GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * ___m_jobject_1;
// UnityEngine.GlobalJavaObjectRef UnityEngine.AndroidJavaObject::m_jclass
GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * ___m_jclass_2;
public:
inline static int32_t get_offset_of_m_jobject_1() { return static_cast<int32_t>(offsetof(AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E, ___m_jobject_1)); }
inline GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * get_m_jobject_1() const { return ___m_jobject_1; }
inline GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 ** get_address_of_m_jobject_1() { return &___m_jobject_1; }
inline void set_m_jobject_1(GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * value)
{
___m_jobject_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_jobject_1), (void*)value);
}
inline static int32_t get_offset_of_m_jclass_2() { return static_cast<int32_t>(offsetof(AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E, ___m_jclass_2)); }
inline GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * get_m_jclass_2() const { return ___m_jclass_2; }
inline GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 ** get_address_of_m_jclass_2() { return &___m_jclass_2; }
inline void set_m_jclass_2(GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * value)
{
___m_jclass_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_jclass_2), (void*)value);
}
};
struct AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_StaticFields
{
public:
// System.Boolean UnityEngine.AndroidJavaObject::enableDebugPrints
bool ___enableDebugPrints_0;
public:
inline static int32_t get_offset_of_enableDebugPrints_0() { return static_cast<int32_t>(offsetof(AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_StaticFields, ___enableDebugPrints_0)); }
inline bool get_enableDebugPrints_0() const { return ___enableDebugPrints_0; }
inline bool* get_address_of_enableDebugPrints_0() { return &___enableDebugPrints_0; }
inline void set_enableDebugPrints_0(bool value)
{
___enableDebugPrints_0 = value;
}
};
struct Il2CppArrayBounds;
// System.Array
// System.Reflection.Binder
struct Binder_t2BEE27FD84737D1E79BC47FD67F6D3DD2F2DDA30 : public RuntimeObject
{
public:
public:
};
// System.Reflection.MemberInfo
struct MemberInfo_t : public RuntimeObject
{
public:
public:
};
// System.String
struct String_t : public RuntimeObject
{
public:
// System.Int32 System.String::m_stringLength
int32_t ___m_stringLength_0;
// System.Char System.String::m_firstChar
Il2CppChar ___m_firstChar_1;
public:
inline static int32_t get_offset_of_m_stringLength_0() { return static_cast<int32_t>(offsetof(String_t, ___m_stringLength_0)); }
inline int32_t get_m_stringLength_0() const { return ___m_stringLength_0; }
inline int32_t* get_address_of_m_stringLength_0() { return &___m_stringLength_0; }
inline void set_m_stringLength_0(int32_t value)
{
___m_stringLength_0 = value;
}
inline static int32_t get_offset_of_m_firstChar_1() { return static_cast<int32_t>(offsetof(String_t, ___m_firstChar_1)); }
inline Il2CppChar get_m_firstChar_1() const { return ___m_firstChar_1; }
inline Il2CppChar* get_address_of_m_firstChar_1() { return &___m_firstChar_1; }
inline void set_m_firstChar_1(Il2CppChar value)
{
___m_firstChar_1 = value;
}
};
struct String_t_StaticFields
{
public:
// System.String System.String::Empty
String_t* ___Empty_5;
public:
inline static int32_t get_offset_of_Empty_5() { return static_cast<int32_t>(offsetof(String_t_StaticFields, ___Empty_5)); }
inline String_t* get_Empty_5() const { return ___Empty_5; }
inline String_t** get_address_of_Empty_5() { return &___Empty_5; }
inline void set_Empty_5(String_t* value)
{
___Empty_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Empty_5), (void*)value);
}
};
// System.Text.StringBuilder
struct StringBuilder_t : public RuntimeObject
{
public:
// System.Char[] System.Text.StringBuilder::m_ChunkChars
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* ___m_ChunkChars_0;
// System.Text.StringBuilder System.Text.StringBuilder::m_ChunkPrevious
StringBuilder_t * ___m_ChunkPrevious_1;
// System.Int32 System.Text.StringBuilder::m_ChunkLength
int32_t ___m_ChunkLength_2;
// System.Int32 System.Text.StringBuilder::m_ChunkOffset
int32_t ___m_ChunkOffset_3;
// System.Int32 System.Text.StringBuilder::m_MaxCapacity
int32_t ___m_MaxCapacity_4;
public:
inline static int32_t get_offset_of_m_ChunkChars_0() { return static_cast<int32_t>(offsetof(StringBuilder_t, ___m_ChunkChars_0)); }
inline CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* get_m_ChunkChars_0() const { return ___m_ChunkChars_0; }
inline CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34** get_address_of_m_ChunkChars_0() { return &___m_ChunkChars_0; }
inline void set_m_ChunkChars_0(CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* value)
{
___m_ChunkChars_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_ChunkChars_0), (void*)value);
}
inline static int32_t get_offset_of_m_ChunkPrevious_1() { return static_cast<int32_t>(offsetof(StringBuilder_t, ___m_ChunkPrevious_1)); }
inline StringBuilder_t * get_m_ChunkPrevious_1() const { return ___m_ChunkPrevious_1; }
inline StringBuilder_t ** get_address_of_m_ChunkPrevious_1() { return &___m_ChunkPrevious_1; }
inline void set_m_ChunkPrevious_1(StringBuilder_t * value)
{
___m_ChunkPrevious_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_ChunkPrevious_1), (void*)value);
}
inline static int32_t get_offset_of_m_ChunkLength_2() { return static_cast<int32_t>(offsetof(StringBuilder_t, ___m_ChunkLength_2)); }
inline int32_t get_m_ChunkLength_2() const { return ___m_ChunkLength_2; }
inline int32_t* get_address_of_m_ChunkLength_2() { return &___m_ChunkLength_2; }
inline void set_m_ChunkLength_2(int32_t value)
{
___m_ChunkLength_2 = value;
}
inline static int32_t get_offset_of_m_ChunkOffset_3() { return static_cast<int32_t>(offsetof(StringBuilder_t, ___m_ChunkOffset_3)); }
inline int32_t get_m_ChunkOffset_3() const { return ___m_ChunkOffset_3; }
inline int32_t* get_address_of_m_ChunkOffset_3() { return &___m_ChunkOffset_3; }
inline void set_m_ChunkOffset_3(int32_t value)
{
___m_ChunkOffset_3 = value;
}
inline static int32_t get_offset_of_m_MaxCapacity_4() { return static_cast<int32_t>(offsetof(StringBuilder_t, ___m_MaxCapacity_4)); }
inline int32_t get_m_MaxCapacity_4() const { return ___m_MaxCapacity_4; }
inline int32_t* get_address_of_m_MaxCapacity_4() { return &___m_MaxCapacity_4; }
inline void set_m_MaxCapacity_4(int32_t value)
{
___m_MaxCapacity_4 = value;
}
};
// System.ValueType
struct ValueType_tDBF999C1B75C48C68621878250DBF6CDBCF51E52 : public RuntimeObject
{
public:
public:
};
// Native definition for P/Invoke marshalling of System.ValueType
struct ValueType_tDBF999C1B75C48C68621878250DBF6CDBCF51E52_marshaled_pinvoke
{
};
// Native definition for COM marshalling of System.ValueType
struct ValueType_tDBF999C1B75C48C68621878250DBF6CDBCF51E52_marshaled_com
{
};
// UnityEngine._AndroidJNIHelper
struct _AndroidJNIHelper_t664F535B46589884A627F66F98A451D1CD48F76B : public RuntimeObject
{
public:
public:
};
// UnityEngine.AndroidJavaClass
struct AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 : public AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E
{
public:
public:
};
// System.Boolean
struct Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37
{
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_t07D1E3F34E4813023D64F584DFF7B34C9D922F37, ___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_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_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_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_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_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_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.Byte
struct Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056
{
public:
// System.Byte System.Byte::m_value
uint8_t ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056, ___m_value_0)); }
inline uint8_t get_m_value_0() const { return ___m_value_0; }
inline uint8_t* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(uint8_t value)
{
___m_value_0 = value;
}
};
// System.Char
struct Char_tFF60D8E7E89A20BE2294A003734341BD1DF43E14
{
public:
// System.Char System.Char::m_value
Il2CppChar ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Char_tFF60D8E7E89A20BE2294A003734341BD1DF43E14, ___m_value_0)); }
inline Il2CppChar get_m_value_0() const { return ___m_value_0; }
inline Il2CppChar* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(Il2CppChar value)
{
___m_value_0 = value;
}
};
struct Char_tFF60D8E7E89A20BE2294A003734341BD1DF43E14_StaticFields
{
public:
// System.Byte[] System.Char::categoryForLatin1
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___categoryForLatin1_3;
public:
inline static int32_t get_offset_of_categoryForLatin1_3() { return static_cast<int32_t>(offsetof(Char_tFF60D8E7E89A20BE2294A003734341BD1DF43E14_StaticFields, ___categoryForLatin1_3)); }
inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_categoryForLatin1_3() const { return ___categoryForLatin1_3; }
inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_categoryForLatin1_3() { return &___categoryForLatin1_3; }
inline void set_categoryForLatin1_3(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
{
___categoryForLatin1_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___categoryForLatin1_3), (void*)value);
}
};
// System.Double
struct Double_t42821932CB52DE2057E685D0E1AF3DE5033D2181
{
public:
// System.Double System.Double::m_value
double ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Double_t42821932CB52DE2057E685D0E1AF3DE5033D2181, ___m_value_0)); }
inline double get_m_value_0() const { return ___m_value_0; }
inline double* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(double value)
{
___m_value_0 = value;
}
};
struct Double_t42821932CB52DE2057E685D0E1AF3DE5033D2181_StaticFields
{
public:
// System.Double System.Double::NegativeZero
double ___NegativeZero_7;
public:
inline static int32_t get_offset_of_NegativeZero_7() { return static_cast<int32_t>(offsetof(Double_t42821932CB52DE2057E685D0E1AF3DE5033D2181_StaticFields, ___NegativeZero_7)); }
inline double get_NegativeZero_7() const { return ___NegativeZero_7; }
inline double* get_address_of_NegativeZero_7() { return &___NegativeZero_7; }
inline void set_NegativeZero_7(double value)
{
___NegativeZero_7 = value;
}
};
// System.Enum
struct Enum_t23B90B40F60E677A8025267341651C94AE079CDA : public ValueType_tDBF999C1B75C48C68621878250DBF6CDBCF51E52
{
public:
public:
};
struct Enum_t23B90B40F60E677A8025267341651C94AE079CDA_StaticFields
{
public:
// System.Char[] System.Enum::enumSeperatorCharArray
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* ___enumSeperatorCharArray_0;
public:
inline static int32_t get_offset_of_enumSeperatorCharArray_0() { return static_cast<int32_t>(offsetof(Enum_t23B90B40F60E677A8025267341651C94AE079CDA_StaticFields, ___enumSeperatorCharArray_0)); }
inline CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* get_enumSeperatorCharArray_0() const { return ___enumSeperatorCharArray_0; }
inline CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34** get_address_of_enumSeperatorCharArray_0() { return &___enumSeperatorCharArray_0; }
inline void set_enumSeperatorCharArray_0(CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* value)
{
___enumSeperatorCharArray_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___enumSeperatorCharArray_0), (void*)value);
}
};
// Native definition for P/Invoke marshalling of System.Enum
struct Enum_t23B90B40F60E677A8025267341651C94AE079CDA_marshaled_pinvoke
{
};
// Native definition for COM marshalling of System.Enum
struct Enum_t23B90B40F60E677A8025267341651C94AE079CDA_marshaled_com
{
};
// System.Runtime.InteropServices.GCHandle
struct GCHandle_t757890BC4BBBEDE5A623A3C110013EDD24613603
{
public:
// System.Int32 System.Runtime.InteropServices.GCHandle::handle
int32_t ___handle_0;
public:
inline static int32_t get_offset_of_handle_0() { return static_cast<int32_t>(offsetof(GCHandle_t757890BC4BBBEDE5A623A3C110013EDD24613603, ___handle_0)); }
inline int32_t get_handle_0() const { return ___handle_0; }
inline int32_t* get_address_of_handle_0() { return &___handle_0; }
inline void set_handle_0(int32_t value)
{
___handle_0 = value;
}
};
// System.Int16
struct Int16_tD0F031114106263BB459DA1F099FF9F42691295A
{
public:
// System.Int16 System.Int16::m_value
int16_t ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Int16_tD0F031114106263BB459DA1F099FF9F42691295A, ___m_value_0)); }
inline int16_t get_m_value_0() const { return ___m_value_0; }
inline int16_t* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(int16_t value)
{
___m_value_0 = value;
}
};
// System.Int32
struct Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046
{
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_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046, ___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.Int64
struct Int64_t378EE0D608BD3107E77238E85F30D2BBD46981F3
{
public:
// System.Int64 System.Int64::m_value
int64_t ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Int64_t378EE0D608BD3107E77238E85F30D2BBD46981F3, ___m_value_0)); }
inline int64_t get_m_value_0() const { return ___m_value_0; }
inline int64_t* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(int64_t value)
{
___m_value_0 = value;
}
};
// System.IntPtr
struct IntPtr_t
{
public:
// System.Void* System.IntPtr::m_value
void* ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(IntPtr_t, ___m_value_0)); }
inline void* get_m_value_0() const { return ___m_value_0; }
inline void** get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(void* value)
{
___m_value_0 = value;
}
};
struct IntPtr_t_StaticFields
{
public:
// System.IntPtr System.IntPtr::Zero
intptr_t ___Zero_1;
public:
inline static int32_t get_offset_of_Zero_1() { return static_cast<int32_t>(offsetof(IntPtr_t_StaticFields, ___Zero_1)); }
inline intptr_t get_Zero_1() const { return ___Zero_1; }
inline intptr_t* get_address_of_Zero_1() { return &___Zero_1; }
inline void set_Zero_1(intptr_t value)
{
___Zero_1 = value;
}
};
// System.Reflection.MethodBase
struct MethodBase_t : public MemberInfo_t
{
public:
public:
};
// System.Reflection.ParameterModifier
struct ParameterModifier_tC1C793BD8B003B24010657487AFD17A4BA3DF6EA
{
public:
// System.Boolean[] System.Reflection.ParameterModifier::_byRef
BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C* ____byRef_0;
public:
inline static int32_t get_offset_of__byRef_0() { return static_cast<int32_t>(offsetof(ParameterModifier_tC1C793BD8B003B24010657487AFD17A4BA3DF6EA, ____byRef_0)); }
inline BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C* get__byRef_0() const { return ____byRef_0; }
inline BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C** get_address_of__byRef_0() { return &____byRef_0; }
inline void set__byRef_0(BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C* value)
{
____byRef_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&____byRef_0), (void*)value);
}
};
// Native definition for P/Invoke marshalling of System.Reflection.ParameterModifier
struct ParameterModifier_tC1C793BD8B003B24010657487AFD17A4BA3DF6EA_marshaled_pinvoke
{
int32_t* ____byRef_0;
};
// Native definition for COM marshalling of System.Reflection.ParameterModifier
struct ParameterModifier_tC1C793BD8B003B24010657487AFD17A4BA3DF6EA_marshaled_com
{
int32_t* ____byRef_0;
};
// System.SByte
struct SByte_t928712DD662DC29BA4FAAE8CE2230AFB23447F0B
{
public:
// System.SByte System.SByte::m_value
int8_t ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(SByte_t928712DD662DC29BA4FAAE8CE2230AFB23447F0B, ___m_value_0)); }
inline int8_t get_m_value_0() const { return ___m_value_0; }
inline int8_t* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(int8_t value)
{
___m_value_0 = value;
}
};
// System.Single
struct Single_tE07797BA3C98D4CA9B5A19413C19A76688AB899E
{
public:
// System.Single System.Single::m_value
float ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Single_tE07797BA3C98D4CA9B5A19413C19A76688AB899E, ___m_value_0)); }
inline float get_m_value_0() const { return ___m_value_0; }
inline float* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(float value)
{
___m_value_0 = value;
}
};
// System.Void
struct Void_t700C6383A2A510C2CF4DD86DABD5CA9FF70ADAC5
{
public:
union
{
struct
{
};
uint8_t Void_t700C6383A2A510C2CF4DD86DABD5CA9FF70ADAC5__padding[1];
};
public:
};
// UnityEngine.AndroidJavaProxy
struct AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF : public RuntimeObject
{
public:
// UnityEngine.AndroidJavaClass UnityEngine.AndroidJavaProxy::javaInterface
AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 * ___javaInterface_0;
// System.IntPtr UnityEngine.AndroidJavaProxy::proxyObject
intptr_t ___proxyObject_1;
public:
inline static int32_t get_offset_of_javaInterface_0() { return static_cast<int32_t>(offsetof(AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF, ___javaInterface_0)); }
inline AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 * get_javaInterface_0() const { return ___javaInterface_0; }
inline AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 ** get_address_of_javaInterface_0() { return &___javaInterface_0; }
inline void set_javaInterface_0(AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 * value)
{
___javaInterface_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___javaInterface_0), (void*)value);
}
inline static int32_t get_offset_of_proxyObject_1() { return static_cast<int32_t>(offsetof(AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF, ___proxyObject_1)); }
inline intptr_t get_proxyObject_1() const { return ___proxyObject_1; }
inline intptr_t* get_address_of_proxyObject_1() { return &___proxyObject_1; }
inline void set_proxyObject_1(intptr_t value)
{
___proxyObject_1 = value;
}
};
struct AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF_StaticFields
{
public:
// UnityEngine.GlobalJavaObjectRef UnityEngine.AndroidJavaProxy::s_JavaLangSystemClass
GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * ___s_JavaLangSystemClass_2;
// System.IntPtr UnityEngine.AndroidJavaProxy::s_HashCodeMethodID
intptr_t ___s_HashCodeMethodID_3;
public:
inline static int32_t get_offset_of_s_JavaLangSystemClass_2() { return static_cast<int32_t>(offsetof(AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF_StaticFields, ___s_JavaLangSystemClass_2)); }
inline GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * get_s_JavaLangSystemClass_2() const { return ___s_JavaLangSystemClass_2; }
inline GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 ** get_address_of_s_JavaLangSystemClass_2() { return &___s_JavaLangSystemClass_2; }
inline void set_s_JavaLangSystemClass_2(GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * value)
{
___s_JavaLangSystemClass_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_JavaLangSystemClass_2), (void*)value);
}
inline static int32_t get_offset_of_s_HashCodeMethodID_3() { return static_cast<int32_t>(offsetof(AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF_StaticFields, ___s_HashCodeMethodID_3)); }
inline intptr_t get_s_HashCodeMethodID_3() const { return ___s_HashCodeMethodID_3; }
inline intptr_t* get_address_of_s_HashCodeMethodID_3() { return &___s_HashCodeMethodID_3; }
inline void set_s_HashCodeMethodID_3(intptr_t value)
{
___s_HashCodeMethodID_3 = value;
}
};
// UnityEngine.AndroidReflection
struct AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16 : public RuntimeObject
{
public:
public:
};
struct AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_StaticFields
{
public:
// UnityEngine.GlobalJavaObjectRef UnityEngine.AndroidReflection::s_ReflectionHelperClass
GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * ___s_ReflectionHelperClass_0;
// System.IntPtr UnityEngine.AndroidReflection::s_ReflectionHelperGetConstructorID
intptr_t ___s_ReflectionHelperGetConstructorID_1;
// System.IntPtr UnityEngine.AndroidReflection::s_ReflectionHelperGetMethodID
intptr_t ___s_ReflectionHelperGetMethodID_2;
// System.IntPtr UnityEngine.AndroidReflection::s_ReflectionHelperGetFieldID
intptr_t ___s_ReflectionHelperGetFieldID_3;
// System.IntPtr UnityEngine.AndroidReflection::s_ReflectionHelperGetFieldSignature
intptr_t ___s_ReflectionHelperGetFieldSignature_4;
// System.IntPtr UnityEngine.AndroidReflection::s_ReflectionHelperNewProxyInstance
intptr_t ___s_ReflectionHelperNewProxyInstance_5;
// System.IntPtr UnityEngine.AndroidReflection::s_ReflectionHelperSetNativeExceptionOnProxy
intptr_t ___s_ReflectionHelperSetNativeExceptionOnProxy_6;
// System.IntPtr UnityEngine.AndroidReflection::s_FieldGetDeclaringClass
intptr_t ___s_FieldGetDeclaringClass_7;
public:
inline static int32_t get_offset_of_s_ReflectionHelperClass_0() { return static_cast<int32_t>(offsetof(AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_StaticFields, ___s_ReflectionHelperClass_0)); }
inline GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * get_s_ReflectionHelperClass_0() const { return ___s_ReflectionHelperClass_0; }
inline GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 ** get_address_of_s_ReflectionHelperClass_0() { return &___s_ReflectionHelperClass_0; }
inline void set_s_ReflectionHelperClass_0(GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * value)
{
___s_ReflectionHelperClass_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_ReflectionHelperClass_0), (void*)value);
}
inline static int32_t get_offset_of_s_ReflectionHelperGetConstructorID_1() { return static_cast<int32_t>(offsetof(AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_StaticFields, ___s_ReflectionHelperGetConstructorID_1)); }
inline intptr_t get_s_ReflectionHelperGetConstructorID_1() const { return ___s_ReflectionHelperGetConstructorID_1; }
inline intptr_t* get_address_of_s_ReflectionHelperGetConstructorID_1() { return &___s_ReflectionHelperGetConstructorID_1; }
inline void set_s_ReflectionHelperGetConstructorID_1(intptr_t value)
{
___s_ReflectionHelperGetConstructorID_1 = value;
}
inline static int32_t get_offset_of_s_ReflectionHelperGetMethodID_2() { return static_cast<int32_t>(offsetof(AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_StaticFields, ___s_ReflectionHelperGetMethodID_2)); }
inline intptr_t get_s_ReflectionHelperGetMethodID_2() const { return ___s_ReflectionHelperGetMethodID_2; }
inline intptr_t* get_address_of_s_ReflectionHelperGetMethodID_2() { return &___s_ReflectionHelperGetMethodID_2; }
inline void set_s_ReflectionHelperGetMethodID_2(intptr_t value)
{
___s_ReflectionHelperGetMethodID_2 = value;
}
inline static int32_t get_offset_of_s_ReflectionHelperGetFieldID_3() { return static_cast<int32_t>(offsetof(AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_StaticFields, ___s_ReflectionHelperGetFieldID_3)); }
inline intptr_t get_s_ReflectionHelperGetFieldID_3() const { return ___s_ReflectionHelperGetFieldID_3; }
inline intptr_t* get_address_of_s_ReflectionHelperGetFieldID_3() { return &___s_ReflectionHelperGetFieldID_3; }
inline void set_s_ReflectionHelperGetFieldID_3(intptr_t value)
{
___s_ReflectionHelperGetFieldID_3 = value;
}
inline static int32_t get_offset_of_s_ReflectionHelperGetFieldSignature_4() { return static_cast<int32_t>(offsetof(AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_StaticFields, ___s_ReflectionHelperGetFieldSignature_4)); }
inline intptr_t get_s_ReflectionHelperGetFieldSignature_4() const { return ___s_ReflectionHelperGetFieldSignature_4; }
inline intptr_t* get_address_of_s_ReflectionHelperGetFieldSignature_4() { return &___s_ReflectionHelperGetFieldSignature_4; }
inline void set_s_ReflectionHelperGetFieldSignature_4(intptr_t value)
{
___s_ReflectionHelperGetFieldSignature_4 = value;
}
inline static int32_t get_offset_of_s_ReflectionHelperNewProxyInstance_5() { return static_cast<int32_t>(offsetof(AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_StaticFields, ___s_ReflectionHelperNewProxyInstance_5)); }
inline intptr_t get_s_ReflectionHelperNewProxyInstance_5() const { return ___s_ReflectionHelperNewProxyInstance_5; }
inline intptr_t* get_address_of_s_ReflectionHelperNewProxyInstance_5() { return &___s_ReflectionHelperNewProxyInstance_5; }
inline void set_s_ReflectionHelperNewProxyInstance_5(intptr_t value)
{
___s_ReflectionHelperNewProxyInstance_5 = value;
}
inline static int32_t get_offset_of_s_ReflectionHelperSetNativeExceptionOnProxy_6() { return static_cast<int32_t>(offsetof(AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_StaticFields, ___s_ReflectionHelperSetNativeExceptionOnProxy_6)); }
inline intptr_t get_s_ReflectionHelperSetNativeExceptionOnProxy_6() const { return ___s_ReflectionHelperSetNativeExceptionOnProxy_6; }
inline intptr_t* get_address_of_s_ReflectionHelperSetNativeExceptionOnProxy_6() { return &___s_ReflectionHelperSetNativeExceptionOnProxy_6; }
inline void set_s_ReflectionHelperSetNativeExceptionOnProxy_6(intptr_t value)
{
___s_ReflectionHelperSetNativeExceptionOnProxy_6 = value;
}
inline static int32_t get_offset_of_s_FieldGetDeclaringClass_7() { return static_cast<int32_t>(offsetof(AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_StaticFields, ___s_FieldGetDeclaringClass_7)); }
inline intptr_t get_s_FieldGetDeclaringClass_7() const { return ___s_FieldGetDeclaringClass_7; }
inline intptr_t* get_address_of_s_FieldGetDeclaringClass_7() { return &___s_FieldGetDeclaringClass_7; }
inline void set_s_FieldGetDeclaringClass_7(intptr_t value)
{
___s_FieldGetDeclaringClass_7 = value;
}
};
// System.Reflection.BindingFlags
struct BindingFlags_tAAAB07D9AC588F0D55D844E51D7035E96DF94733
{
public:
// System.Int32 System.Reflection.BindingFlags::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(BindingFlags_tAAAB07D9AC588F0D55D844E51D7035E96DF94733, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.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_t17DD30660E330C49381DAA99F934BE75CB11F288 * ___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_t17DD30660E330C49381DAA99F934BE75CB11F288 * get_data_9() const { return ___data_9; }
inline DelegateData_t17DD30660E330C49381DAA99F934BE75CB11F288 ** get_address_of_data_9() { return &___data_9; }
inline void set_data_9(DelegateData_t17DD30660E330C49381DAA99F934BE75CB11F288 * 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_t17DD30660E330C49381DAA99F934BE75CB11F288 * ___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_t17DD30660E330C49381DAA99F934BE75CB11F288 * ___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_tDE44F029589A028F8A3053C5C06153FAB4AAE29F * ____safeSerializationManager_13;
// System.Diagnostics.StackTrace[] System.Exception::captured_traces
StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971* ___captured_traces_14;
// System.IntPtr[] System.Exception::native_trace_ips
IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6* ___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_tDE44F029589A028F8A3053C5C06153FAB4AAE29F * get__safeSerializationManager_13() const { return ____safeSerializationManager_13; }
inline SafeSerializationManager_tDE44F029589A028F8A3053C5C06153FAB4AAE29F ** get_address_of__safeSerializationManager_13() { return &____safeSerializationManager_13; }
inline void set__safeSerializationManager_13(SafeSerializationManager_tDE44F029589A028F8A3053C5C06153FAB4AAE29F * 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_t4AD999C288CB6D1F38A299D12B1598D606588971* get_captured_traces_14() const { return ___captured_traces_14; }
inline StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971** get_address_of_captured_traces_14() { return &___captured_traces_14; }
inline void set_captured_traces_14(StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971* 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_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6* get_native_trace_ips_15() const { return ___native_trace_ips_15; }
inline IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6** get_address_of_native_trace_ips_15() { return &___native_trace_ips_15; }
inline void set_native_trace_ips_15(IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6* 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_tDE44F029589A028F8A3053C5C06153FAB4AAE29F * ____safeSerializationManager_13;
StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971* ___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_tDE44F029589A028F8A3053C5C06153FAB4AAE29F * ____safeSerializationManager_13;
StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971* ___captured_traces_14;
Il2CppSafeArray/*NONE*/* ___native_trace_ips_15;
};
// UnityEngine.GlobalJavaObjectRef
struct GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 : public RuntimeObject
{
public:
// System.Boolean UnityEngine.GlobalJavaObjectRef::m_disposed
bool ___m_disposed_0;
// System.IntPtr UnityEngine.GlobalJavaObjectRef::m_jobject
intptr_t ___m_jobject_1;
public:
inline static int32_t get_offset_of_m_disposed_0() { return static_cast<int32_t>(offsetof(GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289, ___m_disposed_0)); }
inline bool get_m_disposed_0() const { return ___m_disposed_0; }
inline bool* get_address_of_m_disposed_0() { return &___m_disposed_0; }
inline void set_m_disposed_0(bool value)
{
___m_disposed_0 = value;
}
inline static int32_t get_offset_of_m_jobject_1() { return static_cast<int32_t>(offsetof(GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289, ___m_jobject_1)); }
inline intptr_t get_m_jobject_1() const { return ___m_jobject_1; }
inline intptr_t* get_address_of_m_jobject_1() { return &___m_jobject_1; }
inline void set_m_jobject_1(intptr_t value)
{
___m_jobject_1 = value;
}
};
// System.Reflection.MethodInfo
struct MethodInfo_t : public MethodBase_t
{
public:
public:
};
// System.RuntimeTypeHandle
struct RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9
{
public:
// System.IntPtr System.RuntimeTypeHandle::value
intptr_t ___value_0;
public:
inline static int32_t get_offset_of_value_0() { return static_cast<int32_t>(offsetof(RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9, ___value_0)); }
inline intptr_t get_value_0() const { return ___value_0; }
inline intptr_t* get_address_of_value_0() { return &___value_0; }
inline void set_value_0(intptr_t value)
{
___value_0 = value;
}
};
// UnityEngine.jvalue
struct jvalue_t220BECEE73180D6A4DE0F66CB6BA852EC6A5B587
{
public:
union
{
#pragma pack(push, tp, 1)
struct
{
// System.Boolean UnityEngine.jvalue::z
bool ___z_0;
};
#pragma pack(pop, tp)
struct
{
bool ___z_0_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
// System.SByte UnityEngine.jvalue::b
int8_t ___b_1;
};
#pragma pack(pop, tp)
struct
{
int8_t ___b_1_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
// System.Char UnityEngine.jvalue::c
Il2CppChar ___c_2;
};
#pragma pack(pop, tp)
struct
{
Il2CppChar ___c_2_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
// System.Int16 UnityEngine.jvalue::s
int16_t ___s_3;
};
#pragma pack(pop, tp)
struct
{
int16_t ___s_3_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
// System.Int32 UnityEngine.jvalue::i
int32_t ___i_4;
};
#pragma pack(pop, tp)
struct
{
int32_t ___i_4_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
// System.Int64 UnityEngine.jvalue::j
int64_t ___j_5;
};
#pragma pack(pop, tp)
struct
{
int64_t ___j_5_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
// System.Single UnityEngine.jvalue::f
float ___f_6;
};
#pragma pack(pop, tp)
struct
{
float ___f_6_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
// System.Double UnityEngine.jvalue::d
double ___d_7;
};
#pragma pack(pop, tp)
struct
{
double ___d_7_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
// System.IntPtr UnityEngine.jvalue::l
intptr_t ___l_8;
};
#pragma pack(pop, tp)
struct
{
intptr_t ___l_8_forAlignmentOnly;
};
};
public:
inline static int32_t get_offset_of_z_0() { return static_cast<int32_t>(offsetof(jvalue_t220BECEE73180D6A4DE0F66CB6BA852EC6A5B587, ___z_0)); }
inline bool get_z_0() const { return ___z_0; }
inline bool* get_address_of_z_0() { return &___z_0; }
inline void set_z_0(bool value)
{
___z_0 = value;
}
inline static int32_t get_offset_of_b_1() { return static_cast<int32_t>(offsetof(jvalue_t220BECEE73180D6A4DE0F66CB6BA852EC6A5B587, ___b_1)); }
inline int8_t get_b_1() const { return ___b_1; }
inline int8_t* get_address_of_b_1() { return &___b_1; }
inline void set_b_1(int8_t value)
{
___b_1 = value;
}
inline static int32_t get_offset_of_c_2() { return static_cast<int32_t>(offsetof(jvalue_t220BECEE73180D6A4DE0F66CB6BA852EC6A5B587, ___c_2)); }
inline Il2CppChar get_c_2() const { return ___c_2; }
inline Il2CppChar* get_address_of_c_2() { return &___c_2; }
inline void set_c_2(Il2CppChar value)
{
___c_2 = value;
}
inline static int32_t get_offset_of_s_3() { return static_cast<int32_t>(offsetof(jvalue_t220BECEE73180D6A4DE0F66CB6BA852EC6A5B587, ___s_3)); }
inline int16_t get_s_3() const { return ___s_3; }
inline int16_t* get_address_of_s_3() { return &___s_3; }
inline void set_s_3(int16_t value)
{
___s_3 = value;
}
inline static int32_t get_offset_of_i_4() { return static_cast<int32_t>(offsetof(jvalue_t220BECEE73180D6A4DE0F66CB6BA852EC6A5B587, ___i_4)); }
inline int32_t get_i_4() const { return ___i_4; }
inline int32_t* get_address_of_i_4() { return &___i_4; }
inline void set_i_4(int32_t value)
{
___i_4 = value;
}
inline static int32_t get_offset_of_j_5() { return static_cast<int32_t>(offsetof(jvalue_t220BECEE73180D6A4DE0F66CB6BA852EC6A5B587, ___j_5)); }
inline int64_t get_j_5() const { return ___j_5; }
inline int64_t* get_address_of_j_5() { return &___j_5; }
inline void set_j_5(int64_t value)
{
___j_5 = value;
}
inline static int32_t get_offset_of_f_6() { return static_cast<int32_t>(offsetof(jvalue_t220BECEE73180D6A4DE0F66CB6BA852EC6A5B587, ___f_6)); }
inline float get_f_6() const { return ___f_6; }
inline float* get_address_of_f_6() { return &___f_6; }
inline void set_f_6(float value)
{
___f_6 = value;
}
inline static int32_t get_offset_of_d_7() { return static_cast<int32_t>(offsetof(jvalue_t220BECEE73180D6A4DE0F66CB6BA852EC6A5B587, ___d_7)); }
inline double get_d_7() const { return ___d_7; }
inline double* get_address_of_d_7() { return &___d_7; }
inline void set_d_7(double value)
{
___d_7 = value;
}
inline static int32_t get_offset_of_l_8() { return static_cast<int32_t>(offsetof(jvalue_t220BECEE73180D6A4DE0F66CB6BA852EC6A5B587, ___l_8)); }
inline intptr_t get_l_8() const { return ___l_8; }
inline intptr_t* get_address_of_l_8() { return &___l_8; }
inline void set_l_8(intptr_t value)
{
___l_8 = value;
}
};
// Native definition for P/Invoke marshalling of UnityEngine.jvalue
struct jvalue_t220BECEE73180D6A4DE0F66CB6BA852EC6A5B587_marshaled_pinvoke
{
union
{
#pragma pack(push, tp, 1)
struct
{
int32_t ___z_0;
};
#pragma pack(pop, tp)
struct
{
int32_t ___z_0_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
int8_t ___b_1;
};
#pragma pack(pop, tp)
struct
{
int8_t ___b_1_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
uint8_t ___c_2;
};
#pragma pack(pop, tp)
struct
{
uint8_t ___c_2_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
int16_t ___s_3;
};
#pragma pack(pop, tp)
struct
{
int16_t ___s_3_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
int32_t ___i_4;
};
#pragma pack(pop, tp)
struct
{
int32_t ___i_4_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
int64_t ___j_5;
};
#pragma pack(pop, tp)
struct
{
int64_t ___j_5_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
float ___f_6;
};
#pragma pack(pop, tp)
struct
{
float ___f_6_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
double ___d_7;
};
#pragma pack(pop, tp)
struct
{
double ___d_7_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
intptr_t ___l_8;
};
#pragma pack(pop, tp)
struct
{
intptr_t ___l_8_forAlignmentOnly;
};
};
};
// Native definition for COM marshalling of UnityEngine.jvalue
struct jvalue_t220BECEE73180D6A4DE0F66CB6BA852EC6A5B587_marshaled_com
{
union
{
#pragma pack(push, tp, 1)
struct
{
int32_t ___z_0;
};
#pragma pack(pop, tp)
struct
{
int32_t ___z_0_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
int8_t ___b_1;
};
#pragma pack(pop, tp)
struct
{
int8_t ___b_1_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
uint8_t ___c_2;
};
#pragma pack(pop, tp)
struct
{
uint8_t ___c_2_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
int16_t ___s_3;
};
#pragma pack(pop, tp)
struct
{
int16_t ___s_3_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
int32_t ___i_4;
};
#pragma pack(pop, tp)
struct
{
int32_t ___i_4_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
int64_t ___j_5;
};
#pragma pack(pop, tp)
struct
{
int64_t ___j_5_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
float ___f_6;
};
#pragma pack(pop, tp)
struct
{
float ___f_6_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
double ___d_7;
};
#pragma pack(pop, tp)
struct
{
double ___d_7_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
intptr_t ___l_8;
};
#pragma pack(pop, tp)
struct
{
intptr_t ___l_8_forAlignmentOnly;
};
};
};
// UnityEngine.AndroidJavaException
struct AndroidJavaException_tA371556A4C19FBFA201DD4939DFA781D109B243D : public Exception_t
{
public:
// System.String UnityEngine.AndroidJavaException::mJavaStackTrace
String_t* ___mJavaStackTrace_17;
public:
inline static int32_t get_offset_of_mJavaStackTrace_17() { return static_cast<int32_t>(offsetof(AndroidJavaException_tA371556A4C19FBFA201DD4939DFA781D109B243D, ___mJavaStackTrace_17)); }
inline String_t* get_mJavaStackTrace_17() const { return ___mJavaStackTrace_17; }
inline String_t** get_address_of_mJavaStackTrace_17() { return &___mJavaStackTrace_17; }
inline void set_mJavaStackTrace_17(String_t* value)
{
___mJavaStackTrace_17 = value;
Il2CppCodeGenWriteBarrier((void**)(&___mJavaStackTrace_17), (void*)value);
}
};
// UnityEngine.AndroidJavaRunnableProxy
struct AndroidJavaRunnableProxy_t17D14B64AF448BEC13E64E394A2626B261ED3BEB : public AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF
{
public:
// UnityEngine.AndroidJavaRunnable UnityEngine.AndroidJavaRunnableProxy::mRunnable
AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60 * ___mRunnable_4;
public:
inline static int32_t get_offset_of_mRunnable_4() { return static_cast<int32_t>(offsetof(AndroidJavaRunnableProxy_t17D14B64AF448BEC13E64E394A2626B261ED3BEB, ___mRunnable_4)); }
inline AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60 * get_mRunnable_4() const { return ___mRunnable_4; }
inline AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60 ** get_address_of_mRunnable_4() { return &___mRunnable_4; }
inline void set_mRunnable_4(AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60 * value)
{
___mRunnable_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___mRunnable_4), (void*)value);
}
};
// System.ApplicationException
struct ApplicationException_t8D709C0445A040467C6A632AD7F742B25AB2A407 : public Exception_t
{
public:
public:
};
// System.MulticastDelegate
struct MulticastDelegate_t : public Delegate_t
{
public:
// System.Delegate[] System.MulticastDelegate::delegates
DelegateU5BU5D_t677D8FE08A5F99E8EE49150B73966CD6E9BF7DB8* ___delegates_11;
public:
inline static int32_t get_offset_of_delegates_11() { return static_cast<int32_t>(offsetof(MulticastDelegate_t, ___delegates_11)); }
inline DelegateU5BU5D_t677D8FE08A5F99E8EE49150B73966CD6E9BF7DB8* get_delegates_11() const { return ___delegates_11; }
inline DelegateU5BU5D_t677D8FE08A5F99E8EE49150B73966CD6E9BF7DB8** get_address_of_delegates_11() { return &___delegates_11; }
inline void set_delegates_11(DelegateU5BU5D_t677D8FE08A5F99E8EE49150B73966CD6E9BF7DB8* 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.Type
struct Type_t : public MemberInfo_t
{
public:
// System.RuntimeTypeHandle System.Type::_impl
RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 ____impl_9;
public:
inline static int32_t get_offset_of__impl_9() { return static_cast<int32_t>(offsetof(Type_t, ____impl_9)); }
inline RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 get__impl_9() const { return ____impl_9; }
inline RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 * get_address_of__impl_9() { return &____impl_9; }
inline void set__impl_9(RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 value)
{
____impl_9 = value;
}
};
struct Type_t_StaticFields
{
public:
// System.Reflection.MemberFilter System.Type::FilterAttribute
MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 * ___FilterAttribute_0;
// System.Reflection.MemberFilter System.Type::FilterName
MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 * ___FilterName_1;
// System.Reflection.MemberFilter System.Type::FilterNameIgnoreCase
MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 * ___FilterNameIgnoreCase_2;
// System.Object System.Type::Missing
RuntimeObject * ___Missing_3;
// System.Char System.Type::Delimiter
Il2CppChar ___Delimiter_4;
// System.Type[] System.Type::EmptyTypes
TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755* ___EmptyTypes_5;
// System.Reflection.Binder System.Type::defaultBinder
Binder_t2BEE27FD84737D1E79BC47FD67F6D3DD2F2DDA30 * ___defaultBinder_6;
public:
inline static int32_t get_offset_of_FilterAttribute_0() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___FilterAttribute_0)); }
inline MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 * get_FilterAttribute_0() const { return ___FilterAttribute_0; }
inline MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 ** get_address_of_FilterAttribute_0() { return &___FilterAttribute_0; }
inline void set_FilterAttribute_0(MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 * value)
{
___FilterAttribute_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___FilterAttribute_0), (void*)value);
}
inline static int32_t get_offset_of_FilterName_1() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___FilterName_1)); }
inline MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 * get_FilterName_1() const { return ___FilterName_1; }
inline MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 ** get_address_of_FilterName_1() { return &___FilterName_1; }
inline void set_FilterName_1(MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 * value)
{
___FilterName_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___FilterName_1), (void*)value);
}
inline static int32_t get_offset_of_FilterNameIgnoreCase_2() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___FilterNameIgnoreCase_2)); }
inline MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 * get_FilterNameIgnoreCase_2() const { return ___FilterNameIgnoreCase_2; }
inline MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 ** get_address_of_FilterNameIgnoreCase_2() { return &___FilterNameIgnoreCase_2; }
inline void set_FilterNameIgnoreCase_2(MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 * value)
{
___FilterNameIgnoreCase_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___FilterNameIgnoreCase_2), (void*)value);
}
inline static int32_t get_offset_of_Missing_3() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___Missing_3)); }
inline RuntimeObject * get_Missing_3() const { return ___Missing_3; }
inline RuntimeObject ** get_address_of_Missing_3() { return &___Missing_3; }
inline void set_Missing_3(RuntimeObject * value)
{
___Missing_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Missing_3), (void*)value);
}
inline static int32_t get_offset_of_Delimiter_4() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___Delimiter_4)); }
inline Il2CppChar get_Delimiter_4() const { return ___Delimiter_4; }
inline Il2CppChar* get_address_of_Delimiter_4() { return &___Delimiter_4; }
inline void set_Delimiter_4(Il2CppChar value)
{
___Delimiter_4 = value;
}
inline static int32_t get_offset_of_EmptyTypes_5() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___EmptyTypes_5)); }
inline TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755* get_EmptyTypes_5() const { return ___EmptyTypes_5; }
inline TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755** get_address_of_EmptyTypes_5() { return &___EmptyTypes_5; }
inline void set_EmptyTypes_5(TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755* value)
{
___EmptyTypes_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___EmptyTypes_5), (void*)value);
}
inline static int32_t get_offset_of_defaultBinder_6() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___defaultBinder_6)); }
inline Binder_t2BEE27FD84737D1E79BC47FD67F6D3DD2F2DDA30 * get_defaultBinder_6() const { return ___defaultBinder_6; }
inline Binder_t2BEE27FD84737D1E79BC47FD67F6D3DD2F2DDA30 ** get_address_of_defaultBinder_6() { return &___defaultBinder_6; }
inline void set_defaultBinder_6(Binder_t2BEE27FD84737D1E79BC47FD67F6D3DD2F2DDA30 * value)
{
___defaultBinder_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___defaultBinder_6), (void*)value);
}
};
// UnityEngine.AndroidJavaRunnable
struct AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60 : public MulticastDelegate_t
{
public:
public:
};
// System.AsyncCallback
struct AsyncCallback_tA7921BEF974919C46FF8F9D9867C567B200BB0EA : public MulticastDelegate_t
{
public:
public:
};
// System.Reflection.TargetInvocationException
struct TargetInvocationException_t30F4C50D323F448CD2E08BDB8F47694B08EB354C : public ApplicationException_t8D709C0445A040467C6A632AD7F742B25AB2A407
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// UnityEngine.jvalue[]
struct jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99 : public RuntimeArray
{
public:
ALIGN_FIELD (8) jvalue_t220BECEE73180D6A4DE0F66CB6BA852EC6A5B587 m_Items[1];
public:
inline jvalue_t220BECEE73180D6A4DE0F66CB6BA852EC6A5B587 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline jvalue_t220BECEE73180D6A4DE0F66CB6BA852EC6A5B587 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, jvalue_t220BECEE73180D6A4DE0F66CB6BA852EC6A5B587 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline jvalue_t220BECEE73180D6A4DE0F66CB6BA852EC6A5B587 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline jvalue_t220BECEE73180D6A4DE0F66CB6BA852EC6A5B587 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, jvalue_t220BECEE73180D6A4DE0F66CB6BA852EC6A5B587 value)
{
m_Items[index] = value;
}
};
// System.Boolean[]
struct BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C : public RuntimeArray
{
public:
ALIGN_FIELD (8) bool m_Items[1];
public:
inline bool GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline bool* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, bool value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline bool GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline bool* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, bool value)
{
m_Items[index] = value;
}
};
// System.Byte[]
struct ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726 : public RuntimeArray
{
public:
ALIGN_FIELD (8) uint8_t m_Items[1];
public:
inline uint8_t GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline uint8_t* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, uint8_t value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline uint8_t GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline uint8_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, uint8_t value)
{
m_Items[index] = value;
}
};
// System.SByte[]
struct SByteU5BU5D_t7D94C53295E6116625EA7CC7DEA21FEDC39869E7 : public RuntimeArray
{
public:
ALIGN_FIELD (8) int8_t m_Items[1];
public:
inline int8_t GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline int8_t* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, int8_t value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline int8_t GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline int8_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, int8_t value)
{
m_Items[index] = value;
}
};
// System.Char[]
struct CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Il2CppChar m_Items[1];
public:
inline Il2CppChar GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Il2CppChar* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Il2CppChar value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Il2CppChar GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Il2CppChar* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Il2CppChar value)
{
m_Items[index] = value;
}
};
// System.Int16[]
struct Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD : public RuntimeArray
{
public:
ALIGN_FIELD (8) int16_t m_Items[1];
public:
inline int16_t GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline int16_t* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, int16_t value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline int16_t GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline int16_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, int16_t value)
{
m_Items[index] = value;
}
};
// System.Int32[]
struct Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32 : public RuntimeArray
{
public:
ALIGN_FIELD (8) int32_t m_Items[1];
public:
inline int32_t GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline int32_t* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, int32_t value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline int32_t GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline int32_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, int32_t value)
{
m_Items[index] = value;
}
};
// System.Int64[]
struct Int64U5BU5D_tCA61E42872C63A4286B24EEE6E0650143B43DCE6 : public RuntimeArray
{
public:
ALIGN_FIELD (8) int64_t m_Items[1];
public:
inline int64_t GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline int64_t* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, int64_t value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline int64_t GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline int64_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, int64_t value)
{
m_Items[index] = value;
}
};
// System.Single[]
struct SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA : public RuntimeArray
{
public:
ALIGN_FIELD (8) float m_Items[1];
public:
inline float GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline float* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, float value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline float GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline float* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, float value)
{
m_Items[index] = value;
}
};
// System.Double[]
struct DoubleU5BU5D_t8E1B42EB2ABB79FBD193A6B8C8D97A7CDE44A4FB : public RuntimeArray
{
public:
ALIGN_FIELD (8) double m_Items[1];
public:
inline double GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline double* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, double value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline double GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline double* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, double value)
{
m_Items[index] = value;
}
};
// System.IntPtr[]
struct IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6 : public RuntimeArray
{
public:
ALIGN_FIELD (8) intptr_t m_Items[1];
public:
inline intptr_t GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline intptr_t* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, intptr_t value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline intptr_t GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline intptr_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, intptr_t value)
{
m_Items[index] = value;
}
};
// System.Object[]
struct ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE : public RuntimeArray
{
public:
ALIGN_FIELD (8) RuntimeObject * m_Items[1];
public:
inline RuntimeObject * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline RuntimeObject ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, RuntimeObject * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline RuntimeObject * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline RuntimeObject ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, RuntimeObject * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Type[]
struct TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Type_t * m_Items[1];
public:
inline Type_t * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Type_t ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Type_t * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline Type_t * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Type_t ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Type_t * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.String[]
struct StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A : public RuntimeArray
{
public:
ALIGN_FIELD (8) String_t* m_Items[1];
public:
inline String_t* GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline String_t** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, String_t* value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline String_t* GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline String_t** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, String_t* value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Reflection.ParameterModifier[]
struct ParameterModifierU5BU5D_tFF6F73F1CFE837331D6AAA11CC78CE5D9B5F0A2B : public RuntimeArray
{
public:
ALIGN_FIELD (8) ParameterModifier_tC1C793BD8B003B24010657487AFD17A4BA3DF6EA m_Items[1];
public:
inline ParameterModifier_tC1C793BD8B003B24010657487AFD17A4BA3DF6EA GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline ParameterModifier_tC1C793BD8B003B24010657487AFD17A4BA3DF6EA * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, ParameterModifier_tC1C793BD8B003B24010657487AFD17A4BA3DF6EA value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->____byRef_0), (void*)NULL);
}
inline ParameterModifier_tC1C793BD8B003B24010657487AFD17A4BA3DF6EA GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline ParameterModifier_tC1C793BD8B003B24010657487AFD17A4BA3DF6EA * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, ParameterModifier_tC1C793BD8B003B24010657487AFD17A4BA3DF6EA value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->____byRef_0), (void*)NULL);
}
};
// UnityEngine.AndroidJavaObject[]
struct AndroidJavaObjectU5BU5D_tEE28563C9013906CEB39794019A55F4BA5B06120 : public RuntimeArray
{
public:
ALIGN_FIELD (8) AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * m_Items[1];
public:
inline AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Delegate[]
struct DelegateU5BU5D_t677D8FE08A5F99E8EE49150B73966CD6E9BF7DB8 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Delegate_t * m_Items[1];
public:
inline Delegate_t * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Delegate_t ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Delegate_t * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline Delegate_t * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Delegate_t ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Delegate_t * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// UnityEngine.AndroidJavaClass[]
struct AndroidJavaClassU5BU5D_t5344E3EB36AE15926FAFC0383431B20ADC393BCB : public RuntimeArray
{
public:
ALIGN_FIELD (8) AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 * m_Items[1];
public:
inline AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// ReturnType UnityEngine.AndroidJavaObject::Call<System.Object>(System.String,System.Object[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * AndroidJavaObject_Call_TisRuntimeObject_mB802C2A6B0365A1670402D283EB7FA241C326B0E_gshared (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, String_t* ___methodName0, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args1, const RuntimeMethod* method);
// ReturnType UnityEngine.AndroidJavaObject::CallStatic<System.Int32>(System.String,System.Object[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t AndroidJavaObject_CallStatic_TisInt32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_mE6C2E19D140FDCD9C8736017AAA61A16904ADD63_gshared (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, String_t* ___methodName0, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args1, const RuntimeMethod* method);
// ReturnType UnityEngine.AndroidJavaObject::Call<System.Boolean>(System.String,System.Object[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool AndroidJavaObject_Call_TisBoolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_m705BF7B215A83B7851B19591CE37DA93250C7A8A_gshared (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, String_t* ___methodName0, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args1, const RuntimeMethod* method);
// ReturnType UnityEngine.AndroidJavaObject::CallStatic<System.Object>(System.String,System.Object[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * AndroidJavaObject_CallStatic_TisRuntimeObject_m29BD05B7A29F937D71B746DFFE889B90E1142509_gshared (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, String_t* ___methodName0, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args1, const RuntimeMethod* method);
// ReturnType UnityEngine.AndroidJavaObject::Call<System.Int32>(System.String,System.Object[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t AndroidJavaObject_Call_TisInt32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_m02A4D4C9FD8B15173829454766683BA424408A2A_gshared (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, String_t* ___methodName0, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args1, const RuntimeMethod* method);
// ReturnType UnityEngine.AndroidJavaObject::Call<System.SByte>(System.String,System.Object[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int8_t AndroidJavaObject_Call_TisSByte_t928712DD662DC29BA4FAAE8CE2230AFB23447F0B_m0E0C93662AE6147907838FA7BAC5DFFF12DA8CD2_gshared (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, String_t* ___methodName0, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args1, const RuntimeMethod* method);
// ReturnType UnityEngine.AndroidJavaObject::Call<System.Int16>(System.String,System.Object[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int16_t AndroidJavaObject_Call_TisInt16_tD0F031114106263BB459DA1F099FF9F42691295A_m01DA767827B3724380256A9F20BE680EE56B1C36_gshared (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, String_t* ___methodName0, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args1, const RuntimeMethod* method);
// ReturnType UnityEngine.AndroidJavaObject::Call<System.Int64>(System.String,System.Object[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int64_t AndroidJavaObject_Call_TisInt64_t378EE0D608BD3107E77238E85F30D2BBD46981F3_m2E2FBAE10897A748859DD7EB19EBB1DB9BD02787_gshared (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, String_t* ___methodName0, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args1, const RuntimeMethod* method);
// ReturnType UnityEngine.AndroidJavaObject::Call<System.Single>(System.String,System.Object[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float AndroidJavaObject_Call_TisSingle_tE07797BA3C98D4CA9B5A19413C19A76688AB899E_m068E70BCBA9EACF8129B1C9F711D3132EB6C9061_gshared (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, String_t* ___methodName0, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args1, const RuntimeMethod* method);
// ReturnType UnityEngine.AndroidJavaObject::Call<System.Double>(System.String,System.Object[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR double AndroidJavaObject_Call_TisDouble_t42821932CB52DE2057E685D0E1AF3DE5033D2181_mC771B88EC17F0B174134EC1218654F42A807A3B5_gshared (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, String_t* ___methodName0, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args1, const RuntimeMethod* method);
// ReturnType UnityEngine.AndroidJavaObject::Call<System.Char>(System.String,System.Object[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Il2CppChar AndroidJavaObject_Call_TisChar_tFF60D8E7E89A20BE2294A003734341BD1DF43E14_m5E5A9D2A5C78D0EC058BBE4A6EFDE1F1C042D19B_gshared (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, String_t* ___methodName0, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args1, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNI::NewStringFromStr(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_NewStringFromStr_m2FA0D93FE6ABFD5D1B3546B797EDE6ABB37208CC (String_t* ___chars0, const RuntimeMethod* method);
// System.IntPtr UnityEngine._AndroidJNIHelper::GetConstructorID(System.IntPtr,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t _AndroidJNIHelper_GetConstructorID_m0802B71B149170217E6FE75A7864A4BE7315215F (intptr_t ___jclass0, String_t* ___signature1, const RuntimeMethod* method);
// System.IntPtr UnityEngine._AndroidJNIHelper::GetMethodID(System.IntPtr,System.String,System.String,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t _AndroidJNIHelper_GetMethodID_m74B615C2438AF4A05F5FDA31F871AA641799CC9C (intptr_t ___jclass0, String_t* ___methodName1, String_t* ___signature2, bool ___isStatic3, const RuntimeMethod* method);
// System.IntPtr UnityEngine._AndroidJNIHelper::CreateJavaRunnable(UnityEngine.AndroidJavaRunnable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t _AndroidJNIHelper_CreateJavaRunnable_m9FEEC38F8F25D8A5E6DBD8329094C3C24D73EC52 (AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60 * ___jrunnable0, const RuntimeMethod* method);
// System.Runtime.InteropServices.GCHandle System.Runtime.InteropServices.GCHandle::Alloc(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GCHandle_t757890BC4BBBEDE5A623A3C110013EDD24613603 GCHandle_Alloc_m937829FAD1C69F168CF045B9406228AC9F8B9389 (RuntimeObject * ___value0, const RuntimeMethod* method);
// System.IntPtr System.Runtime.InteropServices.GCHandle::ToIntPtr(System.Runtime.InteropServices.GCHandle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t GCHandle_ToIntPtr_m017FBB27407865DD17A269CC03518EC518DE5AEA (GCHandle_t757890BC4BBBEDE5A623A3C110013EDD24613603 ___value0, const RuntimeMethod* method);
// System.IntPtr UnityEngine._AndroidJNIHelper::CreateJavaProxy(System.IntPtr,UnityEngine.AndroidJavaProxy)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t _AndroidJNIHelper_CreateJavaProxy_mCE38F0AE360145E8ECD9B15364CF570EE1D57D5D (intptr_t ___delegateHandle0, AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF * ___proxy1, const RuntimeMethod* method);
// System.Void System.Runtime.InteropServices.GCHandle::Free()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GCHandle_Free_mB4E9415544FC9F0075C02AB17E270E49AF006025 (GCHandle_t757890BC4BBBEDE5A623A3C110013EDD24613603 * __this, const RuntimeMethod* method);
// UnityEngine.jvalue[] UnityEngine._AndroidJNIHelper::CreateJNIArgArray(System.Object[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* _AndroidJNIHelper_CreateJNIArgArray_m6CAC58535CA8F9F1A7A4458BA1BC855CB46609E2 (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args0, const RuntimeMethod* method);
// System.Void UnityEngine._AndroidJNIHelper::DeleteJNIArgArray(System.Object[],UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void _AndroidJNIHelper_DeleteJNIArgArray_m1ECC70D98768BD3E5C6C6EABC1162F43B297AD85 (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args0, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___jniArgs1, const RuntimeMethod* method);
// System.IntPtr UnityEngine._AndroidJNIHelper::GetConstructorID(System.IntPtr,System.Object[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t _AndroidJNIHelper_GetConstructorID_m59BD3F866A86FC0FFDB26FFB820124E830CDB3E7 (intptr_t ___jclass0, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args1, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNI::ExceptionOccurred()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_ExceptionOccurred_m347473FDF70118E17D092961232E7EAF0BCF2991 (const RuntimeMethod* method);
// System.Boolean System.IntPtr::op_Inequality(System.IntPtr,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IntPtr_op_Inequality_m212AF0E66AA81FEDC982B1C8A44ADDA24B995EB8 (intptr_t ___value10, intptr_t ___value21, const RuntimeMethod* method);
// System.Void UnityEngine.AndroidJNI::ExceptionClear()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJNI_ExceptionClear_mE1961C9BD4984AF52712BFF181B6B95F435531B7 (const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNI::FindClass(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_FindClass_m9271648050957874E8489952E493156991C511F5 (String_t* ___name0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNI::GetMethodID(System.IntPtr,System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_GetMethodID_m4A0DBC91C300B8F342333561BA237258E12D0A3B (intptr_t ___clazz0, String_t* ___name1, String_t* ___sig2, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNI::GetStaticMethodID(System.IntPtr,System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_GetStaticMethodID_mB2C04328A527EB6EAC74F048CC10DEB3099C4826 (intptr_t ___clazz0, String_t* ___name1, String_t* ___sig2, const RuntimeMethod* method);
// System.String UnityEngine.AndroidJNI::CallStringMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* AndroidJNI_CallStringMethod_m8D44F815C76333C22FF73753CF8289089E633261 (intptr_t ___obj0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method);
// System.String UnityEngine.AndroidJNI::CallStaticStringMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* AndroidJNI_CallStaticStringMethod_m4089540DF5B52F735C6C70988D73FE69463B7B44 (intptr_t ___clazz0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method);
// System.Void UnityEngine.AndroidJavaException::.ctor(System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJavaException__ctor_mD451AB9B54A333C79F0F0650DD4DC2B173CAA910 (AndroidJavaException_tA371556A4C19FBFA201DD4939DFA781D109B243D * __this, String_t* ___message0, String_t* ___javaStackTrace1, const RuntimeMethod* method);
// System.Void UnityEngine.AndroidJNISafe::DeleteLocalRef(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJNISafe_DeleteLocalRef_m7AB242A76D13A3BF4C04831D77960C020D6ADA39 (intptr_t ___localref0, const RuntimeMethod* method);
// System.Void UnityEngine.AndroidJNI::DeleteGlobalRef(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJNI_DeleteGlobalRef_m0B4945EEFFCA6F7CC0808310DD6FA8BFB58A4F53 (intptr_t ___obj0, const RuntimeMethod* method);
// System.Void UnityEngine.AndroidJNI::DeleteWeakGlobalRef(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJNI_DeleteWeakGlobalRef_m972079D94C174FA5F427AC16C92B2B3179175F46 (intptr_t ___obj0, const RuntimeMethod* method);
// System.Void UnityEngine.AndroidJNI::DeleteLocalRef(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJNI_DeleteLocalRef_m5EEFE4C0CA9F65208C117ECE9D893A993A477DB4 (intptr_t ___obj0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNI::NewString(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_NewString_m39B9E7C930BE075D93850E925F808720BEB5C673 (String_t* ___chars0, const RuntimeMethod* method);
// System.Void UnityEngine.AndroidJNISafe::CheckException()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249 (const RuntimeMethod* method);
// System.String UnityEngine.AndroidJNI::GetStringChars(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* AndroidJNI_GetStringChars_m95FBBCDB48D425FBDC19710D92C7D6D175041778 (intptr_t ___str0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNI::GetObjectClass(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_GetObjectClass_m38B1858A3F6F7336FBEC67F36E998D61DE93988A (intptr_t ___obj0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNI::FromReflectedMethod(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_FromReflectedMethod_mBF204982142E2EA82F66F562F5661F2A459F34F5 (intptr_t ___refMethod0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNI::NewObject(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_NewObject_m8D445E11DAFC786997C16BF296C0BB844F6E7D60 (intptr_t ___clazz0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method);
// System.Void UnityEngine.AndroidJNI::CallStaticVoidMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJNI_CallStaticVoidMethod_mE35981047575D7C0028FC4EF205B05909911F0E3 (intptr_t ___clazz0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNI::CallStaticObjectMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_CallStaticObjectMethod_m41962AB7EBBC53ACB5ACD5D7CC175EC8CFF22B13 (intptr_t ___clazz0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method);
// System.Char UnityEngine.AndroidJNI::CallStaticCharMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Il2CppChar AndroidJNI_CallStaticCharMethod_mA3E1C0CA79C37C0E8CA480305C0195D87C4EBBF7 (intptr_t ___clazz0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method);
// System.Double UnityEngine.AndroidJNI::CallStaticDoubleMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR double AndroidJNI_CallStaticDoubleMethod_m705917C9F0238B4C0E040C9156424FB1BD2FC4DA (intptr_t ___clazz0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method);
// System.Single UnityEngine.AndroidJNI::CallStaticFloatMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float AndroidJNI_CallStaticFloatMethod_m0DA71B5E200550A66C4880BFF404225B063ACDFE (intptr_t ___clazz0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method);
// System.Int64 UnityEngine.AndroidJNI::CallStaticLongMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int64_t AndroidJNI_CallStaticLongMethod_mA9AAA7D40F0F6D5BB9EB183ED5E9ADD05714648B (intptr_t ___clazz0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method);
// System.Int16 UnityEngine.AndroidJNI::CallStaticShortMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int16_t AndroidJNI_CallStaticShortMethod_m06B921F4634800E6E42691920E9DD1697491061A (intptr_t ___clazz0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method);
// System.SByte UnityEngine.AndroidJNI::CallStaticSByteMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int8_t AndroidJNI_CallStaticSByteMethod_m5E1FBD3B228299120E15BC39A97BB98BFD8CEA68 (intptr_t ___clazz0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method);
// System.Boolean UnityEngine.AndroidJNI::CallStaticBooleanMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool AndroidJNI_CallStaticBooleanMethod_mA658B97E472490DCEF41A9C9BE9E2808FD4D8649 (intptr_t ___clazz0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method);
// System.Int32 UnityEngine.AndroidJNI::CallStaticIntMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t AndroidJNI_CallStaticIntMethod_mE05BBCE19901EED01DB88DCE7775D2EC75266F6F (intptr_t ___clazz0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNI::CallObjectMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_CallObjectMethod_m29CAA840E7ECD2A6B835EAF9E119F8E3E5B99495 (intptr_t ___obj0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method);
// System.Char UnityEngine.AndroidJNI::CallCharMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Il2CppChar AndroidJNI_CallCharMethod_m6D9AB75BB4E6E6F40C12654EADB9CB3AC441F257 (intptr_t ___obj0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method);
// System.Double UnityEngine.AndroidJNI::CallDoubleMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR double AndroidJNI_CallDoubleMethod_mC6B84A261650B29C19C304F07D1080B38ABC7186 (intptr_t ___obj0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method);
// System.Single UnityEngine.AndroidJNI::CallFloatMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float AndroidJNI_CallFloatMethod_mB40ADB8EFB34D674AF586B65E3B443AF51B62CD9 (intptr_t ___obj0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method);
// System.Int64 UnityEngine.AndroidJNI::CallLongMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int64_t AndroidJNI_CallLongMethod_m566FBCF6E3D1B11ECBA4DBB51E3712F2EE9A7FE9 (intptr_t ___obj0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method);
// System.Int16 UnityEngine.AndroidJNI::CallShortMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int16_t AndroidJNI_CallShortMethod_m719565EF3E0DB80078F924283F72E3492BCED486 (intptr_t ___obj0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method);
// System.SByte UnityEngine.AndroidJNI::CallSByteMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int8_t AndroidJNI_CallSByteMethod_mD99C2871A4ED3D2228B6F9EA97484D71E529C5EA (intptr_t ___obj0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method);
// System.Boolean UnityEngine.AndroidJNI::CallBooleanMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool AndroidJNI_CallBooleanMethod_mCC2BF562D42946CC90BB9E5489C9311DB38A6F8A (intptr_t ___obj0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method);
// System.Int32 UnityEngine.AndroidJNI::CallIntMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t AndroidJNI_CallIntMethod_m3A49D0808C1D0C3EAF25B3F2DC7890B483B00CDF (intptr_t ___obj0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method);
// System.Char[] UnityEngine.AndroidJNI::FromCharArray(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* AndroidJNI_FromCharArray_mCDE27061131471E18F064241982F7C58921B4BCE (intptr_t ___array0, const RuntimeMethod* method);
// System.Double[] UnityEngine.AndroidJNI::FromDoubleArray(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DoubleU5BU5D_t8E1B42EB2ABB79FBD193A6B8C8D97A7CDE44A4FB* AndroidJNI_FromDoubleArray_mB8DA303F2DC6FB96E45D6C2DEC2B1C7AF9A7D9BE (intptr_t ___array0, const RuntimeMethod* method);
// System.Single[] UnityEngine.AndroidJNI::FromFloatArray(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA* AndroidJNI_FromFloatArray_m01E10AC1773DE0878B8875994E74B205E42EE2E4 (intptr_t ___array0, const RuntimeMethod* method);
// System.Int64[] UnityEngine.AndroidJNI::FromLongArray(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int64U5BU5D_tCA61E42872C63A4286B24EEE6E0650143B43DCE6* AndroidJNI_FromLongArray_m62518A89509FAD6404628618EA05A63911DB0941 (intptr_t ___array0, const RuntimeMethod* method);
// System.Int16[] UnityEngine.AndroidJNI::FromShortArray(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* AndroidJNI_FromShortArray_mAD7FEF4EEAEC6A3DEF148C02EF4E00002A70542E (intptr_t ___array0, const RuntimeMethod* method);
// System.Byte[] UnityEngine.AndroidJNI::FromByteArray(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* AndroidJNI_FromByteArray_m8EC58D6AE31ADD634490F84A4F4E36831DB2EC87 (intptr_t ___array0, const RuntimeMethod* method);
// System.SByte[] UnityEngine.AndroidJNI::FromSByteArray(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR SByteU5BU5D_t7D94C53295E6116625EA7CC7DEA21FEDC39869E7* AndroidJNI_FromSByteArray_m5372FB70B8027721C47BE0359F538A90128288CD (intptr_t ___array0, const RuntimeMethod* method);
// System.Boolean[] UnityEngine.AndroidJNI::FromBooleanArray(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C* AndroidJNI_FromBooleanArray_m082FF870EE916B9603686E35776D5369B95D207E (intptr_t ___array0, const RuntimeMethod* method);
// System.Int32[] UnityEngine.AndroidJNI::FromIntArray(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* AndroidJNI_FromIntArray_mA60A708BA57B6F520260D4DC6B10E07C54E29C1F (intptr_t ___array0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNI::ToObjectArray(System.IntPtr[],System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_ToObjectArray_m1C7B8259B04AC6D68F56BF5F108026882B039F24 (IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6* ___array0, intptr_t ___arrayClass1, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNI::ToCharArray(System.Char[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_ToCharArray_mC48F010177FFBC2F0CCAAE1B675B6C4882EBA257 (CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* ___array0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNI::ToDoubleArray(System.Double[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_ToDoubleArray_m00242343670C4CC0103A07CB766D80F53E36130D (DoubleU5BU5D_t8E1B42EB2ABB79FBD193A6B8C8D97A7CDE44A4FB* ___array0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNI::ToFloatArray(System.Single[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_ToFloatArray_m197E51BD1D14272F35DA0FF57B9C158E3DC5DA8D (SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA* ___array0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNI::ToLongArray(System.Int64[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_ToLongArray_m784C3156DDD9D0D74E21F394CDFEB3C87538355F (Int64U5BU5D_tCA61E42872C63A4286B24EEE6E0650143B43DCE6* ___array0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNI::ToShortArray(System.Int16[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_ToShortArray_m37FFD5AD4C5CC07127F2E64598FCD5A0924B246F (Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* ___array0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNI::ToByteArray(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_ToByteArray_m099C6F143979F050C4A6AECF70854153CE8B58CC (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___array0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNI::ToSByteArray(System.SByte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_ToSByteArray_m91EBEA7CBDBCCDF759D77AB5BD1AE8BF00030B5F (SByteU5BU5D_t7D94C53295E6116625EA7CC7DEA21FEDC39869E7* ___array0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNI::ToBooleanArray(System.Boolean[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_ToBooleanArray_m105D3745D21CE3B0780C3861BB455A9E29B0B9F6 (BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C* ___array0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNI::ToIntArray(System.Int32[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_ToIntArray_mB2B766977213FA271EE9044B5B781112CA274317 (Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___array0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNI::GetObjectArrayElement(System.IntPtr,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_GetObjectArrayElement_m502026BF77232EE45D03661E4923C2E5E99FDE18 (intptr_t ___array0, int32_t ___index1, const RuntimeMethod* method);
// System.Int32 UnityEngine.AndroidJNI::GetArrayLength(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t AndroidJNI_GetArrayLength_m48A34992E6BF0EF5510037EA38EB2D348634C9DE (intptr_t ___array0, const RuntimeMethod* method);
// System.Void UnityEngine.AndroidJavaObject::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJavaObject__ctor_m76D62BEE18E830EBCDE4B6860AC3C8A5979C9F18 (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, const RuntimeMethod* method);
// System.Void UnityEngine.AndroidJavaClass::_AndroidJavaClass(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJavaClass__AndroidJavaClass_mD69A3836B7DD13F6514499FFE167BCB136A5BBAB (AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 * __this, String_t* ___className0, const RuntimeMethod* method);
// System.String System.String::Concat(System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_m4B4AB72618348C5DFBFBA8DED84B9E2EBDB55E1B (String_t* ___str00, String_t* ___str11, const RuntimeMethod* method);
// System.Void UnityEngine.AndroidJavaObject::DebugPrint(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJavaObject_DebugPrint_m4F2A8B6447F29A548C6AE6F74CBD3AF51B587F7D (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, String_t* ___msg0, const RuntimeMethod* method);
// System.String System.String::Replace(System.Char,System.Char)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Replace_mD912844A1141FE8771F55255C4A8D29C80C47618 (String_t* __this, Il2CppChar ___oldChar0, Il2CppChar ___newChar1, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNISafe::FindClass(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNISafe_FindClass_mD96E72414A78F50B07019D26B87A93799D85BB0A (String_t* ___name0, const RuntimeMethod* method);
// System.Void UnityEngine.GlobalJavaObjectRef::.ctor(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GlobalJavaObjectRef__ctor_mC4872ABD6EDA3531D1012C2FB7B73EE2B1652C5D (GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * __this, intptr_t ___jobject0, const RuntimeMethod* method);
// System.Boolean System.IntPtr::op_Equality(System.IntPtr,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IntPtr_op_Equality_mD94F3FE43A65684EFF984A7B95E70D2520C0AC73 (intptr_t ___value10, intptr_t ___value21, const RuntimeMethod* method);
// System.Void System.Exception::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Exception__ctor_m8ECDE8ACA7F2E0EF1144BD1200FB5DB2870B5F11 (Exception_t * __this, String_t* ___message0, const RuntimeMethod* method);
// System.String System.Exception::get_StackTrace()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Exception_get_StackTrace_m66E7EFBB3658852BCB2960743DC9352D90C9EE48 (Exception_t * __this, const RuntimeMethod* method);
// System.Void UnityEngine.AndroidJavaObject::_AndroidJavaObject(System.String,System.Object[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJavaObject__AndroidJavaObject_m54584F0F147ECA1A0B7DEB875742B3331CC1666A (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, String_t* ___className0, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args1, const RuntimeMethod* method);
// System.Void System.GC::SuppressFinalize(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GC_SuppressFinalize_mEE880E988C6AF32AA2F67F2D62715281EAA41555 (RuntimeObject * ___obj0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJavaObject::_GetRawObject()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJavaObject__GetRawObject_mD52629909E16A092896CD884BB710F876BE14975 (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJavaObject::_GetRawClass()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJavaObject__GetRawClass_mCEFEDEA158099706B9B2F1CB40C843D2E899932C (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, const RuntimeMethod* method);
// System.Void UnityEngine.Debug::Log(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_Log_mC26E5AD0D8D156C7FFD173AA15827F69225E9DB8 (RuntimeObject * ___message0, const RuntimeMethod* method);
// UnityEngine.jvalue[] UnityEngine.AndroidJNIHelper::CreateJNIArgArray(System.Object[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* AndroidJNIHelper_CreateJNIArgArray_m3B928C14D5B3E86B38331427E0605478402DFDCE (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.GlobalJavaObjectRef::op_Implicit(UnityEngine.GlobalJavaObjectRef)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t GlobalJavaObjectRef_op_Implicit_m7A992ACF399BAD3EFC96D88CE00B235D8B669B33 (GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * ___obj0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNIHelper::GetConstructorID(System.IntPtr,System.Object[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNIHelper_GetConstructorID_mDC08F55A8FFF5D4E2B6CB5FB6808935EC8211007 (intptr_t ___jclass0, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args1, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNISafe::NewObject(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNISafe_NewObject_m8B3CE344FE9144B92096F0A36CF75DA56C380BF7 (intptr_t ___clazz0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method);
// System.Void UnityEngine.AndroidJNIHelper::DeleteJNIArgArray(System.Object[],UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJNIHelper_DeleteJNIArgArray_mF43CDD1F690C9E843FE622B9A5F7B21F7556408A (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args0, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___jniArgs1, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNISafe::GetObjectClass(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNISafe_GetObjectClass_m6FD726927BEAAA70778766E29215A6CA63A93DC3 (intptr_t ___ptr0, const RuntimeMethod* method);
// System.Void System.Object::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405 (RuntimeObject * __this, const RuntimeMethod* method);
// System.Void System.Object::Finalize()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object_Finalize_mC59C83CF4F7707E425FFA6362931C25D4C36676A (RuntimeObject * __this, const RuntimeMethod* method);
// System.Void UnityEngine.GlobalJavaObjectRef::Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GlobalJavaObjectRef_Dispose_mDAF2DE01EBD608E63CB661954D0B50015D08FF28 (GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.AndroidJavaObject::.ctor(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJavaObject__ctor_m880F6533139DF0BD36C6EF428E45E9F44B6534A3 (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, intptr_t ___jobject0, const RuntimeMethod* method);
// System.Void UnityEngine.AndroidJavaClass::.ctor(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJavaClass__ctor_m61AE95F9D20CA648AEFC18AE922FE70F0B90786F (AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 * __this, intptr_t ___jclass0, const RuntimeMethod* method);
// System.Void UnityEngine.AndroidJavaClass::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJavaClass__ctor_mEFF9F51871F231955D97DABDE9AB4A6B4EDA5541 (AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 * __this, String_t* ___className0, const RuntimeMethod* method);
// System.Void UnityEngine.AndroidJavaProxy::.ctor(UnityEngine.AndroidJavaClass)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJavaProxy__ctor_m17BDD42A24CEBD07722B68A25CAD6DEAF64241E1 (AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF * __this, AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 * ___javaInterface0, const RuntimeMethod* method);
// System.Void UnityEngine.AndroidJNISafe::DeleteWeakGlobalRef(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJNISafe_DeleteWeakGlobalRef_m0FC9348DE2D937798DB6D6A5461021AFEBC7506D (intptr_t ___globalref0, const RuntimeMethod* method);
// System.Type System.Object::GetType()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Type_t * Object_GetType_m571FE8360C10B98C23AAF1F066D92C08CC94F45B (RuntimeObject * __this, const RuntimeMethod* method);
// System.Type System.Type::GetTypeFromHandle(System.RuntimeTypeHandle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Type_t * Type_GetTypeFromHandle_m8BB57524FF7F9DB1803BC561D2B3A4DBACEB385E (RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 ___handle0, const RuntimeMethod* method);
// System.Reflection.MethodInfo System.Type::GetMethod(System.String,System.Reflection.BindingFlags,System.Reflection.Binder,System.Type[],System.Reflection.ParameterModifier[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR MethodInfo_t * Type_GetMethod_m69EE86B5A87244C925333CCF1B6D6B9BCFED8A89 (Type_t * __this, String_t* ___name0, int32_t ___bindingAttr1, Binder_t2BEE27FD84737D1E79BC47FD67F6D3DD2F2DDA30 * ___binder2, TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755* ___types3, ParameterModifierU5BU5D_tFF6F73F1CFE837331D6AAA11CC78CE5D9B5F0A2B* ___modifiers4, const RuntimeMethod* method);
// System.Object System.Reflection.MethodBase::Invoke(System.Object,System.Object[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * MethodBase_Invoke_m5DA5E74F34F8FFA8133445BAE0266FD54F7D4EB3 (MethodBase_t * __this, RuntimeObject * ___obj0, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___parameters1, const RuntimeMethod* method);
// UnityEngine.AndroidJavaObject UnityEngine._AndroidJNIHelper::Box(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * _AndroidJNIHelper_Box_m36D8F62AEE89925F24BEB84DD91A5FF771255E28 (RuntimeObject * ___obj0, const RuntimeMethod* method);
// System.Exception System.Exception::get_InnerException()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Exception_t * Exception_get_InnerException_m10D85773B6B191C7D4E7D3C2954B84F9BB195218_inline (Exception_t * __this, const RuntimeMethod* method);
// System.String System.String::Join(System.String,System.String[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Join_m8846EB11F0A221BDE237DE041D17764B36065404 (String_t* ___separator0, StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* ___value1, const RuntimeMethod* method);
// System.String System.String::Concat(System.String[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_mFEA7EFA1A6E75B96B1B7BC4526AAC864BFF83CC9 (StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* ___values0, const RuntimeMethod* method);
// System.Void System.Reflection.TargetInvocationException::.ctor(System.String,System.Exception)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TargetInvocationException__ctor_m5436E5EE63CBC376FADE4422FDC24067402E42A9 (TargetInvocationException_t30F4C50D323F448CD2E08BDB8F47694B08EB354C * __this, String_t* ___message0, Exception_t * ___inner1, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJavaProxy::GetRawProxy()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJavaProxy_GetRawProxy_m125686B87104A00FD20DEB87F24074A3AD68D354 (AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF * __this, const RuntimeMethod* method);
// System.Void UnityEngine.AndroidReflection::SetNativeExceptionOnProxy(System.IntPtr,System.Exception,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidReflection_SetNativeExceptionOnProxy_m3156C711782C12CDE0E994C37630F762C0FE0808 (intptr_t ___proxy0, Exception_t * ___e1, bool ___methodNotFound2, const RuntimeMethod* method);
// System.Object UnityEngine._AndroidJNIHelper::Unbox(UnityEngine.AndroidJavaObject)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * _AndroidJNIHelper_Unbox_mE00F4AED2AAAACF5C617820A41A4F28F1D501708 (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * ___obj0, const RuntimeMethod* method);
// System.Void UnityEngine.AndroidJavaObject::Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJavaObject_Dispose_mFF9FA58B47A7FC0C083E034B364EAAE2E7282C45 (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, const RuntimeMethod* method);
// UnityEngine.AndroidJavaObject UnityEngine.AndroidJavaObject::AndroidJavaObjectDeleteLocalRef(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * AndroidJavaObject_AndroidJavaObjectDeleteLocalRef_mB977696EA6F6BB6369A8F783EFB5D99C445C11FD (intptr_t ___jobject0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNI::NewLocalRef(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_NewLocalRef_m9309F714C7C9C3C47EA48218FB6B0BE810E42EAE (intptr_t ___obj0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNIHelper::CreateJavaProxy(UnityEngine.AndroidJavaProxy)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNIHelper_CreateJavaProxy_mF3E9256AF65CC078B82DD0E1DC65306AA79DBBEC (AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF * ___proxy0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNI::NewWeakGlobalRef(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_NewWeakGlobalRef_mB62AFFE361315D8C045F6EF4D961C5501839E295 (intptr_t ___obj0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNIHelper::GetMethodID(System.IntPtr,System.String,System.String,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNIHelper_GetMethodID_m2B5E7C9B05905F6C6B60A735B8A6E97BBA468535 (intptr_t ___javaClass0, String_t* ___methodName1, String_t* ___signature2, bool ___isStatic3, const RuntimeMethod* method);
// System.Void UnityEngine.AndroidJavaProxy::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJavaProxy__ctor_m1E8F4C0D87B74B81C64A54A584B2FF4ECE571238 (AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF * __this, String_t* ___javaInterface0, const RuntimeMethod* method);
// System.Boolean System.Type::get_IsPrimitive()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Type_get_IsPrimitive_m43E50D507C45CE3BD51C0DC07C8AB061AFD6B3C3 (Type_t * __this, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNISafe::GetStaticMethodID(System.IntPtr,System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNISafe_GetStaticMethodID_m883F40A297071B64F8DE3572FDBB8B9834EF1163 (intptr_t ___clazz0, String_t* ___name1, String_t* ___sig2, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNISafe::GetMethodID(System.IntPtr,System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNISafe_GetMethodID_mB6545767927E1F859540D99EBD39E464811E5F8F (intptr_t ___obj0, String_t* ___name1, String_t* ___sig2, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNISafe::NewString(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNISafe_NewString_m5F5B2B700BDE2D0D1D105687D4ACC9567CEE7A23 (String_t* ___chars0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNISafe::CallStaticObjectMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNISafe_CallStaticObjectMethod_mE83D4A0C1BF62925F8B9D4B49040A90CBA1B8860 (intptr_t ___clazz0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method);
// System.Int64 System.IntPtr::ToInt64()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int64_t IntPtr_ToInt64_m521F809F5D9ECAF93E808CFFFE45F67620C7879A (intptr_t* __this, const RuntimeMethod* method);
// System.Void UnityEngine.AndroidJNISafe::CallStaticVoidMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJNISafe_CallStaticVoidMethod_m6D6C21C3489E19241A6856D7642CDC56752D7128 (intptr_t ___clazz0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidReflection::GetStaticMethodID(System.String,System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidReflection_GetStaticMethodID_m36025A22F483A7C1D53BFAA0505DC59A7B503EA1 (String_t* ___clazz0, String_t* ___methodName1, String_t* ___signature2, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidReflection::GetMethodID(System.String,System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidReflection_GetMethodID_m99B37E6A752683D8F77DA7319D9956E03BAC322E (String_t* ___clazz0, String_t* ___methodName1, String_t* ___signature2, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNI::NewGlobalRef(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_NewGlobalRef_m34740B5AECF82CE97986D6E67F5E1D8CBF7DB837 (intptr_t ___obj0, const RuntimeMethod* method);
// System.Void UnityEngine.AndroidJNISafe::DeleteGlobalRef(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJNISafe_DeleteGlobalRef_m7651FA0BAEE0F4D660393C5CC6914F21270B0288 (intptr_t ___globalref0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJavaObject::GetRawClass()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJavaObject_GetRawClass_m051337FD2D7C0E765641B192D86FF4A06257836B (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidReflection::NewProxyInstance(System.IntPtr,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidReflection_NewProxyInstance_m53695E04979F0C45768004C5CC36A95A684C847C (intptr_t ___delegateHandle0, intptr_t ___interfaze1, const RuntimeMethod* method);
// System.Void UnityEngine.AndroidJavaRunnableProxy::.ctor(UnityEngine.AndroidJavaRunnable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJavaRunnableProxy__ctor_mDF1B01EBE4C312B67A43B452B440303855973A89 (AndroidJavaRunnableProxy_t17D14B64AF448BEC13E64E394A2626B261ED3BEB * __this, AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60 * ___runnable0, const RuntimeMethod* method);
// System.Int32 UnityEngine.AndroidJNISafe::GetArrayLength(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t AndroidJNISafe_GetArrayLength_m3015C191DBFC246946A88592731441A934507B56 (intptr_t ___array0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNISafe::GetObjectArrayElement(System.IntPtr,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNISafe_GetObjectArrayElement_m3219215297449FA1854927E80F1B74EF7413EF73 (intptr_t ___array0, int32_t ___index1, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJavaObject::GetRawObject()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJavaObject_GetRawObject_m09E30F9AF9DD2AE07D34CE3915BDA557E206271D (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, const RuntimeMethod* method);
// System.Int32 System.Array::GetLength(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Array_GetLength_m8EF840DA7BEB0DFF04D36C3DC651B673C49A02BB (RuntimeArray * __this, int32_t ___dimension0, const RuntimeMethod* method);
// System.Boolean UnityEngine.AndroidReflection::IsPrimitive(System.Type)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool AndroidReflection_IsPrimitive_mDD6A4050793DF2FA1EDF58010982C64A3F17376D (Type_t * ___t0, const RuntimeMethod* method);
// System.Void UnityEngine.Debug::LogWarning(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_LogWarning_m24085D883C9E74D7AB423F0625E13259923960E7 (RuntimeObject * ___message0, const RuntimeMethod* method);
// System.IntPtr UnityEngine._AndroidJNIHelper::ConvertToJNIArray(System.Array)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t _AndroidJNIHelper_ConvertToJNIArray_m8254063CFA125088D840280AEF8C2ACF1B1ED4D9 (RuntimeArray * ___array0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNIHelper::CreateJavaRunnable(UnityEngine.AndroidJavaRunnable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNIHelper_CreateJavaRunnable_m789E333B57BE23010719477567A818C88A529153 (AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60 * ___jrunnable0, const RuntimeMethod* method);
// System.String System.String::Concat(System.String,System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_m89EAB4C6A96B0E5C3F87300D6BE78D386B9EFC44 (String_t* ___str00, String_t* ___str11, String_t* ___str22, const RuntimeMethod* method);
// ReturnType UnityEngine.AndroidJavaObject::Call<UnityEngine.AndroidJavaObject>(System.String,System.Object[])
inline AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * AndroidJavaObject_Call_TisAndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_mC5ED59BBD9C24EFFD98D8C3819C7E15DFE08F412 (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, String_t* ___methodName0, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args1, const RuntimeMethod* method)
{
return (( AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * (*) (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *, String_t*, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*, const RuntimeMethod*))AndroidJavaObject_Call_TisRuntimeObject_mB802C2A6B0365A1670402D283EB7FA241C326B0E_gshared)(__this, ___methodName0, ___args1, method);
}
// ReturnType UnityEngine.AndroidJavaObject::Call<System.String>(System.String,System.Object[])
inline String_t* AndroidJavaObject_Call_TisString_t_mB2E722C64FC7BD9F98B983053A6D3F9D94D355AE (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, String_t* ___methodName0, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args1, const RuntimeMethod* method)
{
return (( String_t* (*) (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *, String_t*, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*, const RuntimeMethod*))AndroidJavaObject_Call_TisRuntimeObject_mB802C2A6B0365A1670402D283EB7FA241C326B0E_gshared)(__this, ___methodName0, ___args1, method);
}
// ReturnType UnityEngine.AndroidJavaObject::CallStatic<System.Int32>(System.String,System.Object[])
inline int32_t AndroidJavaObject_CallStatic_TisInt32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_mE6C2E19D140FDCD9C8736017AAA61A16904ADD63 (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, String_t* ___methodName0, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args1, const RuntimeMethod* method)
{
return (( int32_t (*) (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *, String_t*, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*, const RuntimeMethod*))AndroidJavaObject_CallStatic_TisInt32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_mE6C2E19D140FDCD9C8736017AAA61A16904ADD63_gshared)(__this, ___methodName0, ___args1, method);
}
// ReturnType UnityEngine.AndroidJavaObject::Call<System.Boolean>(System.String,System.Object[])
inline bool AndroidJavaObject_Call_TisBoolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_m705BF7B215A83B7851B19591CE37DA93250C7A8A (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, String_t* ___methodName0, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args1, const RuntimeMethod* method)
{
return (( bool (*) (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *, String_t*, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*, const RuntimeMethod*))AndroidJavaObject_Call_TisBoolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_m705BF7B215A83B7851B19591CE37DA93250C7A8A_gshared)(__this, ___methodName0, ___args1, method);
}
// System.Boolean System.String::op_Equality(System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_op_Equality_m2B91EE68355F142F67095973D32EB5828B7B73CB (String_t* ___a0, String_t* ___b1, const RuntimeMethod* method);
// ReturnType UnityEngine.AndroidJavaObject::CallStatic<UnityEngine.AndroidJavaObject>(System.String,System.Object[])
inline AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * AndroidJavaObject_CallStatic_TisAndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_mAD48C38D66AB67D0F0274D195F4A99CB7AB589F2 (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, String_t* ___methodName0, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args1, const RuntimeMethod* method)
{
return (( AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * (*) (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *, String_t*, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*, const RuntimeMethod*))AndroidJavaObject_CallStatic_TisRuntimeObject_m29BD05B7A29F937D71B746DFFE889B90E1142509_gshared)(__this, ___methodName0, ___args1, method);
}
// System.Void System.Array::SetValue(System.Object,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Array_SetValue_mD28884941182C5B7118CFBA3D55DB9CEA8797455 (RuntimeArray * __this, RuntimeObject * ___value0, int32_t ___index1, const RuntimeMethod* method);
// ReturnType UnityEngine.AndroidJavaObject::Call<System.Int32>(System.String,System.Object[])
inline int32_t AndroidJavaObject_Call_TisInt32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_m02A4D4C9FD8B15173829454766683BA424408A2A (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, String_t* ___methodName0, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args1, const RuntimeMethod* method)
{
return (( int32_t (*) (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *, String_t*, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*, const RuntimeMethod*))AndroidJavaObject_Call_TisInt32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_m02A4D4C9FD8B15173829454766683BA424408A2A_gshared)(__this, ___methodName0, ___args1, method);
}
// ReturnType UnityEngine.AndroidJavaObject::Call<System.SByte>(System.String,System.Object[])
inline int8_t AndroidJavaObject_Call_TisSByte_t928712DD662DC29BA4FAAE8CE2230AFB23447F0B_m0E0C93662AE6147907838FA7BAC5DFFF12DA8CD2 (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, String_t* ___methodName0, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args1, const RuntimeMethod* method)
{
return (( int8_t (*) (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *, String_t*, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*, const RuntimeMethod*))AndroidJavaObject_Call_TisSByte_t928712DD662DC29BA4FAAE8CE2230AFB23447F0B_m0E0C93662AE6147907838FA7BAC5DFFF12DA8CD2_gshared)(__this, ___methodName0, ___args1, method);
}
// ReturnType UnityEngine.AndroidJavaObject::Call<System.Int16>(System.String,System.Object[])
inline int16_t AndroidJavaObject_Call_TisInt16_tD0F031114106263BB459DA1F099FF9F42691295A_m01DA767827B3724380256A9F20BE680EE56B1C36 (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, String_t* ___methodName0, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args1, const RuntimeMethod* method)
{
return (( int16_t (*) (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *, String_t*, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*, const RuntimeMethod*))AndroidJavaObject_Call_TisInt16_tD0F031114106263BB459DA1F099FF9F42691295A_m01DA767827B3724380256A9F20BE680EE56B1C36_gshared)(__this, ___methodName0, ___args1, method);
}
// ReturnType UnityEngine.AndroidJavaObject::Call<System.Int64>(System.String,System.Object[])
inline int64_t AndroidJavaObject_Call_TisInt64_t378EE0D608BD3107E77238E85F30D2BBD46981F3_m2E2FBAE10897A748859DD7EB19EBB1DB9BD02787 (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, String_t* ___methodName0, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args1, const RuntimeMethod* method)
{
return (( int64_t (*) (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *, String_t*, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*, const RuntimeMethod*))AndroidJavaObject_Call_TisInt64_t378EE0D608BD3107E77238E85F30D2BBD46981F3_m2E2FBAE10897A748859DD7EB19EBB1DB9BD02787_gshared)(__this, ___methodName0, ___args1, method);
}
// ReturnType UnityEngine.AndroidJavaObject::Call<System.Single>(System.String,System.Object[])
inline float AndroidJavaObject_Call_TisSingle_tE07797BA3C98D4CA9B5A19413C19A76688AB899E_m068E70BCBA9EACF8129B1C9F711D3132EB6C9061 (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, String_t* ___methodName0, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args1, const RuntimeMethod* method)
{
return (( float (*) (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *, String_t*, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*, const RuntimeMethod*))AndroidJavaObject_Call_TisSingle_tE07797BA3C98D4CA9B5A19413C19A76688AB899E_m068E70BCBA9EACF8129B1C9F711D3132EB6C9061_gshared)(__this, ___methodName0, ___args1, method);
}
// ReturnType UnityEngine.AndroidJavaObject::Call<System.Double>(System.String,System.Object[])
inline double AndroidJavaObject_Call_TisDouble_t42821932CB52DE2057E685D0E1AF3DE5033D2181_mC771B88EC17F0B174134EC1218654F42A807A3B5 (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, String_t* ___methodName0, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args1, const RuntimeMethod* method)
{
return (( double (*) (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *, String_t*, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*, const RuntimeMethod*))AndroidJavaObject_Call_TisDouble_t42821932CB52DE2057E685D0E1AF3DE5033D2181_mC771B88EC17F0B174134EC1218654F42A807A3B5_gshared)(__this, ___methodName0, ___args1, method);
}
// ReturnType UnityEngine.AndroidJavaObject::Call<System.Char>(System.String,System.Object[])
inline Il2CppChar AndroidJavaObject_Call_TisChar_tFF60D8E7E89A20BE2294A003734341BD1DF43E14_m5E5A9D2A5C78D0EC058BBE4A6EFDE1F1C042D19B (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, String_t* ___methodName0, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args1, const RuntimeMethod* method)
{
return (( Il2CppChar (*) (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *, String_t*, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*, const RuntimeMethod*))AndroidJavaObject_Call_TisChar_tFF60D8E7E89A20BE2294A003734341BD1DF43E14_m5E5A9D2A5C78D0EC058BBE4A6EFDE1F1C042D19B_gshared)(__this, ___methodName0, ___args1, method);
}
// System.Object UnityEngine._AndroidJNIHelper::UnboxArray(UnityEngine.AndroidJavaObject)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * _AndroidJNIHelper_UnboxArray_m6287C810F0A8190BA7A7D2B104437F28B785FE7F (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * ___obj0, const RuntimeMethod* method);
// System.Void UnityEngine.AndroidJavaObject::.ctor(System.String,System.Object[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJavaObject__ctor_m6146DBD19BCFFDB3D4F42C8D38491F354B58B001 (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, String_t* ___className0, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args1, const RuntimeMethod* method);
// UnityEngine.AndroidJavaObject UnityEngine.AndroidJavaProxy::GetProxyObject()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * AndroidJavaProxy_GetProxyObject_mEDC1D96AAE0A4FC2B4E57E1FC3AE5C47C27FDC6A (AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF * __this, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNISafe::ToIntArray(System.Int32[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNISafe_ToIntArray_mD2FB6E5F31F6FD8A12DD3E86E1022EC14AFF5D0C (Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___array0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNISafe::ToBooleanArray(System.Boolean[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNISafe_ToBooleanArray_m2298F4521FD7F175F15B30FF7887D365BD1543BB (BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C* ___array0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNISafe::ToByteArray(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNISafe_ToByteArray_mCA96D852C39F79F57A8B68B8B03AF9EC795EA6D9 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___array0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNISafe::ToSByteArray(System.SByte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNISafe_ToSByteArray_m6C05420E192FBA37D7B168EC98BE04F56492087B (SByteU5BU5D_t7D94C53295E6116625EA7CC7DEA21FEDC39869E7* ___array0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNISafe::ToShortArray(System.Int16[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNISafe_ToShortArray_m52204D9DB65374293E9D6954A2C9C4D47B4396D1 (Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* ___array0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNISafe::ToLongArray(System.Int64[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNISafe_ToLongArray_m0C3D6AD8D2D116C3F11AECD5317AC01EABE16727 (Int64U5BU5D_tCA61E42872C63A4286B24EEE6E0650143B43DCE6* ___array0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNISafe::ToFloatArray(System.Single[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNISafe_ToFloatArray_m28D93667CB9E86FE20D0FC8B372BE26CEE9D8A19 (SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA* ___array0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNISafe::ToDoubleArray(System.Double[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNISafe_ToDoubleArray_m0273BA7E9FBD2216215EBD176C8F329973BA53E0 (DoubleU5BU5D_t8E1B42EB2ABB79FBD193A6B8C8D97A7CDE44A4FB* ___array0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNISafe::ToCharArray(System.Char[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNISafe_ToCharArray_mC1083C57846830CFA1A7CFFE5BE92F3B826FAC1D (CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* ___array0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNI::NewObjectArray(System.Int32,System.IntPtr,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_NewObjectArray_m40592BC65B199B1AAE32F2682D8E9236E07929EE (int32_t ___size0, intptr_t ___clazz1, intptr_t ___obj2, const RuntimeMethod* method);
// System.Void UnityEngine.AndroidJNI::SetObjectArrayElement(System.IntPtr,System.Int32,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJNI_SetObjectArrayElement_m1C6E498550EF9FCA24DBD3E6D4F2BF6764FB315D (intptr_t ___array0, int32_t ___index1, intptr_t ___obj2, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNISafe::ToObjectArray(System.IntPtr[],System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNISafe_ToObjectArray_m669E5441604094D8A20E3C1F1F5407AE985F82B8 (IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6* ___array0, intptr_t ___type1, const RuntimeMethod* method);
// System.String UnityEngine._AndroidJNIHelper::GetSignature(System.Object[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* _AndroidJNIHelper_GetSignature_m7621549E54EFD6362170628549B996BF5C52FBB7 (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNIHelper::GetConstructorID(System.IntPtr,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNIHelper_GetConstructorID_m22710C39375F8A965C70F995413D4B3C62E85E30 (intptr_t ___javaClass0, String_t* ___signature1, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidReflection::GetConstructorMember(System.IntPtr,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidReflection_GetConstructorMember_m4E88C8F6F83DB80D3313835CE760D8E7DC533C02 (intptr_t ___jclass0, String_t* ___signature1, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidJNISafe::FromReflectedMethod(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNISafe_FromReflectedMethod_m21A25975498B872199E7B9708AF0AD6E1248E3A7 (intptr_t ___refMethod0, const RuntimeMethod* method);
// System.IntPtr UnityEngine.AndroidReflection::GetMethodMember(System.IntPtr,System.String,System.String,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidReflection_GetMethodMember_m2959FEB7888CE8740DE1CF88C0CCB8A72F9F017B (intptr_t ___jclass0, String_t* ___methodName1, String_t* ___signature2, bool ___isStatic3, const RuntimeMethod* method);
// System.IntPtr UnityEngine._AndroidJNIHelper::GetMethodIDFallback(System.IntPtr,System.String,System.String,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t _AndroidJNIHelper_GetMethodIDFallback_mCAB1BB814895547718E10BA70AEA126CE98AD48C (intptr_t ___jclass0, String_t* ___methodName1, String_t* ___signature2, bool ___isStatic3, const RuntimeMethod* method);
// System.Boolean UnityEngine.AndroidReflection::IsAssignableFrom(System.Type,System.Type)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool AndroidReflection_IsAssignableFrom_m7B46715954FFFBDFA63B681FAF87AEB2ECF0E47C (Type_t * ___t0, Type_t * ___from1, const RuntimeMethod* method);
// System.Void System.Text.StringBuilder::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void StringBuilder__ctor_m5A81DE19E748F748E19FF13FB6FFD2547F9212D9 (StringBuilder_t * __this, const RuntimeMethod* method);
// System.Text.StringBuilder System.Text.StringBuilder::Append(System.Char)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR StringBuilder_t * StringBuilder_Append_m1ADA3C16E40BF253BCDB5F9579B4DBA9C3E5B22E (StringBuilder_t * __this, Il2CppChar ___value0, const RuntimeMethod* method);
// System.String UnityEngine._AndroidJNIHelper::GetSignature(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* _AndroidJNIHelper_GetSignature_m4A272D66518BF9A4C746B02B91AAB1361293232C (RuntimeObject * ___obj0, const RuntimeMethod* method);
// System.Text.StringBuilder System.Text.StringBuilder::Append(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR StringBuilder_t * StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1 (StringBuilder_t * __this, String_t* ___value0, const RuntimeMethod* method);
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.IntPtr UnityEngine.AndroidJNI::FindClass(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_FindClass_m9271648050957874E8489952E493156991C511F5 (String_t* ___name0, const RuntimeMethod* method)
{
typedef intptr_t (*AndroidJNI_FindClass_m9271648050957874E8489952E493156991C511F5_ftn) (String_t*);
static AndroidJNI_FindClass_m9271648050957874E8489952E493156991C511F5_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_FindClass_m9271648050957874E8489952E493156991C511F5_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::FindClass(System.String)");
intptr_t icallRetVal = _il2cpp_icall_func(___name0);
return icallRetVal;
}
// System.IntPtr UnityEngine.AndroidJNI::FromReflectedMethod(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_FromReflectedMethod_mBF204982142E2EA82F66F562F5661F2A459F34F5 (intptr_t ___refMethod0, const RuntimeMethod* method)
{
typedef intptr_t (*AndroidJNI_FromReflectedMethod_mBF204982142E2EA82F66F562F5661F2A459F34F5_ftn) (intptr_t);
static AndroidJNI_FromReflectedMethod_mBF204982142E2EA82F66F562F5661F2A459F34F5_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_FromReflectedMethod_mBF204982142E2EA82F66F562F5661F2A459F34F5_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::FromReflectedMethod(System.IntPtr)");
intptr_t icallRetVal = _il2cpp_icall_func(___refMethod0);
return icallRetVal;
}
// System.IntPtr UnityEngine.AndroidJNI::ExceptionOccurred()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_ExceptionOccurred_m347473FDF70118E17D092961232E7EAF0BCF2991 (const RuntimeMethod* method)
{
typedef intptr_t (*AndroidJNI_ExceptionOccurred_m347473FDF70118E17D092961232E7EAF0BCF2991_ftn) ();
static AndroidJNI_ExceptionOccurred_m347473FDF70118E17D092961232E7EAF0BCF2991_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_ExceptionOccurred_m347473FDF70118E17D092961232E7EAF0BCF2991_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::ExceptionOccurred()");
intptr_t icallRetVal = _il2cpp_icall_func();
return icallRetVal;
}
// System.Void UnityEngine.AndroidJNI::ExceptionClear()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJNI_ExceptionClear_mE1961C9BD4984AF52712BFF181B6B95F435531B7 (const RuntimeMethod* method)
{
typedef void (*AndroidJNI_ExceptionClear_mE1961C9BD4984AF52712BFF181B6B95F435531B7_ftn) ();
static AndroidJNI_ExceptionClear_mE1961C9BD4984AF52712BFF181B6B95F435531B7_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_ExceptionClear_mE1961C9BD4984AF52712BFF181B6B95F435531B7_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::ExceptionClear()");
_il2cpp_icall_func();
}
// System.IntPtr UnityEngine.AndroidJNI::NewGlobalRef(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_NewGlobalRef_m34740B5AECF82CE97986D6E67F5E1D8CBF7DB837 (intptr_t ___obj0, const RuntimeMethod* method)
{
typedef intptr_t (*AndroidJNI_NewGlobalRef_m34740B5AECF82CE97986D6E67F5E1D8CBF7DB837_ftn) (intptr_t);
static AndroidJNI_NewGlobalRef_m34740B5AECF82CE97986D6E67F5E1D8CBF7DB837_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_NewGlobalRef_m34740B5AECF82CE97986D6E67F5E1D8CBF7DB837_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::NewGlobalRef(System.IntPtr)");
intptr_t icallRetVal = _il2cpp_icall_func(___obj0);
return icallRetVal;
}
// System.Void UnityEngine.AndroidJNI::DeleteGlobalRef(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJNI_DeleteGlobalRef_m0B4945EEFFCA6F7CC0808310DD6FA8BFB58A4F53 (intptr_t ___obj0, const RuntimeMethod* method)
{
typedef void (*AndroidJNI_DeleteGlobalRef_m0B4945EEFFCA6F7CC0808310DD6FA8BFB58A4F53_ftn) (intptr_t);
static AndroidJNI_DeleteGlobalRef_m0B4945EEFFCA6F7CC0808310DD6FA8BFB58A4F53_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_DeleteGlobalRef_m0B4945EEFFCA6F7CC0808310DD6FA8BFB58A4F53_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::DeleteGlobalRef(System.IntPtr)");
_il2cpp_icall_func(___obj0);
}
// System.IntPtr UnityEngine.AndroidJNI::NewWeakGlobalRef(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_NewWeakGlobalRef_mB62AFFE361315D8C045F6EF4D961C5501839E295 (intptr_t ___obj0, const RuntimeMethod* method)
{
typedef intptr_t (*AndroidJNI_NewWeakGlobalRef_mB62AFFE361315D8C045F6EF4D961C5501839E295_ftn) (intptr_t);
static AndroidJNI_NewWeakGlobalRef_mB62AFFE361315D8C045F6EF4D961C5501839E295_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_NewWeakGlobalRef_mB62AFFE361315D8C045F6EF4D961C5501839E295_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::NewWeakGlobalRef(System.IntPtr)");
intptr_t icallRetVal = _il2cpp_icall_func(___obj0);
return icallRetVal;
}
// System.Void UnityEngine.AndroidJNI::DeleteWeakGlobalRef(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJNI_DeleteWeakGlobalRef_m972079D94C174FA5F427AC16C92B2B3179175F46 (intptr_t ___obj0, const RuntimeMethod* method)
{
typedef void (*AndroidJNI_DeleteWeakGlobalRef_m972079D94C174FA5F427AC16C92B2B3179175F46_ftn) (intptr_t);
static AndroidJNI_DeleteWeakGlobalRef_m972079D94C174FA5F427AC16C92B2B3179175F46_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_DeleteWeakGlobalRef_m972079D94C174FA5F427AC16C92B2B3179175F46_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::DeleteWeakGlobalRef(System.IntPtr)");
_il2cpp_icall_func(___obj0);
}
// System.IntPtr UnityEngine.AndroidJNI::NewLocalRef(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_NewLocalRef_m9309F714C7C9C3C47EA48218FB6B0BE810E42EAE (intptr_t ___obj0, const RuntimeMethod* method)
{
typedef intptr_t (*AndroidJNI_NewLocalRef_m9309F714C7C9C3C47EA48218FB6B0BE810E42EAE_ftn) (intptr_t);
static AndroidJNI_NewLocalRef_m9309F714C7C9C3C47EA48218FB6B0BE810E42EAE_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_NewLocalRef_m9309F714C7C9C3C47EA48218FB6B0BE810E42EAE_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::NewLocalRef(System.IntPtr)");
intptr_t icallRetVal = _il2cpp_icall_func(___obj0);
return icallRetVal;
}
// System.Void UnityEngine.AndroidJNI::DeleteLocalRef(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJNI_DeleteLocalRef_m5EEFE4C0CA9F65208C117ECE9D893A993A477DB4 (intptr_t ___obj0, const RuntimeMethod* method)
{
typedef void (*AndroidJNI_DeleteLocalRef_m5EEFE4C0CA9F65208C117ECE9D893A993A477DB4_ftn) (intptr_t);
static AndroidJNI_DeleteLocalRef_m5EEFE4C0CA9F65208C117ECE9D893A993A477DB4_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_DeleteLocalRef_m5EEFE4C0CA9F65208C117ECE9D893A993A477DB4_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::DeleteLocalRef(System.IntPtr)");
_il2cpp_icall_func(___obj0);
}
// System.IntPtr UnityEngine.AndroidJNI::NewObject(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_NewObject_m8D445E11DAFC786997C16BF296C0BB844F6E7D60 (intptr_t ___clazz0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
typedef intptr_t (*AndroidJNI_NewObject_m8D445E11DAFC786997C16BF296C0BB844F6E7D60_ftn) (intptr_t, intptr_t, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99*);
static AndroidJNI_NewObject_m8D445E11DAFC786997C16BF296C0BB844F6E7D60_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_NewObject_m8D445E11DAFC786997C16BF296C0BB844F6E7D60_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::NewObject(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])");
intptr_t icallRetVal = _il2cpp_icall_func(___clazz0, ___methodID1, ___args2);
return icallRetVal;
}
// System.IntPtr UnityEngine.AndroidJNI::GetObjectClass(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_GetObjectClass_m38B1858A3F6F7336FBEC67F36E998D61DE93988A (intptr_t ___obj0, const RuntimeMethod* method)
{
typedef intptr_t (*AndroidJNI_GetObjectClass_m38B1858A3F6F7336FBEC67F36E998D61DE93988A_ftn) (intptr_t);
static AndroidJNI_GetObjectClass_m38B1858A3F6F7336FBEC67F36E998D61DE93988A_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_GetObjectClass_m38B1858A3F6F7336FBEC67F36E998D61DE93988A_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::GetObjectClass(System.IntPtr)");
intptr_t icallRetVal = _il2cpp_icall_func(___obj0);
return icallRetVal;
}
// System.IntPtr UnityEngine.AndroidJNI::GetMethodID(System.IntPtr,System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_GetMethodID_m4A0DBC91C300B8F342333561BA237258E12D0A3B (intptr_t ___clazz0, String_t* ___name1, String_t* ___sig2, const RuntimeMethod* method)
{
typedef intptr_t (*AndroidJNI_GetMethodID_m4A0DBC91C300B8F342333561BA237258E12D0A3B_ftn) (intptr_t, String_t*, String_t*);
static AndroidJNI_GetMethodID_m4A0DBC91C300B8F342333561BA237258E12D0A3B_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_GetMethodID_m4A0DBC91C300B8F342333561BA237258E12D0A3B_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::GetMethodID(System.IntPtr,System.String,System.String)");
intptr_t icallRetVal = _il2cpp_icall_func(___clazz0, ___name1, ___sig2);
return icallRetVal;
}
// System.IntPtr UnityEngine.AndroidJNI::GetStaticMethodID(System.IntPtr,System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_GetStaticMethodID_mB2C04328A527EB6EAC74F048CC10DEB3099C4826 (intptr_t ___clazz0, String_t* ___name1, String_t* ___sig2, const RuntimeMethod* method)
{
typedef intptr_t (*AndroidJNI_GetStaticMethodID_mB2C04328A527EB6EAC74F048CC10DEB3099C4826_ftn) (intptr_t, String_t*, String_t*);
static AndroidJNI_GetStaticMethodID_mB2C04328A527EB6EAC74F048CC10DEB3099C4826_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_GetStaticMethodID_mB2C04328A527EB6EAC74F048CC10DEB3099C4826_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::GetStaticMethodID(System.IntPtr,System.String,System.String)");
intptr_t icallRetVal = _il2cpp_icall_func(___clazz0, ___name1, ___sig2);
return icallRetVal;
}
// System.IntPtr UnityEngine.AndroidJNI::NewString(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_NewString_m39B9E7C930BE075D93850E925F808720BEB5C673 (String_t* ___chars0, const RuntimeMethod* method)
{
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
{
String_t* L_0 = ___chars0;
intptr_t L_1;
L_1 = AndroidJNI_NewStringFromStr_m2FA0D93FE6ABFD5D1B3546B797EDE6ABB37208CC(L_0, /*hidden argument*/NULL);
V_0 = (intptr_t)L_1;
goto IL_000a;
}
IL_000a:
{
intptr_t L_2 = V_0;
return (intptr_t)L_2;
}
}
// System.IntPtr UnityEngine.AndroidJNI::NewStringFromStr(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_NewStringFromStr_m2FA0D93FE6ABFD5D1B3546B797EDE6ABB37208CC (String_t* ___chars0, const RuntimeMethod* method)
{
typedef intptr_t (*AndroidJNI_NewStringFromStr_m2FA0D93FE6ABFD5D1B3546B797EDE6ABB37208CC_ftn) (String_t*);
static AndroidJNI_NewStringFromStr_m2FA0D93FE6ABFD5D1B3546B797EDE6ABB37208CC_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_NewStringFromStr_m2FA0D93FE6ABFD5D1B3546B797EDE6ABB37208CC_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::NewStringFromStr(System.String)");
intptr_t icallRetVal = _il2cpp_icall_func(___chars0);
return icallRetVal;
}
// System.String UnityEngine.AndroidJNI::GetStringChars(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* AndroidJNI_GetStringChars_m95FBBCDB48D425FBDC19710D92C7D6D175041778 (intptr_t ___str0, const RuntimeMethod* method)
{
typedef String_t* (*AndroidJNI_GetStringChars_m95FBBCDB48D425FBDC19710D92C7D6D175041778_ftn) (intptr_t);
static AndroidJNI_GetStringChars_m95FBBCDB48D425FBDC19710D92C7D6D175041778_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_GetStringChars_m95FBBCDB48D425FBDC19710D92C7D6D175041778_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::GetStringChars(System.IntPtr)");
String_t* icallRetVal = _il2cpp_icall_func(___str0);
return icallRetVal;
}
// System.String UnityEngine.AndroidJNI::CallStringMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* AndroidJNI_CallStringMethod_m8D44F815C76333C22FF73753CF8289089E633261 (intptr_t ___obj0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
typedef String_t* (*AndroidJNI_CallStringMethod_m8D44F815C76333C22FF73753CF8289089E633261_ftn) (intptr_t, intptr_t, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99*);
static AndroidJNI_CallStringMethod_m8D44F815C76333C22FF73753CF8289089E633261_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_CallStringMethod_m8D44F815C76333C22FF73753CF8289089E633261_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::CallStringMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])");
String_t* icallRetVal = _il2cpp_icall_func(___obj0, ___methodID1, ___args2);
return icallRetVal;
}
// System.IntPtr UnityEngine.AndroidJNI::CallObjectMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_CallObjectMethod_m29CAA840E7ECD2A6B835EAF9E119F8E3E5B99495 (intptr_t ___obj0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
typedef intptr_t (*AndroidJNI_CallObjectMethod_m29CAA840E7ECD2A6B835EAF9E119F8E3E5B99495_ftn) (intptr_t, intptr_t, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99*);
static AndroidJNI_CallObjectMethod_m29CAA840E7ECD2A6B835EAF9E119F8E3E5B99495_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_CallObjectMethod_m29CAA840E7ECD2A6B835EAF9E119F8E3E5B99495_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::CallObjectMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])");
intptr_t icallRetVal = _il2cpp_icall_func(___obj0, ___methodID1, ___args2);
return icallRetVal;
}
// System.Int32 UnityEngine.AndroidJNI::CallIntMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t AndroidJNI_CallIntMethod_m3A49D0808C1D0C3EAF25B3F2DC7890B483B00CDF (intptr_t ___obj0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
typedef int32_t (*AndroidJNI_CallIntMethod_m3A49D0808C1D0C3EAF25B3F2DC7890B483B00CDF_ftn) (intptr_t, intptr_t, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99*);
static AndroidJNI_CallIntMethod_m3A49D0808C1D0C3EAF25B3F2DC7890B483B00CDF_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_CallIntMethod_m3A49D0808C1D0C3EAF25B3F2DC7890B483B00CDF_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::CallIntMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])");
int32_t icallRetVal = _il2cpp_icall_func(___obj0, ___methodID1, ___args2);
return icallRetVal;
}
// System.Boolean UnityEngine.AndroidJNI::CallBooleanMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool AndroidJNI_CallBooleanMethod_mCC2BF562D42946CC90BB9E5489C9311DB38A6F8A (intptr_t ___obj0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
typedef bool (*AndroidJNI_CallBooleanMethod_mCC2BF562D42946CC90BB9E5489C9311DB38A6F8A_ftn) (intptr_t, intptr_t, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99*);
static AndroidJNI_CallBooleanMethod_mCC2BF562D42946CC90BB9E5489C9311DB38A6F8A_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_CallBooleanMethod_mCC2BF562D42946CC90BB9E5489C9311DB38A6F8A_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::CallBooleanMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])");
bool icallRetVal = _il2cpp_icall_func(___obj0, ___methodID1, ___args2);
return icallRetVal;
}
// System.Int16 UnityEngine.AndroidJNI::CallShortMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int16_t AndroidJNI_CallShortMethod_m719565EF3E0DB80078F924283F72E3492BCED486 (intptr_t ___obj0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
typedef int16_t (*AndroidJNI_CallShortMethod_m719565EF3E0DB80078F924283F72E3492BCED486_ftn) (intptr_t, intptr_t, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99*);
static AndroidJNI_CallShortMethod_m719565EF3E0DB80078F924283F72E3492BCED486_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_CallShortMethod_m719565EF3E0DB80078F924283F72E3492BCED486_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::CallShortMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])");
int16_t icallRetVal = _il2cpp_icall_func(___obj0, ___methodID1, ___args2);
return icallRetVal;
}
// System.SByte UnityEngine.AndroidJNI::CallSByteMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int8_t AndroidJNI_CallSByteMethod_mD99C2871A4ED3D2228B6F9EA97484D71E529C5EA (intptr_t ___obj0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
typedef int8_t (*AndroidJNI_CallSByteMethod_mD99C2871A4ED3D2228B6F9EA97484D71E529C5EA_ftn) (intptr_t, intptr_t, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99*);
static AndroidJNI_CallSByteMethod_mD99C2871A4ED3D2228B6F9EA97484D71E529C5EA_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_CallSByteMethod_mD99C2871A4ED3D2228B6F9EA97484D71E529C5EA_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::CallSByteMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])");
int8_t icallRetVal = _il2cpp_icall_func(___obj0, ___methodID1, ___args2);
return icallRetVal;
}
// System.Char UnityEngine.AndroidJNI::CallCharMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Il2CppChar AndroidJNI_CallCharMethod_m6D9AB75BB4E6E6F40C12654EADB9CB3AC441F257 (intptr_t ___obj0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
typedef Il2CppChar (*AndroidJNI_CallCharMethod_m6D9AB75BB4E6E6F40C12654EADB9CB3AC441F257_ftn) (intptr_t, intptr_t, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99*);
static AndroidJNI_CallCharMethod_m6D9AB75BB4E6E6F40C12654EADB9CB3AC441F257_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_CallCharMethod_m6D9AB75BB4E6E6F40C12654EADB9CB3AC441F257_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::CallCharMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])");
Il2CppChar icallRetVal = _il2cpp_icall_func(___obj0, ___methodID1, ___args2);
return icallRetVal;
}
// System.Single UnityEngine.AndroidJNI::CallFloatMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float AndroidJNI_CallFloatMethod_mB40ADB8EFB34D674AF586B65E3B443AF51B62CD9 (intptr_t ___obj0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
typedef float (*AndroidJNI_CallFloatMethod_mB40ADB8EFB34D674AF586B65E3B443AF51B62CD9_ftn) (intptr_t, intptr_t, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99*);
static AndroidJNI_CallFloatMethod_mB40ADB8EFB34D674AF586B65E3B443AF51B62CD9_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_CallFloatMethod_mB40ADB8EFB34D674AF586B65E3B443AF51B62CD9_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::CallFloatMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])");
float icallRetVal = _il2cpp_icall_func(___obj0, ___methodID1, ___args2);
return icallRetVal;
}
// System.Double UnityEngine.AndroidJNI::CallDoubleMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR double AndroidJNI_CallDoubleMethod_mC6B84A261650B29C19C304F07D1080B38ABC7186 (intptr_t ___obj0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
typedef double (*AndroidJNI_CallDoubleMethod_mC6B84A261650B29C19C304F07D1080B38ABC7186_ftn) (intptr_t, intptr_t, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99*);
static AndroidJNI_CallDoubleMethod_mC6B84A261650B29C19C304F07D1080B38ABC7186_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_CallDoubleMethod_mC6B84A261650B29C19C304F07D1080B38ABC7186_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::CallDoubleMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])");
double icallRetVal = _il2cpp_icall_func(___obj0, ___methodID1, ___args2);
return icallRetVal;
}
// System.Int64 UnityEngine.AndroidJNI::CallLongMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int64_t AndroidJNI_CallLongMethod_m566FBCF6E3D1B11ECBA4DBB51E3712F2EE9A7FE9 (intptr_t ___obj0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
typedef int64_t (*AndroidJNI_CallLongMethod_m566FBCF6E3D1B11ECBA4DBB51E3712F2EE9A7FE9_ftn) (intptr_t, intptr_t, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99*);
static AndroidJNI_CallLongMethod_m566FBCF6E3D1B11ECBA4DBB51E3712F2EE9A7FE9_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_CallLongMethod_m566FBCF6E3D1B11ECBA4DBB51E3712F2EE9A7FE9_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::CallLongMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])");
int64_t icallRetVal = _il2cpp_icall_func(___obj0, ___methodID1, ___args2);
return icallRetVal;
}
// System.String UnityEngine.AndroidJNI::CallStaticStringMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* AndroidJNI_CallStaticStringMethod_m4089540DF5B52F735C6C70988D73FE69463B7B44 (intptr_t ___clazz0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
typedef String_t* (*AndroidJNI_CallStaticStringMethod_m4089540DF5B52F735C6C70988D73FE69463B7B44_ftn) (intptr_t, intptr_t, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99*);
static AndroidJNI_CallStaticStringMethod_m4089540DF5B52F735C6C70988D73FE69463B7B44_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_CallStaticStringMethod_m4089540DF5B52F735C6C70988D73FE69463B7B44_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::CallStaticStringMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])");
String_t* icallRetVal = _il2cpp_icall_func(___clazz0, ___methodID1, ___args2);
return icallRetVal;
}
// System.IntPtr UnityEngine.AndroidJNI::CallStaticObjectMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_CallStaticObjectMethod_m41962AB7EBBC53ACB5ACD5D7CC175EC8CFF22B13 (intptr_t ___clazz0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
typedef intptr_t (*AndroidJNI_CallStaticObjectMethod_m41962AB7EBBC53ACB5ACD5D7CC175EC8CFF22B13_ftn) (intptr_t, intptr_t, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99*);
static AndroidJNI_CallStaticObjectMethod_m41962AB7EBBC53ACB5ACD5D7CC175EC8CFF22B13_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_CallStaticObjectMethod_m41962AB7EBBC53ACB5ACD5D7CC175EC8CFF22B13_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::CallStaticObjectMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])");
intptr_t icallRetVal = _il2cpp_icall_func(___clazz0, ___methodID1, ___args2);
return icallRetVal;
}
// System.Int32 UnityEngine.AndroidJNI::CallStaticIntMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t AndroidJNI_CallStaticIntMethod_mE05BBCE19901EED01DB88DCE7775D2EC75266F6F (intptr_t ___clazz0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
typedef int32_t (*AndroidJNI_CallStaticIntMethod_mE05BBCE19901EED01DB88DCE7775D2EC75266F6F_ftn) (intptr_t, intptr_t, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99*);
static AndroidJNI_CallStaticIntMethod_mE05BBCE19901EED01DB88DCE7775D2EC75266F6F_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_CallStaticIntMethod_mE05BBCE19901EED01DB88DCE7775D2EC75266F6F_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::CallStaticIntMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])");
int32_t icallRetVal = _il2cpp_icall_func(___clazz0, ___methodID1, ___args2);
return icallRetVal;
}
// System.Boolean UnityEngine.AndroidJNI::CallStaticBooleanMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool AndroidJNI_CallStaticBooleanMethod_mA658B97E472490DCEF41A9C9BE9E2808FD4D8649 (intptr_t ___clazz0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
typedef bool (*AndroidJNI_CallStaticBooleanMethod_mA658B97E472490DCEF41A9C9BE9E2808FD4D8649_ftn) (intptr_t, intptr_t, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99*);
static AndroidJNI_CallStaticBooleanMethod_mA658B97E472490DCEF41A9C9BE9E2808FD4D8649_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_CallStaticBooleanMethod_mA658B97E472490DCEF41A9C9BE9E2808FD4D8649_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::CallStaticBooleanMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])");
bool icallRetVal = _il2cpp_icall_func(___clazz0, ___methodID1, ___args2);
return icallRetVal;
}
// System.Int16 UnityEngine.AndroidJNI::CallStaticShortMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int16_t AndroidJNI_CallStaticShortMethod_m06B921F4634800E6E42691920E9DD1697491061A (intptr_t ___clazz0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
typedef int16_t (*AndroidJNI_CallStaticShortMethod_m06B921F4634800E6E42691920E9DD1697491061A_ftn) (intptr_t, intptr_t, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99*);
static AndroidJNI_CallStaticShortMethod_m06B921F4634800E6E42691920E9DD1697491061A_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_CallStaticShortMethod_m06B921F4634800E6E42691920E9DD1697491061A_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::CallStaticShortMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])");
int16_t icallRetVal = _il2cpp_icall_func(___clazz0, ___methodID1, ___args2);
return icallRetVal;
}
// System.SByte UnityEngine.AndroidJNI::CallStaticSByteMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int8_t AndroidJNI_CallStaticSByteMethod_m5E1FBD3B228299120E15BC39A97BB98BFD8CEA68 (intptr_t ___clazz0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
typedef int8_t (*AndroidJNI_CallStaticSByteMethod_m5E1FBD3B228299120E15BC39A97BB98BFD8CEA68_ftn) (intptr_t, intptr_t, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99*);
static AndroidJNI_CallStaticSByteMethod_m5E1FBD3B228299120E15BC39A97BB98BFD8CEA68_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_CallStaticSByteMethod_m5E1FBD3B228299120E15BC39A97BB98BFD8CEA68_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::CallStaticSByteMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])");
int8_t icallRetVal = _il2cpp_icall_func(___clazz0, ___methodID1, ___args2);
return icallRetVal;
}
// System.Char UnityEngine.AndroidJNI::CallStaticCharMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Il2CppChar AndroidJNI_CallStaticCharMethod_mA3E1C0CA79C37C0E8CA480305C0195D87C4EBBF7 (intptr_t ___clazz0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
typedef Il2CppChar (*AndroidJNI_CallStaticCharMethod_mA3E1C0CA79C37C0E8CA480305C0195D87C4EBBF7_ftn) (intptr_t, intptr_t, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99*);
static AndroidJNI_CallStaticCharMethod_mA3E1C0CA79C37C0E8CA480305C0195D87C4EBBF7_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_CallStaticCharMethod_mA3E1C0CA79C37C0E8CA480305C0195D87C4EBBF7_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::CallStaticCharMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])");
Il2CppChar icallRetVal = _il2cpp_icall_func(___clazz0, ___methodID1, ___args2);
return icallRetVal;
}
// System.Single UnityEngine.AndroidJNI::CallStaticFloatMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float AndroidJNI_CallStaticFloatMethod_m0DA71B5E200550A66C4880BFF404225B063ACDFE (intptr_t ___clazz0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
typedef float (*AndroidJNI_CallStaticFloatMethod_m0DA71B5E200550A66C4880BFF404225B063ACDFE_ftn) (intptr_t, intptr_t, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99*);
static AndroidJNI_CallStaticFloatMethod_m0DA71B5E200550A66C4880BFF404225B063ACDFE_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_CallStaticFloatMethod_m0DA71B5E200550A66C4880BFF404225B063ACDFE_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::CallStaticFloatMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])");
float icallRetVal = _il2cpp_icall_func(___clazz0, ___methodID1, ___args2);
return icallRetVal;
}
// System.Double UnityEngine.AndroidJNI::CallStaticDoubleMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR double AndroidJNI_CallStaticDoubleMethod_m705917C9F0238B4C0E040C9156424FB1BD2FC4DA (intptr_t ___clazz0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
typedef double (*AndroidJNI_CallStaticDoubleMethod_m705917C9F0238B4C0E040C9156424FB1BD2FC4DA_ftn) (intptr_t, intptr_t, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99*);
static AndroidJNI_CallStaticDoubleMethod_m705917C9F0238B4C0E040C9156424FB1BD2FC4DA_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_CallStaticDoubleMethod_m705917C9F0238B4C0E040C9156424FB1BD2FC4DA_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::CallStaticDoubleMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])");
double icallRetVal = _il2cpp_icall_func(___clazz0, ___methodID1, ___args2);
return icallRetVal;
}
// System.Int64 UnityEngine.AndroidJNI::CallStaticLongMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int64_t AndroidJNI_CallStaticLongMethod_mA9AAA7D40F0F6D5BB9EB183ED5E9ADD05714648B (intptr_t ___clazz0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
typedef int64_t (*AndroidJNI_CallStaticLongMethod_mA9AAA7D40F0F6D5BB9EB183ED5E9ADD05714648B_ftn) (intptr_t, intptr_t, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99*);
static AndroidJNI_CallStaticLongMethod_mA9AAA7D40F0F6D5BB9EB183ED5E9ADD05714648B_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_CallStaticLongMethod_mA9AAA7D40F0F6D5BB9EB183ED5E9ADD05714648B_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::CallStaticLongMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])");
int64_t icallRetVal = _il2cpp_icall_func(___clazz0, ___methodID1, ___args2);
return icallRetVal;
}
// System.Void UnityEngine.AndroidJNI::CallStaticVoidMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJNI_CallStaticVoidMethod_mE35981047575D7C0028FC4EF205B05909911F0E3 (intptr_t ___clazz0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
typedef void (*AndroidJNI_CallStaticVoidMethod_mE35981047575D7C0028FC4EF205B05909911F0E3_ftn) (intptr_t, intptr_t, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99*);
static AndroidJNI_CallStaticVoidMethod_mE35981047575D7C0028FC4EF205B05909911F0E3_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_CallStaticVoidMethod_mE35981047575D7C0028FC4EF205B05909911F0E3_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::CallStaticVoidMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])");
_il2cpp_icall_func(___clazz0, ___methodID1, ___args2);
}
// System.IntPtr UnityEngine.AndroidJNI::ToBooleanArray(System.Boolean[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_ToBooleanArray_m105D3745D21CE3B0780C3861BB455A9E29B0B9F6 (BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C* ___array0, const RuntimeMethod* method)
{
typedef intptr_t (*AndroidJNI_ToBooleanArray_m105D3745D21CE3B0780C3861BB455A9E29B0B9F6_ftn) (BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C*);
static AndroidJNI_ToBooleanArray_m105D3745D21CE3B0780C3861BB455A9E29B0B9F6_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_ToBooleanArray_m105D3745D21CE3B0780C3861BB455A9E29B0B9F6_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::ToBooleanArray(System.Boolean[])");
intptr_t icallRetVal = _il2cpp_icall_func(___array0);
return icallRetVal;
}
// System.IntPtr UnityEngine.AndroidJNI::ToByteArray(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_ToByteArray_m099C6F143979F050C4A6AECF70854153CE8B58CC (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___array0, const RuntimeMethod* method)
{
typedef intptr_t (*AndroidJNI_ToByteArray_m099C6F143979F050C4A6AECF70854153CE8B58CC_ftn) (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*);
static AndroidJNI_ToByteArray_m099C6F143979F050C4A6AECF70854153CE8B58CC_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_ToByteArray_m099C6F143979F050C4A6AECF70854153CE8B58CC_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::ToByteArray(System.Byte[])");
intptr_t icallRetVal = _il2cpp_icall_func(___array0);
return icallRetVal;
}
// System.IntPtr UnityEngine.AndroidJNI::ToSByteArray(System.SByte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_ToSByteArray_m91EBEA7CBDBCCDF759D77AB5BD1AE8BF00030B5F (SByteU5BU5D_t7D94C53295E6116625EA7CC7DEA21FEDC39869E7* ___array0, const RuntimeMethod* method)
{
typedef intptr_t (*AndroidJNI_ToSByteArray_m91EBEA7CBDBCCDF759D77AB5BD1AE8BF00030B5F_ftn) (SByteU5BU5D_t7D94C53295E6116625EA7CC7DEA21FEDC39869E7*);
static AndroidJNI_ToSByteArray_m91EBEA7CBDBCCDF759D77AB5BD1AE8BF00030B5F_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_ToSByteArray_m91EBEA7CBDBCCDF759D77AB5BD1AE8BF00030B5F_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::ToSByteArray(System.SByte[])");
intptr_t icallRetVal = _il2cpp_icall_func(___array0);
return icallRetVal;
}
// System.IntPtr UnityEngine.AndroidJNI::ToCharArray(System.Char[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_ToCharArray_mC48F010177FFBC2F0CCAAE1B675B6C4882EBA257 (CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* ___array0, const RuntimeMethod* method)
{
typedef intptr_t (*AndroidJNI_ToCharArray_mC48F010177FFBC2F0CCAAE1B675B6C4882EBA257_ftn) (CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34*);
static AndroidJNI_ToCharArray_mC48F010177FFBC2F0CCAAE1B675B6C4882EBA257_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_ToCharArray_mC48F010177FFBC2F0CCAAE1B675B6C4882EBA257_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::ToCharArray(System.Char[])");
intptr_t icallRetVal = _il2cpp_icall_func(___array0);
return icallRetVal;
}
// System.IntPtr UnityEngine.AndroidJNI::ToShortArray(System.Int16[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_ToShortArray_m37FFD5AD4C5CC07127F2E64598FCD5A0924B246F (Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* ___array0, const RuntimeMethod* method)
{
typedef intptr_t (*AndroidJNI_ToShortArray_m37FFD5AD4C5CC07127F2E64598FCD5A0924B246F_ftn) (Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD*);
static AndroidJNI_ToShortArray_m37FFD5AD4C5CC07127F2E64598FCD5A0924B246F_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_ToShortArray_m37FFD5AD4C5CC07127F2E64598FCD5A0924B246F_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::ToShortArray(System.Int16[])");
intptr_t icallRetVal = _il2cpp_icall_func(___array0);
return icallRetVal;
}
// System.IntPtr UnityEngine.AndroidJNI::ToIntArray(System.Int32[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_ToIntArray_mB2B766977213FA271EE9044B5B781112CA274317 (Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___array0, const RuntimeMethod* method)
{
typedef intptr_t (*AndroidJNI_ToIntArray_mB2B766977213FA271EE9044B5B781112CA274317_ftn) (Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32*);
static AndroidJNI_ToIntArray_mB2B766977213FA271EE9044B5B781112CA274317_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_ToIntArray_mB2B766977213FA271EE9044B5B781112CA274317_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::ToIntArray(System.Int32[])");
intptr_t icallRetVal = _il2cpp_icall_func(___array0);
return icallRetVal;
}
// System.IntPtr UnityEngine.AndroidJNI::ToLongArray(System.Int64[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_ToLongArray_m784C3156DDD9D0D74E21F394CDFEB3C87538355F (Int64U5BU5D_tCA61E42872C63A4286B24EEE6E0650143B43DCE6* ___array0, const RuntimeMethod* method)
{
typedef intptr_t (*AndroidJNI_ToLongArray_m784C3156DDD9D0D74E21F394CDFEB3C87538355F_ftn) (Int64U5BU5D_tCA61E42872C63A4286B24EEE6E0650143B43DCE6*);
static AndroidJNI_ToLongArray_m784C3156DDD9D0D74E21F394CDFEB3C87538355F_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_ToLongArray_m784C3156DDD9D0D74E21F394CDFEB3C87538355F_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::ToLongArray(System.Int64[])");
intptr_t icallRetVal = _il2cpp_icall_func(___array0);
return icallRetVal;
}
// System.IntPtr UnityEngine.AndroidJNI::ToFloatArray(System.Single[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_ToFloatArray_m197E51BD1D14272F35DA0FF57B9C158E3DC5DA8D (SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA* ___array0, const RuntimeMethod* method)
{
typedef intptr_t (*AndroidJNI_ToFloatArray_m197E51BD1D14272F35DA0FF57B9C158E3DC5DA8D_ftn) (SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA*);
static AndroidJNI_ToFloatArray_m197E51BD1D14272F35DA0FF57B9C158E3DC5DA8D_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_ToFloatArray_m197E51BD1D14272F35DA0FF57B9C158E3DC5DA8D_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::ToFloatArray(System.Single[])");
intptr_t icallRetVal = _il2cpp_icall_func(___array0);
return icallRetVal;
}
// System.IntPtr UnityEngine.AndroidJNI::ToDoubleArray(System.Double[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_ToDoubleArray_m00242343670C4CC0103A07CB766D80F53E36130D (DoubleU5BU5D_t8E1B42EB2ABB79FBD193A6B8C8D97A7CDE44A4FB* ___array0, const RuntimeMethod* method)
{
typedef intptr_t (*AndroidJNI_ToDoubleArray_m00242343670C4CC0103A07CB766D80F53E36130D_ftn) (DoubleU5BU5D_t8E1B42EB2ABB79FBD193A6B8C8D97A7CDE44A4FB*);
static AndroidJNI_ToDoubleArray_m00242343670C4CC0103A07CB766D80F53E36130D_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_ToDoubleArray_m00242343670C4CC0103A07CB766D80F53E36130D_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::ToDoubleArray(System.Double[])");
intptr_t icallRetVal = _il2cpp_icall_func(___array0);
return icallRetVal;
}
// System.IntPtr UnityEngine.AndroidJNI::ToObjectArray(System.IntPtr[],System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_ToObjectArray_m1C7B8259B04AC6D68F56BF5F108026882B039F24 (IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6* ___array0, intptr_t ___arrayClass1, const RuntimeMethod* method)
{
typedef intptr_t (*AndroidJNI_ToObjectArray_m1C7B8259B04AC6D68F56BF5F108026882B039F24_ftn) (IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6*, intptr_t);
static AndroidJNI_ToObjectArray_m1C7B8259B04AC6D68F56BF5F108026882B039F24_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_ToObjectArray_m1C7B8259B04AC6D68F56BF5F108026882B039F24_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::ToObjectArray(System.IntPtr[],System.IntPtr)");
intptr_t icallRetVal = _il2cpp_icall_func(___array0, ___arrayClass1);
return icallRetVal;
}
// System.Boolean[] UnityEngine.AndroidJNI::FromBooleanArray(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C* AndroidJNI_FromBooleanArray_m082FF870EE916B9603686E35776D5369B95D207E (intptr_t ___array0, const RuntimeMethod* method)
{
typedef BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C* (*AndroidJNI_FromBooleanArray_m082FF870EE916B9603686E35776D5369B95D207E_ftn) (intptr_t);
static AndroidJNI_FromBooleanArray_m082FF870EE916B9603686E35776D5369B95D207E_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_FromBooleanArray_m082FF870EE916B9603686E35776D5369B95D207E_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::FromBooleanArray(System.IntPtr)");
BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C* icallRetVal = _il2cpp_icall_func(___array0);
return icallRetVal;
}
// System.Byte[] UnityEngine.AndroidJNI::FromByteArray(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* AndroidJNI_FromByteArray_m8EC58D6AE31ADD634490F84A4F4E36831DB2EC87 (intptr_t ___array0, const RuntimeMethod* method)
{
typedef ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* (*AndroidJNI_FromByteArray_m8EC58D6AE31ADD634490F84A4F4E36831DB2EC87_ftn) (intptr_t);
static AndroidJNI_FromByteArray_m8EC58D6AE31ADD634490F84A4F4E36831DB2EC87_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_FromByteArray_m8EC58D6AE31ADD634490F84A4F4E36831DB2EC87_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::FromByteArray(System.IntPtr)");
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* icallRetVal = _il2cpp_icall_func(___array0);
return icallRetVal;
}
// System.SByte[] UnityEngine.AndroidJNI::FromSByteArray(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR SByteU5BU5D_t7D94C53295E6116625EA7CC7DEA21FEDC39869E7* AndroidJNI_FromSByteArray_m5372FB70B8027721C47BE0359F538A90128288CD (intptr_t ___array0, const RuntimeMethod* method)
{
typedef SByteU5BU5D_t7D94C53295E6116625EA7CC7DEA21FEDC39869E7* (*AndroidJNI_FromSByteArray_m5372FB70B8027721C47BE0359F538A90128288CD_ftn) (intptr_t);
static AndroidJNI_FromSByteArray_m5372FB70B8027721C47BE0359F538A90128288CD_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_FromSByteArray_m5372FB70B8027721C47BE0359F538A90128288CD_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::FromSByteArray(System.IntPtr)");
SByteU5BU5D_t7D94C53295E6116625EA7CC7DEA21FEDC39869E7* icallRetVal = _il2cpp_icall_func(___array0);
return icallRetVal;
}
// System.Char[] UnityEngine.AndroidJNI::FromCharArray(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* AndroidJNI_FromCharArray_mCDE27061131471E18F064241982F7C58921B4BCE (intptr_t ___array0, const RuntimeMethod* method)
{
typedef CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* (*AndroidJNI_FromCharArray_mCDE27061131471E18F064241982F7C58921B4BCE_ftn) (intptr_t);
static AndroidJNI_FromCharArray_mCDE27061131471E18F064241982F7C58921B4BCE_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_FromCharArray_mCDE27061131471E18F064241982F7C58921B4BCE_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::FromCharArray(System.IntPtr)");
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* icallRetVal = _il2cpp_icall_func(___array0);
return icallRetVal;
}
// System.Int16[] UnityEngine.AndroidJNI::FromShortArray(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* AndroidJNI_FromShortArray_mAD7FEF4EEAEC6A3DEF148C02EF4E00002A70542E (intptr_t ___array0, const RuntimeMethod* method)
{
typedef Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* (*AndroidJNI_FromShortArray_mAD7FEF4EEAEC6A3DEF148C02EF4E00002A70542E_ftn) (intptr_t);
static AndroidJNI_FromShortArray_mAD7FEF4EEAEC6A3DEF148C02EF4E00002A70542E_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_FromShortArray_mAD7FEF4EEAEC6A3DEF148C02EF4E00002A70542E_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::FromShortArray(System.IntPtr)");
Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* icallRetVal = _il2cpp_icall_func(___array0);
return icallRetVal;
}
// System.Int32[] UnityEngine.AndroidJNI::FromIntArray(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* AndroidJNI_FromIntArray_mA60A708BA57B6F520260D4DC6B10E07C54E29C1F (intptr_t ___array0, const RuntimeMethod* method)
{
typedef Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* (*AndroidJNI_FromIntArray_mA60A708BA57B6F520260D4DC6B10E07C54E29C1F_ftn) (intptr_t);
static AndroidJNI_FromIntArray_mA60A708BA57B6F520260D4DC6B10E07C54E29C1F_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_FromIntArray_mA60A708BA57B6F520260D4DC6B10E07C54E29C1F_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::FromIntArray(System.IntPtr)");
Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* icallRetVal = _il2cpp_icall_func(___array0);
return icallRetVal;
}
// System.Int64[] UnityEngine.AndroidJNI::FromLongArray(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int64U5BU5D_tCA61E42872C63A4286B24EEE6E0650143B43DCE6* AndroidJNI_FromLongArray_m62518A89509FAD6404628618EA05A63911DB0941 (intptr_t ___array0, const RuntimeMethod* method)
{
typedef Int64U5BU5D_tCA61E42872C63A4286B24EEE6E0650143B43DCE6* (*AndroidJNI_FromLongArray_m62518A89509FAD6404628618EA05A63911DB0941_ftn) (intptr_t);
static AndroidJNI_FromLongArray_m62518A89509FAD6404628618EA05A63911DB0941_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_FromLongArray_m62518A89509FAD6404628618EA05A63911DB0941_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::FromLongArray(System.IntPtr)");
Int64U5BU5D_tCA61E42872C63A4286B24EEE6E0650143B43DCE6* icallRetVal = _il2cpp_icall_func(___array0);
return icallRetVal;
}
// System.Single[] UnityEngine.AndroidJNI::FromFloatArray(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA* AndroidJNI_FromFloatArray_m01E10AC1773DE0878B8875994E74B205E42EE2E4 (intptr_t ___array0, const RuntimeMethod* method)
{
typedef SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA* (*AndroidJNI_FromFloatArray_m01E10AC1773DE0878B8875994E74B205E42EE2E4_ftn) (intptr_t);
static AndroidJNI_FromFloatArray_m01E10AC1773DE0878B8875994E74B205E42EE2E4_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_FromFloatArray_m01E10AC1773DE0878B8875994E74B205E42EE2E4_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::FromFloatArray(System.IntPtr)");
SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA* icallRetVal = _il2cpp_icall_func(___array0);
return icallRetVal;
}
// System.Double[] UnityEngine.AndroidJNI::FromDoubleArray(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DoubleU5BU5D_t8E1B42EB2ABB79FBD193A6B8C8D97A7CDE44A4FB* AndroidJNI_FromDoubleArray_mB8DA303F2DC6FB96E45D6C2DEC2B1C7AF9A7D9BE (intptr_t ___array0, const RuntimeMethod* method)
{
typedef DoubleU5BU5D_t8E1B42EB2ABB79FBD193A6B8C8D97A7CDE44A4FB* (*AndroidJNI_FromDoubleArray_mB8DA303F2DC6FB96E45D6C2DEC2B1C7AF9A7D9BE_ftn) (intptr_t);
static AndroidJNI_FromDoubleArray_mB8DA303F2DC6FB96E45D6C2DEC2B1C7AF9A7D9BE_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_FromDoubleArray_mB8DA303F2DC6FB96E45D6C2DEC2B1C7AF9A7D9BE_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::FromDoubleArray(System.IntPtr)");
DoubleU5BU5D_t8E1B42EB2ABB79FBD193A6B8C8D97A7CDE44A4FB* icallRetVal = _il2cpp_icall_func(___array0);
return icallRetVal;
}
// System.Int32 UnityEngine.AndroidJNI::GetArrayLength(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t AndroidJNI_GetArrayLength_m48A34992E6BF0EF5510037EA38EB2D348634C9DE (intptr_t ___array0, const RuntimeMethod* method)
{
typedef int32_t (*AndroidJNI_GetArrayLength_m48A34992E6BF0EF5510037EA38EB2D348634C9DE_ftn) (intptr_t);
static AndroidJNI_GetArrayLength_m48A34992E6BF0EF5510037EA38EB2D348634C9DE_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_GetArrayLength_m48A34992E6BF0EF5510037EA38EB2D348634C9DE_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::GetArrayLength(System.IntPtr)");
int32_t icallRetVal = _il2cpp_icall_func(___array0);
return icallRetVal;
}
// System.IntPtr UnityEngine.AndroidJNI::NewObjectArray(System.Int32,System.IntPtr,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_NewObjectArray_m40592BC65B199B1AAE32F2682D8E9236E07929EE (int32_t ___size0, intptr_t ___clazz1, intptr_t ___obj2, const RuntimeMethod* method)
{
typedef intptr_t (*AndroidJNI_NewObjectArray_m40592BC65B199B1AAE32F2682D8E9236E07929EE_ftn) (int32_t, intptr_t, intptr_t);
static AndroidJNI_NewObjectArray_m40592BC65B199B1AAE32F2682D8E9236E07929EE_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_NewObjectArray_m40592BC65B199B1AAE32F2682D8E9236E07929EE_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::NewObjectArray(System.Int32,System.IntPtr,System.IntPtr)");
intptr_t icallRetVal = _il2cpp_icall_func(___size0, ___clazz1, ___obj2);
return icallRetVal;
}
// System.IntPtr UnityEngine.AndroidJNI::GetObjectArrayElement(System.IntPtr,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNI_GetObjectArrayElement_m502026BF77232EE45D03661E4923C2E5E99FDE18 (intptr_t ___array0, int32_t ___index1, const RuntimeMethod* method)
{
typedef intptr_t (*AndroidJNI_GetObjectArrayElement_m502026BF77232EE45D03661E4923C2E5E99FDE18_ftn) (intptr_t, int32_t);
static AndroidJNI_GetObjectArrayElement_m502026BF77232EE45D03661E4923C2E5E99FDE18_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_GetObjectArrayElement_m502026BF77232EE45D03661E4923C2E5E99FDE18_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::GetObjectArrayElement(System.IntPtr,System.Int32)");
intptr_t icallRetVal = _il2cpp_icall_func(___array0, ___index1);
return icallRetVal;
}
// System.Void UnityEngine.AndroidJNI::SetObjectArrayElement(System.IntPtr,System.Int32,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJNI_SetObjectArrayElement_m1C6E498550EF9FCA24DBD3E6D4F2BF6764FB315D (intptr_t ___array0, int32_t ___index1, intptr_t ___obj2, const RuntimeMethod* method)
{
typedef void (*AndroidJNI_SetObjectArrayElement_m1C6E498550EF9FCA24DBD3E6D4F2BF6764FB315D_ftn) (intptr_t, int32_t, intptr_t);
static AndroidJNI_SetObjectArrayElement_m1C6E498550EF9FCA24DBD3E6D4F2BF6764FB315D_ftn _il2cpp_icall_func;
if (!_il2cpp_icall_func)
_il2cpp_icall_func = (AndroidJNI_SetObjectArrayElement_m1C6E498550EF9FCA24DBD3E6D4F2BF6764FB315D_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.AndroidJNI::SetObjectArrayElement(System.IntPtr,System.Int32,System.IntPtr)");
_il2cpp_icall_func(___array0, ___index1, ___obj2);
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.IntPtr UnityEngine.AndroidJNIHelper::GetConstructorID(System.IntPtr,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNIHelper_GetConstructorID_m22710C39375F8A965C70F995413D4B3C62E85E30 (intptr_t ___javaClass0, String_t* ___signature1, const RuntimeMethod* method)
{
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
{
intptr_t L_0 = ___javaClass0;
String_t* L_1 = ___signature1;
intptr_t L_2;
L_2 = _AndroidJNIHelper_GetConstructorID_m0802B71B149170217E6FE75A7864A4BE7315215F((intptr_t)L_0, L_1, /*hidden argument*/NULL);
V_0 = (intptr_t)L_2;
goto IL_000b;
}
IL_000b:
{
intptr_t L_3 = V_0;
return (intptr_t)L_3;
}
}
// System.IntPtr UnityEngine.AndroidJNIHelper::GetMethodID(System.IntPtr,System.String,System.String,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNIHelper_GetMethodID_m2B5E7C9B05905F6C6B60A735B8A6E97BBA468535 (intptr_t ___javaClass0, String_t* ___methodName1, String_t* ___signature2, bool ___isStatic3, const RuntimeMethod* method)
{
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
{
intptr_t L_0 = ___javaClass0;
String_t* L_1 = ___methodName1;
String_t* L_2 = ___signature2;
bool L_3 = ___isStatic3;
intptr_t L_4;
L_4 = _AndroidJNIHelper_GetMethodID_m74B615C2438AF4A05F5FDA31F871AA641799CC9C((intptr_t)L_0, L_1, L_2, L_3, /*hidden argument*/NULL);
V_0 = (intptr_t)L_4;
goto IL_000d;
}
IL_000d:
{
intptr_t L_5 = V_0;
return (intptr_t)L_5;
}
}
// System.IntPtr UnityEngine.AndroidJNIHelper::CreateJavaRunnable(UnityEngine.AndroidJavaRunnable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNIHelper_CreateJavaRunnable_m789E333B57BE23010719477567A818C88A529153 (AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60 * ___jrunnable0, const RuntimeMethod* method)
{
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
{
AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60 * L_0 = ___jrunnable0;
intptr_t L_1;
L_1 = _AndroidJNIHelper_CreateJavaRunnable_m9FEEC38F8F25D8A5E6DBD8329094C3C24D73EC52(L_0, /*hidden argument*/NULL);
V_0 = (intptr_t)L_1;
goto IL_000a;
}
IL_000a:
{
intptr_t L_2 = V_0;
return (intptr_t)L_2;
}
}
// System.IntPtr UnityEngine.AndroidJNIHelper::CreateJavaProxy(UnityEngine.AndroidJavaProxy)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNIHelper_CreateJavaProxy_mF3E9256AF65CC078B82DD0E1DC65306AA79DBBEC (AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF * ___proxy0, const RuntimeMethod* method)
{
GCHandle_t757890BC4BBBEDE5A623A3C110013EDD24613603 V_0;
memset((&V_0), 0, sizeof(V_0));
intptr_t V_1;
memset((&V_1), 0, sizeof(V_1));
il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF * L_0 = ___proxy0;
GCHandle_t757890BC4BBBEDE5A623A3C110013EDD24613603 L_1;
L_1 = GCHandle_Alloc_m937829FAD1C69F168CF045B9406228AC9F8B9389(L_0, /*hidden argument*/NULL);
V_0 = L_1;
}
IL_0008:
try
{ // begin try (depth: 1)
GCHandle_t757890BC4BBBEDE5A623A3C110013EDD24613603 L_2 = V_0;
intptr_t L_3;
L_3 = GCHandle_ToIntPtr_m017FBB27407865DD17A269CC03518EC518DE5AEA(L_2, /*hidden argument*/NULL);
AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF * L_4 = ___proxy0;
intptr_t L_5;
L_5 = _AndroidJNIHelper_CreateJavaProxy_mCE38F0AE360145E8ECD9B15364CF570EE1D57D5D((intptr_t)L_3, L_4, /*hidden argument*/NULL);
V_1 = (intptr_t)L_5;
goto IL_0024;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&RuntimeObject_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
{
IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
goto CATCH_0018;
}
throw e;
}
CATCH_0018:
{ // begin catch(System.Object)
GCHandle_Free_mB4E9415544FC9F0075C02AB17E270E49AF006025((GCHandle_t757890BC4BBBEDE5A623A3C110013EDD24613603 *)(&V_0), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t *), ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&AndroidJNIHelper_CreateJavaProxy_mF3E9256AF65CC078B82DD0E1DC65306AA79DBBEC_RuntimeMethod_var)));
} // end catch (depth: 1)
IL_0024:
{
intptr_t L_6 = V_1;
return (intptr_t)L_6;
}
}
// UnityEngine.jvalue[] UnityEngine.AndroidJNIHelper::CreateJNIArgArray(System.Object[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* AndroidJNIHelper_CreateJNIArgArray_m3B928C14D5B3E86B38331427E0605478402DFDCE (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args0, const RuntimeMethod* method)
{
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* V_0 = NULL;
{
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_0 = ___args0;
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_1;
L_1 = _AndroidJNIHelper_CreateJNIArgArray_m6CAC58535CA8F9F1A7A4458BA1BC855CB46609E2(L_0, /*hidden argument*/NULL);
V_0 = L_1;
goto IL_000a;
}
IL_000a:
{
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_2 = V_0;
return L_2;
}
}
// System.Void UnityEngine.AndroidJNIHelper::DeleteJNIArgArray(System.Object[],UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJNIHelper_DeleteJNIArgArray_mF43CDD1F690C9E843FE622B9A5F7B21F7556408A (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args0, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___jniArgs1, const RuntimeMethod* method)
{
{
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_0 = ___args0;
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_1 = ___jniArgs1;
_AndroidJNIHelper_DeleteJNIArgArray_m1ECC70D98768BD3E5C6C6EABC1162F43B297AD85(L_0, L_1, /*hidden argument*/NULL);
return;
}
}
// System.IntPtr UnityEngine.AndroidJNIHelper::GetConstructorID(System.IntPtr,System.Object[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNIHelper_GetConstructorID_mDC08F55A8FFF5D4E2B6CB5FB6808935EC8211007 (intptr_t ___jclass0, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args1, const RuntimeMethod* method)
{
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
{
intptr_t L_0 = ___jclass0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_1 = ___args1;
intptr_t L_2;
L_2 = _AndroidJNIHelper_GetConstructorID_m59BD3F866A86FC0FFDB26FFB820124E830CDB3E7((intptr_t)L_0, L_1, /*hidden argument*/NULL);
V_0 = (intptr_t)L_2;
goto IL_000b;
}
IL_000b:
{
intptr_t L_3 = V_0;
return (intptr_t)L_3;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void UnityEngine.AndroidJNISafe::CheckException()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IntPtr_t_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
bool V_1 = false;
intptr_t V_2;
memset((&V_2), 0, sizeof(V_2));
intptr_t V_3;
memset((&V_3), 0, sizeof(V_3));
intptr_t V_4;
memset((&V_4), 0, sizeof(V_4));
intptr_t V_5;
memset((&V_5), 0, sizeof(V_5));
String_t* V_6 = NULL;
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* V_7 = NULL;
String_t* V_8 = NULL;
Exception_t * __last_unhandled_exception = 0;
{
intptr_t L_0;
L_0 = AndroidJNI_ExceptionOccurred_m347473FDF70118E17D092961232E7EAF0BCF2991(/*hidden argument*/NULL);
V_0 = (intptr_t)L_0;
intptr_t L_1 = V_0;
bool L_2;
L_2 = IntPtr_op_Inequality_m212AF0E66AA81FEDC982B1C8A44ADDA24B995EB8((intptr_t)L_1, (intptr_t)(0), /*hidden argument*/NULL);
V_1 = L_2;
bool L_3 = V_1;
if (!L_3)
{
goto IL_00af;
}
}
{
AndroidJNI_ExceptionClear_mE1961C9BD4984AF52712BFF181B6B95F435531B7(/*hidden argument*/NULL);
intptr_t L_4;
L_4 = AndroidJNI_FindClass_m9271648050957874E8489952E493156991C511F5(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralBFBE2EF02B478337E3E96E4014859EBED0CCE65C)), /*hidden argument*/NULL);
V_2 = (intptr_t)L_4;
intptr_t L_5;
L_5 = AndroidJNI_FindClass_m9271648050957874E8489952E493156991C511F5(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralFDD3352BD99189DE5E9D144947AC562A510FA72E)), /*hidden argument*/NULL);
V_3 = (intptr_t)L_5;
}
IL_0036:
try
{ // begin try (depth: 1)
intptr_t L_6 = V_2;
intptr_t L_7;
L_7 = AndroidJNI_GetMethodID_m4A0DBC91C300B8F342333561BA237258E12D0A3B((intptr_t)L_6, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral495DD512A2F1C21C6107D1EA689AF431C75A1C5A)), ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralE4EE767F8D4A5FC13E8CF3DB41F06A5631E37D56)), /*hidden argument*/NULL);
V_4 = (intptr_t)L_7;
intptr_t L_8 = V_3;
intptr_t L_9;
L_9 = AndroidJNI_GetStaticMethodID_mB2C04328A527EB6EAC74F048CC10DEB3099C4826((intptr_t)L_8, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralA1CA335EF287DF9364E8A16BB365BDAEB23ED4A3)), ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral4163EC7E399C450E8F73BD99DA4C4E81184962CB)), /*hidden argument*/NULL);
V_5 = (intptr_t)L_9;
intptr_t L_10 = V_0;
intptr_t L_11 = V_4;
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_12 = (jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99*)(jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99*)SZArrayNew(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99_il2cpp_TypeInfo_var)), (uint32_t)0);
String_t* L_13;
L_13 = AndroidJNI_CallStringMethod_m8D44F815C76333C22FF73753CF8289089E633261((intptr_t)L_10, (intptr_t)L_11, L_12, /*hidden argument*/NULL);
V_6 = L_13;
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_14 = (jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99*)(jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99*)SZArrayNew(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99_il2cpp_TypeInfo_var)), (uint32_t)1);
V_7 = L_14;
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_15 = V_7;
NullCheck(L_15);
intptr_t L_16 = V_0;
((L_15)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->set_l_8((intptr_t)L_16);
intptr_t L_17 = V_3;
intptr_t L_18 = V_5;
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_19 = V_7;
String_t* L_20;
L_20 = AndroidJNI_CallStaticStringMethod_m4089540DF5B52F735C6C70988D73FE69463B7B44((intptr_t)L_17, (intptr_t)L_18, L_19, /*hidden argument*/NULL);
V_8 = L_20;
String_t* L_21 = V_6;
String_t* L_22 = V_8;
AndroidJavaException_tA371556A4C19FBFA201DD4939DFA781D109B243D * L_23 = (AndroidJavaException_tA371556A4C19FBFA201DD4939DFA781D109B243D *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&AndroidJavaException_tA371556A4C19FBFA201DD4939DFA781D109B243D_il2cpp_TypeInfo_var)));
AndroidJavaException__ctor_mD451AB9B54A333C79F0F0650DD4DC2B173CAA910(L_23, L_21, L_22, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_23, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249_RuntimeMethod_var)));
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0097;
}
FINALLY_0097:
{ // begin finally (depth: 1)
intptr_t L_24 = V_0;
AndroidJNISafe_DeleteLocalRef_m7AB242A76D13A3BF4C04831D77960C020D6ADA39((intptr_t)L_24, /*hidden argument*/NULL);
intptr_t L_25 = V_2;
AndroidJNISafe_DeleteLocalRef_m7AB242A76D13A3BF4C04831D77960C020D6ADA39((intptr_t)L_25, /*hidden argument*/NULL);
intptr_t L_26 = V_3;
AndroidJNISafe_DeleteLocalRef_m7AB242A76D13A3BF4C04831D77960C020D6ADA39((intptr_t)L_26, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(151)
} // end finally (depth: 1)
IL2CPP_CLEANUP(151)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00af:
{
return;
}
}
// System.Void UnityEngine.AndroidJNISafe::DeleteGlobalRef(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJNISafe_DeleteGlobalRef_m7651FA0BAEE0F4D660393C5CC6914F21270B0288 (intptr_t ___globalref0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IntPtr_t_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
intptr_t L_0 = ___globalref0;
bool L_1;
L_1 = IntPtr_op_Inequality_m212AF0E66AA81FEDC982B1C8A44ADDA24B995EB8((intptr_t)L_0, (intptr_t)(0), /*hidden argument*/NULL);
V_0 = L_1;
bool L_2 = V_0;
if (!L_2)
{
goto IL_0017;
}
}
{
intptr_t L_3 = ___globalref0;
AndroidJNI_DeleteGlobalRef_m0B4945EEFFCA6F7CC0808310DD6FA8BFB58A4F53((intptr_t)L_3, /*hidden argument*/NULL);
}
IL_0017:
{
return;
}
}
// System.Void UnityEngine.AndroidJNISafe::DeleteWeakGlobalRef(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJNISafe_DeleteWeakGlobalRef_m0FC9348DE2D937798DB6D6A5461021AFEBC7506D (intptr_t ___globalref0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IntPtr_t_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
intptr_t L_0 = ___globalref0;
bool L_1;
L_1 = IntPtr_op_Inequality_m212AF0E66AA81FEDC982B1C8A44ADDA24B995EB8((intptr_t)L_0, (intptr_t)(0), /*hidden argument*/NULL);
V_0 = L_1;
bool L_2 = V_0;
if (!L_2)
{
goto IL_0017;
}
}
{
intptr_t L_3 = ___globalref0;
AndroidJNI_DeleteWeakGlobalRef_m972079D94C174FA5F427AC16C92B2B3179175F46((intptr_t)L_3, /*hidden argument*/NULL);
}
IL_0017:
{
return;
}
}
// System.Void UnityEngine.AndroidJNISafe::DeleteLocalRef(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJNISafe_DeleteLocalRef_m7AB242A76D13A3BF4C04831D77960C020D6ADA39 (intptr_t ___localref0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IntPtr_t_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
intptr_t L_0 = ___localref0;
bool L_1;
L_1 = IntPtr_op_Inequality_m212AF0E66AA81FEDC982B1C8A44ADDA24B995EB8((intptr_t)L_0, (intptr_t)(0), /*hidden argument*/NULL);
V_0 = L_1;
bool L_2 = V_0;
if (!L_2)
{
goto IL_0017;
}
}
{
intptr_t L_3 = ___localref0;
AndroidJNI_DeleteLocalRef_m5EEFE4C0CA9F65208C117ECE9D893A993A477DB4((intptr_t)L_3, /*hidden argument*/NULL);
}
IL_0017:
{
return;
}
}
// System.IntPtr UnityEngine.AndroidJNISafe::NewString(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNISafe_NewString_m5F5B2B700BDE2D0D1D105687D4ACC9567CEE7A23 (String_t* ___chars0, const RuntimeMethod* method)
{
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
String_t* L_0 = ___chars0;
intptr_t L_1;
L_1 = AndroidJNI_NewString_m39B9E7C930BE075D93850E925F808720BEB5C673(L_0, /*hidden argument*/NULL);
V_0 = (intptr_t)L_1;
IL2CPP_LEAVE(0x14, FINALLY_000b);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000b;
}
FINALLY_000b:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(11)
} // end finally (depth: 1)
IL2CPP_CLEANUP(11)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x14, IL_0014)
}
IL_0014:
{
intptr_t L_2 = V_0;
return (intptr_t)L_2;
}
}
// System.String UnityEngine.AndroidJNISafe::GetStringChars(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* AndroidJNISafe_GetStringChars_mD59FFDE4192F837E1380B51569B5803E09BE58C8 (intptr_t ___str0, const RuntimeMethod* method)
{
String_t* V_0 = NULL;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___str0;
String_t* L_1;
L_1 = AndroidJNI_GetStringChars_m95FBBCDB48D425FBDC19710D92C7D6D175041778((intptr_t)L_0, /*hidden argument*/NULL);
V_0 = L_1;
IL2CPP_LEAVE(0x14, FINALLY_000b);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000b;
}
FINALLY_000b:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(11)
} // end finally (depth: 1)
IL2CPP_CLEANUP(11)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x14, IL_0014)
}
IL_0014:
{
String_t* L_2 = V_0;
return L_2;
}
}
// System.IntPtr UnityEngine.AndroidJNISafe::GetObjectClass(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNISafe_GetObjectClass_m6FD726927BEAAA70778766E29215A6CA63A93DC3 (intptr_t ___ptr0, const RuntimeMethod* method)
{
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___ptr0;
intptr_t L_1;
L_1 = AndroidJNI_GetObjectClass_m38B1858A3F6F7336FBEC67F36E998D61DE93988A((intptr_t)L_0, /*hidden argument*/NULL);
V_0 = (intptr_t)L_1;
IL2CPP_LEAVE(0x14, FINALLY_000b);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000b;
}
FINALLY_000b:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(11)
} // end finally (depth: 1)
IL2CPP_CLEANUP(11)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x14, IL_0014)
}
IL_0014:
{
intptr_t L_2 = V_0;
return (intptr_t)L_2;
}
}
// System.IntPtr UnityEngine.AndroidJNISafe::GetStaticMethodID(System.IntPtr,System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNISafe_GetStaticMethodID_m883F40A297071B64F8DE3572FDBB8B9834EF1163 (intptr_t ___clazz0, String_t* ___name1, String_t* ___sig2, const RuntimeMethod* method)
{
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___clazz0;
String_t* L_1 = ___name1;
String_t* L_2 = ___sig2;
intptr_t L_3;
L_3 = AndroidJNI_GetStaticMethodID_mB2C04328A527EB6EAC74F048CC10DEB3099C4826((intptr_t)L_0, L_1, L_2, /*hidden argument*/NULL);
V_0 = (intptr_t)L_3;
IL2CPP_LEAVE(0x16, FINALLY_000d);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000d;
}
FINALLY_000d:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(13)
} // end finally (depth: 1)
IL2CPP_CLEANUP(13)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x16, IL_0016)
}
IL_0016:
{
intptr_t L_4 = V_0;
return (intptr_t)L_4;
}
}
// System.IntPtr UnityEngine.AndroidJNISafe::GetMethodID(System.IntPtr,System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNISafe_GetMethodID_mB6545767927E1F859540D99EBD39E464811E5F8F (intptr_t ___obj0, String_t* ___name1, String_t* ___sig2, const RuntimeMethod* method)
{
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___obj0;
String_t* L_1 = ___name1;
String_t* L_2 = ___sig2;
intptr_t L_3;
L_3 = AndroidJNI_GetMethodID_m4A0DBC91C300B8F342333561BA237258E12D0A3B((intptr_t)L_0, L_1, L_2, /*hidden argument*/NULL);
V_0 = (intptr_t)L_3;
IL2CPP_LEAVE(0x16, FINALLY_000d);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000d;
}
FINALLY_000d:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(13)
} // end finally (depth: 1)
IL2CPP_CLEANUP(13)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x16, IL_0016)
}
IL_0016:
{
intptr_t L_4 = V_0;
return (intptr_t)L_4;
}
}
// System.IntPtr UnityEngine.AndroidJNISafe::FromReflectedMethod(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNISafe_FromReflectedMethod_m21A25975498B872199E7B9708AF0AD6E1248E3A7 (intptr_t ___refMethod0, const RuntimeMethod* method)
{
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___refMethod0;
intptr_t L_1;
L_1 = AndroidJNI_FromReflectedMethod_mBF204982142E2EA82F66F562F5661F2A459F34F5((intptr_t)L_0, /*hidden argument*/NULL);
V_0 = (intptr_t)L_1;
IL2CPP_LEAVE(0x14, FINALLY_000b);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000b;
}
FINALLY_000b:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(11)
} // end finally (depth: 1)
IL2CPP_CLEANUP(11)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x14, IL_0014)
}
IL_0014:
{
intptr_t L_2 = V_0;
return (intptr_t)L_2;
}
}
// System.IntPtr UnityEngine.AndroidJNISafe::FindClass(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNISafe_FindClass_mD96E72414A78F50B07019D26B87A93799D85BB0A (String_t* ___name0, const RuntimeMethod* method)
{
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
String_t* L_0 = ___name0;
intptr_t L_1;
L_1 = AndroidJNI_FindClass_m9271648050957874E8489952E493156991C511F5(L_0, /*hidden argument*/NULL);
V_0 = (intptr_t)L_1;
IL2CPP_LEAVE(0x14, FINALLY_000b);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000b;
}
FINALLY_000b:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(11)
} // end finally (depth: 1)
IL2CPP_CLEANUP(11)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x14, IL_0014)
}
IL_0014:
{
intptr_t L_2 = V_0;
return (intptr_t)L_2;
}
}
// System.IntPtr UnityEngine.AndroidJNISafe::NewObject(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNISafe_NewObject_m8B3CE344FE9144B92096F0A36CF75DA56C380BF7 (intptr_t ___clazz0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___clazz0;
intptr_t L_1 = ___methodID1;
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_2 = ___args2;
intptr_t L_3;
L_3 = AndroidJNI_NewObject_m8D445E11DAFC786997C16BF296C0BB844F6E7D60((intptr_t)L_0, (intptr_t)L_1, L_2, /*hidden argument*/NULL);
V_0 = (intptr_t)L_3;
IL2CPP_LEAVE(0x16, FINALLY_000d);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000d;
}
FINALLY_000d:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(13)
} // end finally (depth: 1)
IL2CPP_CLEANUP(13)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x16, IL_0016)
}
IL_0016:
{
intptr_t L_4 = V_0;
return (intptr_t)L_4;
}
}
// System.Void UnityEngine.AndroidJNISafe::CallStaticVoidMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJNISafe_CallStaticVoidMethod_m6D6C21C3489E19241A6856D7642CDC56752D7128 (intptr_t ___clazz0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___clazz0;
intptr_t L_1 = ___methodID1;
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_2 = ___args2;
AndroidJNI_CallStaticVoidMethod_mE35981047575D7C0028FC4EF205B05909911F0E3((intptr_t)L_0, (intptr_t)L_1, L_2, /*hidden argument*/NULL);
IL2CPP_LEAVE(0x17, FINALLY_000e);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000e;
}
FINALLY_000e:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(14)
} // end finally (depth: 1)
IL2CPP_CLEANUP(14)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x17, IL_0017)
}
IL_0017:
{
return;
}
}
// System.IntPtr UnityEngine.AndroidJNISafe::CallStaticObjectMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNISafe_CallStaticObjectMethod_mE83D4A0C1BF62925F8B9D4B49040A90CBA1B8860 (intptr_t ___clazz0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___clazz0;
intptr_t L_1 = ___methodID1;
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_2 = ___args2;
intptr_t L_3;
L_3 = AndroidJNI_CallStaticObjectMethod_m41962AB7EBBC53ACB5ACD5D7CC175EC8CFF22B13((intptr_t)L_0, (intptr_t)L_1, L_2, /*hidden argument*/NULL);
V_0 = (intptr_t)L_3;
IL2CPP_LEAVE(0x16, FINALLY_000d);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000d;
}
FINALLY_000d:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(13)
} // end finally (depth: 1)
IL2CPP_CLEANUP(13)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x16, IL_0016)
}
IL_0016:
{
intptr_t L_4 = V_0;
return (intptr_t)L_4;
}
}
// System.String UnityEngine.AndroidJNISafe::CallStaticStringMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* AndroidJNISafe_CallStaticStringMethod_m07A63C912305DF8135F004AAD0D4CB1C5581B759 (intptr_t ___clazz0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
String_t* V_0 = NULL;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___clazz0;
intptr_t L_1 = ___methodID1;
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_2 = ___args2;
String_t* L_3;
L_3 = AndroidJNI_CallStaticStringMethod_m4089540DF5B52F735C6C70988D73FE69463B7B44((intptr_t)L_0, (intptr_t)L_1, L_2, /*hidden argument*/NULL);
V_0 = L_3;
IL2CPP_LEAVE(0x16, FINALLY_000d);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000d;
}
FINALLY_000d:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(13)
} // end finally (depth: 1)
IL2CPP_CLEANUP(13)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x16, IL_0016)
}
IL_0016:
{
String_t* L_4 = V_0;
return L_4;
}
}
// System.Char UnityEngine.AndroidJNISafe::CallStaticCharMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Il2CppChar AndroidJNISafe_CallStaticCharMethod_m88B2D927CACB988E16F44DD2A8AC987474401B5F (intptr_t ___clazz0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
Il2CppChar V_0 = 0x0;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___clazz0;
intptr_t L_1 = ___methodID1;
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_2 = ___args2;
Il2CppChar L_3;
L_3 = AndroidJNI_CallStaticCharMethod_mA3E1C0CA79C37C0E8CA480305C0195D87C4EBBF7((intptr_t)L_0, (intptr_t)L_1, L_2, /*hidden argument*/NULL);
V_0 = L_3;
IL2CPP_LEAVE(0x16, FINALLY_000d);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000d;
}
FINALLY_000d:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(13)
} // end finally (depth: 1)
IL2CPP_CLEANUP(13)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x16, IL_0016)
}
IL_0016:
{
Il2CppChar L_4 = V_0;
return L_4;
}
}
// System.Double UnityEngine.AndroidJNISafe::CallStaticDoubleMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR double AndroidJNISafe_CallStaticDoubleMethod_m689EC57B2A63DA127AEF67654FC9DE7CB1663475 (intptr_t ___clazz0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
double V_0 = 0.0;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___clazz0;
intptr_t L_1 = ___methodID1;
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_2 = ___args2;
double L_3;
L_3 = AndroidJNI_CallStaticDoubleMethod_m705917C9F0238B4C0E040C9156424FB1BD2FC4DA((intptr_t)L_0, (intptr_t)L_1, L_2, /*hidden argument*/NULL);
V_0 = L_3;
IL2CPP_LEAVE(0x16, FINALLY_000d);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000d;
}
FINALLY_000d:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(13)
} // end finally (depth: 1)
IL2CPP_CLEANUP(13)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x16, IL_0016)
}
IL_0016:
{
double L_4 = V_0;
return L_4;
}
}
// System.Single UnityEngine.AndroidJNISafe::CallStaticFloatMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float AndroidJNISafe_CallStaticFloatMethod_mD83AA80C049145FF339EEEF1D8EE4FF9A49DB75F (intptr_t ___clazz0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
float V_0 = 0.0f;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___clazz0;
intptr_t L_1 = ___methodID1;
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_2 = ___args2;
float L_3;
L_3 = AndroidJNI_CallStaticFloatMethod_m0DA71B5E200550A66C4880BFF404225B063ACDFE((intptr_t)L_0, (intptr_t)L_1, L_2, /*hidden argument*/NULL);
V_0 = L_3;
IL2CPP_LEAVE(0x16, FINALLY_000d);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000d;
}
FINALLY_000d:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(13)
} // end finally (depth: 1)
IL2CPP_CLEANUP(13)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x16, IL_0016)
}
IL_0016:
{
float L_4 = V_0;
return L_4;
}
}
// System.Int64 UnityEngine.AndroidJNISafe::CallStaticLongMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int64_t AndroidJNISafe_CallStaticLongMethod_mC9068CBB054C422BBC4D20AE922D192C0F1207FA (intptr_t ___clazz0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
int64_t V_0 = 0;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___clazz0;
intptr_t L_1 = ___methodID1;
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_2 = ___args2;
int64_t L_3;
L_3 = AndroidJNI_CallStaticLongMethod_mA9AAA7D40F0F6D5BB9EB183ED5E9ADD05714648B((intptr_t)L_0, (intptr_t)L_1, L_2, /*hidden argument*/NULL);
V_0 = L_3;
IL2CPP_LEAVE(0x16, FINALLY_000d);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000d;
}
FINALLY_000d:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(13)
} // end finally (depth: 1)
IL2CPP_CLEANUP(13)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x16, IL_0016)
}
IL_0016:
{
int64_t L_4 = V_0;
return L_4;
}
}
// System.Int16 UnityEngine.AndroidJNISafe::CallStaticShortMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int16_t AndroidJNISafe_CallStaticShortMethod_mDD995D10C2A525A86D1CF2E3BD5470B9ADC75FAD (intptr_t ___clazz0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
int16_t V_0 = 0;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___clazz0;
intptr_t L_1 = ___methodID1;
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_2 = ___args2;
int16_t L_3;
L_3 = AndroidJNI_CallStaticShortMethod_m06B921F4634800E6E42691920E9DD1697491061A((intptr_t)L_0, (intptr_t)L_1, L_2, /*hidden argument*/NULL);
V_0 = L_3;
IL2CPP_LEAVE(0x16, FINALLY_000d);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000d;
}
FINALLY_000d:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(13)
} // end finally (depth: 1)
IL2CPP_CLEANUP(13)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x16, IL_0016)
}
IL_0016:
{
int16_t L_4 = V_0;
return L_4;
}
}
// System.SByte UnityEngine.AndroidJNISafe::CallStaticSByteMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int8_t AndroidJNISafe_CallStaticSByteMethod_mF88F61AA2AB1756827141DA8933761D56335619B (intptr_t ___clazz0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
int8_t V_0 = 0x0;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___clazz0;
intptr_t L_1 = ___methodID1;
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_2 = ___args2;
int8_t L_3;
L_3 = AndroidJNI_CallStaticSByteMethod_m5E1FBD3B228299120E15BC39A97BB98BFD8CEA68((intptr_t)L_0, (intptr_t)L_1, L_2, /*hidden argument*/NULL);
V_0 = L_3;
IL2CPP_LEAVE(0x16, FINALLY_000d);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000d;
}
FINALLY_000d:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(13)
} // end finally (depth: 1)
IL2CPP_CLEANUP(13)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x16, IL_0016)
}
IL_0016:
{
int8_t L_4 = V_0;
return L_4;
}
}
// System.Boolean UnityEngine.AndroidJNISafe::CallStaticBooleanMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool AndroidJNISafe_CallStaticBooleanMethod_mD860E0894BD76E4F2D3EB07511162C5AB31098F3 (intptr_t ___clazz0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
bool V_0 = false;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___clazz0;
intptr_t L_1 = ___methodID1;
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_2 = ___args2;
bool L_3;
L_3 = AndroidJNI_CallStaticBooleanMethod_mA658B97E472490DCEF41A9C9BE9E2808FD4D8649((intptr_t)L_0, (intptr_t)L_1, L_2, /*hidden argument*/NULL);
V_0 = L_3;
IL2CPP_LEAVE(0x16, FINALLY_000d);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000d;
}
FINALLY_000d:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(13)
} // end finally (depth: 1)
IL2CPP_CLEANUP(13)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x16, IL_0016)
}
IL_0016:
{
bool L_4 = V_0;
return L_4;
}
}
// System.Int32 UnityEngine.AndroidJNISafe::CallStaticIntMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t AndroidJNISafe_CallStaticIntMethod_mA8298D893A80C85FA91F7B49FB158EEAAFBD9E8B (intptr_t ___clazz0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
int32_t V_0 = 0;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___clazz0;
intptr_t L_1 = ___methodID1;
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_2 = ___args2;
int32_t L_3;
L_3 = AndroidJNI_CallStaticIntMethod_mE05BBCE19901EED01DB88DCE7775D2EC75266F6F((intptr_t)L_0, (intptr_t)L_1, L_2, /*hidden argument*/NULL);
V_0 = L_3;
IL2CPP_LEAVE(0x16, FINALLY_000d);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000d;
}
FINALLY_000d:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(13)
} // end finally (depth: 1)
IL2CPP_CLEANUP(13)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x16, IL_0016)
}
IL_0016:
{
int32_t L_4 = V_0;
return L_4;
}
}
// System.IntPtr UnityEngine.AndroidJNISafe::CallObjectMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNISafe_CallObjectMethod_m4460C901E09ABB037442FB973BAC678C70687875 (intptr_t ___obj0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___obj0;
intptr_t L_1 = ___methodID1;
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_2 = ___args2;
intptr_t L_3;
L_3 = AndroidJNI_CallObjectMethod_m29CAA840E7ECD2A6B835EAF9E119F8E3E5B99495((intptr_t)L_0, (intptr_t)L_1, L_2, /*hidden argument*/NULL);
V_0 = (intptr_t)L_3;
IL2CPP_LEAVE(0x16, FINALLY_000d);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000d;
}
FINALLY_000d:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(13)
} // end finally (depth: 1)
IL2CPP_CLEANUP(13)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x16, IL_0016)
}
IL_0016:
{
intptr_t L_4 = V_0;
return (intptr_t)L_4;
}
}
// System.String UnityEngine.AndroidJNISafe::CallStringMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* AndroidJNISafe_CallStringMethod_m09F6D302969373907F07432407FAA64F33FDD941 (intptr_t ___obj0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
String_t* V_0 = NULL;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___obj0;
intptr_t L_1 = ___methodID1;
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_2 = ___args2;
String_t* L_3;
L_3 = AndroidJNI_CallStringMethod_m8D44F815C76333C22FF73753CF8289089E633261((intptr_t)L_0, (intptr_t)L_1, L_2, /*hidden argument*/NULL);
V_0 = L_3;
IL2CPP_LEAVE(0x16, FINALLY_000d);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000d;
}
FINALLY_000d:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(13)
} // end finally (depth: 1)
IL2CPP_CLEANUP(13)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x16, IL_0016)
}
IL_0016:
{
String_t* L_4 = V_0;
return L_4;
}
}
// System.Char UnityEngine.AndroidJNISafe::CallCharMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Il2CppChar AndroidJNISafe_CallCharMethod_m84323BEB15D11EE402FB095AE4F936CE8DEDF233 (intptr_t ___obj0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
Il2CppChar V_0 = 0x0;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___obj0;
intptr_t L_1 = ___methodID1;
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_2 = ___args2;
Il2CppChar L_3;
L_3 = AndroidJNI_CallCharMethod_m6D9AB75BB4E6E6F40C12654EADB9CB3AC441F257((intptr_t)L_0, (intptr_t)L_1, L_2, /*hidden argument*/NULL);
V_0 = L_3;
IL2CPP_LEAVE(0x16, FINALLY_000d);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000d;
}
FINALLY_000d:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(13)
} // end finally (depth: 1)
IL2CPP_CLEANUP(13)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x16, IL_0016)
}
IL_0016:
{
Il2CppChar L_4 = V_0;
return L_4;
}
}
// System.Double UnityEngine.AndroidJNISafe::CallDoubleMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR double AndroidJNISafe_CallDoubleMethod_mF204165E66900998B64E8F66B47903C4DECD95E0 (intptr_t ___obj0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
double V_0 = 0.0;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___obj0;
intptr_t L_1 = ___methodID1;
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_2 = ___args2;
double L_3;
L_3 = AndroidJNI_CallDoubleMethod_mC6B84A261650B29C19C304F07D1080B38ABC7186((intptr_t)L_0, (intptr_t)L_1, L_2, /*hidden argument*/NULL);
V_0 = L_3;
IL2CPP_LEAVE(0x16, FINALLY_000d);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000d;
}
FINALLY_000d:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(13)
} // end finally (depth: 1)
IL2CPP_CLEANUP(13)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x16, IL_0016)
}
IL_0016:
{
double L_4 = V_0;
return L_4;
}
}
// System.Single UnityEngine.AndroidJNISafe::CallFloatMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float AndroidJNISafe_CallFloatMethod_m74BA67E88AF91520E756C51B6CB4A5C74A34D5B4 (intptr_t ___obj0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
float V_0 = 0.0f;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___obj0;
intptr_t L_1 = ___methodID1;
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_2 = ___args2;
float L_3;
L_3 = AndroidJNI_CallFloatMethod_mB40ADB8EFB34D674AF586B65E3B443AF51B62CD9((intptr_t)L_0, (intptr_t)L_1, L_2, /*hidden argument*/NULL);
V_0 = L_3;
IL2CPP_LEAVE(0x16, FINALLY_000d);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000d;
}
FINALLY_000d:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(13)
} // end finally (depth: 1)
IL2CPP_CLEANUP(13)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x16, IL_0016)
}
IL_0016:
{
float L_4 = V_0;
return L_4;
}
}
// System.Int64 UnityEngine.AndroidJNISafe::CallLongMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int64_t AndroidJNISafe_CallLongMethod_m1FA0BF14125D8B346FDD85251F2D27A0BF6C0D07 (intptr_t ___obj0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
int64_t V_0 = 0;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___obj0;
intptr_t L_1 = ___methodID1;
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_2 = ___args2;
int64_t L_3;
L_3 = AndroidJNI_CallLongMethod_m566FBCF6E3D1B11ECBA4DBB51E3712F2EE9A7FE9((intptr_t)L_0, (intptr_t)L_1, L_2, /*hidden argument*/NULL);
V_0 = L_3;
IL2CPP_LEAVE(0x16, FINALLY_000d);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000d;
}
FINALLY_000d:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(13)
} // end finally (depth: 1)
IL2CPP_CLEANUP(13)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x16, IL_0016)
}
IL_0016:
{
int64_t L_4 = V_0;
return L_4;
}
}
// System.Int16 UnityEngine.AndroidJNISafe::CallShortMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int16_t AndroidJNISafe_CallShortMethod_mCD55A084D3F33698BB673E23DCDE909B12A9F706 (intptr_t ___obj0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
int16_t V_0 = 0;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___obj0;
intptr_t L_1 = ___methodID1;
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_2 = ___args2;
int16_t L_3;
L_3 = AndroidJNI_CallShortMethod_m719565EF3E0DB80078F924283F72E3492BCED486((intptr_t)L_0, (intptr_t)L_1, L_2, /*hidden argument*/NULL);
V_0 = L_3;
IL2CPP_LEAVE(0x16, FINALLY_000d);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000d;
}
FINALLY_000d:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(13)
} // end finally (depth: 1)
IL2CPP_CLEANUP(13)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x16, IL_0016)
}
IL_0016:
{
int16_t L_4 = V_0;
return L_4;
}
}
// System.SByte UnityEngine.AndroidJNISafe::CallSByteMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int8_t AndroidJNISafe_CallSByteMethod_mA8EBD62443BBEF0F2152F2CDF0C505EA6A954F02 (intptr_t ___obj0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
int8_t V_0 = 0x0;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___obj0;
intptr_t L_1 = ___methodID1;
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_2 = ___args2;
int8_t L_3;
L_3 = AndroidJNI_CallSByteMethod_mD99C2871A4ED3D2228B6F9EA97484D71E529C5EA((intptr_t)L_0, (intptr_t)L_1, L_2, /*hidden argument*/NULL);
V_0 = L_3;
IL2CPP_LEAVE(0x16, FINALLY_000d);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000d;
}
FINALLY_000d:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(13)
} // end finally (depth: 1)
IL2CPP_CLEANUP(13)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x16, IL_0016)
}
IL_0016:
{
int8_t L_4 = V_0;
return L_4;
}
}
// System.Boolean UnityEngine.AndroidJNISafe::CallBooleanMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool AndroidJNISafe_CallBooleanMethod_m4D26DBA1123583C6C53D88116871073A8B3A9C70 (intptr_t ___obj0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
bool V_0 = false;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___obj0;
intptr_t L_1 = ___methodID1;
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_2 = ___args2;
bool L_3;
L_3 = AndroidJNI_CallBooleanMethod_mCC2BF562D42946CC90BB9E5489C9311DB38A6F8A((intptr_t)L_0, (intptr_t)L_1, L_2, /*hidden argument*/NULL);
V_0 = L_3;
IL2CPP_LEAVE(0x16, FINALLY_000d);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000d;
}
FINALLY_000d:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(13)
} // end finally (depth: 1)
IL2CPP_CLEANUP(13)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x16, IL_0016)
}
IL_0016:
{
bool L_4 = V_0;
return L_4;
}
}
// System.Int32 UnityEngine.AndroidJNISafe::CallIntMethod(System.IntPtr,System.IntPtr,UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t AndroidJNISafe_CallIntMethod_m2F86750DC70184A72557E555BE389E6B8C99F9F9 (intptr_t ___obj0, intptr_t ___methodID1, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___args2, const RuntimeMethod* method)
{
int32_t V_0 = 0;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___obj0;
intptr_t L_1 = ___methodID1;
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_2 = ___args2;
int32_t L_3;
L_3 = AndroidJNI_CallIntMethod_m3A49D0808C1D0C3EAF25B3F2DC7890B483B00CDF((intptr_t)L_0, (intptr_t)L_1, L_2, /*hidden argument*/NULL);
V_0 = L_3;
IL2CPP_LEAVE(0x16, FINALLY_000d);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000d;
}
FINALLY_000d:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(13)
} // end finally (depth: 1)
IL2CPP_CLEANUP(13)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x16, IL_0016)
}
IL_0016:
{
int32_t L_4 = V_0;
return L_4;
}
}
// System.Char[] UnityEngine.AndroidJNISafe::FromCharArray(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* AndroidJNISafe_FromCharArray_mA49DB27755EF3B2AE81487E0FCFE06E23F617305 (intptr_t ___array0, const RuntimeMethod* method)
{
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* V_0 = NULL;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___array0;
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_1;
L_1 = AndroidJNI_FromCharArray_mCDE27061131471E18F064241982F7C58921B4BCE((intptr_t)L_0, /*hidden argument*/NULL);
V_0 = L_1;
IL2CPP_LEAVE(0x14, FINALLY_000b);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000b;
}
FINALLY_000b:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(11)
} // end finally (depth: 1)
IL2CPP_CLEANUP(11)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x14, IL_0014)
}
IL_0014:
{
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_2 = V_0;
return L_2;
}
}
// System.Double[] UnityEngine.AndroidJNISafe::FromDoubleArray(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DoubleU5BU5D_t8E1B42EB2ABB79FBD193A6B8C8D97A7CDE44A4FB* AndroidJNISafe_FromDoubleArray_m9438B5668E8B2DB3B18CACFF0CC9CAEAB5EC73C8 (intptr_t ___array0, const RuntimeMethod* method)
{
DoubleU5BU5D_t8E1B42EB2ABB79FBD193A6B8C8D97A7CDE44A4FB* V_0 = NULL;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___array0;
DoubleU5BU5D_t8E1B42EB2ABB79FBD193A6B8C8D97A7CDE44A4FB* L_1;
L_1 = AndroidJNI_FromDoubleArray_mB8DA303F2DC6FB96E45D6C2DEC2B1C7AF9A7D9BE((intptr_t)L_0, /*hidden argument*/NULL);
V_0 = L_1;
IL2CPP_LEAVE(0x14, FINALLY_000b);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000b;
}
FINALLY_000b:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(11)
} // end finally (depth: 1)
IL2CPP_CLEANUP(11)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x14, IL_0014)
}
IL_0014:
{
DoubleU5BU5D_t8E1B42EB2ABB79FBD193A6B8C8D97A7CDE44A4FB* L_2 = V_0;
return L_2;
}
}
// System.Single[] UnityEngine.AndroidJNISafe::FromFloatArray(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA* AndroidJNISafe_FromFloatArray_mF6A63CA1B7C10BC27EEC033F0E390772DFDD652D (intptr_t ___array0, const RuntimeMethod* method)
{
SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA* V_0 = NULL;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___array0;
SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA* L_1;
L_1 = AndroidJNI_FromFloatArray_m01E10AC1773DE0878B8875994E74B205E42EE2E4((intptr_t)L_0, /*hidden argument*/NULL);
V_0 = L_1;
IL2CPP_LEAVE(0x14, FINALLY_000b);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000b;
}
FINALLY_000b:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(11)
} // end finally (depth: 1)
IL2CPP_CLEANUP(11)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x14, IL_0014)
}
IL_0014:
{
SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA* L_2 = V_0;
return L_2;
}
}
// System.Int64[] UnityEngine.AndroidJNISafe::FromLongArray(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int64U5BU5D_tCA61E42872C63A4286B24EEE6E0650143B43DCE6* AndroidJNISafe_FromLongArray_m0E7C56CB8CFD0EC240F0D86ECBBFD635FFE55CDA (intptr_t ___array0, const RuntimeMethod* method)
{
Int64U5BU5D_tCA61E42872C63A4286B24EEE6E0650143B43DCE6* V_0 = NULL;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___array0;
Int64U5BU5D_tCA61E42872C63A4286B24EEE6E0650143B43DCE6* L_1;
L_1 = AndroidJNI_FromLongArray_m62518A89509FAD6404628618EA05A63911DB0941((intptr_t)L_0, /*hidden argument*/NULL);
V_0 = L_1;
IL2CPP_LEAVE(0x14, FINALLY_000b);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000b;
}
FINALLY_000b:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(11)
} // end finally (depth: 1)
IL2CPP_CLEANUP(11)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x14, IL_0014)
}
IL_0014:
{
Int64U5BU5D_tCA61E42872C63A4286B24EEE6E0650143B43DCE6* L_2 = V_0;
return L_2;
}
}
// System.Int16[] UnityEngine.AndroidJNISafe::FromShortArray(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* AndroidJNISafe_FromShortArray_mCDF5B796D950D31035BD35A2E463D41509E4A5CD (intptr_t ___array0, const RuntimeMethod* method)
{
Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* V_0 = NULL;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___array0;
Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* L_1;
L_1 = AndroidJNI_FromShortArray_mAD7FEF4EEAEC6A3DEF148C02EF4E00002A70542E((intptr_t)L_0, /*hidden argument*/NULL);
V_0 = L_1;
IL2CPP_LEAVE(0x14, FINALLY_000b);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000b;
}
FINALLY_000b:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(11)
} // end finally (depth: 1)
IL2CPP_CLEANUP(11)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x14, IL_0014)
}
IL_0014:
{
Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* L_2 = V_0;
return L_2;
}
}
// System.Byte[] UnityEngine.AndroidJNISafe::FromByteArray(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* AndroidJNISafe_FromByteArray_m81760A688AECE368E1CFF7DAAC8E141F1B8FA8A8 (intptr_t ___array0, const RuntimeMethod* method)
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___array0;
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
L_1 = AndroidJNI_FromByteArray_m8EC58D6AE31ADD634490F84A4F4E36831DB2EC87((intptr_t)L_0, /*hidden argument*/NULL);
V_0 = L_1;
IL2CPP_LEAVE(0x14, FINALLY_000b);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000b;
}
FINALLY_000b:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(11)
} // end finally (depth: 1)
IL2CPP_CLEANUP(11)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x14, IL_0014)
}
IL_0014:
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
return L_2;
}
}
// System.SByte[] UnityEngine.AndroidJNISafe::FromSByteArray(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR SByteU5BU5D_t7D94C53295E6116625EA7CC7DEA21FEDC39869E7* AndroidJNISafe_FromSByteArray_m01F6539AF10F86B3927436955B57CC809C52416D (intptr_t ___array0, const RuntimeMethod* method)
{
SByteU5BU5D_t7D94C53295E6116625EA7CC7DEA21FEDC39869E7* V_0 = NULL;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___array0;
SByteU5BU5D_t7D94C53295E6116625EA7CC7DEA21FEDC39869E7* L_1;
L_1 = AndroidJNI_FromSByteArray_m5372FB70B8027721C47BE0359F538A90128288CD((intptr_t)L_0, /*hidden argument*/NULL);
V_0 = L_1;
IL2CPP_LEAVE(0x14, FINALLY_000b);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000b;
}
FINALLY_000b:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(11)
} // end finally (depth: 1)
IL2CPP_CLEANUP(11)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x14, IL_0014)
}
IL_0014:
{
SByteU5BU5D_t7D94C53295E6116625EA7CC7DEA21FEDC39869E7* L_2 = V_0;
return L_2;
}
}
// System.Boolean[] UnityEngine.AndroidJNISafe::FromBooleanArray(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C* AndroidJNISafe_FromBooleanArray_m77A66C34FCB94ADB1AD5E1D88262500C930A5DBF (intptr_t ___array0, const RuntimeMethod* method)
{
BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C* V_0 = NULL;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___array0;
BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C* L_1;
L_1 = AndroidJNI_FromBooleanArray_m082FF870EE916B9603686E35776D5369B95D207E((intptr_t)L_0, /*hidden argument*/NULL);
V_0 = L_1;
IL2CPP_LEAVE(0x14, FINALLY_000b);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000b;
}
FINALLY_000b:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(11)
} // end finally (depth: 1)
IL2CPP_CLEANUP(11)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x14, IL_0014)
}
IL_0014:
{
BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C* L_2 = V_0;
return L_2;
}
}
// System.Int32[] UnityEngine.AndroidJNISafe::FromIntArray(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* AndroidJNISafe_FromIntArray_mBF0C0B4309BA525BBA12D7FD3C2790C8FA7C4703 (intptr_t ___array0, const RuntimeMethod* method)
{
Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* V_0 = NULL;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___array0;
Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_1;
L_1 = AndroidJNI_FromIntArray_mA60A708BA57B6F520260D4DC6B10E07C54E29C1F((intptr_t)L_0, /*hidden argument*/NULL);
V_0 = L_1;
IL2CPP_LEAVE(0x14, FINALLY_000b);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000b;
}
FINALLY_000b:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(11)
} // end finally (depth: 1)
IL2CPP_CLEANUP(11)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x14, IL_0014)
}
IL_0014:
{
Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_2 = V_0;
return L_2;
}
}
// System.IntPtr UnityEngine.AndroidJNISafe::ToObjectArray(System.IntPtr[],System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNISafe_ToObjectArray_m669E5441604094D8A20E3C1F1F5407AE985F82B8 (IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6* ___array0, intptr_t ___type1, const RuntimeMethod* method)
{
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6* L_0 = ___array0;
intptr_t L_1 = ___type1;
intptr_t L_2;
L_2 = AndroidJNI_ToObjectArray_m1C7B8259B04AC6D68F56BF5F108026882B039F24(L_0, (intptr_t)L_1, /*hidden argument*/NULL);
V_0 = (intptr_t)L_2;
IL2CPP_LEAVE(0x15, FINALLY_000c);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000c;
}
FINALLY_000c:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(12)
} // end finally (depth: 1)
IL2CPP_CLEANUP(12)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x15, IL_0015)
}
IL_0015:
{
intptr_t L_3 = V_0;
return (intptr_t)L_3;
}
}
// System.IntPtr UnityEngine.AndroidJNISafe::ToCharArray(System.Char[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNISafe_ToCharArray_mC1083C57846830CFA1A7CFFE5BE92F3B826FAC1D (CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* ___array0, const RuntimeMethod* method)
{
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_0 = ___array0;
intptr_t L_1;
L_1 = AndroidJNI_ToCharArray_mC48F010177FFBC2F0CCAAE1B675B6C4882EBA257(L_0, /*hidden argument*/NULL);
V_0 = (intptr_t)L_1;
IL2CPP_LEAVE(0x14, FINALLY_000b);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000b;
}
FINALLY_000b:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(11)
} // end finally (depth: 1)
IL2CPP_CLEANUP(11)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x14, IL_0014)
}
IL_0014:
{
intptr_t L_2 = V_0;
return (intptr_t)L_2;
}
}
// System.IntPtr UnityEngine.AndroidJNISafe::ToDoubleArray(System.Double[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNISafe_ToDoubleArray_m0273BA7E9FBD2216215EBD176C8F329973BA53E0 (DoubleU5BU5D_t8E1B42EB2ABB79FBD193A6B8C8D97A7CDE44A4FB* ___array0, const RuntimeMethod* method)
{
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
DoubleU5BU5D_t8E1B42EB2ABB79FBD193A6B8C8D97A7CDE44A4FB* L_0 = ___array0;
intptr_t L_1;
L_1 = AndroidJNI_ToDoubleArray_m00242343670C4CC0103A07CB766D80F53E36130D(L_0, /*hidden argument*/NULL);
V_0 = (intptr_t)L_1;
IL2CPP_LEAVE(0x14, FINALLY_000b);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000b;
}
FINALLY_000b:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(11)
} // end finally (depth: 1)
IL2CPP_CLEANUP(11)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x14, IL_0014)
}
IL_0014:
{
intptr_t L_2 = V_0;
return (intptr_t)L_2;
}
}
// System.IntPtr UnityEngine.AndroidJNISafe::ToFloatArray(System.Single[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNISafe_ToFloatArray_m28D93667CB9E86FE20D0FC8B372BE26CEE9D8A19 (SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA* ___array0, const RuntimeMethod* method)
{
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA* L_0 = ___array0;
intptr_t L_1;
L_1 = AndroidJNI_ToFloatArray_m197E51BD1D14272F35DA0FF57B9C158E3DC5DA8D(L_0, /*hidden argument*/NULL);
V_0 = (intptr_t)L_1;
IL2CPP_LEAVE(0x14, FINALLY_000b);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000b;
}
FINALLY_000b:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(11)
} // end finally (depth: 1)
IL2CPP_CLEANUP(11)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x14, IL_0014)
}
IL_0014:
{
intptr_t L_2 = V_0;
return (intptr_t)L_2;
}
}
// System.IntPtr UnityEngine.AndroidJNISafe::ToLongArray(System.Int64[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNISafe_ToLongArray_m0C3D6AD8D2D116C3F11AECD5317AC01EABE16727 (Int64U5BU5D_tCA61E42872C63A4286B24EEE6E0650143B43DCE6* ___array0, const RuntimeMethod* method)
{
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
Int64U5BU5D_tCA61E42872C63A4286B24EEE6E0650143B43DCE6* L_0 = ___array0;
intptr_t L_1;
L_1 = AndroidJNI_ToLongArray_m784C3156DDD9D0D74E21F394CDFEB3C87538355F(L_0, /*hidden argument*/NULL);
V_0 = (intptr_t)L_1;
IL2CPP_LEAVE(0x14, FINALLY_000b);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000b;
}
FINALLY_000b:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(11)
} // end finally (depth: 1)
IL2CPP_CLEANUP(11)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x14, IL_0014)
}
IL_0014:
{
intptr_t L_2 = V_0;
return (intptr_t)L_2;
}
}
// System.IntPtr UnityEngine.AndroidJNISafe::ToShortArray(System.Int16[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNISafe_ToShortArray_m52204D9DB65374293E9D6954A2C9C4D47B4396D1 (Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* ___array0, const RuntimeMethod* method)
{
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* L_0 = ___array0;
intptr_t L_1;
L_1 = AndroidJNI_ToShortArray_m37FFD5AD4C5CC07127F2E64598FCD5A0924B246F(L_0, /*hidden argument*/NULL);
V_0 = (intptr_t)L_1;
IL2CPP_LEAVE(0x14, FINALLY_000b);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000b;
}
FINALLY_000b:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(11)
} // end finally (depth: 1)
IL2CPP_CLEANUP(11)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x14, IL_0014)
}
IL_0014:
{
intptr_t L_2 = V_0;
return (intptr_t)L_2;
}
}
// System.IntPtr UnityEngine.AndroidJNISafe::ToByteArray(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNISafe_ToByteArray_mCA96D852C39F79F57A8B68B8B03AF9EC795EA6D9 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___array0, const RuntimeMethod* method)
{
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___array0;
intptr_t L_1;
L_1 = AndroidJNI_ToByteArray_m099C6F143979F050C4A6AECF70854153CE8B58CC(L_0, /*hidden argument*/NULL);
V_0 = (intptr_t)L_1;
IL2CPP_LEAVE(0x14, FINALLY_000b);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000b;
}
FINALLY_000b:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(11)
} // end finally (depth: 1)
IL2CPP_CLEANUP(11)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x14, IL_0014)
}
IL_0014:
{
intptr_t L_2 = V_0;
return (intptr_t)L_2;
}
}
// System.IntPtr UnityEngine.AndroidJNISafe::ToSByteArray(System.SByte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNISafe_ToSByteArray_m6C05420E192FBA37D7B168EC98BE04F56492087B (SByteU5BU5D_t7D94C53295E6116625EA7CC7DEA21FEDC39869E7* ___array0, const RuntimeMethod* method)
{
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
SByteU5BU5D_t7D94C53295E6116625EA7CC7DEA21FEDC39869E7* L_0 = ___array0;
intptr_t L_1;
L_1 = AndroidJNI_ToSByteArray_m91EBEA7CBDBCCDF759D77AB5BD1AE8BF00030B5F(L_0, /*hidden argument*/NULL);
V_0 = (intptr_t)L_1;
IL2CPP_LEAVE(0x14, FINALLY_000b);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000b;
}
FINALLY_000b:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(11)
} // end finally (depth: 1)
IL2CPP_CLEANUP(11)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x14, IL_0014)
}
IL_0014:
{
intptr_t L_2 = V_0;
return (intptr_t)L_2;
}
}
// System.IntPtr UnityEngine.AndroidJNISafe::ToBooleanArray(System.Boolean[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNISafe_ToBooleanArray_m2298F4521FD7F175F15B30FF7887D365BD1543BB (BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C* ___array0, const RuntimeMethod* method)
{
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C* L_0 = ___array0;
intptr_t L_1;
L_1 = AndroidJNI_ToBooleanArray_m105D3745D21CE3B0780C3861BB455A9E29B0B9F6(L_0, /*hidden argument*/NULL);
V_0 = (intptr_t)L_1;
IL2CPP_LEAVE(0x14, FINALLY_000b);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000b;
}
FINALLY_000b:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(11)
} // end finally (depth: 1)
IL2CPP_CLEANUP(11)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x14, IL_0014)
}
IL_0014:
{
intptr_t L_2 = V_0;
return (intptr_t)L_2;
}
}
// System.IntPtr UnityEngine.AndroidJNISafe::ToIntArray(System.Int32[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNISafe_ToIntArray_mD2FB6E5F31F6FD8A12DD3E86E1022EC14AFF5D0C (Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___array0, const RuntimeMethod* method)
{
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_0 = ___array0;
intptr_t L_1;
L_1 = AndroidJNI_ToIntArray_mB2B766977213FA271EE9044B5B781112CA274317(L_0, /*hidden argument*/NULL);
V_0 = (intptr_t)L_1;
IL2CPP_LEAVE(0x14, FINALLY_000b);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000b;
}
FINALLY_000b:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(11)
} // end finally (depth: 1)
IL2CPP_CLEANUP(11)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x14, IL_0014)
}
IL_0014:
{
intptr_t L_2 = V_0;
return (intptr_t)L_2;
}
}
// System.IntPtr UnityEngine.AndroidJNISafe::GetObjectArrayElement(System.IntPtr,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJNISafe_GetObjectArrayElement_m3219215297449FA1854927E80F1B74EF7413EF73 (intptr_t ___array0, int32_t ___index1, const RuntimeMethod* method)
{
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___array0;
int32_t L_1 = ___index1;
intptr_t L_2;
L_2 = AndroidJNI_GetObjectArrayElement_m502026BF77232EE45D03661E4923C2E5E99FDE18((intptr_t)L_0, L_1, /*hidden argument*/NULL);
V_0 = (intptr_t)L_2;
IL2CPP_LEAVE(0x15, FINALLY_000c);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000c;
}
FINALLY_000c:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(12)
} // end finally (depth: 1)
IL2CPP_CLEANUP(12)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x15, IL_0015)
}
IL_0015:
{
intptr_t L_3 = V_0;
return (intptr_t)L_3;
}
}
// System.Int32 UnityEngine.AndroidJNISafe::GetArrayLength(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t AndroidJNISafe_GetArrayLength_m3015C191DBFC246946A88592731441A934507B56 (intptr_t ___array0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___array0;
int32_t L_1;
L_1 = AndroidJNI_GetArrayLength_m48A34992E6BF0EF5510037EA38EB2D348634C9DE((intptr_t)L_0, /*hidden argument*/NULL);
V_0 = L_1;
IL2CPP_LEAVE(0x14, FINALLY_000b);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000b;
}
FINALLY_000b:
{ // begin finally (depth: 1)
AndroidJNISafe_CheckException_m3F9EF56511586B0A605D2706DB0E0D225D14C249(/*hidden argument*/NULL);
IL2CPP_END_FINALLY(11)
} // end finally (depth: 1)
IL2CPP_CLEANUP(11)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x14, IL_0014)
}
IL_0014:
{
int32_t L_2 = V_0;
return L_2;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void UnityEngine.AndroidJavaClass::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJavaClass__ctor_mEFF9F51871F231955D97DABDE9AB4A6B4EDA5541 (AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 * __this, String_t* ___className0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var);
AndroidJavaObject__ctor_m76D62BEE18E830EBCDE4B6860AC3C8A5979C9F18(__this, /*hidden argument*/NULL);
String_t* L_0 = ___className0;
AndroidJavaClass__AndroidJavaClass_mD69A3836B7DD13F6514499FFE167BCB136A5BBAB(__this, L_0, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.AndroidJavaClass::_AndroidJavaClass(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJavaClass__AndroidJavaClass_mD69A3836B7DD13F6514499FFE167BCB136A5BBAB (AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 * __this, String_t* ___className0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IntPtr_t_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral204582C83E45E7B0A9BD3FA17ADE77EFC4EC4D6A);
s_Il2CppMethodInitialized = true;
}
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
{
String_t* L_0 = ___className0;
String_t* L_1;
L_1 = String_Concat_m4B4AB72618348C5DFBFBA8DED84B9E2EBDB55E1B(_stringLiteral204582C83E45E7B0A9BD3FA17ADE77EFC4EC4D6A, L_0, /*hidden argument*/NULL);
AndroidJavaObject_DebugPrint_m4F2A8B6447F29A548C6AE6F74CBD3AF51B587F7D(__this, L_1, /*hidden argument*/NULL);
String_t* L_2 = ___className0;
NullCheck(L_2);
String_t* L_3;
L_3 = String_Replace_mD912844A1141FE8771F55255C4A8D29C80C47618(L_2, ((int32_t)46), ((int32_t)47), /*hidden argument*/NULL);
intptr_t L_4;
L_4 = AndroidJNISafe_FindClass_mD96E72414A78F50B07019D26B87A93799D85BB0A(L_3, /*hidden argument*/NULL);
V_0 = (intptr_t)L_4;
intptr_t L_5 = V_0;
GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * L_6 = (GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 *)il2cpp_codegen_object_new(GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289_il2cpp_TypeInfo_var);
GlobalJavaObjectRef__ctor_mC4872ABD6EDA3531D1012C2FB7B73EE2B1652C5D(L_6, (intptr_t)L_5, /*hidden argument*/NULL);
((AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *)__this)->set_m_jclass_2(L_6);
GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * L_7 = (GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 *)il2cpp_codegen_object_new(GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289_il2cpp_TypeInfo_var);
GlobalJavaObjectRef__ctor_mC4872ABD6EDA3531D1012C2FB7B73EE2B1652C5D(L_7, (intptr_t)(0), /*hidden argument*/NULL);
((AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *)__this)->set_m_jobject_1(L_7);
intptr_t L_8 = V_0;
AndroidJNISafe_DeleteLocalRef_m7AB242A76D13A3BF4C04831D77960C020D6ADA39((intptr_t)L_8, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.AndroidJavaClass::.ctor(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJavaClass__ctor_m61AE95F9D20CA648AEFC18AE922FE70F0B90786F (AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 * __this, intptr_t ___jclass0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IntPtr_t_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
IL2CPP_RUNTIME_CLASS_INIT(AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var);
AndroidJavaObject__ctor_m76D62BEE18E830EBCDE4B6860AC3C8A5979C9F18(__this, /*hidden argument*/NULL);
intptr_t L_0 = ___jclass0;
bool L_1;
L_1 = IntPtr_op_Equality_mD94F3FE43A65684EFF984A7B95E70D2520C0AC73((intptr_t)L_0, (intptr_t)(0), /*hidden argument*/NULL);
V_0 = L_1;
bool L_2 = V_0;
if (!L_2)
{
goto IL_0023;
}
}
{
Exception_t * L_3 = (Exception_t *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)));
Exception__ctor_m8ECDE8ACA7F2E0EF1144BD1200FB5DB2870B5F11(L_3, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral65572413F78A98D745AF7C2CCAF152BD2C90FF88)), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&AndroidJavaClass__ctor_m61AE95F9D20CA648AEFC18AE922FE70F0B90786F_RuntimeMethod_var)));
}
IL_0023:
{
intptr_t L_4 = ___jclass0;
GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * L_5 = (GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 *)il2cpp_codegen_object_new(GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289_il2cpp_TypeInfo_var);
GlobalJavaObjectRef__ctor_mC4872ABD6EDA3531D1012C2FB7B73EE2B1652C5D(L_5, (intptr_t)L_4, /*hidden argument*/NULL);
((AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *)__this)->set_m_jclass_2(L_5);
GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * L_6 = (GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 *)il2cpp_codegen_object_new(GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289_il2cpp_TypeInfo_var);
GlobalJavaObjectRef__ctor_mC4872ABD6EDA3531D1012C2FB7B73EE2B1652C5D(L_6, (intptr_t)(0), /*hidden argument*/NULL);
((AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *)__this)->set_m_jobject_1(L_6);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void UnityEngine.AndroidJavaException::.ctor(System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJavaException__ctor_mD451AB9B54A333C79F0F0650DD4DC2B173CAA910 (AndroidJavaException_tA371556A4C19FBFA201DD4939DFA781D109B243D * __this, String_t* ___message0, String_t* ___javaStackTrace1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
String_t* L_0 = ___message0;
IL2CPP_RUNTIME_CLASS_INIT(Exception_t_il2cpp_TypeInfo_var);
Exception__ctor_m8ECDE8ACA7F2E0EF1144BD1200FB5DB2870B5F11(__this, L_0, /*hidden argument*/NULL);
String_t* L_1 = ___javaStackTrace1;
__this->set_mJavaStackTrace_17(L_1);
return;
}
}
// System.String UnityEngine.AndroidJavaException::get_StackTrace()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* AndroidJavaException_get_StackTrace_m3A87C920F33472028A05370C7C320C0196B209E9 (AndroidJavaException_tA371556A4C19FBFA201DD4939DFA781D109B243D * __this, const RuntimeMethod* method)
{
String_t* V_0 = NULL;
{
String_t* L_0 = __this->get_mJavaStackTrace_17();
String_t* L_1;
L_1 = Exception_get_StackTrace_m66E7EFBB3658852BCB2960743DC9352D90C9EE48(__this, /*hidden argument*/NULL);
String_t* L_2;
L_2 = String_Concat_m4B4AB72618348C5DFBFBA8DED84B9E2EBDB55E1B(L_0, L_1, /*hidden argument*/NULL);
V_0 = L_2;
goto IL_0015;
}
IL_0015:
{
String_t* L_3 = V_0;
return L_3;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void UnityEngine.AndroidJavaObject::.ctor(System.String,System.Object[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJavaObject__ctor_m6146DBD19BCFFDB3D4F42C8D38491F354B58B001 (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, String_t* ___className0, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args1, const RuntimeMethod* method)
{
{
AndroidJavaObject__ctor_m76D62BEE18E830EBCDE4B6860AC3C8A5979C9F18(__this, /*hidden argument*/NULL);
String_t* L_0 = ___className0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_1 = ___args1;
AndroidJavaObject__AndroidJavaObject_m54584F0F147ECA1A0B7DEB875742B3331CC1666A(__this, L_0, L_1, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.AndroidJavaObject::Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJavaObject_Dispose_mFF9FA58B47A7FC0C083E034B364EAAE2E7282C45 (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GC_tD6F0377620BF01385965FD29272CF088A4309C0D_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
VirtActionInvoker1< bool >::Invoke(5 /* System.Void UnityEngine.AndroidJavaObject::Dispose(System.Boolean) */, __this, (bool)1);
IL2CPP_RUNTIME_CLASS_INIT(GC_tD6F0377620BF01385965FD29272CF088A4309C0D_il2cpp_TypeInfo_var);
GC_SuppressFinalize_mEE880E988C6AF32AA2F67F2D62715281EAA41555(__this, /*hidden argument*/NULL);
return;
}
}
// System.IntPtr UnityEngine.AndroidJavaObject::GetRawObject()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJavaObject_GetRawObject_m09E30F9AF9DD2AE07D34CE3915BDA557E206271D (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, const RuntimeMethod* method)
{
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
{
intptr_t L_0;
L_0 = AndroidJavaObject__GetRawObject_mD52629909E16A092896CD884BB710F876BE14975(__this, /*hidden argument*/NULL);
V_0 = (intptr_t)L_0;
goto IL_000a;
}
IL_000a:
{
intptr_t L_1 = V_0;
return (intptr_t)L_1;
}
}
// System.IntPtr UnityEngine.AndroidJavaObject::GetRawClass()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJavaObject_GetRawClass_m051337FD2D7C0E765641B192D86FF4A06257836B (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, const RuntimeMethod* method)
{
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
{
intptr_t L_0;
L_0 = AndroidJavaObject__GetRawClass_mCEFEDEA158099706B9B2F1CB40C843D2E899932C(__this, /*hidden argument*/NULL);
V_0 = (intptr_t)L_0;
goto IL_000a;
}
IL_000a:
{
intptr_t L_1 = V_0;
return (intptr_t)L_1;
}
}
// System.Void UnityEngine.AndroidJavaObject::DebugPrint(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJavaObject_DebugPrint_m4F2A8B6447F29A548C6AE6F74CBD3AF51B587F7D (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, String_t* ___msg0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
IL2CPP_RUNTIME_CLASS_INIT(AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var);
bool L_0 = ((AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_StaticFields*)il2cpp_codegen_static_fields_for(AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var))->get_enableDebugPrints_0();
V_0 = (bool)((((int32_t)L_0) == ((int32_t)0))? 1 : 0);
bool L_1 = V_0;
if (!L_1)
{
goto IL_000f;
}
}
{
goto IL_0016;
}
IL_000f:
{
String_t* L_2 = ___msg0;
IL2CPP_RUNTIME_CLASS_INIT(Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
Debug_Log_mC26E5AD0D8D156C7FFD173AA15827F69225E9DB8(L_2, /*hidden argument*/NULL);
}
IL_0016:
{
return;
}
}
// System.Void UnityEngine.AndroidJavaObject::_AndroidJavaObject(System.String,System.Object[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJavaObject__AndroidJavaObject_m54584F0F147ECA1A0B7DEB875742B3331CC1666A (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, String_t* ___className0, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA38BB5AAC6BE96538C93F39E86053E620B41407D);
s_Il2CppMethodInitialized = true;
}
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* V_1 = NULL;
bool V_2 = false;
intptr_t V_3;
memset((&V_3), 0, sizeof(V_3));
intptr_t V_4;
memset((&V_4), 0, sizeof(V_4));
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
String_t* L_0 = ___className0;
String_t* L_1;
L_1 = String_Concat_m4B4AB72618348C5DFBFBA8DED84B9E2EBDB55E1B(_stringLiteralA38BB5AAC6BE96538C93F39E86053E620B41407D, L_0, /*hidden argument*/NULL);
AndroidJavaObject_DebugPrint_m4F2A8B6447F29A548C6AE6F74CBD3AF51B587F7D(__this, L_1, /*hidden argument*/NULL);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_2 = ___args1;
V_2 = (bool)((((RuntimeObject*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)L_2) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_3 = V_2;
if (!L_3)
{
goto IL_0023;
}
}
{
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_4 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)1);
___args1 = L_4;
}
IL_0023:
{
String_t* L_5 = ___className0;
NullCheck(L_5);
String_t* L_6;
L_6 = String_Replace_mD912844A1141FE8771F55255C4A8D29C80C47618(L_5, ((int32_t)46), ((int32_t)47), /*hidden argument*/NULL);
intptr_t L_7;
L_7 = AndroidJNISafe_FindClass_mD96E72414A78F50B07019D26B87A93799D85BB0A(L_6, /*hidden argument*/NULL);
V_0 = (intptr_t)L_7;
intptr_t L_8 = V_0;
GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * L_9 = (GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 *)il2cpp_codegen_object_new(GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289_il2cpp_TypeInfo_var);
GlobalJavaObjectRef__ctor_mC4872ABD6EDA3531D1012C2FB7B73EE2B1652C5D(L_9, (intptr_t)L_8, /*hidden argument*/NULL);
__this->set_m_jclass_2(L_9);
intptr_t L_10 = V_0;
AndroidJNISafe_DeleteLocalRef_m7AB242A76D13A3BF4C04831D77960C020D6ADA39((intptr_t)L_10, /*hidden argument*/NULL);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_11 = ___args1;
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_12;
L_12 = AndroidJNIHelper_CreateJNIArgArray_m3B928C14D5B3E86B38331427E0605478402DFDCE(L_11, /*hidden argument*/NULL);
V_1 = L_12;
}
IL_004d:
try
{ // begin try (depth: 1)
GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * L_13 = __this->get_m_jclass_2();
intptr_t L_14;
L_14 = GlobalJavaObjectRef_op_Implicit_m7A992ACF399BAD3EFC96D88CE00B235D8B669B33(L_13, /*hidden argument*/NULL);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_15 = ___args1;
intptr_t L_16;
L_16 = AndroidJNIHelper_GetConstructorID_mDC08F55A8FFF5D4E2B6CB5FB6808935EC8211007((intptr_t)L_14, L_15, /*hidden argument*/NULL);
V_3 = (intptr_t)L_16;
GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * L_17 = __this->get_m_jclass_2();
intptr_t L_18;
L_18 = GlobalJavaObjectRef_op_Implicit_m7A992ACF399BAD3EFC96D88CE00B235D8B669B33(L_17, /*hidden argument*/NULL);
intptr_t L_19 = V_3;
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_20 = V_1;
intptr_t L_21;
L_21 = AndroidJNISafe_NewObject_m8B3CE344FE9144B92096F0A36CF75DA56C380BF7((intptr_t)L_18, (intptr_t)L_19, L_20, /*hidden argument*/NULL);
V_4 = (intptr_t)L_21;
intptr_t L_22 = V_4;
GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * L_23 = (GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 *)il2cpp_codegen_object_new(GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289_il2cpp_TypeInfo_var);
GlobalJavaObjectRef__ctor_mC4872ABD6EDA3531D1012C2FB7B73EE2B1652C5D(L_23, (intptr_t)L_22, /*hidden argument*/NULL);
__this->set_m_jobject_1(L_23);
intptr_t L_24 = V_4;
AndroidJNISafe_DeleteLocalRef_m7AB242A76D13A3BF4C04831D77960C020D6ADA39((intptr_t)L_24, /*hidden argument*/NULL);
IL2CPP_LEAVE(0x97, FINALLY_008c);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_008c;
}
FINALLY_008c:
{ // begin finally (depth: 1)
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_25 = ___args1;
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_26 = V_1;
AndroidJNIHelper_DeleteJNIArgArray_mF43CDD1F690C9E843FE622B9A5F7B21F7556408A(L_25, L_26, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(140)
} // end finally (depth: 1)
IL2CPP_CLEANUP(140)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x97, IL_0097)
}
IL_0097:
{
return;
}
}
// System.Void UnityEngine.AndroidJavaObject::.ctor(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJavaObject__ctor_m880F6533139DF0BD36C6EF428E45E9F44B6534A3 (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, intptr_t ___jobject0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IntPtr_t_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
bool V_1 = false;
{
AndroidJavaObject__ctor_m76D62BEE18E830EBCDE4B6860AC3C8A5979C9F18(__this, /*hidden argument*/NULL);
intptr_t L_0 = ___jobject0;
bool L_1;
L_1 = IntPtr_op_Equality_mD94F3FE43A65684EFF984A7B95E70D2520C0AC73((intptr_t)L_0, (intptr_t)(0), /*hidden argument*/NULL);
V_1 = L_1;
bool L_2 = V_1;
if (!L_2)
{
goto IL_0023;
}
}
{
Exception_t * L_3 = (Exception_t *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)));
Exception__ctor_m8ECDE8ACA7F2E0EF1144BD1200FB5DB2870B5F11(L_3, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralA39614FE650CC59501DA62392479CBAD5E59947A)), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&AndroidJavaObject__ctor_m880F6533139DF0BD36C6EF428E45E9F44B6534A3_RuntimeMethod_var)));
}
IL_0023:
{
intptr_t L_4 = ___jobject0;
intptr_t L_5;
L_5 = AndroidJNISafe_GetObjectClass_m6FD726927BEAAA70778766E29215A6CA63A93DC3((intptr_t)L_4, /*hidden argument*/NULL);
V_0 = (intptr_t)L_5;
intptr_t L_6 = ___jobject0;
GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * L_7 = (GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 *)il2cpp_codegen_object_new(GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289_il2cpp_TypeInfo_var);
GlobalJavaObjectRef__ctor_mC4872ABD6EDA3531D1012C2FB7B73EE2B1652C5D(L_7, (intptr_t)L_6, /*hidden argument*/NULL);
__this->set_m_jobject_1(L_7);
intptr_t L_8 = V_0;
GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * L_9 = (GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 *)il2cpp_codegen_object_new(GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289_il2cpp_TypeInfo_var);
GlobalJavaObjectRef__ctor_mC4872ABD6EDA3531D1012C2FB7B73EE2B1652C5D(L_9, (intptr_t)L_8, /*hidden argument*/NULL);
__this->set_m_jclass_2(L_9);
intptr_t L_10 = V_0;
AndroidJNISafe_DeleteLocalRef_m7AB242A76D13A3BF4C04831D77960C020D6ADA39((intptr_t)L_10, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.AndroidJavaObject::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJavaObject__ctor_m76D62BEE18E830EBCDE4B6860AC3C8A5979C9F18 (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, const RuntimeMethod* method)
{
{
Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.AndroidJavaObject::Finalize()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJavaObject_Finalize_mE74A8B42EE112C9889752419D2AA209CD08704A2 (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, const RuntimeMethod* method)
{
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
VirtActionInvoker1< bool >::Invoke(5 /* System.Void UnityEngine.AndroidJavaObject::Dispose(System.Boolean) */, __this, (bool)1);
IL2CPP_LEAVE(0x14, FINALLY_000c);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000c;
}
FINALLY_000c:
{ // begin finally (depth: 1)
Object_Finalize_mC59C83CF4F7707E425FFA6362931C25D4C36676A(__this, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(12)
} // end finally (depth: 1)
IL2CPP_CLEANUP(12)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x14, IL_0014)
}
IL_0014:
{
return;
}
}
// System.Void UnityEngine.AndroidJavaObject::Dispose(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJavaObject_Dispose_m881D1EC65C5FE625E9F84D81308E966CAC607AFC (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, bool ___disposing0, const RuntimeMethod* method)
{
bool V_0 = false;
bool V_1 = false;
{
GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * L_0 = __this->get_m_jobject_1();
V_0 = (bool)((!(((RuntimeObject*)(GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 *)L_0) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_1 = V_0;
if (!L_1)
{
goto IL_0023;
}
}
{
GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * L_2 = __this->get_m_jobject_1();
NullCheck(L_2);
GlobalJavaObjectRef_Dispose_mDAF2DE01EBD608E63CB661954D0B50015D08FF28(L_2, /*hidden argument*/NULL);
__this->set_m_jobject_1((GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 *)NULL);
}
IL_0023:
{
GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * L_3 = __this->get_m_jclass_2();
V_1 = (bool)((!(((RuntimeObject*)(GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 *)L_3) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_4 = V_1;
if (!L_4)
{
goto IL_0045;
}
}
{
GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * L_5 = __this->get_m_jclass_2();
NullCheck(L_5);
GlobalJavaObjectRef_Dispose_mDAF2DE01EBD608E63CB661954D0B50015D08FF28(L_5, /*hidden argument*/NULL);
__this->set_m_jclass_2((GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 *)NULL);
}
IL_0045:
{
return;
}
}
// UnityEngine.AndroidJavaObject UnityEngine.AndroidJavaObject::AndroidJavaObjectDeleteLocalRef(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * AndroidJavaObject_AndroidJavaObjectDeleteLocalRef_mB977696EA6F6BB6369A8F783EFB5D99C445C11FD (intptr_t ___jobject0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * V_0 = NULL;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___jobject0;
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_1 = (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *)il2cpp_codegen_object_new(AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var);
AndroidJavaObject__ctor_m880F6533139DF0BD36C6EF428E45E9F44B6534A3(L_1, (intptr_t)L_0, /*hidden argument*/NULL);
V_0 = L_1;
IL2CPP_LEAVE(0x15, FINALLY_000b);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000b;
}
FINALLY_000b:
{ // begin finally (depth: 1)
intptr_t L_2 = ___jobject0;
AndroidJNISafe_DeleteLocalRef_m7AB242A76D13A3BF4C04831D77960C020D6ADA39((intptr_t)L_2, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(11)
} // end finally (depth: 1)
IL2CPP_CLEANUP(11)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x15, IL_0015)
}
IL_0015:
{
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_3 = V_0;
return L_3;
}
}
// UnityEngine.AndroidJavaClass UnityEngine.AndroidJavaObject::AndroidJavaClassDeleteLocalRef(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 * AndroidJavaObject_AndroidJavaClassDeleteLocalRef_mE5C858ECFE81960EA260B3F112FD8A30C4097842 (intptr_t ___jclass0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 * V_0 = NULL;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = ___jclass0;
AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 * L_1 = (AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 *)il2cpp_codegen_object_new(AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4_il2cpp_TypeInfo_var);
AndroidJavaClass__ctor_m61AE95F9D20CA648AEFC18AE922FE70F0B90786F(L_1, (intptr_t)L_0, /*hidden argument*/NULL);
V_0 = L_1;
IL2CPP_LEAVE(0x15, FINALLY_000b);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000b;
}
FINALLY_000b:
{ // begin finally (depth: 1)
intptr_t L_2 = ___jclass0;
AndroidJNISafe_DeleteLocalRef_m7AB242A76D13A3BF4C04831D77960C020D6ADA39((intptr_t)L_2, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(11)
} // end finally (depth: 1)
IL2CPP_CLEANUP(11)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x15, IL_0015)
}
IL_0015:
{
AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 * L_3 = V_0;
return L_3;
}
}
// System.IntPtr UnityEngine.AndroidJavaObject::_GetRawObject()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJavaObject__GetRawObject_mD52629909E16A092896CD884BB710F876BE14975 (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, const RuntimeMethod* method)
{
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
{
GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * L_0 = __this->get_m_jobject_1();
intptr_t L_1;
L_1 = GlobalJavaObjectRef_op_Implicit_m7A992ACF399BAD3EFC96D88CE00B235D8B669B33(L_0, /*hidden argument*/NULL);
V_0 = (intptr_t)L_1;
goto IL_000f;
}
IL_000f:
{
intptr_t L_2 = V_0;
return (intptr_t)L_2;
}
}
// System.IntPtr UnityEngine.AndroidJavaObject::_GetRawClass()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJavaObject__GetRawClass_mCEFEDEA158099706B9B2F1CB40C843D2E899932C (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * __this, const RuntimeMethod* method)
{
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
{
GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * L_0 = __this->get_m_jclass_2();
intptr_t L_1;
L_1 = GlobalJavaObjectRef_op_Implicit_m7A992ACF399BAD3EFC96D88CE00B235D8B669B33(L_0, /*hidden argument*/NULL);
V_0 = (intptr_t)L_1;
goto IL_000f;
}
IL_000f:
{
intptr_t L_2 = V_0;
return (intptr_t)L_2;
}
}
// System.Void UnityEngine.AndroidJavaObject::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJavaObject__cctor_mF33A7478608B7668DB4EF3D610695E2828A492CE (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
((AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_StaticFields*)il2cpp_codegen_static_fields_for(AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var))->set_enableDebugPrints_0((bool)0);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void UnityEngine.AndroidJavaProxy::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJavaProxy__ctor_m1E8F4C0D87B74B81C64A54A584B2FF4ECE571238 (AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF * __this, String_t* ___javaInterface0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
String_t* L_0 = ___javaInterface0;
AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 * L_1 = (AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 *)il2cpp_codegen_object_new(AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4_il2cpp_TypeInfo_var);
AndroidJavaClass__ctor_mEFF9F51871F231955D97DABDE9AB4A6B4EDA5541(L_1, L_0, /*hidden argument*/NULL);
AndroidJavaProxy__ctor_m17BDD42A24CEBD07722B68A25CAD6DEAF64241E1(__this, L_1, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.AndroidJavaProxy::.ctor(UnityEngine.AndroidJavaClass)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJavaProxy__ctor_m17BDD42A24CEBD07722B68A25CAD6DEAF64241E1 (AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF * __this, AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 * ___javaInterface0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IntPtr_t_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
__this->set_proxyObject_1((intptr_t)(0));
Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 * L_0 = ___javaInterface0;
__this->set_javaInterface_0(L_0);
return;
}
}
// System.Void UnityEngine.AndroidJavaProxy::Finalize()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJavaProxy_Finalize_m7F5D1C533F2D1A4A1A286D00E14282E48A55F96F (AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF * __this, const RuntimeMethod* method)
{
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
intptr_t L_0 = __this->get_proxyObject_1();
AndroidJNISafe_DeleteWeakGlobalRef_m0FC9348DE2D937798DB6D6A5461021AFEBC7506D((intptr_t)L_0, /*hidden argument*/NULL);
IL2CPP_LEAVE(0x18, FINALLY_0010);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0010;
}
FINALLY_0010:
{ // begin finally (depth: 1)
Object_Finalize_mC59C83CF4F7707E425FFA6362931C25D4C36676A(__this, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(16)
} // end finally (depth: 1)
IL2CPP_CLEANUP(16)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x18, IL_0018)
}
IL_0018:
{
return;
}
}
// UnityEngine.AndroidJavaObject UnityEngine.AndroidJavaProxy::Invoke(System.String,System.Object[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * AndroidJavaProxy_Invoke_m0908B96EF03FC0465EAC584963213D227A3048D0 (AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF * __this, String_t* ___methodName0, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_0_0_0_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Type_t_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA3DFC0C77ACADE0EE48DCC73E795A597D0270A73);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB3F14BF976EFD974E34846B742502C802FABAE9D);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralC18C9BB6DF0D5C60CE5A5D2D3D6111BEB6F8CCEB);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralEB0FDB1D6EA8C345A32F7C7B64C24BEDF2AB6FFC);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralF3E84B722399601AD7E281754E917478AA9AD48D);
s_Il2CppMethodInitialized = true;
}
Exception_t * V_0 = NULL;
int32_t V_1 = 0;
TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755* V_2 = NULL;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* V_3 = NULL;
int32_t V_4 = 0;
bool V_5 = false;
MethodInfo_t * V_6 = NULL;
bool V_7 = false;
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * V_8 = NULL;
TargetInvocationException_t30F4C50D323F448CD2E08BDB8F47694B08EB354C * V_9 = NULL;
Exception_t * V_10 = NULL;
int32_t V_11 = 0;
bool V_12 = false;
bool V_13 = false;
il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
il2cpp::utils::ExceptionSupportStack<int32_t, 4> __leave_targets;
int32_t G_B3_0 = 0;
TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755* G_B3_1 = NULL;
int32_t G_B2_0 = 0;
TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755* G_B2_1 = NULL;
Type_t * G_B4_0 = NULL;
int32_t G_B4_1 = 0;
TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755* G_B4_2 = NULL;
Type_t * G_B18_0 = NULL;
int32_t G_B18_1 = 0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B18_2 = NULL;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B18_3 = NULL;
Type_t * G_B17_0 = NULL;
int32_t G_B17_1 = 0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B17_2 = NULL;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B17_3 = NULL;
String_t* G_B19_0 = NULL;
int32_t G_B19_1 = 0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B19_2 = NULL;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B19_3 = NULL;
Type_t * G_B22_0 = NULL;
int32_t G_B22_1 = 0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B22_2 = NULL;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B22_3 = NULL;
intptr_t G_B22_4;
memset((&G_B22_4), 0, sizeof(G_B22_4));
Type_t * G_B21_0 = NULL;
int32_t G_B21_1 = 0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B21_2 = NULL;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B21_3 = NULL;
intptr_t G_B21_4;
memset((&G_B21_4), 0, sizeof(G_B21_4));
String_t* G_B23_0 = NULL;
int32_t G_B23_1 = 0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B23_2 = NULL;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B23_3 = NULL;
intptr_t G_B23_4;
memset((&G_B23_4), 0, sizeof(G_B23_4));
{
V_0 = (Exception_t *)NULL;
V_1 = ((int32_t)60);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_0 = ___args1;
NullCheck(L_0);
TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755* L_1 = (TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755*)(TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755*)SZArrayNew(TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length))));
V_2 = L_1;
V_4 = 0;
goto IL_0039;
}
IL_0014:
{
TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755* L_2 = V_2;
int32_t L_3 = V_4;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_4 = ___args1;
int32_t L_5 = V_4;
NullCheck(L_4);
int32_t L_6 = L_5;
RuntimeObject * L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
G_B2_0 = L_3;
G_B2_1 = L_2;
if (!L_7)
{
G_B3_0 = L_3;
G_B3_1 = L_2;
goto IL_0028;
}
}
{
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_8 = ___args1;
int32_t L_9 = V_4;
NullCheck(L_8);
int32_t L_10 = L_9;
RuntimeObject * L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
NullCheck(L_11);
Type_t * L_12;
L_12 = Object_GetType_m571FE8360C10B98C23AAF1F066D92C08CC94F45B(L_11, /*hidden argument*/NULL);
G_B4_0 = L_12;
G_B4_1 = G_B2_0;
G_B4_2 = G_B2_1;
goto IL_0032;
}
IL_0028:
{
RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 L_13 = { reinterpret_cast<intptr_t> (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_14;
L_14 = Type_GetTypeFromHandle_m8BB57524FF7F9DB1803BC561D2B3A4DBACEB385E(L_13, /*hidden argument*/NULL);
G_B4_0 = L_14;
G_B4_1 = G_B3_0;
G_B4_2 = G_B3_1;
}
IL_0032:
{
NullCheck(G_B4_2);
ArrayElementTypeCheck (G_B4_2, G_B4_0);
(G_B4_2)->SetAt(static_cast<il2cpp_array_size_t>(G_B4_1), (Type_t *)G_B4_0);
int32_t L_15 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add((int32_t)L_15, (int32_t)1));
}
IL_0039:
{
int32_t L_16 = V_4;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_17 = ___args1;
NullCheck(L_17);
V_5 = (bool)((((int32_t)L_16) < ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_17)->max_length)))))? 1 : 0);
bool L_18 = V_5;
if (L_18)
{
goto IL_0014;
}
}
{
}
IL_0047:
try
{ // begin try (depth: 1)
{
Type_t * L_19;
L_19 = Object_GetType_m571FE8360C10B98C23AAF1F066D92C08CC94F45B(__this, /*hidden argument*/NULL);
String_t* L_20 = ___methodName0;
int32_t L_21 = V_1;
TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755* L_22 = V_2;
NullCheck(L_19);
MethodInfo_t * L_23;
L_23 = Type_GetMethod_m69EE86B5A87244C925333CCF1B6D6B9BCFED8A89(L_19, L_20, L_21, (Binder_t2BEE27FD84737D1E79BC47FD67F6D3DD2F2DDA30 *)NULL, L_22, (ParameterModifierU5BU5D_tFF6F73F1CFE837331D6AAA11CC78CE5D9B5F0A2B*)(ParameterModifierU5BU5D_tFF6F73F1CFE837331D6AAA11CC78CE5D9B5F0A2B*)NULL, /*hidden argument*/NULL);
V_6 = L_23;
MethodInfo_t * L_24 = V_6;
V_7 = (bool)((!(((RuntimeObject*)(MethodInfo_t *)L_24) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_25 = V_7;
if (!L_25)
{
goto IL_007a;
}
}
IL_0065:
{
MethodInfo_t * L_26 = V_6;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_27 = ___args1;
NullCheck(L_26);
RuntimeObject * L_28;
L_28 = MethodBase_Invoke_m5DA5E74F34F8FFA8133445BAE0266FD54F7D4EB3(L_26, __this, L_27, /*hidden argument*/NULL);
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_29;
L_29 = _AndroidJNIHelper_Box_m36D8F62AEE89925F24BEB84DD91A5FF771255E28(L_28, /*hidden argument*/NULL);
V_8 = L_29;
goto IL_0186;
}
IL_007a:
{
goto IL_0094;
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TargetInvocationException_t30F4C50D323F448CD2E08BDB8F47694B08EB354C_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
{
IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
goto CATCH_007d;
}
if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
{
IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
goto CATCH_008b;
}
throw e;
}
CATCH_007d:
{ // begin catch(System.Reflection.TargetInvocationException)
V_9 = ((TargetInvocationException_t30F4C50D323F448CD2E08BDB8F47694B08EB354C *)IL2CPP_GET_ACTIVE_EXCEPTION(TargetInvocationException_t30F4C50D323F448CD2E08BDB8F47694B08EB354C *));
TargetInvocationException_t30F4C50D323F448CD2E08BDB8F47694B08EB354C * L_30 = V_9;
NullCheck(L_30);
Exception_t * L_31;
L_31 = Exception_get_InnerException_m10D85773B6B191C7D4E7D3C2954B84F9BB195218_inline(L_30, /*hidden argument*/NULL);
V_0 = L_31;
IL2CPP_POP_ACTIVE_EXCEPTION();
goto IL_0094;
} // end catch (depth: 1)
CATCH_008b:
{ // begin catch(System.Exception)
V_10 = ((Exception_t *)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t *));
Exception_t * L_32 = V_10;
V_0 = L_32;
IL2CPP_POP_ACTIVE_EXCEPTION();
goto IL_0094;
} // end catch (depth: 1)
IL_0094:
{
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_33 = ___args1;
NullCheck(L_33);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_34 = (StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)SZArrayNew(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)(((RuntimeArray*)L_33)->max_length))));
V_3 = L_34;
V_11 = 0;
goto IL_00b5;
}
IL_00a2:
{
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_35 = V_3;
int32_t L_36 = V_11;
TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755* L_37 = V_2;
int32_t L_38 = V_11;
NullCheck(L_37);
int32_t L_39 = L_38;
Type_t * L_40 = (L_37)->GetAt(static_cast<il2cpp_array_size_t>(L_39));
NullCheck(L_40);
String_t* L_41;
L_41 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_40);
NullCheck(L_35);
ArrayElementTypeCheck (L_35, L_41);
(L_35)->SetAt(static_cast<il2cpp_array_size_t>(L_36), (String_t*)L_41);
int32_t L_42 = V_11;
V_11 = ((int32_t)il2cpp_codegen_add((int32_t)L_42, (int32_t)1));
}
IL_00b5:
{
int32_t L_43 = V_11;
TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755* L_44 = V_2;
NullCheck(L_44);
V_12 = (bool)((((int32_t)L_43) < ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_44)->max_length)))))? 1 : 0);
bool L_45 = V_12;
if (L_45)
{
goto IL_00a2;
}
}
{
Exception_t * L_46 = V_0;
V_13 = (bool)((!(((RuntimeObject*)(Exception_t *)L_46) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_47 = V_13;
if (!L_47)
{
goto IL_011d;
}
}
{
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_48 = (StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)SZArrayNew(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var)), (uint32_t)6);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_49 = L_48;
Type_t * L_50;
L_50 = Object_GetType_m571FE8360C10B98C23AAF1F066D92C08CC94F45B(__this, /*hidden argument*/NULL);
Type_t * L_51 = L_50;
G_B17_0 = L_51;
G_B17_1 = 0;
G_B17_2 = L_49;
G_B17_3 = L_49;
if (L_51)
{
G_B18_0 = L_51;
G_B18_1 = 0;
G_B18_2 = L_49;
G_B18_3 = L_49;
goto IL_00e1;
}
}
{
G_B19_0 = ((String_t*)(NULL));
G_B19_1 = G_B17_1;
G_B19_2 = G_B17_2;
G_B19_3 = G_B17_3;
goto IL_00e6;
}
IL_00e1:
{
NullCheck(G_B18_0);
String_t* L_52;
L_52 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, G_B18_0);
G_B19_0 = L_52;
G_B19_1 = G_B18_1;
G_B19_2 = G_B18_2;
G_B19_3 = G_B18_3;
}
IL_00e6:
{
NullCheck(G_B19_2);
ArrayElementTypeCheck (G_B19_2, G_B19_0);
(G_B19_2)->SetAt(static_cast<il2cpp_array_size_t>(G_B19_1), (String_t*)G_B19_0);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_53 = G_B19_3;
NullCheck(L_53);
ArrayElementTypeCheck (L_53, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralF3E84B722399601AD7E281754E917478AA9AD48D)));
(L_53)->SetAt(static_cast<il2cpp_array_size_t>(1), (String_t*)((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralF3E84B722399601AD7E281754E917478AA9AD48D)));
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_54 = L_53;
String_t* L_55 = ___methodName0;
NullCheck(L_54);
ArrayElementTypeCheck (L_54, L_55);
(L_54)->SetAt(static_cast<il2cpp_array_size_t>(2), (String_t*)L_55);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_56 = L_54;
NullCheck(L_56);
ArrayElementTypeCheck (L_56, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralA3DFC0C77ACADE0EE48DCC73E795A597D0270A73)));
(L_56)->SetAt(static_cast<il2cpp_array_size_t>(3), (String_t*)((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralA3DFC0C77ACADE0EE48DCC73E795A597D0270A73)));
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_57 = L_56;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_58 = V_3;
String_t* L_59;
L_59 = String_Join_m8846EB11F0A221BDE237DE041D17764B36065404(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralC18C9BB6DF0D5C60CE5A5D2D3D6111BEB6F8CCEB)), L_58, /*hidden argument*/NULL);
NullCheck(L_57);
ArrayElementTypeCheck (L_57, L_59);
(L_57)->SetAt(static_cast<il2cpp_array_size_t>(4), (String_t*)L_59);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_60 = L_57;
NullCheck(L_60);
ArrayElementTypeCheck (L_60, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralB3F14BF976EFD974E34846B742502C802FABAE9D)));
(L_60)->SetAt(static_cast<il2cpp_array_size_t>(5), (String_t*)((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralB3F14BF976EFD974E34846B742502C802FABAE9D)));
String_t* L_61;
L_61 = String_Concat_mFEA7EFA1A6E75B96B1B7BC4526AAC864BFF83CC9(L_60, /*hidden argument*/NULL);
Exception_t * L_62 = V_0;
TargetInvocationException_t30F4C50D323F448CD2E08BDB8F47694B08EB354C * L_63 = (TargetInvocationException_t30F4C50D323F448CD2E08BDB8F47694B08EB354C *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TargetInvocationException_t30F4C50D323F448CD2E08BDB8F47694B08EB354C_il2cpp_TypeInfo_var)));
TargetInvocationException__ctor_m5436E5EE63CBC376FADE4422FDC24067402E42A9(L_63, L_61, L_62, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_63, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&AndroidJavaProxy_Invoke_m0908B96EF03FC0465EAC584963213D227A3048D0_RuntimeMethod_var)));
}
IL_011d:
{
intptr_t L_64;
L_64 = AndroidJavaProxy_GetRawProxy_m125686B87104A00FD20DEB87F24074A3AD68D354(__this, /*hidden argument*/NULL);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_65 = (StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)SZArrayNew(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var, (uint32_t)7);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_66 = L_65;
NullCheck(L_66);
ArrayElementTypeCheck (L_66, _stringLiteralEB0FDB1D6EA8C345A32F7C7B64C24BEDF2AB6FFC);
(L_66)->SetAt(static_cast<il2cpp_array_size_t>(0), (String_t*)_stringLiteralEB0FDB1D6EA8C345A32F7C7B64C24BEDF2AB6FFC);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_67 = L_66;
Type_t * L_68;
L_68 = Object_GetType_m571FE8360C10B98C23AAF1F066D92C08CC94F45B(__this, /*hidden argument*/NULL);
Type_t * L_69 = L_68;
G_B21_0 = L_69;
G_B21_1 = 1;
G_B21_2 = L_67;
G_B21_3 = L_67;
G_B21_4 = L_64;
if (L_69)
{
G_B22_0 = L_69;
G_B22_1 = 1;
G_B22_2 = L_67;
G_B22_3 = L_67;
G_B22_4 = L_64;
goto IL_0140;
}
}
{
G_B23_0 = ((String_t*)(NULL));
G_B23_1 = G_B21_1;
G_B23_2 = G_B21_2;
G_B23_3 = G_B21_3;
G_B23_4 = G_B21_4;
goto IL_0145;
}
IL_0140:
{
NullCheck(G_B22_0);
String_t* L_70;
L_70 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, G_B22_0);
G_B23_0 = L_70;
G_B23_1 = G_B22_1;
G_B23_2 = G_B22_2;
G_B23_3 = G_B22_3;
G_B23_4 = G_B22_4;
}
IL_0145:
{
NullCheck(G_B23_2);
ArrayElementTypeCheck (G_B23_2, G_B23_0);
(G_B23_2)->SetAt(static_cast<il2cpp_array_size_t>(G_B23_1), (String_t*)G_B23_0);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_71 = G_B23_3;
NullCheck(L_71);
ArrayElementTypeCheck (L_71, _stringLiteralF3E84B722399601AD7E281754E917478AA9AD48D);
(L_71)->SetAt(static_cast<il2cpp_array_size_t>(2), (String_t*)_stringLiteralF3E84B722399601AD7E281754E917478AA9AD48D);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_72 = L_71;
String_t* L_73 = ___methodName0;
NullCheck(L_72);
ArrayElementTypeCheck (L_72, L_73);
(L_72)->SetAt(static_cast<il2cpp_array_size_t>(3), (String_t*)L_73);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_74 = L_72;
NullCheck(L_74);
ArrayElementTypeCheck (L_74, _stringLiteralA3DFC0C77ACADE0EE48DCC73E795A597D0270A73);
(L_74)->SetAt(static_cast<il2cpp_array_size_t>(4), (String_t*)_stringLiteralA3DFC0C77ACADE0EE48DCC73E795A597D0270A73);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_75 = L_74;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_76 = V_3;
String_t* L_77;
L_77 = String_Join_m8846EB11F0A221BDE237DE041D17764B36065404(_stringLiteralC18C9BB6DF0D5C60CE5A5D2D3D6111BEB6F8CCEB, L_76, /*hidden argument*/NULL);
NullCheck(L_75);
ArrayElementTypeCheck (L_75, L_77);
(L_75)->SetAt(static_cast<il2cpp_array_size_t>(5), (String_t*)L_77);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_78 = L_75;
NullCheck(L_78);
ArrayElementTypeCheck (L_78, _stringLiteralB3F14BF976EFD974E34846B742502C802FABAE9D);
(L_78)->SetAt(static_cast<il2cpp_array_size_t>(6), (String_t*)_stringLiteralB3F14BF976EFD974E34846B742502C802FABAE9D);
String_t* L_79;
L_79 = String_Concat_mFEA7EFA1A6E75B96B1B7BC4526AAC864BFF83CC9(L_78, /*hidden argument*/NULL);
Exception_t * L_80 = (Exception_t *)il2cpp_codegen_object_new(Exception_t_il2cpp_TypeInfo_var);
Exception__ctor_m8ECDE8ACA7F2E0EF1144BD1200FB5DB2870B5F11(L_80, L_79, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var);
AndroidReflection_SetNativeExceptionOnProxy_m3156C711782C12CDE0E994C37630F762C0FE0808((intptr_t)G_B23_4, L_80, (bool)1, /*hidden argument*/NULL);
V_8 = (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *)NULL;
goto IL_0186;
}
IL_0186:
{
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_81 = V_8;
return L_81;
}
}
// UnityEngine.AndroidJavaObject UnityEngine.AndroidJavaProxy::Invoke(System.String,UnityEngine.AndroidJavaObject[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * AndroidJavaProxy_Invoke_m7DD1AD609B664D23BB571F86B0EFCA65DBEF0561 (AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF * __this, String_t* ___methodName0, AndroidJavaObjectU5BU5D_tEE28563C9013906CEB39794019A55F4BA5B06120* ___javaArgs1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* V_0 = NULL;
int32_t V_1 = 0;
bool V_2 = false;
bool V_3 = false;
bool V_4 = false;
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * V_5 = NULL;
{
AndroidJavaObjectU5BU5D_tEE28563C9013906CEB39794019A55F4BA5B06120* L_0 = ___javaArgs1;
NullCheck(L_0);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_1 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length))));
V_0 = L_1;
V_1 = 0;
goto IL_0046;
}
IL_000e:
{
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_2 = V_0;
int32_t L_3 = V_1;
AndroidJavaObjectU5BU5D_tEE28563C9013906CEB39794019A55F4BA5B06120* L_4 = ___javaArgs1;
int32_t L_5 = V_1;
NullCheck(L_4);
int32_t L_6 = L_5;
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
RuntimeObject * L_8;
L_8 = _AndroidJNIHelper_Unbox_mE00F4AED2AAAACF5C617820A41A4F28F1D501708(L_7, /*hidden argument*/NULL);
NullCheck(L_2);
ArrayElementTypeCheck (L_2, L_8);
(L_2)->SetAt(static_cast<il2cpp_array_size_t>(L_3), (RuntimeObject *)L_8);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_9 = V_0;
int32_t L_10 = V_1;
NullCheck(L_9);
int32_t L_11 = L_10;
RuntimeObject * L_12 = (L_9)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
V_2 = (bool)((((int32_t)((!(((RuntimeObject*)(AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *)((AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *)IsInstClass((RuntimeObject*)L_12, AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var))) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_13 = V_2;
if (!L_13)
{
goto IL_0041;
}
}
{
AndroidJavaObjectU5BU5D_tEE28563C9013906CEB39794019A55F4BA5B06120* L_14 = ___javaArgs1;
int32_t L_15 = V_1;
NullCheck(L_14);
int32_t L_16 = L_15;
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_17 = (L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_16));
V_3 = (bool)((!(((RuntimeObject*)(AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *)L_17) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_18 = V_3;
if (!L_18)
{
goto IL_0040;
}
}
{
AndroidJavaObjectU5BU5D_tEE28563C9013906CEB39794019A55F4BA5B06120* L_19 = ___javaArgs1;
int32_t L_20 = V_1;
NullCheck(L_19);
int32_t L_21 = L_20;
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_22 = (L_19)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
NullCheck(L_22);
AndroidJavaObject_Dispose_mFF9FA58B47A7FC0C083E034B364EAAE2E7282C45(L_22, /*hidden argument*/NULL);
}
IL_0040:
{
}
IL_0041:
{
int32_t L_23 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_23, (int32_t)1));
}
IL_0046:
{
int32_t L_24 = V_1;
AndroidJavaObjectU5BU5D_tEE28563C9013906CEB39794019A55F4BA5B06120* L_25 = ___javaArgs1;
NullCheck(L_25);
V_4 = (bool)((((int32_t)L_24) < ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_25)->max_length)))))? 1 : 0);
bool L_26 = V_4;
if (L_26)
{
goto IL_000e;
}
}
{
String_t* L_27 = ___methodName0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_28 = V_0;
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_29;
L_29 = VirtFuncInvoker2< AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *, String_t*, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* >::Invoke(4 /* UnityEngine.AndroidJavaObject UnityEngine.AndroidJavaProxy::Invoke(System.String,System.Object[]) */, __this, L_27, L_28);
V_5 = L_29;
goto IL_005e;
}
IL_005e:
{
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_30 = V_5;
return L_30;
}
}
// UnityEngine.AndroidJavaObject UnityEngine.AndroidJavaProxy::GetProxyObject()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * AndroidJavaProxy_GetProxyObject_mEDC1D96AAE0A4FC2B4E57E1FC3AE5C47C27FDC6A (AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * V_0 = NULL;
{
intptr_t L_0;
L_0 = AndroidJavaProxy_GetRawProxy_m125686B87104A00FD20DEB87F24074A3AD68D354(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var);
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_1;
L_1 = AndroidJavaObject_AndroidJavaObjectDeleteLocalRef_mB977696EA6F6BB6369A8F783EFB5D99C445C11FD((intptr_t)L_0, /*hidden argument*/NULL);
V_0 = L_1;
goto IL_000f;
}
IL_000f:
{
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_2 = V_0;
return L_2;
}
}
// System.IntPtr UnityEngine.AndroidJavaProxy::GetRawProxy()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidJavaProxy_GetRawProxy_m125686B87104A00FD20DEB87F24074A3AD68D354 (AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IntPtr_t_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
bool V_1 = false;
bool V_2 = false;
bool V_3 = false;
intptr_t V_4;
memset((&V_4), 0, sizeof(V_4));
{
V_0 = (intptr_t)(0);
intptr_t L_0 = __this->get_proxyObject_1();
bool L_1;
L_1 = IntPtr_op_Inequality_m212AF0E66AA81FEDC982B1C8A44ADDA24B995EB8((intptr_t)L_0, (intptr_t)(0), /*hidden argument*/NULL);
V_1 = L_1;
bool L_2 = V_1;
if (!L_2)
{
goto IL_0051;
}
}
{
intptr_t L_3 = __this->get_proxyObject_1();
intptr_t L_4;
L_4 = AndroidJNI_NewLocalRef_m9309F714C7C9C3C47EA48218FB6B0BE810E42EAE((intptr_t)L_3, /*hidden argument*/NULL);
V_0 = (intptr_t)L_4;
intptr_t L_5 = V_0;
bool L_6;
L_6 = IntPtr_op_Equality_mD94F3FE43A65684EFF984A7B95E70D2520C0AC73((intptr_t)L_5, (intptr_t)(0), /*hidden argument*/NULL);
V_2 = L_6;
bool L_7 = V_2;
if (!L_7)
{
goto IL_0050;
}
}
{
intptr_t L_8 = __this->get_proxyObject_1();
AndroidJNI_DeleteWeakGlobalRef_m972079D94C174FA5F427AC16C92B2B3179175F46((intptr_t)L_8, /*hidden argument*/NULL);
__this->set_proxyObject_1((intptr_t)(0));
}
IL_0050:
{
}
IL_0051:
{
intptr_t L_9 = V_0;
bool L_10;
L_10 = IntPtr_op_Equality_mD94F3FE43A65684EFF984A7B95E70D2520C0AC73((intptr_t)L_9, (intptr_t)(0), /*hidden argument*/NULL);
V_3 = L_10;
bool L_11 = V_3;
if (!L_11)
{
goto IL_0075;
}
}
{
intptr_t L_12;
L_12 = AndroidJNIHelper_CreateJavaProxy_mF3E9256AF65CC078B82DD0E1DC65306AA79DBBEC(__this, /*hidden argument*/NULL);
V_0 = (intptr_t)L_12;
intptr_t L_13 = V_0;
intptr_t L_14;
L_14 = AndroidJNI_NewWeakGlobalRef_mB62AFFE361315D8C045F6EF4D961C5501839E295((intptr_t)L_13, /*hidden argument*/NULL);
__this->set_proxyObject_1((intptr_t)L_14);
}
IL_0075:
{
intptr_t L_15 = V_0;
V_4 = (intptr_t)L_15;
goto IL_007a;
}
IL_007a:
{
intptr_t L_16 = V_4;
return (intptr_t)L_16;
}
}
// System.Void UnityEngine.AndroidJavaProxy::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJavaProxy__cctor_mB21449F424E38624821E1F87653DA4810F2809D7 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral27F2FC8F8A0DFFAC96353D8AC1CDD811C4A7644B);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA7BDDC7501EECF3151484AEBEF8627D03E365077);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralAFC4A16FF7AEE06FF380F93BBF26ACF1014CFB82);
s_Il2CppMethodInitialized = true;
}
{
intptr_t L_0;
L_0 = AndroidJNISafe_FindClass_mD96E72414A78F50B07019D26B87A93799D85BB0A(_stringLiteralA7BDDC7501EECF3151484AEBEF8627D03E365077, /*hidden argument*/NULL);
GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * L_1 = (GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 *)il2cpp_codegen_object_new(GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289_il2cpp_TypeInfo_var);
GlobalJavaObjectRef__ctor_mC4872ABD6EDA3531D1012C2FB7B73EE2B1652C5D(L_1, (intptr_t)L_0, /*hidden argument*/NULL);
((AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF_StaticFields*)il2cpp_codegen_static_fields_for(AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF_il2cpp_TypeInfo_var))->set_s_JavaLangSystemClass_2(L_1);
GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * L_2 = ((AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF_StaticFields*)il2cpp_codegen_static_fields_for(AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF_il2cpp_TypeInfo_var))->get_s_JavaLangSystemClass_2();
intptr_t L_3;
L_3 = GlobalJavaObjectRef_op_Implicit_m7A992ACF399BAD3EFC96D88CE00B235D8B669B33(L_2, /*hidden argument*/NULL);
intptr_t L_4;
L_4 = AndroidJNIHelper_GetMethodID_m2B5E7C9B05905F6C6B60A735B8A6E97BBA468535((intptr_t)L_3, _stringLiteral27F2FC8F8A0DFFAC96353D8AC1CDD811C4A7644B, _stringLiteralAFC4A16FF7AEE06FF380F93BBF26ACF1014CFB82, (bool)1, /*hidden argument*/NULL);
((AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF_StaticFields*)il2cpp_codegen_static_fields_for(AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF_il2cpp_TypeInfo_var))->set_s_HashCodeMethodID_3((intptr_t)L_4);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
IL2CPP_EXTERN_C void DelegatePInvokeWrapper_AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60 (AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60 * __this, const RuntimeMethod* method)
{
typedef void (DEFAULT_CALL *PInvokeFunc)();
PInvokeFunc il2cppPInvokeFunc = reinterpret_cast<PInvokeFunc>(((RuntimeDelegate*)__this)->method->nativeFunction);
// Native function invocation
il2cppPInvokeFunc();
}
// System.Void UnityEngine.AndroidJavaRunnable::.ctor(System.Object,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJavaRunnable__ctor_m385F79E7C422595C3F8504D588807799A7CF4727 (AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
{
__this->set_method_ptr_0(il2cpp_codegen_get_method_pointer((RuntimeMethod*)___method1));
__this->set_method_3(___method1);
__this->set_m_target_2(___object0);
}
// System.Void UnityEngine.AndroidJavaRunnable::Invoke()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJavaRunnable_Invoke_m014FD2895FDB86ADBD97D9CEC201592673D9593B (AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60 * __this, const RuntimeMethod* method)
{
DelegateU5BU5D_t677D8FE08A5F99E8EE49150B73966CD6E9BF7DB8* delegateArrayToInvoke = __this->get_delegates_11();
Delegate_t** delegatesToInvoke;
il2cpp_array_size_t length;
if (delegateArrayToInvoke != NULL)
{
length = delegateArrayToInvoke->max_length;
delegatesToInvoke = reinterpret_cast<Delegate_t**>(delegateArrayToInvoke->GetAddressAtUnchecked(0));
}
else
{
length = 1;
delegatesToInvoke = reinterpret_cast<Delegate_t**>(&__this);
}
for (il2cpp_array_size_t i = 0; i < length; i++)
{
Delegate_t* currentDelegate = delegatesToInvoke[i];
Il2CppMethodPointer targetMethodPointer = currentDelegate->get_method_ptr_0();
RuntimeObject* targetThis = currentDelegate->get_m_target_2();
RuntimeMethod* targetMethod = (RuntimeMethod*)(currentDelegate->get_method_3());
if (!il2cpp_codegen_method_is_virtual(targetMethod))
{
il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod);
}
bool ___methodIsStatic = MethodIsStatic(targetMethod);
int ___parameterCount = il2cpp_codegen_method_parameter_count(targetMethod);
if (___methodIsStatic)
{
if (___parameterCount == 0)
{
// open
typedef void (*FunctionPointerType) (const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(targetMethod);
}
else
{
// closed
typedef void (*FunctionPointerType) (void*, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(targetThis, targetMethod);
}
}
else
{
// closed
if (targetThis != NULL && il2cpp_codegen_method_is_virtual(targetMethod) && !il2cpp_codegen_object_is_of_sealed_type(targetThis) && il2cpp_codegen_delegate_has_invoker((Il2CppDelegate*)__this))
{
if (il2cpp_codegen_method_is_generic_instance(targetMethod))
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
GenericInterfaceActionInvoker0::Invoke(targetMethod, targetThis);
else
GenericVirtActionInvoker0::Invoke(targetMethod, targetThis);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
InterfaceActionInvoker0::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis);
else
VirtActionInvoker0::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis);
}
}
else
{
typedef void (*FunctionPointerType) (void*, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(targetThis, targetMethod);
}
}
}
}
// System.IAsyncResult UnityEngine.AndroidJavaRunnable::BeginInvoke(System.AsyncCallback,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* AndroidJavaRunnable_BeginInvoke_mC5CE46E7743D650AFC705153AEACED181B1FC15C (AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60 * __this, AsyncCallback_tA7921BEF974919C46FF8F9D9867C567B200BB0EA * ___callback0, RuntimeObject * ___object1, const RuntimeMethod* method)
{
void *__d_args[1] = {0};
return (RuntimeObject*)il2cpp_codegen_delegate_begin_invoke((RuntimeDelegate*)__this, __d_args, (RuntimeDelegate*)___callback0, (RuntimeObject*)___object1);;
}
// System.Void UnityEngine.AndroidJavaRunnable::EndInvoke(System.IAsyncResult)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJavaRunnable_EndInvoke_m5ED563F2A458EB2F5A614815B85EF79ACB60BFAF (AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60 * __this, RuntimeObject* ___result0, const RuntimeMethod* method)
{
il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void UnityEngine.AndroidJavaRunnableProxy::.ctor(UnityEngine.AndroidJavaRunnable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidJavaRunnableProxy__ctor_mDF1B01EBE4C312B67A43B452B440303855973A89 (AndroidJavaRunnableProxy_t17D14B64AF448BEC13E64E394A2626B261ED3BEB * __this, AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60 * ___runnable0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral22225741051C0DE6E1B24FA555DFA8109FC5CA2B);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF_il2cpp_TypeInfo_var);
AndroidJavaProxy__ctor_m1E8F4C0D87B74B81C64A54A584B2FF4ECE571238(__this, _stringLiteral22225741051C0DE6E1B24FA555DFA8109FC5CA2B, /*hidden argument*/NULL);
AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60 * L_0 = ___runnable0;
__this->set_mRunnable_4(L_0);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Boolean UnityEngine.AndroidReflection::IsPrimitive(System.Type)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool AndroidReflection_IsPrimitive_mDD6A4050793DF2FA1EDF58010982C64A3F17376D (Type_t * ___t0, const RuntimeMethod* method)
{
bool V_0 = false;
{
Type_t * L_0 = ___t0;
NullCheck(L_0);
bool L_1;
L_1 = Type_get_IsPrimitive_m43E50D507C45CE3BD51C0DC07C8AB061AFD6B3C3(L_0, /*hidden argument*/NULL);
V_0 = L_1;
goto IL_000a;
}
IL_000a:
{
bool L_2 = V_0;
return L_2;
}
}
// System.Boolean UnityEngine.AndroidReflection::IsAssignableFrom(System.Type,System.Type)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool AndroidReflection_IsAssignableFrom_m7B46715954FFFBDFA63B681FAF87AEB2ECF0E47C (Type_t * ___t0, Type_t * ___from1, const RuntimeMethod* method)
{
bool V_0 = false;
{
Type_t * L_0 = ___t0;
Type_t * L_1 = ___from1;
NullCheck(L_0);
bool L_2;
L_2 = VirtFuncInvoker1< bool, Type_t * >::Invoke(107 /* System.Boolean System.Type::IsAssignableFrom(System.Type) */, L_0, L_1);
V_0 = L_2;
goto IL_000b;
}
IL_000b:
{
bool L_3 = V_0;
return L_3;
}
}
// System.IntPtr UnityEngine.AndroidReflection::GetStaticMethodID(System.String,System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidReflection_GetStaticMethodID_m36025A22F483A7C1D53BFAA0505DC59A7B503EA1 (String_t* ___clazz0, String_t* ___methodName1, String_t* ___signature2, const RuntimeMethod* method)
{
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
intptr_t V_1;
memset((&V_1), 0, sizeof(V_1));
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
String_t* L_0 = ___clazz0;
intptr_t L_1;
L_1 = AndroidJNISafe_FindClass_mD96E72414A78F50B07019D26B87A93799D85BB0A(L_0, /*hidden argument*/NULL);
V_0 = (intptr_t)L_1;
}
IL_0008:
try
{ // begin try (depth: 1)
intptr_t L_2 = V_0;
String_t* L_3 = ___methodName1;
String_t* L_4 = ___signature2;
intptr_t L_5;
L_5 = AndroidJNISafe_GetStaticMethodID_m883F40A297071B64F8DE3572FDBB8B9834EF1163((intptr_t)L_2, L_3, L_4, /*hidden argument*/NULL);
V_1 = (intptr_t)L_5;
IL2CPP_LEAVE(0x1E, FINALLY_0014);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0014;
}
FINALLY_0014:
{ // begin finally (depth: 1)
intptr_t L_6 = V_0;
AndroidJNISafe_DeleteLocalRef_m7AB242A76D13A3BF4C04831D77960C020D6ADA39((intptr_t)L_6, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(20)
} // end finally (depth: 1)
IL2CPP_CLEANUP(20)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x1E, IL_001e)
}
IL_001e:
{
intptr_t L_7 = V_1;
return (intptr_t)L_7;
}
}
// System.IntPtr UnityEngine.AndroidReflection::GetMethodID(System.String,System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidReflection_GetMethodID_m99B37E6A752683D8F77DA7319D9956E03BAC322E (String_t* ___clazz0, String_t* ___methodName1, String_t* ___signature2, const RuntimeMethod* method)
{
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
intptr_t V_1;
memset((&V_1), 0, sizeof(V_1));
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
String_t* L_0 = ___clazz0;
intptr_t L_1;
L_1 = AndroidJNISafe_FindClass_mD96E72414A78F50B07019D26B87A93799D85BB0A(L_0, /*hidden argument*/NULL);
V_0 = (intptr_t)L_1;
}
IL_0008:
try
{ // begin try (depth: 1)
intptr_t L_2 = V_0;
String_t* L_3 = ___methodName1;
String_t* L_4 = ___signature2;
intptr_t L_5;
L_5 = AndroidJNISafe_GetMethodID_mB6545767927E1F859540D99EBD39E464811E5F8F((intptr_t)L_2, L_3, L_4, /*hidden argument*/NULL);
V_1 = (intptr_t)L_5;
IL2CPP_LEAVE(0x1E, FINALLY_0014);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0014;
}
FINALLY_0014:
{ // begin finally (depth: 1)
intptr_t L_6 = V_0;
AndroidJNISafe_DeleteLocalRef_m7AB242A76D13A3BF4C04831D77960C020D6ADA39((intptr_t)L_6, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(20)
} // end finally (depth: 1)
IL2CPP_CLEANUP(20)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x1E, IL_001e)
}
IL_001e:
{
intptr_t L_7 = V_1;
return (intptr_t)L_7;
}
}
// System.IntPtr UnityEngine.AndroidReflection::GetConstructorMember(System.IntPtr,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidReflection_GetConstructorMember_m4E88C8F6F83DB80D3313835CE760D8E7DC533C02 (intptr_t ___jclass0, String_t* ___signature1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* V_0 = NULL;
intptr_t V_1;
memset((&V_1), 0, sizeof(V_1));
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_0 = (jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99*)(jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99*)SZArrayNew(jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99_il2cpp_TypeInfo_var, (uint32_t)2);
V_0 = L_0;
}
IL_0008:
try
{ // begin try (depth: 1)
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_1 = V_0;
NullCheck(L_1);
intptr_t L_2 = ___jclass0;
((L_1)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->set_l_8((intptr_t)L_2);
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_3 = V_0;
NullCheck(L_3);
String_t* L_4 = ___signature1;
intptr_t L_5;
L_5 = AndroidJNISafe_NewString_m5F5B2B700BDE2D0D1D105687D4ACC9567CEE7A23(L_4, /*hidden argument*/NULL);
((L_3)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->set_l_8((intptr_t)L_5);
IL2CPP_RUNTIME_CLASS_INIT(AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var);
GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * L_6 = ((AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_StaticFields*)il2cpp_codegen_static_fields_for(AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var))->get_s_ReflectionHelperClass_0();
intptr_t L_7;
L_7 = GlobalJavaObjectRef_op_Implicit_m7A992ACF399BAD3EFC96D88CE00B235D8B669B33(L_6, /*hidden argument*/NULL);
intptr_t L_8 = ((AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_StaticFields*)il2cpp_codegen_static_fields_for(AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var))->get_s_ReflectionHelperGetConstructorID_1();
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_9 = V_0;
intptr_t L_10;
L_10 = AndroidJNISafe_CallStaticObjectMethod_mE83D4A0C1BF62925F8B9D4B49040A90CBA1B8860((intptr_t)L_7, (intptr_t)L_8, L_9, /*hidden argument*/NULL);
V_1 = (intptr_t)L_10;
IL2CPP_LEAVE(0x55, FINALLY_0040);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0040;
}
FINALLY_0040:
{ // begin finally (depth: 1)
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_11 = V_0;
NullCheck(L_11);
intptr_t L_12 = ((L_11)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->get_l_8();
AndroidJNISafe_DeleteLocalRef_m7AB242A76D13A3BF4C04831D77960C020D6ADA39((intptr_t)L_12, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(64)
} // end finally (depth: 1)
IL2CPP_CLEANUP(64)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x55, IL_0055)
}
IL_0055:
{
intptr_t L_13 = V_1;
return (intptr_t)L_13;
}
}
// System.IntPtr UnityEngine.AndroidReflection::GetMethodMember(System.IntPtr,System.String,System.String,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidReflection_GetMethodMember_m2959FEB7888CE8740DE1CF88C0CCB8A72F9F017B (intptr_t ___jclass0, String_t* ___methodName1, String_t* ___signature2, bool ___isStatic3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* V_0 = NULL;
intptr_t V_1;
memset((&V_1), 0, sizeof(V_1));
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_0 = (jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99*)(jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99*)SZArrayNew(jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99_il2cpp_TypeInfo_var, (uint32_t)4);
V_0 = L_0;
}
IL_0008:
try
{ // begin try (depth: 1)
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_1 = V_0;
NullCheck(L_1);
intptr_t L_2 = ___jclass0;
((L_1)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->set_l_8((intptr_t)L_2);
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_3 = V_0;
NullCheck(L_3);
String_t* L_4 = ___methodName1;
intptr_t L_5;
L_5 = AndroidJNISafe_NewString_m5F5B2B700BDE2D0D1D105687D4ACC9567CEE7A23(L_4, /*hidden argument*/NULL);
((L_3)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->set_l_8((intptr_t)L_5);
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_6 = V_0;
NullCheck(L_6);
String_t* L_7 = ___signature2;
intptr_t L_8;
L_8 = AndroidJNISafe_NewString_m5F5B2B700BDE2D0D1D105687D4ACC9567CEE7A23(L_7, /*hidden argument*/NULL);
((L_6)->GetAddressAt(static_cast<il2cpp_array_size_t>(2)))->set_l_8((intptr_t)L_8);
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_9 = V_0;
NullCheck(L_9);
bool L_10 = ___isStatic3;
((L_9)->GetAddressAt(static_cast<il2cpp_array_size_t>(3)))->set_z_0(L_10);
IL2CPP_RUNTIME_CLASS_INIT(AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var);
GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * L_11 = ((AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_StaticFields*)il2cpp_codegen_static_fields_for(AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var))->get_s_ReflectionHelperClass_0();
intptr_t L_12;
L_12 = GlobalJavaObjectRef_op_Implicit_m7A992ACF399BAD3EFC96D88CE00B235D8B669B33(L_11, /*hidden argument*/NULL);
intptr_t L_13 = ((AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_StaticFields*)il2cpp_codegen_static_fields_for(AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var))->get_s_ReflectionHelperGetMethodID_2();
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_14 = V_0;
intptr_t L_15;
L_15 = AndroidJNISafe_CallStaticObjectMethod_mE83D4A0C1BF62925F8B9D4B49040A90CBA1B8860((intptr_t)L_12, (intptr_t)L_13, L_14, /*hidden argument*/NULL);
V_1 = (intptr_t)L_15;
IL2CPP_LEAVE(0x86, FINALLY_005f);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_005f;
}
FINALLY_005f:
{ // begin finally (depth: 1)
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_16 = V_0;
NullCheck(L_16);
intptr_t L_17 = ((L_16)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->get_l_8();
AndroidJNISafe_DeleteLocalRef_m7AB242A76D13A3BF4C04831D77960C020D6ADA39((intptr_t)L_17, /*hidden argument*/NULL);
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_18 = V_0;
NullCheck(L_18);
intptr_t L_19 = ((L_18)->GetAddressAt(static_cast<il2cpp_array_size_t>(2)))->get_l_8();
AndroidJNISafe_DeleteLocalRef_m7AB242A76D13A3BF4C04831D77960C020D6ADA39((intptr_t)L_19, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(95)
} // end finally (depth: 1)
IL2CPP_CLEANUP(95)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x86, IL_0086)
}
IL_0086:
{
intptr_t L_20 = V_1;
return (intptr_t)L_20;
}
}
// System.IntPtr UnityEngine.AndroidReflection::NewProxyInstance(System.IntPtr,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t AndroidReflection_NewProxyInstance_m53695E04979F0C45768004C5CC36A95A684C847C (intptr_t ___delegateHandle0, intptr_t ___interfaze1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* V_0 = NULL;
intptr_t V_1;
memset((&V_1), 0, sizeof(V_1));
{
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_0 = (jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99*)(jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99*)SZArrayNew(jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99_il2cpp_TypeInfo_var, (uint32_t)2);
V_0 = L_0;
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_1 = V_0;
NullCheck(L_1);
int64_t L_2;
L_2 = IntPtr_ToInt64_m521F809F5D9ECAF93E808CFFFE45F67620C7879A((intptr_t*)(&___delegateHandle0), /*hidden argument*/NULL);
((L_1)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->set_j_5(L_2);
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_3 = V_0;
NullCheck(L_3);
intptr_t L_4 = ___interfaze1;
((L_3)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->set_l_8((intptr_t)L_4);
IL2CPP_RUNTIME_CLASS_INIT(AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var);
GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * L_5 = ((AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_StaticFields*)il2cpp_codegen_static_fields_for(AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var))->get_s_ReflectionHelperClass_0();
intptr_t L_6;
L_6 = GlobalJavaObjectRef_op_Implicit_m7A992ACF399BAD3EFC96D88CE00B235D8B669B33(L_5, /*hidden argument*/NULL);
intptr_t L_7 = ((AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_StaticFields*)il2cpp_codegen_static_fields_for(AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var))->get_s_ReflectionHelperNewProxyInstance_5();
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_8 = V_0;
intptr_t L_9;
L_9 = AndroidJNISafe_CallStaticObjectMethod_mE83D4A0C1BF62925F8B9D4B49040A90CBA1B8860((intptr_t)L_6, (intptr_t)L_7, L_8, /*hidden argument*/NULL);
V_1 = (intptr_t)L_9;
goto IL_0040;
}
IL_0040:
{
intptr_t L_10 = V_1;
return (intptr_t)L_10;
}
}
// System.Void UnityEngine.AndroidReflection::SetNativeExceptionOnProxy(System.IntPtr,System.Exception,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidReflection_SetNativeExceptionOnProxy_m3156C711782C12CDE0E994C37630F762C0FE0808 (intptr_t ___proxy0, Exception_t * ___e1, bool ___methodNotFound2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* V_0 = NULL;
intptr_t V_1;
memset((&V_1), 0, sizeof(V_1));
{
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_0 = (jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99*)(jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99*)SZArrayNew(jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99_il2cpp_TypeInfo_var, (uint32_t)3);
V_0 = L_0;
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_1 = V_0;
NullCheck(L_1);
intptr_t L_2 = ___proxy0;
((L_1)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->set_l_8((intptr_t)L_2);
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_3 = V_0;
NullCheck(L_3);
Exception_t * L_4 = ___e1;
GCHandle_t757890BC4BBBEDE5A623A3C110013EDD24613603 L_5;
L_5 = GCHandle_Alloc_m937829FAD1C69F168CF045B9406228AC9F8B9389(L_4, /*hidden argument*/NULL);
intptr_t L_6;
L_6 = GCHandle_ToIntPtr_m017FBB27407865DD17A269CC03518EC518DE5AEA(L_5, /*hidden argument*/NULL);
V_1 = (intptr_t)L_6;
int64_t L_7;
L_7 = IntPtr_ToInt64_m521F809F5D9ECAF93E808CFFFE45F67620C7879A((intptr_t*)(&V_1), /*hidden argument*/NULL);
((L_3)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->set_j_5(L_7);
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_8 = V_0;
NullCheck(L_8);
bool L_9 = ___methodNotFound2;
((L_8)->GetAddressAt(static_cast<il2cpp_array_size_t>(2)))->set_z_0(L_9);
IL2CPP_RUNTIME_CLASS_INIT(AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var);
GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * L_10 = ((AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_StaticFields*)il2cpp_codegen_static_fields_for(AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var))->get_s_ReflectionHelperClass_0();
intptr_t L_11;
L_11 = GlobalJavaObjectRef_op_Implicit_m7A992ACF399BAD3EFC96D88CE00B235D8B669B33(L_10, /*hidden argument*/NULL);
intptr_t L_12 = ((AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_StaticFields*)il2cpp_codegen_static_fields_for(AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var))->get_s_ReflectionHelperSetNativeExceptionOnProxy_6();
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_13 = V_0;
AndroidJNISafe_CallStaticVoidMethod_m6D6C21C3489E19241A6856D7642CDC56752D7128((intptr_t)L_11, (intptr_t)L_12, L_13, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.AndroidReflection::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AndroidReflection__cctor_m2B0369515D9A19D15703B34BD174D7CA683F1546 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral29533AC1D363321ECFB96B50441B9418763D4176);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral42B0C97654CB0F536C2C643B8D4D9C2C7B8D71AF);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral721D70DB4B32A2AEDC1FCA8FD3B608ED50CE0156);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral7300AD57DB611A5D85FBD10E00B41B82F2DC677F);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral77E7609799DC0A299115C3AE174DEE8AEDDCBC05);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral95743D14EBFB666745B1AE894875A26AD08F3552);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral997CC228CD49CB51A21F3301055CBEE380042055);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA2267B1424757597EAEC3CB1B8269FF078CC487C);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralAD2FC71AE60261B73977F0195D3744E79CCC12B9);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB40004C0135CEF645A079B4A245A04F302EA80F2);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralBE3E2515DEF82B38D4ACFEBDC9D69E894CA05BBE);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralC963684A2BAB3B6684B4D82B4781E59FECC45904);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralCE42F595933CDB601C52327F32C83017C908C430);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE46DFB424F1D16B497976AB817F603BF3B170AF9);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralF0C6BCBD6A21B83CD30A85140E181D764C4E1198);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralFFF76791D0FE1272AD994E3611223AB6D219F5FC);
s_Il2CppMethodInitialized = true;
}
{
intptr_t L_0;
L_0 = AndroidJNISafe_FindClass_mD96E72414A78F50B07019D26B87A93799D85BB0A(_stringLiteralC963684A2BAB3B6684B4D82B4781E59FECC45904, /*hidden argument*/NULL);
GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * L_1 = (GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 *)il2cpp_codegen_object_new(GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289_il2cpp_TypeInfo_var);
GlobalJavaObjectRef__ctor_mC4872ABD6EDA3531D1012C2FB7B73EE2B1652C5D(L_1, (intptr_t)L_0, /*hidden argument*/NULL);
((AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_StaticFields*)il2cpp_codegen_static_fields_for(AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var))->set_s_ReflectionHelperClass_0(L_1);
intptr_t L_2;
L_2 = AndroidReflection_GetStaticMethodID_m36025A22F483A7C1D53BFAA0505DC59A7B503EA1(_stringLiteralC963684A2BAB3B6684B4D82B4781E59FECC45904, _stringLiteralF0C6BCBD6A21B83CD30A85140E181D764C4E1198, _stringLiteralB40004C0135CEF645A079B4A245A04F302EA80F2, /*hidden argument*/NULL);
((AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_StaticFields*)il2cpp_codegen_static_fields_for(AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var))->set_s_ReflectionHelperGetConstructorID_1((intptr_t)L_2);
intptr_t L_3;
L_3 = AndroidReflection_GetStaticMethodID_m36025A22F483A7C1D53BFAA0505DC59A7B503EA1(_stringLiteralC963684A2BAB3B6684B4D82B4781E59FECC45904, _stringLiteral95743D14EBFB666745B1AE894875A26AD08F3552, _stringLiteral721D70DB4B32A2AEDC1FCA8FD3B608ED50CE0156, /*hidden argument*/NULL);
((AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_StaticFields*)il2cpp_codegen_static_fields_for(AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var))->set_s_ReflectionHelperGetMethodID_2((intptr_t)L_3);
intptr_t L_4;
L_4 = AndroidReflection_GetStaticMethodID_m36025A22F483A7C1D53BFAA0505DC59A7B503EA1(_stringLiteralC963684A2BAB3B6684B4D82B4781E59FECC45904, _stringLiteral7300AD57DB611A5D85FBD10E00B41B82F2DC677F, _stringLiteralCE42F595933CDB601C52327F32C83017C908C430, /*hidden argument*/NULL);
((AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_StaticFields*)il2cpp_codegen_static_fields_for(AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var))->set_s_ReflectionHelperGetFieldID_3((intptr_t)L_4);
intptr_t L_5;
L_5 = AndroidReflection_GetStaticMethodID_m36025A22F483A7C1D53BFAA0505DC59A7B503EA1(_stringLiteralC963684A2BAB3B6684B4D82B4781E59FECC45904, _stringLiteral997CC228CD49CB51A21F3301055CBEE380042055, _stringLiteral42B0C97654CB0F536C2C643B8D4D9C2C7B8D71AF, /*hidden argument*/NULL);
((AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_StaticFields*)il2cpp_codegen_static_fields_for(AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var))->set_s_ReflectionHelperGetFieldSignature_4((intptr_t)L_5);
intptr_t L_6;
L_6 = AndroidReflection_GetStaticMethodID_m36025A22F483A7C1D53BFAA0505DC59A7B503EA1(_stringLiteralC963684A2BAB3B6684B4D82B4781E59FECC45904, _stringLiteral77E7609799DC0A299115C3AE174DEE8AEDDCBC05, _stringLiteralA2267B1424757597EAEC3CB1B8269FF078CC487C, /*hidden argument*/NULL);
((AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_StaticFields*)il2cpp_codegen_static_fields_for(AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var))->set_s_ReflectionHelperNewProxyInstance_5((intptr_t)L_6);
intptr_t L_7;
L_7 = AndroidReflection_GetStaticMethodID_m36025A22F483A7C1D53BFAA0505DC59A7B503EA1(_stringLiteralC963684A2BAB3B6684B4D82B4781E59FECC45904, _stringLiteralE46DFB424F1D16B497976AB817F603BF3B170AF9, _stringLiteralFFF76791D0FE1272AD994E3611223AB6D219F5FC, /*hidden argument*/NULL);
((AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_StaticFields*)il2cpp_codegen_static_fields_for(AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var))->set_s_ReflectionHelperSetNativeExceptionOnProxy_6((intptr_t)L_7);
intptr_t L_8;
L_8 = AndroidReflection_GetMethodID_m99B37E6A752683D8F77DA7319D9956E03BAC322E(_stringLiteralAD2FC71AE60261B73977F0195D3744E79CCC12B9, _stringLiteral29533AC1D363321ECFB96B50441B9418763D4176, _stringLiteralBE3E2515DEF82B38D4ACFEBDC9D69E894CA05BBE, /*hidden argument*/NULL);
((AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_StaticFields*)il2cpp_codegen_static_fields_for(AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var))->set_s_FieldGetDeclaringClass_7((intptr_t)L_8);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void UnityEngine.GlobalJavaObjectRef::.ctor(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GlobalJavaObjectRef__ctor_mC4872ABD6EDA3531D1012C2FB7B73EE2B1652C5D (GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * __this, intptr_t ___jobject0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IntPtr_t_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * G_B2_0 = NULL;
GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * G_B1_0 = NULL;
intptr_t G_B3_0;
memset((&G_B3_0), 0, sizeof(G_B3_0));
GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * G_B3_1 = NULL;
{
__this->set_m_disposed_0((bool)0);
Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
intptr_t L_0 = ___jobject0;
bool L_1;
L_1 = IntPtr_op_Equality_mD94F3FE43A65684EFF984A7B95E70D2520C0AC73((intptr_t)L_0, (intptr_t)(0), /*hidden argument*/NULL);
G_B1_0 = __this;
if (L_1)
{
G_B2_0 = __this;
goto IL_0025;
}
}
{
intptr_t L_2 = ___jobject0;
intptr_t L_3;
L_3 = AndroidJNI_NewGlobalRef_m34740B5AECF82CE97986D6E67F5E1D8CBF7DB837((intptr_t)L_2, /*hidden argument*/NULL);
G_B3_0 = L_3;
G_B3_1 = G_B1_0;
goto IL_002a;
}
IL_0025:
{
G_B3_0 = (0);
G_B3_1 = G_B2_0;
}
IL_002a:
{
NullCheck(G_B3_1);
G_B3_1->set_m_jobject_1((intptr_t)G_B3_0);
return;
}
}
// System.Void UnityEngine.GlobalJavaObjectRef::Finalize()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GlobalJavaObjectRef_Finalize_m455E5786F72D4A0DBBA209EE67AE763130FBCE3A (GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * __this, const RuntimeMethod* method)
{
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
GlobalJavaObjectRef_Dispose_mDAF2DE01EBD608E63CB661954D0B50015D08FF28(__this, /*hidden argument*/NULL);
IL2CPP_LEAVE(0x13, FINALLY_000b);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000b;
}
FINALLY_000b:
{ // begin finally (depth: 1)
Object_Finalize_mC59C83CF4F7707E425FFA6362931C25D4C36676A(__this, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(11)
} // end finally (depth: 1)
IL2CPP_CLEANUP(11)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x13, IL_0013)
}
IL_0013:
{
return;
}
}
// System.IntPtr UnityEngine.GlobalJavaObjectRef::op_Implicit(UnityEngine.GlobalJavaObjectRef)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t GlobalJavaObjectRef_op_Implicit_m7A992ACF399BAD3EFC96D88CE00B235D8B669B33 (GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * ___obj0, const RuntimeMethod* method)
{
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
{
GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * L_0 = ___obj0;
NullCheck(L_0);
intptr_t L_1 = L_0->get_m_jobject_1();
V_0 = (intptr_t)L_1;
goto IL_000a;
}
IL_000a:
{
intptr_t L_2 = V_0;
return (intptr_t)L_2;
}
}
// System.Void UnityEngine.GlobalJavaObjectRef::Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GlobalJavaObjectRef_Dispose_mDAF2DE01EBD608E63CB661954D0B50015D08FF28 (GlobalJavaObjectRef_t04A7D04EB0317C286F089E4DB4444EC4F2D78289 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IntPtr_t_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
bool V_1 = false;
{
bool L_0 = __this->get_m_disposed_0();
V_0 = L_0;
bool L_1 = V_0;
if (!L_1)
{
goto IL_000d;
}
}
{
goto IL_0036;
}
IL_000d:
{
__this->set_m_disposed_0((bool)1);
intptr_t L_2 = __this->get_m_jobject_1();
bool L_3;
L_3 = IntPtr_op_Inequality_m212AF0E66AA81FEDC982B1C8A44ADDA24B995EB8((intptr_t)L_2, (intptr_t)(0), /*hidden argument*/NULL);
V_1 = L_3;
bool L_4 = V_1;
if (!L_4)
{
goto IL_0036;
}
}
{
intptr_t L_5 = __this->get_m_jobject_1();
AndroidJNISafe_DeleteGlobalRef_m7651FA0BAEE0F4D660393C5CC6914F21270B0288((intptr_t)L_5, /*hidden argument*/NULL);
}
IL_0036:
{
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.IntPtr UnityEngine._AndroidJNIHelper::CreateJavaProxy(System.IntPtr,UnityEngine.AndroidJavaProxy)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t _AndroidJNIHelper_CreateJavaProxy_mCE38F0AE360145E8ECD9B15364CF570EE1D57D5D (intptr_t ___delegateHandle0, AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF * ___proxy1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
{
intptr_t L_0 = ___delegateHandle0;
AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF * L_1 = ___proxy1;
NullCheck(L_1);
AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 * L_2 = L_1->get_javaInterface_0();
NullCheck(L_2);
intptr_t L_3;
L_3 = AndroidJavaObject_GetRawClass_m051337FD2D7C0E765641B192D86FF4A06257836B(L_2, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var);
intptr_t L_4;
L_4 = AndroidReflection_NewProxyInstance_m53695E04979F0C45768004C5CC36A95A684C847C((intptr_t)L_0, (intptr_t)L_3, /*hidden argument*/NULL);
V_0 = (intptr_t)L_4;
goto IL_0015;
}
IL_0015:
{
intptr_t L_5 = V_0;
return (intptr_t)L_5;
}
}
// System.IntPtr UnityEngine._AndroidJNIHelper::CreateJavaRunnable(UnityEngine.AndroidJavaRunnable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t _AndroidJNIHelper_CreateJavaRunnable_m9FEEC38F8F25D8A5E6DBD8329094C3C24D73EC52 (AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60 * ___jrunnable0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaRunnableProxy_t17D14B64AF448BEC13E64E394A2626B261ED3BEB_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
{
AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60 * L_0 = ___jrunnable0;
AndroidJavaRunnableProxy_t17D14B64AF448BEC13E64E394A2626B261ED3BEB * L_1 = (AndroidJavaRunnableProxy_t17D14B64AF448BEC13E64E394A2626B261ED3BEB *)il2cpp_codegen_object_new(AndroidJavaRunnableProxy_t17D14B64AF448BEC13E64E394A2626B261ED3BEB_il2cpp_TypeInfo_var);
AndroidJavaRunnableProxy__ctor_mDF1B01EBE4C312B67A43B452B440303855973A89(L_1, L_0, /*hidden argument*/NULL);
intptr_t L_2;
L_2 = AndroidJNIHelper_CreateJavaProxy_mF3E9256AF65CC078B82DD0E1DC65306AA79DBBEC(L_1, /*hidden argument*/NULL);
V_0 = (intptr_t)L_2;
goto IL_000f;
}
IL_000f:
{
intptr_t L_3 = V_0;
return (intptr_t)L_3;
}
}
// System.IntPtr UnityEngine._AndroidJNIHelper::InvokeJavaProxyMethod(UnityEngine.AndroidJavaProxy,System.IntPtr,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t _AndroidJNIHelper_InvokeJavaProxyMethod_mEDA5EBF45CEDDBB775BD601270633625DE31CC25 (AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF * ___proxy0, intptr_t ___jmethodName1, intptr_t ___jargs2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObjectU5BU5D_tEE28563C9013906CEB39794019A55F4BA5B06120_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDisposable_t099785737FC6A1E3699919A94109383715A8D807_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IntPtr_t_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
AndroidJavaObjectU5BU5D_tEE28563C9013906CEB39794019A55F4BA5B06120* V_1 = NULL;
bool V_2 = false;
int32_t V_3 = 0;
intptr_t V_4;
memset((&V_4), 0, sizeof(V_4));
bool V_5 = false;
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * V_6 = NULL;
bool V_7 = false;
intptr_t V_8;
memset((&V_8), 0, sizeof(V_8));
Exception_t * V_9 = NULL;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
il2cpp::utils::ExceptionSupportStack<int32_t, 3> __leave_targets;
int32_t G_B6_0 = 0;
AndroidJavaObjectU5BU5D_tEE28563C9013906CEB39794019A55F4BA5B06120* G_B6_1 = NULL;
int32_t G_B5_0 = 0;
AndroidJavaObjectU5BU5D_tEE28563C9013906CEB39794019A55F4BA5B06120* G_B5_1 = NULL;
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * G_B7_0 = NULL;
int32_t G_B7_1 = 0;
AndroidJavaObjectU5BU5D_tEE28563C9013906CEB39794019A55F4BA5B06120* G_B7_2 = NULL;
{
}
IL_0001:
try
{ // begin try (depth: 1)
{
V_0 = 0;
intptr_t L_0 = ___jargs2;
bool L_1;
L_1 = IntPtr_op_Inequality_m212AF0E66AA81FEDC982B1C8A44ADDA24B995EB8((intptr_t)L_0, (intptr_t)(0), /*hidden argument*/NULL);
V_2 = L_1;
bool L_2 = V_2;
if (!L_2)
{
goto IL_001c;
}
}
IL_0013:
{
intptr_t L_3 = ___jargs2;
int32_t L_4;
L_4 = AndroidJNISafe_GetArrayLength_m3015C191DBFC246946A88592731441A934507B56((intptr_t)L_3, /*hidden argument*/NULL);
V_0 = L_4;
}
IL_001c:
{
int32_t L_5 = V_0;
AndroidJavaObjectU5BU5D_tEE28563C9013906CEB39794019A55F4BA5B06120* L_6 = (AndroidJavaObjectU5BU5D_tEE28563C9013906CEB39794019A55F4BA5B06120*)(AndroidJavaObjectU5BU5D_tEE28563C9013906CEB39794019A55F4BA5B06120*)SZArrayNew(AndroidJavaObjectU5BU5D_tEE28563C9013906CEB39794019A55F4BA5B06120_il2cpp_TypeInfo_var, (uint32_t)L_5);
V_1 = L_6;
V_3 = 0;
goto IL_0051;
}
IL_0027:
{
intptr_t L_7 = ___jargs2;
int32_t L_8 = V_3;
intptr_t L_9;
L_9 = AndroidJNISafe_GetObjectArrayElement_m3219215297449FA1854927E80F1B74EF7413EF73((intptr_t)L_7, L_8, /*hidden argument*/NULL);
V_4 = (intptr_t)L_9;
AndroidJavaObjectU5BU5D_tEE28563C9013906CEB39794019A55F4BA5B06120* L_10 = V_1;
int32_t L_11 = V_3;
intptr_t L_12 = V_4;
bool L_13;
L_13 = IntPtr_op_Inequality_m212AF0E66AA81FEDC982B1C8A44ADDA24B995EB8((intptr_t)L_12, (intptr_t)(0), /*hidden argument*/NULL);
G_B5_0 = L_11;
G_B5_1 = L_10;
if (L_13)
{
G_B6_0 = L_11;
G_B6_1 = L_10;
goto IL_0044;
}
}
IL_0041:
{
G_B7_0 = ((AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *)(NULL));
G_B7_1 = G_B5_0;
G_B7_2 = G_B5_1;
goto IL_004b;
}
IL_0044:
{
intptr_t L_14 = V_4;
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_15 = (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *)il2cpp_codegen_object_new(AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var);
AndroidJavaObject__ctor_m880F6533139DF0BD36C6EF428E45E9F44B6534A3(L_15, (intptr_t)L_14, /*hidden argument*/NULL);
G_B7_0 = L_15;
G_B7_1 = G_B6_0;
G_B7_2 = G_B6_1;
}
IL_004b:
{
NullCheck(G_B7_2);
ArrayElementTypeCheck (G_B7_2, G_B7_0);
(G_B7_2)->SetAt(static_cast<il2cpp_array_size_t>(G_B7_1), (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *)G_B7_0);
int32_t L_16 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1));
}
IL_0051:
{
int32_t L_17 = V_3;
int32_t L_18 = V_0;
V_5 = (bool)((((int32_t)L_17) < ((int32_t)L_18))? 1 : 0);
bool L_19 = V_5;
if (L_19)
{
goto IL_0027;
}
}
IL_005b:
{
AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF * L_20 = ___proxy0;
intptr_t L_21 = ___jmethodName1;
String_t* L_22;
L_22 = AndroidJNI_GetStringChars_m95FBBCDB48D425FBDC19710D92C7D6D175041778((intptr_t)L_21, /*hidden argument*/NULL);
AndroidJavaObjectU5BU5D_tEE28563C9013906CEB39794019A55F4BA5B06120* L_23 = V_1;
NullCheck(L_20);
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_24;
L_24 = VirtFuncInvoker2< AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *, String_t*, AndroidJavaObjectU5BU5D_tEE28563C9013906CEB39794019A55F4BA5B06120* >::Invoke(5 /* UnityEngine.AndroidJavaObject UnityEngine.AndroidJavaProxy::Invoke(System.String,UnityEngine.AndroidJavaObject[]) */, L_20, L_22, L_23);
V_6 = L_24;
}
IL_006a:
try
{ // begin try (depth: 2)
{
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_25 = V_6;
V_7 = (bool)((((RuntimeObject*)(AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *)L_25) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_26 = V_7;
if (!L_26)
{
goto IL_007f;
}
}
IL_0076:
{
V_8 = (intptr_t)(0);
IL2CPP_LEAVE(0xB7, FINALLY_008f);
}
IL_007f:
{
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_27 = V_6;
NullCheck(L_27);
intptr_t L_28;
L_28 = AndroidJavaObject_GetRawObject_m09E30F9AF9DD2AE07D34CE3915BDA557E206271D(L_27, /*hidden argument*/NULL);
intptr_t L_29;
L_29 = AndroidJNI_NewLocalRef_m9309F714C7C9C3C47EA48218FB6B0BE810E42EAE((intptr_t)L_28, /*hidden argument*/NULL);
V_8 = (intptr_t)L_29;
IL2CPP_LEAVE(0xB7, FINALLY_008f);
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_008f;
}
FINALLY_008f:
{ // begin finally (depth: 2)
{
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_30 = V_6;
if (!L_30)
{
goto IL_009b;
}
}
IL_0093:
{
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_31 = V_6;
NullCheck(L_31);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t099785737FC6A1E3699919A94109383715A8D807_il2cpp_TypeInfo_var, L_31);
}
IL_009b:
{
IL2CPP_END_FINALLY(143)
}
} // end finally (depth: 2)
IL2CPP_CLEANUP(143)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0xB7, IL_00b7)
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
{
IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
goto CATCH_009c;
}
throw e;
}
CATCH_009c:
{ // begin catch(System.Exception)
V_9 = ((Exception_t *)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t *));
AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF * L_32 = ___proxy0;
NullCheck(L_32);
intptr_t L_33;
L_33 = AndroidJavaProxy_GetRawProxy_m125686B87104A00FD20DEB87F24074A3AD68D354(L_32, /*hidden argument*/NULL);
Exception_t * L_34 = V_9;
IL2CPP_RUNTIME_CLASS_INIT(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var)));
AndroidReflection_SetNativeExceptionOnProxy_m3156C711782C12CDE0E994C37630F762C0FE0808((intptr_t)L_33, L_34, (bool)0, /*hidden argument*/NULL);
V_8 = (intptr_t)(0);
IL2CPP_POP_ACTIVE_EXCEPTION();
goto IL_00b7;
} // end catch (depth: 1)
IL_00b7:
{
intptr_t L_35 = V_8;
return (intptr_t)L_35;
}
}
// UnityEngine.jvalue[] UnityEngine._AndroidJNIHelper::CreateJNIArgArray(System.Object[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* _AndroidJNIHelper_CreateJNIArgArray_m6CAC58535CA8F9F1A7A4458BA1BC855CB46609E2 (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Char_tFF60D8E7E89A20BE2294A003734341BD1DF43E14_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Double_t42821932CB52DE2057E685D0E1AF3DE5033D2181_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int16_tD0F031114106263BB459DA1F099FF9F42691295A_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int64_t378EE0D608BD3107E77238E85F30D2BBD46981F3_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IntPtr_t_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RuntimeArray_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SByte_t928712DD662DC29BA4FAAE8CE2230AFB23447F0B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Single_tE07797BA3C98D4CA9B5A19413C19A76688AB899E_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&String_t_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD956959ACBEB8436506C180DF3D8E268AAA4C614);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* V_0 = NULL;
int32_t V_1 = 0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* V_2 = NULL;
int32_t V_3 = 0;
RuntimeObject * V_4 = NULL;
bool V_5 = false;
bool V_6 = false;
bool V_7 = false;
bool V_8 = false;
bool V_9 = false;
bool V_10 = false;
bool V_11 = false;
bool V_12 = false;
bool V_13 = false;
bool V_14 = false;
bool V_15 = false;
bool V_16 = false;
bool V_17 = false;
bool V_18 = false;
bool V_19 = false;
bool V_20 = false;
bool V_21 = false;
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* V_22 = NULL;
Type_t * G_B37_0 = NULL;
String_t* G_B37_1 = NULL;
Type_t * G_B36_0 = NULL;
String_t* G_B36_1 = NULL;
String_t* G_B38_0 = NULL;
String_t* G_B38_1 = NULL;
{
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_0 = ___args0;
NullCheck((RuntimeArray *)(RuntimeArray *)L_0);
int32_t L_1;
L_1 = Array_GetLength_m8EF840DA7BEB0DFF04D36C3DC651B673C49A02BB((RuntimeArray *)(RuntimeArray *)L_0, 0, /*hidden argument*/NULL);
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_2 = (jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99*)(jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99*)SZArrayNew(jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99_il2cpp_TypeInfo_var, (uint32_t)L_1);
V_0 = L_2;
V_1 = 0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_3 = ___args0;
V_2 = L_3;
V_3 = 0;
goto IL_030b;
}
IL_001a:
{
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_4 = V_2;
int32_t L_5 = V_3;
NullCheck(L_4);
int32_t L_6 = L_5;
RuntimeObject * L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
V_4 = L_7;
RuntimeObject * L_8 = V_4;
V_5 = (bool)((((RuntimeObject*)(RuntimeObject *)L_8) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_9 = V_5;
if (!L_9)
{
goto IL_0041;
}
}
{
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_10 = V_0;
int32_t L_11 = V_1;
NullCheck(L_10);
((L_10)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_11)))->set_l_8((intptr_t)(0));
goto IL_0302;
}
IL_0041:
{
RuntimeObject * L_12 = V_4;
NullCheck(L_12);
Type_t * L_13;
L_13 = Object_GetType_m571FE8360C10B98C23AAF1F066D92C08CC94F45B(L_12, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var);
bool L_14;
L_14 = AndroidReflection_IsPrimitive_mDD6A4050793DF2FA1EDF58010982C64A3F17376D(L_13, /*hidden argument*/NULL);
V_6 = L_14;
bool L_15 = V_6;
if (!L_15)
{
goto IL_01c5;
}
}
{
RuntimeObject * L_16 = V_4;
V_7 = (bool)((!(((RuntimeObject*)(RuntimeObject *)((RuntimeObject *)IsInstSealed((RuntimeObject*)L_16, Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var))) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_17 = V_7;
if (!L_17)
{
goto IL_007f;
}
}
{
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_18 = V_0;
int32_t L_19 = V_1;
NullCheck(L_18);
RuntimeObject * L_20 = V_4;
((L_18)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_19)))->set_i_4(((*(int32_t*)((int32_t*)UnBox(L_20, Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var)))));
goto IL_01bf;
}
IL_007f:
{
RuntimeObject * L_21 = V_4;
V_8 = (bool)((!(((RuntimeObject*)(RuntimeObject *)((RuntimeObject *)IsInstSealed((RuntimeObject*)L_21, Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_il2cpp_TypeInfo_var))) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_22 = V_8;
if (!L_22)
{
goto IL_00a7;
}
}
{
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_23 = V_0;
int32_t L_24 = V_1;
NullCheck(L_23);
RuntimeObject * L_25 = V_4;
((L_23)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_24)))->set_z_0(((*(bool*)((bool*)UnBox(L_25, Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_il2cpp_TypeInfo_var)))));
goto IL_01bf;
}
IL_00a7:
{
RuntimeObject * L_26 = V_4;
V_9 = (bool)((!(((RuntimeObject*)(RuntimeObject *)((RuntimeObject *)IsInstSealed((RuntimeObject*)L_26, Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_il2cpp_TypeInfo_var))) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_27 = V_9;
if (!L_27)
{
goto IL_00dd;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
Debug_LogWarning_m24085D883C9E74D7AB423F0625E13259923960E7(_stringLiteralD956959ACBEB8436506C180DF3D8E268AAA4C614, /*hidden argument*/NULL);
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_28 = V_0;
int32_t L_29 = V_1;
NullCheck(L_28);
RuntimeObject * L_30 = V_4;
((L_28)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_29)))->set_b_1(((int8_t)((int8_t)((*(uint8_t*)((uint8_t*)UnBox(L_30, Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_il2cpp_TypeInfo_var)))))));
goto IL_01bf;
}
IL_00dd:
{
RuntimeObject * L_31 = V_4;
V_10 = (bool)((!(((RuntimeObject*)(RuntimeObject *)((RuntimeObject *)IsInstSealed((RuntimeObject*)L_31, SByte_t928712DD662DC29BA4FAAE8CE2230AFB23447F0B_il2cpp_TypeInfo_var))) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_32 = V_10;
if (!L_32)
{
goto IL_0105;
}
}
{
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_33 = V_0;
int32_t L_34 = V_1;
NullCheck(L_33);
RuntimeObject * L_35 = V_4;
((L_33)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_34)))->set_b_1(((*(int8_t*)((int8_t*)UnBox(L_35, SByte_t928712DD662DC29BA4FAAE8CE2230AFB23447F0B_il2cpp_TypeInfo_var)))));
goto IL_01bf;
}
IL_0105:
{
RuntimeObject * L_36 = V_4;
V_11 = (bool)((!(((RuntimeObject*)(RuntimeObject *)((RuntimeObject *)IsInstSealed((RuntimeObject*)L_36, Int16_tD0F031114106263BB459DA1F099FF9F42691295A_il2cpp_TypeInfo_var))) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_37 = V_11;
if (!L_37)
{
goto IL_012d;
}
}
{
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_38 = V_0;
int32_t L_39 = V_1;
NullCheck(L_38);
RuntimeObject * L_40 = V_4;
((L_38)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_39)))->set_s_3(((*(int16_t*)((int16_t*)UnBox(L_40, Int16_tD0F031114106263BB459DA1F099FF9F42691295A_il2cpp_TypeInfo_var)))));
goto IL_01bf;
}
IL_012d:
{
RuntimeObject * L_41 = V_4;
V_12 = (bool)((!(((RuntimeObject*)(RuntimeObject *)((RuntimeObject *)IsInstSealed((RuntimeObject*)L_41, Int64_t378EE0D608BD3107E77238E85F30D2BBD46981F3_il2cpp_TypeInfo_var))) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_42 = V_12;
if (!L_42)
{
goto IL_0152;
}
}
{
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_43 = V_0;
int32_t L_44 = V_1;
NullCheck(L_43);
RuntimeObject * L_45 = V_4;
((L_43)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_44)))->set_j_5(((*(int64_t*)((int64_t*)UnBox(L_45, Int64_t378EE0D608BD3107E77238E85F30D2BBD46981F3_il2cpp_TypeInfo_var)))));
goto IL_01bf;
}
IL_0152:
{
RuntimeObject * L_46 = V_4;
V_13 = (bool)((!(((RuntimeObject*)(RuntimeObject *)((RuntimeObject *)IsInstSealed((RuntimeObject*)L_46, Single_tE07797BA3C98D4CA9B5A19413C19A76688AB899E_il2cpp_TypeInfo_var))) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_47 = V_13;
if (!L_47)
{
goto IL_0177;
}
}
{
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_48 = V_0;
int32_t L_49 = V_1;
NullCheck(L_48);
RuntimeObject * L_50 = V_4;
((L_48)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_49)))->set_f_6(((*(float*)((float*)UnBox(L_50, Single_tE07797BA3C98D4CA9B5A19413C19A76688AB899E_il2cpp_TypeInfo_var)))));
goto IL_01bf;
}
IL_0177:
{
RuntimeObject * L_51 = V_4;
V_14 = (bool)((!(((RuntimeObject*)(RuntimeObject *)((RuntimeObject *)IsInstSealed((RuntimeObject*)L_51, Double_t42821932CB52DE2057E685D0E1AF3DE5033D2181_il2cpp_TypeInfo_var))) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_52 = V_14;
if (!L_52)
{
goto IL_019c;
}
}
{
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_53 = V_0;
int32_t L_54 = V_1;
NullCheck(L_53);
RuntimeObject * L_55 = V_4;
((L_53)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_54)))->set_d_7(((*(double*)((double*)UnBox(L_55, Double_t42821932CB52DE2057E685D0E1AF3DE5033D2181_il2cpp_TypeInfo_var)))));
goto IL_01bf;
}
IL_019c:
{
RuntimeObject * L_56 = V_4;
V_15 = (bool)((!(((RuntimeObject*)(RuntimeObject *)((RuntimeObject *)IsInstSealed((RuntimeObject*)L_56, Char_tFF60D8E7E89A20BE2294A003734341BD1DF43E14_il2cpp_TypeInfo_var))) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_57 = V_15;
if (!L_57)
{
goto IL_01bf;
}
}
{
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_58 = V_0;
int32_t L_59 = V_1;
NullCheck(L_58);
RuntimeObject * L_60 = V_4;
((L_58)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_59)))->set_c_2(((*(Il2CppChar*)((Il2CppChar*)UnBox(L_60, Char_tFF60D8E7E89A20BE2294A003734341BD1DF43E14_il2cpp_TypeInfo_var)))));
}
IL_01bf:
{
goto IL_0302;
}
IL_01c5:
{
RuntimeObject * L_61 = V_4;
V_16 = (bool)((!(((RuntimeObject*)(String_t*)((String_t*)IsInstSealed((RuntimeObject*)L_61, String_t_il2cpp_TypeInfo_var))) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_62 = V_16;
if (!L_62)
{
goto IL_01f4;
}
}
{
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_63 = V_0;
int32_t L_64 = V_1;
NullCheck(L_63);
RuntimeObject * L_65 = V_4;
intptr_t L_66;
L_66 = AndroidJNISafe_NewString_m5F5B2B700BDE2D0D1D105687D4ACC9567CEE7A23(((String_t*)CastclassSealed((RuntimeObject*)L_65, String_t_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
((L_63)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_64)))->set_l_8((intptr_t)L_66);
goto IL_0302;
}
IL_01f4:
{
RuntimeObject * L_67 = V_4;
V_17 = (bool)((!(((RuntimeObject*)(AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 *)((AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 *)IsInstClass((RuntimeObject*)L_67, AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4_il2cpp_TypeInfo_var))) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_68 = V_17;
if (!L_68)
{
goto IL_0223;
}
}
{
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_69 = V_0;
int32_t L_70 = V_1;
NullCheck(L_69);
RuntimeObject * L_71 = V_4;
NullCheck(((AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 *)CastclassClass((RuntimeObject*)L_71, AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4_il2cpp_TypeInfo_var)));
intptr_t L_72;
L_72 = AndroidJavaObject_GetRawClass_m051337FD2D7C0E765641B192D86FF4A06257836B(((AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 *)CastclassClass((RuntimeObject*)L_71, AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
((L_69)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_70)))->set_l_8((intptr_t)L_72);
goto IL_0302;
}
IL_0223:
{
RuntimeObject * L_73 = V_4;
V_18 = (bool)((!(((RuntimeObject*)(AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *)((AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *)IsInstClass((RuntimeObject*)L_73, AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var))) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_74 = V_18;
if (!L_74)
{
goto IL_0252;
}
}
{
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_75 = V_0;
int32_t L_76 = V_1;
NullCheck(L_75);
RuntimeObject * L_77 = V_4;
NullCheck(((AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *)CastclassClass((RuntimeObject*)L_77, AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var)));
intptr_t L_78;
L_78 = AndroidJavaObject_GetRawObject_m09E30F9AF9DD2AE07D34CE3915BDA557E206271D(((AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *)CastclassClass((RuntimeObject*)L_77, AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
((L_75)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_76)))->set_l_8((intptr_t)L_78);
goto IL_0302;
}
IL_0252:
{
RuntimeObject * L_79 = V_4;
V_19 = (bool)((!(((RuntimeObject*)(RuntimeArray *)((RuntimeArray *)IsInstClass((RuntimeObject*)L_79, RuntimeArray_il2cpp_TypeInfo_var))) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_80 = V_19;
if (!L_80)
{
goto IL_0281;
}
}
{
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_81 = V_0;
int32_t L_82 = V_1;
NullCheck(L_81);
RuntimeObject * L_83 = V_4;
intptr_t L_84;
L_84 = _AndroidJNIHelper_ConvertToJNIArray_m8254063CFA125088D840280AEF8C2ACF1B1ED4D9(((RuntimeArray *)CastclassClass((RuntimeObject*)L_83, RuntimeArray_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
((L_81)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_82)))->set_l_8((intptr_t)L_84);
goto IL_0302;
}
IL_0281:
{
RuntimeObject * L_85 = V_4;
V_20 = (bool)((!(((RuntimeObject*)(AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF *)((AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF *)IsInstClass((RuntimeObject*)L_85, AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF_il2cpp_TypeInfo_var))) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_86 = V_20;
if (!L_86)
{
goto IL_02ad;
}
}
{
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_87 = V_0;
int32_t L_88 = V_1;
NullCheck(L_87);
RuntimeObject * L_89 = V_4;
NullCheck(((AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF *)CastclassClass((RuntimeObject*)L_89, AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF_il2cpp_TypeInfo_var)));
intptr_t L_90;
L_90 = AndroidJavaProxy_GetRawProxy_m125686B87104A00FD20DEB87F24074A3AD68D354(((AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF *)CastclassClass((RuntimeObject*)L_89, AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
((L_87)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_88)))->set_l_8((intptr_t)L_90);
goto IL_0302;
}
IL_02ad:
{
RuntimeObject * L_91 = V_4;
V_21 = (bool)((!(((RuntimeObject*)(AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60 *)((AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60 *)IsInstSealed((RuntimeObject*)L_91, AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60_il2cpp_TypeInfo_var))) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_92 = V_21;
if (!L_92)
{
goto IL_02d9;
}
}
{
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_93 = V_0;
int32_t L_94 = V_1;
NullCheck(L_93);
RuntimeObject * L_95 = V_4;
intptr_t L_96;
L_96 = AndroidJNIHelper_CreateJavaRunnable_m789E333B57BE23010719477567A818C88A529153(((AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60 *)CastclassSealed((RuntimeObject*)L_95, AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
((L_93)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_94)))->set_l_8((intptr_t)L_96);
goto IL_0302;
}
IL_02d9:
{
RuntimeObject * L_97 = V_4;
NullCheck(L_97);
Type_t * L_98;
L_98 = Object_GetType_m571FE8360C10B98C23AAF1F066D92C08CC94F45B(L_97, /*hidden argument*/NULL);
Type_t * L_99 = L_98;
G_B36_0 = L_99;
G_B36_1 = ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralAED680D6EF3BE92ADBBED1552BB70280D27D120B));
if (L_99)
{
G_B37_0 = L_99;
G_B37_1 = ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralAED680D6EF3BE92ADBBED1552BB70280D27D120B));
goto IL_02ed;
}
}
{
G_B38_0 = ((String_t*)(NULL));
G_B38_1 = G_B36_1;
goto IL_02f2;
}
IL_02ed:
{
NullCheck(G_B37_0);
String_t* L_100;
L_100 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, G_B37_0);
G_B38_0 = L_100;
G_B38_1 = G_B37_1;
}
IL_02f2:
{
String_t* L_101;
L_101 = String_Concat_m89EAB4C6A96B0E5C3F87300D6BE78D386B9EFC44(G_B38_1, G_B38_0, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral42646B33B50B6AA15E22733C8900716F0FE19E1D)), /*hidden argument*/NULL);
Exception_t * L_102 = (Exception_t *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)));
Exception__ctor_m8ECDE8ACA7F2E0EF1144BD1200FB5DB2870B5F11(L_102, L_101, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_102, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_AndroidJNIHelper_CreateJNIArgArray_m6CAC58535CA8F9F1A7A4458BA1BC855CB46609E2_RuntimeMethod_var)));
}
IL_0302:
{
int32_t L_103 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_103, (int32_t)1));
int32_t L_104 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_104, (int32_t)1));
}
IL_030b:
{
int32_t L_105 = V_3;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_106 = V_2;
NullCheck(L_106);
if ((((int32_t)L_105) < ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_106)->max_length))))))
{
goto IL_001a;
}
}
{
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_107 = V_0;
V_22 = L_107;
goto IL_0319;
}
IL_0319:
{
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_108 = V_22;
return L_108;
}
}
// System.Object UnityEngine._AndroidJNIHelper::UnboxArray(UnityEngine.AndroidJavaObject)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * _AndroidJNIHelper_UnboxArray_m6287C810F0A8190BA7A7D2B104437F28B785FE7F (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * ___obj0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaClassU5BU5D_t5344E3EB36AE15926FAFC0383431B20ADC393BCB_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObjectU5BU5D_tEE28563C9013906CEB39794019A55F4BA5B06120_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_CallStatic_TisAndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_mAD48C38D66AB67D0F0274D195F4A99CB7AB589F2_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_CallStatic_TisInt32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_mE6C2E19D140FDCD9C8736017AAA61A16904ADD63_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_Call_TisAndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_mC5ED59BBD9C24EFFD98D8C3819C7E15DFE08F412_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_Call_TisBoolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_m705BF7B215A83B7851B19591CE37DA93250C7A8A_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_Call_TisString_t_mB2E722C64FC7BD9F98B983053A6D3F9D94D355AE_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DoubleU5BU5D_t8E1B42EB2ABB79FBD193A6B8C8D97A7CDE44A4FB_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int64U5BU5D_tCA61E42872C63A4286B24EEE6E0650143B43DCE6_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SByteU5BU5D_t7D94C53295E6116625EA7CC7DEA21FEDC39869E7_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral007174B876FA7EECC4152046B9308966D3E2B5B8);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral0BA8CB3B900ECEF5E697192B8CDA6B626EB0CE72);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral115036F179EA48E7662F9BE55E0E00A42DDE6DA7);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral306716C9D6B9595061CC04B314471DA1BEBAA9BE);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral38FB386B58970DA493E868CAC2AC6550E559B5D7);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral4377BD0CB5AA33032D96FCC5148ABEDB0BD8CC10);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral58BB47D89B96E4992A8CEB702213DCC616635297);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral6139DAA93E5F3831FAE16E66A26D39B54342887C);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral61B6DDF2435F416EB6E75E0A742D181B32C37FDF);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral81AB20ED8D2182D1A0D3ECAA43335FF4D94E66E1);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral9AF65B36DFE45F7D43114A8BC74824FA223F60D2);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral9BC1A16BF700ED5325C6B4FD49819E1C48ECC035);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralBF68B5E8806879817720F1AA46DC7730FCB8187E);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD890B2BC5E5200965CD02403ABB6C221A614A1B7);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE1E5CE10BE86E259146E8ADE82FB423C65C3FFD7);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE3DFC065B6A6D9931B797808DD066491AAB82B29);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralEC8D2B1EC3E954083D64BF4DDCCC9E46BE24B490);
s_Il2CppMethodInitialized = true;
}
AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 * V_0 = NULL;
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * V_1 = NULL;
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * V_2 = NULL;
String_t* V_3 = NULL;
int32_t V_4 = 0;
RuntimeArray * V_5 = NULL;
bool V_6 = false;
RuntimeObject * V_7 = NULL;
bool V_8 = false;
bool V_9 = false;
bool V_10 = false;
bool V_11 = false;
bool V_12 = false;
bool V_13 = false;
bool V_14 = false;
bool V_15 = false;
bool V_16 = false;
bool V_17 = false;
bool V_18 = false;
int32_t V_19 = 0;
bool V_20 = false;
{
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_0 = ___obj0;
V_6 = (bool)((((RuntimeObject*)(AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *)L_0) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_1 = V_6;
if (!L_1)
{
goto IL_0013;
}
}
{
V_7 = NULL;
goto IL_021e;
}
IL_0013:
{
AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 * L_2 = (AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 *)il2cpp_codegen_object_new(AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4_il2cpp_TypeInfo_var);
AndroidJavaClass__ctor_mEFF9F51871F231955D97DABDE9AB4A6B4EDA5541(L_2, _stringLiteral9BC1A16BF700ED5325C6B4FD49819E1C48ECC035, /*hidden argument*/NULL);
V_0 = L_2;
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_3 = ___obj0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_4 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)0);
NullCheck(L_3);
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_5;
L_5 = AndroidJavaObject_Call_TisAndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_mC5ED59BBD9C24EFFD98D8C3819C7E15DFE08F412(L_3, _stringLiteral306716C9D6B9595061CC04B314471DA1BEBAA9BE, L_4, /*hidden argument*/AndroidJavaObject_Call_TisAndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_mC5ED59BBD9C24EFFD98D8C3819C7E15DFE08F412_RuntimeMethod_var);
V_1 = L_5;
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_6 = V_1;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_7 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)0);
NullCheck(L_6);
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_8;
L_8 = AndroidJavaObject_Call_TisAndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_mC5ED59BBD9C24EFFD98D8C3819C7E15DFE08F412(L_6, _stringLiteral61B6DDF2435F416EB6E75E0A742D181B32C37FDF, L_7, /*hidden argument*/AndroidJavaObject_Call_TisAndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_mC5ED59BBD9C24EFFD98D8C3819C7E15DFE08F412_RuntimeMethod_var);
V_2 = L_8;
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_9 = V_2;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_10 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)0);
NullCheck(L_9);
String_t* L_11;
L_11 = AndroidJavaObject_Call_TisString_t_mB2E722C64FC7BD9F98B983053A6D3F9D94D355AE(L_9, _stringLiteral58BB47D89B96E4992A8CEB702213DCC616635297, L_10, /*hidden argument*/AndroidJavaObject_Call_TisString_t_mB2E722C64FC7BD9F98B983053A6D3F9D94D355AE_RuntimeMethod_var);
V_3 = L_11;
AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 * L_12 = V_0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_13 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)1);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_14 = L_13;
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_15 = ___obj0;
NullCheck(L_14);
ArrayElementTypeCheck (L_14, L_15);
(L_14)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_15);
NullCheck(L_12);
int32_t L_16;
L_16 = AndroidJavaObject_CallStatic_TisInt32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_mE6C2E19D140FDCD9C8736017AAA61A16904ADD63(L_12, _stringLiteral81AB20ED8D2182D1A0D3ECAA43335FF4D94E66E1, L_14, /*hidden argument*/AndroidJavaObject_CallStatic_TisInt32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_mE6C2E19D140FDCD9C8736017AAA61A16904ADD63_RuntimeMethod_var);
V_4 = L_16;
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_17 = V_2;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_18 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)0);
NullCheck(L_17);
bool L_19;
L_19 = AndroidJavaObject_Call_TisBoolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_m705BF7B215A83B7851B19591CE37DA93250C7A8A(L_17, _stringLiteral9AF65B36DFE45F7D43114A8BC74824FA223F60D2, L_18, /*hidden argument*/AndroidJavaObject_Call_TisBoolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_m705BF7B215A83B7851B19591CE37DA93250C7A8A_RuntimeMethod_var);
V_8 = L_19;
bool L_20 = V_8;
if (!L_20)
{
goto IL_018b;
}
}
{
String_t* L_21 = V_3;
bool L_22;
L_22 = String_op_Equality_m2B91EE68355F142F67095973D32EB5828B7B73CB(_stringLiteral0BA8CB3B900ECEF5E697192B8CDA6B626EB0CE72, L_21, /*hidden argument*/NULL);
V_9 = L_22;
bool L_23 = V_9;
if (!L_23)
{
goto IL_00a5;
}
}
{
int32_t L_24 = V_4;
Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_25 = (Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32*)(Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32*)SZArrayNew(Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32_il2cpp_TypeInfo_var, (uint32_t)L_24);
V_5 = (RuntimeArray *)L_25;
goto IL_0188;
}
IL_00a5:
{
String_t* L_26 = V_3;
bool L_27;
L_27 = String_op_Equality_m2B91EE68355F142F67095973D32EB5828B7B73CB(_stringLiteralEC8D2B1EC3E954083D64BF4DDCCC9E46BE24B490, L_26, /*hidden argument*/NULL);
V_10 = L_27;
bool L_28 = V_10;
if (!L_28)
{
goto IL_00c4;
}
}
{
int32_t L_29 = V_4;
BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C* L_30 = (BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C*)(BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C*)SZArrayNew(BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C_il2cpp_TypeInfo_var, (uint32_t)L_29);
V_5 = (RuntimeArray *)L_30;
goto IL_0188;
}
IL_00c4:
{
String_t* L_31 = V_3;
bool L_32;
L_32 = String_op_Equality_m2B91EE68355F142F67095973D32EB5828B7B73CB(_stringLiteralE1E5CE10BE86E259146E8ADE82FB423C65C3FFD7, L_31, /*hidden argument*/NULL);
V_11 = L_32;
bool L_33 = V_11;
if (!L_33)
{
goto IL_00e3;
}
}
{
int32_t L_34 = V_4;
SByteU5BU5D_t7D94C53295E6116625EA7CC7DEA21FEDC39869E7* L_35 = (SByteU5BU5D_t7D94C53295E6116625EA7CC7DEA21FEDC39869E7*)(SByteU5BU5D_t7D94C53295E6116625EA7CC7DEA21FEDC39869E7*)SZArrayNew(SByteU5BU5D_t7D94C53295E6116625EA7CC7DEA21FEDC39869E7_il2cpp_TypeInfo_var, (uint32_t)L_34);
V_5 = (RuntimeArray *)L_35;
goto IL_0188;
}
IL_00e3:
{
String_t* L_36 = V_3;
bool L_37;
L_37 = String_op_Equality_m2B91EE68355F142F67095973D32EB5828B7B73CB(_stringLiteral115036F179EA48E7662F9BE55E0E00A42DDE6DA7, L_36, /*hidden argument*/NULL);
V_12 = L_37;
bool L_38 = V_12;
if (!L_38)
{
goto IL_0102;
}
}
{
int32_t L_39 = V_4;
Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* L_40 = (Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD*)(Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD*)SZArrayNew(Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD_il2cpp_TypeInfo_var, (uint32_t)L_39);
V_5 = (RuntimeArray *)L_40;
goto IL_0188;
}
IL_0102:
{
String_t* L_41 = V_3;
bool L_42;
L_42 = String_op_Equality_m2B91EE68355F142F67095973D32EB5828B7B73CB(_stringLiteralD890B2BC5E5200965CD02403ABB6C221A614A1B7, L_41, /*hidden argument*/NULL);
V_13 = L_42;
bool L_43 = V_13;
if (!L_43)
{
goto IL_011e;
}
}
{
int32_t L_44 = V_4;
Int64U5BU5D_tCA61E42872C63A4286B24EEE6E0650143B43DCE6* L_45 = (Int64U5BU5D_tCA61E42872C63A4286B24EEE6E0650143B43DCE6*)(Int64U5BU5D_tCA61E42872C63A4286B24EEE6E0650143B43DCE6*)SZArrayNew(Int64U5BU5D_tCA61E42872C63A4286B24EEE6E0650143B43DCE6_il2cpp_TypeInfo_var, (uint32_t)L_44);
V_5 = (RuntimeArray *)L_45;
goto IL_0188;
}
IL_011e:
{
String_t* L_46 = V_3;
bool L_47;
L_47 = String_op_Equality_m2B91EE68355F142F67095973D32EB5828B7B73CB(_stringLiteralE3DFC065B6A6D9931B797808DD066491AAB82B29, L_46, /*hidden argument*/NULL);
V_14 = L_47;
bool L_48 = V_14;
if (!L_48)
{
goto IL_013a;
}
}
{
int32_t L_49 = V_4;
SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA* L_50 = (SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA*)(SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA*)SZArrayNew(SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA_il2cpp_TypeInfo_var, (uint32_t)L_49);
V_5 = (RuntimeArray *)L_50;
goto IL_0188;
}
IL_013a:
{
String_t* L_51 = V_3;
bool L_52;
L_52 = String_op_Equality_m2B91EE68355F142F67095973D32EB5828B7B73CB(_stringLiteral007174B876FA7EECC4152046B9308966D3E2B5B8, L_51, /*hidden argument*/NULL);
V_15 = L_52;
bool L_53 = V_15;
if (!L_53)
{
goto IL_0156;
}
}
{
int32_t L_54 = V_4;
DoubleU5BU5D_t8E1B42EB2ABB79FBD193A6B8C8D97A7CDE44A4FB* L_55 = (DoubleU5BU5D_t8E1B42EB2ABB79FBD193A6B8C8D97A7CDE44A4FB*)(DoubleU5BU5D_t8E1B42EB2ABB79FBD193A6B8C8D97A7CDE44A4FB*)SZArrayNew(DoubleU5BU5D_t8E1B42EB2ABB79FBD193A6B8C8D97A7CDE44A4FB_il2cpp_TypeInfo_var, (uint32_t)L_54);
V_5 = (RuntimeArray *)L_55;
goto IL_0188;
}
IL_0156:
{
String_t* L_56 = V_3;
bool L_57;
L_57 = String_op_Equality_m2B91EE68355F142F67095973D32EB5828B7B73CB(_stringLiteral38FB386B58970DA493E868CAC2AC6550E559B5D7, L_56, /*hidden argument*/NULL);
V_16 = L_57;
bool L_58 = V_16;
if (!L_58)
{
goto IL_0172;
}
}
{
int32_t L_59 = V_4;
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_60 = (CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34*)(CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34*)SZArrayNew(CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34_il2cpp_TypeInfo_var, (uint32_t)L_59);
V_5 = (RuntimeArray *)L_60;
goto IL_0188;
}
IL_0172:
{
String_t* L_61 = V_3;
String_t* L_62;
L_62 = String_Concat_m89EAB4C6A96B0E5C3F87300D6BE78D386B9EFC44(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralAED680D6EF3BE92ADBBED1552BB70280D27D120B)), L_61, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral42646B33B50B6AA15E22733C8900716F0FE19E1D)), /*hidden argument*/NULL);
Exception_t * L_63 = (Exception_t *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)));
Exception__ctor_m8ECDE8ACA7F2E0EF1144BD1200FB5DB2870B5F11(L_63, L_62, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_63, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_AndroidJNIHelper_UnboxArray_m6287C810F0A8190BA7A7D2B104437F28B785FE7F_RuntimeMethod_var)));
}
IL_0188:
{
goto IL_01cc;
}
IL_018b:
{
String_t* L_64 = V_3;
bool L_65;
L_65 = String_op_Equality_m2B91EE68355F142F67095973D32EB5828B7B73CB(_stringLiteral6139DAA93E5F3831FAE16E66A26D39B54342887C, L_64, /*hidden argument*/NULL);
V_17 = L_65;
bool L_66 = V_17;
if (!L_66)
{
goto IL_01a7;
}
}
{
int32_t L_67 = V_4;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_68 = (StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)SZArrayNew(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var, (uint32_t)L_67);
V_5 = (RuntimeArray *)L_68;
goto IL_01cc;
}
IL_01a7:
{
String_t* L_69 = V_3;
bool L_70;
L_70 = String_op_Equality_m2B91EE68355F142F67095973D32EB5828B7B73CB(_stringLiteral4377BD0CB5AA33032D96FCC5148ABEDB0BD8CC10, L_69, /*hidden argument*/NULL);
V_18 = L_70;
bool L_71 = V_18;
if (!L_71)
{
goto IL_01c3;
}
}
{
int32_t L_72 = V_4;
AndroidJavaClassU5BU5D_t5344E3EB36AE15926FAFC0383431B20ADC393BCB* L_73 = (AndroidJavaClassU5BU5D_t5344E3EB36AE15926FAFC0383431B20ADC393BCB*)(AndroidJavaClassU5BU5D_t5344E3EB36AE15926FAFC0383431B20ADC393BCB*)SZArrayNew(AndroidJavaClassU5BU5D_t5344E3EB36AE15926FAFC0383431B20ADC393BCB_il2cpp_TypeInfo_var, (uint32_t)L_72);
V_5 = (RuntimeArray *)L_73;
goto IL_01cc;
}
IL_01c3:
{
int32_t L_74 = V_4;
AndroidJavaObjectU5BU5D_tEE28563C9013906CEB39794019A55F4BA5B06120* L_75 = (AndroidJavaObjectU5BU5D_tEE28563C9013906CEB39794019A55F4BA5B06120*)(AndroidJavaObjectU5BU5D_tEE28563C9013906CEB39794019A55F4BA5B06120*)SZArrayNew(AndroidJavaObjectU5BU5D_tEE28563C9013906CEB39794019A55F4BA5B06120_il2cpp_TypeInfo_var, (uint32_t)L_74);
V_5 = (RuntimeArray *)L_75;
}
IL_01cc:
{
V_19 = 0;
goto IL_0205;
}
IL_01d1:
{
RuntimeArray * L_76 = V_5;
AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 * L_77 = V_0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_78 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)2);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_79 = L_78;
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_80 = ___obj0;
NullCheck(L_79);
ArrayElementTypeCheck (L_79, L_80);
(L_79)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_80);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_81 = L_79;
int32_t L_82 = V_19;
int32_t L_83 = L_82;
RuntimeObject * L_84 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_83);
NullCheck(L_81);
ArrayElementTypeCheck (L_81, L_84);
(L_81)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject *)L_84);
NullCheck(L_77);
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_85;
L_85 = AndroidJavaObject_CallStatic_TisAndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_mAD48C38D66AB67D0F0274D195F4A99CB7AB589F2(L_77, _stringLiteralBF68B5E8806879817720F1AA46DC7730FCB8187E, L_81, /*hidden argument*/AndroidJavaObject_CallStatic_TisAndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_mAD48C38D66AB67D0F0274D195F4A99CB7AB589F2_RuntimeMethod_var);
RuntimeObject * L_86;
L_86 = _AndroidJNIHelper_Unbox_mE00F4AED2AAAACF5C617820A41A4F28F1D501708(L_85, /*hidden argument*/NULL);
int32_t L_87 = V_19;
NullCheck(L_76);
Array_SetValue_mD28884941182C5B7118CFBA3D55DB9CEA8797455(L_76, L_86, L_87, /*hidden argument*/NULL);
int32_t L_88 = V_19;
V_19 = ((int32_t)il2cpp_codegen_add((int32_t)L_88, (int32_t)1));
}
IL_0205:
{
int32_t L_89 = V_19;
int32_t L_90 = V_4;
V_20 = (bool)((((int32_t)L_89) < ((int32_t)L_90))? 1 : 0);
bool L_91 = V_20;
if (L_91)
{
goto IL_01d1;
}
}
{
AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 * L_92 = V_0;
NullCheck(L_92);
AndroidJavaObject_Dispose_mFF9FA58B47A7FC0C083E034B364EAAE2E7282C45(L_92, /*hidden argument*/NULL);
RuntimeArray * L_93 = V_5;
V_7 = L_93;
goto IL_021e;
}
IL_021e:
{
RuntimeObject * L_94 = V_7;
return L_94;
}
}
// System.Object UnityEngine._AndroidJNIHelper::Unbox(UnityEngine.AndroidJavaObject)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * _AndroidJNIHelper_Unbox_mE00F4AED2AAAACF5C617820A41A4F28F1D501708 (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * ___obj0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_Call_TisAndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_mC5ED59BBD9C24EFFD98D8C3819C7E15DFE08F412_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_Call_TisBoolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_m705BF7B215A83B7851B19591CE37DA93250C7A8A_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_Call_TisChar_tFF60D8E7E89A20BE2294A003734341BD1DF43E14_m5E5A9D2A5C78D0EC058BBE4A6EFDE1F1C042D19B_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_Call_TisDouble_t42821932CB52DE2057E685D0E1AF3DE5033D2181_mC771B88EC17F0B174134EC1218654F42A807A3B5_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_Call_TisInt16_tD0F031114106263BB459DA1F099FF9F42691295A_m01DA767827B3724380256A9F20BE680EE56B1C36_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_Call_TisInt32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_m02A4D4C9FD8B15173829454766683BA424408A2A_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_Call_TisInt64_t378EE0D608BD3107E77238E85F30D2BBD46981F3_m2E2FBAE10897A748859DD7EB19EBB1DB9BD02787_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_Call_TisSByte_t928712DD662DC29BA4FAAE8CE2230AFB23447F0B_m0E0C93662AE6147907838FA7BAC5DFFF12DA8CD2_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_Call_TisSingle_tE07797BA3C98D4CA9B5A19413C19A76688AB899E_m068E70BCBA9EACF8129B1C9F711D3132EB6C9061_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_Call_TisString_t_mB2E722C64FC7BD9F98B983053A6D3F9D94D355AE_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Char_tFF60D8E7E89A20BE2294A003734341BD1DF43E14_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Double_t42821932CB52DE2057E685D0E1AF3DE5033D2181_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDisposable_t099785737FC6A1E3699919A94109383715A8D807_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int16_tD0F031114106263BB459DA1F099FF9F42691295A_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int64_t378EE0D608BD3107E77238E85F30D2BBD46981F3_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SByte_t928712DD662DC29BA4FAAE8CE2230AFB23447F0B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Single_tE07797BA3C98D4CA9B5A19413C19A76688AB899E_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral02318B712552D9B62DF47C0277C285D8D227DB68);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral0A06530F3DEED5B3FCAB0F2A287E32BD8B25F2D4);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral1518EB1645470EBD2FAB6435208F4404D786664E);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral1C58321BD3C0DE4662E8E68A19634DEAC58F3251);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral2357A4E0D0D00387C99FD0191A8303405A83489C);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral306716C9D6B9595061CC04B314471DA1BEBAA9BE);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3869C7DBCD094A6000BF07A9FAC6332A50AEEFBE);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral4377BD0CB5AA33032D96FCC5148ABEDB0BD8CC10);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral495DD512A2F1C21C6107D1EA689AF431C75A1C5A);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral530BFE609FFD8493BEF7537EACF3B344E426E4EC);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral58BB47D89B96E4992A8CEB702213DCC616635297);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral6139DAA93E5F3831FAE16E66A26D39B54342887C);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral682203F9A53FBD397E722133EF0FD4D0C4CBECC3);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral70E7C8827E971A1A7DEECE0C662165AF9F4E8845);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral768F82A25AC6375BDD08F33D316E23F3C9E9872A);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral7BD850E4DDBA17AE057506A43953C4D0DB03DC66);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral8D72771221931EA82C15C15FDE3ED02FC39BD069);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB61F72088FF6940FDC49659789D1C5CA70C2E293);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB67B6D43B97430C37AE65F7A05E78E358F2B6A95);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralBB8F0908585792018E468F1010A23CFD167A686C);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE2666F1B1EF39D348E39EC6CC2DDE8F96EBEEA0E);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralF3E8EFC0C8EF0E48C41E622D432E07CB573E6983);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
RuntimeObject * V_1 = NULL;
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * V_2 = NULL;
String_t* V_3 = NULL;
bool V_4 = false;
bool V_5 = false;
bool V_6 = false;
bool V_7 = false;
bool V_8 = false;
bool V_9 = false;
bool V_10 = false;
bool V_11 = false;
bool V_12 = false;
bool V_13 = false;
bool V_14 = false;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 12> __leave_targets;
{
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_0 = ___obj0;
V_0 = (bool)((((RuntimeObject*)(AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *)L_0) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_1 = V_0;
if (!L_1)
{
goto IL_0010;
}
}
{
V_1 = NULL;
goto IL_020d;
}
IL_0010:
{
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_2 = ___obj0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_3 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)0);
NullCheck(L_2);
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_4;
L_4 = AndroidJavaObject_Call_TisAndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_mC5ED59BBD9C24EFFD98D8C3819C7E15DFE08F412(L_2, _stringLiteral306716C9D6B9595061CC04B314471DA1BEBAA9BE, L_3, /*hidden argument*/AndroidJavaObject_Call_TisAndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_mC5ED59BBD9C24EFFD98D8C3819C7E15DFE08F412_RuntimeMethod_var);
V_2 = L_4;
}
IL_0022:
try
{ // begin try (depth: 1)
{
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_5 = V_2;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_6 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)0);
NullCheck(L_5);
String_t* L_7;
L_7 = AndroidJavaObject_Call_TisString_t_mB2E722C64FC7BD9F98B983053A6D3F9D94D355AE(L_5, _stringLiteral58BB47D89B96E4992A8CEB702213DCC616635297, L_6, /*hidden argument*/AndroidJavaObject_Call_TisString_t_mB2E722C64FC7BD9F98B983053A6D3F9D94D355AE_RuntimeMethod_var);
V_3 = L_7;
String_t* L_8 = V_3;
bool L_9;
L_9 = String_op_Equality_m2B91EE68355F142F67095973D32EB5828B7B73CB(_stringLiteralE2666F1B1EF39D348E39EC6CC2DDE8F96EBEEA0E, L_8, /*hidden argument*/NULL);
V_4 = L_9;
bool L_10 = V_4;
if (!L_10)
{
goto IL_0062;
}
}
IL_0046:
{
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_11 = ___obj0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_12 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)0);
NullCheck(L_11);
int32_t L_13;
L_13 = AndroidJavaObject_Call_TisInt32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_m02A4D4C9FD8B15173829454766683BA424408A2A(L_11, _stringLiteral768F82A25AC6375BDD08F33D316E23F3C9E9872A, L_12, /*hidden argument*/AndroidJavaObject_Call_TisInt32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_m02A4D4C9FD8B15173829454766683BA424408A2A_RuntimeMethod_var);
int32_t L_14 = L_13;
RuntimeObject * L_15 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_14);
V_1 = L_15;
IL2CPP_LEAVE(0x20D, FINALLY_0202);
}
IL_0062:
{
String_t* L_16 = V_3;
bool L_17;
L_17 = String_op_Equality_m2B91EE68355F142F67095973D32EB5828B7B73CB(_stringLiteral1C58321BD3C0DE4662E8E68A19634DEAC58F3251, L_16, /*hidden argument*/NULL);
V_5 = L_17;
bool L_18 = V_5;
if (!L_18)
{
goto IL_008f;
}
}
IL_0073:
{
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_19 = ___obj0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_20 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)0);
NullCheck(L_19);
bool L_21;
L_21 = AndroidJavaObject_Call_TisBoolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_m705BF7B215A83B7851B19591CE37DA93250C7A8A(L_19, _stringLiteral7BD850E4DDBA17AE057506A43953C4D0DB03DC66, L_20, /*hidden argument*/AndroidJavaObject_Call_TisBoolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_m705BF7B215A83B7851B19591CE37DA93250C7A8A_RuntimeMethod_var);
bool L_22 = L_21;
RuntimeObject * L_23 = Box(Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_il2cpp_TypeInfo_var, &L_22);
V_1 = L_23;
IL2CPP_LEAVE(0x20D, FINALLY_0202);
}
IL_008f:
{
String_t* L_24 = V_3;
bool L_25;
L_25 = String_op_Equality_m2B91EE68355F142F67095973D32EB5828B7B73CB(_stringLiteral3869C7DBCD094A6000BF07A9FAC6332A50AEEFBE, L_24, /*hidden argument*/NULL);
V_6 = L_25;
bool L_26 = V_6;
if (!L_26)
{
goto IL_00bc;
}
}
IL_00a0:
{
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_27 = ___obj0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_28 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)0);
NullCheck(L_27);
int8_t L_29;
L_29 = AndroidJavaObject_Call_TisSByte_t928712DD662DC29BA4FAAE8CE2230AFB23447F0B_m0E0C93662AE6147907838FA7BAC5DFFF12DA8CD2(L_27, _stringLiteral1518EB1645470EBD2FAB6435208F4404D786664E, L_28, /*hidden argument*/AndroidJavaObject_Call_TisSByte_t928712DD662DC29BA4FAAE8CE2230AFB23447F0B_m0E0C93662AE6147907838FA7BAC5DFFF12DA8CD2_RuntimeMethod_var);
int8_t L_30 = L_29;
RuntimeObject * L_31 = Box(SByte_t928712DD662DC29BA4FAAE8CE2230AFB23447F0B_il2cpp_TypeInfo_var, &L_30);
V_1 = L_31;
IL2CPP_LEAVE(0x20D, FINALLY_0202);
}
IL_00bc:
{
String_t* L_32 = V_3;
bool L_33;
L_33 = String_op_Equality_m2B91EE68355F142F67095973D32EB5828B7B73CB(_stringLiteral70E7C8827E971A1A7DEECE0C662165AF9F4E8845, L_32, /*hidden argument*/NULL);
V_7 = L_33;
bool L_34 = V_7;
if (!L_34)
{
goto IL_00e9;
}
}
IL_00cd:
{
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_35 = ___obj0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_36 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)0);
NullCheck(L_35);
int16_t L_37;
L_37 = AndroidJavaObject_Call_TisInt16_tD0F031114106263BB459DA1F099FF9F42691295A_m01DA767827B3724380256A9F20BE680EE56B1C36(L_35, _stringLiteral530BFE609FFD8493BEF7537EACF3B344E426E4EC, L_36, /*hidden argument*/AndroidJavaObject_Call_TisInt16_tD0F031114106263BB459DA1F099FF9F42691295A_m01DA767827B3724380256A9F20BE680EE56B1C36_RuntimeMethod_var);
int16_t L_38 = L_37;
RuntimeObject * L_39 = Box(Int16_tD0F031114106263BB459DA1F099FF9F42691295A_il2cpp_TypeInfo_var, &L_38);
V_1 = L_39;
IL2CPP_LEAVE(0x20D, FINALLY_0202);
}
IL_00e9:
{
String_t* L_40 = V_3;
bool L_41;
L_41 = String_op_Equality_m2B91EE68355F142F67095973D32EB5828B7B73CB(_stringLiteral8D72771221931EA82C15C15FDE3ED02FC39BD069, L_40, /*hidden argument*/NULL);
V_8 = L_41;
bool L_42 = V_8;
if (!L_42)
{
goto IL_0116;
}
}
IL_00fa:
{
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_43 = ___obj0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_44 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)0);
NullCheck(L_43);
int64_t L_45;
L_45 = AndroidJavaObject_Call_TisInt64_t378EE0D608BD3107E77238E85F30D2BBD46981F3_m2E2FBAE10897A748859DD7EB19EBB1DB9BD02787(L_43, _stringLiteral02318B712552D9B62DF47C0277C285D8D227DB68, L_44, /*hidden argument*/AndroidJavaObject_Call_TisInt64_t378EE0D608BD3107E77238E85F30D2BBD46981F3_m2E2FBAE10897A748859DD7EB19EBB1DB9BD02787_RuntimeMethod_var);
int64_t L_46 = L_45;
RuntimeObject * L_47 = Box(Int64_t378EE0D608BD3107E77238E85F30D2BBD46981F3_il2cpp_TypeInfo_var, &L_46);
V_1 = L_47;
IL2CPP_LEAVE(0x20D, FINALLY_0202);
}
IL_0116:
{
String_t* L_48 = V_3;
bool L_49;
L_49 = String_op_Equality_m2B91EE68355F142F67095973D32EB5828B7B73CB(_stringLiteral0A06530F3DEED5B3FCAB0F2A287E32BD8B25F2D4, L_48, /*hidden argument*/NULL);
V_9 = L_49;
bool L_50 = V_9;
if (!L_50)
{
goto IL_0143;
}
}
IL_0127:
{
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_51 = ___obj0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_52 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)0);
NullCheck(L_51);
float L_53;
L_53 = AndroidJavaObject_Call_TisSingle_tE07797BA3C98D4CA9B5A19413C19A76688AB899E_m068E70BCBA9EACF8129B1C9F711D3132EB6C9061(L_51, _stringLiteralB61F72088FF6940FDC49659789D1C5CA70C2E293, L_52, /*hidden argument*/AndroidJavaObject_Call_TisSingle_tE07797BA3C98D4CA9B5A19413C19A76688AB899E_m068E70BCBA9EACF8129B1C9F711D3132EB6C9061_RuntimeMethod_var);
float L_54 = L_53;
RuntimeObject * L_55 = Box(Single_tE07797BA3C98D4CA9B5A19413C19A76688AB899E_il2cpp_TypeInfo_var, &L_54);
V_1 = L_55;
IL2CPP_LEAVE(0x20D, FINALLY_0202);
}
IL_0143:
{
String_t* L_56 = V_3;
bool L_57;
L_57 = String_op_Equality_m2B91EE68355F142F67095973D32EB5828B7B73CB(_stringLiteralBB8F0908585792018E468F1010A23CFD167A686C, L_56, /*hidden argument*/NULL);
V_10 = L_57;
bool L_58 = V_10;
if (!L_58)
{
goto IL_0170;
}
}
IL_0154:
{
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_59 = ___obj0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_60 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)0);
NullCheck(L_59);
double L_61;
L_61 = AndroidJavaObject_Call_TisDouble_t42821932CB52DE2057E685D0E1AF3DE5033D2181_mC771B88EC17F0B174134EC1218654F42A807A3B5(L_59, _stringLiteral2357A4E0D0D00387C99FD0191A8303405A83489C, L_60, /*hidden argument*/AndroidJavaObject_Call_TisDouble_t42821932CB52DE2057E685D0E1AF3DE5033D2181_mC771B88EC17F0B174134EC1218654F42A807A3B5_RuntimeMethod_var);
double L_62 = L_61;
RuntimeObject * L_63 = Box(Double_t42821932CB52DE2057E685D0E1AF3DE5033D2181_il2cpp_TypeInfo_var, &L_62);
V_1 = L_63;
IL2CPP_LEAVE(0x20D, FINALLY_0202);
}
IL_0170:
{
String_t* L_64 = V_3;
bool L_65;
L_65 = String_op_Equality_m2B91EE68355F142F67095973D32EB5828B7B73CB(_stringLiteralB67B6D43B97430C37AE65F7A05E78E358F2B6A95, L_64, /*hidden argument*/NULL);
V_11 = L_65;
bool L_66 = V_11;
if (!L_66)
{
goto IL_019a;
}
}
IL_0181:
{
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_67 = ___obj0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_68 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)0);
NullCheck(L_67);
Il2CppChar L_69;
L_69 = AndroidJavaObject_Call_TisChar_tFF60D8E7E89A20BE2294A003734341BD1DF43E14_m5E5A9D2A5C78D0EC058BBE4A6EFDE1F1C042D19B(L_67, _stringLiteral682203F9A53FBD397E722133EF0FD4D0C4CBECC3, L_68, /*hidden argument*/AndroidJavaObject_Call_TisChar_tFF60D8E7E89A20BE2294A003734341BD1DF43E14_m5E5A9D2A5C78D0EC058BBE4A6EFDE1F1C042D19B_RuntimeMethod_var);
Il2CppChar L_70 = L_69;
RuntimeObject * L_71 = Box(Char_tFF60D8E7E89A20BE2294A003734341BD1DF43E14_il2cpp_TypeInfo_var, &L_70);
V_1 = L_71;
IL2CPP_LEAVE(0x20D, FINALLY_0202);
}
IL_019a:
{
String_t* L_72 = V_3;
bool L_73;
L_73 = String_op_Equality_m2B91EE68355F142F67095973D32EB5828B7B73CB(_stringLiteral6139DAA93E5F3831FAE16E66A26D39B54342887C, L_72, /*hidden argument*/NULL);
V_12 = L_73;
bool L_74 = V_12;
if (!L_74)
{
goto IL_01bf;
}
}
IL_01ab:
{
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_75 = ___obj0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_76 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)0);
NullCheck(L_75);
String_t* L_77;
L_77 = AndroidJavaObject_Call_TisString_t_mB2E722C64FC7BD9F98B983053A6D3F9D94D355AE(L_75, _stringLiteral495DD512A2F1C21C6107D1EA689AF431C75A1C5A, L_76, /*hidden argument*/AndroidJavaObject_Call_TisString_t_mB2E722C64FC7BD9F98B983053A6D3F9D94D355AE_RuntimeMethod_var);
V_1 = L_77;
IL2CPP_LEAVE(0x20D, FINALLY_0202);
}
IL_01bf:
{
String_t* L_78 = V_3;
bool L_79;
L_79 = String_op_Equality_m2B91EE68355F142F67095973D32EB5828B7B73CB(_stringLiteral4377BD0CB5AA33032D96FCC5148ABEDB0BD8CC10, L_78, /*hidden argument*/NULL);
V_13 = L_79;
bool L_80 = V_13;
if (!L_80)
{
goto IL_01de;
}
}
IL_01d0:
{
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_81 = ___obj0;
NullCheck(L_81);
intptr_t L_82;
L_82 = AndroidJavaObject_GetRawObject_m09E30F9AF9DD2AE07D34CE3915BDA557E206271D(L_81, /*hidden argument*/NULL);
AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 * L_83 = (AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 *)il2cpp_codegen_object_new(AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4_il2cpp_TypeInfo_var);
AndroidJavaClass__ctor_m61AE95F9D20CA648AEFC18AE922FE70F0B90786F(L_83, (intptr_t)L_82, /*hidden argument*/NULL);
V_1 = L_83;
IL2CPP_LEAVE(0x20D, FINALLY_0202);
}
IL_01de:
{
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_84 = V_2;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_85 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)0);
NullCheck(L_84);
bool L_86;
L_86 = AndroidJavaObject_Call_TisBoolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_m705BF7B215A83B7851B19591CE37DA93250C7A8A(L_84, _stringLiteralF3E8EFC0C8EF0E48C41E622D432E07CB573E6983, L_85, /*hidden argument*/AndroidJavaObject_Call_TisBoolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_m705BF7B215A83B7851B19591CE37DA93250C7A8A_RuntimeMethod_var);
V_14 = L_86;
bool L_87 = V_14;
if (!L_87)
{
goto IL_01fe;
}
}
IL_01f5:
{
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_88 = ___obj0;
RuntimeObject * L_89;
L_89 = _AndroidJNIHelper_UnboxArray_m6287C810F0A8190BA7A7D2B104437F28B785FE7F(L_88, /*hidden argument*/NULL);
V_1 = L_89;
IL2CPP_LEAVE(0x20D, FINALLY_0202);
}
IL_01fe:
{
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_90 = ___obj0;
V_1 = L_90;
IL2CPP_LEAVE(0x20D, FINALLY_0202);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0202;
}
FINALLY_0202:
{ // begin finally (depth: 1)
{
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_91 = V_2;
if (!L_91)
{
goto IL_020c;
}
}
IL_0205:
{
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_92 = V_2;
NullCheck(L_92);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t099785737FC6A1E3699919A94109383715A8D807_il2cpp_TypeInfo_var, L_92);
}
IL_020c:
{
IL2CPP_END_FINALLY(514)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(514)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x20D, IL_020d)
}
IL_020d:
{
RuntimeObject * L_93 = V_1;
return L_93;
}
}
// UnityEngine.AndroidJavaObject UnityEngine._AndroidJNIHelper::Box(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * _AndroidJNIHelper_Box_m36D8F62AEE89925F24BEB84DD91A5FF771255E28 (RuntimeObject * ___obj0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Char_tFF60D8E7E89A20BE2294A003734341BD1DF43E14_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Double_t42821932CB52DE2057E685D0E1AF3DE5033D2181_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int16_tD0F031114106263BB459DA1F099FF9F42691295A_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int64_t378EE0D608BD3107E77238E85F30D2BBD46981F3_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RuntimeArray_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SByte_t928712DD662DC29BA4FAAE8CE2230AFB23447F0B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Single_tE07797BA3C98D4CA9B5A19413C19A76688AB899E_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&String_t_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral0A06530F3DEED5B3FCAB0F2A287E32BD8B25F2D4);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral1C58321BD3C0DE4662E8E68A19634DEAC58F3251);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3869C7DBCD094A6000BF07A9FAC6332A50AEEFBE);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral6139DAA93E5F3831FAE16E66A26D39B54342887C);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral70E7C8827E971A1A7DEECE0C662165AF9F4E8845);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral8D72771221931EA82C15C15FDE3ED02FC39BD069);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB67B6D43B97430C37AE65F7A05E78E358F2B6A95);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralBB8F0908585792018E468F1010A23CFD167A686C);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE2666F1B1EF39D348E39EC6CC2DDE8F96EBEEA0E);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * V_1 = NULL;
bool V_2 = false;
bool V_3 = false;
bool V_4 = false;
bool V_5 = false;
bool V_6 = false;
bool V_7 = false;
bool V_8 = false;
bool V_9 = false;
bool V_10 = false;
bool V_11 = false;
bool V_12 = false;
bool V_13 = false;
bool V_14 = false;
bool V_15 = false;
bool V_16 = false;
bool V_17 = false;
Type_t * G_B23_0 = NULL;
String_t* G_B23_1 = NULL;
Type_t * G_B22_0 = NULL;
String_t* G_B22_1 = NULL;
String_t* G_B24_0 = NULL;
String_t* G_B24_1 = NULL;
Type_t * G_B39_0 = NULL;
String_t* G_B39_1 = NULL;
Type_t * G_B38_0 = NULL;
String_t* G_B38_1 = NULL;
String_t* G_B40_0 = NULL;
String_t* G_B40_1 = NULL;
{
RuntimeObject * L_0 = ___obj0;
V_0 = (bool)((((RuntimeObject*)(RuntimeObject *)L_0) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_1 = V_0;
if (!L_1)
{
goto IL_0010;
}
}
{
V_1 = (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *)NULL;
goto IL_0310;
}
IL_0010:
{
RuntimeObject * L_2 = ___obj0;
NullCheck(L_2);
Type_t * L_3;
L_3 = Object_GetType_m571FE8360C10B98C23AAF1F066D92C08CC94F45B(L_2, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var);
bool L_4;
L_4 = AndroidReflection_IsPrimitive_mDD6A4050793DF2FA1EDF58010982C64A3F17376D(L_3, /*hidden argument*/NULL);
V_2 = L_4;
bool L_5 = V_2;
if (!L_5)
{
goto IL_0213;
}
}
{
RuntimeObject * L_6 = ___obj0;
V_3 = (bool)((!(((RuntimeObject*)(RuntimeObject *)((RuntimeObject *)IsInstSealed((RuntimeObject*)L_6, Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var))) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_7 = V_3;
if (!L_7)
{
goto IL_0054;
}
}
{
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_8 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)1);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_9 = L_8;
RuntimeObject * L_10 = ___obj0;
int32_t L_11 = ((*(int32_t*)((int32_t*)UnBox(L_10, Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var))));
RuntimeObject * L_12 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_11);
NullCheck(L_9);
ArrayElementTypeCheck (L_9, L_12);
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_12);
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_13 = (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *)il2cpp_codegen_object_new(AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var);
AndroidJavaObject__ctor_m6146DBD19BCFFDB3D4F42C8D38491F354B58B001(L_13, _stringLiteralE2666F1B1EF39D348E39EC6CC2DDE8F96EBEEA0E, L_9, /*hidden argument*/NULL);
V_1 = L_13;
goto IL_0310;
}
IL_0054:
{
RuntimeObject * L_14 = ___obj0;
V_4 = (bool)((!(((RuntimeObject*)(RuntimeObject *)((RuntimeObject *)IsInstSealed((RuntimeObject*)L_14, Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_il2cpp_TypeInfo_var))) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_15 = V_4;
if (!L_15)
{
goto IL_0087;
}
}
{
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_16 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)1);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_17 = L_16;
RuntimeObject * L_18 = ___obj0;
bool L_19 = ((*(bool*)((bool*)UnBox(L_18, Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_il2cpp_TypeInfo_var))));
RuntimeObject * L_20 = Box(Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_il2cpp_TypeInfo_var, &L_19);
NullCheck(L_17);
ArrayElementTypeCheck (L_17, L_20);
(L_17)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_20);
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_21 = (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *)il2cpp_codegen_object_new(AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var);
AndroidJavaObject__ctor_m6146DBD19BCFFDB3D4F42C8D38491F354B58B001(L_21, _stringLiteral1C58321BD3C0DE4662E8E68A19634DEAC58F3251, L_17, /*hidden argument*/NULL);
V_1 = L_21;
goto IL_0310;
}
IL_0087:
{
RuntimeObject * L_22 = ___obj0;
V_5 = (bool)((!(((RuntimeObject*)(RuntimeObject *)((RuntimeObject *)IsInstSealed((RuntimeObject*)L_22, Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_il2cpp_TypeInfo_var))) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_23 = V_5;
if (!L_23)
{
goto IL_00ba;
}
}
{
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_24 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)1);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_25 = L_24;
RuntimeObject * L_26 = ___obj0;
int8_t L_27 = ((*(int8_t*)((int8_t*)UnBox(L_26, SByte_t928712DD662DC29BA4FAAE8CE2230AFB23447F0B_il2cpp_TypeInfo_var))));
RuntimeObject * L_28 = Box(SByte_t928712DD662DC29BA4FAAE8CE2230AFB23447F0B_il2cpp_TypeInfo_var, &L_27);
NullCheck(L_25);
ArrayElementTypeCheck (L_25, L_28);
(L_25)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_28);
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_29 = (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *)il2cpp_codegen_object_new(AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var);
AndroidJavaObject__ctor_m6146DBD19BCFFDB3D4F42C8D38491F354B58B001(L_29, _stringLiteral3869C7DBCD094A6000BF07A9FAC6332A50AEEFBE, L_25, /*hidden argument*/NULL);
V_1 = L_29;
goto IL_0310;
}
IL_00ba:
{
RuntimeObject * L_30 = ___obj0;
V_6 = (bool)((!(((RuntimeObject*)(RuntimeObject *)((RuntimeObject *)IsInstSealed((RuntimeObject*)L_30, SByte_t928712DD662DC29BA4FAAE8CE2230AFB23447F0B_il2cpp_TypeInfo_var))) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_31 = V_6;
if (!L_31)
{
goto IL_00ed;
}
}
{
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_32 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)1);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_33 = L_32;
RuntimeObject * L_34 = ___obj0;
int8_t L_35 = ((*(int8_t*)((int8_t*)UnBox(L_34, SByte_t928712DD662DC29BA4FAAE8CE2230AFB23447F0B_il2cpp_TypeInfo_var))));
RuntimeObject * L_36 = Box(SByte_t928712DD662DC29BA4FAAE8CE2230AFB23447F0B_il2cpp_TypeInfo_var, &L_35);
NullCheck(L_33);
ArrayElementTypeCheck (L_33, L_36);
(L_33)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_36);
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_37 = (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *)il2cpp_codegen_object_new(AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var);
AndroidJavaObject__ctor_m6146DBD19BCFFDB3D4F42C8D38491F354B58B001(L_37, _stringLiteral3869C7DBCD094A6000BF07A9FAC6332A50AEEFBE, L_33, /*hidden argument*/NULL);
V_1 = L_37;
goto IL_0310;
}
IL_00ed:
{
RuntimeObject * L_38 = ___obj0;
V_7 = (bool)((!(((RuntimeObject*)(RuntimeObject *)((RuntimeObject *)IsInstSealed((RuntimeObject*)L_38, Int16_tD0F031114106263BB459DA1F099FF9F42691295A_il2cpp_TypeInfo_var))) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_39 = V_7;
if (!L_39)
{
goto IL_0120;
}
}
{
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_40 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)1);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_41 = L_40;
RuntimeObject * L_42 = ___obj0;
int16_t L_43 = ((*(int16_t*)((int16_t*)UnBox(L_42, Int16_tD0F031114106263BB459DA1F099FF9F42691295A_il2cpp_TypeInfo_var))));
RuntimeObject * L_44 = Box(Int16_tD0F031114106263BB459DA1F099FF9F42691295A_il2cpp_TypeInfo_var, &L_43);
NullCheck(L_41);
ArrayElementTypeCheck (L_41, L_44);
(L_41)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_44);
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_45 = (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *)il2cpp_codegen_object_new(AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var);
AndroidJavaObject__ctor_m6146DBD19BCFFDB3D4F42C8D38491F354B58B001(L_45, _stringLiteral70E7C8827E971A1A7DEECE0C662165AF9F4E8845, L_41, /*hidden argument*/NULL);
V_1 = L_45;
goto IL_0310;
}
IL_0120:
{
RuntimeObject * L_46 = ___obj0;
V_8 = (bool)((!(((RuntimeObject*)(RuntimeObject *)((RuntimeObject *)IsInstSealed((RuntimeObject*)L_46, Int64_t378EE0D608BD3107E77238E85F30D2BBD46981F3_il2cpp_TypeInfo_var))) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_47 = V_8;
if (!L_47)
{
goto IL_0153;
}
}
{
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_48 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)1);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_49 = L_48;
RuntimeObject * L_50 = ___obj0;
int64_t L_51 = ((*(int64_t*)((int64_t*)UnBox(L_50, Int64_t378EE0D608BD3107E77238E85F30D2BBD46981F3_il2cpp_TypeInfo_var))));
RuntimeObject * L_52 = Box(Int64_t378EE0D608BD3107E77238E85F30D2BBD46981F3_il2cpp_TypeInfo_var, &L_51);
NullCheck(L_49);
ArrayElementTypeCheck (L_49, L_52);
(L_49)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_52);
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_53 = (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *)il2cpp_codegen_object_new(AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var);
AndroidJavaObject__ctor_m6146DBD19BCFFDB3D4F42C8D38491F354B58B001(L_53, _stringLiteral8D72771221931EA82C15C15FDE3ED02FC39BD069, L_49, /*hidden argument*/NULL);
V_1 = L_53;
goto IL_0310;
}
IL_0153:
{
RuntimeObject * L_54 = ___obj0;
V_9 = (bool)((!(((RuntimeObject*)(RuntimeObject *)((RuntimeObject *)IsInstSealed((RuntimeObject*)L_54, Single_tE07797BA3C98D4CA9B5A19413C19A76688AB899E_il2cpp_TypeInfo_var))) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_55 = V_9;
if (!L_55)
{
goto IL_0186;
}
}
{
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_56 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)1);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_57 = L_56;
RuntimeObject * L_58 = ___obj0;
float L_59 = ((*(float*)((float*)UnBox(L_58, Single_tE07797BA3C98D4CA9B5A19413C19A76688AB899E_il2cpp_TypeInfo_var))));
RuntimeObject * L_60 = Box(Single_tE07797BA3C98D4CA9B5A19413C19A76688AB899E_il2cpp_TypeInfo_var, &L_59);
NullCheck(L_57);
ArrayElementTypeCheck (L_57, L_60);
(L_57)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_60);
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_61 = (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *)il2cpp_codegen_object_new(AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var);
AndroidJavaObject__ctor_m6146DBD19BCFFDB3D4F42C8D38491F354B58B001(L_61, _stringLiteral0A06530F3DEED5B3FCAB0F2A287E32BD8B25F2D4, L_57, /*hidden argument*/NULL);
V_1 = L_61;
goto IL_0310;
}
IL_0186:
{
RuntimeObject * L_62 = ___obj0;
V_10 = (bool)((!(((RuntimeObject*)(RuntimeObject *)((RuntimeObject *)IsInstSealed((RuntimeObject*)L_62, Double_t42821932CB52DE2057E685D0E1AF3DE5033D2181_il2cpp_TypeInfo_var))) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_63 = V_10;
if (!L_63)
{
goto IL_01b9;
}
}
{
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_64 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)1);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_65 = L_64;
RuntimeObject * L_66 = ___obj0;
double L_67 = ((*(double*)((double*)UnBox(L_66, Double_t42821932CB52DE2057E685D0E1AF3DE5033D2181_il2cpp_TypeInfo_var))));
RuntimeObject * L_68 = Box(Double_t42821932CB52DE2057E685D0E1AF3DE5033D2181_il2cpp_TypeInfo_var, &L_67);
NullCheck(L_65);
ArrayElementTypeCheck (L_65, L_68);
(L_65)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_68);
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_69 = (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *)il2cpp_codegen_object_new(AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var);
AndroidJavaObject__ctor_m6146DBD19BCFFDB3D4F42C8D38491F354B58B001(L_69, _stringLiteralBB8F0908585792018E468F1010A23CFD167A686C, L_65, /*hidden argument*/NULL);
V_1 = L_69;
goto IL_0310;
}
IL_01b9:
{
RuntimeObject * L_70 = ___obj0;
V_11 = (bool)((!(((RuntimeObject*)(RuntimeObject *)((RuntimeObject *)IsInstSealed((RuntimeObject*)L_70, Char_tFF60D8E7E89A20BE2294A003734341BD1DF43E14_il2cpp_TypeInfo_var))) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_71 = V_11;
if (!L_71)
{
goto IL_01ec;
}
}
{
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_72 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)1);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_73 = L_72;
RuntimeObject * L_74 = ___obj0;
Il2CppChar L_75 = ((*(Il2CppChar*)((Il2CppChar*)UnBox(L_74, Char_tFF60D8E7E89A20BE2294A003734341BD1DF43E14_il2cpp_TypeInfo_var))));
RuntimeObject * L_76 = Box(Char_tFF60D8E7E89A20BE2294A003734341BD1DF43E14_il2cpp_TypeInfo_var, &L_75);
NullCheck(L_73);
ArrayElementTypeCheck (L_73, L_76);
(L_73)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_76);
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_77 = (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *)il2cpp_codegen_object_new(AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var);
AndroidJavaObject__ctor_m6146DBD19BCFFDB3D4F42C8D38491F354B58B001(L_77, _stringLiteralB67B6D43B97430C37AE65F7A05E78E358F2B6A95, L_73, /*hidden argument*/NULL);
V_1 = L_77;
goto IL_0310;
}
IL_01ec:
{
RuntimeObject * L_78 = ___obj0;
NullCheck(L_78);
Type_t * L_79;
L_79 = Object_GetType_m571FE8360C10B98C23AAF1F066D92C08CC94F45B(L_78, /*hidden argument*/NULL);
Type_t * L_80 = L_79;
G_B22_0 = L_80;
G_B22_1 = ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralAED680D6EF3BE92ADBBED1552BB70280D27D120B));
if (L_80)
{
G_B23_0 = L_80;
G_B23_1 = ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralAED680D6EF3BE92ADBBED1552BB70280D27D120B));
goto IL_01fe;
}
}
{
G_B24_0 = ((String_t*)(NULL));
G_B24_1 = G_B22_1;
goto IL_0203;
}
IL_01fe:
{
NullCheck(G_B23_0);
String_t* L_81;
L_81 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, G_B23_0);
G_B24_0 = L_81;
G_B24_1 = G_B23_1;
}
IL_0203:
{
String_t* L_82;
L_82 = String_Concat_m89EAB4C6A96B0E5C3F87300D6BE78D386B9EFC44(G_B24_1, G_B24_0, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral42646B33B50B6AA15E22733C8900716F0FE19E1D)), /*hidden argument*/NULL);
Exception_t * L_83 = (Exception_t *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)));
Exception__ctor_m8ECDE8ACA7F2E0EF1144BD1200FB5DB2870B5F11(L_83, L_82, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_83, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_AndroidJNIHelper_Box_m36D8F62AEE89925F24BEB84DD91A5FF771255E28_RuntimeMethod_var)));
}
IL_0213:
{
RuntimeObject * L_84 = ___obj0;
V_12 = (bool)((!(((RuntimeObject*)(String_t*)((String_t*)IsInstSealed((RuntimeObject*)L_84, String_t_il2cpp_TypeInfo_var))) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_85 = V_12;
if (!L_85)
{
goto IL_0242;
}
}
{
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_86 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)1);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_87 = L_86;
RuntimeObject * L_88 = ___obj0;
NullCheck(L_87);
ArrayElementTypeCheck (L_87, ((String_t*)CastclassSealed((RuntimeObject*)L_88, String_t_il2cpp_TypeInfo_var)));
(L_87)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)((String_t*)CastclassSealed((RuntimeObject*)L_88, String_t_il2cpp_TypeInfo_var)));
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_89 = (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *)il2cpp_codegen_object_new(AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var);
AndroidJavaObject__ctor_m6146DBD19BCFFDB3D4F42C8D38491F354B58B001(L_89, _stringLiteral6139DAA93E5F3831FAE16E66A26D39B54342887C, L_87, /*hidden argument*/NULL);
V_1 = L_89;
goto IL_0310;
}
IL_0242:
{
RuntimeObject * L_90 = ___obj0;
V_13 = (bool)((!(((RuntimeObject*)(AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 *)((AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 *)IsInstClass((RuntimeObject*)L_90, AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4_il2cpp_TypeInfo_var))) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_91 = V_13;
if (!L_91)
{
goto IL_0268;
}
}
{
RuntimeObject * L_92 = ___obj0;
NullCheck(((AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 *)CastclassClass((RuntimeObject*)L_92, AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4_il2cpp_TypeInfo_var)));
intptr_t L_93;
L_93 = AndroidJavaObject_GetRawClass_m051337FD2D7C0E765641B192D86FF4A06257836B(((AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 *)CastclassClass((RuntimeObject*)L_92, AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_94 = (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *)il2cpp_codegen_object_new(AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var);
AndroidJavaObject__ctor_m880F6533139DF0BD36C6EF428E45E9F44B6534A3(L_94, (intptr_t)L_93, /*hidden argument*/NULL);
V_1 = L_94;
goto IL_0310;
}
IL_0268:
{
RuntimeObject * L_95 = ___obj0;
V_14 = (bool)((!(((RuntimeObject*)(AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *)((AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *)IsInstClass((RuntimeObject*)L_95, AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var))) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_96 = V_14;
if (!L_96)
{
goto IL_0284;
}
}
{
RuntimeObject * L_97 = ___obj0;
V_1 = ((AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *)CastclassClass((RuntimeObject*)L_97, AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var));
goto IL_0310;
}
IL_0284:
{
RuntimeObject * L_98 = ___obj0;
V_15 = (bool)((!(((RuntimeObject*)(RuntimeArray *)((RuntimeArray *)IsInstClass((RuntimeObject*)L_98, RuntimeArray_il2cpp_TypeInfo_var))) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_99 = V_15;
if (!L_99)
{
goto IL_02a7;
}
}
{
RuntimeObject * L_100 = ___obj0;
intptr_t L_101;
L_101 = _AndroidJNIHelper_ConvertToJNIArray_m8254063CFA125088D840280AEF8C2ACF1B1ED4D9(((RuntimeArray *)CastclassClass((RuntimeObject*)L_100, RuntimeArray_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var);
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_102;
L_102 = AndroidJavaObject_AndroidJavaObjectDeleteLocalRef_mB977696EA6F6BB6369A8F783EFB5D99C445C11FD((intptr_t)L_101, /*hidden argument*/NULL);
V_1 = L_102;
goto IL_0310;
}
IL_02a7:
{
RuntimeObject * L_103 = ___obj0;
V_16 = (bool)((!(((RuntimeObject*)(AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF *)((AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF *)IsInstClass((RuntimeObject*)L_103, AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF_il2cpp_TypeInfo_var))) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_104 = V_16;
if (!L_104)
{
goto IL_02c5;
}
}
{
RuntimeObject * L_105 = ___obj0;
NullCheck(((AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF *)CastclassClass((RuntimeObject*)L_105, AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF_il2cpp_TypeInfo_var)));
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_106;
L_106 = AndroidJavaProxy_GetProxyObject_mEDC1D96AAE0A4FC2B4E57E1FC3AE5C47C27FDC6A(((AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF *)CastclassClass((RuntimeObject*)L_105, AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
V_1 = L_106;
goto IL_0310;
}
IL_02c5:
{
RuntimeObject * L_107 = ___obj0;
V_17 = (bool)((!(((RuntimeObject*)(AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60 *)((AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60 *)IsInstSealed((RuntimeObject*)L_107, AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60_il2cpp_TypeInfo_var))) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_108 = V_17;
if (!L_108)
{
goto IL_02e8;
}
}
{
RuntimeObject * L_109 = ___obj0;
intptr_t L_110;
L_110 = AndroidJNIHelper_CreateJavaRunnable_m789E333B57BE23010719477567A818C88A529153(((AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60 *)CastclassSealed((RuntimeObject*)L_109, AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var);
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_111;
L_111 = AndroidJavaObject_AndroidJavaObjectDeleteLocalRef_mB977696EA6F6BB6369A8F783EFB5D99C445C11FD((intptr_t)L_110, /*hidden argument*/NULL);
V_1 = L_111;
goto IL_0310;
}
IL_02e8:
{
RuntimeObject * L_112 = ___obj0;
NullCheck(L_112);
Type_t * L_113;
L_113 = Object_GetType_m571FE8360C10B98C23AAF1F066D92C08CC94F45B(L_112, /*hidden argument*/NULL);
Type_t * L_114 = L_113;
G_B38_0 = L_114;
G_B38_1 = ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralAED680D6EF3BE92ADBBED1552BB70280D27D120B));
if (L_114)
{
G_B39_0 = L_114;
G_B39_1 = ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralAED680D6EF3BE92ADBBED1552BB70280D27D120B));
goto IL_02fb;
}
}
{
G_B40_0 = ((String_t*)(NULL));
G_B40_1 = G_B38_1;
goto IL_0300;
}
IL_02fb:
{
NullCheck(G_B39_0);
String_t* L_115;
L_115 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, G_B39_0);
G_B40_0 = L_115;
G_B40_1 = G_B39_1;
}
IL_0300:
{
String_t* L_116;
L_116 = String_Concat_m89EAB4C6A96B0E5C3F87300D6BE78D386B9EFC44(G_B40_1, G_B40_0, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral42646B33B50B6AA15E22733C8900716F0FE19E1D)), /*hidden argument*/NULL);
Exception_t * L_117 = (Exception_t *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)));
Exception__ctor_m8ECDE8ACA7F2E0EF1144BD1200FB5DB2870B5F11(L_117, L_116, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_117, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_AndroidJNIHelper_Box_m36D8F62AEE89925F24BEB84DD91A5FF771255E28_RuntimeMethod_var)));
}
IL_0310:
{
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_118 = V_1;
return L_118;
}
}
// System.Void UnityEngine._AndroidJNIHelper::DeleteJNIArgArray(System.Object[],UnityEngine.jvalue[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void _AndroidJNIHelper_DeleteJNIArgArray_m1ECC70D98768BD3E5C6C6EABC1162F43B297AD85 (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args0, jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* ___jniArgs1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RuntimeArray_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&String_t_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* V_1 = NULL;
int32_t V_2 = 0;
RuntimeObject * V_3 = NULL;
bool V_4 = false;
int32_t G_B5_0 = 0;
{
V_0 = 0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_0 = ___args0;
V_1 = L_0;
V_2 = 0;
goto IL_004c;
}
IL_000a:
{
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_1 = V_1;
int32_t L_2 = V_2;
NullCheck(L_1);
int32_t L_3 = L_2;
RuntimeObject * L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
V_3 = L_4;
RuntimeObject * L_5 = V_3;
if (((String_t*)IsInstSealed((RuntimeObject*)L_5, String_t_il2cpp_TypeInfo_var)))
{
goto IL_002a;
}
}
{
RuntimeObject * L_6 = V_3;
if (((AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60 *)IsInstSealed((RuntimeObject*)L_6, AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60_il2cpp_TypeInfo_var)))
{
goto IL_002a;
}
}
{
RuntimeObject * L_7 = V_3;
G_B5_0 = ((!(((RuntimeObject*)(RuntimeArray *)((RuntimeArray *)IsInstClass((RuntimeObject*)L_7, RuntimeArray_il2cpp_TypeInfo_var))) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
goto IL_002b;
}
IL_002a:
{
G_B5_0 = 1;
}
IL_002b:
{
V_4 = (bool)G_B5_0;
bool L_8 = V_4;
if (!L_8)
{
goto IL_0043;
}
}
{
jvalueU5BU5D_t0F8734CC5E629CAA0CBCB817A913EC6B9220EE99* L_9 = ___jniArgs1;
int32_t L_10 = V_0;
NullCheck(L_9);
intptr_t L_11 = ((L_9)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_10)))->get_l_8();
AndroidJNISafe_DeleteLocalRef_m7AB242A76D13A3BF4C04831D77960C020D6ADA39((intptr_t)L_11, /*hidden argument*/NULL);
}
IL_0043:
{
int32_t L_12 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1));
int32_t L_13 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_13, (int32_t)1));
}
IL_004c:
{
int32_t L_14 = V_2;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_15 = V_1;
NullCheck(L_15);
if ((((int32_t)L_14) < ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_15)->max_length))))))
{
goto IL_000a;
}
}
{
return;
}
}
// System.IntPtr UnityEngine._AndroidJNIHelper::ConvertToJNIArray(System.Array)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t _AndroidJNIHelper_ConvertToJNIArray_m8254063CFA125088D840280AEF8C2ACF1B1ED4D9 (RuntimeArray * ___array0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObjectU5BU5D_tEE28563C9013906CEB39794019A55F4BA5B06120_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_0_0_0_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_0_0_0_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_0_0_0_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Char_tFF60D8E7E89A20BE2294A003734341BD1DF43E14_0_0_0_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DoubleU5BU5D_t8E1B42EB2ABB79FBD193A6B8C8D97A7CDE44A4FB_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Double_t42821932CB52DE2057E685D0E1AF3DE5033D2181_0_0_0_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int16_tD0F031114106263BB459DA1F099FF9F42691295A_0_0_0_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_0_0_0_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int64U5BU5D_tCA61E42872C63A4286B24EEE6E0650143B43DCE6_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int64_t378EE0D608BD3107E77238E85F30D2BBD46981F3_0_0_0_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IntPtr_t_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SByteU5BU5D_t7D94C53295E6116625EA7CC7DEA21FEDC39869E7_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SByte_t928712DD662DC29BA4FAAE8CE2230AFB23447F0B_0_0_0_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Single_tE07797BA3C98D4CA9B5A19413C19A76688AB899E_0_0_0_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&String_t_0_0_0_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Type_t_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral6F7F7B4F6009074DEBEA1316DB8BDEC4E57CA185);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral831D7CED62F1BBB173BA1CEEEB6F169BFC6B02A3);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral94DFCFD5DDE6D7CBBBB5D3176A4B2A5C7CD26D8E);
s_Il2CppMethodInitialized = true;
}
Type_t * V_0 = NULL;
bool V_1 = false;
bool V_2 = false;
intptr_t V_3;
memset((&V_3), 0, sizeof(V_3));
bool V_4 = false;
bool V_5 = false;
bool V_6 = false;
bool V_7 = false;
bool V_8 = false;
bool V_9 = false;
bool V_10 = false;
bool V_11 = false;
bool V_12 = false;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* V_13 = NULL;
int32_t V_14 = 0;
intptr_t V_15;
memset((&V_15), 0, sizeof(V_15));
intptr_t V_16;
memset((&V_16), 0, sizeof(V_16));
int32_t V_17 = 0;
intptr_t V_18;
memset((&V_18), 0, sizeof(V_18));
bool V_19 = false;
bool V_20 = false;
AndroidJavaObjectU5BU5D_tEE28563C9013906CEB39794019A55F4BA5B06120* V_21 = NULL;
int32_t V_22 = 0;
IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6* V_23 = NULL;
intptr_t V_24;
memset((&V_24), 0, sizeof(V_24));
intptr_t V_25;
memset((&V_25), 0, sizeof(V_25));
intptr_t V_26;
memset((&V_26), 0, sizeof(V_26));
int32_t V_27 = 0;
bool V_28 = false;
intptr_t V_29;
memset((&V_29), 0, sizeof(V_29));
bool V_30 = false;
bool V_31 = false;
bool V_32 = false;
Type_t * G_B40_0 = NULL;
String_t* G_B40_1 = NULL;
Type_t * G_B39_0 = NULL;
String_t* G_B39_1 = NULL;
String_t* G_B41_0 = NULL;
String_t* G_B41_1 = NULL;
{
RuntimeArray * L_0 = ___array0;
NullCheck(L_0);
Type_t * L_1;
L_1 = Object_GetType_m571FE8360C10B98C23AAF1F066D92C08CC94F45B(L_0, /*hidden argument*/NULL);
NullCheck(L_1);
Type_t * L_2;
L_2 = VirtFuncInvoker0< Type_t * >::Invoke(96 /* System.Type System.Type::GetElementType() */, L_1);
V_0 = L_2;
Type_t * L_3 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var);
bool L_4;
L_4 = AndroidReflection_IsPrimitive_mDD6A4050793DF2FA1EDF58010982C64A3F17376D(L_3, /*hidden argument*/NULL);
V_1 = L_4;
bool L_5 = V_1;
if (!L_5)
{
goto IL_016f;
}
}
{
Type_t * L_6 = V_0;
RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 L_7 = { reinterpret_cast<intptr_t> (Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_8;
L_8 = Type_GetTypeFromHandle_m8BB57524FF7F9DB1803BC561D2B3A4DBACEB385E(L_7, /*hidden argument*/NULL);
V_2 = (bool)((((RuntimeObject*)(Type_t *)L_6) == ((RuntimeObject*)(Type_t *)L_8))? 1 : 0);
bool L_9 = V_2;
if (!L_9)
{
goto IL_003d;
}
}
{
RuntimeArray * L_10 = ___array0;
intptr_t L_11;
L_11 = AndroidJNISafe_ToIntArray_mD2FB6E5F31F6FD8A12DD3E86E1022EC14AFF5D0C(((Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32*)Castclass((RuntimeObject*)L_10, Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
V_3 = (intptr_t)L_11;
goto IL_0303;
}
IL_003d:
{
Type_t * L_12 = V_0;
RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 L_13 = { reinterpret_cast<intptr_t> (Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_14;
L_14 = Type_GetTypeFromHandle_m8BB57524FF7F9DB1803BC561D2B3A4DBACEB385E(L_13, /*hidden argument*/NULL);
V_4 = (bool)((((RuntimeObject*)(Type_t *)L_12) == ((RuntimeObject*)(Type_t *)L_14))? 1 : 0);
bool L_15 = V_4;
if (!L_15)
{
goto IL_0061;
}
}
{
RuntimeArray * L_16 = ___array0;
intptr_t L_17;
L_17 = AndroidJNISafe_ToBooleanArray_m2298F4521FD7F175F15B30FF7887D365BD1543BB(((BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C*)Castclass((RuntimeObject*)L_16, BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
V_3 = (intptr_t)L_17;
goto IL_0303;
}
IL_0061:
{
Type_t * L_18 = V_0;
RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 L_19 = { reinterpret_cast<intptr_t> (Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_20;
L_20 = Type_GetTypeFromHandle_m8BB57524FF7F9DB1803BC561D2B3A4DBACEB385E(L_19, /*hidden argument*/NULL);
V_5 = (bool)((((RuntimeObject*)(Type_t *)L_18) == ((RuntimeObject*)(Type_t *)L_20))? 1 : 0);
bool L_21 = V_5;
if (!L_21)
{
goto IL_0091;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
Debug_LogWarning_m24085D883C9E74D7AB423F0625E13259923960E7(_stringLiteral831D7CED62F1BBB173BA1CEEEB6F169BFC6B02A3, /*hidden argument*/NULL);
RuntimeArray * L_22 = ___array0;
intptr_t L_23;
L_23 = AndroidJNISafe_ToByteArray_mCA96D852C39F79F57A8B68B8B03AF9EC795EA6D9(((ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)Castclass((RuntimeObject*)L_22, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
V_3 = (intptr_t)L_23;
goto IL_0303;
}
IL_0091:
{
Type_t * L_24 = V_0;
RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 L_25 = { reinterpret_cast<intptr_t> (SByte_t928712DD662DC29BA4FAAE8CE2230AFB23447F0B_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_26;
L_26 = Type_GetTypeFromHandle_m8BB57524FF7F9DB1803BC561D2B3A4DBACEB385E(L_25, /*hidden argument*/NULL);
V_6 = (bool)((((RuntimeObject*)(Type_t *)L_24) == ((RuntimeObject*)(Type_t *)L_26))? 1 : 0);
bool L_27 = V_6;
if (!L_27)
{
goto IL_00b5;
}
}
{
RuntimeArray * L_28 = ___array0;
intptr_t L_29;
L_29 = AndroidJNISafe_ToSByteArray_m6C05420E192FBA37D7B168EC98BE04F56492087B(((SByteU5BU5D_t7D94C53295E6116625EA7CC7DEA21FEDC39869E7*)Castclass((RuntimeObject*)L_28, SByteU5BU5D_t7D94C53295E6116625EA7CC7DEA21FEDC39869E7_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
V_3 = (intptr_t)L_29;
goto IL_0303;
}
IL_00b5:
{
Type_t * L_30 = V_0;
RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 L_31 = { reinterpret_cast<intptr_t> (Int16_tD0F031114106263BB459DA1F099FF9F42691295A_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_32;
L_32 = Type_GetTypeFromHandle_m8BB57524FF7F9DB1803BC561D2B3A4DBACEB385E(L_31, /*hidden argument*/NULL);
V_7 = (bool)((((RuntimeObject*)(Type_t *)L_30) == ((RuntimeObject*)(Type_t *)L_32))? 1 : 0);
bool L_33 = V_7;
if (!L_33)
{
goto IL_00d9;
}
}
{
RuntimeArray * L_34 = ___array0;
intptr_t L_35;
L_35 = AndroidJNISafe_ToShortArray_m52204D9DB65374293E9D6954A2C9C4D47B4396D1(((Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD*)Castclass((RuntimeObject*)L_34, Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
V_3 = (intptr_t)L_35;
goto IL_0303;
}
IL_00d9:
{
Type_t * L_36 = V_0;
RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 L_37 = { reinterpret_cast<intptr_t> (Int64_t378EE0D608BD3107E77238E85F30D2BBD46981F3_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_38;
L_38 = Type_GetTypeFromHandle_m8BB57524FF7F9DB1803BC561D2B3A4DBACEB385E(L_37, /*hidden argument*/NULL);
V_8 = (bool)((((RuntimeObject*)(Type_t *)L_36) == ((RuntimeObject*)(Type_t *)L_38))? 1 : 0);
bool L_39 = V_8;
if (!L_39)
{
goto IL_00fd;
}
}
{
RuntimeArray * L_40 = ___array0;
intptr_t L_41;
L_41 = AndroidJNISafe_ToLongArray_m0C3D6AD8D2D116C3F11AECD5317AC01EABE16727(((Int64U5BU5D_tCA61E42872C63A4286B24EEE6E0650143B43DCE6*)Castclass((RuntimeObject*)L_40, Int64U5BU5D_tCA61E42872C63A4286B24EEE6E0650143B43DCE6_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
V_3 = (intptr_t)L_41;
goto IL_0303;
}
IL_00fd:
{
Type_t * L_42 = V_0;
RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 L_43 = { reinterpret_cast<intptr_t> (Single_tE07797BA3C98D4CA9B5A19413C19A76688AB899E_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_44;
L_44 = Type_GetTypeFromHandle_m8BB57524FF7F9DB1803BC561D2B3A4DBACEB385E(L_43, /*hidden argument*/NULL);
V_9 = (bool)((((RuntimeObject*)(Type_t *)L_42) == ((RuntimeObject*)(Type_t *)L_44))? 1 : 0);
bool L_45 = V_9;
if (!L_45)
{
goto IL_0121;
}
}
{
RuntimeArray * L_46 = ___array0;
intptr_t L_47;
L_47 = AndroidJNISafe_ToFloatArray_m28D93667CB9E86FE20D0FC8B372BE26CEE9D8A19(((SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA*)Castclass((RuntimeObject*)L_46, SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
V_3 = (intptr_t)L_47;
goto IL_0303;
}
IL_0121:
{
Type_t * L_48 = V_0;
RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 L_49 = { reinterpret_cast<intptr_t> (Double_t42821932CB52DE2057E685D0E1AF3DE5033D2181_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_50;
L_50 = Type_GetTypeFromHandle_m8BB57524FF7F9DB1803BC561D2B3A4DBACEB385E(L_49, /*hidden argument*/NULL);
V_10 = (bool)((((RuntimeObject*)(Type_t *)L_48) == ((RuntimeObject*)(Type_t *)L_50))? 1 : 0);
bool L_51 = V_10;
if (!L_51)
{
goto IL_0145;
}
}
{
RuntimeArray * L_52 = ___array0;
intptr_t L_53;
L_53 = AndroidJNISafe_ToDoubleArray_m0273BA7E9FBD2216215EBD176C8F329973BA53E0(((DoubleU5BU5D_t8E1B42EB2ABB79FBD193A6B8C8D97A7CDE44A4FB*)Castclass((RuntimeObject*)L_52, DoubleU5BU5D_t8E1B42EB2ABB79FBD193A6B8C8D97A7CDE44A4FB_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
V_3 = (intptr_t)L_53;
goto IL_0303;
}
IL_0145:
{
Type_t * L_54 = V_0;
RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 L_55 = { reinterpret_cast<intptr_t> (Char_tFF60D8E7E89A20BE2294A003734341BD1DF43E14_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_56;
L_56 = Type_GetTypeFromHandle_m8BB57524FF7F9DB1803BC561D2B3A4DBACEB385E(L_55, /*hidden argument*/NULL);
V_11 = (bool)((((RuntimeObject*)(Type_t *)L_54) == ((RuntimeObject*)(Type_t *)L_56))? 1 : 0);
bool L_57 = V_11;
if (!L_57)
{
goto IL_0169;
}
}
{
RuntimeArray * L_58 = ___array0;
intptr_t L_59;
L_59 = AndroidJNISafe_ToCharArray_mC1083C57846830CFA1A7CFFE5BE92F3B826FAC1D(((CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34*)Castclass((RuntimeObject*)L_58, CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
V_3 = (intptr_t)L_59;
goto IL_0303;
}
IL_0169:
{
goto IL_02fb;
}
IL_016f:
{
Type_t * L_60 = V_0;
RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 L_61 = { reinterpret_cast<intptr_t> (String_t_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_62;
L_62 = Type_GetTypeFromHandle_m8BB57524FF7F9DB1803BC561D2B3A4DBACEB385E(L_61, /*hidden argument*/NULL);
V_12 = (bool)((((RuntimeObject*)(Type_t *)L_60) == ((RuntimeObject*)(Type_t *)L_62))? 1 : 0);
bool L_63 = V_12;
if (!L_63)
{
goto IL_01f9;
}
}
{
RuntimeArray * L_64 = ___array0;
V_13 = ((StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)Castclass((RuntimeObject*)L_64, StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var));
RuntimeArray * L_65 = ___array0;
NullCheck(L_65);
int32_t L_66;
L_66 = Array_GetLength_m8EF840DA7BEB0DFF04D36C3DC651B673C49A02BB(L_65, 0, /*hidden argument*/NULL);
V_14 = L_66;
intptr_t L_67;
L_67 = AndroidJNISafe_FindClass_mD96E72414A78F50B07019D26B87A93799D85BB0A(_stringLiteral6F7F7B4F6009074DEBEA1316DB8BDEC4E57CA185, /*hidden argument*/NULL);
V_15 = (intptr_t)L_67;
int32_t L_68 = V_14;
intptr_t L_69 = V_15;
intptr_t L_70;
L_70 = AndroidJNI_NewObjectArray_m40592BC65B199B1AAE32F2682D8E9236E07929EE(L_68, (intptr_t)L_69, (intptr_t)(0), /*hidden argument*/NULL);
V_16 = (intptr_t)L_70;
V_17 = 0;
goto IL_01dd;
}
IL_01b5:
{
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_71 = V_13;
int32_t L_72 = V_17;
NullCheck(L_71);
int32_t L_73 = L_72;
String_t* L_74 = (L_71)->GetAt(static_cast<il2cpp_array_size_t>(L_73));
intptr_t L_75;
L_75 = AndroidJNISafe_NewString_m5F5B2B700BDE2D0D1D105687D4ACC9567CEE7A23(L_74, /*hidden argument*/NULL);
V_18 = (intptr_t)L_75;
intptr_t L_76 = V_16;
int32_t L_77 = V_17;
intptr_t L_78 = V_18;
AndroidJNI_SetObjectArrayElement_m1C6E498550EF9FCA24DBD3E6D4F2BF6764FB315D((intptr_t)L_76, L_77, (intptr_t)L_78, /*hidden argument*/NULL);
intptr_t L_79 = V_18;
AndroidJNISafe_DeleteLocalRef_m7AB242A76D13A3BF4C04831D77960C020D6ADA39((intptr_t)L_79, /*hidden argument*/NULL);
int32_t L_80 = V_17;
V_17 = ((int32_t)il2cpp_codegen_add((int32_t)L_80, (int32_t)1));
}
IL_01dd:
{
int32_t L_81 = V_17;
int32_t L_82 = V_14;
V_19 = (bool)((((int32_t)L_81) < ((int32_t)L_82))? 1 : 0);
bool L_83 = V_19;
if (L_83)
{
goto IL_01b5;
}
}
{
intptr_t L_84 = V_15;
AndroidJNISafe_DeleteLocalRef_m7AB242A76D13A3BF4C04831D77960C020D6ADA39((intptr_t)L_84, /*hidden argument*/NULL);
intptr_t L_85 = V_16;
V_3 = (intptr_t)L_85;
goto IL_0303;
}
IL_01f9:
{
Type_t * L_86 = V_0;
RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 L_87 = { reinterpret_cast<intptr_t> (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_88;
L_88 = Type_GetTypeFromHandle_m8BB57524FF7F9DB1803BC561D2B3A4DBACEB385E(L_87, /*hidden argument*/NULL);
V_20 = (bool)((((RuntimeObject*)(Type_t *)L_86) == ((RuntimeObject*)(Type_t *)L_88))? 1 : 0);
bool L_89 = V_20;
if (!L_89)
{
goto IL_02d8;
}
}
{
RuntimeArray * L_90 = ___array0;
V_21 = ((AndroidJavaObjectU5BU5D_tEE28563C9013906CEB39794019A55F4BA5B06120*)Castclass((RuntimeObject*)L_90, AndroidJavaObjectU5BU5D_tEE28563C9013906CEB39794019A55F4BA5B06120_il2cpp_TypeInfo_var));
RuntimeArray * L_91 = ___array0;
NullCheck(L_91);
int32_t L_92;
L_92 = Array_GetLength_m8EF840DA7BEB0DFF04D36C3DC651B673C49A02BB(L_91, 0, /*hidden argument*/NULL);
V_22 = L_92;
int32_t L_93 = V_22;
IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6* L_94 = (IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6*)(IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6*)SZArrayNew(IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6_il2cpp_TypeInfo_var, (uint32_t)L_93);
V_23 = L_94;
intptr_t L_95;
L_95 = AndroidJNISafe_FindClass_mD96E72414A78F50B07019D26B87A93799D85BB0A(_stringLiteral94DFCFD5DDE6D7CBBBB5D3176A4B2A5C7CD26D8E, /*hidden argument*/NULL);
V_24 = (intptr_t)L_95;
V_25 = (intptr_t)(0);
V_27 = 0;
goto IL_02b4;
}
IL_0242:
{
AndroidJavaObjectU5BU5D_tEE28563C9013906CEB39794019A55F4BA5B06120* L_96 = V_21;
int32_t L_97 = V_27;
NullCheck(L_96);
int32_t L_98 = L_97;
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_99 = (L_96)->GetAt(static_cast<il2cpp_array_size_t>(L_98));
V_28 = (bool)((!(((RuntimeObject*)(AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *)L_99) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_100 = V_28;
if (!L_100)
{
goto IL_02a1;
}
}
{
IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6* L_101 = V_23;
int32_t L_102 = V_27;
AndroidJavaObjectU5BU5D_tEE28563C9013906CEB39794019A55F4BA5B06120* L_103 = V_21;
int32_t L_104 = V_27;
NullCheck(L_103);
int32_t L_105 = L_104;
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_106 = (L_103)->GetAt(static_cast<il2cpp_array_size_t>(L_105));
NullCheck(L_106);
intptr_t L_107;
L_107 = AndroidJavaObject_GetRawObject_m09E30F9AF9DD2AE07D34CE3915BDA557E206271D(L_106, /*hidden argument*/NULL);
NullCheck(L_101);
(L_101)->SetAt(static_cast<il2cpp_array_size_t>(L_102), (intptr_t)L_107);
AndroidJavaObjectU5BU5D_tEE28563C9013906CEB39794019A55F4BA5B06120* L_108 = V_21;
int32_t L_109 = V_27;
NullCheck(L_108);
int32_t L_110 = L_109;
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_111 = (L_108)->GetAt(static_cast<il2cpp_array_size_t>(L_110));
NullCheck(L_111);
intptr_t L_112;
L_112 = AndroidJavaObject_GetRawClass_m051337FD2D7C0E765641B192D86FF4A06257836B(L_111, /*hidden argument*/NULL);
V_29 = (intptr_t)L_112;
intptr_t L_113 = V_25;
intptr_t L_114 = V_29;
bool L_115;
L_115 = IntPtr_op_Inequality_m212AF0E66AA81FEDC982B1C8A44ADDA24B995EB8((intptr_t)L_113, (intptr_t)L_114, /*hidden argument*/NULL);
V_30 = L_115;
bool L_116 = V_30;
if (!L_116)
{
goto IL_029e;
}
}
{
intptr_t L_117 = V_25;
bool L_118;
L_118 = IntPtr_op_Equality_mD94F3FE43A65684EFF984A7B95E70D2520C0AC73((intptr_t)L_117, (intptr_t)(0), /*hidden argument*/NULL);
V_31 = L_118;
bool L_119 = V_31;
if (!L_119)
{
goto IL_0297;
}
}
{
intptr_t L_120 = V_29;
V_25 = (intptr_t)L_120;
goto IL_029d;
}
IL_0297:
{
intptr_t L_121 = V_24;
V_25 = (intptr_t)L_121;
}
IL_029d:
{
}
IL_029e:
{
goto IL_02ad;
}
IL_02a1:
{
IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6* L_122 = V_23;
int32_t L_123 = V_27;
NullCheck(L_122);
(L_122)->SetAt(static_cast<il2cpp_array_size_t>(L_123), (intptr_t)(0));
}
IL_02ad:
{
int32_t L_124 = V_27;
V_27 = ((int32_t)il2cpp_codegen_add((int32_t)L_124, (int32_t)1));
}
IL_02b4:
{
int32_t L_125 = V_27;
int32_t L_126 = V_22;
V_32 = (bool)((((int32_t)L_125) < ((int32_t)L_126))? 1 : 0);
bool L_127 = V_32;
if (L_127)
{
goto IL_0242;
}
}
{
IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6* L_128 = V_23;
intptr_t L_129 = V_25;
intptr_t L_130;
L_130 = AndroidJNISafe_ToObjectArray_m669E5441604094D8A20E3C1F1F5407AE985F82B8(L_128, (intptr_t)L_129, /*hidden argument*/NULL);
V_26 = (intptr_t)L_130;
intptr_t L_131 = V_24;
AndroidJNISafe_DeleteLocalRef_m7AB242A76D13A3BF4C04831D77960C020D6ADA39((intptr_t)L_131, /*hidden argument*/NULL);
intptr_t L_132 = V_26;
V_3 = (intptr_t)L_132;
goto IL_0303;
}
IL_02d8:
{
Type_t * L_133 = V_0;
Type_t * L_134 = L_133;
G_B39_0 = L_134;
G_B39_1 = ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral63ABF5649A2AE850683F7D7D13A6E33FC41F4CAA));
if (L_134)
{
G_B40_0 = L_134;
G_B40_1 = ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral63ABF5649A2AE850683F7D7D13A6E33FC41F4CAA));
goto IL_02e6;
}
}
{
G_B41_0 = ((String_t*)(NULL));
G_B41_1 = G_B39_1;
goto IL_02eb;
}
IL_02e6:
{
NullCheck(G_B40_0);
String_t* L_135;
L_135 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, G_B40_0);
G_B41_0 = L_135;
G_B41_1 = G_B40_1;
}
IL_02eb:
{
String_t* L_136;
L_136 = String_Concat_m89EAB4C6A96B0E5C3F87300D6BE78D386B9EFC44(G_B41_1, G_B41_0, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral42646B33B50B6AA15E22733C8900716F0FE19E1D)), /*hidden argument*/NULL);
Exception_t * L_137 = (Exception_t *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)));
Exception__ctor_m8ECDE8ACA7F2E0EF1144BD1200FB5DB2870B5F11(L_137, L_136, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_137, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_AndroidJNIHelper_ConvertToJNIArray_m8254063CFA125088D840280AEF8C2ACF1B1ED4D9_RuntimeMethod_var)));
}
IL_02fb:
{
V_3 = (intptr_t)(0);
goto IL_0303;
}
IL_0303:
{
intptr_t L_138 = V_3;
return (intptr_t)L_138;
}
}
// System.IntPtr UnityEngine._AndroidJNIHelper::GetConstructorID(System.IntPtr,System.Object[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t _AndroidJNIHelper_GetConstructorID_m59BD3F866A86FC0FFDB26FFB820124E830CDB3E7 (intptr_t ___jclass0, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args1, const RuntimeMethod* method)
{
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
{
intptr_t L_0 = ___jclass0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_1 = ___args1;
String_t* L_2;
L_2 = _AndroidJNIHelper_GetSignature_m7621549E54EFD6362170628549B996BF5C52FBB7(L_1, /*hidden argument*/NULL);
intptr_t L_3;
L_3 = AndroidJNIHelper_GetConstructorID_m22710C39375F8A965C70F995413D4B3C62E85E30((intptr_t)L_0, L_2, /*hidden argument*/NULL);
V_0 = (intptr_t)L_3;
goto IL_0010;
}
IL_0010:
{
intptr_t L_4 = V_0;
return (intptr_t)L_4;
}
}
// System.IntPtr UnityEngine._AndroidJNIHelper::GetConstructorID(System.IntPtr,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t _AndroidJNIHelper_GetConstructorID_m0802B71B149170217E6FE75A7864A4BE7315215F (intptr_t ___jclass0, String_t* ___signature1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IntPtr_t_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
intptr_t V_1;
memset((&V_1), 0, sizeof(V_1));
Exception_t * V_2 = NULL;
intptr_t V_3;
memset((&V_3), 0, sizeof(V_3));
bool V_4 = false;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
il2cpp::utils::ExceptionSupportStack<int32_t, 2> __leave_targets;
{
V_0 = (intptr_t)(0);
}
IL_0007:
try
{ // begin try (depth: 1)
try
{ // begin try (depth: 2)
intptr_t L_0 = ___jclass0;
String_t* L_1 = ___signature1;
IL2CPP_RUNTIME_CLASS_INIT(AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var);
intptr_t L_2;
L_2 = AndroidReflection_GetConstructorMember_m4E88C8F6F83DB80D3313835CE760D8E7DC533C02((intptr_t)L_0, L_1, /*hidden argument*/NULL);
V_0 = (intptr_t)L_2;
intptr_t L_3 = V_0;
intptr_t L_4;
L_4 = AndroidJNISafe_FromReflectedMethod_m21A25975498B872199E7B9708AF0AD6E1248E3A7((intptr_t)L_3, /*hidden argument*/NULL);
V_1 = (intptr_t)L_4;
IL2CPP_LEAVE(0x49, FINALLY_003f);
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
{
IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
goto CATCH_0019;
}
throw e;
}
CATCH_0019:
{ // begin catch(System.Exception)
{
V_2 = ((Exception_t *)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t *));
intptr_t L_5 = ___jclass0;
String_t* L_6 = ___signature1;
intptr_t L_7;
L_7 = AndroidJNISafe_GetMethodID_mB6545767927E1F859540D99EBD39E464811E5F8F((intptr_t)L_5, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralE1AC4D20161E303D304EC6B1002667BE658488EE)), L_6, /*hidden argument*/NULL);
V_3 = (intptr_t)L_7;
intptr_t L_8 = V_3;
bool L_9;
L_9 = IntPtr_op_Inequality_m212AF0E66AA81FEDC982B1C8A44ADDA24B995EB8((intptr_t)L_8, (intptr_t)(0), /*hidden argument*/NULL);
V_4 = L_9;
bool L_10 = V_4;
if (!L_10)
{
goto IL_003d;
}
}
IL_0039:
{
intptr_t L_11 = V_3;
V_1 = (intptr_t)L_11;
IL2CPP_POP_ACTIVE_EXCEPTION();
IL2CPP_LEAVE(0x49, FINALLY_003f);
}
IL_003d:
{
Exception_t * L_12 = V_2;
IL2CPP_RAISE_MANAGED_EXCEPTION(L_12, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_AndroidJNIHelper_GetConstructorID_m0802B71B149170217E6FE75A7864A4BE7315215F_RuntimeMethod_var)));
}
} // end catch (depth: 2)
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_003f;
}
FINALLY_003f:
{ // begin finally (depth: 1)
intptr_t L_13 = V_0;
AndroidJNISafe_DeleteLocalRef_m7AB242A76D13A3BF4C04831D77960C020D6ADA39((intptr_t)L_13, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(63)
} // end finally (depth: 1)
IL2CPP_CLEANUP(63)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x49, IL_0049)
}
IL_0049:
{
intptr_t L_14 = V_1;
return (intptr_t)L_14;
}
}
// System.IntPtr UnityEngine._AndroidJNIHelper::GetMethodID(System.IntPtr,System.String,System.String,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t _AndroidJNIHelper_GetMethodID_m74B615C2438AF4A05F5FDA31F871AA641799CC9C (intptr_t ___jclass0, String_t* ___methodName1, String_t* ___signature2, bool ___isStatic3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IntPtr_t_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
intptr_t V_1;
memset((&V_1), 0, sizeof(V_1));
Exception_t * V_2 = NULL;
intptr_t V_3;
memset((&V_3), 0, sizeof(V_3));
bool V_4 = false;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
il2cpp::utils::ExceptionSupportStack<int32_t, 2> __leave_targets;
{
V_0 = (intptr_t)(0);
}
IL_0007:
try
{ // begin try (depth: 1)
try
{ // begin try (depth: 2)
intptr_t L_0 = ___jclass0;
String_t* L_1 = ___methodName1;
String_t* L_2 = ___signature2;
bool L_3 = ___isStatic3;
IL2CPP_RUNTIME_CLASS_INIT(AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var);
intptr_t L_4;
L_4 = AndroidReflection_GetMethodMember_m2959FEB7888CE8740DE1CF88C0CCB8A72F9F017B((intptr_t)L_0, L_1, L_2, L_3, /*hidden argument*/NULL);
V_0 = (intptr_t)L_4;
intptr_t L_5 = V_0;
intptr_t L_6;
L_6 = AndroidJNISafe_FromReflectedMethod_m21A25975498B872199E7B9708AF0AD6E1248E3A7((intptr_t)L_5, /*hidden argument*/NULL);
V_1 = (intptr_t)L_6;
IL2CPP_LEAVE(0x48, FINALLY_003e);
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
{
IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
goto CATCH_001b;
}
throw e;
}
CATCH_001b:
{ // begin catch(System.Exception)
{
V_2 = ((Exception_t *)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t *));
intptr_t L_7 = ___jclass0;
String_t* L_8 = ___methodName1;
String_t* L_9 = ___signature2;
bool L_10 = ___isStatic3;
intptr_t L_11;
L_11 = _AndroidJNIHelper_GetMethodIDFallback_mCAB1BB814895547718E10BA70AEA126CE98AD48C((intptr_t)L_7, L_8, L_9, L_10, /*hidden argument*/NULL);
V_3 = (intptr_t)L_11;
intptr_t L_12 = V_3;
bool L_13;
L_13 = IntPtr_op_Inequality_m212AF0E66AA81FEDC982B1C8A44ADDA24B995EB8((intptr_t)L_12, (intptr_t)(0), /*hidden argument*/NULL);
V_4 = L_13;
bool L_14 = V_4;
if (!L_14)
{
goto IL_003c;
}
}
IL_0038:
{
intptr_t L_15 = V_3;
V_1 = (intptr_t)L_15;
IL2CPP_POP_ACTIVE_EXCEPTION();
IL2CPP_LEAVE(0x48, FINALLY_003e);
}
IL_003c:
{
Exception_t * L_16 = V_2;
IL2CPP_RAISE_MANAGED_EXCEPTION(L_16, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_AndroidJNIHelper_GetMethodID_m74B615C2438AF4A05F5FDA31F871AA641799CC9C_RuntimeMethod_var)));
}
} // end catch (depth: 2)
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_003e;
}
FINALLY_003e:
{ // begin finally (depth: 1)
intptr_t L_17 = V_0;
AndroidJNISafe_DeleteLocalRef_m7AB242A76D13A3BF4C04831D77960C020D6ADA39((intptr_t)L_17, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(62)
} // end finally (depth: 1)
IL2CPP_CLEANUP(62)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x48, IL_0048)
}
IL_0048:
{
intptr_t L_18 = V_1;
return (intptr_t)L_18;
}
}
// System.IntPtr UnityEngine._AndroidJNIHelper::GetMethodIDFallback(System.IntPtr,System.String,System.String,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t _AndroidJNIHelper_GetMethodIDFallback_mCAB1BB814895547718E10BA70AEA126CE98AD48C (intptr_t ___jclass0, String_t* ___methodName1, String_t* ___signature2, bool ___isStatic3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IntPtr_t_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
intptr_t V_0;
memset((&V_0), 0, sizeof(V_0));
il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
il2cpp::utils::ExceptionSupportStack<int32_t, 2> __leave_targets;
intptr_t G_B4_0;
memset((&G_B4_0), 0, sizeof(G_B4_0));
{
}
IL_0001:
try
{ // begin try (depth: 1)
{
bool L_0 = ___isStatic3;
if (L_0)
{
goto IL_000f;
}
}
IL_0005:
{
intptr_t L_1 = ___jclass0;
String_t* L_2 = ___methodName1;
String_t* L_3 = ___signature2;
intptr_t L_4;
L_4 = AndroidJNISafe_GetMethodID_mB6545767927E1F859540D99EBD39E464811E5F8F((intptr_t)L_1, L_2, L_3, /*hidden argument*/NULL);
G_B4_0 = L_4;
goto IL_0017;
}
IL_000f:
{
intptr_t L_5 = ___jclass0;
String_t* L_6 = ___methodName1;
String_t* L_7 = ___signature2;
intptr_t L_8;
L_8 = AndroidJNISafe_GetStaticMethodID_m883F40A297071B64F8DE3572FDBB8B9834EF1163((intptr_t)L_5, L_6, L_7, /*hidden argument*/NULL);
G_B4_0 = L_8;
}
IL_0017:
{
V_0 = (intptr_t)G_B4_0;
goto IL_0027;
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
{
IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
goto CATCH_001a;
}
throw e;
}
CATCH_001a:
{ // begin catch(System.Exception)
IL2CPP_POP_ACTIVE_EXCEPTION();
goto IL_001f;
} // end catch (depth: 1)
IL_001f:
{
V_0 = (intptr_t)(0);
goto IL_0027;
}
IL_0027:
{
intptr_t L_9 = V_0;
return (intptr_t)L_9;
}
}
// System.String UnityEngine._AndroidJNIHelper::GetSignature(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* _AndroidJNIHelper_GetSignature_m4A272D66518BF9A4C746B02B91AAB1361293232C (RuntimeObject * ___obj0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4_0_0_0_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_Call_TisAndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_mC5ED59BBD9C24EFFD98D8C3819C7E15DFE08F412_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_Call_TisString_t_mB2E722C64FC7BD9F98B983053A6D3F9D94D355AE_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_0_0_0_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60_0_0_0_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_0_0_0_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_0_0_0_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Char_tFF60D8E7E89A20BE2294A003734341BD1DF43E14_0_0_0_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Double_t42821932CB52DE2057E685D0E1AF3DE5033D2181_0_0_0_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDisposable_t099785737FC6A1E3699919A94109383715A8D807_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int16_tD0F031114106263BB459DA1F099FF9F42691295A_0_0_0_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_0_0_0_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int64_t378EE0D608BD3107E77238E85F30D2BBD46981F3_0_0_0_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RuntimeArray_0_0_0_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SByte_t928712DD662DC29BA4FAAE8CE2230AFB23447F0B_0_0_0_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Single_tE07797BA3C98D4CA9B5A19413C19A76688AB899E_0_0_0_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringBuilder_t_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&String_t_0_0_0_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Type_t_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral09684B67A5909FD48E1F14A8AF8DDD483C620B10);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral0EBD646B60E1C3FCE0203770591ED3C3D63537DC);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral21A5AA703D97ABA8DE2D0B5CBC3B8548E0023E8E);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral234D19ACC97DBDDB4C2351D9B583DDC8AD958380);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral306716C9D6B9595061CC04B314471DA1BEBAA9BE);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral58BB47D89B96E4992A8CEB702213DCC616635297);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral672EA443B619B60F88713BFAFFF2A3A7433C6827);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral6CB05FD18E12F98F81A204339D25DD82BC993FDD);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral7E70AF961A2F88ADB9DB7B9C3B5F25A532C1570A);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral90B5C222ABA0160226196AA2D9E75E9C0A6B3D39);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral951CCB49640C8F9E81FB4E0D82730321F4E15BB3);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral9BADE7CDC853CF94309E8ECAB451D8BEFCD86DFD);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral9D9409152ADEE0D2A5BE9C04915D8BF65B6B929A);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA019FB7F17AA36A9743C530E1F11D5613B8B1158);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralAB69FA1AB6BB831506EFCAD83900FEE751E85F6F);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralBF86C9E9E7FE0EF09A2EAE8066CDC31F859254CC);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD924CAE09D47CDF0481655AE527E8ADF940FF10E);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralFD60316EE3ADB7B16A998DF8AE0D68C293F6622E);
s_Il2CppMethodInitialized = true;
}
Type_t * V_0 = NULL;
bool V_1 = false;
String_t* V_2 = NULL;
bool V_3 = false;
bool V_4 = false;
bool V_5 = false;
bool V_6 = false;
bool V_7 = false;
bool V_8 = false;
bool V_9 = false;
bool V_10 = false;
bool V_11 = false;
bool V_12 = false;
bool V_13 = false;
bool V_14 = false;
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * V_15 = NULL;
bool V_16 = false;
bool V_17 = false;
bool V_18 = false;
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * V_19 = NULL;
bool V_20 = false;
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * V_21 = NULL;
bool V_22 = false;
StringBuilder_t * V_23 = NULL;
bool V_24 = false;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 2> __leave_targets;
Type_t * G_B5_0 = NULL;
Type_t * G_B51_0 = NULL;
int32_t G_B51_1 = 0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B51_2 = NULL;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B51_3 = NULL;
Type_t * G_B50_0 = NULL;
int32_t G_B50_1 = 0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B50_2 = NULL;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B50_3 = NULL;
String_t* G_B52_0 = NULL;
int32_t G_B52_1 = 0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B52_2 = NULL;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B52_3 = NULL;
int32_t G_B54_0 = 0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B54_1 = NULL;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B54_2 = NULL;
int32_t G_B53_0 = 0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B53_1 = NULL;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B53_2 = NULL;
String_t* G_B55_0 = NULL;
int32_t G_B55_1 = 0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B55_2 = NULL;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B55_3 = NULL;
int32_t G_B57_0 = 0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B57_1 = NULL;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B57_2 = NULL;
int32_t G_B56_0 = 0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B56_1 = NULL;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B56_2 = NULL;
String_t* G_B58_0 = NULL;
int32_t G_B58_1 = 0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B58_2 = NULL;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B58_3 = NULL;
{
RuntimeObject * L_0 = ___obj0;
V_1 = (bool)((((RuntimeObject*)(RuntimeObject *)L_0) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_1 = V_1;
if (!L_1)
{
goto IL_0014;
}
}
{
V_2 = _stringLiteral21A5AA703D97ABA8DE2D0B5CBC3B8548E0023E8E;
goto IL_037b;
}
IL_0014:
{
RuntimeObject * L_2 = ___obj0;
if (((Type_t *)IsInstClass((RuntimeObject*)L_2, Type_t_il2cpp_TypeInfo_var)))
{
goto IL_0024;
}
}
{
RuntimeObject * L_3 = ___obj0;
NullCheck(L_3);
Type_t * L_4;
L_4 = Object_GetType_m571FE8360C10B98C23AAF1F066D92C08CC94F45B(L_3, /*hidden argument*/NULL);
G_B5_0 = L_4;
goto IL_002a;
}
IL_0024:
{
RuntimeObject * L_5 = ___obj0;
G_B5_0 = ((Type_t *)CastclassClass((RuntimeObject*)L_5, Type_t_il2cpp_TypeInfo_var));
}
IL_002a:
{
V_0 = G_B5_0;
Type_t * L_6 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var);
bool L_7;
L_7 = AndroidReflection_IsPrimitive_mDD6A4050793DF2FA1EDF58010982C64A3F17376D(L_6, /*hidden argument*/NULL);
V_3 = L_7;
bool L_8 = V_3;
if (!L_8)
{
goto IL_0174;
}
}
{
Type_t * L_9 = V_0;
RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 L_10 = { reinterpret_cast<intptr_t> (Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_11;
L_11 = Type_GetTypeFromHandle_m8BB57524FF7F9DB1803BC561D2B3A4DBACEB385E(L_10, /*hidden argument*/NULL);
NullCheck(L_9);
bool L_12;
L_12 = VirtFuncInvoker1< bool, Type_t * >::Invoke(110 /* System.Boolean System.Type::Equals(System.Type) */, L_9, L_11);
V_4 = L_12;
bool L_13 = V_4;
if (!L_13)
{
goto IL_005a;
}
}
{
V_2 = _stringLiteral6CB05FD18E12F98F81A204339D25DD82BC993FDD;
goto IL_037b;
}
IL_005a:
{
Type_t * L_14 = V_0;
RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 L_15 = { reinterpret_cast<intptr_t> (Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_16;
L_16 = Type_GetTypeFromHandle_m8BB57524FF7F9DB1803BC561D2B3A4DBACEB385E(L_15, /*hidden argument*/NULL);
NullCheck(L_14);
bool L_17;
L_17 = VirtFuncInvoker1< bool, Type_t * >::Invoke(110 /* System.Boolean System.Type::Equals(System.Type) */, L_14, L_16);
V_5 = L_17;
bool L_18 = V_5;
if (!L_18)
{
goto IL_007b;
}
}
{
V_2 = _stringLiteral234D19ACC97DBDDB4C2351D9B583DDC8AD958380;
goto IL_037b;
}
IL_007b:
{
Type_t * L_19 = V_0;
RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 L_20 = { reinterpret_cast<intptr_t> (Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_21;
L_21 = Type_GetTypeFromHandle_m8BB57524FF7F9DB1803BC561D2B3A4DBACEB385E(L_20, /*hidden argument*/NULL);
NullCheck(L_19);
bool L_22;
L_22 = VirtFuncInvoker1< bool, Type_t * >::Invoke(110 /* System.Boolean System.Type::Equals(System.Type) */, L_19, L_21);
V_6 = L_22;
bool L_23 = V_6;
if (!L_23)
{
goto IL_00a8;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
Debug_LogWarning_m24085D883C9E74D7AB423F0625E13259923960E7(_stringLiteralD924CAE09D47CDF0481655AE527E8ADF940FF10E, /*hidden argument*/NULL);
V_2 = _stringLiteralAB69FA1AB6BB831506EFCAD83900FEE751E85F6F;
goto IL_037b;
}
IL_00a8:
{
Type_t * L_24 = V_0;
RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 L_25 = { reinterpret_cast<intptr_t> (SByte_t928712DD662DC29BA4FAAE8CE2230AFB23447F0B_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_26;
L_26 = Type_GetTypeFromHandle_m8BB57524FF7F9DB1803BC561D2B3A4DBACEB385E(L_25, /*hidden argument*/NULL);
NullCheck(L_24);
bool L_27;
L_27 = VirtFuncInvoker1< bool, Type_t * >::Invoke(110 /* System.Boolean System.Type::Equals(System.Type) */, L_24, L_26);
V_7 = L_27;
bool L_28 = V_7;
if (!L_28)
{
goto IL_00c9;
}
}
{
V_2 = _stringLiteralAB69FA1AB6BB831506EFCAD83900FEE751E85F6F;
goto IL_037b;
}
IL_00c9:
{
Type_t * L_29 = V_0;
RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 L_30 = { reinterpret_cast<intptr_t> (Int16_tD0F031114106263BB459DA1F099FF9F42691295A_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_31;
L_31 = Type_GetTypeFromHandle_m8BB57524FF7F9DB1803BC561D2B3A4DBACEB385E(L_30, /*hidden argument*/NULL);
NullCheck(L_29);
bool L_32;
L_32 = VirtFuncInvoker1< bool, Type_t * >::Invoke(110 /* System.Boolean System.Type::Equals(System.Type) */, L_29, L_31);
V_8 = L_32;
bool L_33 = V_8;
if (!L_33)
{
goto IL_00ea;
}
}
{
V_2 = _stringLiteral09684B67A5909FD48E1F14A8AF8DDD483C620B10;
goto IL_037b;
}
IL_00ea:
{
Type_t * L_34 = V_0;
RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 L_35 = { reinterpret_cast<intptr_t> (Int64_t378EE0D608BD3107E77238E85F30D2BBD46981F3_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_36;
L_36 = Type_GetTypeFromHandle_m8BB57524FF7F9DB1803BC561D2B3A4DBACEB385E(L_35, /*hidden argument*/NULL);
NullCheck(L_34);
bool L_37;
L_37 = VirtFuncInvoker1< bool, Type_t * >::Invoke(110 /* System.Boolean System.Type::Equals(System.Type) */, L_34, L_36);
V_9 = L_37;
bool L_38 = V_9;
if (!L_38)
{
goto IL_010b;
}
}
{
V_2 = _stringLiteral0EBD646B60E1C3FCE0203770591ED3C3D63537DC;
goto IL_037b;
}
IL_010b:
{
Type_t * L_39 = V_0;
RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 L_40 = { reinterpret_cast<intptr_t> (Single_tE07797BA3C98D4CA9B5A19413C19A76688AB899E_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_41;
L_41 = Type_GetTypeFromHandle_m8BB57524FF7F9DB1803BC561D2B3A4DBACEB385E(L_40, /*hidden argument*/NULL);
NullCheck(L_39);
bool L_42;
L_42 = VirtFuncInvoker1< bool, Type_t * >::Invoke(110 /* System.Boolean System.Type::Equals(System.Type) */, L_39, L_41);
V_10 = L_42;
bool L_43 = V_10;
if (!L_43)
{
goto IL_012c;
}
}
{
V_2 = _stringLiteralFD60316EE3ADB7B16A998DF8AE0D68C293F6622E;
goto IL_037b;
}
IL_012c:
{
Type_t * L_44 = V_0;
RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 L_45 = { reinterpret_cast<intptr_t> (Double_t42821932CB52DE2057E685D0E1AF3DE5033D2181_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_46;
L_46 = Type_GetTypeFromHandle_m8BB57524FF7F9DB1803BC561D2B3A4DBACEB385E(L_45, /*hidden argument*/NULL);
NullCheck(L_44);
bool L_47;
L_47 = VirtFuncInvoker1< bool, Type_t * >::Invoke(110 /* System.Boolean System.Type::Equals(System.Type) */, L_44, L_46);
V_11 = L_47;
bool L_48 = V_11;
if (!L_48)
{
goto IL_014d;
}
}
{
V_2 = _stringLiteralA019FB7F17AA36A9743C530E1F11D5613B8B1158;
goto IL_037b;
}
IL_014d:
{
Type_t * L_49 = V_0;
RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 L_50 = { reinterpret_cast<intptr_t> (Char_tFF60D8E7E89A20BE2294A003734341BD1DF43E14_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_51;
L_51 = Type_GetTypeFromHandle_m8BB57524FF7F9DB1803BC561D2B3A4DBACEB385E(L_50, /*hidden argument*/NULL);
NullCheck(L_49);
bool L_52;
L_52 = VirtFuncInvoker1< bool, Type_t * >::Invoke(110 /* System.Boolean System.Type::Equals(System.Type) */, L_49, L_51);
V_12 = L_52;
bool L_53 = V_12;
if (!L_53)
{
goto IL_016e;
}
}
{
V_2 = _stringLiteralBF86C9E9E7FE0EF09A2EAE8066CDC31F859254CC;
goto IL_037b;
}
IL_016e:
{
goto IL_0373;
}
IL_0174:
{
Type_t * L_54 = V_0;
RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 L_55 = { reinterpret_cast<intptr_t> (String_t_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_56;
L_56 = Type_GetTypeFromHandle_m8BB57524FF7F9DB1803BC561D2B3A4DBACEB385E(L_55, /*hidden argument*/NULL);
NullCheck(L_54);
bool L_57;
L_57 = VirtFuncInvoker1< bool, Type_t * >::Invoke(110 /* System.Boolean System.Type::Equals(System.Type) */, L_54, L_56);
V_13 = L_57;
bool L_58 = V_13;
if (!L_58)
{
goto IL_0196;
}
}
{
V_2 = _stringLiteral90B5C222ABA0160226196AA2D9E75E9C0A6B3D39;
goto IL_037b;
}
IL_0196:
{
RuntimeObject * L_59 = ___obj0;
V_14 = (bool)((!(((RuntimeObject*)(AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF *)((AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF *)IsInstClass((RuntimeObject*)L_59, AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF_il2cpp_TypeInfo_var))) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_60 = V_14;
if (!L_60)
{
goto IL_01f2;
}
}
{
RuntimeObject * L_61 = ___obj0;
NullCheck(((AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF *)CastclassClass((RuntimeObject*)L_61, AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF_il2cpp_TypeInfo_var)));
AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4 * L_62 = ((AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF *)CastclassClass((RuntimeObject*)L_61, AndroidJavaProxy_tA8C86826A74CB7CC5511CB353DBA595C9270D9AF_il2cpp_TypeInfo_var))->get_javaInterface_0();
NullCheck(L_62);
intptr_t L_63;
L_63 = AndroidJavaObject_GetRawClass_m051337FD2D7C0E765641B192D86FF4A06257836B(L_62, /*hidden argument*/NULL);
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_64 = (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *)il2cpp_codegen_object_new(AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var);
AndroidJavaObject__ctor_m880F6533139DF0BD36C6EF428E45E9F44B6534A3(L_64, (intptr_t)L_63, /*hidden argument*/NULL);
V_15 = L_64;
}
IL_01bd:
try
{ // begin try (depth: 1)
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_65 = V_15;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_66 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)0);
NullCheck(L_65);
String_t* L_67;
L_67 = AndroidJavaObject_Call_TisString_t_mB2E722C64FC7BD9F98B983053A6D3F9D94D355AE(L_65, _stringLiteral58BB47D89B96E4992A8CEB702213DCC616635297, L_66, /*hidden argument*/AndroidJavaObject_Call_TisString_t_mB2E722C64FC7BD9F98B983053A6D3F9D94D355AE_RuntimeMethod_var);
String_t* L_68;
L_68 = String_Concat_m89EAB4C6A96B0E5C3F87300D6BE78D386B9EFC44(_stringLiteral7E70AF961A2F88ADB9DB7B9C3B5F25A532C1570A, L_67, _stringLiteral951CCB49640C8F9E81FB4E0D82730321F4E15BB3, /*hidden argument*/NULL);
V_2 = L_68;
IL2CPP_LEAVE(0x37B, FINALLY_01e5);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01e5;
}
FINALLY_01e5:
{ // begin finally (depth: 1)
{
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_69 = V_15;
if (!L_69)
{
goto IL_01f1;
}
}
IL_01e9:
{
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_70 = V_15;
NullCheck(L_70);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t099785737FC6A1E3699919A94109383715A8D807_il2cpp_TypeInfo_var, L_70);
}
IL_01f1:
{
IL2CPP_END_FINALLY(485)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(485)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x37B, IL_037b)
}
IL_01f2:
{
Type_t * L_71 = V_0;
RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 L_72 = { reinterpret_cast<intptr_t> (AndroidJavaRunnable_tFA31E7D68EAAEB756F1B8F2EF8344C24042EDD60_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_73;
L_73 = Type_GetTypeFromHandle_m8BB57524FF7F9DB1803BC561D2B3A4DBACEB385E(L_72, /*hidden argument*/NULL);
NullCheck(L_71);
bool L_74;
L_74 = VirtFuncInvoker1< bool, Type_t * >::Invoke(110 /* System.Boolean System.Type::Equals(System.Type) */, L_71, L_73);
V_16 = L_74;
bool L_75 = V_16;
if (!L_75)
{
goto IL_0214;
}
}
{
V_2 = _stringLiteral9D9409152ADEE0D2A5BE9C04915D8BF65B6B929A;
goto IL_037b;
}
IL_0214:
{
Type_t * L_76 = V_0;
RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 L_77 = { reinterpret_cast<intptr_t> (AndroidJavaClass_t52E934B16476D72AA6E4B248F989F2F825EB62D4_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_78;
L_78 = Type_GetTypeFromHandle_m8BB57524FF7F9DB1803BC561D2B3A4DBACEB385E(L_77, /*hidden argument*/NULL);
NullCheck(L_76);
bool L_79;
L_79 = VirtFuncInvoker1< bool, Type_t * >::Invoke(110 /* System.Boolean System.Type::Equals(System.Type) */, L_76, L_78);
V_17 = L_79;
bool L_80 = V_17;
if (!L_80)
{
goto IL_0236;
}
}
{
V_2 = _stringLiteral672EA443B619B60F88713BFAFFF2A3A7433C6827;
goto IL_037b;
}
IL_0236:
{
Type_t * L_81 = V_0;
RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 L_82 = { reinterpret_cast<intptr_t> (AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_83;
L_83 = Type_GetTypeFromHandle_m8BB57524FF7F9DB1803BC561D2B3A4DBACEB385E(L_82, /*hidden argument*/NULL);
NullCheck(L_81);
bool L_84;
L_84 = VirtFuncInvoker1< bool, Type_t * >::Invoke(110 /* System.Boolean System.Type::Equals(System.Type) */, L_81, L_83);
V_18 = L_84;
bool L_85 = V_18;
if (!L_85)
{
goto IL_02b4;
}
}
{
RuntimeObject * L_86 = ___obj0;
Type_t * L_87 = V_0;
V_20 = (bool)((((RuntimeObject*)(RuntimeObject *)L_86) == ((RuntimeObject*)(Type_t *)L_87))? 1 : 0);
bool L_88 = V_20;
if (!L_88)
{
goto IL_0263;
}
}
{
V_2 = _stringLiteral21A5AA703D97ABA8DE2D0B5CBC3B8548E0023E8E;
goto IL_037b;
}
IL_0263:
{
RuntimeObject * L_89 = ___obj0;
V_19 = ((AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E *)CastclassClass((RuntimeObject*)L_89, AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_il2cpp_TypeInfo_var));
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_90 = V_19;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_91 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)0);
NullCheck(L_90);
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_92;
L_92 = AndroidJavaObject_Call_TisAndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_mC5ED59BBD9C24EFFD98D8C3819C7E15DFE08F412(L_90, _stringLiteral306716C9D6B9595061CC04B314471DA1BEBAA9BE, L_91, /*hidden argument*/AndroidJavaObject_Call_TisAndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E_mC5ED59BBD9C24EFFD98D8C3819C7E15DFE08F412_RuntimeMethod_var);
V_21 = L_92;
}
IL_027f:
try
{ // begin try (depth: 1)
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_93 = V_21;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_94 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)0);
NullCheck(L_93);
String_t* L_95;
L_95 = AndroidJavaObject_Call_TisString_t_mB2E722C64FC7BD9F98B983053A6D3F9D94D355AE(L_93, _stringLiteral58BB47D89B96E4992A8CEB702213DCC616635297, L_94, /*hidden argument*/AndroidJavaObject_Call_TisString_t_mB2E722C64FC7BD9F98B983053A6D3F9D94D355AE_RuntimeMethod_var);
String_t* L_96;
L_96 = String_Concat_m89EAB4C6A96B0E5C3F87300D6BE78D386B9EFC44(_stringLiteral7E70AF961A2F88ADB9DB7B9C3B5F25A532C1570A, L_95, _stringLiteral951CCB49640C8F9E81FB4E0D82730321F4E15BB3, /*hidden argument*/NULL);
V_2 = L_96;
IL2CPP_LEAVE(0x37B, FINALLY_02a7);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_02a7;
}
FINALLY_02a7:
{ // begin finally (depth: 1)
{
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_97 = V_21;
if (!L_97)
{
goto IL_02b3;
}
}
IL_02ab:
{
AndroidJavaObject_t10188D5695DCD09C9F621B44B0A8C93A2281236E * L_98 = V_21;
NullCheck(L_98);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t099785737FC6A1E3699919A94109383715A8D807_il2cpp_TypeInfo_var, L_98);
}
IL_02b3:
{
IL2CPP_END_FINALLY(679)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(679)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x37B, IL_037b)
}
IL_02b4:
{
RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 L_99 = { reinterpret_cast<intptr_t> (RuntimeArray_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_100;
L_100 = Type_GetTypeFromHandle_m8BB57524FF7F9DB1803BC561D2B3A4DBACEB385E(L_99, /*hidden argument*/NULL);
Type_t * L_101 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(AndroidReflection_tEB6633FD5B7D2816E1AC6C711E11B2DD33822F16_il2cpp_TypeInfo_var);
bool L_102;
L_102 = AndroidReflection_IsAssignableFrom_m7B46715954FFFBDFA63B681FAF87AEB2ECF0E47C(L_100, L_101, /*hidden argument*/NULL);
V_22 = L_102;
bool L_103 = V_22;
if (!L_103)
{
goto IL_0317;
}
}
{
Type_t * L_104 = V_0;
NullCheck(L_104);
int32_t L_105;
L_105 = VirtFuncInvoker0< int32_t >::Invoke(28 /* System.Int32 System.Type::GetArrayRank() */, L_104);
V_24 = (bool)((((int32_t)((((int32_t)L_105) == ((int32_t)1))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_106 = V_24;
if (!L_106)
{
goto IL_02e9;
}
}
{
Exception_t * L_107 = (Exception_t *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)));
Exception__ctor_m8ECDE8ACA7F2E0EF1144BD1200FB5DB2870B5F11(L_107, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral0F9959D6967BF0405610B0041D446B892A631997)), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_107, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_AndroidJNIHelper_GetSignature_m4A272D66518BF9A4C746B02B91AAB1361293232C_RuntimeMethod_var)));
}
IL_02e9:
{
StringBuilder_t * L_108 = (StringBuilder_t *)il2cpp_codegen_object_new(StringBuilder_t_il2cpp_TypeInfo_var);
StringBuilder__ctor_m5A81DE19E748F748E19FF13FB6FFD2547F9212D9(L_108, /*hidden argument*/NULL);
V_23 = L_108;
StringBuilder_t * L_109 = V_23;
NullCheck(L_109);
StringBuilder_t * L_110;
L_110 = StringBuilder_Append_m1ADA3C16E40BF253BCDB5F9579B4DBA9C3E5B22E(L_109, ((int32_t)91), /*hidden argument*/NULL);
StringBuilder_t * L_111 = V_23;
Type_t * L_112 = V_0;
NullCheck(L_112);
Type_t * L_113;
L_113 = VirtFuncInvoker0< Type_t * >::Invoke(96 /* System.Type System.Type::GetElementType() */, L_112);
String_t* L_114;
L_114 = _AndroidJNIHelper_GetSignature_m4A272D66518BF9A4C746B02B91AAB1361293232C(L_113, /*hidden argument*/NULL);
NullCheck(L_111);
StringBuilder_t * L_115;
L_115 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_111, L_114, /*hidden argument*/NULL);
StringBuilder_t * L_116 = V_23;
NullCheck(L_116);
String_t* L_117;
L_117 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_116);
V_2 = L_117;
goto IL_037b;
}
IL_0317:
{
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_118 = (StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)SZArrayNew(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var, (uint32_t)6);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_119 = L_118;
NullCheck(L_119);
ArrayElementTypeCheck (L_119, _stringLiteral9BADE7CDC853CF94309E8ECAB451D8BEFCD86DFD);
(L_119)->SetAt(static_cast<il2cpp_array_size_t>(0), (String_t*)_stringLiteral9BADE7CDC853CF94309E8ECAB451D8BEFCD86DFD);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_120 = L_119;
Type_t * L_121 = V_0;
Type_t * L_122 = L_121;
G_B50_0 = L_122;
G_B50_1 = 1;
G_B50_2 = L_120;
G_B50_3 = L_120;
if (L_122)
{
G_B51_0 = L_122;
G_B51_1 = 1;
G_B51_2 = L_120;
G_B51_3 = L_120;
goto IL_0330;
}
}
{
G_B52_0 = ((String_t*)(NULL));
G_B52_1 = G_B50_1;
G_B52_2 = G_B50_2;
G_B52_3 = G_B50_3;
goto IL_0335;
}
IL_0330:
{
NullCheck(G_B51_0);
String_t* L_123;
L_123 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, G_B51_0);
G_B52_0 = L_123;
G_B52_1 = G_B51_1;
G_B52_2 = G_B51_2;
G_B52_3 = G_B51_3;
}
IL_0335:
{
NullCheck(G_B52_2);
ArrayElementTypeCheck (G_B52_2, G_B52_0);
(G_B52_2)->SetAt(static_cast<il2cpp_array_size_t>(G_B52_1), (String_t*)G_B52_0);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_124 = G_B52_3;
NullCheck(L_124);
ArrayElementTypeCheck (L_124, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralE5BEC2753A5201D97F16E51BDAFBB18987ECD93B)));
(L_124)->SetAt(static_cast<il2cpp_array_size_t>(2), (String_t*)((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralE5BEC2753A5201D97F16E51BDAFBB18987ECD93B)));
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_125 = L_124;
RuntimeObject * L_126 = ___obj0;
G_B53_0 = 3;
G_B53_1 = L_125;
G_B53_2 = L_125;
if (L_126)
{
G_B54_0 = 3;
G_B54_1 = L_125;
G_B54_2 = L_125;
goto IL_0346;
}
}
{
G_B55_0 = ((String_t*)(NULL));
G_B55_1 = G_B53_0;
G_B55_2 = G_B53_1;
G_B55_3 = G_B53_2;
goto IL_034c;
}
IL_0346:
{
RuntimeObject * L_127 = ___obj0;
NullCheck(L_127);
String_t* L_128;
L_128 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_127);
G_B55_0 = L_128;
G_B55_1 = G_B54_0;
G_B55_2 = G_B54_1;
G_B55_3 = G_B54_2;
}
IL_034c:
{
NullCheck(G_B55_2);
ArrayElementTypeCheck (G_B55_2, G_B55_0);
(G_B55_2)->SetAt(static_cast<il2cpp_array_size_t>(G_B55_1), (String_t*)G_B55_0);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_129 = G_B55_3;
NullCheck(L_129);
ArrayElementTypeCheck (L_129, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralC087E631060AB76B7C814C0E1B92D5C7C4C4B924)));
(L_129)->SetAt(static_cast<il2cpp_array_size_t>(4), (String_t*)((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralC087E631060AB76B7C814C0E1B92D5C7C4C4B924)));
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_130 = L_129;
Type_t * L_131 = V_0;
RuntimeObject * L_132 = ___obj0;
G_B56_0 = 5;
G_B56_1 = L_130;
G_B56_2 = L_130;
if ((((RuntimeObject*)(Type_t *)L_131) == ((RuntimeObject*)(RuntimeObject *)L_132)))
{
G_B57_0 = 5;
G_B57_1 = L_130;
G_B57_2 = L_130;
goto IL_0362;
}
}
{
G_B58_0 = ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralAA236E134566FACF682D16CDBC3E2C735E0EF19D));
G_B58_1 = G_B56_0;
G_B58_2 = G_B56_1;
G_B58_3 = G_B56_2;
goto IL_0367;
}
IL_0362:
{
G_B58_0 = ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral8AE771679CD1C7D2C1D9B577D342220161AD2D3D));
G_B58_1 = G_B57_0;
G_B58_2 = G_B57_1;
G_B58_3 = G_B57_2;
}
IL_0367:
{
NullCheck(G_B58_2);
ArrayElementTypeCheck (G_B58_2, G_B58_0);
(G_B58_2)->SetAt(static_cast<il2cpp_array_size_t>(G_B58_1), (String_t*)G_B58_0);
String_t* L_133;
L_133 = String_Concat_mFEA7EFA1A6E75B96B1B7BC4526AAC864BFF83CC9(G_B58_3, /*hidden argument*/NULL);
Exception_t * L_134 = (Exception_t *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)));
Exception__ctor_m8ECDE8ACA7F2E0EF1144BD1200FB5DB2870B5F11(L_134, L_133, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_134, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_AndroidJNIHelper_GetSignature_m4A272D66518BF9A4C746B02B91AAB1361293232C_RuntimeMethod_var)));
}
IL_0373:
{
V_2 = _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
goto IL_037b;
}
IL_037b:
{
String_t* L_135 = V_2;
return L_135;
}
}
// System.String UnityEngine._AndroidJNIHelper::GetSignature(System.Object[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* _AndroidJNIHelper_GetSignature_m7621549E54EFD6362170628549B996BF5C52FBB7 (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringBuilder_t_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD533C8C15007D85807A5FE481182C225E6A86D08);
s_Il2CppMethodInitialized = true;
}
StringBuilder_t * V_0 = NULL;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* V_1 = NULL;
int32_t V_2 = 0;
RuntimeObject * V_3 = NULL;
String_t* V_4 = NULL;
{
StringBuilder_t * L_0 = (StringBuilder_t *)il2cpp_codegen_object_new(StringBuilder_t_il2cpp_TypeInfo_var);
StringBuilder__ctor_m5A81DE19E748F748E19FF13FB6FFD2547F9212D9(L_0, /*hidden argument*/NULL);
V_0 = L_0;
StringBuilder_t * L_1 = V_0;
NullCheck(L_1);
StringBuilder_t * L_2;
L_2 = StringBuilder_Append_m1ADA3C16E40BF253BCDB5F9579B4DBA9C3E5B22E(L_1, ((int32_t)40), /*hidden argument*/NULL);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_3 = ___args0;
V_1 = L_3;
V_2 = 0;
goto IL_002e;
}
IL_0017:
{
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_4 = V_1;
int32_t L_5 = V_2;
NullCheck(L_4);
int32_t L_6 = L_5;
RuntimeObject * L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
V_3 = L_7;
StringBuilder_t * L_8 = V_0;
RuntimeObject * L_9 = V_3;
String_t* L_10;
L_10 = _AndroidJNIHelper_GetSignature_m4A272D66518BF9A4C746B02B91AAB1361293232C(L_9, /*hidden argument*/NULL);
NullCheck(L_8);
StringBuilder_t * L_11;
L_11 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_8, L_10, /*hidden argument*/NULL);
int32_t L_12 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1));
}
IL_002e:
{
int32_t L_13 = V_2;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_14 = V_1;
NullCheck(L_14);
if ((((int32_t)L_13) < ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_14)->max_length))))))
{
goto IL_0017;
}
}
{
StringBuilder_t * L_15 = V_0;
NullCheck(L_15);
StringBuilder_t * L_16;
L_16 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_15, _stringLiteralD533C8C15007D85807A5FE481182C225E6A86D08, /*hidden argument*/NULL);
StringBuilder_t * L_17 = V_0;
NullCheck(L_17);
String_t* L_18;
L_18 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_17);
V_4 = L_18;
goto IL_004a;
}
IL_004a:
{
String_t* L_19 = V_4;
return L_19;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Conversion methods for marshalling of: UnityEngine.jvalue
IL2CPP_EXTERN_C void jvalue_t220BECEE73180D6A4DE0F66CB6BA852EC6A5B587_marshal_pinvoke(const jvalue_t220BECEE73180D6A4DE0F66CB6BA852EC6A5B587& unmarshaled, jvalue_t220BECEE73180D6A4DE0F66CB6BA852EC6A5B587_marshaled_pinvoke& marshaled)
{
marshaled.___z_0 = static_cast<int32_t>(unmarshaled.get_z_0());
marshaled.___b_1 = unmarshaled.get_b_1();
marshaled.___c_2 = static_cast<uint8_t>(unmarshaled.get_c_2());
marshaled.___s_3 = unmarshaled.get_s_3();
marshaled.___i_4 = unmarshaled.get_i_4();
marshaled.___j_5 = unmarshaled.get_j_5();
marshaled.___f_6 = unmarshaled.get_f_6();
marshaled.___d_7 = unmarshaled.get_d_7();
marshaled.___l_8 = unmarshaled.get_l_8();
}
IL2CPP_EXTERN_C void jvalue_t220BECEE73180D6A4DE0F66CB6BA852EC6A5B587_marshal_pinvoke_back(const jvalue_t220BECEE73180D6A4DE0F66CB6BA852EC6A5B587_marshaled_pinvoke& marshaled, jvalue_t220BECEE73180D6A4DE0F66CB6BA852EC6A5B587& unmarshaled)
{
bool unmarshaled_z_temp_0 = false;
unmarshaled_z_temp_0 = static_cast<bool>(marshaled.___z_0);
unmarshaled.set_z_0(unmarshaled_z_temp_0);
int8_t unmarshaled_b_temp_1 = 0x0;
unmarshaled_b_temp_1 = marshaled.___b_1;
unmarshaled.set_b_1(unmarshaled_b_temp_1);
Il2CppChar unmarshaled_c_temp_2 = 0x0;
unmarshaled_c_temp_2 = static_cast<Il2CppChar>(marshaled.___c_2);
unmarshaled.set_c_2(unmarshaled_c_temp_2);
int16_t unmarshaled_s_temp_3 = 0;
unmarshaled_s_temp_3 = marshaled.___s_3;
unmarshaled.set_s_3(unmarshaled_s_temp_3);
int32_t unmarshaled_i_temp_4 = 0;
unmarshaled_i_temp_4 = marshaled.___i_4;
unmarshaled.set_i_4(unmarshaled_i_temp_4);
int64_t unmarshaled_j_temp_5 = 0;
unmarshaled_j_temp_5 = marshaled.___j_5;
unmarshaled.set_j_5(unmarshaled_j_temp_5);
float unmarshaled_f_temp_6 = 0.0f;
unmarshaled_f_temp_6 = marshaled.___f_6;
unmarshaled.set_f_6(unmarshaled_f_temp_6);
double unmarshaled_d_temp_7 = 0.0;
unmarshaled_d_temp_7 = marshaled.___d_7;
unmarshaled.set_d_7(unmarshaled_d_temp_7);
intptr_t unmarshaled_l_temp_8;
memset((&unmarshaled_l_temp_8), 0, sizeof(unmarshaled_l_temp_8));
unmarshaled_l_temp_8 = marshaled.___l_8;
unmarshaled.set_l_8(unmarshaled_l_temp_8);
}
// Conversion method for clean up from marshalling of: UnityEngine.jvalue
IL2CPP_EXTERN_C void jvalue_t220BECEE73180D6A4DE0F66CB6BA852EC6A5B587_marshal_pinvoke_cleanup(jvalue_t220BECEE73180D6A4DE0F66CB6BA852EC6A5B587_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: UnityEngine.jvalue
IL2CPP_EXTERN_C void jvalue_t220BECEE73180D6A4DE0F66CB6BA852EC6A5B587_marshal_com(const jvalue_t220BECEE73180D6A4DE0F66CB6BA852EC6A5B587& unmarshaled, jvalue_t220BECEE73180D6A4DE0F66CB6BA852EC6A5B587_marshaled_com& marshaled)
{
marshaled.___z_0 = static_cast<int32_t>(unmarshaled.get_z_0());
marshaled.___b_1 = unmarshaled.get_b_1();
marshaled.___c_2 = static_cast<uint8_t>(unmarshaled.get_c_2());
marshaled.___s_3 = unmarshaled.get_s_3();
marshaled.___i_4 = unmarshaled.get_i_4();
marshaled.___j_5 = unmarshaled.get_j_5();
marshaled.___f_6 = unmarshaled.get_f_6();
marshaled.___d_7 = unmarshaled.get_d_7();
marshaled.___l_8 = unmarshaled.get_l_8();
}
IL2CPP_EXTERN_C void jvalue_t220BECEE73180D6A4DE0F66CB6BA852EC6A5B587_marshal_com_back(const jvalue_t220BECEE73180D6A4DE0F66CB6BA852EC6A5B587_marshaled_com& marshaled, jvalue_t220BECEE73180D6A4DE0F66CB6BA852EC6A5B587& unmarshaled)
{
bool unmarshaled_z_temp_0 = false;
unmarshaled_z_temp_0 = static_cast<bool>(marshaled.___z_0);
unmarshaled.set_z_0(unmarshaled_z_temp_0);
int8_t unmarshaled_b_temp_1 = 0x0;
unmarshaled_b_temp_1 = marshaled.___b_1;
unmarshaled.set_b_1(unmarshaled_b_temp_1);
Il2CppChar unmarshaled_c_temp_2 = 0x0;
unmarshaled_c_temp_2 = static_cast<Il2CppChar>(marshaled.___c_2);
unmarshaled.set_c_2(unmarshaled_c_temp_2);
int16_t unmarshaled_s_temp_3 = 0;
unmarshaled_s_temp_3 = marshaled.___s_3;
unmarshaled.set_s_3(unmarshaled_s_temp_3);
int32_t unmarshaled_i_temp_4 = 0;
unmarshaled_i_temp_4 = marshaled.___i_4;
unmarshaled.set_i_4(unmarshaled_i_temp_4);
int64_t unmarshaled_j_temp_5 = 0;
unmarshaled_j_temp_5 = marshaled.___j_5;
unmarshaled.set_j_5(unmarshaled_j_temp_5);
float unmarshaled_f_temp_6 = 0.0f;
unmarshaled_f_temp_6 = marshaled.___f_6;
unmarshaled.set_f_6(unmarshaled_f_temp_6);
double unmarshaled_d_temp_7 = 0.0;
unmarshaled_d_temp_7 = marshaled.___d_7;
unmarshaled.set_d_7(unmarshaled_d_temp_7);
intptr_t unmarshaled_l_temp_8;
memset((&unmarshaled_l_temp_8), 0, sizeof(unmarshaled_l_temp_8));
unmarshaled_l_temp_8 = marshaled.___l_8;
unmarshaled.set_l_8(unmarshaled_l_temp_8);
}
// Conversion method for clean up from marshalling of: UnityEngine.jvalue
IL2CPP_EXTERN_C void jvalue_t220BECEE73180D6A4DE0F66CB6BA852EC6A5B587_marshal_com_cleanup(jvalue_t220BECEE73180D6A4DE0F66CB6BA852EC6A5B587_marshaled_com& marshaled)
{
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Exception_t * Exception_get_InnerException_m10D85773B6B191C7D4E7D3C2954B84F9BB195218_inline (Exception_t * __this, const RuntimeMethod* method)
{
{
Exception_t * L_0 = __this->get__innerException_4();
return L_0;
}
}
| [
"[email protected]"
] | |
17f8b6cf818e23f1559ecb8e3d7ab1bd0032cf67 | 02330147d8c954354cdef643006ab1c4d7ec3344 | /Ternary search.cpp | 59d4050dcef3e1813bd151e11325027996c73d12 | [] | no_license | sapphirelpu/Hackertoberfest2020 | a280465eda8d0584a0f553575f7e4ebd9043f164 | 8d011cd1cf22c2d06705107cbcbc3140f056b7a5 | refs/heads/master | 2023-01-03T01:27:37.729019 | 2020-10-25T05:57:01 | 2020-10-25T05:57:01 | 300,266,809 | 3 | 42 | null | 2020-10-28T04:35:00 | 2020-10-01T12:12:24 | Python | UTF-8 | C++ | false | false | 656 | cpp | #include<iostream>
using namespace std;
int main()
{
int i,n,mid1,mid2,first,last,search;
cin>>n;
int a[n];
for (i=0;i<n;i++)
{
cin>>a[i];
}
cin>>search;
first=0;
last=n-1;
while (first<=last)
{
mid1=first+(last-first)/3;
mid2=last-(last-first)/3;
if(a[mid1] == search)
{
cout<<mid1;
break;
}
if(a[mid2] == search)
cout<<mid2;
if(search < a[mid1])
last=mid1-1;
else if(search > a[mid2])
first=mid2+1;
else
{
first=mid1+1;
last=mid2-1;
}
}
}
| [
"[email protected]"
] | |
afea8433c31aa4b5dd717f7dc378f5db1ffd2cdd | 644ade2af173ac318aedaabee1e7a8b1c720b0b9 | /Source/Renderer/drawPackage.cpp | 8c63c3ebe1d21ac36d09e7687fb438fb1c513f9c | [] | no_license | Met-CH4-An/FUNEngine | 0fc488407cabab713da98aeab289f78e62a05741 | 0c8eeda18e2992934e4f6ae2d7642b1aa0bb8eb9 | refs/heads/master | 2020-05-07T10:05:39.604956 | 2019-04-20T06:21:44 | 2019-04-20T06:21:44 | 179,972,181 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 2,375 | cpp | ////////////////////////////////////////////////////////////////
// секция PCH
////////////////////////////////////////////////////////////////
#include "pch.renderer.h"
////////////////////////////////////////////////////////////////
// секция заголовочного файла
////////////////////////////////////////////////////////////////
#include "DrawPackage.h"
////////////////////////////////////////////////////////////////
// секция компиляция файла
////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////
// секция форвард-декларации
////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////
// секция для исключений
////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////
// секция для остального
////////////////////////////////////////////////////////////////
#include "Renderer.h"
namespace FE {
namespace RENDERER {
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CDrawPackage::CDrawPackage(Renderer renderer)
: m_Renderer(renderer) {
}
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void CDrawPackage::create(const DRAW_PACKAGE_CREATE_INFO *createInfo) {
}
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void CDrawPackage::set(Mesh mesh) {
m_Mesh = mesh;
}
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void CDrawPackage::set(Effect Effect) {
m_Effect = Effect;
}
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mesh CDrawPackage::getMesh(void) const {
return m_Mesh;
}
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
} // namespace RENDERER
} // namespace FE | [
"[email protected]"
] | |
58558fd0f3401da76e167642406849c54aae5b73 | ac1c9fbc1f1019efb19d0a8f3a088e8889f1e83c | /out/release/gen/third_party/blink/renderer/bindings/core/v8/v8_font_face_set_load_event_init.cc | 50bd88e40d597a3b85e7a6362b812b28e1d2e638 | [
"BSD-3-Clause"
] | permissive | xueqiya/chromium_src | 5d20b4d3a2a0251c063a7fb9952195cda6d29e34 | d4aa7a8f0e07cfaa448fcad8c12b29242a615103 | refs/heads/main | 2022-07-30T03:15:14.818330 | 2021-01-16T16:47:22 | 2021-01-16T16:47:22 | 330,115,551 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,413 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file has been auto-generated from the Jinja2 template
// third_party/blink/renderer/bindings/templates/dictionary_v8.cc.tmpl
// by the script code_generator_v8.py.
// DO NOT MODIFY!
// clang-format off
#include "third_party/blink/renderer/bindings/core/v8/v8_font_face_set_load_event_init.h"
#include "base/stl_util.h"
#include "third_party/blink/renderer/bindings/core/v8/idl_types.h"
#include "third_party/blink/renderer/bindings/core/v8/native_value_traits_impl.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_event_init.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_font_face.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
namespace blink {
static const v8::Eternal<v8::Name>* eternalV8FontFaceSetLoadEventInitKeys(v8::Isolate* isolate) {
static const char* const kKeys[] = {
"fontfaces",
};
return V8PerIsolateData::From(isolate)->FindOrCreateEternalNameCache(
kKeys, kKeys, base::size(kKeys));
}
void V8FontFaceSetLoadEventInit::ToImpl(v8::Isolate* isolate, v8::Local<v8::Value> v8_value, FontFaceSetLoadEventInit* impl, ExceptionState& exception_state) {
if (IsUndefinedOrNull(v8_value)) {
return;
}
if (!v8_value->IsObject()) {
exception_state.ThrowTypeError("cannot convert to dictionary.");
return;
}
v8::Local<v8::Object> v8Object = v8_value.As<v8::Object>();
ALLOW_UNUSED_LOCAL(v8Object);
V8EventInit::ToImpl(isolate, v8_value, impl, exception_state);
if (exception_state.HadException())
return;
const v8::Eternal<v8::Name>* keys = eternalV8FontFaceSetLoadEventInitKeys(isolate);
v8::TryCatch block(isolate);
v8::Local<v8::Context> context = isolate->GetCurrentContext();
v8::Local<v8::Value> fontfaces_value;
if (!v8Object->Get(context, keys[0].Get(isolate)).ToLocal(&fontfaces_value)) {
exception_state.RethrowV8Exception(block.Exception());
return;
}
if (fontfaces_value.IsEmpty() || fontfaces_value->IsUndefined()) {
// Do nothing.
} else {
HeapVector<Member<FontFace>> fontfaces_cpp_value = NativeValueTraits<IDLSequence<FontFace>>::NativeValue(isolate, fontfaces_value, exception_state);
if (exception_state.HadException())
return;
impl->setFontfaces(fontfaces_cpp_value);
}
}
v8::Local<v8::Value> FontFaceSetLoadEventInit::ToV8Impl(v8::Local<v8::Object> creationContext, v8::Isolate* isolate) const {
v8::Local<v8::Object> v8Object = v8::Object::New(isolate);
if (!toV8FontFaceSetLoadEventInit(this, v8Object, creationContext, isolate))
return v8::Undefined(isolate);
return v8Object;
}
bool toV8FontFaceSetLoadEventInit(const FontFaceSetLoadEventInit* impl, v8::Local<v8::Object> dictionary, v8::Local<v8::Object> creationContext, v8::Isolate* isolate) {
if (!toV8EventInit(impl, dictionary, creationContext, isolate))
return false;
const v8::Eternal<v8::Name>* keys = eternalV8FontFaceSetLoadEventInitKeys(isolate);
v8::Local<v8::Context> context = isolate->GetCurrentContext();
auto create_property = [dictionary, context, keys, isolate](
size_t key_index, v8::Local<v8::Value> value) {
bool added_property;
v8::Local<v8::Name> key = keys[key_index].Get(isolate);
if (!dictionary->CreateDataProperty(context, key, value)
.To(&added_property)) {
return false;
}
return added_property;
};
v8::Local<v8::Value> fontfaces_value;
bool fontfaces_has_value_or_default = false;
if (impl->hasFontfaces()) {
fontfaces_value = ToV8(impl->fontfaces(), creationContext, isolate);
fontfaces_has_value_or_default = true;
} else {
fontfaces_value = ToV8(HeapVector<Member<FontFace>>(), creationContext, isolate);
fontfaces_has_value_or_default = true;
}
if (fontfaces_has_value_or_default &&
!create_property(0, fontfaces_value)) {
return false;
}
return true;
}
FontFaceSetLoadEventInit* NativeValueTraits<FontFaceSetLoadEventInit>::NativeValue(v8::Isolate* isolate, v8::Local<v8::Value> value, ExceptionState& exception_state) {
FontFaceSetLoadEventInit* impl = MakeGarbageCollected<FontFaceSetLoadEventInit>();
V8FontFaceSetLoadEventInit::ToImpl(isolate, value, impl, exception_state);
return impl;
}
} // namespace blink
| [
"[email protected]"
] | |
fe4c92a728ad859f2277cb3262b3d66cf3440255 | a60190acc6d718e8fec9e5b854c773401895e9fd | /test/concurrent/test_stack_lockfree_split_reference_hp.cpp | 61f69825a0650da3fc97d47832e5bb29a4489a60 | [
"MIT"
] | permissive | exbibyte/concurrent | a1dca7d76dee22c3d09772284eb9437773c9ad26 | 243246f3244cfaf7ffcbfc042c69980d96f988e4 | refs/heads/master | 2022-12-29T06:00:19.371848 | 2020-10-19T06:46:11 | 2020-10-19T06:46:11 | 190,367,454 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,217 | cpp | #define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file
#include <thread>
#include <vector>
#include <iostream>
#include <mutex>
#include <set>
#include <chrono>
#include "catch.hpp"
#include "stack_lockfree_split_reference.hpp"
#include "threadwrap.hpp"
#include "reclam_hazard.hpp"
using namespace std;
using container_type = stack_lockfree_split_reference<int, trait_reclamation::hp>;
TEST_CASE( "stack_lockfree_split_reference", "[stack split reference]" ) {
container_type stack;
auto f = [&](){
SECTION( "put" ) {
size_t count = stack.size();
CHECK( 0 == count );
stack.put(5);
stack.put(10);
count = stack.size();
CHECK( 2 == count );
SECTION( "get" ) {
auto ret = stack.get();
count = stack.size();
CHECK( 1 == count );
CHECK( ret );
CHECK( 10 == *ret );
}
}
SECTION( "get empty" ) {
auto ret = stack.get();
size_t count = stack.size();
CHECK( 0 == count );
CHECK( !ret );
}
};
threadwrap::this_thread_run<container_type::mem_reclam>(f);
SECTION( "multi-thread put" ) {
size_t count;
unsigned int num_threads = 10;
vector<threadwrap> threads( num_threads );
for( int i = 0; i < num_threads; ++i ){
threads[i] = threadwrap( [ &stack, i ](){
stack.put( i );
}, identity<container_type::mem_reclam>() );
}
for( auto & i : threads ){
i.join();
}
count = stack.size();
CHECK( num_threads == count );
SECTION( "multi-thread get" ) {
set<int> vals_retrieve;
mutex mtx;
for( auto & i : threads ){
i = threadwrap( [&](){
auto ret = stack.get();
mtx.lock();
if( ret ){
vals_retrieve.insert( *ret );
}
mtx.unlock();
}, identity<container_type::mem_reclam>() );
}
for( auto & i : threads ){
i.join();
}
count = stack.size();
CHECK( 0 == count );
for( int i = 0; i < num_threads; ++i ){
auto it = vals_retrieve.find(i);
CHECK( vals_retrieve.end() != it );
if( vals_retrieve.end() != it )
vals_retrieve.erase(it);
}
for( auto & i : threads ){
i = threadwrap( [&](){
auto ret = stack.get();
mtx.lock();
if( ret ){
vals_retrieve.insert( *ret );
}
mtx.unlock();
}, identity<container_type::mem_reclam>() );
}
for( auto & i : threads ){
i.join();
}
CHECK( vals_retrieve.empty() );
}
}
}
| [
"[email protected]"
] | |
bbe7f96350b2c799bcd8f8e5033225de1aee4b8a | 83bacfbdb7ad17cbc2fc897b3460de1a6726a3b1 | /third_party/WebKit/Source/core/svg/SVGAElement.h | 793a163e4a0aa0d3d3b03a82753d89180f3d2bb9 | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"Apache-2.0"
] | permissive | cool2528/miniblink49 | d909e39012f2c5d8ab658dc2a8b314ad0050d8ea | 7f646289d8074f098cf1244adc87b95e34ab87a8 | refs/heads/master | 2020-06-05T03:18:43.211372 | 2019-06-01T08:57:37 | 2019-06-01T08:59:56 | 192,294,645 | 2 | 0 | Apache-2.0 | 2019-06-17T07:16:28 | 2019-06-17T07:16:27 | null | UTF-8 | C++ | false | false | 2,511 | h | /*
* Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <[email protected]>
* Copyright (C) 2004, 2005 Rob Buis <[email protected]>
* Copyright (C) 2007 Eric Seidel <[email protected]>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public License
* along with this library; see the file COPYING.LIB. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#ifndef SVGAElement_h
#define SVGAElement_h
#include "core/CoreExport.h"
#include "core/svg/SVGAnimatedBoolean.h"
#include "core/svg/SVGGraphicsElement.h"
#include "core/svg/SVGURIReference.h"
namespace blink {
class CORE_EXPORT SVGAElement final : public SVGGraphicsElement,
public SVGURIReference {
DEFINE_WRAPPERTYPEINFO();
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SVGAElement);
public:
DECLARE_NODE_FACTORY(SVGAElement);
SVGAnimatedString* svgTarget() { return m_svgTarget.get(); }
DECLARE_VIRTUAL_TRACE();
private:
explicit SVGAElement(Document&);
String title() const override;
void svgAttributeChanged(const QualifiedName&) override;
LayoutObject* createLayoutObject(const ComputedStyle&) override;
void defaultEventHandler(Event*) override;
bool isLiveLink() const override { return isLink(); }
bool supportsFocus() const override;
bool shouldHaveFocusAppearance() const final;
void dispatchFocusEvent(Element* oldFocusedElement, WebFocusType) override;
void dispatchBlurEvent(Element* newFocusedElement, WebFocusType) override;
bool isMouseFocusable() const override;
bool isKeyboardFocusable() const override;
bool isURLAttribute(const Attribute&) const override;
bool canStartSelection() const override;
short tabIndex() const override;
bool willRespondToMouseClickEvents() override;
RefPtrWillBeMember<SVGAnimatedString> m_svgTarget;
bool m_wasFocusedByMouse;
};
} // namespace blink
#endif // SVGAElement_h
| [
"[email protected]"
] | |
137be90256042b925c3f632af441466ac688885b | 3bb2b6eeca9990de89adb9cc4443f50fe29a5369 | /src/core/util/Data/DataFile.cpp | 7d05a5cfd0a0c694905182f87270c125cda379ce | [] | no_license | am11/ffcore | 2ae7c14a1d75f5b7af0df87c897a4a0bee2381e0 | 4855bfd3c3d0c30c887dd6546c86f7542612e148 | refs/heads/master | 2021-01-17T02:03:26.356471 | 2015-08-12T17:56:23 | 2015-08-12T17:56:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,791 | cpp | #include "pch.h"
#include "COM/ComAlloc.h"
#include "COM/ComObject.h"
#include "Data/DataFile.h"
#include "Windows/FileUtil.h"
class __declspec(uuid("30bbbdcc-3ff1-4b2c-ab87-10a7f52f2156"))
CDataFile : public ff::ComBase, public ff::IDataFile
{
public:
DECLARE_HEADER(CDataFile);
bool Init(ff::StringRef path, bool bTempFile);
bool InitTempFile();
// IDataFile functions
virtual bool OpenWrite(ff::File &handle, bool bAppend) override;
virtual bool OpenRead (ff::File &handle) override;
virtual bool OpenReadMemMapped() override;
virtual bool CloseMemMapped() override;
virtual const BYTE *GetMem() const override;
virtual ff::StringRef GetPath() const override;
virtual size_t GetSize() const override;
private:
ff::String _path;
bool _temp;
// For mem mapped files:
long _open;
ff::File _file;
ff::MemMappedFile _mapping;
};
BEGIN_INTERFACES(CDataFile)
HAS_INTERFACE(ff::IDataFile)
END_INTERFACES()
bool ff::CreateTempDataFile(ff::IDataFile **obj)
{
ff::ComPtr<CDataFile, IDataFile> myObj;
assertHrRetVal(ff::ComAllocator<CDataFile>::CreateInstance(&myObj), false);
assertRetVal(myObj->InitTempFile(), false);
*obj = myObj.Detach();
return true;
}
bool ff::CreateDataFile(StringRef path, bool bTempFile, ff::IDataFile **obj)
{
ff::ComPtr<CDataFile, IDataFile> myObj;
assertHrRetVal(ff::ComAllocator<CDataFile>::CreateInstance(&myObj), false);
assertRetVal(myObj->Init(path, bTempFile), false);
*obj = myObj.Detach();
return true;
}
CDataFile::CDataFile()
: _temp(false)
, _open(0)
{
}
CDataFile::~CDataFile()
{
if (_temp && ff::FileExists(_path))
{
verify(ff::DeleteFile(_path));
}
}
bool CDataFile::InitTempFile()
{
_path = ff::CreateTempFile();
_temp = true;
return !_path.empty();
}
bool CDataFile::Init(ff::StringRef path, bool bTempFile)
{
assertRetVal(path.size(), false);
_path = path;
_temp = bTempFile;
return true;
}
bool CDataFile::OpenWrite(ff::File &handle, bool bAppend)
{
return handle.OpenWrite(_path, bAppend);
}
bool CDataFile::OpenRead(ff::File &handle)
{
return handle.OpenRead(_path);
}
bool CDataFile::OpenReadMemMapped()
{
if (InterlockedIncrement(&_open) == 1)
{
if (_file.OpenRead(_path))
{
if (!_mapping.OpenRead(_file))
{
_file.Close();
}
}
}
assertRetVal(_mapping && _file, false);
return true;
}
bool CDataFile::CloseMemMapped()
{
assertRetVal(_open > 0, false);
if (!InterlockedDecrement(&_open))
{
_mapping.Close();
_file.Close();
}
return true;
}
const BYTE *CDataFile::GetMem() const
{
return _mapping ? _mapping.GetMem() : nullptr;
}
ff::StringRef CDataFile::GetPath() const
{
return _path;
}
size_t CDataFile::GetSize() const
{
return (_open && _file)
? (_mapping ? _mapping.GetSize() : GetFileSize(_file))
: GetFileSize(GetPath());
}
| [
"[email protected]"
] | |
92963a14908e8ca69681e3d3788c9ceecc781ae5 | b3de27bcde44f1bd73168fb496b1c6ca6140e29c | /src/CommonFunctions.cpp | 77f31974c6f61f862d602ecab4a751d1afd5ef75 | [
"Apache-2.0"
] | permissive | stormshield/HiveSwarming | f7c031fc86935318e3bee946846a9189b65973cf | 50e1e747c3dcc15a96ec6f1d63ce3d1654b515b4 | refs/heads/master | 2023-06-27T14:29:16.014392 | 2023-06-15T12:59:56 | 2023-06-15T13:08:48 | 239,482,977 | 6 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,216 | cpp | // (C) Stormshield 2023
// Licensed under the Apache license, version 2.0
// See LICENSE.txt for details
#include <windows.h>
#include "Constants.h"
#include "CommonFunctions.h"
#include <vector>
#include <iostream>
#include <iomanip>
void DeleteHiveLogFiles
(
_In_ const std::wstring &HiveFilePath
)
{
for (auto& Ext : Constants::Hives::LogFileExtensions)
{
std::wstring LogFilePath = HiveFilePath + Ext;
DWORD Attributes = GetFileAttributesW(LogFilePath.c_str());
if (Attributes != INVALID_FILE_ATTRIBUTES)
{
Attributes &= ~FILE_ATTRIBUTE_HIDDEN;
Attributes &= ~FILE_ATTRIBUTE_SYSTEM;
SetFileAttributesW(LogFilePath.c_str(), Attributes);
DeleteFileW(LogFilePath.c_str());
}
}
}
void ReportError
(
_In_ const HRESULT ErrorCode,
_In_ const std::wstring& Context
)
{
LPWSTR MessageBuffer = NULL;
DWORD FmtResult = FormatMessageW(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM |
FORMAT_MESSAGE_IGNORE_INSERTS | FORMAT_MESSAGE_MAX_WIDTH_MASK,
NULL, ErrorCode, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
(LPWSTR)&MessageBuffer, 0, NULL);
if (!Context.empty())
{
std::wcerr << Context << L":" << std::endl;
}
if (FmtResult == 0)
{
std::wcerr << L"ERROR " << std::hex << std::setw(8) << ErrorCode << L" (could not format message)";
}
else
{
std::wcerr << L"ERROR " << std::hex << std::setw(8) << ErrorCode << L" (" << MessageBuffer << L")";
LocalFree((PVOID)MessageBuffer);
MessageBuffer = NULL;
}
std::wcerr << std::endl << std::endl;
}
VOID GlobalStringSubstitute(
_Inout_ std::wstring& String,
_In_ const std::wstring& Pattern,
_In_ const std::wstring& Replacement
)
{
size_t Position = String.find(Pattern);
while (Position != String.npos)
{
String.replace(Position, Pattern.length(), Replacement);
Position = String.find(Pattern, Position + Replacement.length());
}
}
| [
"[email protected]"
] | |
d5149a21920465d7b3142b0f9f0bf3ebe0c44556 | 2865eebb3061f7d62b432267ae89f13c8d7634db | /剑指offer/面试题10-I斐波那契数列.cpp | efac61b01dfd5fb0de61dd8ee82f114e4d7c8920 | [] | no_license | ahojcn/my-leetcode | f3de28086b747d37d791c0854ef0fc37c4909f1a | 00c2bc8637f5c981893073109f43654334266a27 | refs/heads/master | 2021-06-13T02:21:27.162747 | 2020-06-29T12:12:38 | 2020-06-29T12:12:38 | 254,411,905 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 297 | cpp | // https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof/
//
class Solution {
public:
int fib(int n) {
int a = 0, b = 1, sum;
for(int i = 0; i < n; i++){
sum = (a + b) % 1000000007;
a = b;
b = sum;
}
return a;
}
}; | [
"[email protected]"
] | |
2a2c0bb6e57e3b8d5c187eb4c60c09534dd48bd1 | abe8fd193fec7d0a805c8b0063105a18e44438fe | /Adruino/PetTutorTilt/PetTutorTilt.ino | 827665e4aeb21eaf0bd65f8f589c29f3de7a2585 | [
"MIT"
] | permissive | PetTutor/PetTutor-SDK-Demos | 131be025d1e2f5659e76699db8b399dbc002898b | 2745b7106d44a8d59142b57d4fbf4d547e8417b9 | refs/heads/master | 2021-09-06T22:11:18.708876 | 2021-08-04T22:05:19 | 2021-08-04T22:05:19 | 39,911,928 | 3 | 2 | MIT | 2021-08-04T23:40:05 | 2015-07-29T19:22:36 | Objective-C | UTF-8 | C++ | false | false | 4,489 | ino | /*
Smart Animal Training Systems, LLC
Pet Tutor Arduino SDK Demo
Coder: David Nelson
Contact: [email protected]
Modified Date: 7/1/2015
Description:
This app uses the acceleration data to trigger a feed command on a Pet Tutor device.
After feed is called the device must wait a set period of time before it can feed again.
NOTE: App 'print' commands must be disabled when interacting with the feeder. Print should
only be used when interacting with the virtual terminal and not he physical device.
License:
This software is provided to you through the The MIT License (MIT)
Copyright (c) 2015 Smart Animal Training Systems, LLC
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.
*/
// setup some initial variables to store acceleration values
AccelerationReading lastAccel = {0, 0, 0};
// we'll use this to dampen our results
float sensitivity = 50.0;
// store the differences between the current and previous accel data
float xDiff = 0.0;
float yDiff = 0.0;
float zDiff = 0.0;
// decide if we can trigger the feeder
boolean canTrigger = false;
void setup()
{
// this is important to allow the virtual terminal to recieve responses during development
Serial.begin(57600);
Serial.setTimeout(25);
// start with the onboard LED off
Bean.setLed(0,0,0);
// this helps with power management. The bean can be put to sleep until something connects
// to the device and then it'll wake back up and start running.
Bean.enableWakeOnConnect( true );
}
void loop()
{
// we'll check if we are connected and then if we are we'll process the acceleration data
// to determine if we should feed. If we are not connected we turn off the LED and sleep.
bool connected = Bean.getConnectionState();
if ( connected )
{
// a green LED means it's ready to feed while red means it can't be triggered yet
Bean.setLed( 0, 255, 0 );
AccelerationReading accel = {0, 0, 0};
// get the acceleration data and determine if we can feed based on how long its been
// stable, and how great the movement is.
accel = Bean.getAcceleration();
if (lastAccel.xAxis == 0 && lastAccel.yAxis == 0 && lastAccel.zAxis == 0)
lastAccel = accel;
xDiff = abs(lastAccel.xAxis - accel.xAxis);
yDiff = abs(lastAccel.yAxis - accel.yAxis);
zDiff = abs(lastAccel.zAxis - accel.zAxis);
if (xDiff > sensitivity || yDiff > sensitivity || zDiff > sensitivity)
{
if (canTrigger)
{
//Serial.println("Feed!"); // this is used for virtual serial processing
// Below is the command to trigger a feed cycle on the Pet Tutor device
// Commands ARE case sensitive
///////////////////////////////////
Serial.write("CMD-ACCESSORY-FEED");
///////////////////////////////////
canTrigger = false;
Bean.setLed(255, 0, 0);
}
}
// must be stable for 3 second
for (int i = 0; i < 3; i++)
{
if (xDiff < sensitivity && yDiff < sensitivity && zDiff < sensitivity && canTrigger == false)
{
canTrigger = true;
xDiff = yDiff = zDiff = 0.0;
lastAccel.xAxis = lastAccel.yAxis = lastAccel.zAxis = 0.0;
//Serial.println("Can feed!");
Bean.setLed(0, 255, 0);
}
}
lastAccel = accel;
Bean.sleep(250);
}
else
{
// we are not connected to any devices so sleep until we are
Bean.setLed( 0, 0, 0 );
// Sleep unless woken
Bean.sleep( 0xFFFFFFFF );
}
}
| [
"[email protected]"
] | |
da6594f2333b76b09d906ac8b81ac2aab67c6b6b | c5442296d14207627ac4d7516debb931dc04611c | /bin/coordinate/test_coordinate.cpp | cbc4bdcb8d89f295d6bd3e4862188a0bc937399a | [] | no_license | agawande/RobotCode2016 | db51cdb59688f219bc18391cde2ece7f1b78c19e | 71bce20af7aff39e8d8b68c608556eb6c7d3a47e | refs/heads/master | 2021-01-10T14:55:09.505661 | 2016-03-30T02:57:04 | 2016-03-30T02:57:04 | 37,889,436 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 88 | cpp | #include "coordinate.hpp"
int main()
{
Coordinate a(0, 100, 200, 0);
a.print();
}
| [
"[email protected]"
] | |
98ab12cc81eea25150c046c6c00b44c4d181a4e4 | 7132d4b04bdc5e8f4a617d0540bb85eb03a443e9 | /src/policy/policy.h | 28be45c9f122714fe696b2d4c4eea7d2b5f53eb2 | [
"MIT"
] | permissive | PhoenixSIV/Main | 02b2334dd620a562b8b1a9559c326538c3de4e27 | 09c421991a964e495af0740772f4e661ee5e3a69 | refs/heads/master | 2023-06-16T11:07:30.367962 | 2021-07-13T23:38:27 | 2021-07-13T23:38:27 | 385,640,199 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,436 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2017 The Bitcoin Core developers
// Copyright (c) 2021 The PHOENIXSIV Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_POLICY_POLICY_H
#define BITCOIN_POLICY_POLICY_H
#include <consensus/consensus.h>
#include <policy/feerate.h>
#include <script/interpreter.h>
#include <script/standard.h>
#include <string>
class CCoinsViewCache;
class CTxOut;
/** Default for -blockmaxweight, which controls the range of block weights the mining code will create **/
static const unsigned int DEFAULT_BLOCK_MAX_WEIGHT = MAX_BLOCK_WEIGHT - 4000;
/** Default for -blockmintxfee, which sets the minimum feerate for a transaction in blocks created by mining code **/
static const unsigned int DEFAULT_BLOCK_MIN_TX_FEE = 1000;
/** The maximum weight for transactions we're willing to relay/mine */
static const unsigned int MAX_STANDARD_TX_WEIGHT = 400000;
/** The minimum non-witness size for transactions we're willing to relay/mine (1 segwit input + 1 P2WPKH output = 82 bytes) */
static const unsigned int MIN_STANDARD_TX_NONWITNESS_SIZE = 82;
/** Maximum number of signature check operations in an IsStandard() P2SH script */
static const unsigned int MAX_P2SH_SIGOPS = 15;
/** The maximum number of sigops we're willing to relay/mine in a single tx */
static const unsigned int MAX_STANDARD_TX_SIGOPS_COST = MAX_BLOCK_SIGOPS_COST/5;
/** Default for -maxmempool, maximum megabytes of mempool memory usage */
static const unsigned int DEFAULT_MAX_MEMPOOL_SIZE = 300;
/** Default for -incrementalrelayfee, which sets the minimum feerate increase for mempool limiting or BIP 125 replacement **/
static const unsigned int DEFAULT_INCREMENTAL_RELAY_FEE = 1000;
/** Default for -bytespersigop */
static const unsigned int DEFAULT_BYTES_PER_SIGOP = 20;
/** The maximum number of witness stack items in a standard P2WSH script */
static const unsigned int MAX_STANDARD_P2WSH_STACK_ITEMS = 100;
/** The maximum size of each witness stack item in a standard P2WSH script */
static const unsigned int MAX_STANDARD_P2WSH_STACK_ITEM_SIZE = 80;
/** The maximum size of a standard witnessScript */
static const unsigned int MAX_STANDARD_P2WSH_SCRIPT_SIZE = 3600;
/** Min feerate for defining dust. Historically this has been based on the
* minRelayTxFee, however changing the dust limit changes which transactions are
* standard and should be done with care and ideally rarely. It makes sense to
* only increase the dust limit after prior releases were already not creating
* outputs below the new threshold */
static const unsigned int DUST_RELAY_TX_FEE = 3000;
/**
* Standard script verification flags that standard transactions will comply
* with. However scripts violating these flags may still be present in valid
* blocks and we must accept those blocks.
*/
static constexpr unsigned int STANDARD_SCRIPT_VERIFY_FLAGS = MANDATORY_SCRIPT_VERIFY_FLAGS |
SCRIPT_VERIFY_DERSIG |
SCRIPT_VERIFY_STRICTENC |
SCRIPT_VERIFY_MINIMALDATA |
SCRIPT_VERIFY_NULLDUMMY |
SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_NOPS |
SCRIPT_VERIFY_CLEANSTACK |
SCRIPT_VERIFY_MINIMALIF |
SCRIPT_VERIFY_NULLFAIL |
SCRIPT_VERIFY_CHECKLOCKTIMEVERIFY |
SCRIPT_VERIFY_CHECKSEQUENCEVERIFY |
SCRIPT_VERIFY_LOW_S |
SCRIPT_VERIFY_WITNESS |
SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_WITNESS_PROGRAM |
SCRIPT_VERIFY_WITNESS_PUBKEYTYPE |
SCRIPT_VERIFY_CONST_SCRIPTCODE;
/** For convenience, standard but not mandatory verify flags. */
static constexpr unsigned int STANDARD_NOT_MANDATORY_VERIFY_FLAGS = STANDARD_SCRIPT_VERIFY_FLAGS & ~MANDATORY_SCRIPT_VERIFY_FLAGS;
/** Used as the flags parameter to sequence and nLocktime checks in non-consensus code. */
static constexpr unsigned int STANDARD_LOCKTIME_VERIFY_FLAGS = LOCKTIME_VERIFY_SEQUENCE |
LOCKTIME_MEDIAN_TIME_PAST;
CAmount GetDustThreshold(const CTxOut& txout, const CFeeRate& dustRelayFee);
bool IsDust(const CTxOut& txout, const CFeeRate& dustRelayFee);
bool IsStandard(const CScript& scriptPubKey, txnouttype& whichType, const bool witnessEnabled = false);
/**
* Check for standard transaction types
* @return True if all outputs (scriptPubKeys) use only standard transaction forms
*/
bool IsStandardTx(const CTransaction& tx, std::string& reason, const bool witnessEnabled = false);
/**
* Check for standard transaction types
* @param[in] mapInputs Map of previous transactions that have outputs we're spending
* @return True if all inputs (scriptSigs) use only standard transaction forms
*/
bool AreInputsStandard(const CTransaction& tx, const CCoinsViewCache& mapInputs);
/**
* Check if the transaction is over standard P2WSH resources limit:
* 3600bytes witnessScript size, 80bytes per witness stack element, 100 witness stack elements
* These limits are adequate for multi-signature up to n-of-100 using OP_CHECKSIG, OP_ADD, and OP_EQUAL,
*/
bool IsWitnessStandard(const CTransaction& tx, const CCoinsViewCache& mapInputs);
extern CFeeRate incrementalRelayFee;
extern CFeeRate dustRelayFee;
extern unsigned int nBytesPerSigOp;
/** Compute the virtual transaction size (weight reinterpreted as bytes). */
int64_t GetVirtualTransactionSize(int64_t nWeight, int64_t nSigOpCost);
int64_t GetVirtualTransactionSize(const CTransaction& tx, int64_t nSigOpCost = 0);
#endif // BITCOIN_POLICY_POLICY_H
| [
"[email protected]"
] | |
a10a82fbb268c26c85f675fcc2caa28e416ce31e | 5dfa996630af52dd17ccf3b15f383b6710284ac7 | /1-trabalho/detectaMoeda.cxx | 5edfbb66b9a4f0f93363443c14d278dfaa5fc927 | [] | no_license | ClarissaDP/ImgProc_CoinSegmentation | cc7afb9640d932da79812cf54663960b1cafe5f6 | d307598fd441b1b0305ac52157f7e3345bbcd85d | refs/heads/master | 2021-04-06T10:39:59.386370 | 2018-03-13T16:20:59 | 2018-03-13T16:20:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,677 | cxx | #include "itkImage.h"
#include "itkImageFileReader.h"
#include "itkBinaryThresholdImageFilter.h"
#include "itkImageRegionIterator.h"
#include "itkImageRegionConstIterator.h"
#include "itkImageFileWriter.h"
#include "itkBinaryMorphologicalClosingImageFilter.h"
#include "itkBinaryBallStructuringElement.h"
int main(int argc, char *argv[]) {
if(argc < 2) {
std::cerr << "Usage: " << std::endl;
std::cerr << argv[0] << " inputImageFile" << std::endl;
return EXIT_FAILURE;
}
unsigned int MAX_COL, MAX_LIN;
unsigned int i, j, diametro, maiorDiametro=0, maiorDiametroColuna=0, linhaMaior, colunaMaior, saiuDaMoeda=0, media;
unsigned int hue, tamanhoLinha, tamanhoColuna, quant, inicioLinha, inicioColuna, aceito;
unsigned char val;
typedef itk::Image<unsigned char, 2> ImageType;
typedef itk::ImageFileReader<ImageType> ReaderType;
typedef itk::Image<float, 2> FloatImageType;
typedef itk::ImageFileReader<ImageType> ReaderType;
ReaderType::Pointer reader = ReaderType::New();
reader->SetFileName (argv[1]);
reader->Update();
/*------------------------------------------------------------------------------*/
/* Binarização da Imagem */
/*------------------------------------------------------------------------------*/
/* Definição para o Threshold */
int lowerThreshold = 86;
int upperThreshold = 255;
/* Binary Threshold Image Filter */
typedef itk::BinaryThresholdImageFilter <ImageType, ImageType> BinaryThresholdImageFilterType;
BinaryThresholdImageFilterType::Pointer thresholdFilter = BinaryThresholdImageFilterType::New();
thresholdFilter->SetInput(reader->GetOutput());
thresholdFilter->SetLowerThreshold(lowerThreshold);
thresholdFilter->SetUpperThreshold(upperThreshold);
thresholdFilter->SetInsideValue(0);
thresholdFilter->SetOutsideValue(255);
/*------------------------------------------------------------------------------*/
/* Melhoramento da Imagem */
/*------------------------------------------------------------------------------*/
/* Closing Filter */
ImageType::Pointer image = thresholdFilter->GetOutput();
// thresholdFilter->Update();
typedef itk::BinaryBallStructuringElement<ImageType::PixelType, ImageType::ImageDimension> StructuringElementType;
StructuringElementType structuringElement;
structuringElement.SetRadius(5);
structuringElement.CreateStructuringElement();
typedef itk::BinaryMorphologicalClosingImageFilter <ImageType, ImageType, StructuringElementType> BinaryMorphologicalClosingImageFilterType;
BinaryMorphologicalClosingImageFilterType::Pointer closingFilter = BinaryMorphologicalClosingImageFilterType::New();
closingFilter->SetInput(image);
closingFilter->SetKernel(structuringElement);
closingFilter->Update();
/*------------------------------------------------------------------------------*/
/* Verificação da caixa interna */
/*------------------------------------------------------------------------------*/
ImageType::Pointer image2 = closingFilter->GetOutput();
ImageType::RegionType region2 = image2->GetLargestPossibleRegion();
ImageType::SizeType size = region2.GetSize();
MAX_COL = size[0];
MAX_LIN = size[1];
itk::ImageRegionConstIterator<ImageType> diameterIterator(image2,region2);
i = 0;
hue = 1;
while((!diameterIterator.IsAtEnd()) && (hue)) {
j = 0;
tamanhoLinha = 0;
while ( (j < MAX_COL) && (hue)) {
val = diameterIterator.Get();
if(val == 255) {
++tamanhoLinha;
}
if (tamanhoLinha > 1100) {
hue = 0;
linhaMaior = i;
}
++diameterIterator;
++j;
}
++i;
}
inicioLinha = i+5;
MAX_LIN = inicioLinha + 1230;
tamanhoColuna = 0;
for (j = 0; (j < MAX_LIN); ++j) {
if(image->GetPixel({j, 0}) == 255)
++tamanhoColuna;
}
/* Caso a imagem esteja invertida */
if(tamanhoColuna == MAX_LIN) {
hue = 1;
quant = 0;
for (i = (MAX_COL-1); (i > 0) && (quant < 6) ; --i) {
tamanhoColuna = 0;
for (j = (MAX_LIN-1); (j > 0) && (hue) ; --j) {
if(image->GetPixel({i, j}) == 255)
++tamanhoColuna;
if(tamanhoColuna > 1100) {
hue = 0;
if(quant == 0) {
maiorDiametroColuna = tamanhoColuna;
colunaMaior = i;
}
++quant;
}
else
quant = 0;
}
}
inicioColuna = colunaMaior - 1090;
MAX_COL = colunaMaior;
}
else {
hue = 1;
quant = 0;
for (i = 0; (i < MAX_COL) && (quant < 6) ; ++i) {
tamanhoColuna = 0;
for (j = 0; (j < MAX_LIN) && (hue) ; ++j) {
if(image->GetPixel({i, j}) == 255)
++tamanhoColuna;
if(tamanhoColuna > 1100) {
hue = 0;
if(quant == 0) {
maiorDiametroColuna = tamanhoColuna;
colunaMaior = i;
}
++quant;
}
else
quant = 0;
}
}
inicioColuna = colunaMaior;
MAX_COL = colunaMaior + 1090;
}
/*------------------------------------------------------------------------------*/
/* Encontrando o Diametro */
/*------------------------------------------------------------------------------*/
colunaMaior = linhaMaior = 0;
maiorDiametro = 0;
maiorDiametroColuna = 0;
aceito = 0;
while(!aceito) {
for (i = inicioLinha; i < MAX_LIN ; ++i) {
diametro = 0;
for (j = inicioColuna; j < MAX_COL ; ++j) {
if(image->GetPixel({j, i}) == 0)
diametro++;
}
if (diametro > maiorDiametro) {
maiorDiametro = diametro;
linhaMaior = i;
}
}
if(maiorDiametro < 410)
aceito = 1;
if (!aceito) {
inicioLinha += 1;
MAX_LIN -= 1;
inicioColuna += 1;
MAX_COL -= 1;
maiorDiametro = 0;
}
}
aceito = 0;
while(!aceito) {
for (j = inicioColuna; j < MAX_COL ; ++j) {
diametro = 0;
for (i = inicioLinha; i < MAX_LIN; ++i) {
if(image->GetPixel({j, i}) == 0)
diametro++;
}
if (diametro > maiorDiametroColuna) {
maiorDiametroColuna = diametro;
colunaMaior = i;
}
}
if(maiorDiametroColuna < 410)
aceito = 1;
if (!aceito) {
inicioColuna += 1;
MAX_COL -= 1;
inicioLinha += 1;
MAX_LIN -= 1;
maiorDiametroColuna = 0;
}
}
media = (maiorDiametro + maiorDiametroColuna)/2;
/*------------------------------------------------------------------------------*/
/* Definindo a Moeda! */
/*------------------------------------------------------------------------------*/
puts("");
// Comparando o tamanho médio encontrado com as faixas de tamanhos
if (media >= 280 && media <= 319)
printf("R$ 0,10\n\n");
else if (media >= 320 && media <= 334)
printf("R$ 0,05\n\n");
else if (media >= 335 && media <= 348)
printf("R$ 0,50\n\n");
else if (media >= 349 && media <= 354)
printf("R$ 0,05\n\n");
else if (media >= 355 && media <= 376)
printf("R$ 0,25\n\n");
else if (media >= 377 && media <= 410)
printf("R$ 1,00\n\n");
else
printf("Moeda nao identificada :( \n\n");
/*------------------------------------------------------------------------------*/
/* Imprimindo a moeda que foi verificada */
/*------------------------------------------------------------------------------*/
// ImageType::Pointer output = closingFilter->GetOutput();
// typedef itk::ImageFileWriter<ImageType> WriterType;
// WriterType::Pointer outputWriter = WriterType::New();
// outputWriter->SetFileName("output.png");
// outputWriter->SetInput(output);
// outputWriter->Update();
return EXIT_SUCCESS;
}
| [
"[email protected]"
] | |
16b46a2fb42020e6dc869c3bafb116c36a3931d4 | d973b3a5ca390ecceceb630a09873d9f4cee29f1 | /BOJ/USACO/17022_Sleepy Cow Sorting.cpp | 027c96df6270aff994e4483b4551d8f2f0139dde | [] | no_license | hschoi1104/Algorithm | f06a111f44e674b38f1e0d65193b4b98ab8ac7d5 | 8317a843354c2530590c871d8a10850a0303f18a | refs/heads/master | 2023-08-09T13:01:22.646030 | 2023-08-02T08:02:43 | 2023-08-02T08:02:43 | 201,705,544 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 846 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
vector<int>a, b;
int main() {
ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);
int k = 0, n; cin >> n;
vector<int>in(n);
for (int i = 0; i < n; i++) cin >> in[i];
for (int i = in.size() - 1; i > 0; i--) {
if (in[i - 1] > in[i]) {
k = i;
break;
}
}
for (int i = 0; i < k; i++) a.push_back(in[i]);
for (int i = k; i < n; i++) b.push_back(in[i]);
vector<int>ans;
while (a.size()) {
int cur = a[0], p;
a.erase(a.begin());
auto it = lower_bound(b.begin(), b.end(), cur);
if (it != b.end())p = a.size() + (it - b.begin());
else p = a.size() + b.size();
ans.push_back(p);
b.insert(it,cur);
}
cout << ans.size()<<"\n";
cout << *ans.begin();
for (int i = 1; i < ans.size(); i++) {
cout << " " << ans[i];
}
return 0;
} | [
"[email protected]"
] | |
c30722d08019aab2a31b12fa0705396e008be960 | c14e75a4bc8fbe4d7f1a1af5e9c2718ac69eecb0 | /EMUCore.cpp | 9d734c12a1821d7eda34d873185990da4d4bfe43 | [] | no_license | marukun318/DummyPlug | 729e8e0d08bc6618c67966f1ba514a6e674bfe99 | 6035c2065d4fbdf3c641f14b4f0333ad5775712e | refs/heads/master | 2022-11-30T08:17:06.988160 | 2020-08-16T16:58:59 | 2020-08-16T16:58:59 | 287,937,990 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,846 | cpp | #include "EMUCore.h"
void EmuCore::StartEmulation()
{
// メインループ
// メインスレッド
m_thread = std::thread([this] {
bool bFirst = true;
m_isRunning = true;
while (m_isRunning) {
auto start = std::chrono::system_clock::now(); // 計測スタート時刻を保存
{
std::lock_guard<std::mutex> lock(m_mutex);
if (bFirst) {
bFirst = false;
// いったんオフスクリーンをクリア
memset(m_offscreen, 0, sizeof(uint32_t) * EMUTEX_W * EMUTEX_H);
}
// 画面書き換え
// 砂嵐
uint32_t* ptr = m_offscreen;
uint32_t data = 0;
int i;
int j;
for (i = 0; i < TEX_HEIGHT; i++) {
for (j = 0; j < TEX_WIDTH; j++) {
data = 0xFF000000 | ((rand() & 0xFF) << 16) | ((rand() & 0xFF) << 9) | (rand() & 0xFF);
// *(ptr++) = 0xFFFF0000; //AABBGGRR
*(ptr++) = data;
}
}
} // !lock_guard
auto end = std::chrono::system_clock::now(); // 計測終了時刻を保存
auto dur = end - start; // 要した時間を計算
auto msec = std::chrono::duration_cast<std::chrono::milliseconds>(dur).count();
if (msec < 17) {
std::chrono::milliseconds dura(17 - msec); // 17ミリ秒
std::this_thread::sleep_for(dura);
}
else {
std::this_thread::yield();
}
}
});
}
void EmuCore::StopEmulation()
{
// スレッド停止
m_isRunning = false;
if (m_thread.joinable()) {
m_thread.join();
}
// 後始末
}
void EmuCore::Update()
{
if (m_unity == nullptr || m_texture == nullptr || m_offscreen == nullptr) return;
std::lock_guard<std::mutex> lock(m_mutex);
auto device = m_unity->Get<IUnityGraphicsD3D11>()->GetDevice();
ID3D11DeviceContext* context;
device->GetImmediateContext(&context);
context->UpdateSubresource(m_texture, 0, nullptr, m_offscreen, TEX_WIDTH*4, 0);
}
| [
"[email protected]"
] | |
84013b431bde1e9025994308a63b4db6e0bf918a | 3488515b33bdafbdb4ba2dd652e309b311255891 | /components/download/internal/common/download_worker.h | 28e5b05f6fe5b225867ef050260c5a0d41a8cb3c | [
"BSD-3-Clause"
] | permissive | Jishun/chromium | bbacceb5d7b29a5cb0b17612c109e2b6560f9735 | 309b078c964e2b61edfe87c29581dab4410eaa25 | refs/heads/master | 2022-11-30T00:36:27.261439 | 2019-10-09T03:59:15 | 2019-10-09T03:59:15 | 212,290,313 | 0 | 0 | BSD-3-Clause | 2019-10-10T03:05:03 | 2019-10-02T08:30:28 | null | UTF-8 | C++ | false | false | 3,064 | h | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_DOWNLOAD_INTERNAL_COMMON_DOWNLOAD_WORKER_H_
#define COMPONENTS_DOWNLOAD_INTERNAL_COMMON_DOWNLOAD_WORKER_H_
#include <memory>
#include "base/macros.h"
#include "base/memory/scoped_refptr.h"
#include "base/memory/weak_ptr.h"
#include "components/download/public/common/download_export.h"
#include "components/download/public/common/download_url_parameters.h"
#include "components/download/public/common/url_download_handler.h"
namespace service_manager {
class Connector;
} // namespace service_manager
namespace download {
// Helper class used to send subsequent range requests to fetch slices of the
// file after handling response of the original non-range request.
// TODO(xingliu): we should consider to reuse this class for single connection
// download.
class COMPONENTS_DOWNLOAD_EXPORT DownloadWorker
: public UrlDownloadHandler::Delegate {
public:
class Delegate {
public:
// Called when the the input stream is established after server response is
// handled. The stream contains data starts from |offset| of the
// destination file.
virtual void OnInputStreamReady(
DownloadWorker* worker,
std::unique_ptr<InputStream> input_stream,
std::unique_ptr<DownloadCreateInfo> download_create_info) = 0;
};
DownloadWorker(DownloadWorker::Delegate* delegate, int64_t offset);
virtual ~DownloadWorker();
int64_t offset() const { return offset_; }
// Send network request to ask for a download.
void SendRequest(std::unique_ptr<DownloadUrlParameters> params,
URLLoaderFactoryProvider* url_loader_factory_provider,
service_manager::Connector* connector);
// Download operations.
void Pause();
void Resume();
void Cancel(bool user_cancel);
private:
// UrlDownloader::Delegate implementation.
void OnUrlDownloadStarted(
std::unique_ptr<DownloadCreateInfo> create_info,
std::unique_ptr<InputStream> input_stream,
URLLoaderFactoryProvider::URLLoaderFactoryProviderPtr
url_loader_factory_provider,
UrlDownloadHandler* downloader,
const DownloadUrlParameters::OnStartedCallback& callback) override;
void OnUrlDownloadStopped(UrlDownloadHandler* downloader) override;
void OnUrlDownloadHandlerCreated(
UrlDownloadHandler::UniqueUrlDownloadHandlerPtr downloader) override;
DownloadWorker::Delegate* const delegate_;
// The starting position of the content for this worker to download.
int64_t offset_;
// States of the worker.
bool is_paused_;
bool is_canceled_;
// Used to handle the url request. Live and die on IO thread.
UrlDownloadHandler::UniqueUrlDownloadHandlerPtr url_download_handler_;
base::WeakPtrFactory<DownloadWorker> weak_factory_{this};
DISALLOW_COPY_AND_ASSIGN(DownloadWorker);
};
} // namespace download
#endif // COMPONENTS_DOWNLOAD_PUBLIC_COMMON_DOWNLOAD_WORKER_H_
| [
"[email protected]"
] | |
0bcdc5f3c7e3ac28058816434d9d5207be7d8ce2 | a0cfed51805d688aef2d70fbfe94d945a84b9ed0 | /llvm-project/llvm/tools/llvm-readobj/llvm-readobj.h | 7672da5c0aae6fc17b5a709777a83d7df70b15e6 | [
"Apache-2.0",
"NCSA",
"LLVM-exception"
] | permissive | KhronosGroup/libclcxx | 89a1c61579a6fce7e2ebb3dab4c91869ba198d25 | 27f6d72e76ffc458efb1d14b48ca268a85425c85 | refs/heads/main | 2023-09-05T06:26:13.075647 | 2022-02-17T11:14:00 | 2022-02-17T11:14:00 | 56,150,434 | 125 | 46 | null | 2023-03-06T07:23:00 | 2016-04-13T12:38:00 | null | UTF-8 | C++ | false | false | 1,492 | h | //===-- llvm-readobj.h ----------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_TOOLS_LLVM_READOBJ_LLVM_READOBJ_H
#define LLVM_TOOLS_LLVM_READOBJ_LLVM_READOBJ_H
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/ErrorOr.h"
#include "llvm/Support/Error.h"
#include <string>
namespace llvm {
namespace object {
class RelocationRef;
}
// Various helper functions.
[[noreturn]] void reportError(Error Err, StringRef Input);
void reportWarning(Error Err, StringRef Input);
template <class T> T unwrapOrError(StringRef Input, Expected<T> EO) {
if (EO)
return *EO;
reportError(EO.takeError(), Input);
}
} // namespace llvm
namespace opts {
extern bool SectionRelocations;
extern bool SectionSymbols;
extern bool SectionData;
extern bool ExpandRelocs;
extern bool RawRelr;
extern bool CodeViewSubsectionBytes;
extern bool Demangle;
enum OutputStyleTy { LLVM, GNU };
extern OutputStyleTy Output;
} // namespace opts
#define LLVM_READOBJ_ENUM_ENT(ns, enum) \
{ #enum, ns::enum }
#define LLVM_READOBJ_ENUM_CLASS_ENT(enum_class, enum) \
{ #enum, std::underlying_type<enum_class>::type(enum_class::enum) }
#endif
| [
"[email protected]"
] | |
9633a890f93d7627eea979d9d9d957889859f84b | 816480b413071d53e88b25ebca247395b911e695 | /client/DLGEDIT.cpp | 9af1cdf971f8d7e71533c19cbb7fdcd9b3b3a68a | [] | no_license | kabofang/ExamOnline | 300ff7970b1ffb3dc87404a1297c263322c5957e | 85ffe4bbf152c56047099800be58f5cd100566d7 | refs/heads/master | 2023-04-25T16:04:47.472366 | 2021-05-10T19:04:12 | 2021-05-10T19:04:12 | 365,757,882 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,465 | cpp | // DLGEDIT.cpp : implementation file
//
#include "stdafx.h"
#include "client.h"
#include "DLGEDIT.h"
#include ".\dlgedit.h"
#include "./netlib/message.h"
#include "./xml/XmlNodeWrapper.h"
// CDLGEDIT dialog
IMPLEMENT_DYNAMIC(CDLGEDIT, CDialog)
CDLGEDIT::CDLGEDIT(CWnd* pParent /*=NULL*/)
: CDialog(CDLGEDIT::IDD, pParent)
{
}
CDLGEDIT::~CDLGEDIT()
{
}
void CDLGEDIT::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
DDX_Control(pDX, IDC_RICHEDITBODY, m_rteditbody);
DDX_Control(pDX, IDC_EDIT2, m_edb);
DDX_Control(pDX, IDC_EDIT1, m_eda);
DDX_Control(pDX, IDC_EDIT3, m_edc);
DDX_Control(pDX, IDC_EDIT4, m_edd);
}
BEGIN_MESSAGE_MAP(CDLGEDIT, CDialog)
ON_BN_CLICKED(IDC_BUTTON1, OnBnClickedButton1)
ON_BN_CLICKED(IDC_BUTTON3, OnBnClickedButton3)
END_MESSAGE_MAP()
// CDLGEDIT message handlers
void CDLGEDIT::OnBnClickedButton1()
{
// TODO: Add your control notification handler code here
SetDlgItemText(IDC_RICHEDITBODY,"");
SetDlgItemText(IDC_EDIT1,"");
SetDlgItemText(IDC_EDIT2,"");
SetDlgItemText(IDC_EDIT3,"");
SetDlgItemText(IDC_EDIT4,"");
}
void CDLGEDIT::OnBnClickedButton3()
{
// TODO: Add your control notification handler code here
CXmlDocumentWrapper xmlDoc;//存放XML包装类对象
CString strtext;
xmlDoc.LoadXML("<QUESTIONINFO></QUESTIONINFO>");
CXmlNodeWrapper rootnode(xmlDoc.AsNode());
CXmlNodeWrapper node(rootnode.InsertNode(0,"BODY"));
GetDlgItemText(IDC_RICHEDITBODY,strtext);
node.SetText(strtext.Trim());
CXmlNodeWrapper node_a(rootnode.InsertNode(1,"OPTIONA"));
GetDlgItemText(IDC_EDIT1,strtext);
node_a.SetText(strtext.Trim());
CXmlNodeWrapper node_b(rootnode.InsertNode(2,"OPTIONB"));
GetDlgItemText(IDC_EDIT2,strtext);
node_b.SetText(strtext.Trim());
CXmlNodeWrapper node_c(rootnode.InsertNode(3,"OPTIONC"));
GetDlgItemText(IDC_EDIT3,strtext);
node_c.SetText(strtext.Trim());
CXmlNodeWrapper node_d(rootnode.InsertNode(4,"OPTIOND"));
GetDlgItemText(IDC_EDIT4,strtext);
node_d.SetText(strtext.Trim());
CXmlNodeWrapper node_key(rootnode.InsertNode(5,"KEY"));
GetDlgItemText(IDC_EDIT5,strtext);
node_key.SetText(strtext.Trim());
DoMsgSend(MSG_MANAGE,MSG_QUESTION_SAVE,(char *)(LPCTSTR)xmlDoc.GetXML(),xmlDoc.GetXML().GetLength()+1);
}
BOOL CDLGEDIT::OnInitDialog()
{
CDialog::OnInitDialog();
// TODO: Add extra initialization here
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
| [
"[email protected]"
] | |
9d8c7abe8a3dec2ce33bdf41e70651a6c8527575 | 5ebd5cee801215bc3302fca26dbe534e6992c086 | /blazetest/src/mathtest/dvecsvecmult/V4aVCb.cpp | 9a35d35acecedae3fafbdd9663e5944ab13cd330 | [
"BSD-3-Clause"
] | permissive | mhochsteger/blaze | c66d8cf179deeab4f5bd692001cc917fe23e1811 | fd397e60717c4870d942055496d5b484beac9f1a | refs/heads/master | 2020-09-17T01:56:48.483627 | 2019-11-20T05:40:29 | 2019-11-20T05:41:35 | 223,951,030 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,837 | cpp | //=================================================================================================
/*!
// \file src/mathtest/dvecsvecmult/V4aVCb.cpp
// \brief Source file for the V4aVCb dense vector/sparse vector multiplication math test
//
// Copyright (C) 2012-2019 Klaus Iglberger - All Rights Reserved
//
// This file is part of the Blaze library. You can redistribute it and/or modify it under
// the terms of the New (Revised) BSD License. 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 Blaze development group nor the names of its contributors
// may be used to endorse or promote products derived from this software without specific
// prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
// OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
// SHALL THE COPYRIGHT 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.
*/
//=================================================================================================
//*************************************************************************************************
// Includes
//*************************************************************************************************
#include <cstdlib>
#include <iostream>
#include <blaze/math/CompressedVector.h>
#include <blaze/math/StaticVector.h>
#include <blazetest/mathtest/Creator.h>
#include <blazetest/mathtest/dvecsvecmult/OperationTest.h>
#include <blazetest/system/MathTest.h>
#ifdef BLAZE_USE_HPX_THREADS
# include <hpx/hpx_main.hpp>
#endif
//=================================================================================================
//
// MAIN FUNCTION
//
//=================================================================================================
//*************************************************************************************************
int main()
{
std::cout << " Running 'V4aVCb'..." << std::endl;
using blazetest::mathtest::TypeA;
using blazetest::mathtest::TypeB;
try
{
// Vector type definitions
using V4a = blaze::StaticVector<TypeA,4UL>;
using VCb = blaze::CompressedVector<TypeB>;
// Creator type definitions
using CV4a = blazetest::Creator<V4a>;
using CVCb = blazetest::Creator<VCb>;
// Running the tests
for( size_t i=0UL; i<=4UL; ++i ) {
RUN_DVECSVECMULT_OPERATION_TEST( CV4a(), CVCb( 4UL, i ) );
}
}
catch( std::exception& ex ) {
std::cerr << "\n\n ERROR DETECTED during dense vector/sparse vector multiplication:\n"
<< ex.what() << "\n";
return EXIT_FAILURE;
}
return EXIT_SUCCESS;
}
//*************************************************************************************************
| [
"[email protected]"
] |
Subsets and Splits